(self.webpackChunkthree = self.webpackChunkthree || []).push([
  [343],
  {
    618: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    970: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    1935: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    2240: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    2385: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    3530: function (e, t, n) {
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, { esModule: !1 })),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    3786: function (e, t, n) {
      n(4114),
        n(8111),
        n(1148),
        n(2489),
        n(116),
        n(531),
        n(7588),
        n(1701),
        n(8237),
        n(3579),
        n(7642),
        n(8004),
        n(3853),
        n(5876),
        n(2475),
        n(5024),
        n(1698),
        n(4603),
        n(7566),
        n(8721),
        (() => {
          var e,
            t,
            c,
            a,
            r = Object.create,
            o = Object.defineProperty,
            i = Object.getOwnPropertyDescriptor,
            l = Object.getOwnPropertyNames,
            s = Object.getPrototypeOf,
            p = Object.prototype.hasOwnProperty,
            u = (e) => o(e, "__esModule", { value: !0 }),
            d = (e) => n(7835)(e),
            f = (e, t) => () => (e && (t = e((e = 0))), t),
            h = (e, t) => () => (
              t || e((t = { exports: {} }).exports, t), t.exports
            ),
            m = (e, t) => {
              for (var n in (u(e), t)) o(e, n, { get: t[n], enumerable: !0 });
            },
            v = (e) =>
              ((e, t, n) => {
                if ((t && "object" == typeof t) || "function" == typeof t)
                  for (let c of l(t))
                    !p.call(e, c) &&
                      "default" !== c &&
                      o(e, c, {
                        get: () => t[c],
                        enumerable: !(n = i(t, c)) || n.enumerable,
                      });
                return e;
              })(
                u(
                  o(
                    null != e ? r(s(e)) : {},
                    "default",
                    e && e.__esModule && "default" in e
                      ? { get: () => e.default, enumerable: !0 }
                      : { value: e, enumerable: !0 }
                  )
                ),
                e
              ),
            g = f(() => {
              e = { platform: "", env: {}, versions: { node: "14.17.6" } };
            }),
            b = f(() => {
              g(),
                (t = 0),
                (c = {
                  readFileSync: (e) => self[e] || "",
                  statSync: () => ({ mtimeMs: t++ }),
                  promises: { readFile: (e) => Promise.resolve(self[e] || "") },
                });
            }),
            x = h((e, t) => {
              g();
              var n = class {
                constructor(e = {}) {
                  if (!(e.maxSize && e.maxSize > 0))
                    throw new TypeError(
                      "`maxSize` must be a number greater than 0"
                    );
                  if ("number" == typeof e.maxAge && 0 === e.maxAge)
                    throw new TypeError(
                      "`maxAge` must be a number greater than 0"
                    );
                  (this.maxSize = e.maxSize),
                    (this.maxAge = e.maxAge || 1 / 0),
                    (this.onEviction = e.onEviction),
                    (this.cache = new Map()),
                    (this.oldCache = new Map()),
                    (this._size = 0);
                }
                _emitEvictions(e) {
                  if ("function" == typeof this.onEviction)
                    for (let [t, n] of e) this.onEviction(t, n.value);
                }
                _deleteIfExpired(e, t) {
                  return (
                    "number" == typeof t.expiry &&
                    t.expiry <= Date.now() &&
                    ("function" == typeof this.onEviction &&
                      this.onEviction(e, t.value),
                    this.delete(e))
                  );
                }
                _getOrDeleteIfExpired(e, t) {
                  if (!1 === this._deleteIfExpired(e, t)) return t.value;
                }
                _getItemValue(e, t) {
                  return t.expiry ? this._getOrDeleteIfExpired(e, t) : t.value;
                }
                _peek(e, t) {
                  let n = t.get(e);
                  return this._getItemValue(e, n);
                }
                _set(e, t) {
                  this.cache.set(e, t),
                    this._size++,
                    this._size >= this.maxSize &&
                      ((this._size = 0),
                      this._emitEvictions(this.oldCache),
                      (this.oldCache = this.cache),
                      (this.cache = new Map()));
                }
                _moveToRecent(e, t) {
                  this.oldCache.delete(e), this._set(e, t);
                }
                *_entriesAscending() {
                  for (let e of this.oldCache) {
                    let [t, n] = e;
                    this.cache.has(t) ||
                      (!1 === this._deleteIfExpired(t, n) && (yield e));
                  }
                  for (let e of this.cache) {
                    let [t, n] = e;
                    !1 === this._deleteIfExpired(t, n) && (yield e);
                  }
                }
                get(e) {
                  if (this.cache.has(e)) {
                    let t = this.cache.get(e);
                    return this._getItemValue(e, t);
                  }
                  if (this.oldCache.has(e)) {
                    let t = this.oldCache.get(e);
                    if (!1 === this._deleteIfExpired(e, t))
                      return this._moveToRecent(e, t), t.value;
                  }
                }
                set(
                  e,
                  t,
                  {
                    maxAge: n = this.maxAge === 1 / 0
                      ? void 0
                      : Date.now() + this.maxAge,
                  } = {}
                ) {
                  this.cache.has(e)
                    ? this.cache.set(e, { value: t, maxAge: n })
                    : this._set(e, { value: t, expiry: n });
                }
                has(e) {
                  return this.cache.has(e)
                    ? !this._deleteIfExpired(e, this.cache.get(e))
                    : !!this.oldCache.has(e) &&
                        !this._deleteIfExpired(e, this.oldCache.get(e));
                }
                peek(e) {
                  return this.cache.has(e)
                    ? this._peek(e, this.cache)
                    : this.oldCache.has(e)
                    ? this._peek(e, this.oldCache)
                    : void 0;
                }
                delete(e) {
                  let t = this.cache.delete(e);
                  return t && this._size--, this.oldCache.delete(e) || t;
                }
                clear() {
                  this.cache.clear(), this.oldCache.clear(), (this._size = 0);
                }
                resize(e) {
                  if (!(e && e > 0))
                    throw new TypeError(
                      "`maxSize` must be a number greater than 0"
                    );
                  let t = [...this._entriesAscending()],
                    n = t.length - e;
                  n < 0
                    ? ((this.cache = new Map(t)),
                      (this.oldCache = new Map()),
                      (this._size = t.length))
                    : (n > 0 && this._emitEvictions(t.slice(0, n)),
                      (this.oldCache = new Map(t.slice(n))),
                      (this.cache = new Map()),
                      (this._size = 0)),
                    (this.maxSize = e);
                }
                *keys() {
                  for (let [e] of this) yield e;
                }
                *values() {
                  for (let [, e] of this) yield e;
                }
                *[Symbol.iterator]() {
                  for (let e of this.cache) {
                    let [t, n] = e;
                    !1 === this._deleteIfExpired(t, n) && (yield [t, n.value]);
                  }
                  for (let e of this.oldCache) {
                    let [t, n] = e;
                    this.cache.has(t) ||
                      (!1 === this._deleteIfExpired(t, n) &&
                        (yield [t, n.value]));
                  }
                }
                *entriesDescending() {
                  let e = [...this.cache];
                  for (let t = e.length - 1; t >= 0; --t) {
                    let n = e[t],
                      [c, a] = n;
                    !1 === this._deleteIfExpired(c, a) && (yield [c, a.value]);
                  }
                  e = [...this.oldCache];
                  for (let t = e.length - 1; t >= 0; --t) {
                    let n = e[t],
                      [c, a] = n;
                    this.cache.has(c) ||
                      (!1 === this._deleteIfExpired(c, a) &&
                        (yield [c, a.value]));
                  }
                }
                *entriesAscending() {
                  for (let [e, t] of this._entriesAscending())
                    yield [e, t.value];
                }
                get size() {
                  if (!this._size) return this.oldCache.size;
                  let e = 0;
                  for (let t of this.oldCache.keys()) this.cache.has(t) || e++;
                  return Math.min(this._size + e, this.maxSize);
                }
              };
              t.exports = n;
            }),
            w = f(() => {
              g(), (a = (e) => e && e._hash);
            });
          function y(e) {
            return a(e, { ignoreUnknown: !0 });
          }
          var k = f(() => {
            g(), w();
          });
          function C(e) {
            if ("0" === (e = `${e}`)) return "0";
            if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))
              return e.replace(/^[+-]?/, (e) => ("-" === e ? "" : "-"));
            let t = ["var", "calc", "min", "max", "clamp"];
            for (let n of t) if (e.includes(`${n}(`)) return `calc(${e} * -1)`;
          }
          var R,
            O = f(() => {
              g();
            }),
            $ = f(() => {
              g(),
                (R = [
                  "preflight",
                  "container",
                  "accessibility",
                  "pointerEvents",
                  "visibility",
                  "position",
                  "inset",
                  "isolation",
                  "zIndex",
                  "order",
                  "gridColumn",
                  "gridColumnStart",
                  "gridColumnEnd",
                  "gridRow",
                  "gridRowStart",
                  "gridRowEnd",
                  "float",
                  "clear",
                  "margin",
                  "boxSizing",
                  "lineClamp",
                  "display",
                  "aspectRatio",
                  "height",
                  "maxHeight",
                  "minHeight",
                  "width",
                  "minWidth",
                  "maxWidth",
                  "flex",
                  "flexShrink",
                  "flexGrow",
                  "flexBasis",
                  "tableLayout",
                  "captionSide",
                  "borderCollapse",
                  "borderSpacing",
                  "transformOrigin",
                  "translate",
                  "rotate",
                  "skew",
                  "scale",
                  "transform",
                  "animation",
                  "cursor",
                  "touchAction",
                  "userSelect",
                  "resize",
                  "scrollSnapType",
                  "scrollSnapAlign",
                  "scrollSnapStop",
                  "scrollMargin",
                  "scrollPadding",
                  "listStylePosition",
                  "listStyleType",
                  "listStyleImage",
                  "appearance",
                  "columns",
                  "breakBefore",
                  "breakInside",
                  "breakAfter",
                  "gridAutoColumns",
                  "gridAutoFlow",
                  "gridAutoRows",
                  "gridTemplateColumns",
                  "gridTemplateRows",
                  "flexDirection",
                  "flexWrap",
                  "placeContent",
                  "placeItems",
                  "alignContent",
                  "alignItems",
                  "justifyContent",
                  "justifyItems",
                  "gap",
                  "space",
                  "divideWidth",
                  "divideStyle",
                  "divideColor",
                  "divideOpacity",
                  "placeSelf",
                  "alignSelf",
                  "justifySelf",
                  "overflow",
                  "overscrollBehavior",
                  "scrollBehavior",
                  "textOverflow",
                  "hyphens",
                  "whitespace",
                  "wordBreak",
                  "borderRadius",
                  "borderWidth",
                  "borderStyle",
                  "borderColor",
                  "borderOpacity",
                  "backgroundColor",
                  "backgroundOpacity",
                  "backgroundImage",
                  "gradientColorStops",
                  "boxDecorationBreak",
                  "backgroundSize",
                  "backgroundAttachment",
                  "backgroundClip",
                  "backgroundPosition",
                  "backgroundRepeat",
                  "backgroundOrigin",
                  "fill",
                  "stroke",
                  "strokeWidth",
                  "objectFit",
                  "objectPosition",
                  "padding",
                  "textAlign",
                  "textIndent",
                  "verticalAlign",
                  "fontFamily",
                  "fontSize",
                  "fontWeight",
                  "textTransform",
                  "fontStyle",
                  "fontVariantNumeric",
                  "lineHeight",
                  "letterSpacing",
                  "textColor",
                  "textOpacity",
                  "textDecoration",
                  "textDecorationColor",
                  "textDecorationStyle",
                  "textDecorationThickness",
                  "textUnderlineOffset",
                  "fontSmoothing",
                  "placeholderColor",
                  "placeholderOpacity",
                  "caretColor",
                  "accentColor",
                  "opacity",
                  "backgroundBlendMode",
                  "mixBlendMode",
                  "boxShadow",
                  "boxShadowColor",
                  "outlineStyle",
                  "outlineWidth",
                  "outlineOffset",
                  "outlineColor",
                  "ringWidth",
                  "ringColor",
                  "ringOpacity",
                  "ringOffsetWidth",
                  "ringOffsetColor",
                  "blur",
                  "brightness",
                  "contrast",
                  "dropShadow",
                  "grayscale",
                  "hueRotate",
                  "invert",
                  "saturate",
                  "sepia",
                  "filter",
                  "backdropBlur",
                  "backdropBrightness",
                  "backdropContrast",
                  "backdropGrayscale",
                  "backdropHueRotate",
                  "backdropInvert",
                  "backdropOpacity",
                  "backdropSaturate",
                  "backdropSepia",
                  "backdropFilter",
                  "transitionProperty",
                  "transitionDelay",
                  "transitionDuration",
                  "transitionTimingFunction",
                  "willChange",
                  "content",
                ]);
            });
          var L = f(() => {
              g();
            }),
            S = {};
          m(S, { default: () => E });
          var E,
            I = f(() => {
              g(), (E = new Proxy({}, { get: () => String }));
            });
          function T(t, n, c) {
            (void 0 !== e && e.env.JEST_WORKER_ID) ||
              (c && B.has(c)) ||
              (c && B.add(c),
              console.warn(""),
              n.forEach((e) => console.warn(t, "-", e)));
          }
          function A(e) {
            return E.dim(e);
          }
          var B,
            M,
            j = f(() => {
              g(),
                I(),
                (B = new Set()),
                (M = {
                  info(e, t) {
                    T(
                      E.bold(E.cyan("info")),
                      ...(Array.isArray(e) ? [e] : [t, e])
                    );
                  },
                  warn(e, t) {
                    ["content-problems"].includes(e) ||
                      T(
                        E.bold(E.yellow("warn")),
                        ...(Array.isArray(e) ? [e] : [t, e])
                      );
                  },
                  risk(e, t) {
                    T(
                      E.bold(E.magenta("risk")),
                      ...(Array.isArray(e) ? [e] : [t, e])
                    );
                  },
                });
            }),
            _ = {};
          function z({ version: e, from: t, to: n }) {
            M.warn(`${t}-color-renamed`, [
              `As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,
              "Update your configuration file to silence this warning.",
            ]);
          }
          m(_, { default: () => F });
          var F,
            D = f(() => {
              g(),
                j(),
                (F = {
                  inherit: "inherit",
                  current: "currentColor",
                  transparent: "transparent",
                  black: "#000",
                  white: "#fff",
                  slate: {
                    50: "#f8fafc",
                    100: "#f1f5f9",
                    200: "#e2e8f0",
                    300: "#cbd5e1",
                    400: "#94a3b8",
                    500: "#64748b",
                    600: "#475569",
                    700: "#334155",
                    800: "#1e293b",
                    900: "#0f172a",
                    950: "#020617",
                  },
                  gray: {
                    50: "#f9fafb",
                    100: "#f3f4f6",
                    200: "#e5e7eb",
                    300: "#d1d5db",
                    400: "#9ca3af",
                    500: "#6b7280",
                    600: "#4b5563",
                    700: "#374151",
                    800: "#1f2937",
                    900: "#111827",
                    950: "#030712",
                  },
                  zinc: {
                    50: "#fafafa",
                    100: "#f4f4f5",
                    200: "#e4e4e7",
                    300: "#d4d4d8",
                    400: "#a1a1aa",
                    500: "#71717a",
                    600: "#52525b",
                    700: "#3f3f46",
                    800: "#27272a",
                    900: "#18181b",
                    950: "#09090b",
                  },
                  neutral: {
                    50: "#fafafa",
                    100: "#f5f5f5",
                    200: "#e5e5e5",
                    300: "#d4d4d4",
                    400: "#a3a3a3",
                    500: "#737373",
                    600: "#525252",
                    700: "#404040",
                    800: "#262626",
                    900: "#171717",
                    950: "#0a0a0a",
                  },
                  stone: {
                    50: "#fafaf9",
                    100: "#f5f5f4",
                    200: "#e7e5e4",
                    300: "#d6d3d1",
                    400: "#a8a29e",
                    500: "#78716c",
                    600: "#57534e",
                    700: "#44403c",
                    800: "#292524",
                    900: "#1c1917",
                    950: "#0c0a09",
                  },
                  red: {
                    50: "#fef2f2",
                    100: "#fee2e2",
                    200: "#fecaca",
                    300: "#fca5a5",
                    400: "#f87171",
                    500: "#ef4444",
                    600: "#dc2626",
                    700: "#b91c1c",
                    800: "#991b1b",
                    900: "#7f1d1d",
                    950: "#450a0a",
                  },
                  orange: {
                    50: "#fff7ed",
                    100: "#ffedd5",
                    200: "#fed7aa",
                    300: "#fdba74",
                    400: "#fb923c",
                    500: "#f97316",
                    600: "#ea580c",
                    700: "#c2410c",
                    800: "#9a3412",
                    900: "#7c2d12",
                    950: "#431407",
                  },
                  amber: {
                    50: "#fffbeb",
                    100: "#fef3c7",
                    200: "#fde68a",
                    300: "#fcd34d",
                    400: "#fbbf24",
                    500: "#f59e0b",
                    600: "#d97706",
                    700: "#b45309",
                    800: "#92400e",
                    900: "#78350f",
                    950: "#451a03",
                  },
                  yellow: {
                    50: "#fefce8",
                    100: "#fef9c3",
                    200: "#fef08a",
                    300: "#fde047",
                    400: "#facc15",
                    500: "#eab308",
                    600: "#ca8a04",
                    700: "#a16207",
                    800: "#854d0e",
                    900: "#713f12",
                    950: "#422006",
                  },
                  lime: {
                    50: "#f7fee7",
                    100: "#ecfccb",
                    200: "#d9f99d",
                    300: "#bef264",
                    400: "#a3e635",
                    500: "#84cc16",
                    600: "#65a30d",
                    700: "#4d7c0f",
                    800: "#3f6212",
                    900: "#365314",
                    950: "#1a2e05",
                  },
                  green: {
                    50: "#f0fdf4",
                    100: "#dcfce7",
                    200: "#bbf7d0",
                    300: "#86efac",
                    400: "#4ade80",
                    500: "#22c55e",
                    600: "#16a34a",
                    700: "#15803d",
                    800: "#166534",
                    900: "#14532d",
                    950: "#052e16",
                  },
                  emerald: {
                    50: "#ecfdf5",
                    100: "#d1fae5",
                    200: "#a7f3d0",
                    300: "#6ee7b7",
                    400: "#34d399",
                    500: "#10b981",
                    600: "#059669",
                    700: "#047857",
                    800: "#065f46",
                    900: "#064e3b",
                    950: "#022c22",
                  },
                  teal: {
                    50: "#f0fdfa",
                    100: "#ccfbf1",
                    200: "#99f6e4",
                    300: "#5eead4",
                    400: "#2dd4bf",
                    500: "#14b8a6",
                    600: "#0d9488",
                    700: "#0f766e",
                    800: "#115e59",
                    900: "#134e4a",
                    950: "#042f2e",
                  },
                  cyan: {
                    50: "#ecfeff",
                    100: "#cffafe",
                    200: "#a5f3fc",
                    300: "#67e8f9",
                    400: "#22d3ee",
                    500: "#06b6d4",
                    600: "#0891b2",
                    700: "#0e7490",
                    800: "#155e75",
                    900: "#164e63",
                    950: "#083344",
                  },
                  sky: {
                    50: "#f0f9ff",
                    100: "#e0f2fe",
                    200: "#bae6fd",
                    300: "#7dd3fc",
                    400: "#38bdf8",
                    500: "#0ea5e9",
                    600: "#0284c7",
                    700: "#0369a1",
                    800: "#075985",
                    900: "#0c4a6e",
                    950: "#082f49",
                  },
                  blue: {
                    50: "#eff6ff",
                    100: "#dbeafe",
                    200: "#bfdbfe",
                    300: "#93c5fd",
                    400: "#60a5fa",
                    500: "#3b82f6",
                    600: "#2563eb",
                    700: "#1d4ed8",
                    800: "#1e40af",
                    900: "#1e3a8a",
                    950: "#172554",
                  },
                  indigo: {
                    50: "#eef2ff",
                    100: "#e0e7ff",
                    200: "#c7d2fe",
                    300: "#a5b4fc",
                    400: "#818cf8",
                    500: "#6366f1",
                    600: "#4f46e5",
                    700: "#4338ca",
                    800: "#3730a3",
                    900: "#312e81",
                    950: "#1e1b4b",
                  },
                  violet: {
                    50: "#f5f3ff",
                    100: "#ede9fe",
                    200: "#ddd6fe",
                    300: "#c4b5fd",
                    400: "#a78bfa",
                    500: "#8b5cf6",
                    600: "#7c3aed",
                    700: "#6d28d9",
                    800: "#5b21b6",
                    900: "#4c1d95",
                    950: "#2e1065",
                  },
                  purple: {
                    50: "#faf5ff",
                    100: "#f3e8ff",
                    200: "#e9d5ff",
                    300: "#d8b4fe",
                    400: "#c084fc",
                    500: "#a855f7",
                    600: "#9333ea",
                    700: "#7e22ce",
                    800: "#6b21a8",
                    900: "#581c87",
                    950: "#3b0764",
                  },
                  fuchsia: {
                    50: "#fdf4ff",
                    100: "#fae8ff",
                    200: "#f5d0fe",
                    300: "#f0abfc",
                    400: "#e879f9",
                    500: "#d946ef",
                    600: "#c026d3",
                    700: "#a21caf",
                    800: "#86198f",
                    900: "#701a75",
                    950: "#4a044e",
                  },
                  pink: {
                    50: "#fdf2f8",
                    100: "#fce7f3",
                    200: "#fbcfe8",
                    300: "#f9a8d4",
                    400: "#f472b6",
                    500: "#ec4899",
                    600: "#db2777",
                    700: "#be185d",
                    800: "#9d174d",
                    900: "#831843",
                    950: "#500724",
                  },
                  rose: {
                    50: "#fff1f2",
                    100: "#ffe4e6",
                    200: "#fecdd3",
                    300: "#fda4af",
                    400: "#fb7185",
                    500: "#f43f5e",
                    600: "#e11d48",
                    700: "#be123c",
                    800: "#9f1239",
                    900: "#881337",
                    950: "#4c0519",
                  },
                  get lightBlue() {
                    return (
                      z({ version: "v2.2", from: "lightBlue", to: "sky" }),
                      this.sky
                    );
                  },
                  get warmGray() {
                    return (
                      z({ version: "v3.0", from: "warmGray", to: "stone" }),
                      this.stone
                    );
                  },
                  get trueGray() {
                    return (
                      z({ version: "v3.0", from: "trueGray", to: "neutral" }),
                      this.neutral
                    );
                  },
                  get coolGray() {
                    return (
                      z({ version: "v3.0", from: "coolGray", to: "gray" }),
                      this.gray
                    );
                  },
                  get blueGray() {
                    return (
                      z({ version: "v3.0", from: "blueGray", to: "slate" }),
                      this.slate
                    );
                  },
                });
            });
          function P(e, ...t) {
            for (let n of t) {
              for (let t in n) e?.hasOwnProperty?.(t) || (e[t] = n[t]);
              for (let t of Object.getOwnPropertySymbols(n))
                e?.hasOwnProperty?.(t) || (e[t] = n[t]);
            }
            return e;
          }
          var H = f(() => {
            g();
          });
          function X(e) {
            if (Array.isArray(e)) return e;
            if (e.split("[").length - 1 !== e.split("]").length - 1)
              throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);
            return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
          }
          var N = f(() => {
            g();
          });
          function Q(e, t) {
            return K.future.includes(t)
              ? "all" === e.future || (e?.future?.[t] ?? U[t] ?? !1)
              : !!K.experimental.includes(t) &&
                  ("all" === e.experimental ||
                    (e?.experimental?.[t] ?? U[t] ?? !1));
          }
          function W(e) {
            return "all" === e.experimental
              ? K.experimental
              : Object.keys(e?.experimental ?? {}).filter(
                  (t) => K.experimental.includes(t) && e.experimental[t]
                );
          }
          var U,
            K,
            q = f(() => {
              g(),
                I(),
                j(),
                (U = {
                  optimizeUniversalDefaults: !1,
                  generalizedModifiers: !0,
                  get disableColorOpacityUtilitiesByDefault() {
                    return !1;
                  },
                  get relativeContentPathsByDefault() {
                    return !1;
                  },
                }),
                (K = {
                  future: [
                    "hoverOnlyWhenSupported",
                    "respectDefaultRingColorOpacity",
                    "disableColorOpacityUtilitiesByDefault",
                    "relativeContentPathsByDefault",
                  ],
                  experimental: [
                    "optimizeUniversalDefaults",
                    "generalizedModifiers",
                  ],
                });
            });
          var V = f(() => {
            g(), q(), j();
          });
          function G(e) {
            if ("[object Object]" !== Object.prototype.toString.call(e))
              return !1;
            let t = Object.getPrototypeOf(e);
            return null === t || t === Object.prototype;
          }
          var Y = f(() => {
            g();
          });
          function Z(e) {
            return Array.isArray(e)
              ? e.map((e) => Z(e))
              : "object" == typeof e && null !== e
              ? Object.fromEntries(Object.entries(e).map(([e, t]) => [e, Z(t)]))
              : e;
          }
          var J = f(() => {
            g();
          });
          function ee(e) {
            return e.replace(/\\,/g, "\\2c ");
          }
          var te,
            ne = f(() => {
              g();
            }),
            ce = f(() => {
              g(),
                (te = {
                  aliceblue: [240, 248, 255],
                  antiquewhite: [250, 235, 215],
                  aqua: [0, 255, 255],
                  aquamarine: [127, 255, 212],
                  azure: [240, 255, 255],
                  beige: [245, 245, 220],
                  bisque: [255, 228, 196],
                  black: [0, 0, 0],
                  blanchedalmond: [255, 235, 205],
                  blue: [0, 0, 255],
                  blueviolet: [138, 43, 226],
                  brown: [165, 42, 42],
                  burlywood: [222, 184, 135],
                  cadetblue: [95, 158, 160],
                  chartreuse: [127, 255, 0],
                  chocolate: [210, 105, 30],
                  coral: [255, 127, 80],
                  cornflowerblue: [100, 149, 237],
                  cornsilk: [255, 248, 220],
                  crimson: [220, 20, 60],
                  cyan: [0, 255, 255],
                  darkblue: [0, 0, 139],
                  darkcyan: [0, 139, 139],
                  darkgoldenrod: [184, 134, 11],
                  darkgray: [169, 169, 169],
                  darkgreen: [0, 100, 0],
                  darkgrey: [169, 169, 169],
                  darkkhaki: [189, 183, 107],
                  darkmagenta: [139, 0, 139],
                  darkolivegreen: [85, 107, 47],
                  darkorange: [255, 140, 0],
                  darkorchid: [153, 50, 204],
                  darkred: [139, 0, 0],
                  darksalmon: [233, 150, 122],
                  darkseagreen: [143, 188, 143],
                  darkslateblue: [72, 61, 139],
                  darkslategray: [47, 79, 79],
                  darkslategrey: [47, 79, 79],
                  darkturquoise: [0, 206, 209],
                  darkviolet: [148, 0, 211],
                  deeppink: [255, 20, 147],
                  deepskyblue: [0, 191, 255],
                  dimgray: [105, 105, 105],
                  dimgrey: [105, 105, 105],
                  dodgerblue: [30, 144, 255],
                  firebrick: [178, 34, 34],
                  floralwhite: [255, 250, 240],
                  forestgreen: [34, 139, 34],
                  fuchsia: [255, 0, 255],
                  gainsboro: [220, 220, 220],
                  ghostwhite: [248, 248, 255],
                  gold: [255, 215, 0],
                  goldenrod: [218, 165, 32],
                  gray: [128, 128, 128],
                  green: [0, 128, 0],
                  greenyellow: [173, 255, 47],
                  grey: [128, 128, 128],
                  honeydew: [240, 255, 240],
                  hotpink: [255, 105, 180],
                  indianred: [205, 92, 92],
                  indigo: [75, 0, 130],
                  ivory: [255, 255, 240],
                  khaki: [240, 230, 140],
                  lavender: [230, 230, 250],
                  lavenderblush: [255, 240, 245],
                  lawngreen: [124, 252, 0],
                  lemonchiffon: [255, 250, 205],
                  lightblue: [173, 216, 230],
                  lightcoral: [240, 128, 128],
                  lightcyan: [224, 255, 255],
                  lightgoldenrodyellow: [250, 250, 210],
                  lightgray: [211, 211, 211],
                  lightgreen: [144, 238, 144],
                  lightgrey: [211, 211, 211],
                  lightpink: [255, 182, 193],
                  lightsalmon: [255, 160, 122],
                  lightseagreen: [32, 178, 170],
                  lightskyblue: [135, 206, 250],
                  lightslategray: [119, 136, 153],
                  lightslategrey: [119, 136, 153],
                  lightsteelblue: [176, 196, 222],
                  lightyellow: [255, 255, 224],
                  lime: [0, 255, 0],
                  limegreen: [50, 205, 50],
                  linen: [250, 240, 230],
                  magenta: [255, 0, 255],
                  maroon: [128, 0, 0],
                  mediumaquamarine: [102, 205, 170],
                  mediumblue: [0, 0, 205],
                  mediumorchid: [186, 85, 211],
                  mediumpurple: [147, 112, 219],
                  mediumseagreen: [60, 179, 113],
                  mediumslateblue: [123, 104, 238],
                  mediumspringgreen: [0, 250, 154],
                  mediumturquoise: [72, 209, 204],
                  mediumvioletred: [199, 21, 133],
                  midnightblue: [25, 25, 112],
                  mintcream: [245, 255, 250],
                  mistyrose: [255, 228, 225],
                  moccasin: [255, 228, 181],
                  navajowhite: [255, 222, 173],
                  navy: [0, 0, 128],
                  oldlace: [253, 245, 230],
                  olive: [128, 128, 0],
                  olivedrab: [107, 142, 35],
                  orange: [255, 165, 0],
                  orangered: [255, 69, 0],
                  orchid: [218, 112, 214],
                  palegoldenrod: [238, 232, 170],
                  palegreen: [152, 251, 152],
                  paleturquoise: [175, 238, 238],
                  palevioletred: [219, 112, 147],
                  papayawhip: [255, 239, 213],
                  peachpuff: [255, 218, 185],
                  peru: [205, 133, 63],
                  pink: [255, 192, 203],
                  plum: [221, 160, 221],
                  powderblue: [176, 224, 230],
                  purple: [128, 0, 128],
                  rebeccapurple: [102, 51, 153],
                  red: [255, 0, 0],
                  rosybrown: [188, 143, 143],
                  royalblue: [65, 105, 225],
                  saddlebrown: [139, 69, 19],
                  salmon: [250, 128, 114],
                  sandybrown: [244, 164, 96],
                  seagreen: [46, 139, 87],
                  seashell: [255, 245, 238],
                  sienna: [160, 82, 45],
                  silver: [192, 192, 192],
                  skyblue: [135, 206, 235],
                  slateblue: [106, 90, 205],
                  slategray: [112, 128, 144],
                  slategrey: [112, 128, 144],
                  snow: [255, 250, 250],
                  springgreen: [0, 255, 127],
                  steelblue: [70, 130, 180],
                  tan: [210, 180, 140],
                  teal: [0, 128, 128],
                  thistle: [216, 191, 216],
                  tomato: [255, 99, 71],
                  turquoise: [64, 224, 208],
                  violet: [238, 130, 238],
                  wheat: [245, 222, 179],
                  white: [255, 255, 255],
                  whitesmoke: [245, 245, 245],
                  yellow: [255, 255, 0],
                  yellowgreen: [154, 205, 50],
                });
            });
          function ae(e, { loose: t = !1 } = {}) {
            if ("string" != typeof e) return null;
            if ("transparent" === (e = e.trim()))
              return { mode: "rgb", color: ["0", "0", "0"], alpha: "0" };
            if (e in te)
              return { mode: "rgb", color: te[e].map((e) => e.toString()) };
            let n = e
              .replace(ie, (e, t, n, c, a) =>
                ["#", t, t, n, n, c, c, a ? a + a : ""].join("")
              )
              .match(oe);
            if (null !== n)
              return {
                mode: "rgb",
                color: [
                  parseInt(n[1], 16),
                  parseInt(n[2], 16),
                  parseInt(n[3], 16),
                ].map((e) => e.toString()),
                alpha: n[4] ? (parseInt(n[4], 16) / 255).toString() : void 0,
              };
            let c = e.match(de) ?? e.match(fe);
            if (null === c) return null;
            let a = [c[2], c[3], c[4]].filter(Boolean).map((e) => e.toString());
            return 2 === a.length && a[0].startsWith("var(")
              ? { mode: c[1], color: [a[0]], alpha: a[1] }
              : (!t && 3 !== a.length) ||
                (a.length < 3 && !a.some((e) => /^var\(.*?\)$/.test(e)))
              ? null
              : { mode: c[1], color: a, alpha: c[5]?.toString?.() };
          }
          function re({ mode: e, color: t, alpha: n }) {
            let c = void 0 !== n;
            return "rgba" === e || "hsla" === e
              ? `${e}(${t.join(", ")}${c ? `, ${n}` : ""})`
              : `${e}(${t.join(" ")}${c ? ` / ${n}` : ""})`;
          }
          var oe,
            ie,
            le,
            se,
            pe,
            ue,
            de,
            fe,
            he = f(() => {
              g(),
                ce(),
                (oe = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i),
                (ie = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i),
                (le = /(?:\d+|\d*\.\d+)%?/),
                (se = /(?:\s*,\s*|\s+)/),
                (pe = /\s*[,/]\s*/),
                (ue = /var\(--(?:[^ )]*?)\)/),
                (de = new RegExp(
                  `^(rgba?)\\(\\s*(${le.source}|${ue.source})(?:${se.source}(${le.source}|${ue.source}))?(?:${se.source}(${le.source}|${ue.source}))?(?:${pe.source}(${le.source}|${ue.source}))?\\s*\\)$`
                )),
                (fe = new RegExp(
                  `^(hsla?)\\(\\s*((?:${le.source})(?:deg|rad|grad|turn)?|${ue.source})(?:${se.source}(${le.source}|${ue.source}))?(?:${se.source}(${le.source}|${ue.source}))?(?:${pe.source}(${le.source}|${ue.source}))?\\s*\\)$`
                ));
            });
          function me(e, t, n) {
            if ("function" == typeof e) return e({ opacityValue: t });
            let c = ae(e, { loose: !0 });
            return null === c ? n : re({ ...c, alpha: t });
          }
          function ve({ color: e, property: t, variable: n }) {
            let c = [].concat(t);
            if ("function" == typeof e)
              return {
                [n]: "1",
                ...Object.fromEntries(
                  c.map((t) => [
                    t,
                    e({ opacityVariable: n, opacityValue: `var(${n})` }),
                  ])
                ),
              };
            let a = ae(e);
            return null === a || void 0 !== a.alpha
              ? Object.fromEntries(c.map((t) => [t, e]))
              : {
                  [n]: "1",
                  ...Object.fromEntries(
                    c.map((e) => [e, re({ ...a, alpha: `var(${n})` })])
                  ),
                };
          }
          var ge = f(() => {
            g(), he();
          });
          function be(e, t) {
            let n = [],
              c = [],
              a = 0,
              r = !1;
            for (let o = 0; o < e.length; o++) {
              let i = e[o];
              0 === n.length &&
                i === t[0] &&
                !r &&
                (1 === t.length || e.slice(o, o + t.length) === t) &&
                (c.push(e.slice(a, o)), (a = o + t.length)),
                r ? (r = !1) : "\\" === i && (r = !0),
                "(" === i || "[" === i || "{" === i
                  ? n.push(i)
                  : ((")" === i && "(" === n[n.length - 1]) ||
                      ("]" === i && "[" === n[n.length - 1]) ||
                      ("}" === i && "{" === n[n.length - 1])) &&
                    n.pop();
            }
            return c.push(e.slice(a)), c;
          }
          var xe = f(() => {
            g();
          });
          function we(e) {
            return be(e, ",").map((e) => {
              let t = e.trim(),
                n = { raw: t },
                c = t.split(Ce),
                a = new Set();
              for (let e of c)
                (Re.lastIndex = 0),
                  !a.has("KEYWORD") && ke.has(e)
                    ? ((n.keyword = e), a.add("KEYWORD"))
                    : Re.test(e)
                    ? a.has("X")
                      ? a.has("Y")
                        ? a.has("BLUR")
                          ? a.has("SPREAD") || ((n.spread = e), a.add("SPREAD"))
                          : ((n.blur = e), a.add("BLUR"))
                        : ((n.y = e), a.add("Y"))
                      : ((n.x = e), a.add("X"))
                    : n.color
                    ? (n.unknown || (n.unknown = []), n.unknown.push(e))
                    : (n.color = e);
              return (n.valid = void 0 !== n.x && void 0 !== n.y), n;
            });
          }
          function ye(e) {
            return e
              .map((e) =>
                e.valid
                  ? [e.keyword, e.x, e.y, e.blur, e.spread, e.color]
                      .filter(Boolean)
                      .join(" ")
                  : e.raw
              )
              .join(", ");
          }
          var ke,
            Ce,
            Re,
            Oe = f(() => {
              g(),
                xe(),
                (ke = new Set([
                  "inset",
                  "inherit",
                  "initial",
                  "revert",
                  "unset",
                ])),
                (Ce = /\ +(?![^(]*\))/g),
                (Re = /^-?(\d+|\.\d+)(.*?)$/g);
            });
          function $e(e) {
            return He.some((t) => new RegExp(`^${t}\\(.*\\)`).test(e));
          }
          function Le(e, t = !0) {
            return e.startsWith("--")
              ? `var(${e})`
              : e.includes("url(")
              ? e
                  .split(/(url\(.*?\))/g)
                  .filter(Boolean)
                  .map((e) => (/^url\(.*?\)$/.test(e) ? e : Le(e, !1)))
                  .join("")
              : ((e = e
                  .replace(/([^\\])_+/g, (e, t) => t + " ".repeat(e.length - 1))
                  .replace(/^_/g, " ")
                  .replace(/\\_/g, "_")),
                t && (e = e.trim()),
                (e = (function (e) {
                  return e.replace(/(calc|min|max|clamp)\(.+\)/g, (e) => {
                    let t = [];
                    return e
                      .replace(
                        /var\((--.+?)[,)]/g,
                        (e, n) => (t.push(n), e.replace(n, Xe))
                      )
                      .replace(
                        /(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,
                        "$1 $2 "
                      )
                      .replace(Ne, () => t.shift());
                  });
                })(e)),
                e);
          }
          function Se(e) {
            return e.startsWith("url(");
          }
          function Ee(e) {
            return !isNaN(Number(e)) || $e(e);
          }
          function Ie(e) {
            return (e.endsWith("%") && Ee(e.slice(0, -1))) || $e(e);
          }
          function Te(e) {
            return (
              "0" === e ||
              new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${Qe}$`).test(
                e
              ) ||
              $e(e)
            );
          }
          function Ae(e) {
            return We.has(e);
          }
          function Be(e) {
            let t = we(Le(e));
            for (let e of t) if (!e.valid) return !1;
            return !0;
          }
          function Me(e) {
            let t = 0;
            return (
              !!be(e, "_").every(
                (e) =>
                  !!(e = Le(e)).startsWith("var(") ||
                  (null !== ae(e, { loose: !0 }) && (t++, !0))
              ) && t > 0
            );
          }
          function je(e) {
            let t = 0;
            return (
              !!be(e, ",").every(
                (e) =>
                  !!(e = Le(e)).startsWith("var(") ||
                  (!!(
                    Se(e) ||
                    (function (e) {
                      e = Le(e);
                      for (let t of Ue) if (e.startsWith(`${t}(`)) return !0;
                      return !1;
                    })(e) ||
                    ["element(", "image(", "cross-fade(", "image-set("].some(
                      (t) => e.startsWith(t)
                    )
                  ) &&
                    (t++, !0))
              ) && t > 0
            );
          }
          function _e(e) {
            let t = 0;
            return (
              !!be(e, "_").every(
                (e) =>
                  !!(e = Le(e)).startsWith("var(") ||
                  (!!(Ke.has(e) || Te(e) || Ie(e)) && (t++, !0))
              ) && t > 0
            );
          }
          function ze(e) {
            let t = 0;
            return (
              !!be(e, ",").every(
                (e) =>
                  !!(e = Le(e)).startsWith("var(") ||
                  (!(
                    (e.includes(" ") && !/(['"])([^"']+)\1/g.test(e)) ||
                    /^\d/g.test(e)
                  ) &&
                    (t++, !0))
              ) && t > 0
            );
          }
          function Fe(e) {
            return qe.has(e);
          }
          function De(e) {
            return Ve.has(e);
          }
          function Pe(e) {
            return Ge.has(e);
          }
          var He,
            Xe,
            Ne,
            Qe,
            We,
            Ue,
            Ke,
            qe,
            Ve,
            Ge,
            Ye = f(() => {
              g(),
                he(),
                Oe(),
                xe(),
                (He = ["min", "max", "clamp", "calc"]),
                (Xe = "--tw-placeholder"),
                (Ne = new RegExp(Xe, "g")),
                (Qe = `(?:${[
                  "cm",
                  "mm",
                  "Q",
                  "in",
                  "pc",
                  "pt",
                  "px",
                  "em",
                  "ex",
                  "ch",
                  "rem",
                  "lh",
                  "rlh",
                  "vw",
                  "vh",
                  "vmin",
                  "vmax",
                  "vb",
                  "vi",
                  "svw",
                  "svh",
                  "lvw",
                  "lvh",
                  "dvw",
                  "dvh",
                  "cqw",
                  "cqh",
                  "cqi",
                  "cqb",
                  "cqmin",
                  "cqmax",
                ].join("|")})`),
                (We = new Set(["thin", "medium", "thick"])),
                (Ue = new Set([
                  "conic-gradient",
                  "linear-gradient",
                  "radial-gradient",
                  "repeating-conic-gradient",
                  "repeating-linear-gradient",
                  "repeating-radial-gradient",
                ])),
                (Ke = new Set(["center", "top", "right", "bottom", "left"])),
                (qe = new Set([
                  "serif",
                  "sans-serif",
                  "monospace",
                  "cursive",
                  "fantasy",
                  "system-ui",
                  "ui-serif",
                  "ui-sans-serif",
                  "ui-monospace",
                  "ui-rounded",
                  "math",
                  "emoji",
                  "fangsong",
                ])),
                (Ve = new Set([
                  "xx-small",
                  "x-small",
                  "small",
                  "medium",
                  "large",
                  "x-large",
                  "x-large",
                  "xxx-large",
                ])),
                (Ge = new Set(["larger", "smaller"]));
            });
          function Ze(e) {
            let t = ["cover", "contain"];
            return be(e, ",").every((e) => {
              let n = be(e, "_").filter(Boolean);
              return (
                !(1 !== n.length || !t.includes(n[0])) ||
                ((1 === n.length || 2 === n.length) &&
                  n.every((e) => Te(e) || Ie(e) || "auto" === e))
              );
            });
          }
          var Je = f(() => {
            g(), Ye(), xe();
          });
          function et(e, t) {
            e.walkClasses((e) => {
              (e.value = t(e.value)),
                e.raws && e.raws.value && (e.raws.value = ee(e.raws.value));
            });
          }
          function tt(e, t) {
            if (!ct(e)) return;
            let n = e.slice(1, -1);
            return t(n) ? Le(n) : void 0;
          }
          function nt(e, t = {}, { validate: n = () => !0 } = {}) {
            let c = t.values?.[e];
            return void 0 !== c
              ? c
              : t.supportsNegativeValues && e.startsWith("-")
              ? (function (e, t = {}, n) {
                  let c = t[e];
                  if (void 0 !== c) return C(c);
                  if (ct(e)) {
                    let t = tt(e, n);
                    return void 0 === t ? void 0 : C(t);
                  }
                })(e.slice(1), t.values, n)
              : tt(e, n);
          }
          function ct(e) {
            return e.startsWith("[") && e.endsWith("]");
          }
          function at(e) {
            let t = e.lastIndexOf("/");
            return -1 === t ||
              t === e.length - 1 ||
              (ct(e) && !e.includes("]/["))
              ? [e, void 0]
              : [e.slice(0, t), e.slice(t + 1)];
          }
          function rt(e) {
            if ("string" == typeof e && e.includes("<alpha-value>")) {
              let t = e;
              return ({ opacityValue: e = 1 }) => t.replace("<alpha-value>", e);
            }
            return e;
          }
          function ot(e) {
            return Le(e.slice(1, -1));
          }
          function it(e, t = {}, { tailwindConfig: n = {} } = {}) {
            if (void 0 !== t.values?.[e]) return rt(t.values?.[e]);
            let [c, a] = at(e);
            if (void 0 !== a) {
              let e = t.values?.[c] ?? (ct(c) ? c.slice(1, -1) : void 0);
              return void 0 === e
                ? void 0
                : ((e = rt(e)),
                  ct(a)
                    ? me(e, ot(a))
                    : void 0 === n.theme?.opacity?.[a]
                    ? void 0
                    : me(e, n.theme.opacity[a]));
            }
            return nt(e, t, { validate: Me });
          }
          function lt(e, t = {}) {
            return t.values?.[e];
          }
          function st(e) {
            return (t, n) => nt(t, n, { validate: e });
          }
          function pt(e, t, n, c) {
            if (n.values && t in n.values)
              for (let { type: a } of e ?? []) {
                let e = dt[a](t, n, { tailwindConfig: c });
                if (void 0 !== e) return [e, a, null];
              }
            if (ct(t)) {
              let e = t.slice(1, -1),
                [c, a] = (function (e, t) {
                  let n = e.indexOf(t);
                  return -1 === n
                    ? [void 0, e]
                    : [e.slice(0, n), e.slice(n + 1)];
                })(e, ":");
              if (/^[\w-_]+$/g.test(c)) {
                if (void 0 !== c && !ft.includes(c)) return [];
              } else a = e;
              if (a.length > 0 && ft.includes(c))
                return [nt(`[${a}]`, n), c, null];
            }
            let a = ut(e, t, n, c);
            for (let e of a) return e;
            return [];
          }
          function* ut(e, t, n, c) {
            let a = Q(c, "generalizedModifiers"),
              [r, o] = at(t);
            if (
              ((a &&
                null != n.modifiers &&
                ("any" === n.modifiers ||
                  ("object" == typeof n.modifiers &&
                    ((o && ct(o)) || o in n.modifiers)))) ||
                ((r = t), (o = void 0)),
              void 0 !== o && "" === r && (r = "DEFAULT"),
              void 0 !== o && "object" == typeof n.modifiers)
            ) {
              let e = n.modifiers?.[o] ?? null;
              null !== e ? (o = e) : ct(o) && (o = ot(o));
            }
            for (let { type: t } of e ?? []) {
              let e = dt[t](r, n, { tailwindConfig: c });
              void 0 !== e && (yield [e, t, o ?? null]);
            }
          }
          var dt,
            ft,
            ht = f(() => {
              g(),
                ne(),
                ge(),
                Ye(),
                O(),
                Je(),
                q(),
                (dt = {
                  any: nt,
                  color: it,
                  url: st(Se),
                  image: st(je),
                  length: st(Te),
                  percentage: st(Ie),
                  position: st(_e),
                  lookup: lt,
                  "generic-name": st(Fe),
                  "family-name": st(ze),
                  number: st(Ee),
                  "line-width": st(Ae),
                  "absolute-size": st(De),
                  "relative-size": st(Pe),
                  shadow: st(Be),
                  size: st(Ze),
                }),
                (ft = Object.keys(dt));
            });
          function mt(e) {
            return "function" == typeof e ? e({}) : e;
          }
          var vt = f(() => {
            g();
          });
          function gt(e) {
            return "function" == typeof e;
          }
          function bt(e, ...t) {
            let n = t.pop();
            for (let c of t)
              for (let t in c) {
                let a = n(e[t], c[t]);
                void 0 === a
                  ? G(e[t]) && G(c[t])
                    ? (e[t] = bt({}, e[t], c[t], n))
                    : (e[t] = c[t])
                  : (e[t] = a);
              }
            return e;
          }
          function xt(e) {
            return e.reduce(
              (e, { extend: t }) =>
                bt(e, t, (e, t) =>
                  void 0 === e ? [t] : Array.isArray(e) ? [t, ...e] : [t, e]
                ),
              {}
            );
          }
          function wt(e) {
            return { ...e.reduce((e, t) => P(e, t), {}), extend: xt(e) };
          }
          function yt(e, t) {
            return Array.isArray(e) && G(e[0])
              ? e.concat(t)
              : Array.isArray(t) && G(t[0]) && G(e)
              ? [e, ...t]
              : Array.isArray(t)
              ? t
              : void 0;
          }
          function kt({ extend: e, ...t }) {
            return bt(t, e, (e, t) =>
              gt(e) || t.some(gt)
                ? (n, c) =>
                    bt(
                      {},
                      ...[e, ...t].map((e) =>
                        (function (e, ...t) {
                          return gt(e) ? e(...t) : e;
                        })(e, n, c)
                      ),
                      yt
                    )
                : bt({}, e, ...t, yt)
            );
          }
          function Ct(e) {
            let t = (n, c) => {
              for (let c of (function* (e) {
                let t = X(e);
                if (0 === t.length || (yield t, Array.isArray(e))) return;
                let n = e.match(/^(.*?)\s*\/\s*([^/]+)$/);
                if (null !== n) {
                  let [, e, t] = n,
                    c = X(e);
                  (c.alpha = t), yield c;
                }
              })(n)) {
                let n = 0,
                  a = e;
                for (; null != a && n < c.length; )
                  (a = a[c[n++]]),
                    (a =
                      gt(a) && (void 0 === c.alpha || n <= c.length - 1)
                        ? a(t, St)
                        : a);
                if (void 0 !== a) {
                  if (void 0 !== c.alpha) {
                    let e = rt(a);
                    return me(e, c.alpha, mt(e));
                  }
                  return G(a) ? Z(a) : a;
                }
              }
              return c;
            };
            return (
              Object.assign(t, { theme: t, ...St }),
              Object.keys(e).reduce(
                (n, c) => ((n[c] = gt(e[c]) ? e[c](t, St) : e[c]), n),
                {}
              )
            );
          }
          function Rt(e) {
            let t = [];
            return (
              e.forEach((e) => {
                t = [...t, e];
                let n = e?.plugins ?? [];
                0 !== n.length &&
                  n.forEach((e) => {
                    e.__isOptionsFunction && (e = e()),
                      (t = [...t, ...Rt([e?.config ?? {}])]);
                  });
              }),
              t
            );
          }
          function Ot(e) {
            return [...e].reduceRight(
              (e, t) =>
                gt(t)
                  ? t({ corePlugins: e })
                  : (function (e, t) {
                      return void 0 === e
                        ? t
                        : Array.isArray(e)
                        ? e
                        : [
                            ...new Set(
                              t
                                .filter((t) => !1 !== e && !1 !== e[t])
                                .concat(
                                  Object.keys(e).filter((t) => !1 !== e[t])
                                )
                            ),
                          ];
                    })(t, e),
              R
            );
          }
          function $t(e) {
            return [...e].reduceRight((e, t) => [...e, ...t], []);
          }
          function Lt(e) {
            let t = [...Rt(e), { prefix: "", important: !1, separator: ":" }];
            return (function (e) {
              (() => {
                if (
                  e.purge ||
                  !e.content ||
                  (!Array.isArray(e.content) &&
                    ("object" != typeof e.content || null === e.content))
                )
                  return !1;
                if (Array.isArray(e.content))
                  return e.content.every(
                    (e) =>
                      "string" == typeof e ||
                      !(
                        "string" != typeof e?.raw ||
                        (e?.extension && "string" != typeof e?.extension)
                      )
                  );
                if ("object" == typeof e.content && null !== e.content) {
                  if (
                    Object.keys(e.content).some(
                      (e) =>
                        !["files", "relative", "extract", "transform"].includes(
                          e
                        )
                    )
                  )
                    return !1;
                  if (Array.isArray(e.content.files)) {
                    if (
                      !e.content.files.every(
                        (e) =>
                          "string" == typeof e ||
                          !(
                            "string" != typeof e?.raw ||
                            (e?.extension && "string" != typeof e?.extension)
                          )
                      )
                    )
                      return !1;
                    if ("object" == typeof e.content.extract) {
                      for (let t of Object.values(e.content.extract))
                        if ("function" != typeof t) return !1;
                    } else if (
                      void 0 !== e.content.extract &&
                      "function" != typeof e.content.extract
                    )
                      return !1;
                    if ("object" == typeof e.content.transform) {
                      for (let t of Object.values(e.content.transform))
                        if ("function" != typeof t) return !1;
                    } else if (
                      void 0 !== e.content.transform &&
                      "function" != typeof e.content.transform
                    )
                      return !1;
                    if (
                      "boolean" != typeof e.content.relative &&
                      void 0 !== e.content.relative
                    )
                      return !1;
                  }
                  return !0;
                }
                return !1;
              })() ||
                M.warn("purge-deprecation", [
                  "The `purge`/`content` options have changed in Tailwind CSS v3.0.",
                  "Update your configuration file to eliminate this warning.",
                  "https://tailwindcss.com/docs/upgrade-guide#configure-content-sources",
                ]),
                (e.safelist = (() => {
                  let { content: t, purge: n, safelist: c } = e;
                  return Array.isArray(c)
                    ? c
                    : Array.isArray(t?.safelist)
                    ? t.safelist
                    : Array.isArray(n?.safelist)
                    ? n.safelist
                    : Array.isArray(n?.options?.safelist)
                    ? n.options.safelist
                    : [];
                })()),
                (e.blocklist = (() => {
                  let { blocklist: t } = e;
                  if (Array.isArray(t)) {
                    if (t.every((e) => "string" == typeof e)) return t;
                    M.warn("blocklist-invalid", [
                      "The `blocklist` option must be an array of strings.",
                      "https://tailwindcss.com/docs/content-configuration#discarding-classes",
                    ]);
                  }
                  return [];
                })()),
                "function" == typeof e.prefix
                  ? (M.warn("prefix-function", [
                      "As of Tailwind CSS v3.0, `prefix` cannot be a function.",
                      "Update `prefix` in your configuration to be a string to eliminate this warning.",
                      "https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function",
                    ]),
                    (e.prefix = ""))
                  : (e.prefix = e.prefix ?? ""),
                (e.content = {
                  relative: (() => {
                    let { content: t } = e;
                    return t?.relative
                      ? t.relative
                      : Q(e, "relativeContentPathsByDefault");
                  })(),
                  files: (() => {
                    let { content: t, purge: n } = e;
                    return Array.isArray(n)
                      ? n
                      : Array.isArray(n?.content)
                      ? n.content
                      : Array.isArray(t)
                      ? t
                      : Array.isArray(t?.content)
                      ? t.content
                      : Array.isArray(t?.files)
                      ? t.files
                      : [];
                  })(),
                  extract: (() => {
                    let t = e.purge?.extract
                        ? e.purge.extract
                        : e.content?.extract
                        ? e.content.extract
                        : e.purge?.extract?.DEFAULT
                        ? e.purge.extract.DEFAULT
                        : e.content?.extract?.DEFAULT
                        ? e.content.extract.DEFAULT
                        : e.purge?.options?.extractors
                        ? e.purge.options.extractors
                        : e.content?.options?.extractors
                        ? e.content.options.extractors
                        : {},
                      n = {},
                      c = e.purge?.options?.defaultExtractor
                        ? e.purge.options.defaultExtractor
                        : e.content?.options?.defaultExtractor
                        ? e.content.options.defaultExtractor
                        : void 0;
                    if (
                      (void 0 !== c && (n.DEFAULT = c), "function" == typeof t)
                    )
                      n.DEFAULT = t;
                    else if (Array.isArray(t))
                      for (let { extensions: e, extractor: c } of t ?? [])
                        for (let t of e) n[t] = c;
                    else
                      "object" == typeof t && null !== t && Object.assign(n, t);
                    return n;
                  })(),
                  transform: (() => {
                    let t = e.purge?.transform
                        ? e.purge.transform
                        : e.content?.transform
                        ? e.content.transform
                        : e.purge?.transform?.DEFAULT
                        ? e.purge.transform.DEFAULT
                        : e.content?.transform?.DEFAULT
                        ? e.content.transform.DEFAULT
                        : {},
                      n = {};
                    return (
                      "function" == typeof t && (n.DEFAULT = t),
                      "object" == typeof t && null !== t && Object.assign(n, t),
                      n
                    );
                  })(),
                });
              for (let t of e.content.files)
                if ("string" == typeof t && /{([^,]*?)}/g.test(t)) {
                  M.warn("invalid-glob-braces", [
                    `The glob pattern ${A(
                      t
                    )} in your Tailwind CSS configuration is invalid.`,
                    `Update it to ${A(
                      t.replace(/{([^,]*?)}/g, "$1")
                    )} to silence this warning.`,
                  ]);
                  break;
                }
              return e;
            })(
              P(
                {
                  theme: Ct(kt(wt(t.map((e) => e?.theme ?? {})))),
                  corePlugins: Ot(t.map((e) => e.corePlugins)),
                  plugins: $t(e.map((e) => e?.plugins ?? [])),
                },
                ...t
              )
            );
          }
          var St,
            Et = f(() => {
              g(),
                O(),
                $(),
                L(),
                D(),
                H(),
                N(),
                V(),
                Y(),
                J(),
                ht(),
                ge(),
                vt(),
                (St = {
                  colors: F,
                  negative(e) {
                    return Object.keys(e)
                      .filter((t) => "0" !== e[t])
                      .reduce((t, n) => {
                        let c = C(e[n]);
                        return void 0 !== c && (t[`-${n}`] = c), t;
                      }, {});
                  },
                  breakpoints(e) {
                    return Object.keys(e)
                      .filter((t) => "string" == typeof e[t])
                      .reduce((t, n) => ({ ...t, [`screen-${n}`]: e[n] }), {});
                  },
                });
            }),
            It = h((e, t) => {
              g(),
                (t.exports = {
                  content: [],
                  presets: [],
                  darkMode: "media",
                  theme: {
                    accentColor: ({ theme: e }) => ({
                      ...e("colors"),
                      auto: "auto",
                    }),
                    animation: {
                      none: "none",
                      spin: "spin 1s linear infinite",
                      ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
                      pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
                      bounce: "bounce 1s infinite",
                    },
                    aria: {
                      busy: 'busy="true"',
                      checked: 'checked="true"',
                      disabled: 'disabled="true"',
                      expanded: 'expanded="true"',
                      hidden: 'hidden="true"',
                      pressed: 'pressed="true"',
                      readonly: 'readonly="true"',
                      required: 'required="true"',
                      selected: 'selected="true"',
                    },
                    aspectRatio: {
                      auto: "auto",
                      square: "1 / 1",
                      video: "16 / 9",
                    },
                    backdropBlur: ({ theme: e }) => e("blur"),
                    backdropBrightness: ({ theme: e }) => e("brightness"),
                    backdropContrast: ({ theme: e }) => e("contrast"),
                    backdropGrayscale: ({ theme: e }) => e("grayscale"),
                    backdropHueRotate: ({ theme: e }) => e("hueRotate"),
                    backdropInvert: ({ theme: e }) => e("invert"),
                    backdropOpacity: ({ theme: e }) => e("opacity"),
                    backdropSaturate: ({ theme: e }) => e("saturate"),
                    backdropSepia: ({ theme: e }) => e("sepia"),
                    backgroundColor: ({ theme: e }) => e("colors"),
                    backgroundImage: {
                      none: "none",
                      "gradient-to-t":
                        "linear-gradient(to top, var(--tw-gradient-stops))",
                      "gradient-to-tr":
                        "linear-gradient(to top right, var(--tw-gradient-stops))",
                      "gradient-to-r":
                        "linear-gradient(to right, var(--tw-gradient-stops))",
                      "gradient-to-br":
                        "linear-gradient(to bottom right, var(--tw-gradient-stops))",
                      "gradient-to-b":
                        "linear-gradient(to bottom, var(--tw-gradient-stops))",
                      "gradient-to-bl":
                        "linear-gradient(to bottom left, var(--tw-gradient-stops))",
                      "gradient-to-l":
                        "linear-gradient(to left, var(--tw-gradient-stops))",
                      "gradient-to-tl":
                        "linear-gradient(to top left, var(--tw-gradient-stops))",
                    },
                    backgroundOpacity: ({ theme: e }) => e("opacity"),
                    backgroundPosition: {
                      bottom: "bottom",
                      center: "center",
                      left: "left",
                      "left-bottom": "left bottom",
                      "left-top": "left top",
                      right: "right",
                      "right-bottom": "right bottom",
                      "right-top": "right top",
                      top: "top",
                    },
                    backgroundSize: {
                      auto: "auto",
                      cover: "cover",
                      contain: "contain",
                    },
                    blur: {
                      0: "0",
                      none: "0",
                      sm: "4px",
                      DEFAULT: "8px",
                      md: "12px",
                      lg: "16px",
                      xl: "24px",
                      "2xl": "40px",
                      "3xl": "64px",
                    },
                    borderColor: ({ theme: e }) => ({
                      ...e("colors"),
                      DEFAULT: e("colors.gray.200", "currentColor"),
                    }),
                    borderOpacity: ({ theme: e }) => e("opacity"),
                    borderRadius: {
                      none: "0px",
                      sm: "0.125rem",
                      DEFAULT: "0.25rem",
                      md: "0.375rem",
                      lg: "0.5rem",
                      xl: "0.75rem",
                      "2xl": "1rem",
                      "3xl": "1.5rem",
                      full: "9999px",
                    },
                    borderSpacing: ({ theme: e }) => ({ ...e("spacing") }),
                    borderWidth: {
                      DEFAULT: "1px",
                      0: "0px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    boxShadow: {
                      sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
                      DEFAULT:
                        "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
                      md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
                      lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
                      xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
                      "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
                      inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
                      none: "none",
                    },
                    boxShadowColor: ({ theme: e }) => e("colors"),
                    brightness: {
                      0: "0",
                      50: ".5",
                      75: ".75",
                      90: ".9",
                      95: ".95",
                      100: "1",
                      105: "1.05",
                      110: "1.1",
                      125: "1.25",
                      150: "1.5",
                      200: "2",
                    },
                    caretColor: ({ theme: e }) => e("colors"),
                    colors: ({ colors: e }) => ({
                      inherit: e.inherit,
                      current: e.current,
                      transparent: e.transparent,
                      black: e.black,
                      white: e.white,
                      slate: e.slate,
                      gray: e.gray,
                      zinc: e.zinc,
                      neutral: e.neutral,
                      stone: e.stone,
                      red: e.red,
                      orange: e.orange,
                      amber: e.amber,
                      yellow: e.yellow,
                      lime: e.lime,
                      green: e.green,
                      emerald: e.emerald,
                      teal: e.teal,
                      cyan: e.cyan,
                      sky: e.sky,
                      blue: e.blue,
                      indigo: e.indigo,
                      violet: e.violet,
                      purple: e.purple,
                      fuchsia: e.fuchsia,
                      pink: e.pink,
                      rose: e.rose,
                    }),
                    columns: {
                      auto: "auto",
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                      7: "7",
                      8: "8",
                      9: "9",
                      10: "10",
                      11: "11",
                      12: "12",
                      "3xs": "16rem",
                      "2xs": "18rem",
                      xs: "20rem",
                      sm: "24rem",
                      md: "28rem",
                      lg: "32rem",
                      xl: "36rem",
                      "2xl": "42rem",
                      "3xl": "48rem",
                      "4xl": "56rem",
                      "5xl": "64rem",
                      "6xl": "72rem",
                      "7xl": "80rem",
                    },
                    container: {},
                    content: { none: "none" },
                    contrast: {
                      0: "0",
                      50: ".5",
                      75: ".75",
                      100: "1",
                      125: "1.25",
                      150: "1.5",
                      200: "2",
                    },
                    cursor: {
                      auto: "auto",
                      default: "default",
                      pointer: "pointer",
                      wait: "wait",
                      text: "text",
                      move: "move",
                      help: "help",
                      "not-allowed": "not-allowed",
                      none: "none",
                      "context-menu": "context-menu",
                      progress: "progress",
                      cell: "cell",
                      crosshair: "crosshair",
                      "vertical-text": "vertical-text",
                      alias: "alias",
                      copy: "copy",
                      "no-drop": "no-drop",
                      grab: "grab",
                      grabbing: "grabbing",
                      "all-scroll": "all-scroll",
                      "col-resize": "col-resize",
                      "row-resize": "row-resize",
                      "n-resize": "n-resize",
                      "e-resize": "e-resize",
                      "s-resize": "s-resize",
                      "w-resize": "w-resize",
                      "ne-resize": "ne-resize",
                      "nw-resize": "nw-resize",
                      "se-resize": "se-resize",
                      "sw-resize": "sw-resize",
                      "ew-resize": "ew-resize",
                      "ns-resize": "ns-resize",
                      "nesw-resize": "nesw-resize",
                      "nwse-resize": "nwse-resize",
                      "zoom-in": "zoom-in",
                      "zoom-out": "zoom-out",
                    },
                    divideColor: ({ theme: e }) => e("borderColor"),
                    divideOpacity: ({ theme: e }) => e("borderOpacity"),
                    divideWidth: ({ theme: e }) => e("borderWidth"),
                    dropShadow: {
                      sm: "0 1px 1px rgb(0 0 0 / 0.05)",
                      DEFAULT: [
                        "0 1px 2px rgb(0 0 0 / 0.1)",
                        "0 1px 1px rgb(0 0 0 / 0.06)",
                      ],
                      md: [
                        "0 4px 3px rgb(0 0 0 / 0.07)",
                        "0 2px 2px rgb(0 0 0 / 0.06)",
                      ],
                      lg: [
                        "0 10px 8px rgb(0 0 0 / 0.04)",
                        "0 4px 3px rgb(0 0 0 / 0.1)",
                      ],
                      xl: [
                        "0 20px 13px rgb(0 0 0 / 0.03)",
                        "0 8px 5px rgb(0 0 0 / 0.08)",
                      ],
                      "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
                      none: "0 0 #0000",
                    },
                    fill: ({ theme: e }) => ({ none: "none", ...e("colors") }),
                    flex: {
                      1: "1 1 0%",
                      auto: "1 1 auto",
                      initial: "0 1 auto",
                      none: "none",
                    },
                    flexBasis: ({ theme: e }) => ({
                      auto: "auto",
                      ...e("spacing"),
                      "1/2": "50%",
                      "1/3": "33.333333%",
                      "2/3": "66.666667%",
                      "1/4": "25%",
                      "2/4": "50%",
                      "3/4": "75%",
                      "1/5": "20%",
                      "2/5": "40%",
                      "3/5": "60%",
                      "4/5": "80%",
                      "1/6": "16.666667%",
                      "2/6": "33.333333%",
                      "3/6": "50%",
                      "4/6": "66.666667%",
                      "5/6": "83.333333%",
                      "1/12": "8.333333%",
                      "2/12": "16.666667%",
                      "3/12": "25%",
                      "4/12": "33.333333%",
                      "5/12": "41.666667%",
                      "6/12": "50%",
                      "7/12": "58.333333%",
                      "8/12": "66.666667%",
                      "9/12": "75%",
                      "10/12": "83.333333%",
                      "11/12": "91.666667%",
                      full: "100%",
                    }),
                    flexGrow: { 0: "0", DEFAULT: "1" },
                    flexShrink: { 0: "0", DEFAULT: "1" },
                    fontFamily: {
                      sans: [
                        "ui-sans-serif",
                        "system-ui",
                        "-apple-system",
                        "BlinkMacSystemFont",
                        '"Segoe UI"',
                        "Roboto",
                        '"Helvetica Neue"',
                        "Arial",
                        '"Noto Sans"',
                        "sans-serif",
                        '"Apple Color Emoji"',
                        '"Segoe UI Emoji"',
                        '"Segoe UI Symbol"',
                        '"Noto Color Emoji"',
                      ],
                      serif: [
                        "ui-serif",
                        "Georgia",
                        "Cambria",
                        '"Times New Roman"',
                        "Times",
                        "serif",
                      ],
                      mono: [
                        "ui-monospace",
                        "SFMono-Regular",
                        "Menlo",
                        "Monaco",
                        "Consolas",
                        '"Liberation Mono"',
                        '"Courier New"',
                        "monospace",
                      ],
                    },
                    fontSize: {
                      xs: ["0.75rem", { lineHeight: "1rem" }],
                      sm: ["0.875rem", { lineHeight: "1.25rem" }],
                      base: ["1rem", { lineHeight: "1.5rem" }],
                      lg: ["1.125rem", { lineHeight: "1.75rem" }],
                      xl: ["1.25rem", { lineHeight: "1.75rem" }],
                      "2xl": ["1.5rem", { lineHeight: "2rem" }],
                      "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
                      "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
                      "5xl": ["3rem", { lineHeight: "1" }],
                      "6xl": ["3.75rem", { lineHeight: "1" }],
                      "7xl": ["4.5rem", { lineHeight: "1" }],
                      "8xl": ["6rem", { lineHeight: "1" }],
                      "9xl": ["8rem", { lineHeight: "1" }],
                    },
                    fontWeight: {
                      thin: "100",
                      extralight: "200",
                      light: "300",
                      normal: "400",
                      medium: "500",
                      semibold: "600",
                      bold: "700",
                      extrabold: "800",
                      black: "900",
                    },
                    gap: ({ theme: e }) => e("spacing"),
                    gradientColorStops: ({ theme: e }) => e("colors"),
                    gradientColorStopPositions: {
                      "0%": "0%",
                      "5%": "5%",
                      "10%": "10%",
                      "15%": "15%",
                      "20%": "20%",
                      "25%": "25%",
                      "30%": "30%",
                      "35%": "35%",
                      "40%": "40%",
                      "45%": "45%",
                      "50%": "50%",
                      "55%": "55%",
                      "60%": "60%",
                      "65%": "65%",
                      "70%": "70%",
                      "75%": "75%",
                      "80%": "80%",
                      "85%": "85%",
                      "90%": "90%",
                      "95%": "95%",
                      "100%": "100%",
                    },
                    grayscale: { 0: "0", DEFAULT: "100%" },
                    gridAutoColumns: {
                      auto: "auto",
                      min: "min-content",
                      max: "max-content",
                      fr: "minmax(0, 1fr)",
                    },
                    gridAutoRows: {
                      auto: "auto",
                      min: "min-content",
                      max: "max-content",
                      fr: "minmax(0, 1fr)",
                    },
                    gridColumn: {
                      auto: "auto",
                      "span-1": "span 1 / span 1",
                      "span-2": "span 2 / span 2",
                      "span-3": "span 3 / span 3",
                      "span-4": "span 4 / span 4",
                      "span-5": "span 5 / span 5",
                      "span-6": "span 6 / span 6",
                      "span-7": "span 7 / span 7",
                      "span-8": "span 8 / span 8",
                      "span-9": "span 9 / span 9",
                      "span-10": "span 10 / span 10",
                      "span-11": "span 11 / span 11",
                      "span-12": "span 12 / span 12",
                      "span-full": "1 / -1",
                    },
                    gridColumnEnd: {
                      auto: "auto",
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                      7: "7",
                      8: "8",
                      9: "9",
                      10: "10",
                      11: "11",
                      12: "12",
                      13: "13",
                    },
                    gridColumnStart: {
                      auto: "auto",
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                      7: "7",
                      8: "8",
                      9: "9",
                      10: "10",
                      11: "11",
                      12: "12",
                      13: "13",
                    },
                    gridRow: {
                      auto: "auto",
                      "span-1": "span 1 / span 1",
                      "span-2": "span 2 / span 2",
                      "span-3": "span 3 / span 3",
                      "span-4": "span 4 / span 4",
                      "span-5": "span 5 / span 5",
                      "span-6": "span 6 / span 6",
                      "span-full": "1 / -1",
                    },
                    gridRowEnd: {
                      auto: "auto",
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                      7: "7",
                    },
                    gridRowStart: {
                      auto: "auto",
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                      7: "7",
                    },
                    gridTemplateColumns: {
                      none: "none",
                      1: "repeat(1, minmax(0, 1fr))",
                      2: "repeat(2, minmax(0, 1fr))",
                      3: "repeat(3, minmax(0, 1fr))",
                      4: "repeat(4, minmax(0, 1fr))",
                      5: "repeat(5, minmax(0, 1fr))",
                      6: "repeat(6, minmax(0, 1fr))",
                      7: "repeat(7, minmax(0, 1fr))",
                      8: "repeat(8, minmax(0, 1fr))",
                      9: "repeat(9, minmax(0, 1fr))",
                      10: "repeat(10, minmax(0, 1fr))",
                      11: "repeat(11, minmax(0, 1fr))",
                      12: "repeat(12, minmax(0, 1fr))",
                    },
                    gridTemplateRows: {
                      none: "none",
                      1: "repeat(1, minmax(0, 1fr))",
                      2: "repeat(2, minmax(0, 1fr))",
                      3: "repeat(3, minmax(0, 1fr))",
                      4: "repeat(4, minmax(0, 1fr))",
                      5: "repeat(5, minmax(0, 1fr))",
                      6: "repeat(6, minmax(0, 1fr))",
                    },
                    height: ({ theme: e }) => ({
                      auto: "auto",
                      ...e("spacing"),
                      "1/2": "50%",
                      "1/3": "33.333333%",
                      "2/3": "66.666667%",
                      "1/4": "25%",
                      "2/4": "50%",
                      "3/4": "75%",
                      "1/5": "20%",
                      "2/5": "40%",
                      "3/5": "60%",
                      "4/5": "80%",
                      "1/6": "16.666667%",
                      "2/6": "33.333333%",
                      "3/6": "50%",
                      "4/6": "66.666667%",
                      "5/6": "83.333333%",
                      full: "100%",
                      screen: "100vh",
                      min: "min-content",
                      max: "max-content",
                      fit: "fit-content",
                    }),
                    hueRotate: {
                      0: "0deg",
                      15: "15deg",
                      30: "30deg",
                      60: "60deg",
                      90: "90deg",
                      180: "180deg",
                    },
                    inset: ({ theme: e }) => ({
                      auto: "auto",
                      ...e("spacing"),
                      "1/2": "50%",
                      "1/3": "33.333333%",
                      "2/3": "66.666667%",
                      "1/4": "25%",
                      "2/4": "50%",
                      "3/4": "75%",
                      full: "100%",
                    }),
                    invert: { 0: "0", DEFAULT: "100%" },
                    keyframes: {
                      spin: { to: { transform: "rotate(360deg)" } },
                      ping: {
                        "75%, 100%": { transform: "scale(2)", opacity: "0" },
                      },
                      pulse: { "50%": { opacity: ".5" } },
                      bounce: {
                        "0%, 100%": {
                          transform: "translateY(-25%)",
                          animationTimingFunction: "cubic-bezier(0.8,0,1,1)",
                        },
                        "50%": {
                          transform: "none",
                          animationTimingFunction: "cubic-bezier(0,0,0.2,1)",
                        },
                      },
                    },
                    letterSpacing: {
                      tighter: "-0.05em",
                      tight: "-0.025em",
                      normal: "0em",
                      wide: "0.025em",
                      wider: "0.05em",
                      widest: "0.1em",
                    },
                    lineHeight: {
                      none: "1",
                      tight: "1.25",
                      snug: "1.375",
                      normal: "1.5",
                      relaxed: "1.625",
                      loose: "2",
                      3: ".75rem",
                      4: "1rem",
                      5: "1.25rem",
                      6: "1.5rem",
                      7: "1.75rem",
                      8: "2rem",
                      9: "2.25rem",
                      10: "2.5rem",
                    },
                    listStyleType: {
                      none: "none",
                      disc: "disc",
                      decimal: "decimal",
                    },
                    listStyleImage: { none: "none" },
                    margin: ({ theme: e }) => ({
                      auto: "auto",
                      ...e("spacing"),
                    }),
                    lineClamp: {
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                    },
                    maxHeight: ({ theme: e }) => ({
                      ...e("spacing"),
                      none: "none",
                      full: "100%",
                      screen: "100vh",
                      min: "min-content",
                      max: "max-content",
                      fit: "fit-content",
                    }),
                    maxWidth: ({ theme: e, breakpoints: t }) => ({
                      none: "none",
                      0: "0rem",
                      xs: "20rem",
                      sm: "24rem",
                      md: "28rem",
                      lg: "32rem",
                      xl: "36rem",
                      "2xl": "42rem",
                      "3xl": "48rem",
                      "4xl": "56rem",
                      "5xl": "64rem",
                      "6xl": "72rem",
                      "7xl": "80rem",
                      full: "100%",
                      min: "min-content",
                      max: "max-content",
                      fit: "fit-content",
                      prose: "65ch",
                      ...t(e("screens")),
                    }),
                    minHeight: {
                      0: "0px",
                      full: "100%",
                      screen: "100vh",
                      min: "min-content",
                      max: "max-content",
                      fit: "fit-content",
                    },
                    minWidth: {
                      0: "0px",
                      full: "100%",
                      min: "min-content",
                      max: "max-content",
                      fit: "fit-content",
                    },
                    objectPosition: {
                      bottom: "bottom",
                      center: "center",
                      left: "left",
                      "left-bottom": "left bottom",
                      "left-top": "left top",
                      right: "right",
                      "right-bottom": "right bottom",
                      "right-top": "right top",
                      top: "top",
                    },
                    opacity: {
                      0: "0",
                      5: "0.05",
                      10: "0.1",
                      20: "0.2",
                      25: "0.25",
                      30: "0.3",
                      40: "0.4",
                      50: "0.5",
                      60: "0.6",
                      70: "0.7",
                      75: "0.75",
                      80: "0.8",
                      90: "0.9",
                      95: "0.95",
                      100: "1",
                    },
                    order: {
                      first: "-9999",
                      last: "9999",
                      none: "0",
                      1: "1",
                      2: "2",
                      3: "3",
                      4: "4",
                      5: "5",
                      6: "6",
                      7: "7",
                      8: "8",
                      9: "9",
                      10: "10",
                      11: "11",
                      12: "12",
                    },
                    outlineColor: ({ theme: e }) => e("colors"),
                    outlineOffset: {
                      0: "0px",
                      1: "1px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    outlineWidth: {
                      0: "0px",
                      1: "1px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    padding: ({ theme: e }) => e("spacing"),
                    placeholderColor: ({ theme: e }) => e("colors"),
                    placeholderOpacity: ({ theme: e }) => e("opacity"),
                    ringColor: ({ theme: e }) => ({
                      DEFAULT: e("colors.blue.500", "#3b82f6"),
                      ...e("colors"),
                    }),
                    ringOffsetColor: ({ theme: e }) => e("colors"),
                    ringOffsetWidth: {
                      0: "0px",
                      1: "1px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    ringOpacity: ({ theme: e }) => ({
                      DEFAULT: "0.5",
                      ...e("opacity"),
                    }),
                    ringWidth: {
                      DEFAULT: "3px",
                      0: "0px",
                      1: "1px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    rotate: {
                      0: "0deg",
                      1: "1deg",
                      2: "2deg",
                      3: "3deg",
                      6: "6deg",
                      12: "12deg",
                      45: "45deg",
                      90: "90deg",
                      180: "180deg",
                    },
                    saturate: {
                      0: "0",
                      50: ".5",
                      100: "1",
                      150: "1.5",
                      200: "2",
                    },
                    scale: {
                      0: "0",
                      50: ".5",
                      75: ".75",
                      90: ".9",
                      95: ".95",
                      100: "1",
                      105: "1.05",
                      110: "1.1",
                      125: "1.25",
                      150: "1.5",
                    },
                    screens: {
                      sm: "640px",
                      md: "768px",
                      lg: "1024px",
                      xl: "1280px",
                      "2xl": "1536px",
                    },
                    scrollMargin: ({ theme: e }) => ({ ...e("spacing") }),
                    scrollPadding: ({ theme: e }) => e("spacing"),
                    sepia: { 0: "0", DEFAULT: "100%" },
                    skew: {
                      0: "0deg",
                      1: "1deg",
                      2: "2deg",
                      3: "3deg",
                      6: "6deg",
                      12: "12deg",
                    },
                    space: ({ theme: e }) => ({ ...e("spacing") }),
                    spacing: {
                      px: "1px",
                      0: "0px",
                      0.5: "0.125rem",
                      1: "0.25rem",
                      1.5: "0.375rem",
                      2: "0.5rem",
                      2.5: "0.625rem",
                      3: "0.75rem",
                      3.5: "0.875rem",
                      4: "1rem",
                      5: "1.25rem",
                      6: "1.5rem",
                      7: "1.75rem",
                      8: "2rem",
                      9: "2.25rem",
                      10: "2.5rem",
                      11: "2.75rem",
                      12: "3rem",
                      14: "3.5rem",
                      16: "4rem",
                      20: "5rem",
                      24: "6rem",
                      28: "7rem",
                      32: "8rem",
                      36: "9rem",
                      40: "10rem",
                      44: "11rem",
                      48: "12rem",
                      52: "13rem",
                      56: "14rem",
                      60: "15rem",
                      64: "16rem",
                      72: "18rem",
                      80: "20rem",
                      96: "24rem",
                    },
                    stroke: ({ theme: e }) => ({
                      none: "none",
                      ...e("colors"),
                    }),
                    strokeWidth: { 0: "0", 1: "1", 2: "2" },
                    supports: {},
                    data: {},
                    textColor: ({ theme: e }) => e("colors"),
                    textDecorationColor: ({ theme: e }) => e("colors"),
                    textDecorationThickness: {
                      auto: "auto",
                      "from-font": "from-font",
                      0: "0px",
                      1: "1px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    textIndent: ({ theme: e }) => ({ ...e("spacing") }),
                    textOpacity: ({ theme: e }) => e("opacity"),
                    textUnderlineOffset: {
                      auto: "auto",
                      0: "0px",
                      1: "1px",
                      2: "2px",
                      4: "4px",
                      8: "8px",
                    },
                    transformOrigin: {
                      center: "center",
                      top: "top",
                      "top-right": "top right",
                      right: "right",
                      "bottom-right": "bottom right",
                      bottom: "bottom",
                      "bottom-left": "bottom left",
                      left: "left",
                      "top-left": "top left",
                    },
                    transitionDelay: {
                      0: "0s",
                      75: "75ms",
                      100: "100ms",
                      150: "150ms",
                      200: "200ms",
                      300: "300ms",
                      500: "500ms",
                      700: "700ms",
                      1e3: "1000ms",
                    },
                    transitionDuration: {
                      DEFAULT: "150ms",
                      0: "0s",
                      75: "75ms",
                      100: "100ms",
                      150: "150ms",
                      200: "200ms",
                      300: "300ms",
                      500: "500ms",
                      700: "700ms",
                      1e3: "1000ms",
                    },
                    transitionProperty: {
                      none: "none",
                      all: "all",
                      DEFAULT:
                        "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
                      colors:
                        "color, background-color, border-color, text-decoration-color, fill, stroke",
                      opacity: "opacity",
                      shadow: "box-shadow",
                      transform: "transform",
                    },
                    transitionTimingFunction: {
                      DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
                      linear: "linear",
                      in: "cubic-bezier(0.4, 0, 1, 1)",
                      out: "cubic-bezier(0, 0, 0.2, 1)",
                      "in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
                    },
                    translate: ({ theme: e }) => ({
                      ...e("spacing"),
                      "1/2": "50%",
                      "1/3": "33.333333%",
                      "2/3": "66.666667%",
                      "1/4": "25%",
                      "2/4": "50%",
                      "3/4": "75%",
                      full: "100%",
                    }),
                    width: ({ theme: e }) => ({
                      auto: "auto",
                      ...e("spacing"),
                      "1/2": "50%",
                      "1/3": "33.333333%",
                      "2/3": "66.666667%",
                      "1/4": "25%",
                      "2/4": "50%",
                      "3/4": "75%",
                      "1/5": "20%",
                      "2/5": "40%",
                      "3/5": "60%",
                      "4/5": "80%",
                      "1/6": "16.666667%",
                      "2/6": "33.333333%",
                      "3/6": "50%",
                      "4/6": "66.666667%",
                      "5/6": "83.333333%",
                      "1/12": "8.333333%",
                      "2/12": "16.666667%",
                      "3/12": "25%",
                      "4/12": "33.333333%",
                      "5/12": "41.666667%",
                      "6/12": "50%",
                      "7/12": "58.333333%",
                      "8/12": "66.666667%",
                      "9/12": "75%",
                      "10/12": "83.333333%",
                      "11/12": "91.666667%",
                      full: "100%",
                      screen: "100vw",
                      min: "min-content",
                      max: "max-content",
                      fit: "fit-content",
                    }),
                    willChange: {
                      auto: "auto",
                      scroll: "scroll-position",
                      contents: "contents",
                      transform: "transform",
                    },
                    zIndex: {
                      auto: "auto",
                      0: "0",
                      10: "10",
                      20: "20",
                      30: "30",
                      40: "40",
                      50: "50",
                    },
                  },
                  plugins: [],
                });
            });
          function Tt(e) {
            let t = (e?.presets ?? [At.default])
                .slice()
                .reverse()
                .flatMap((e) => Tt(e instanceof Function ? e() : e)),
              n = {
                respectDefaultRingColorOpacity: {
                  theme: {
                    ringColor: ({ theme: e }) => ({
                      DEFAULT: "#3b82f67f",
                      ...e("colors"),
                    }),
                  },
                },
                disableColorOpacityUtilitiesByDefault: {
                  corePlugins: {
                    backgroundOpacity: !1,
                    borderOpacity: !1,
                    divideOpacity: !1,
                    placeholderOpacity: !1,
                    ringOpacity: !1,
                    textOpacity: !1,
                  },
                },
              },
              c = Object.keys(n)
                .filter((t) => Q(e, t))
                .map((e) => n[e]);
            return [e, ...c, ...t];
          }
          var At,
            Bt = f(() => {
              g(), (At = v(It())), q();
            }),
            Mt = {};
          function jt(...e) {
            let [, ...t] = Tt(e[0]);
            return Lt([...e, ...t]);
          }
          m(Mt, { default: () => jt });
          var _t = f(() => {
              g(), Et(), Bt();
            }),
            zt = {};
          m(zt, { default: () => Ft });
          var Ft,
            Dt = f(() => {
              g(),
                (Ft = {
                  resolve: (e) => e,
                  extname: (e) => "." + e.split(".").pop(),
                });
            });
          function Pt(e) {
            return "object" == typeof e && null !== e;
          }
          function Ht(e) {
            return "string" == typeof e || e instanceof String;
          }
          function Xt(e) {
            return Pt(e) &&
              void 0 === e.config &&
              !(function (e) {
                return 0 === Object.keys(e).length;
              })(e)
              ? null
              : Pt(e) && void 0 !== e.config && Ht(e.config)
              ? Ft.resolve(e.config)
              : Pt(e) && void 0 !== e.config && Pt(e.config)
              ? null
              : Ht(e)
              ? Ft.resolve(e)
              : (function () {
                  for (let e of Nt)
                    try {
                      let t = Ft.resolve(e);
                      return c.accessSync(t), t;
                    } catch (e) {}
                  return null;
                })();
          }
          var Nt,
            Qt = f(() => {
              g(),
                b(),
                Dt(),
                (Nt = [
                  "./tailwind.config.js",
                  "./tailwind.config.cjs",
                  "./tailwind.config.mjs",
                  "./tailwind.config.ts",
                ]);
            }),
            Wt = {};
          m(Wt, { default: () => Ut });
          var Ut,
            Kt,
            qt,
            Vt = f(() => {
              g(), (Ut = { parse: (e) => ({ href: e }) });
            }),
            Gt = h(() => {
              g();
            }),
            Yt = h((e, t) => {
              g();
              var n = (I(), S),
                c = Gt(),
                a = class extends Error {
                  constructor(e, t, n, c, r, o) {
                    super(e),
                      (this.name = "CssSyntaxError"),
                      (this.reason = e),
                      r && (this.file = r),
                      c && (this.source = c),
                      o && (this.plugin = o),
                      void 0 !== t &&
                        void 0 !== n &&
                        ("number" == typeof t
                          ? ((this.line = t), (this.column = n))
                          : ((this.line = t.line),
                            (this.column = t.column),
                            (this.endLine = n.line),
                            (this.endColumn = n.column))),
                      this.setMessage(),
                      Error.captureStackTrace &&
                        Error.captureStackTrace(this, a);
                  }
                  setMessage() {
                    (this.message = this.plugin ? this.plugin + ": " : ""),
                      (this.message += this.file ? this.file : "<css input>"),
                      void 0 !== this.line &&
                        (this.message += ":" + this.line + ":" + this.column),
                      (this.message += ": " + this.reason);
                  }
                  showSourceCode(e) {
                    if (!this.source) return "";
                    let t = this.source;
                    null == e && (e = n.isColorSupported), c && e && (t = c(t));
                    let a,
                      r,
                      o = t.split(/\r?\n/),
                      i = Math.max(this.line - 3, 0),
                      l = Math.min(this.line + 2, o.length),
                      s = String(l).length;
                    if (e) {
                      let { bold: e, red: t, gray: c } = n.createColors(!0);
                      (a = (n) => e(t(n))), (r = (e) => c(e));
                    } else a = r = (e) => e;
                    return o
                      .slice(i, l)
                      .map((e, t) => {
                        let n = i + 1 + t,
                          c = " " + (" " + n).slice(-s) + " | ";
                        if (n === this.line) {
                          let t =
                            r(c.replace(/\d/g, " ")) +
                            e.slice(0, this.column - 1).replace(/[^\t]/g, " ");
                          return a(">") + r(c) + e + "\n " + t + a("^");
                        }
                        return " " + r(c) + e;
                      })
                      .join("\n");
                  }
                  toString() {
                    let e = this.showSourceCode();
                    return (
                      e && (e = "\n\n" + e + "\n"),
                      this.name + ": " + this.message + e
                    );
                  }
                };
              (t.exports = a), (a.default = a);
            }),
            Zt = h((e, t) => {
              g(),
                (t.exports.isClean = Symbol("isClean")),
                (t.exports.my = Symbol("my"));
            }),
            Jt = h((e, t) => {
              g();
              var n = {
                colon: ": ",
                indent: "    ",
                beforeDecl: "\n",
                beforeRule: "\n",
                beforeOpen: " ",
                beforeClose: "\n",
                beforeComment: "\n",
                after: "\n",
                emptyBody: "",
                commentLeft: " ",
                commentRight: " ",
                semicolon: !1,
              };
              var c = class {
                constructor(e) {
                  this.builder = e;
                }
                stringify(e, t) {
                  if (!this[e.type])
                    throw new Error(
                      "Unknown AST node type " +
                        e.type +
                        ". Maybe you need to change PostCSS stringifier."
                    );
                  this[e.type](e, t);
                }
                document(e) {
                  this.body(e);
                }
                root(e) {
                  this.body(e), e.raws.after && this.builder(e.raws.after);
                }
                comment(e) {
                  let t = this.raw(e, "left", "commentLeft"),
                    n = this.raw(e, "right", "commentRight");
                  this.builder("/*" + t + e.text + n + "*/", e);
                }
                decl(e, t) {
                  let n = this.raw(e, "between", "colon"),
                    c = e.prop + n + this.rawValue(e, "value");
                  e.important && (c += e.raws.important || " !important"),
                    t && (c += ";"),
                    this.builder(c, e);
                }
                rule(e) {
                  this.block(e, this.rawValue(e, "selector")),
                    e.raws.ownSemicolon &&
                      this.builder(e.raws.ownSemicolon, e, "end");
                }
                atrule(e, t) {
                  let n = "@" + e.name,
                    c = e.params ? this.rawValue(e, "params") : "";
                  if (
                    (void 0 !== e.raws.afterName
                      ? (n += e.raws.afterName)
                      : c && (n += " "),
                    e.nodes)
                  )
                    this.block(e, n + c);
                  else {
                    let a = (e.raws.between || "") + (t ? ";" : "");
                    this.builder(n + c + a, e);
                  }
                }
                body(e) {
                  let t = e.nodes.length - 1;
                  for (; t > 0 && "comment" === e.nodes[t].type; ) t -= 1;
                  let n = this.raw(e, "semicolon");
                  for (let c = 0; c < e.nodes.length; c++) {
                    let a = e.nodes[c],
                      r = this.raw(a, "before");
                    r && this.builder(r), this.stringify(a, t !== c || n);
                  }
                }
                block(e, t) {
                  let n,
                    c = this.raw(e, "between", "beforeOpen");
                  this.builder(t + c + "{", e, "start"),
                    e.nodes && e.nodes.length
                      ? (this.body(e), (n = this.raw(e, "after")))
                      : (n = this.raw(e, "after", "emptyBody")),
                    n && this.builder(n),
                    this.builder("}", e, "end");
                }
                raw(e, t, c) {
                  let a;
                  if ((c || (c = t), t && ((a = e.raws[t]), void 0 !== a)))
                    return a;
                  let r = e.parent;
                  if (
                    "before" === c &&
                    (!r ||
                      ("root" === r.type && r.first === e) ||
                      (r && "document" === r.type))
                  )
                    return "";
                  if (!r) return n[c];
                  let o = e.root();
                  if (
                    (o.rawCache || (o.rawCache = {}), void 0 !== o.rawCache[c])
                  )
                    return o.rawCache[c];
                  if ("before" === c || "after" === c)
                    return this.beforeAfter(e, c);
                  {
                    let n = "raw" + ((i = c)[0].toUpperCase() + i.slice(1));
                    this[n]
                      ? (a = this[n](o, e))
                      : o.walk((e) => {
                          if (((a = e.raws[t]), void 0 !== a)) return !1;
                        });
                  }
                  var i;
                  return void 0 === a && (a = n[c]), (o.rawCache[c] = a), a;
                }
                rawSemicolon(e) {
                  let t;
                  return (
                    e.walk((e) => {
                      if (
                        e.nodes &&
                        e.nodes.length &&
                        "decl" === e.last.type &&
                        ((t = e.raws.semicolon), void 0 !== t)
                      )
                        return !1;
                    }),
                    t
                  );
                }
                rawEmptyBody(e) {
                  let t;
                  return (
                    e.walk((e) => {
                      if (
                        e.nodes &&
                        0 === e.nodes.length &&
                        ((t = e.raws.after), void 0 !== t)
                      )
                        return !1;
                    }),
                    t
                  );
                }
                rawIndent(e) {
                  if (e.raws.indent) return e.raws.indent;
                  let t;
                  return (
                    e.walk((n) => {
                      let c = n.parent;
                      if (
                        c &&
                        c !== e &&
                        c.parent &&
                        c.parent === e &&
                        void 0 !== n.raws.before
                      ) {
                        let e = n.raws.before.split("\n");
                        return (
                          (t = e[e.length - 1]), (t = t.replace(/\S/g, "")), !1
                        );
                      }
                    }),
                    t
                  );
                }
                rawBeforeComment(e, t) {
                  let n;
                  return (
                    e.walkComments((e) => {
                      if (void 0 !== e.raws.before)
                        return (
                          (n = e.raws.before),
                          n.includes("\n") && (n = n.replace(/[^\n]+$/, "")),
                          !1
                        );
                    }),
                    void 0 === n
                      ? (n = this.raw(t, null, "beforeDecl"))
                      : n && (n = n.replace(/\S/g, "")),
                    n
                  );
                }
                rawBeforeDecl(e, t) {
                  let n;
                  return (
                    e.walkDecls((e) => {
                      if (void 0 !== e.raws.before)
                        return (
                          (n = e.raws.before),
                          n.includes("\n") && (n = n.replace(/[^\n]+$/, "")),
                          !1
                        );
                    }),
                    void 0 === n
                      ? (n = this.raw(t, null, "beforeRule"))
                      : n && (n = n.replace(/\S/g, "")),
                    n
                  );
                }
                rawBeforeRule(e) {
                  let t;
                  return (
                    e.walk((n) => {
                      if (
                        n.nodes &&
                        (n.parent !== e || e.first !== n) &&
                        void 0 !== n.raws.before
                      )
                        return (
                          (t = n.raws.before),
                          t.includes("\n") && (t = t.replace(/[^\n]+$/, "")),
                          !1
                        );
                    }),
                    t && (t = t.replace(/\S/g, "")),
                    t
                  );
                }
                rawBeforeClose(e) {
                  let t;
                  return (
                    e.walk((e) => {
                      if (
                        e.nodes &&
                        e.nodes.length > 0 &&
                        void 0 !== e.raws.after
                      )
                        return (
                          (t = e.raws.after),
                          t.includes("\n") && (t = t.replace(/[^\n]+$/, "")),
                          !1
                        );
                    }),
                    t && (t = t.replace(/\S/g, "")),
                    t
                  );
                }
                rawBeforeOpen(e) {
                  let t;
                  return (
                    e.walk((e) => {
                      if (
                        "decl" !== e.type &&
                        ((t = e.raws.between), void 0 !== t)
                      )
                        return !1;
                    }),
                    t
                  );
                }
                rawColon(e) {
                  let t;
                  return (
                    e.walkDecls((e) => {
                      if (void 0 !== e.raws.between)
                        return (t = e.raws.between.replace(/[^\s:]/g, "")), !1;
                    }),
                    t
                  );
                }
                beforeAfter(e, t) {
                  let n;
                  n =
                    "decl" === e.type
                      ? this.raw(e, null, "beforeDecl")
                      : "comment" === e.type
                      ? this.raw(e, null, "beforeComment")
                      : "before" === t
                      ? this.raw(e, null, "beforeRule")
                      : this.raw(e, null, "beforeClose");
                  let c = e.parent,
                    a = 0;
                  for (; c && "root" !== c.type; ) (a += 1), (c = c.parent);
                  if (n.includes("\n")) {
                    let t = this.raw(e, null, "indent");
                    if (t.length) for (let e = 0; e < a; e++) n += t;
                  }
                  return n;
                }
                rawValue(e, t) {
                  let n = e[t],
                    c = e.raws[t];
                  return c && c.value === n ? c.raw : n;
                }
              };
              (t.exports = c), (c.default = c);
            }),
            en = h((e, t) => {
              g();
              var n = Jt();
              function c(e, t) {
                new n(t).stringify(e);
              }
              (t.exports = c), (c.default = c);
            }),
            tn = h((e, t) => {
              g();
              var { isClean: n, my: c } = Zt(),
                a = Yt(),
                r = Jt(),
                o = en();
              function i(e, t) {
                let n = new e.constructor();
                for (let c in e) {
                  if (
                    !Object.prototype.hasOwnProperty.call(e, c) ||
                    "proxyCache" === c
                  )
                    continue;
                  let a = e[c],
                    r = typeof a;
                  "parent" === c && "object" === r
                    ? t && (n[c] = t)
                    : "source" === c
                    ? (n[c] = a)
                    : Array.isArray(a)
                    ? (n[c] = a.map((e) => i(e, n)))
                    : ("object" === r && null !== a && (a = i(a)), (n[c] = a));
                }
                return n;
              }
              var l = class {
                constructor(e = {}) {
                  (this.raws = {}), (this[n] = !1), (this[c] = !0);
                  for (let t in e)
                    if ("nodes" === t) {
                      this.nodes = [];
                      for (let n of e[t])
                        "function" == typeof n.clone
                          ? this.append(n.clone())
                          : this.append(n);
                    } else this[t] = e[t];
                }
                error(e, t = {}) {
                  if (this.source) {
                    let { start: n, end: c } = this.rangeBy(t);
                    return this.source.input.error(
                      e,
                      { line: n.line, column: n.column },
                      { line: c.line, column: c.column },
                      t
                    );
                  }
                  return new a(e);
                }
                warn(e, t, n) {
                  let c = { node: this };
                  for (let e in n) c[e] = n[e];
                  return e.warn(t, c);
                }
                remove() {
                  return (
                    this.parent && this.parent.removeChild(this),
                    (this.parent = void 0),
                    this
                  );
                }
                toString(e = o) {
                  e.stringify && (e = e.stringify);
                  let t = "";
                  return (
                    e(this, (e) => {
                      t += e;
                    }),
                    t
                  );
                }
                assign(e = {}) {
                  for (let t in e) this[t] = e[t];
                  return this;
                }
                clone(e = {}) {
                  let t = i(this);
                  for (let n in e) t[n] = e[n];
                  return t;
                }
                cloneBefore(e = {}) {
                  let t = this.clone(e);
                  return this.parent.insertBefore(this, t), t;
                }
                cloneAfter(e = {}) {
                  let t = this.clone(e);
                  return this.parent.insertAfter(this, t), t;
                }
                replaceWith(...e) {
                  if (this.parent) {
                    let t = this,
                      n = !1;
                    for (let c of e)
                      c === this
                        ? (n = !0)
                        : n
                        ? (this.parent.insertAfter(t, c), (t = c))
                        : this.parent.insertBefore(t, c);
                    n || this.remove();
                  }
                  return this;
                }
                next() {
                  if (!this.parent) return;
                  let e = this.parent.index(this);
                  return this.parent.nodes[e + 1];
                }
                prev() {
                  if (!this.parent) return;
                  let e = this.parent.index(this);
                  return this.parent.nodes[e - 1];
                }
                before(e) {
                  return this.parent.insertBefore(this, e), this;
                }
                after(e) {
                  return this.parent.insertAfter(this, e), this;
                }
                root() {
                  let e = this;
                  for (; e.parent && "document" !== e.parent.type; )
                    e = e.parent;
                  return e;
                }
                raw(e, t) {
                  return new r().raw(this, e, t);
                }
                cleanRaws(e) {
                  delete this.raws.before,
                    delete this.raws.after,
                    e || delete this.raws.between;
                }
                toJSON(e, t) {
                  let n = {},
                    c = null == t;
                  t = t || new Map();
                  let a = 0;
                  for (let e in this) {
                    if (
                      !Object.prototype.hasOwnProperty.call(this, e) ||
                      "parent" === e ||
                      "proxyCache" === e
                    )
                      continue;
                    let c = this[e];
                    if (Array.isArray(c))
                      n[e] = c.map((e) =>
                        "object" == typeof e && e.toJSON ? e.toJSON(null, t) : e
                      );
                    else if ("object" == typeof c && c.toJSON)
                      n[e] = c.toJSON(null, t);
                    else if ("source" === e) {
                      let r = t.get(c.input);
                      null == r && ((r = a), t.set(c.input, a), a++),
                        (n[e] = { inputId: r, start: c.start, end: c.end });
                    } else n[e] = c;
                  }
                  return (
                    c && (n.inputs = [...t.keys()].map((e) => e.toJSON())), n
                  );
                }
                positionInside(e) {
                  let t = this.toString(),
                    n = this.source.start.column,
                    c = this.source.start.line;
                  for (let a = 0; a < e; a++)
                    "\n" === t[a] ? ((n = 1), (c += 1)) : (n += 1);
                  return { line: c, column: n };
                }
                positionBy(e) {
                  let t = this.source.start;
                  if (e.index) t = this.positionInside(e.index);
                  else if (e.word) {
                    let n = this.toString().indexOf(e.word);
                    -1 !== n && (t = this.positionInside(n));
                  }
                  return t;
                }
                rangeBy(e) {
                  let t = {
                      line: this.source.start.line,
                      column: this.source.start.column,
                    },
                    n = this.source.end
                      ? {
                          line: this.source.end.line,
                          column: this.source.end.column + 1,
                        }
                      : { line: t.line, column: t.column + 1 };
                  if (e.word) {
                    let c = this.toString().indexOf(e.word);
                    -1 !== c &&
                      ((t = this.positionInside(c)),
                      (n = this.positionInside(c + e.word.length)));
                  } else
                    e.start
                      ? (t = { line: e.start.line, column: e.start.column })
                      : e.index && (t = this.positionInside(e.index)),
                      e.end
                        ? (n = { line: e.end.line, column: e.end.column })
                        : e.endIndex
                        ? (n = this.positionInside(e.endIndex))
                        : e.index && (n = this.positionInside(e.index + 1));
                  return (
                    (n.line < t.line ||
                      (n.line === t.line && n.column <= t.column)) &&
                      (n = { line: t.line, column: t.column + 1 }),
                    { start: t, end: n }
                  );
                }
                getProxyProcessor() {
                  return {
                    set(e, t, n) {
                      return (
                        e[t] === n ||
                          ((e[t] = n),
                          ("prop" === t ||
                            "value" === t ||
                            "name" === t ||
                            "params" === t ||
                            "important" === t ||
                            "text" === t) &&
                            e.markDirty()),
                        !0
                      );
                    },
                    get(e, t) {
                      return "proxyOf" === t
                        ? e
                        : "root" === t
                        ? () => e.root().toProxy()
                        : e[t];
                    },
                  };
                }
                toProxy() {
                  return (
                    this.proxyCache ||
                      (this.proxyCache = new Proxy(
                        this,
                        this.getProxyProcessor()
                      )),
                    this.proxyCache
                  );
                }
                addToError(e) {
                  if (
                    ((e.postcssNode = this),
                    e.stack && this.source && /\n\s{4}at /.test(e.stack))
                  ) {
                    let t = this.source;
                    e.stack = e.stack.replace(
                      /\n\s{4}at /,
                      `$&${t.input.from}:${t.start.line}:${t.start.column}$&`
                    );
                  }
                  return e;
                }
                markDirty() {
                  if (this[n]) {
                    this[n] = !1;
                    let e = this;
                    for (; (e = e.parent); ) e[n] = !1;
                  }
                }
                get proxyOf() {
                  return this;
                }
              };
              (t.exports = l), (l.default = l);
            }),
            nn = h((e, t) => {
              g();
              var n = tn(),
                c = class extends n {
                  constructor(e) {
                    e &&
                      void 0 !== e.value &&
                      "string" != typeof e.value &&
                      (e = { ...e, value: String(e.value) }),
                      super(e),
                      (this.type = "decl");
                  }
                  get variable() {
                    return this.prop.startsWith("--") || "$" === this.prop[0];
                  }
                };
              (t.exports = c), (c.default = c);
            }),
            cn = h((e, t) => {
              g(),
                (t.exports = function (e, t) {
                  return {
                    generate: () => {
                      let n = "";
                      return (
                        e(t, (e) => {
                          n += e;
                        }),
                        [n]
                      );
                    },
                  };
                });
            }),
            an = h((e, t) => {
              g();
              var n = tn(),
                c = class extends n {
                  constructor(e) {
                    super(e), (this.type = "comment");
                  }
                };
              (t.exports = c), (c.default = c);
            }),
            rn = h((e, t) => {
              g();
              var n,
                c,
                a,
                r,
                { isClean: o, my: i } = Zt(),
                l = nn(),
                s = an(),
                p = tn();
              function u(e) {
                return e.map(
                  (e) => (e.nodes && (e.nodes = u(e.nodes)), delete e.source, e)
                );
              }
              function d(e) {
                if (((e[o] = !1), e.proxyOf.nodes))
                  for (let t of e.proxyOf.nodes) d(t);
              }
              var f = class extends p {
                push(e) {
                  return (e.parent = this), this.proxyOf.nodes.push(e), this;
                }
                each(e) {
                  if (!this.proxyOf.nodes) return;
                  let t,
                    n,
                    c = this.getIterator();
                  for (
                    ;
                    this.indexes[c] < this.proxyOf.nodes.length &&
                    ((t = this.indexes[c]),
                    (n = e(this.proxyOf.nodes[t], t)),
                    !1 !== n);

                  )
                    this.indexes[c] += 1;
                  return delete this.indexes[c], n;
                }
                walk(e) {
                  return this.each((t, n) => {
                    let c;
                    try {
                      c = e(t, n);
                    } catch (e) {
                      throw t.addToError(e);
                    }
                    return !1 !== c && t.walk && (c = t.walk(e)), c;
                  });
                }
                walkDecls(e, t) {
                  return t
                    ? e instanceof RegExp
                      ? this.walk((n, c) => {
                          if ("decl" === n.type && e.test(n.prop))
                            return t(n, c);
                        })
                      : this.walk((n, c) => {
                          if ("decl" === n.type && n.prop === e) return t(n, c);
                        })
                    : ((t = e),
                      this.walk((e, n) => {
                        if ("decl" === e.type) return t(e, n);
                      }));
                }
                walkRules(e, t) {
                  return t
                    ? e instanceof RegExp
                      ? this.walk((n, c) => {
                          if ("rule" === n.type && e.test(n.selector))
                            return t(n, c);
                        })
                      : this.walk((n, c) => {
                          if ("rule" === n.type && n.selector === e)
                            return t(n, c);
                        })
                    : ((t = e),
                      this.walk((e, n) => {
                        if ("rule" === e.type) return t(e, n);
                      }));
                }
                walkAtRules(e, t) {
                  return t
                    ? e instanceof RegExp
                      ? this.walk((n, c) => {
                          if ("atrule" === n.type && e.test(n.name))
                            return t(n, c);
                        })
                      : this.walk((n, c) => {
                          if ("atrule" === n.type && n.name === e)
                            return t(n, c);
                        })
                    : ((t = e),
                      this.walk((e, n) => {
                        if ("atrule" === e.type) return t(e, n);
                      }));
                }
                walkComments(e) {
                  return this.walk((t, n) => {
                    if ("comment" === t.type) return e(t, n);
                  });
                }
                append(...e) {
                  for (let t of e) {
                    let e = this.normalize(t, this.last);
                    for (let t of e) this.proxyOf.nodes.push(t);
                  }
                  return this.markDirty(), this;
                }
                prepend(...e) {
                  e = e.reverse();
                  for (let t of e) {
                    let e = this.normalize(t, this.first, "prepend").reverse();
                    for (let t of e) this.proxyOf.nodes.unshift(t);
                    for (let t in this.indexes)
                      this.indexes[t] = this.indexes[t] + e.length;
                  }
                  return this.markDirty(), this;
                }
                cleanRaws(e) {
                  if ((super.cleanRaws(e), this.nodes))
                    for (let t of this.nodes) t.cleanRaws(e);
                }
                insertBefore(e, t) {
                  let n,
                    c = this.index(e),
                    a = 0 === c && "prepend",
                    r = this.normalize(t, this.proxyOf.nodes[c], a).reverse();
                  c = this.index(e);
                  for (let e of r) this.proxyOf.nodes.splice(c, 0, e);
                  for (let e in this.indexes)
                    (n = this.indexes[e]),
                      c <= n && (this.indexes[e] = n + r.length);
                  return this.markDirty(), this;
                }
                insertAfter(e, t) {
                  let n,
                    c = this.index(e),
                    a = this.normalize(t, this.proxyOf.nodes[c]).reverse();
                  c = this.index(e);
                  for (let e of a) this.proxyOf.nodes.splice(c + 1, 0, e);
                  for (let e in this.indexes)
                    (n = this.indexes[e]),
                      c < n && (this.indexes[e] = n + a.length);
                  return this.markDirty(), this;
                }
                removeChild(e) {
                  let t;
                  (e = this.index(e)),
                    (this.proxyOf.nodes[e].parent = void 0),
                    this.proxyOf.nodes.splice(e, 1);
                  for (let n in this.indexes)
                    (t = this.indexes[n]), t >= e && (this.indexes[n] = t - 1);
                  return this.markDirty(), this;
                }
                removeAll() {
                  for (let e of this.proxyOf.nodes) e.parent = void 0;
                  return (this.proxyOf.nodes = []), this.markDirty(), this;
                }
                replaceValues(e, t, n) {
                  return (
                    n || ((n = t), (t = {})),
                    this.walkDecls((c) => {
                      (t.props && !t.props.includes(c.prop)) ||
                        (t.fast && !c.value.includes(t.fast)) ||
                        (c.value = c.value.replace(e, n));
                    }),
                    this.markDirty(),
                    this
                  );
                }
                every(e) {
                  return this.nodes.every(e);
                }
                some(e) {
                  return this.nodes.some(e);
                }
                index(e) {
                  return "number" == typeof e
                    ? e
                    : (e.proxyOf && (e = e.proxyOf),
                      this.proxyOf.nodes.indexOf(e));
                }
                get first() {
                  if (this.proxyOf.nodes) return this.proxyOf.nodes[0];
                }
                get last() {
                  if (this.proxyOf.nodes)
                    return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
                }
                normalize(e, t) {
                  if ("string" == typeof e) e = u(n(e).nodes);
                  else if (Array.isArray(e)) {
                    e = e.slice(0);
                    for (let t of e)
                      t.parent && t.parent.removeChild(t, "ignore");
                  } else if ("root" === e.type && "document" !== this.type) {
                    e = e.nodes.slice(0);
                    for (let t of e)
                      t.parent && t.parent.removeChild(t, "ignore");
                  } else if (e.type) e = [e];
                  else if (e.prop) {
                    if (void 0 === e.value)
                      throw new Error("Value field is missed in node creation");
                    "string" != typeof e.value && (e.value = String(e.value)),
                      (e = [new l(e)]);
                  } else if (e.selector) e = [new c(e)];
                  else if (e.name) e = [new a(e)];
                  else {
                    if (!e.text)
                      throw new Error("Unknown node type in node creation");
                    e = [new s(e)];
                  }
                  return e.map(
                    (e) => (
                      e[i] || f.rebuild(e),
                      (e = e.proxyOf).parent && e.parent.removeChild(e),
                      e[o] && d(e),
                      void 0 === e.raws.before &&
                        t &&
                        void 0 !== t.raws.before &&
                        (e.raws.before = t.raws.before.replace(/\S/g, "")),
                      (e.parent = this.proxyOf),
                      e
                    )
                  );
                }
                getProxyProcessor() {
                  return {
                    set(e, t, n) {
                      return (
                        e[t] === n ||
                          ((e[t] = n),
                          ("name" === t ||
                            "params" === t ||
                            "selector" === t) &&
                            e.markDirty()),
                        !0
                      );
                    },
                    get(e, t) {
                      return "proxyOf" === t
                        ? e
                        : e[t]
                        ? "each" === t ||
                          ("string" == typeof t && t.startsWith("walk"))
                          ? (...n) =>
                              e[t](
                                ...n.map((e) =>
                                  "function" == typeof e
                                    ? (t, n) => e(t.toProxy(), n)
                                    : e
                                )
                              )
                          : "every" === t || "some" === t
                          ? (n) => e[t]((e, ...t) => n(e.toProxy(), ...t))
                          : "root" === t
                          ? () => e.root().toProxy()
                          : "nodes" === t
                          ? e.nodes.map((e) => e.toProxy())
                          : "first" === t || "last" === t
                          ? e[t].toProxy()
                          : e[t]
                        : e[t];
                    },
                  };
                }
                getIterator() {
                  this.lastEach || (this.lastEach = 0),
                    this.indexes || (this.indexes = {}),
                    (this.lastEach += 1);
                  let e = this.lastEach;
                  return (this.indexes[e] = 0), e;
                }
              };
              (f.registerParse = (e) => {
                n = e;
              }),
                (f.registerRule = (e) => {
                  c = e;
                }),
                (f.registerAtRule = (e) => {
                  a = e;
                }),
                (f.registerRoot = (e) => {
                  r = e;
                }),
                (t.exports = f),
                (f.default = f),
                (f.rebuild = (e) => {
                  "atrule" === e.type
                    ? Object.setPrototypeOf(e, a.prototype)
                    : "rule" === e.type
                    ? Object.setPrototypeOf(e, c.prototype)
                    : "decl" === e.type
                    ? Object.setPrototypeOf(e, l.prototype)
                    : "comment" === e.type
                    ? Object.setPrototypeOf(e, s.prototype)
                    : "root" === e.type &&
                      Object.setPrototypeOf(e, r.prototype),
                    (e[i] = !0),
                    e.nodes &&
                      e.nodes.forEach((e) => {
                        f.rebuild(e);
                      });
                });
            }),
            on = h((e, t) => {
              g();
              var n,
                c,
                a = rn(),
                r = class extends a {
                  constructor(e) {
                    super({ type: "document", ...e }),
                      this.nodes || (this.nodes = []);
                  }
                  toResult(e = {}) {
                    return new n(new c(), this, e).stringify();
                  }
                };
              (r.registerLazyResult = (e) => {
                n = e;
              }),
                (r.registerProcessor = (e) => {
                  c = e;
                }),
                (t.exports = r),
                (r.default = r);
            }),
            ln = h((e, t) => {
              g();
              var n = {};
              t.exports = function (e) {
                n[e] ||
                  ((n[e] = !0),
                  "undefined" != typeof console &&
                    console.warn &&
                    console.warn(e));
              };
            }),
            sn = h((e, t) => {
              g();
              var n = class {
                constructor(e, t = {}) {
                  if (
                    ((this.type = "warning"),
                    (this.text = e),
                    t.node && t.node.source)
                  ) {
                    let e = t.node.rangeBy(t);
                    (this.line = e.start.line),
                      (this.column = e.start.column),
                      (this.endLine = e.end.line),
                      (this.endColumn = e.end.column);
                  }
                  for (let e in t) this[e] = t[e];
                }
                toString() {
                  return this.node
                    ? this.node.error(this.text, {
                        plugin: this.plugin,
                        index: this.index,
                        word: this.word,
                      }).message
                    : this.plugin
                    ? this.plugin + ": " + this.text
                    : this.text;
                }
              };
              (t.exports = n), (n.default = n);
            }),
            pn = h((e, t) => {
              g();
              var n = sn(),
                c = class {
                  constructor(e, t, n) {
                    (this.processor = e),
                      (this.messages = []),
                      (this.root = t),
                      (this.opts = n),
                      (this.css = void 0),
                      (this.map = void 0);
                  }
                  toString() {
                    return this.css;
                  }
                  warn(e, t = {}) {
                    t.plugin ||
                      (this.lastPlugin &&
                        this.lastPlugin.postcssPlugin &&
                        (t.plugin = this.lastPlugin.postcssPlugin));
                    let c = new n(e, t);
                    return this.messages.push(c), c;
                  }
                  warnings() {
                    return this.messages.filter((e) => "warning" === e.type);
                  }
                  get content() {
                    return this.css;
                  }
                };
              (t.exports = c), (c.default = c);
            }),
            un = h((e, t) => {
              g();
              var n = "'".charCodeAt(0),
                c = '"'.charCodeAt(0),
                a = "\\".charCodeAt(0),
                r = "/".charCodeAt(0),
                o = "\n".charCodeAt(0),
                i = " ".charCodeAt(0),
                l = "\f".charCodeAt(0),
                s = "\t".charCodeAt(0),
                p = "\r".charCodeAt(0),
                u = "[".charCodeAt(0),
                d = "]".charCodeAt(0),
                f = "(".charCodeAt(0),
                h = ")".charCodeAt(0),
                m = "{".charCodeAt(0),
                v = "}".charCodeAt(0),
                b = ";".charCodeAt(0),
                x = "*".charCodeAt(0),
                w = ":".charCodeAt(0),
                y = "@".charCodeAt(0),
                k = /[\t\n\f\r "#'()/;[\\\]{}]/g,
                C = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,
                R = /.[\n"'(/\\]/,
                O = /[\da-f]/i;
              t.exports = function (e, t = {}) {
                let g,
                  $,
                  L,
                  S,
                  E,
                  I,
                  T,
                  A,
                  B,
                  M,
                  j = e.css.valueOf(),
                  _ = t.ignoreErrors,
                  z = j.length,
                  F = 0,
                  D = [],
                  P = [];
                function H(t) {
                  throw e.error("Unclosed " + t, F);
                }
                return {
                  back: function (e) {
                    P.push(e);
                  },
                  nextToken: function (e) {
                    if (P.length) return P.pop();
                    if (F >= z) return;
                    let t = !!e && e.ignoreUnclosed;
                    switch (((g = j.charCodeAt(F)), g)) {
                      case o:
                      case i:
                      case s:
                      case p:
                      case l:
                        $ = F;
                        do {
                          ($ += 1), (g = j.charCodeAt($));
                        } while (
                          g === i ||
                          g === o ||
                          g === s ||
                          g === p ||
                          g === l
                        );
                        (M = ["space", j.slice(F, $)]), (F = $ - 1);
                        break;
                      case u:
                      case d:
                      case m:
                      case v:
                      case w:
                      case b:
                      case h: {
                        let e = String.fromCharCode(g);
                        M = [e, e, F];
                        break;
                      }
                      case f:
                        if (
                          ((A = D.length ? D.pop()[1] : ""),
                          (B = j.charCodeAt(F + 1)),
                          "url" === A &&
                            B !== n &&
                            B !== c &&
                            B !== i &&
                            B !== o &&
                            B !== s &&
                            B !== l &&
                            B !== p)
                        ) {
                          $ = F;
                          do {
                            if (
                              ((I = !1), ($ = j.indexOf(")", $ + 1)), -1 === $)
                            ) {
                              if (_ || t) {
                                $ = F;
                                break;
                              }
                              H("bracket");
                            }
                            for (T = $; j.charCodeAt(T - 1) === a; )
                              (T -= 1), (I = !I);
                          } while (I);
                          (M = ["brackets", j.slice(F, $ + 1), F, $]), (F = $);
                        } else
                          ($ = j.indexOf(")", F + 1)),
                            (S = j.slice(F, $ + 1)),
                            -1 === $ || R.test(S)
                              ? (M = ["(", "(", F])
                              : ((M = ["brackets", S, F, $]), (F = $));
                        break;
                      case n:
                      case c:
                        (L = g === n ? "'" : '"'), ($ = F);
                        do {
                          if (((I = !1), ($ = j.indexOf(L, $ + 1)), -1 === $)) {
                            if (_ || t) {
                              $ = F + 1;
                              break;
                            }
                            H("string");
                          }
                          for (T = $; j.charCodeAt(T - 1) === a; )
                            (T -= 1), (I = !I);
                        } while (I);
                        (M = ["string", j.slice(F, $ + 1), F, $]), (F = $);
                        break;
                      case y:
                        (k.lastIndex = F + 1),
                          k.test(j),
                          ($ =
                            0 === k.lastIndex ? j.length - 1 : k.lastIndex - 2),
                          (M = ["at-word", j.slice(F, $ + 1), F, $]),
                          (F = $);
                        break;
                      case a:
                        for ($ = F, E = !0; j.charCodeAt($ + 1) === a; )
                          ($ += 1), (E = !E);
                        if (
                          ((g = j.charCodeAt($ + 1)),
                          E &&
                            g !== r &&
                            g !== i &&
                            g !== o &&
                            g !== s &&
                            g !== p &&
                            g !== l &&
                            (($ += 1), O.test(j.charAt($))))
                        ) {
                          for (; O.test(j.charAt($ + 1)); ) $ += 1;
                          j.charCodeAt($ + 1) === i && ($ += 1);
                        }
                        (M = ["word", j.slice(F, $ + 1), F, $]), (F = $);
                        break;
                      default:
                        g === r && j.charCodeAt(F + 1) === x
                          ? (($ = j.indexOf("*/", F + 2) + 1),
                            0 === $ && (_ || t ? ($ = j.length) : H("comment")),
                            (M = ["comment", j.slice(F, $ + 1), F, $]),
                            (F = $))
                          : ((C.lastIndex = F + 1),
                            C.test(j),
                            ($ =
                              0 === C.lastIndex
                                ? j.length - 1
                                : C.lastIndex - 2),
                            (M = ["word", j.slice(F, $ + 1), F, $]),
                            D.push(M),
                            (F = $));
                    }
                    return F++, M;
                  },
                  endOfFile: function () {
                    return 0 === P.length && F >= z;
                  },
                  position: function () {
                    return F;
                  },
                };
              };
            }),
            dn = h((e, t) => {
              g();
              var n = rn(),
                c = class extends n {
                  constructor(e) {
                    super(e), (this.type = "atrule");
                  }
                  append(...e) {
                    return (
                      this.proxyOf.nodes || (this.nodes = []),
                      super.append(...e)
                    );
                  }
                  prepend(...e) {
                    return (
                      this.proxyOf.nodes || (this.nodes = []),
                      super.prepend(...e)
                    );
                  }
                };
              (t.exports = c), (c.default = c), n.registerAtRule(c);
            }),
            fn = h((e, t) => {
              g();
              var n,
                c,
                a = rn(),
                r = class extends a {
                  constructor(e) {
                    super(e),
                      (this.type = "root"),
                      this.nodes || (this.nodes = []);
                  }
                  removeChild(e, t) {
                    let n = this.index(e);
                    return (
                      !t &&
                        0 === n &&
                        this.nodes.length > 1 &&
                        (this.nodes[1].raws.before = this.nodes[n].raws.before),
                      super.removeChild(e)
                    );
                  }
                  normalize(e, t, n) {
                    let c = super.normalize(e);
                    if (t)
                      if ("prepend" === n)
                        this.nodes.length > 1
                          ? (t.raws.before = this.nodes[1].raws.before)
                          : delete t.raws.before;
                      else if (this.first !== t)
                        for (let e of c) e.raws.before = t.raws.before;
                    return c;
                  }
                  toResult(e = {}) {
                    return new n(new c(), this, e).stringify();
                  }
                };
              (r.registerLazyResult = (e) => {
                n = e;
              }),
                (r.registerProcessor = (e) => {
                  c = e;
                }),
                (t.exports = r),
                (r.default = r),
                a.registerRoot(r);
            }),
            hn = h((e, t) => {
              g();
              var n = {
                split(e, t, n) {
                  let c = [],
                    a = "",
                    r = !1,
                    o = 0,
                    i = !1,
                    l = "",
                    s = !1;
                  for (let n of e)
                    s
                      ? (s = !1)
                      : "\\" === n
                      ? (s = !0)
                      : i
                      ? n === l && (i = !1)
                      : '"' === n || "'" === n
                      ? ((i = !0), (l = n))
                      : "(" === n
                      ? (o += 1)
                      : ")" === n
                      ? o > 0 && (o -= 1)
                      : 0 === o && t.includes(n) && (r = !0),
                      r
                        ? ("" !== a && c.push(a.trim()), (a = ""), (r = !1))
                        : (a += n);
                  return (n || "" !== a) && c.push(a.trim()), c;
                },
                space(e) {
                  let t = [" ", "\n", "\t"];
                  return n.split(e, t);
                },
                comma(e) {
                  return n.split(e, [","], !0);
                },
              };
              (t.exports = n), (n.default = n);
            }),
            mn = h((e, t) => {
              g();
              var n = rn(),
                c = hn(),
                a = class extends n {
                  constructor(e) {
                    super(e),
                      (this.type = "rule"),
                      this.nodes || (this.nodes = []);
                  }
                  get selectors() {
                    return c.comma(this.selector);
                  }
                  set selectors(e) {
                    let t = this.selector ? this.selector.match(/,\s*/) : null,
                      n = t ? t[0] : "," + this.raw("between", "beforeOpen");
                    this.selector = e.join(n);
                  }
                };
              (t.exports = a), (a.default = a), n.registerRule(a);
            }),
            vn = h((e, t) => {
              g();
              var n = nn(),
                c = un(),
                a = an(),
                r = dn(),
                o = fn(),
                i = mn(),
                l = { empty: !0, space: !0 };
              t.exports = class {
                constructor(e) {
                  (this.input = e),
                    (this.root = new o()),
                    (this.current = this.root),
                    (this.spaces = ""),
                    (this.semicolon = !1),
                    (this.customProperty = !1),
                    this.createTokenizer(),
                    (this.root.source = {
                      input: e,
                      start: { offset: 0, line: 1, column: 1 },
                    });
                }
                createTokenizer() {
                  this.tokenizer = c(this.input);
                }
                parse() {
                  let e;
                  for (; !this.tokenizer.endOfFile(); )
                    switch (((e = this.tokenizer.nextToken()), e[0])) {
                      case "space":
                        this.spaces += e[1];
                        break;
                      case ";":
                        this.freeSemicolon(e);
                        break;
                      case "}":
                        this.end(e);
                        break;
                      case "comment":
                        this.comment(e);
                        break;
                      case "at-word":
                        this.atrule(e);
                        break;
                      case "{":
                        this.emptyRule(e);
                        break;
                      default:
                        this.other(e);
                    }
                  this.endFile();
                }
                comment(e) {
                  let t = new a();
                  this.init(t, e[2]),
                    (t.source.end = this.getPosition(e[3] || e[2]));
                  let n = e[1].slice(2, -2);
                  if (/^\s*$/.test(n))
                    (t.text = ""), (t.raws.left = n), (t.raws.right = "");
                  else {
                    let e = n.match(/^(\s*)([^]*\S)(\s*)$/);
                    (t.text = e[2]),
                      (t.raws.left = e[1]),
                      (t.raws.right = e[3]);
                  }
                }
                emptyRule(e) {
                  let t = new i();
                  this.init(t, e[2]),
                    (t.selector = ""),
                    (t.raws.between = ""),
                    (this.current = t);
                }
                other(e) {
                  let t = !1,
                    n = null,
                    c = !1,
                    a = null,
                    r = [],
                    o = e[1].startsWith("--"),
                    i = [],
                    l = e;
                  for (; l; ) {
                    if (((n = l[0]), i.push(l), "(" === n || "[" === n))
                      a || (a = l), r.push("(" === n ? ")" : "]");
                    else if (o && c && "{" === n) a || (a = l), r.push("}");
                    else if (0 === r.length) {
                      if (";" === n) {
                        if (c) return void this.decl(i, o);
                        break;
                      }
                      if ("{" === n) return void this.rule(i);
                      if ("}" === n) {
                        this.tokenizer.back(i.pop()), (t = !0);
                        break;
                      }
                      ":" === n && (c = !0);
                    } else
                      n === r[r.length - 1] &&
                        (r.pop(), 0 === r.length && (a = null));
                    l = this.tokenizer.nextToken();
                  }
                  if (
                    (this.tokenizer.endOfFile() && (t = !0),
                    r.length > 0 && this.unclosedBracket(a),
                    t && c)
                  ) {
                    if (!o)
                      for (
                        ;
                        i.length &&
                        ((l = i[i.length - 1][0]),
                        "space" === l || "comment" === l);

                      )
                        this.tokenizer.back(i.pop());
                    this.decl(i, o);
                  } else this.unknownWord(i);
                }
                rule(e) {
                  e.pop();
                  let t = new i();
                  this.init(t, e[0][2]),
                    (t.raws.between = this.spacesAndCommentsFromEnd(e)),
                    this.raw(t, "selector", e),
                    (this.current = t);
                }
                decl(e, t) {
                  let c = new n();
                  this.init(c, e[0][2]);
                  let a,
                    r = e[e.length - 1];
                  for (
                    ";" === r[0] && ((this.semicolon = !0), e.pop()),
                      c.source.end = this.getPosition(
                        r[3] ||
                          r[2] ||
                          (function (e) {
                            for (let t = e.length - 1; t >= 0; t--) {
                              let n = e[t],
                                c = n[3] || n[2];
                              if (c) return c;
                            }
                          })(e)
                      );
                    "word" !== e[0][0];

                  )
                    1 === e.length && this.unknownWord(e),
                      (c.raws.before += e.shift()[1]);
                  for (
                    c.source.start = this.getPosition(e[0][2]), c.prop = "";
                    e.length;

                  ) {
                    let t = e[0][0];
                    if (":" === t || "space" === t || "comment" === t) break;
                    c.prop += e.shift()[1];
                  }
                  for (c.raws.between = ""; e.length; ) {
                    if (((a = e.shift()), ":" === a[0])) {
                      c.raws.between += a[1];
                      break;
                    }
                    "word" === a[0] && /\w/.test(a[1]) && this.unknownWord([a]),
                      (c.raws.between += a[1]);
                  }
                  ("_" === c.prop[0] || "*" === c.prop[0]) &&
                    ((c.raws.before += c.prop[0]), (c.prop = c.prop.slice(1)));
                  let o,
                    i = [];
                  for (
                    ;
                    e.length &&
                    ((o = e[0][0]), "space" === o || "comment" === o);

                  )
                    i.push(e.shift());
                  this.precheckMissedSemicolon(e);
                  for (let t = e.length - 1; t >= 0; t--) {
                    if (((a = e[t]), "!important" === a[1].toLowerCase())) {
                      c.important = !0;
                      let n = this.stringFrom(e, t);
                      (n = this.spacesFromEnd(e) + n),
                        " !important" !== n && (c.raws.important = n);
                      break;
                    }
                    if ("important" === a[1].toLowerCase()) {
                      let n = e.slice(0),
                        a = "";
                      for (let e = t; e > 0; e--) {
                        let t = n[e][0];
                        if (0 === a.trim().indexOf("!") && "space" !== t) break;
                        a = n.pop()[1] + a;
                      }
                      0 === a.trim().indexOf("!") &&
                        ((c.important = !0), (c.raws.important = a), (e = n));
                    }
                    if ("space" !== a[0] && "comment" !== a[0]) break;
                  }
                  e.some((e) => "space" !== e[0] && "comment" !== e[0]) &&
                    ((c.raws.between += i.map((e) => e[1]).join("")), (i = [])),
                    this.raw(c, "value", i.concat(e), t),
                    c.value.includes(":") && !t && this.checkMissedSemicolon(e);
                }
                atrule(e) {
                  let t = new r();
                  (t.name = e[1].slice(1)),
                    "" === t.name && this.unnamedAtrule(t, e),
                    this.init(t, e[2]);
                  let n,
                    c,
                    a,
                    o = !1,
                    i = !1,
                    l = [],
                    s = [];
                  for (; !this.tokenizer.endOfFile(); ) {
                    if (
                      ((n = (e = this.tokenizer.nextToken())[0]),
                      "(" === n || "[" === n
                        ? s.push("(" === n ? ")" : "]")
                        : "{" === n && s.length > 0
                        ? s.push("}")
                        : n === s[s.length - 1] && s.pop(),
                      0 === s.length)
                    ) {
                      if (";" === n) {
                        (t.source.end = this.getPosition(e[2])),
                          (this.semicolon = !0);
                        break;
                      }
                      if ("{" === n) {
                        i = !0;
                        break;
                      }
                      if ("}" === n) {
                        if (l.length > 0) {
                          for (
                            a = l.length - 1, c = l[a];
                            c && "space" === c[0];

                          )
                            c = l[--a];
                          c && (t.source.end = this.getPosition(c[3] || c[2]));
                        }
                        this.end(e);
                        break;
                      }
                      l.push(e);
                    } else l.push(e);
                    if (this.tokenizer.endOfFile()) {
                      o = !0;
                      break;
                    }
                  }
                  (t.raws.between = this.spacesAndCommentsFromEnd(l)),
                    l.length
                      ? ((t.raws.afterName =
                          this.spacesAndCommentsFromStart(l)),
                        this.raw(t, "params", l),
                        o &&
                          ((e = l[l.length - 1]),
                          (t.source.end = this.getPosition(e[3] || e[2])),
                          (this.spaces = t.raws.between),
                          (t.raws.between = "")))
                      : ((t.raws.afterName = ""), (t.params = "")),
                    i && ((t.nodes = []), (this.current = t));
                }
                end(e) {
                  this.current.nodes &&
                    this.current.nodes.length &&
                    (this.current.raws.semicolon = this.semicolon),
                    (this.semicolon = !1),
                    (this.current.raws.after =
                      (this.current.raws.after || "") + this.spaces),
                    (this.spaces = ""),
                    this.current.parent
                      ? ((this.current.source.end = this.getPosition(e[2])),
                        (this.current = this.current.parent))
                      : this.unexpectedClose(e);
                }
                endFile() {
                  this.current.parent && this.unclosedBlock(),
                    this.current.nodes &&
                      this.current.nodes.length &&
                      (this.current.raws.semicolon = this.semicolon),
                    (this.current.raws.after =
                      (this.current.raws.after || "") + this.spaces);
                }
                freeSemicolon(e) {
                  if (((this.spaces += e[1]), this.current.nodes)) {
                    let e = this.current.nodes[this.current.nodes.length - 1];
                    e &&
                      "rule" === e.type &&
                      !e.raws.ownSemicolon &&
                      ((e.raws.ownSemicolon = this.spaces), (this.spaces = ""));
                  }
                }
                getPosition(e) {
                  let t = this.input.fromOffset(e);
                  return { offset: e, line: t.line, column: t.col };
                }
                init(e, t) {
                  this.current.push(e),
                    (e.source = {
                      start: this.getPosition(t),
                      input: this.input,
                    }),
                    (e.raws.before = this.spaces),
                    (this.spaces = ""),
                    "comment" !== e.type && (this.semicolon = !1);
                }
                raw(e, t, n, c) {
                  let a,
                    r,
                    o,
                    i,
                    s = n.length,
                    p = "",
                    u = !0;
                  for (let e = 0; e < s; e += 1)
                    (a = n[e]),
                      (r = a[0]),
                      "space" !== r || e !== s - 1 || c
                        ? "comment" === r
                          ? ((i = n[e - 1] ? n[e - 1][0] : "empty"),
                            (o = n[e + 1] ? n[e + 1][0] : "empty"),
                            l[i] || l[o] || "," === p.slice(-1)
                              ? (u = !1)
                              : (p += a[1]))
                          : (p += a[1])
                        : (u = !1);
                  if (!u) {
                    let c = n.reduce((e, t) => e + t[1], "");
                    e.raws[t] = { value: p, raw: c };
                  }
                  e[t] = p;
                }
                spacesAndCommentsFromEnd(e) {
                  let t,
                    n = "";
                  for (
                    ;
                    e.length &&
                    ((t = e[e.length - 1][0]),
                    "space" === t || "comment" === t);

                  )
                    n = e.pop()[1] + n;
                  return n;
                }
                spacesAndCommentsFromStart(e) {
                  let t,
                    n = "";
                  for (
                    ;
                    e.length &&
                    ((t = e[0][0]), "space" === t || "comment" === t);

                  )
                    n += e.shift()[1];
                  return n;
                }
                spacesFromEnd(e) {
                  let t,
                    n = "";
                  for (
                    ;
                    e.length && ((t = e[e.length - 1][0]), "space" === t);

                  )
                    n = e.pop()[1] + n;
                  return n;
                }
                stringFrom(e, t) {
                  let n = "";
                  for (let c = t; c < e.length; c++) n += e[c][1];
                  return e.splice(t, e.length - t), n;
                }
                colon(e) {
                  let t,
                    n,
                    c,
                    a = 0;
                  for (let [r, o] of e.entries()) {
                    if (
                      ((t = o),
                      (n = t[0]),
                      "(" === n && (a += 1),
                      ")" === n && (a -= 1),
                      0 === a && ":" === n)
                    ) {
                      if (c) {
                        if ("word" === c[0] && "progid" === c[1]) continue;
                        return r;
                      }
                      this.doubleColon(t);
                    }
                    c = t;
                  }
                  return !1;
                }
                unclosedBracket(e) {
                  throw this.input.error(
                    "Unclosed bracket",
                    { offset: e[2] },
                    { offset: e[2] + 1 }
                  );
                }
                unknownWord(e) {
                  throw this.input.error(
                    "Unknown word",
                    { offset: e[0][2] },
                    { offset: e[0][2] + e[0][1].length }
                  );
                }
                unexpectedClose(e) {
                  throw this.input.error(
                    "Unexpected }",
                    { offset: e[2] },
                    { offset: e[2] + 1 }
                  );
                }
                unclosedBlock() {
                  let e = this.current.source.start;
                  throw this.input.error("Unclosed block", e.line, e.column);
                }
                doubleColon(e) {
                  throw this.input.error(
                    "Double colon",
                    { offset: e[2] },
                    { offset: e[2] + e[1].length }
                  );
                }
                unnamedAtrule(e, t) {
                  throw this.input.error(
                    "At-rule without name",
                    { offset: t[2] },
                    { offset: t[2] + t[1].length }
                  );
                }
                precheckMissedSemicolon() {}
                checkMissedSemicolon(e) {
                  let t = this.colon(e);
                  if (!1 === t) return;
                  let n,
                    c = 0;
                  for (
                    let a = t - 1;
                    a >= 0 &&
                    ((n = e[a]), "space" === n[0] || ((c += 1), 2 !== c));
                    a--
                  );
                  throw this.input.error(
                    "Missed semicolon",
                    "word" === n[0] ? n[3] + 1 : n[2]
                  );
                }
              };
            }),
            gn = h(() => {
              g();
            }),
            bn = h((e, t) => {
              g();
              t.exports = {
                nanoid: (e = 21) => {
                  let t = "",
                    n = e;
                  for (; n--; )
                    t +=
                      "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[
                        (64 * Math.random()) | 0
                      ];
                  return t;
                },
                customAlphabet:
                  (e, t = 21) =>
                  (n = t) => {
                    let c = "",
                      a = n;
                    for (; a--; ) c += e[(Math.random() * e.length) | 0];
                    return c;
                  },
              };
            }),
            xn = h((e, t) => {
              g(), (t.exports = {});
            }),
            wn = h((e, t) => {
              g();
              var { SourceMapConsumer: n, SourceMapGenerator: c } = gn(),
                { fileURLToPath: a, pathToFileURL: r } = (Vt(), Wt),
                { resolve: o, isAbsolute: i } = (Dt(), zt),
                { nanoid: l } = bn(),
                s = Gt(),
                p = Yt(),
                u = xn(),
                d = Symbol("fromOffsetCache"),
                f = Boolean(n && c),
                h = Boolean(o && i),
                m = class {
                  constructor(e, t = {}) {
                    if (null == e || ("object" == typeof e && !e.toString))
                      throw new Error(
                        `PostCSS received ${e} instead of CSS string`
                      );
                    if (
                      ((this.css = e.toString()),
                      "\ufeff" === this.css[0] || "" === this.css[0]
                        ? ((this.hasBOM = !0), (this.css = this.css.slice(1)))
                        : (this.hasBOM = !1),
                      t.from &&
                        (!h || /^\w+:\/\//.test(t.from) || i(t.from)
                          ? (this.file = t.from)
                          : (this.file = o(t.from))),
                      h && f)
                    ) {
                      let e = new u(this.css, t);
                      if (e.text) {
                        this.map = e;
                        let t = e.consumer().file;
                        !this.file && t && (this.file = this.mapResolve(t));
                      }
                    }
                    this.file || (this.id = "<input css " + l(6) + ">"),
                      this.map && (this.map.file = this.from);
                  }
                  fromOffset(e) {
                    let t, n;
                    if (this[d]) n = this[d];
                    else {
                      let e = this.css.split("\n");
                      n = new Array(e.length);
                      let t = 0;
                      for (let c = 0, a = e.length; c < a; c++)
                        (n[c] = t), (t += e[c].length + 1);
                      this[d] = n;
                    }
                    t = n[n.length - 1];
                    let c = 0;
                    if (e >= t) c = n.length - 1;
                    else {
                      let t,
                        a = n.length - 2;
                      for (; c < a; )
                        if (((t = c + ((a - c) >> 1)), e < n[t])) a = t - 1;
                        else {
                          if (!(e >= n[t + 1])) {
                            c = t;
                            break;
                          }
                          c = t + 1;
                        }
                    }
                    return { line: c + 1, col: e - n[c] + 1 };
                  }
                  error(e, t, n, c = {}) {
                    let a, o, i;
                    if (t && "object" == typeof t) {
                      let e = t,
                        c = n;
                      if ("number" == typeof e.offset) {
                        let c = this.fromOffset(e.offset);
                        (t = c.line), (n = c.col);
                      } else (t = e.line), (n = e.column);
                      if ("number" == typeof c.offset) {
                        let e = this.fromOffset(c.offset);
                        (o = e.line), (i = e.col);
                      } else (o = c.line), (i = c.column);
                    } else if (!n) {
                      let e = this.fromOffset(t);
                      (t = e.line), (n = e.col);
                    }
                    let l = this.origin(t, n, o, i);
                    return (
                      (a = l
                        ? new p(
                            e,
                            void 0 === l.endLine
                              ? l.line
                              : { line: l.line, column: l.column },
                            void 0 === l.endLine
                              ? l.column
                              : { line: l.endLine, column: l.endColumn },
                            l.source,
                            l.file,
                            c.plugin
                          )
                        : new p(
                            e,
                            void 0 === o ? t : { line: t, column: n },
                            void 0 === o ? n : { line: o, column: i },
                            this.css,
                            this.file,
                            c.plugin
                          )),
                      (a.input = {
                        line: t,
                        column: n,
                        endLine: o,
                        endColumn: i,
                        source: this.css,
                      }),
                      this.file &&
                        (r && (a.input.url = r(this.file).toString()),
                        (a.input.file = this.file)),
                      a
                    );
                  }
                  origin(e, t, n, c) {
                    if (!this.map) return !1;
                    let o,
                      l,
                      s = this.map.consumer(),
                      p = s.originalPositionFor({ line: e, column: t });
                    if (!p.source) return !1;
                    "number" == typeof n &&
                      (o = s.originalPositionFor({ line: n, column: c })),
                      (l = i(p.source)
                        ? r(p.source)
                        : new URL(
                            p.source,
                            this.map.consumer().sourceRoot ||
                              r(this.map.mapFile)
                          ));
                    let u = {
                      url: l.toString(),
                      line: p.line,
                      column: p.column,
                      endLine: o && o.line,
                      endColumn: o && o.column,
                    };
                    if ("file:" === l.protocol) {
                      if (!a)
                        throw new Error(
                          "file: protocol is not available in this PostCSS build"
                        );
                      u.file = a(l);
                    }
                    let d = s.sourceContentFor(p.source);
                    return d && (u.source = d), u;
                  }
                  mapResolve(e) {
                    return /^\w+:\/\//.test(e)
                      ? e
                      : o(
                          this.map.consumer().sourceRoot ||
                            this.map.root ||
                            ".",
                          e
                        );
                  }
                  get from() {
                    return this.file || this.id;
                  }
                  toJSON() {
                    let e = {};
                    for (let t of ["hasBOM", "css", "file", "id"])
                      null != this[t] && (e[t] = this[t]);
                    return (
                      this.map &&
                        ((e.map = { ...this.map }),
                        e.map.consumerCache && (e.map.consumerCache = void 0)),
                      e
                    );
                  }
                };
              (t.exports = m),
                (m.default = m),
                s && s.registerInput && s.registerInput(m);
            }),
            yn = h((e, t) => {
              g();
              var n = rn(),
                c = vn(),
                a = wn();
              function r(e, t) {
                let n = new a(e, t),
                  r = new c(n);
                try {
                  r.parse();
                } catch (e) {
                  throw e;
                }
                return r.root;
              }
              (t.exports = r), (r.default = r), n.registerParse(r);
            }),
            kn = h((e, t) => {
              g();
              var { isClean: n, my: c } = Zt(),
                a = cn(),
                r = en(),
                o = rn(),
                i = on(),
                l = (ln(), pn()),
                s = yn(),
                p = fn(),
                u = {
                  document: "Document",
                  root: "Root",
                  atrule: "AtRule",
                  rule: "Rule",
                  decl: "Declaration",
                  comment: "Comment",
                },
                d = {
                  postcssPlugin: !0,
                  prepare: !0,
                  Once: !0,
                  Document: !0,
                  Root: !0,
                  Declaration: !0,
                  Rule: !0,
                  AtRule: !0,
                  Comment: !0,
                  DeclarationExit: !0,
                  RuleExit: !0,
                  AtRuleExit: !0,
                  CommentExit: !0,
                  RootExit: !0,
                  DocumentExit: !0,
                  OnceExit: !0,
                },
                f = { postcssPlugin: !0, prepare: !0, Once: !0 };
              function h(e) {
                return "object" == typeof e && "function" == typeof e.then;
              }
              function m(e) {
                let t = !1,
                  n = u[e.type];
                return (
                  "decl" === e.type
                    ? (t = e.prop.toLowerCase())
                    : "atrule" === e.type && (t = e.name.toLowerCase()),
                  t && e.append
                    ? [n, n + "-" + t, 0, n + "Exit", n + "Exit-" + t]
                    : t
                    ? [n, n + "-" + t, n + "Exit", n + "Exit-" + t]
                    : e.append
                    ? [n, 0, n + "Exit"]
                    : [n, n + "Exit"]
                );
              }
              function v(e) {
                let t;
                return (
                  (t =
                    "document" === e.type
                      ? ["Document", 0, "DocumentExit"]
                      : "root" === e.type
                      ? ["Root", 0, "RootExit"]
                      : m(e)),
                  {
                    node: e,
                    events: t,
                    eventIndex: 0,
                    visitors: [],
                    visitorIndex: 0,
                    iterator: 0,
                  }
                );
              }
              function b(e) {
                return (e[n] = !1), e.nodes && e.nodes.forEach((e) => b(e)), e;
              }
              var x = {},
                w = class {
                  constructor(e, t, n) {
                    let a;
                    if (
                      ((this.stringified = !1),
                      (this.processed = !1),
                      "object" != typeof t ||
                        null === t ||
                        ("root" !== t.type && "document" !== t.type))
                    )
                      if (t instanceof w || t instanceof l)
                        (a = b(t.root)),
                          t.map &&
                            (void 0 === n.map && (n.map = {}),
                            n.map.inline || (n.map.inline = !1),
                            (n.map.prev = t.map));
                      else {
                        let e = s;
                        n.syntax && (e = n.syntax.parse),
                          n.parser && (e = n.parser),
                          e.parse && (e = e.parse);
                        try {
                          a = e(t, n);
                        } catch (e) {
                          (this.processed = !0), (this.error = e);
                        }
                        a && !a[c] && o.rebuild(a);
                      }
                    else a = b(t);
                    (this.result = new l(e, a, n)),
                      (this.helpers = {
                        ...x,
                        result: this.result,
                        postcss: x,
                      }),
                      (this.plugins = this.processor.plugins.map((e) =>
                        "object" == typeof e && e.prepare
                          ? { ...e, ...e.prepare(this.result) }
                          : e
                      ));
                  }
                  get [Symbol.toStringTag]() {
                    return "LazyResult";
                  }
                  get processor() {
                    return this.result.processor;
                  }
                  get opts() {
                    return this.result.opts;
                  }
                  get css() {
                    return this.stringify().css;
                  }
                  get content() {
                    return this.stringify().content;
                  }
                  get map() {
                    return this.stringify().map;
                  }
                  get root() {
                    return this.sync().root;
                  }
                  get messages() {
                    return this.sync().messages;
                  }
                  warnings() {
                    return this.sync().warnings();
                  }
                  toString() {
                    return this.css;
                  }
                  then(e, t) {
                    return this.async().then(e, t);
                  }
                  catch(e) {
                    return this.async().catch(e);
                  }
                  finally(e) {
                    return this.async().then(e, e);
                  }
                  async() {
                    return this.error
                      ? Promise.reject(this.error)
                      : this.processed
                      ? Promise.resolve(this.result)
                      : (this.processing || (this.processing = this.runAsync()),
                        this.processing);
                  }
                  sync() {
                    if (this.error) throw this.error;
                    if (this.processed) return this.result;
                    if (((this.processed = !0), this.processing))
                      throw this.getAsyncError();
                    for (let e of this.plugins) {
                      if (h(this.runOnRoot(e))) throw this.getAsyncError();
                    }
                    if ((this.prepareVisitors(), this.hasListener)) {
                      let e = this.result.root;
                      for (; !e[n]; ) (e[n] = !0), this.walkSync(e);
                      if (this.listeners.OnceExit)
                        if ("document" === e.type)
                          for (let t of e.nodes)
                            this.visitSync(this.listeners.OnceExit, t);
                        else this.visitSync(this.listeners.OnceExit, e);
                    }
                    return this.result;
                  }
                  stringify() {
                    if (this.error) throw this.error;
                    if (this.stringified) return this.result;
                    (this.stringified = !0), this.sync();
                    let e = this.result.opts,
                      t = r;
                    e.syntax && (t = e.syntax.stringify),
                      e.stringifier && (t = e.stringifier),
                      t.stringify && (t = t.stringify);
                    let n = new a(
                      t,
                      this.result.root,
                      this.result.opts
                    ).generate();
                    return (
                      (this.result.css = n[0]),
                      (this.result.map = n[1]),
                      this.result
                    );
                  }
                  walkSync(e) {
                    e[n] = !0;
                    let t = m(e);
                    for (let c of t)
                      if (0 === c)
                        e.nodes &&
                          e.each((e) => {
                            e[n] || this.walkSync(e);
                          });
                      else {
                        let t = this.listeners[c];
                        if (t && this.visitSync(t, e.toProxy())) return;
                      }
                  }
                  visitSync(e, t) {
                    for (let [n, c] of e) {
                      let e;
                      this.result.lastPlugin = n;
                      try {
                        e = c(t, this.helpers);
                      } catch (e) {
                        throw this.handleError(e, t.proxyOf);
                      }
                      if (
                        "root" !== t.type &&
                        "document" !== t.type &&
                        !t.parent
                      )
                        return !0;
                      if (h(e)) throw this.getAsyncError();
                    }
                  }
                  runOnRoot(e) {
                    this.result.lastPlugin = e;
                    try {
                      if ("object" == typeof e && e.Once) {
                        if ("document" === this.result.root.type) {
                          let t = this.result.root.nodes.map((t) =>
                            e.Once(t, this.helpers)
                          );
                          return h(t[0]) ? Promise.all(t) : t;
                        }
                        return e.Once(this.result.root, this.helpers);
                      }
                      if ("function" == typeof e)
                        return e(this.result.root, this.result);
                    } catch (e) {
                      throw this.handleError(e);
                    }
                  }
                  getAsyncError() {
                    throw new Error(
                      "Use process(css).then(cb) to work with async plugins"
                    );
                  }
                  handleError(e, t) {
                    let n = this.result.lastPlugin;
                    try {
                      t && t.addToError(e),
                        (this.error = e),
                        "CssSyntaxError" !== e.name || e.plugin
                          ? n.postcssVersion
                          : ((e.plugin = n.postcssPlugin), e.setMessage());
                    } catch (e) {
                      console && console.error && console.error(e);
                    }
                    return e;
                  }
                  async runAsync() {
                    this.plugin = 0;
                    for (let e = 0; e < this.plugins.length; e++) {
                      let t = this.plugins[e],
                        n = this.runOnRoot(t);
                      if (h(n))
                        try {
                          await n;
                        } catch (e) {
                          throw this.handleError(e);
                        }
                    }
                    if ((this.prepareVisitors(), this.hasListener)) {
                      let e = this.result.root;
                      for (; !e[n]; ) {
                        e[n] = !0;
                        let t = [v(e)];
                        for (; t.length > 0; ) {
                          let e = this.visitTick(t);
                          if (h(e))
                            try {
                              await e;
                            } catch (e) {
                              let n = t[t.length - 1].node;
                              throw this.handleError(e, n);
                            }
                        }
                      }
                      if (this.listeners.OnceExit)
                        for (let [t, n] of this.listeners.OnceExit) {
                          this.result.lastPlugin = t;
                          try {
                            if ("document" === e.type) {
                              let t = e.nodes.map((e) => n(e, this.helpers));
                              await Promise.all(t);
                            } else await n(e, this.helpers);
                          } catch (e) {
                            throw this.handleError(e);
                          }
                        }
                    }
                    return (this.processed = !0), this.stringify();
                  }
                  prepareVisitors() {
                    this.listeners = {};
                    let e = (e, t, n) => {
                      this.listeners[t] || (this.listeners[t] = []),
                        this.listeners[t].push([e, n]);
                    };
                    for (let t of this.plugins)
                      if ("object" == typeof t)
                        for (let n in t) {
                          if (!d[n] && /^[A-Z]/.test(n))
                            throw new Error(
                              `Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`
                            );
                          if (!f[n])
                            if ("object" == typeof t[n])
                              for (let c in t[n])
                                e(
                                  t,
                                  "*" === c ? n : n + "-" + c.toLowerCase(),
                                  t[n][c]
                                );
                            else "function" == typeof t[n] && e(t, n, t[n]);
                        }
                    this.hasListener = Object.keys(this.listeners).length > 0;
                  }
                  visitTick(e) {
                    let t = e[e.length - 1],
                      { node: c, visitors: a } = t;
                    if ("root" !== c.type && "document" !== c.type && !c.parent)
                      return void e.pop();
                    if (a.length > 0 && t.visitorIndex < a.length) {
                      let [e, n] = a[t.visitorIndex];
                      (t.visitorIndex += 1),
                        t.visitorIndex === a.length &&
                          ((t.visitors = []), (t.visitorIndex = 0)),
                        (this.result.lastPlugin = e);
                      try {
                        return n(c.toProxy(), this.helpers);
                      } catch (e) {
                        throw this.handleError(e, c);
                      }
                    }
                    if (0 !== t.iterator) {
                      let a,
                        r = t.iterator;
                      for (; (a = c.nodes[c.indexes[r]]); )
                        if (((c.indexes[r] += 1), !a[n]))
                          return (a[n] = !0), void e.push(v(a));
                      (t.iterator = 0), delete c.indexes[r];
                    }
                    let r = t.events;
                    for (; t.eventIndex < r.length; ) {
                      let e = r[t.eventIndex];
                      if (((t.eventIndex += 1), 0 === e))
                        return void (
                          c.nodes &&
                          c.nodes.length &&
                          ((c[n] = !0), (t.iterator = c.getIterator()))
                        );
                      if (this.listeners[e])
                        return void (t.visitors = this.listeners[e]);
                    }
                    e.pop();
                  }
                };
              (w.registerPostcss = (e) => {
                x = e;
              }),
                (t.exports = w),
                (w.default = w),
                p.registerLazyResult(w),
                i.registerLazyResult(w);
            }),
            Cn = h((e, t) => {
              g();
              var n = cn(),
                c = en(),
                a = (ln(), yn()),
                r = pn(),
                o = class {
                  constructor(e, t, a) {
                    (t = t.toString()),
                      (this.stringified = !1),
                      (this._processor = e),
                      (this._css = t),
                      (this._opts = a),
                      (this._map = void 0);
                    let o,
                      i = c;
                    (this.result = new r(this._processor, o, this._opts)),
                      (this.result.css = t);
                    let l = this;
                    Object.defineProperty(this.result, "root", {
                      get() {
                        return l.root;
                      },
                    });
                    let s = new n(i, o, this._opts, t);
                    if (s.isMap()) {
                      let [e, t] = s.generate();
                      e && (this.result.css = e), t && (this.result.map = t);
                    }
                  }
                  get [Symbol.toStringTag]() {
                    return "NoWorkResult";
                  }
                  get processor() {
                    return this.result.processor;
                  }
                  get opts() {
                    return this.result.opts;
                  }
                  get css() {
                    return this.result.css;
                  }
                  get content() {
                    return this.result.css;
                  }
                  get map() {
                    return this.result.map;
                  }
                  get root() {
                    if (this._root) return this._root;
                    let e,
                      t = a;
                    try {
                      e = t(this._css, this._opts);
                    } catch (e) {
                      this.error = e;
                    }
                    if (this.error) throw this.error;
                    return (this._root = e), e;
                  }
                  get messages() {
                    return [];
                  }
                  warnings() {
                    return [];
                  }
                  toString() {
                    return this._css;
                  }
                  then(e, t) {
                    return this.async().then(e, t);
                  }
                  catch(e) {
                    return this.async().catch(e);
                  }
                  finally(e) {
                    return this.async().then(e, e);
                  }
                  async() {
                    return this.error
                      ? Promise.reject(this.error)
                      : Promise.resolve(this.result);
                  }
                  sync() {
                    if (this.error) throw this.error;
                    return this.result;
                  }
                };
              (t.exports = o), (o.default = o);
            }),
            Rn = h((e, t) => {
              g();
              var n = Cn(),
                c = kn(),
                a = on(),
                r = fn(),
                o = class {
                  constructor(e = []) {
                    (this.version = "8.4.24"),
                      (this.plugins = this.normalize(e));
                  }
                  use(e) {
                    return (
                      (this.plugins = this.plugins.concat(this.normalize([e]))),
                      this
                    );
                  }
                  process(e, t = {}) {
                    return 0 === this.plugins.length &&
                      void 0 === t.parser &&
                      void 0 === t.stringifier &&
                      void 0 === t.syntax
                      ? new n(this, e, t)
                      : new c(this, e, t);
                  }
                  normalize(e) {
                    let t = [];
                    for (let n of e)
                      if (
                        (!0 === n.postcss
                          ? (n = n())
                          : n.postcss && (n = n.postcss),
                        "object" == typeof n && Array.isArray(n.plugins))
                      )
                        t = t.concat(n.plugins);
                      else if ("object" == typeof n && n.postcssPlugin)
                        t.push(n);
                      else if ("function" == typeof n) t.push(n);
                      else if (
                        "object" != typeof n ||
                        (!n.parse && !n.stringify)
                      )
                        throw new Error(n + " is not a PostCSS plugin");
                    return t;
                  }
                };
              (t.exports = o),
                (o.default = o),
                r.registerProcessor(o),
                a.registerProcessor(o);
            }),
            On = h((e, t) => {
              g();
              var n = nn(),
                c = xn(),
                a = an(),
                r = dn(),
                o = wn(),
                i = fn(),
                l = mn();
              function s(e, t) {
                if (Array.isArray(e)) return e.map((e) => s(e));
                let { inputs: p, ...u } = e;
                if (p) {
                  t = [];
                  for (let e of p) {
                    let n = { ...e, __proto__: o.prototype };
                    n.map && (n.map = { ...n.map, __proto__: c.prototype }),
                      t.push(n);
                  }
                }
                if (
                  (u.nodes && (u.nodes = e.nodes.map((e) => s(e, t))), u.source)
                ) {
                  let { inputId: e, ...n } = u.source;
                  (u.source = n), null != e && (u.source.input = t[e]);
                }
                if ("root" === u.type) return new i(u);
                if ("decl" === u.type) return new n(u);
                if ("rule" === u.type) return new l(u);
                if ("comment" === u.type) return new a(u);
                if ("atrule" === u.type) return new r(u);
                throw new Error("Unknown node type: " + e.type);
              }
              (t.exports = s), (s.default = s);
            }),
            $n = h((t, n) => {
              g();
              var c = Yt(),
                a = nn(),
                r = kn(),
                o = rn(),
                i = Rn(),
                l = en(),
                s = On(),
                p = on(),
                u = sn(),
                d = an(),
                f = dn(),
                h = pn(),
                m = wn(),
                v = yn(),
                b = hn(),
                x = mn(),
                w = fn(),
                y = tn();
              function k(...e) {
                return (
                  1 === e.length && Array.isArray(e[0]) && (e = e[0]), new i(e)
                );
              }
              (k.plugin = function (t, n) {
                let c,
                  a = !1;
                function r(...c) {
                  console &&
                    console.warn &&
                    !a &&
                    ((a = !0),
                    console.warn(
                      t +
                        ": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"
                    ),
                    e.env.LANG &&
                      e.env.LANG.startsWith("cn") &&
                      console.warn(
                        t +
                          ": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"
                      ));
                  let r = n(...c);
                  return (
                    (r.postcssPlugin = t),
                    (r.postcssVersion = new i().version),
                    r
                  );
                }
                return (
                  Object.defineProperty(r, "postcss", {
                    get() {
                      return c || (c = r()), c;
                    },
                  }),
                  (r.process = function (e, t, n) {
                    return k([r(n)]).process(e, t);
                  }),
                  r
                );
              }),
                (k.stringify = l),
                (k.parse = v),
                (k.fromJSON = s),
                (k.list = b),
                (k.comment = (e) => new d(e)),
                (k.atRule = (e) => new f(e)),
                (k.decl = (e) => new a(e)),
                (k.rule = (e) => new x(e)),
                (k.root = (e) => new w(e)),
                (k.document = (e) => new p(e)),
                (k.CssSyntaxError = c),
                (k.Declaration = a),
                (k.Container = o),
                (k.Processor = i),
                (k.Document = p),
                (k.Comment = d),
                (k.Warning = u),
                (k.AtRule = f),
                (k.Result = h),
                (k.Input = m),
                (k.Rule = x),
                (k.Root = w),
                (k.Node = y),
                r.registerPostcss(k),
                (n.exports = k),
                (k.default = k);
            }),
            Ln = f(() => {
              g(),
                (Kt = v($n())),
                (qt = Kt.default),
                Kt.default.stringify,
                Kt.default.fromJSON,
                Kt.default.plugin,
                Kt.default.parse,
                Kt.default.list,
                Kt.default.document,
                Kt.default.comment,
                Kt.default.atRule,
                Kt.default.rule,
                Kt.default.decl,
                Kt.default.root,
                Kt.default.CssSyntaxError,
                Kt.default.Declaration,
                Kt.default.Container,
                Kt.default.Processor,
                Kt.default.Document,
                Kt.default.Comment,
                Kt.default.Warning,
                Kt.default.AtRule,
                Kt.default.Result,
                Kt.default.Input,
                Kt.default.Rule,
                Kt.default.Root,
                Kt.default.Node;
            }),
            Sn = h((e, t) => {
              g(),
                (t.exports = function (e, t, n, c, a) {
                  for (t = t.split ? t.split(".") : t, c = 0; c < t.length; c++)
                    e = e ? e[t[c]] : a;
                  return e === a ? n : e;
                });
            }),
            En = h((e, t) => {
              function n(e) {
                for (
                  var t = e.toLowerCase(), n = "", c = !1, a = 0;
                  a < 6 && void 0 !== t[a];
                  a++
                ) {
                  var r = t.charCodeAt(a);
                  if (
                    ((c = 32 === r),
                    !((r >= 97 && r <= 102) || (r >= 48 && r <= 57)))
                  )
                    break;
                  n += t[a];
                }
                if (0 !== n.length) {
                  var o = parseInt(n, 16);
                  return (o >= 55296 && o <= 57343) || 0 === o || o > 1114111
                    ? ["�", n.length + (c ? 1 : 0)]
                    : [String.fromCodePoint(o), n.length + (c ? 1 : 0)];
                }
              }
              g(),
                (e.__esModule = !0),
                (e.default = function (e) {
                  if (!c.test(e)) return e;
                  for (var t = "", a = 0; a < e.length; a++)
                    if ("\\" !== e[a]) t += e[a];
                    else {
                      var r = n(e.slice(a + 1, a + 7));
                      if (void 0 !== r) {
                        (t += r[0]), (a += r[1]);
                        continue;
                      }
                      if ("\\" === e[a + 1]) {
                        (t += "\\"), a++;
                        continue;
                      }
                      e.length === a + 1 && (t += e[a]);
                    }
                  return t;
                });
              var c = /\\/;
              t.exports = e.default;
            }),
            In = h((e, t) => {
              g(),
                (e.__esModule = !0),
                (e.default = function (e) {
                  for (
                    var t = arguments.length,
                      n = new Array(t > 1 ? t - 1 : 0),
                      c = 1;
                    c < t;
                    c++
                  )
                    n[c - 1] = arguments[c];
                  for (; n.length > 0; ) {
                    var a = n.shift();
                    if (!e[a]) return;
                    e = e[a];
                  }
                  return e;
                }),
                (t.exports = e.default);
            }),
            Tn = h((e, t) => {
              g(),
                (e.__esModule = !0),
                (e.default = function (e) {
                  for (
                    var t = arguments.length,
                      n = new Array(t > 1 ? t - 1 : 0),
                      c = 1;
                    c < t;
                    c++
                  )
                    n[c - 1] = arguments[c];
                  for (; n.length > 0; ) {
                    var a = n.shift();
                    e[a] || (e[a] = {}), (e = e[a]);
                  }
                }),
                (t.exports = e.default);
            }),
            An = h((e, t) => {
              g(),
                (e.__esModule = !0),
                (e.default = function (e) {
                  for (var t = "", n = e.indexOf("/*"), c = 0; n >= 0; ) {
                    t += e.slice(c, n);
                    var a = e.indexOf("*/", n + 2);
                    if (a < 0) return t;
                    (c = a + 2), (n = e.indexOf("/*", c));
                  }
                  return (t += e.slice(c));
                }),
                (t.exports = e.default);
            }),
            Bn = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.unesc =
                  e.stripComments =
                  e.getProp =
                  e.ensureObject =
                    void 0);
              var t = r(En());
              e.unesc = t.default;
              var n = r(In());
              e.getProp = n.default;
              var c = r(Tn());
              e.ensureObject = c.default;
              var a = r(An());
              function r(e) {
                return e && e.__esModule ? e : { default: e };
              }
              e.stripComments = a.default;
            }),
            Mn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n = Bn();
              function c(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              var a = function e(t, n) {
                  if ("object" != typeof t || null === t) return t;
                  var c = new t.constructor();
                  for (var a in t)
                    if (t.hasOwnProperty(a)) {
                      var r = t[a];
                      "parent" === a && "object" === typeof r
                        ? n && (c[a] = n)
                        : (c[a] =
                            r instanceof Array
                              ? r.map(function (t) {
                                  return e(t, c);
                                })
                              : e(r, c));
                    }
                  return c;
                },
                r = (function () {
                  function e(e) {
                    void 0 === e && (e = {}),
                      Object.assign(this, e),
                      (this.spaces = this.spaces || {}),
                      (this.spaces.before = this.spaces.before || ""),
                      (this.spaces.after = this.spaces.after || "");
                  }
                  var t = e.prototype;
                  return (
                    (t.remove = function () {
                      return (
                        this.parent && this.parent.removeChild(this),
                        (this.parent = void 0),
                        this
                      );
                    }),
                    (t.replaceWith = function () {
                      if (this.parent) {
                        for (var e in arguments)
                          this.parent.insertBefore(this, arguments[e]);
                        this.remove();
                      }
                      return this;
                    }),
                    (t.next = function () {
                      return this.parent.at(this.parent.index(this) + 1);
                    }),
                    (t.prev = function () {
                      return this.parent.at(this.parent.index(this) - 1);
                    }),
                    (t.clone = function (e) {
                      void 0 === e && (e = {});
                      var t = a(this);
                      for (var n in e) t[n] = e[n];
                      return t;
                    }),
                    (t.appendToPropertyAndEscape = function (e, t, n) {
                      this.raws || (this.raws = {});
                      var c = this[e],
                        a = this.raws[e];
                      (this[e] = c + t),
                        a || n !== t
                          ? (this.raws[e] = (a || c) + n)
                          : delete this.raws[e];
                    }),
                    (t.setPropertyAndEscape = function (e, t, n) {
                      this.raws || (this.raws = {}),
                        (this[e] = t),
                        (this.raws[e] = n);
                    }),
                    (t.setPropertyWithoutEscape = function (e, t) {
                      (this[e] = t), this.raws && delete this.raws[e];
                    }),
                    (t.isAtPosition = function (e, t) {
                      if (this.source && this.source.start && this.source.end)
                        return !(
                          this.source.start.line > e ||
                          this.source.end.line < e ||
                          (this.source.start.line === e &&
                            this.source.start.column > t) ||
                          (this.source.end.line === e &&
                            this.source.end.column < t)
                        );
                    }),
                    (t.stringifyProperty = function (e) {
                      return (this.raws && this.raws[e]) || this[e];
                    }),
                    (t.valueToString = function () {
                      return String(this.stringifyProperty("value"));
                    }),
                    (t.toString = function () {
                      return [
                        this.rawSpaceBefore,
                        this.valueToString(),
                        this.rawSpaceAfter,
                      ].join("");
                    }),
                    (function (e, t, n) {
                      t && c(e.prototype, t),
                        n && c(e, n),
                        Object.defineProperty(e, "prototype", { writable: !1 });
                    })(e, [
                      {
                        key: "rawSpaceBefore",
                        get: function () {
                          var e =
                            this.raws &&
                            this.raws.spaces &&
                            this.raws.spaces.before;
                          return (
                            void 0 === e &&
                              (e = this.spaces && this.spaces.before),
                            e || ""
                          );
                        },
                        set: function (e) {
                          (0, n.ensureObject)(this, "raws", "spaces"),
                            (this.raws.spaces.before = e);
                        },
                      },
                      {
                        key: "rawSpaceAfter",
                        get: function () {
                          var e =
                            this.raws &&
                            this.raws.spaces &&
                            this.raws.spaces.after;
                          return (
                            void 0 === e && (e = this.spaces.after), e || ""
                          );
                        },
                        set: function (e) {
                          (0, n.ensureObject)(this, "raws", "spaces"),
                            (this.raws.spaces.after = e);
                        },
                      },
                    ]),
                    e
                  );
                })();
              (e.default = r), (t.exports = e.default);
            }),
            jn = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.UNIVERSAL =
                  e.TAG =
                  e.STRING =
                  e.SELECTOR =
                  e.ROOT =
                  e.PSEUDO =
                  e.NESTING =
                  e.ID =
                  e.COMMENT =
                  e.COMBINATOR =
                  e.CLASS =
                  e.ATTRIBUTE =
                    void 0);
              e.TAG = "tag";
              e.STRING = "string";
              e.SELECTOR = "selector";
              e.ROOT = "root";
              e.PSEUDO = "pseudo";
              e.NESTING = "nesting";
              e.ID = "id";
              e.COMMENT = "comment";
              e.COMBINATOR = "combinator";
              e.CLASS = "class";
              e.ATTRIBUTE = "attribute";
              e.UNIVERSAL = "universal";
            }),
            _n = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Mn()) && n.__esModule ? n : { default: n },
                a = (function (e, t) {
                  if (!t && e && e.__esModule) return e;
                  if (
                    null === e ||
                    ("object" != typeof e && "function" != typeof e)
                  )
                    return { default: e };
                  var n = r(t);
                  if (n && n.has(e)) return n.get(e);
                  var c = {},
                    a =
                      Object.defineProperty && Object.getOwnPropertyDescriptor;
                  for (var o in e)
                    if (
                      "default" !== o &&
                      Object.prototype.hasOwnProperty.call(e, o)
                    ) {
                      var i = a ? Object.getOwnPropertyDescriptor(e, o) : null;
                      i && (i.get || i.set)
                        ? Object.defineProperty(c, o, i)
                        : (c[o] = e[o]);
                    }
                  return (c.default = e), n && n.set(e, c), c;
                })(jn());
              function r(e) {
                if ("function" != typeof WeakMap) return null;
                var t = new WeakMap(),
                  n = new WeakMap();
                return (r = function (e) {
                  return e ? n : t;
                })(e);
              }
              function o(e, t) {
                var n =
                  ("undefined" != typeof Symbol && e[Symbol.iterator]) ||
                  e["@@iterator"];
                if (n) return (n = n.call(e)).next.bind(n);
                if (
                  Array.isArray(e) ||
                  (n = (function (e, t) {
                    if (e) {
                      if ("string" == typeof e) return i(e, t);
                      var n = Object.prototype.toString.call(e).slice(8, -1);
                      if (
                        ("Object" === n &&
                          e.constructor &&
                          (n = e.constructor.name),
                        "Map" === n || "Set" === n)
                      )
                        return Array.from(e);
                      if (
                        "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      )
                        return i(e, t);
                    }
                  })(e)) ||
                  (t && e && "number" == typeof e.length)
                ) {
                  n && (e = n);
                  var c = 0;
                  return function () {
                    return c >= e.length
                      ? { done: !0 }
                      : { done: !1, value: e[c++] };
                  };
                }
                throw new TypeError(
                  "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                );
              }
              function i(e, t) {
                (null == t || t > e.length) && (t = e.length);
                for (var n = 0, c = new Array(t); n < t; n++) c[n] = e[n];
                return c;
              }
              function l(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              function s(e, t) {
                return (s = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var p = (function (e) {
                function t(t) {
                  var n;
                  return (
                    (n = e.call(this, t) || this).nodes || (n.nodes = []), n
                  );
                }
                !(function (e, t) {
                  (e.prototype = Object.create(t.prototype)),
                    (e.prototype.constructor = e),
                    s(e, t);
                })(t, e);
                var n = t.prototype;
                return (
                  (n.append = function (e) {
                    return (e.parent = this), this.nodes.push(e), this;
                  }),
                  (n.prepend = function (e) {
                    return (e.parent = this), this.nodes.unshift(e), this;
                  }),
                  (n.at = function (e) {
                    return this.nodes[e];
                  }),
                  (n.index = function (e) {
                    return "number" == typeof e ? e : this.nodes.indexOf(e);
                  }),
                  (n.removeChild = function (e) {
                    var t;
                    for (var n in ((e = this.index(e)),
                    (this.at(e).parent = void 0),
                    this.nodes.splice(e, 1),
                    this.indexes))
                      (t = this.indexes[n]) >= e && (this.indexes[n] = t - 1);
                    return this;
                  }),
                  (n.removeAll = function () {
                    for (var e, t = o(this.nodes); !(e = t()).done; ) {
                      e.value.parent = void 0;
                    }
                    return (this.nodes = []), this;
                  }),
                  (n.empty = function () {
                    return this.removeAll();
                  }),
                  (n.insertAfter = function (e, t) {
                    t.parent = this;
                    var n,
                      c = this.index(e);
                    for (var a in (this.nodes.splice(c + 1, 0, t),
                    (t.parent = this),
                    this.indexes))
                      c <= (n = this.indexes[a]) && (this.indexes[a] = n + 1);
                    return this;
                  }),
                  (n.insertBefore = function (e, t) {
                    t.parent = this;
                    var n,
                      c = this.index(e);
                    for (var a in (this.nodes.splice(c, 0, t),
                    (t.parent = this),
                    this.indexes))
                      (n = this.indexes[a]) <= c && (this.indexes[a] = n + 1);
                    return this;
                  }),
                  (n._findChildAtPosition = function (e, t) {
                    var n = void 0;
                    return (
                      this.each(function (c) {
                        if (c.atPosition) {
                          var a = c.atPosition(e, t);
                          if (a) return (n = a), !1;
                        } else if (c.isAtPosition(e, t)) return (n = c), !1;
                      }),
                      n
                    );
                  }),
                  (n.atPosition = function (e, t) {
                    if (this.isAtPosition(e, t))
                      return this._findChildAtPosition(e, t) || this;
                  }),
                  (n._inferEndPosition = function () {
                    this.last &&
                      this.last.source &&
                      this.last.source.end &&
                      ((this.source = this.source || {}),
                      (this.source.end = this.source.end || {}),
                      Object.assign(this.source.end, this.last.source.end));
                  }),
                  (n.each = function (e) {
                    this.lastEach || (this.lastEach = 0),
                      this.indexes || (this.indexes = {}),
                      this.lastEach++;
                    var t = this.lastEach;
                    if (((this.indexes[t] = 0), this.length)) {
                      for (
                        var n, c;
                        this.indexes[t] < this.length &&
                        ((n = this.indexes[t]), !1 !== (c = e(this.at(n), n)));

                      )
                        this.indexes[t] += 1;
                      if ((delete this.indexes[t], !1 === c)) return !1;
                    }
                  }),
                  (n.walk = function (e) {
                    return this.each(function (t, n) {
                      var c = e(t, n);
                      if ((!1 !== c && t.length && (c = t.walk(e)), !1 === c))
                        return !1;
                    });
                  }),
                  (n.walkAttributes = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.ATTRIBUTE) return e.call(t, n);
                    });
                  }),
                  (n.walkClasses = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.CLASS) return e.call(t, n);
                    });
                  }),
                  (n.walkCombinators = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.COMBINATOR) return e.call(t, n);
                    });
                  }),
                  (n.walkComments = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.COMMENT) return e.call(t, n);
                    });
                  }),
                  (n.walkIds = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.ID) return e.call(t, n);
                    });
                  }),
                  (n.walkNesting = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.NESTING) return e.call(t, n);
                    });
                  }),
                  (n.walkPseudos = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.PSEUDO) return e.call(t, n);
                    });
                  }),
                  (n.walkTags = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.TAG) return e.call(t, n);
                    });
                  }),
                  (n.walkUniversals = function (e) {
                    var t = this;
                    return this.walk(function (n) {
                      if (n.type === a.UNIVERSAL) return e.call(t, n);
                    });
                  }),
                  (n.split = function (e) {
                    var t = this,
                      n = [];
                    return this.reduce(function (c, a, r) {
                      var o = e.call(t, a);
                      return (
                        n.push(a),
                        o
                          ? (c.push(n), (n = []))
                          : r === t.length - 1 && c.push(n),
                        c
                      );
                    }, []);
                  }),
                  (n.map = function (e) {
                    return this.nodes.map(e);
                  }),
                  (n.reduce = function (e, t) {
                    return this.nodes.reduce(e, t);
                  }),
                  (n.every = function (e) {
                    return this.nodes.every(e);
                  }),
                  (n.some = function (e) {
                    return this.nodes.some(e);
                  }),
                  (n.filter = function (e) {
                    return this.nodes.filter(e);
                  }),
                  (n.sort = function (e) {
                    return this.nodes.sort(e);
                  }),
                  (n.toString = function () {
                    return this.map(String).join("");
                  }),
                  (function (e, t, n) {
                    t && l(e.prototype, t),
                      n && l(e, n),
                      Object.defineProperty(e, "prototype", { writable: !1 });
                  })(t, [
                    {
                      key: "first",
                      get: function () {
                        return this.at(0);
                      },
                    },
                    {
                      key: "last",
                      get: function () {
                        return this.at(this.length - 1);
                      },
                    },
                    {
                      key: "length",
                      get: function () {
                        return this.nodes.length;
                      },
                    },
                  ]),
                  t
                );
              })(c.default);
              (e.default = p), (t.exports = e.default);
            }),
            zn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = _n()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              function o(e, t) {
                return (o = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var i = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.ROOT), n;
                }
                !(function (e, t) {
                  (e.prototype = Object.create(t.prototype)),
                    (e.prototype.constructor = e),
                    o(e, t);
                })(t, e);
                var n = t.prototype;
                return (
                  (n.toString = function () {
                    var e = this.reduce(function (e, t) {
                      return e.push(String(t)), e;
                    }, []).join(",");
                    return this.trailingComma ? e + "," : e;
                  }),
                  (n.error = function (e, t) {
                    return this._error ? this._error(e, t) : new Error(e);
                  }),
                  (function (e, t, n) {
                    t && r(e.prototype, t),
                      n && r(e, n),
                      Object.defineProperty(e, "prototype", { writable: !1 });
                  })(t, [
                    {
                      key: "errorGenerator",
                      set: function (e) {
                        this._error = e;
                      },
                    },
                  ]),
                  t
                );
              })(c.default);
              (e.default = i), (t.exports = e.default);
            }),
            Fn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = _n()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.SELECTOR), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Dn = h((e, t) => {
              g();
              var n = {}.hasOwnProperty,
                c = /[ -,\.\/:-@\[-\^`\{-~]/,
                a = /[ -,\.\/:-@\[\]\^`\{-~]/,
                r = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,
                o = function e(t, o) {
                  (o = (function (e, t) {
                    if (!e) return t;
                    var c = {};
                    for (var a in t) c[a] = n.call(e, a) ? e[a] : t[a];
                    return c;
                  })(o, e.options)),
                    "single" != o.quotes &&
                      "double" != o.quotes &&
                      (o.quotes = "single");
                  for (
                    var i = "double" == o.quotes ? '"' : "'",
                      l = o.isIdentifier,
                      s = t.charAt(0),
                      p = "",
                      u = 0,
                      d = t.length;
                    u < d;

                  ) {
                    var f = t.charAt(u++),
                      h = f.charCodeAt(),
                      m = void 0;
                    if (h < 32 || h > 126) {
                      if (h >= 55296 && h <= 56319 && u < d) {
                        var v = t.charCodeAt(u++);
                        56320 == (64512 & v)
                          ? (h = ((1023 & h) << 10) + (1023 & v) + 65536)
                          : u--;
                      }
                      m = "\\" + h.toString(16).toUpperCase() + " ";
                    } else
                      m = o.escapeEverything
                        ? c.test(f)
                          ? "\\" + f
                          : "\\" + h.toString(16).toUpperCase() + " "
                        : /[\t\n\f\r\x0B]/.test(f)
                        ? "\\" + h.toString(16).toUpperCase() + " "
                        : "\\" == f ||
                          (!l &&
                            (('"' == f && i == f) || ("'" == f && i == f))) ||
                          (l && a.test(f))
                        ? "\\" + f
                        : f;
                    p += m;
                  }
                  return (
                    l &&
                      (/^-[-\d]/.test(p)
                        ? (p = "\\-" + p.slice(1))
                        : /\d/.test(s) && (p = "\\3" + s + " " + p.slice(1))),
                    (p = p.replace(r, function (e, t, n) {
                      return t && t.length % 2 ? e : (t || "") + n;
                    })),
                    !l && o.wrap ? i + p + i : p
                  );
                };
              (o.options = {
                escapeEverything: !1,
                isIdentifier: !1,
                quotes: "single",
                wrap: !1,
              }),
                (o.version = "3.0.0"),
                (t.exports = o);
            }),
            Pn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n = o(Dn()),
                c = Bn(),
                a = o(Mn()),
                r = jn();
              function o(e) {
                return e && e.__esModule ? e : { default: e };
              }
              function i(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              function l(e, t) {
                return (l = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var s = (function (e) {
                function t(t) {
                  var n;
                  return (
                    ((n = e.call(this, t) || this).type = r.CLASS),
                    (n._constructed = !0),
                    n
                  );
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      l(e, t);
                  })(t, e),
                  (t.prototype.valueToString = function () {
                    return "." + e.prototype.valueToString.call(this);
                  }),
                  (function (e, t, n) {
                    t && i(e.prototype, t),
                      n && i(e, n),
                      Object.defineProperty(e, "prototype", { writable: !1 });
                  })(t, [
                    {
                      key: "value",
                      get: function () {
                        return this._value;
                      },
                      set: function (e) {
                        if (this._constructed) {
                          var t = (0, n.default)(e, { isIdentifier: !0 });
                          t !== e
                            ? ((0, c.ensureObject)(this, "raws"),
                              (this.raws.value = t))
                            : this.raws && delete this.raws.value;
                        }
                        this._value = e;
                      },
                    },
                  ]),
                  t
                );
              })(a.default);
              (e.default = s), (t.exports = e.default);
            }),
            Hn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Mn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.COMMENT), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Xn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Mn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.ID), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  (t.prototype.valueToString = function () {
                    return "#" + e.prototype.valueToString.call(this);
                  }),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Nn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n = a(Dn()),
                c = Bn();
              function a(e) {
                return e && e.__esModule ? e : { default: e };
              }
              function r(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              function o(e, t) {
                return (o = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var i = (function (e) {
                function t() {
                  return e.apply(this, arguments) || this;
                }
                !(function (e, t) {
                  (e.prototype = Object.create(t.prototype)),
                    (e.prototype.constructor = e),
                    o(e, t);
                })(t, e);
                var a = t.prototype;
                return (
                  (a.qualifiedName = function (e) {
                    return this.namespace ? this.namespaceString + "|" + e : e;
                  }),
                  (a.valueToString = function () {
                    return this.qualifiedName(
                      e.prototype.valueToString.call(this)
                    );
                  }),
                  (function (e, t, n) {
                    t && r(e.prototype, t),
                      n && r(e, n),
                      Object.defineProperty(e, "prototype", { writable: !1 });
                  })(t, [
                    {
                      key: "namespace",
                      get: function () {
                        return this._namespace;
                      },
                      set: function (e) {
                        if (!0 === e || "*" === e || "&" === e)
                          return (
                            (this._namespace = e),
                            void (this.raws && delete this.raws.namespace)
                          );
                        var t = (0, n.default)(e, { isIdentifier: !0 });
                        (this._namespace = e),
                          t !== e
                            ? ((0, c.ensureObject)(this, "raws"),
                              (this.raws.namespace = t))
                            : this.raws && delete this.raws.namespace;
                      },
                    },
                    {
                      key: "ns",
                      get: function () {
                        return this._namespace;
                      },
                      set: function (e) {
                        this.namespace = e;
                      },
                    },
                    {
                      key: "namespaceString",
                      get: function () {
                        if (this.namespace) {
                          var e = this.stringifyProperty("namespace");
                          return !0 === e ? "" : e;
                        }
                        return "";
                      },
                    },
                  ]),
                  t
                );
              })(a(Mn()).default);
              (e.default = i), (t.exports = e.default);
            }),
            Qn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Nn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.TAG), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Wn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Mn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.STRING), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Un = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = _n()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.PSEUDO), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  (t.prototype.toString = function () {
                    var e = this.length
                      ? "(" + this.map(String).join(",") + ")"
                      : "";
                    return [
                      this.rawSpaceBefore,
                      this.stringifyProperty("value"),
                      e,
                      this.rawSpaceAfter,
                    ].join("");
                  }),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Kn = {};
          function qn(e) {
            return e;
          }
          m(Kn, { deprecate: () => qn });
          var Vn = f(() => {
              g();
            }),
            Gn = h((e, t) => {
              g(), (t.exports = (Vn(), Kn).deprecate);
            }),
            Yn = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.default = void 0),
                (e.unescapeValue = h);
              var t,
                n = o(Dn()),
                c = o(En()),
                a = o(Nn()),
                r = jn();
              function o(e) {
                return e && e.__esModule ? e : { default: e };
              }
              function i(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              function l(e, t) {
                return (l = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var s = Gn(),
                p = /^('|")([^]*)\1$/,
                u = s(function () {},
                "Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),
                d = s(function () {},
                "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),
                f = s(function () {},
                "Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");
              function h(e) {
                var t = !1,
                  n = null,
                  a = e,
                  r = a.match(p);
                return (
                  r && ((n = r[1]), (a = r[2])),
                  (a = (0, c.default)(a)) !== e && (t = !0),
                  { deprecatedUsage: t, unescaped: a, quoteMark: n }
                );
              }
              var m = (function (e) {
                function t(t) {
                  var n;
                  return (
                    void 0 === t && (t = {}),
                    (n =
                      e.call(
                        this,
                        (function (e) {
                          if (void 0 !== e.quoteMark || void 0 === e.value)
                            return e;
                          f();
                          var t = h(e.value),
                            n = t.quoteMark,
                            c = t.unescaped;
                          return (
                            e.raws || (e.raws = {}),
                            void 0 === e.raws.value && (e.raws.value = e.value),
                            (e.value = c),
                            (e.quoteMark = n),
                            e
                          );
                        })(t)
                      ) || this),
                    (n.type = r.ATTRIBUTE),
                    (n.raws = n.raws || {}),
                    Object.defineProperty(n.raws, "unquoted", {
                      get: s(function () {
                        return n.value;
                      }, "attr.raws.unquoted is deprecated. Call attr.value instead."),
                      set: s(function () {
                        return n.value;
                      }, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now."),
                    }),
                    (n._constructed = !0),
                    n
                  );
                }
                !(function (e, t) {
                  (e.prototype = Object.create(t.prototype)),
                    (e.prototype.constructor = e),
                    l(e, t);
                })(t, e);
                var c = t.prototype;
                return (
                  (c.getQuotedValue = function (e) {
                    void 0 === e && (e = {});
                    var t = this._determineQuoteMark(e),
                      c = v[t];
                    return (0, n.default)(this._value, c);
                  }),
                  (c._determineQuoteMark = function (e) {
                    return e.smart
                      ? this.smartQuoteMark(e)
                      : this.preferredQuoteMark(e);
                  }),
                  (c.setValue = function (e, t) {
                    void 0 === t && (t = {}),
                      (this._value = e),
                      (this._quoteMark = this._determineQuoteMark(t)),
                      this._syncRawValue();
                  }),
                  (c.smartQuoteMark = function (e) {
                    var c = this.value,
                      a = c.replace(/[^']/g, "").length,
                      r = c.replace(/[^"]/g, "").length;
                    if (a + r === 0) {
                      var o = (0, n.default)(c, { isIdentifier: !0 });
                      if (o === c) return t.NO_QUOTE;
                      var i = this.preferredQuoteMark(e);
                      if (i === t.NO_QUOTE) {
                        var l = this.quoteMark || e.quoteMark || t.DOUBLE_QUOTE,
                          s = v[l];
                        if ((0, n.default)(c, s).length < o.length) return l;
                      }
                      return i;
                    }
                    return r === a
                      ? this.preferredQuoteMark(e)
                      : r < a
                      ? t.DOUBLE_QUOTE
                      : t.SINGLE_QUOTE;
                  }),
                  (c.preferredQuoteMark = function (e) {
                    var n = e.preferCurrentQuoteMark
                      ? this.quoteMark
                      : e.quoteMark;
                    return (
                      void 0 === n &&
                        (n = e.preferCurrentQuoteMark
                          ? e.quoteMark
                          : this.quoteMark),
                      void 0 === n && (n = t.DOUBLE_QUOTE),
                      n
                    );
                  }),
                  (c._syncRawValue = function () {
                    var e = (0, n.default)(this._value, v[this.quoteMark]);
                    e === this._value
                      ? this.raws && delete this.raws.value
                      : (this.raws.value = e);
                  }),
                  (c._handleEscapes = function (e, t) {
                    if (this._constructed) {
                      var c = (0, n.default)(t, { isIdentifier: !0 });
                      c !== t ? (this.raws[e] = c) : delete this.raws[e];
                    }
                  }),
                  (c._spacesFor = function (e) {
                    var t = this.spaces[e] || {},
                      n = (this.raws.spaces && this.raws.spaces[e]) || {};
                    return Object.assign({ before: "", after: "" }, t, n);
                  }),
                  (c._stringFor = function (e, t, n) {
                    void 0 === t && (t = e), void 0 === n && (n = b);
                    var c = this._spacesFor(t);
                    return n(this.stringifyProperty(e), c);
                  }),
                  (c.offsetOf = function (e) {
                    var t = 1,
                      n = this._spacesFor("attribute");
                    if (
                      ((t += n.before.length), "namespace" === e || "ns" === e)
                    )
                      return this.namespace ? t : -1;
                    if (
                      "attributeNS" === e ||
                      ((t += this.namespaceString.length),
                      this.namespace && (t += 1),
                      "attribute" === e)
                    )
                      return t;
                    (t += this.stringifyProperty("attribute").length),
                      (t += n.after.length);
                    var c = this._spacesFor("operator");
                    t += c.before.length;
                    var a = this.stringifyProperty("operator");
                    if ("operator" === e) return a ? t : -1;
                    (t += a.length), (t += c.after.length);
                    var r = this._spacesFor("value");
                    t += r.before.length;
                    var o = this.stringifyProperty("value");
                    return "value" === e
                      ? o
                        ? t
                        : -1
                      : ((t += o.length),
                        (t += r.after.length),
                        (t += this._spacesFor("insensitive").before.length),
                        "insensitive" === e && this.insensitive ? t : -1);
                  }),
                  (c.toString = function () {
                    var e = this,
                      t = [this.rawSpaceBefore, "["];
                    return (
                      t.push(
                        this._stringFor("qualifiedAttribute", "attribute")
                      ),
                      this.operator &&
                        (this.value || "" === this.value) &&
                        (t.push(this._stringFor("operator")),
                        t.push(this._stringFor("value")),
                        t.push(
                          this._stringFor(
                            "insensitiveFlag",
                            "insensitive",
                            function (t, n) {
                              return (
                                t.length > 0 &&
                                  !e.quoted &&
                                  0 === n.before.length &&
                                  !(e.spaces.value && e.spaces.value.after) &&
                                  (n.before = " "),
                                b(t, n)
                              );
                            }
                          )
                        )),
                      t.push("]"),
                      t.push(this.rawSpaceAfter),
                      t.join("")
                    );
                  }),
                  (function (e, t, n) {
                    t && i(e.prototype, t),
                      n && i(e, n),
                      Object.defineProperty(e, "prototype", { writable: !1 });
                  })(t, [
                    {
                      key: "quoted",
                      get: function () {
                        var e = this.quoteMark;
                        return "'" === e || '"' === e;
                      },
                      set: function (e) {
                        d();
                      },
                    },
                    {
                      key: "quoteMark",
                      get: function () {
                        return this._quoteMark;
                      },
                      set: function (e) {
                        this._constructed
                          ? this._quoteMark !== e &&
                            ((this._quoteMark = e), this._syncRawValue())
                          : (this._quoteMark = e);
                      },
                    },
                    {
                      key: "qualifiedAttribute",
                      get: function () {
                        return this.qualifiedName(
                          this.raws.attribute || this.attribute
                        );
                      },
                    },
                    {
                      key: "insensitiveFlag",
                      get: function () {
                        return this.insensitive ? "i" : "";
                      },
                    },
                    {
                      key: "value",
                      get: function () {
                        return this._value;
                      },
                      set: function (e) {
                        if (this._constructed) {
                          var t = h(e),
                            n = t.deprecatedUsage,
                            c = t.unescaped,
                            a = t.quoteMark;
                          if (
                            (n && u(),
                            c === this._value && a === this._quoteMark)
                          )
                            return;
                          (this._value = c),
                            (this._quoteMark = a),
                            this._syncRawValue();
                        } else this._value = e;
                      },
                    },
                    {
                      key: "insensitive",
                      get: function () {
                        return this._insensitive;
                      },
                      set: function (e) {
                        e ||
                          ((this._insensitive = !1),
                          this.raws &&
                            ("I" === this.raws.insensitiveFlag ||
                              "i" === this.raws.insensitiveFlag) &&
                            (this.raws.insensitiveFlag = void 0)),
                          (this._insensitive = e);
                      },
                    },
                    {
                      key: "attribute",
                      get: function () {
                        return this._attribute;
                      },
                      set: function (e) {
                        this._handleEscapes("attribute", e),
                          (this._attribute = e);
                      },
                    },
                  ]),
                  t
                );
              })(a.default);
              (e.default = m),
                (m.NO_QUOTE = null),
                (m.SINGLE_QUOTE = "'"),
                (m.DOUBLE_QUOTE = '"');
              var v =
                (((t = {
                  "'": { quotes: "single", wrap: !0 },
                  '"': { quotes: "double", wrap: !0 },
                }).null = { isIdentifier: !0 }),
                t);
              function b(e, t) {
                return "" + t.before + e + t.after;
              }
            }),
            Zn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Nn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return (
                    ((n = e.call(this, t) || this).type = a.UNIVERSAL),
                    (n.value = "*"),
                    n
                  );
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            Jn = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Mn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return ((n = e.call(this, t) || this).type = a.COMBINATOR), n;
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            ec = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = Mn()) && n.__esModule ? n : { default: n },
                a = jn();
              function r(e, t) {
                return (r = Object.setPrototypeOf
                  ? Object.setPrototypeOf.bind()
                  : function (e, t) {
                      return (e.__proto__ = t), e;
                    })(e, t);
              }
              var o = (function (e) {
                function t(t) {
                  var n;
                  return (
                    ((n = e.call(this, t) || this).type = a.NESTING),
                    (n.value = "&"),
                    n
                  );
                }
                return (
                  (function (e, t) {
                    (e.prototype = Object.create(t.prototype)),
                      (e.prototype.constructor = e),
                      r(e, t);
                  })(t, e),
                  t
                );
              })(c.default);
              (e.default = o), (t.exports = e.default);
            }),
            tc = h((e, t) => {
              g(),
                (e.__esModule = !0),
                (e.default = function (e) {
                  return e.sort(function (e, t) {
                    return e - t;
                  });
                }),
                (t.exports = e.default);
            }),
            nc = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.word =
                  e.tilde =
                  e.tab =
                  e.str =
                  e.space =
                  e.slash =
                  e.singleQuote =
                  e.semicolon =
                  e.plus =
                  e.pipe =
                  e.openSquare =
                  e.openParenthesis =
                  e.newline =
                  e.greaterThan =
                  e.feed =
                  e.equals =
                  e.doubleQuote =
                  e.dollar =
                  e.cr =
                  e.comment =
                  e.comma =
                  e.combinator =
                  e.colon =
                  e.closeSquare =
                  e.closeParenthesis =
                  e.caret =
                  e.bang =
                  e.backslash =
                  e.at =
                  e.asterisk =
                  e.ampersand =
                    void 0);
              e.ampersand = 38;
              e.asterisk = 42;
              e.at = 64;
              e.comma = 44;
              e.colon = 58;
              e.semicolon = 59;
              e.openParenthesis = 40;
              e.closeParenthesis = 41;
              e.openSquare = 91;
              e.closeSquare = 93;
              e.dollar = 36;
              e.tilde = 126;
              e.caret = 94;
              e.plus = 43;
              e.equals = 61;
              e.pipe = 124;
              e.greaterThan = 62;
              e.space = 32;
              e.singleQuote = 39;
              e.doubleQuote = 34;
              e.slash = 47;
              e.bang = 33;
              e.backslash = 92;
              e.cr = 13;
              e.feed = 12;
              e.newline = 10;
              e.tab = 9;
              e.str = 39;
              e.comment = -1;
              e.word = -2;
              e.combinator = -3;
            }),
            cc = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.FIELDS = void 0),
                (e.default = function (e) {
                  var t,
                    n,
                    a,
                    r,
                    o,
                    i,
                    l,
                    s,
                    u,
                    d,
                    f,
                    h,
                    m = [],
                    v = e.css.valueOf(),
                    g = v.length,
                    b = -1,
                    x = 1,
                    w = 0,
                    y = 0;
                  function k(t, n) {
                    if (!e.safe) throw e.error("Unclosed " + t, x, w - b, w);
                    s = (v += n).length - 1;
                  }
                  for (; w < g; ) {
                    switch (
                      ((t = v.charCodeAt(w)) === c.newline &&
                        ((b = w), (x += 1)),
                      t)
                    ) {
                      case c.space:
                      case c.tab:
                      case c.newline:
                      case c.cr:
                      case c.feed:
                        s = w;
                        do {
                          (s += 1),
                            (t = v.charCodeAt(s)) === c.newline &&
                              ((b = s), (x += 1));
                        } while (
                          t === c.space ||
                          t === c.newline ||
                          t === c.tab ||
                          t === c.cr ||
                          t === c.feed
                        );
                        (h = c.space), (a = x), (n = s - b - 1), (y = s);
                        break;
                      case c.plus:
                      case c.greaterThan:
                      case c.tilde:
                      case c.pipe:
                        s = w;
                        do {
                          (s += 1), (t = v.charCodeAt(s));
                        } while (
                          t === c.plus ||
                          t === c.greaterThan ||
                          t === c.tilde ||
                          t === c.pipe
                        );
                        (h = c.combinator), (a = x), (n = w - b), (y = s);
                        break;
                      case c.asterisk:
                      case c.ampersand:
                      case c.bang:
                      case c.comma:
                      case c.equals:
                      case c.dollar:
                      case c.caret:
                      case c.openSquare:
                      case c.closeSquare:
                      case c.colon:
                      case c.semicolon:
                      case c.openParenthesis:
                      case c.closeParenthesis:
                        (h = t), (a = x), (n = w - b), (y = (s = w) + 1);
                        break;
                      case c.singleQuote:
                      case c.doubleQuote:
                        (f = t === c.singleQuote ? "'" : '"'), (s = w);
                        do {
                          for (
                            r = !1,
                              -1 === (s = v.indexOf(f, s + 1)) && k("quote", f),
                              o = s;
                            v.charCodeAt(o - 1) === c.backslash;

                          )
                            (o -= 1), (r = !r);
                        } while (r);
                        (h = c.str), (a = x), (n = w - b), (y = s + 1);
                        break;
                      default:
                        t === c.slash && v.charCodeAt(w + 1) === c.asterisk
                          ? (0 === (s = v.indexOf("*/", w + 2) + 1) &&
                              k("comment", "*/"),
                            (i =
                              (l = v.slice(w, s + 1).split("\n")).length - 1) >
                            0
                              ? ((u = x + i), (d = s - l[i].length))
                              : ((u = x), (d = b)),
                            (h = c.comment),
                            (x = u),
                            (a = u),
                            (n = s - d))
                          : t === c.slash
                          ? ((h = t), (a = x), (n = w - b), (y = (s = w) + 1))
                          : ((s = p(v, w)), (h = c.word), (a = x), (n = s - b)),
                          (y = s + 1);
                    }
                    m.push([h, x, w - b, a, n, w, y]),
                      d && ((b = d), (d = null)),
                      (w = y);
                  }
                  return m;
                });
              var t,
                n,
                c = (function (e, t) {
                  if (!t && e && e.__esModule) return e;
                  if (
                    null === e ||
                    ("object" != typeof e && "function" != typeof e)
                  )
                    return { default: e };
                  var n = a(t);
                  if (n && n.has(e)) return n.get(e);
                  var c = {},
                    r =
                      Object.defineProperty && Object.getOwnPropertyDescriptor;
                  for (var o in e)
                    if (
                      "default" !== o &&
                      Object.prototype.hasOwnProperty.call(e, o)
                    ) {
                      var i = r ? Object.getOwnPropertyDescriptor(e, o) : null;
                      i && (i.get || i.set)
                        ? Object.defineProperty(c, o, i)
                        : (c[o] = e[o]);
                    }
                  return (c.default = e), n && n.set(e, c), c;
                })(nc());
              function a(e) {
                if ("function" != typeof WeakMap) return null;
                var t = new WeakMap(),
                  n = new WeakMap();
                return (a = function (e) {
                  return e ? n : t;
                })(e);
              }
              var r,
                o =
                  (((t = {})[c.tab] = !0),
                  (t[c.newline] = !0),
                  (t[c.cr] = !0),
                  (t[c.feed] = !0),
                  t),
                i =
                  (((n = {})[c.space] = !0),
                  (n[c.tab] = !0),
                  (n[c.newline] = !0),
                  (n[c.cr] = !0),
                  (n[c.feed] = !0),
                  (n[c.ampersand] = !0),
                  (n[c.asterisk] = !0),
                  (n[c.bang] = !0),
                  (n[c.comma] = !0),
                  (n[c.colon] = !0),
                  (n[c.semicolon] = !0),
                  (n[c.openParenthesis] = !0),
                  (n[c.closeParenthesis] = !0),
                  (n[c.openSquare] = !0),
                  (n[c.closeSquare] = !0),
                  (n[c.singleQuote] = !0),
                  (n[c.doubleQuote] = !0),
                  (n[c.plus] = !0),
                  (n[c.pipe] = !0),
                  (n[c.tilde] = !0),
                  (n[c.greaterThan] = !0),
                  (n[c.equals] = !0),
                  (n[c.dollar] = !0),
                  (n[c.caret] = !0),
                  (n[c.slash] = !0),
                  n),
                l = {},
                s = "0123456789abcdefABCDEF";
              for (r = 0; r < 22; r++) l[s.charCodeAt(r)] = !0;
              function p(e, t) {
                var n,
                  a = t;
                do {
                  if (((n = e.charCodeAt(a)), i[n])) return a - 1;
                  n === c.backslash ? (a = u(e, a) + 1) : a++;
                } while (a < e.length);
                return a - 1;
              }
              function u(e, t) {
                var n = t,
                  a = e.charCodeAt(n + 1);
                if (!o[a])
                  if (l[a]) {
                    var r = 0;
                    do {
                      n++, r++, (a = e.charCodeAt(n + 1));
                    } while (l[a] && r < 6);
                    r < 6 && a === c.space && n++;
                  } else n++;
                return n;
              }
              e.FIELDS = {
                TYPE: 0,
                START_LINE: 1,
                START_COL: 2,
                END_LINE: 3,
                END_COL: 4,
                START_POS: 5,
                END_POS: 6,
              };
            }),
            ac = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c,
                a = R(zn()),
                r = R(Fn()),
                o = R(Pn()),
                i = R(Hn()),
                l = R(Xn()),
                s = R(Qn()),
                p = R(Wn()),
                u = R(Un()),
                d = C(Yn()),
                f = R(Zn()),
                h = R(Jn()),
                m = R(ec()),
                v = R(tc()),
                b = C(cc()),
                x = C(nc()),
                w = C(jn()),
                y = Bn();
              function k(e) {
                if ("function" != typeof WeakMap) return null;
                var t = new WeakMap(),
                  n = new WeakMap();
                return (k = function (e) {
                  return e ? n : t;
                })(e);
              }
              function C(e, t) {
                if (!t && e && e.__esModule) return e;
                if (
                  null === e ||
                  ("object" != typeof e && "function" != typeof e)
                )
                  return { default: e };
                var n = k(t);
                if (n && n.has(e)) return n.get(e);
                var c = {},
                  a = Object.defineProperty && Object.getOwnPropertyDescriptor;
                for (var r in e)
                  if (
                    "default" !== r &&
                    Object.prototype.hasOwnProperty.call(e, r)
                  ) {
                    var o = a ? Object.getOwnPropertyDescriptor(e, r) : null;
                    o && (o.get || o.set)
                      ? Object.defineProperty(c, r, o)
                      : (c[r] = e[r]);
                  }
                return (c.default = e), n && n.set(e, c), c;
              }
              function R(e) {
                return e && e.__esModule ? e : { default: e };
              }
              function O(e, t) {
                for (var n = 0; n < t.length; n++) {
                  var c = t[n];
                  (c.enumerable = c.enumerable || !1),
                    (c.configurable = !0),
                    "value" in c && (c.writable = !0),
                    Object.defineProperty(e, c.key, c);
                }
              }
              var $ =
                  (((n = {})[x.space] = !0),
                  (n[x.cr] = !0),
                  (n[x.feed] = !0),
                  (n[x.newline] = !0),
                  (n[x.tab] = !0),
                  n),
                L = Object.assign({}, $, (((c = {})[x.comment] = !0), c));
              function S(e) {
                return {
                  line: e[b.FIELDS.START_LINE],
                  column: e[b.FIELDS.START_COL],
                };
              }
              function E(e) {
                return {
                  line: e[b.FIELDS.END_LINE],
                  column: e[b.FIELDS.END_COL],
                };
              }
              function I(e, t, n, c) {
                return {
                  start: { line: e, column: t },
                  end: { line: n, column: c },
                };
              }
              function T(e) {
                return I(
                  e[b.FIELDS.START_LINE],
                  e[b.FIELDS.START_COL],
                  e[b.FIELDS.END_LINE],
                  e[b.FIELDS.END_COL]
                );
              }
              function A(e, t) {
                if (e)
                  return I(
                    e[b.FIELDS.START_LINE],
                    e[b.FIELDS.START_COL],
                    t[b.FIELDS.END_LINE],
                    t[b.FIELDS.END_COL]
                  );
              }
              function B(e, t) {
                var n = e[t];
                if ("string" == typeof n)
                  return (
                    -1 !== n.indexOf("\\") &&
                      ((0, y.ensureObject)(e, "raws"),
                      (e[t] = (0, y.unesc)(n)),
                      void 0 === e.raws[t] && (e.raws[t] = n)),
                    e
                  );
              }
              function M(e, t) {
                for (var n = -1, c = []; -1 !== (n = e.indexOf(t, n + 1)); )
                  c.push(n);
                return c;
              }
              var j = (function () {
                function e(e, t) {
                  void 0 === t && (t = {}),
                    (this.rule = e),
                    (this.options = Object.assign({ lossy: !1, safe: !1 }, t)),
                    (this.position = 0),
                    (this.css =
                      "string" == typeof this.rule
                        ? this.rule
                        : this.rule.selector),
                    (this.tokens = (0, b.default)({
                      css: this.css,
                      error: this._errorGenerator(),
                      safe: this.options.safe,
                    }));
                  var n = A(
                    this.tokens[0],
                    this.tokens[this.tokens.length - 1]
                  );
                  (this.root = new a.default({ source: n })),
                    (this.root.errorGenerator = this._errorGenerator());
                  var c = new r.default({
                    source: { start: { line: 1, column: 1 } },
                  });
                  this.root.append(c), (this.current = c), this.loop();
                }
                var t = e.prototype;
                return (
                  (t._errorGenerator = function () {
                    var e = this;
                    return function (t, n) {
                      return "string" == typeof e.rule
                        ? new Error(t)
                        : e.rule.error(t, n);
                    };
                  }),
                  (t.attribute = function () {
                    var e = [],
                      t = this.currToken;
                    for (
                      this.position++;
                      this.position < this.tokens.length &&
                      this.currToken[b.FIELDS.TYPE] !== x.closeSquare;

                    )
                      e.push(this.currToken), this.position++;
                    if (this.currToken[b.FIELDS.TYPE] !== x.closeSquare)
                      return this.expected(
                        "closing square bracket",
                        this.currToken[b.FIELDS.START_POS]
                      );
                    var n = e.length,
                      c = {
                        source: I(
                          t[1],
                          t[2],
                          this.currToken[3],
                          this.currToken[4]
                        ),
                        sourceIndex: t[b.FIELDS.START_POS],
                      };
                    if (1 === n && !~[x.word].indexOf(e[0][b.FIELDS.TYPE]))
                      return this.expected(
                        "attribute",
                        e[0][b.FIELDS.START_POS]
                      );
                    for (var a = 0, r = "", o = "", i = null, l = !1; a < n; ) {
                      var s = e[a],
                        p = this.content(s),
                        u = e[a + 1];
                      switch (s[b.FIELDS.TYPE]) {
                        case x.space:
                          if (((l = !0), this.options.lossy)) break;
                          if (i) {
                            (0, y.ensureObject)(c, "spaces", i);
                            var f = c.spaces[i].after || "";
                            c.spaces[i].after = f + p;
                            var h =
                              (0, y.getProp)(c, "raws", "spaces", i, "after") ||
                              null;
                            h && (c.raws.spaces[i].after = h + p);
                          } else (r += p), (o += p);
                          break;
                        case x.asterisk:
                          if (u[b.FIELDS.TYPE] === x.equals)
                            (c.operator = p), (i = "operator");
                          else if (
                            (!c.namespace || ("namespace" === i && !l)) &&
                            u
                          ) {
                            r &&
                              ((0, y.ensureObject)(c, "spaces", "attribute"),
                              (c.spaces.attribute.before = r),
                              (r = "")),
                              o &&
                                ((0, y.ensureObject)(
                                  c,
                                  "raws",
                                  "spaces",
                                  "attribute"
                                ),
                                (c.raws.spaces.attribute.before = r),
                                (o = "")),
                              (c.namespace = (c.namespace || "") + p),
                              ((0, y.getProp)(c, "raws", "namespace") ||
                                null) &&
                                (c.raws.namespace += p),
                              (i = "namespace");
                          }
                          l = !1;
                          break;
                        case x.dollar:
                          if ("value" === i) {
                            var m = (0, y.getProp)(c, "raws", "value");
                            (c.value += "$"), m && (c.raws.value = m + "$");
                            break;
                          }
                        case x.caret:
                          u[b.FIELDS.TYPE] === x.equals &&
                            ((c.operator = p), (i = "operator")),
                            (l = !1);
                          break;
                        case x.combinator:
                          if (
                            ("~" === p &&
                              u[b.FIELDS.TYPE] === x.equals &&
                              ((c.operator = p), (i = "operator")),
                            "|" !== p)
                          ) {
                            l = !1;
                            break;
                          }
                          u[b.FIELDS.TYPE] === x.equals
                            ? ((c.operator = p), (i = "operator"))
                            : !c.namespace &&
                              !c.attribute &&
                              (c.namespace = !0),
                            (l = !1);
                          break;
                        case x.word:
                          if (
                            u &&
                            "|" === this.content(u) &&
                            e[a + 2] &&
                            e[a + 2][b.FIELDS.TYPE] !== x.equals &&
                            !c.operator &&
                            !c.namespace
                          )
                            (c.namespace = p), (i = "namespace");
                          else if (!c.attribute || ("attribute" === i && !l)) {
                            r &&
                              ((0, y.ensureObject)(c, "spaces", "attribute"),
                              (c.spaces.attribute.before = r),
                              (r = "")),
                              o &&
                                ((0, y.ensureObject)(
                                  c,
                                  "raws",
                                  "spaces",
                                  "attribute"
                                ),
                                (c.raws.spaces.attribute.before = o),
                                (o = "")),
                              (c.attribute = (c.attribute || "") + p),
                              ((0, y.getProp)(c, "raws", "attribute") ||
                                null) &&
                                (c.raws.attribute += p),
                              (i = "attribute");
                          } else if (
                            (!c.value && "" !== c.value) ||
                            ("value" === i && !l && !c.quoteMark)
                          ) {
                            var v = (0, y.unesc)(p),
                              g = (0, y.getProp)(c, "raws", "value") || "",
                              w = c.value || "";
                            (c.value = w + v),
                              (c.quoteMark = null),
                              (v !== p || g) &&
                                ((0, y.ensureObject)(c, "raws"),
                                (c.raws.value = (g || w) + p)),
                              (i = "value");
                          } else {
                            var k = "i" === p || "I" === p;
                            (!c.value && "" !== c.value) || (!c.quoteMark && !l)
                              ? (c.value || "" === c.value) &&
                                ((i = "value"),
                                (c.value += p),
                                c.raws.value && (c.raws.value += p))
                              : ((c.insensitive = k),
                                (!k || "I" === p) &&
                                  ((0, y.ensureObject)(c, "raws"),
                                  (c.raws.insensitiveFlag = p)),
                                (i = "insensitive"),
                                r &&
                                  ((0, y.ensureObject)(
                                    c,
                                    "spaces",
                                    "insensitive"
                                  ),
                                  (c.spaces.insensitive.before = r),
                                  (r = "")),
                                o &&
                                  ((0, y.ensureObject)(
                                    c,
                                    "raws",
                                    "spaces",
                                    "insensitive"
                                  ),
                                  (c.raws.spaces.insensitive.before = o),
                                  (o = "")));
                          }
                          l = !1;
                          break;
                        case x.str:
                          if (!c.attribute || !c.operator)
                            return this.error(
                              "Expected an attribute followed by an operator preceding the string.",
                              { index: s[b.FIELDS.START_POS] }
                            );
                          var C = (0, d.unescapeValue)(p),
                            R = C.unescaped,
                            O = C.quoteMark;
                          (c.value = R),
                            (c.quoteMark = O),
                            (i = "value"),
                            (0, y.ensureObject)(c, "raws"),
                            (c.raws.value = p),
                            (l = !1);
                          break;
                        case x.equals:
                          if (!c.attribute)
                            return this.expected(
                              "attribute",
                              s[b.FIELDS.START_POS],
                              p
                            );
                          if (c.value)
                            return this.error(
                              'Unexpected "=" found; an operator was already defined.',
                              { index: s[b.FIELDS.START_POS] }
                            );
                          (c.operator = c.operator ? c.operator + p : p),
                            (i = "operator"),
                            (l = !1);
                          break;
                        case x.comment:
                          if (i)
                            if (
                              l ||
                              (u && u[b.FIELDS.TYPE] === x.space) ||
                              "insensitive" === i
                            ) {
                              var $ =
                                  (0, y.getProp)(c, "spaces", i, "after") || "",
                                L =
                                  (0, y.getProp)(
                                    c,
                                    "raws",
                                    "spaces",
                                    i,
                                    "after"
                                  ) || $;
                              (0, y.ensureObject)(c, "raws", "spaces", i),
                                (c.raws.spaces[i].after = L + p);
                            } else {
                              var S = c[i] || "",
                                E = (0, y.getProp)(c, "raws", i) || S;
                              (0, y.ensureObject)(c, "raws"),
                                (c.raws[i] = E + p);
                            }
                          else o += p;
                          break;
                        default:
                          return this.error('Unexpected "' + p + '" found.', {
                            index: s[b.FIELDS.START_POS],
                          });
                      }
                      a++;
                    }
                    B(c, "attribute"),
                      B(c, "namespace"),
                      this.newNode(new d.default(c)),
                      this.position++;
                  }),
                  (t.parseWhitespaceEquivalentTokens = function (e) {
                    e < 0 && (e = this.tokens.length);
                    var t = this.position,
                      n = [],
                      c = "",
                      a = void 0;
                    do {
                      if ($[this.currToken[b.FIELDS.TYPE]])
                        this.options.lossy || (c += this.content());
                      else if (this.currToken[b.FIELDS.TYPE] === x.comment) {
                        var r = {};
                        c && ((r.before = c), (c = "")),
                          (a = new i.default({
                            value: this.content(),
                            source: T(this.currToken),
                            sourceIndex: this.currToken[b.FIELDS.START_POS],
                            spaces: r,
                          })),
                          n.push(a);
                      }
                    } while (++this.position < e);
                    if (c)
                      if (a) a.spaces.after = c;
                      else if (!this.options.lossy) {
                        var o = this.tokens[t],
                          l = this.tokens[this.position - 1];
                        n.push(
                          new p.default({
                            value: "",
                            source: I(
                              o[b.FIELDS.START_LINE],
                              o[b.FIELDS.START_COL],
                              l[b.FIELDS.END_LINE],
                              l[b.FIELDS.END_COL]
                            ),
                            sourceIndex: o[b.FIELDS.START_POS],
                            spaces: { before: c, after: "" },
                          })
                        );
                      }
                    return n;
                  }),
                  (t.convertWhitespaceNodesToSpace = function (e, t) {
                    var n = this;
                    void 0 === t && (t = !1);
                    var c = "",
                      a = "";
                    return (
                      e.forEach(function (e) {
                        var r = n.lossySpace(e.spaces.before, t),
                          o = n.lossySpace(e.rawSpaceBefore, t);
                        (c +=
                          r +
                          n.lossySpace(e.spaces.after, t && 0 === r.length)),
                          (a +=
                            r +
                            e.value +
                            n.lossySpace(e.rawSpaceAfter, t && 0 === o.length));
                      }),
                      a === c && (a = void 0),
                      { space: c, rawSpace: a }
                    );
                  }),
                  (t.isNamedCombinator = function (e) {
                    return (
                      void 0 === e && (e = this.position),
                      this.tokens[e + 0] &&
                        this.tokens[e + 0][b.FIELDS.TYPE] === x.slash &&
                        this.tokens[e + 1] &&
                        this.tokens[e + 1][b.FIELDS.TYPE] === x.word &&
                        this.tokens[e + 2] &&
                        this.tokens[e + 2][b.FIELDS.TYPE] === x.slash
                    );
                  }),
                  (t.namedCombinator = function () {
                    if (this.isNamedCombinator()) {
                      var e = this.content(this.tokens[this.position + 1]),
                        t = (0, y.unesc)(e).toLowerCase(),
                        n = {};
                      t !== e && (n.value = "/" + e + "/");
                      var c = new h.default({
                        value: "/" + t + "/",
                        source: I(
                          this.currToken[b.FIELDS.START_LINE],
                          this.currToken[b.FIELDS.START_COL],
                          this.tokens[this.position + 2][b.FIELDS.END_LINE],
                          this.tokens[this.position + 2][b.FIELDS.END_COL]
                        ),
                        sourceIndex: this.currToken[b.FIELDS.START_POS],
                        raws: n,
                      });
                      return (this.position = this.position + 3), c;
                    }
                    this.unexpected();
                  }),
                  (t.combinator = function () {
                    var e = this;
                    if ("|" === this.content()) return this.namespace();
                    var t = this.locateNextMeaningfulToken(this.position);
                    if (!(t < 0 || this.tokens[t][b.FIELDS.TYPE] === x.comma)) {
                      var n,
                        c = this.currToken,
                        a = void 0;
                      if (
                        (t > this.position &&
                          (a = this.parseWhitespaceEquivalentTokens(t)),
                        this.isNamedCombinator()
                          ? (n = this.namedCombinator())
                          : this.currToken[b.FIELDS.TYPE] === x.combinator
                          ? ((n = new h.default({
                              value: this.content(),
                              source: T(this.currToken),
                              sourceIndex: this.currToken[b.FIELDS.START_POS],
                            })),
                            this.position++)
                          : $[this.currToken[b.FIELDS.TYPE]] ||
                            a ||
                            this.unexpected(),
                        n)
                      ) {
                        if (a) {
                          var r = this.convertWhitespaceNodesToSpace(a),
                            o = r.space,
                            i = r.rawSpace;
                          (n.spaces.before = o), (n.rawSpaceBefore = i);
                        }
                      } else {
                        var l = this.convertWhitespaceNodesToSpace(a, !0),
                          s = l.space,
                          p = l.rawSpace;
                        p || (p = s);
                        var u = {},
                          d = { spaces: {} };
                        s.endsWith(" ") && p.endsWith(" ")
                          ? ((u.before = s.slice(0, s.length - 1)),
                            (d.spaces.before = p.slice(0, p.length - 1)))
                          : s.startsWith(" ") && p.startsWith(" ")
                          ? ((u.after = s.slice(1)),
                            (d.spaces.after = p.slice(1)))
                          : (d.value = p),
                          (n = new h.default({
                            value: " ",
                            source: A(c, this.tokens[this.position - 1]),
                            sourceIndex: c[b.FIELDS.START_POS],
                            spaces: u,
                            raws: d,
                          }));
                      }
                      return (
                        this.currToken &&
                          this.currToken[b.FIELDS.TYPE] === x.space &&
                          ((n.spaces.after = this.optionalSpace(
                            this.content()
                          )),
                          this.position++),
                        this.newNode(n)
                      );
                    }
                    var f = this.parseWhitespaceEquivalentTokens(t);
                    if (f.length > 0) {
                      var m = this.current.last;
                      if (m) {
                        var v = this.convertWhitespaceNodesToSpace(f),
                          g = v.space,
                          w = v.rawSpace;
                        void 0 !== w && (m.rawSpaceAfter += w),
                          (m.spaces.after += g);
                      } else
                        f.forEach(function (t) {
                          return e.newNode(t);
                        });
                    }
                  }),
                  (t.comma = function () {
                    if (this.position === this.tokens.length - 1)
                      return (
                        (this.root.trailingComma = !0), void this.position++
                      );
                    this.current._inferEndPosition();
                    var e = new r.default({
                      source: { start: S(this.tokens[this.position + 1]) },
                    });
                    this.current.parent.append(e),
                      (this.current = e),
                      this.position++;
                  }),
                  (t.comment = function () {
                    var e = this.currToken;
                    this.newNode(
                      new i.default({
                        value: this.content(),
                        source: T(e),
                        sourceIndex: e[b.FIELDS.START_POS],
                      })
                    ),
                      this.position++;
                  }),
                  (t.error = function (e, t) {
                    throw this.root.error(e, t);
                  }),
                  (t.missingBackslash = function () {
                    return this.error(
                      "Expected a backslash preceding the semicolon.",
                      { index: this.currToken[b.FIELDS.START_POS] }
                    );
                  }),
                  (t.missingParenthesis = function () {
                    return this.expected(
                      "opening parenthesis",
                      this.currToken[b.FIELDS.START_POS]
                    );
                  }),
                  (t.missingSquareBracket = function () {
                    return this.expected(
                      "opening square bracket",
                      this.currToken[b.FIELDS.START_POS]
                    );
                  }),
                  (t.unexpected = function () {
                    return this.error(
                      "Unexpected '" +
                        this.content() +
                        "'. Escaping special characters with \\ may help.",
                      this.currToken[b.FIELDS.START_POS]
                    );
                  }),
                  (t.unexpectedPipe = function () {
                    return this.error(
                      "Unexpected '|'.",
                      this.currToken[b.FIELDS.START_POS]
                    );
                  }),
                  (t.namespace = function () {
                    var e =
                      (this.prevToken && this.content(this.prevToken)) || !0;
                    return this.nextToken[b.FIELDS.TYPE] === x.word
                      ? (this.position++, this.word(e))
                      : this.nextToken[b.FIELDS.TYPE] === x.asterisk
                      ? (this.position++, this.universal(e))
                      : void this.unexpectedPipe();
                  }),
                  (t.nesting = function () {
                    if (this.nextToken && "|" === this.content(this.nextToken))
                      return void this.position++;
                    var e = this.currToken;
                    this.newNode(
                      new m.default({
                        value: this.content(),
                        source: T(e),
                        sourceIndex: e[b.FIELDS.START_POS],
                      })
                    ),
                      this.position++;
                  }),
                  (t.parentheses = function () {
                    var e = this.current.last,
                      t = 1;
                    if ((this.position++, e && e.type === w.PSEUDO)) {
                      var n = new r.default({
                          source: { start: S(this.tokens[this.position - 1]) },
                        }),
                        c = this.current;
                      for (
                        e.append(n), this.current = n;
                        this.position < this.tokens.length && t;

                      )
                        this.currToken[b.FIELDS.TYPE] === x.openParenthesis &&
                          t++,
                          this.currToken[b.FIELDS.TYPE] ===
                            x.closeParenthesis && t--,
                          t
                            ? this.parse()
                            : ((this.current.source.end = E(this.currToken)),
                              (this.current.parent.source.end = E(
                                this.currToken
                              )),
                              this.position++);
                      this.current = c;
                    } else {
                      for (
                        var a, o = this.currToken, i = "(";
                        this.position < this.tokens.length && t;

                      )
                        this.currToken[b.FIELDS.TYPE] === x.openParenthesis &&
                          t++,
                          this.currToken[b.FIELDS.TYPE] ===
                            x.closeParenthesis && t--,
                          (a = this.currToken),
                          (i += this.parseParenthesisToken(this.currToken)),
                          this.position++;
                      e
                        ? e.appendToPropertyAndEscape("value", i, i)
                        : this.newNode(
                            new p.default({
                              value: i,
                              source: I(
                                o[b.FIELDS.START_LINE],
                                o[b.FIELDS.START_COL],
                                a[b.FIELDS.END_LINE],
                                a[b.FIELDS.END_COL]
                              ),
                              sourceIndex: o[b.FIELDS.START_POS],
                            })
                          );
                    }
                    if (t)
                      return this.expected(
                        "closing parenthesis",
                        this.currToken[b.FIELDS.START_POS]
                      );
                  }),
                  (t.pseudo = function () {
                    for (
                      var e = this, t = "", n = this.currToken;
                      this.currToken &&
                      this.currToken[b.FIELDS.TYPE] === x.colon;

                    )
                      (t += this.content()), this.position++;
                    return this.currToken
                      ? this.currToken[b.FIELDS.TYPE] !== x.word
                        ? this.expected(
                            ["pseudo-class", "pseudo-element"],
                            this.currToken[b.FIELDS.START_POS]
                          )
                        : void this.splitWord(!1, function (c, a) {
                            (t += c),
                              e.newNode(
                                new u.default({
                                  value: t,
                                  source: A(n, e.currToken),
                                  sourceIndex: n[b.FIELDS.START_POS],
                                })
                              ),
                              a > 1 &&
                                e.nextToken &&
                                e.nextToken[b.FIELDS.TYPE] ===
                                  x.openParenthesis &&
                                e.error("Misplaced parenthesis.", {
                                  index: e.nextToken[b.FIELDS.START_POS],
                                });
                          })
                      : this.expected(
                          ["pseudo-class", "pseudo-element"],
                          this.position - 1
                        );
                  }),
                  (t.space = function () {
                    var e = this.content();
                    0 === this.position ||
                    this.prevToken[b.FIELDS.TYPE] === x.comma ||
                    this.prevToken[b.FIELDS.TYPE] === x.openParenthesis ||
                    this.current.nodes.every(function (e) {
                      return "comment" === e.type;
                    })
                      ? ((this.spaces = this.optionalSpace(e)), this.position++)
                      : this.position === this.tokens.length - 1 ||
                        this.nextToken[b.FIELDS.TYPE] === x.comma ||
                        this.nextToken[b.FIELDS.TYPE] === x.closeParenthesis
                      ? ((this.current.last.spaces.after =
                          this.optionalSpace(e)),
                        this.position++)
                      : this.combinator();
                  }),
                  (t.string = function () {
                    var e = this.currToken;
                    this.newNode(
                      new p.default({
                        value: this.content(),
                        source: T(e),
                        sourceIndex: e[b.FIELDS.START_POS],
                      })
                    ),
                      this.position++;
                  }),
                  (t.universal = function (e) {
                    var t = this.nextToken;
                    if (t && "|" === this.content(t))
                      return this.position++, this.namespace();
                    var n = this.currToken;
                    this.newNode(
                      new f.default({
                        value: this.content(),
                        source: T(n),
                        sourceIndex: n[b.FIELDS.START_POS],
                      }),
                      e
                    ),
                      this.position++;
                  }),
                  (t.splitWord = function (e, t) {
                    for (
                      var n = this, c = this.nextToken, a = this.content();
                      c &&
                      ~[x.dollar, x.caret, x.equals, x.word].indexOf(
                        c[b.FIELDS.TYPE]
                      );

                    ) {
                      this.position++;
                      var r = this.content();
                      if (((a += r), r.lastIndexOf("\\") === r.length - 1)) {
                        var i = this.nextToken;
                        i &&
                          i[b.FIELDS.TYPE] === x.space &&
                          ((a += this.requiredSpace(this.content(i))),
                          this.position++);
                      }
                      c = this.nextToken;
                    }
                    var p = M(a, ".").filter(function (e) {
                        var t = "\\" === a[e - 1],
                          n = /^\d+\.\d+%$/.test(a);
                        return !t && !n;
                      }),
                      u = M(a, "#").filter(function (e) {
                        return "\\" !== a[e - 1];
                      }),
                      d = M(a, "#{");
                    d.length &&
                      (u = u.filter(function (e) {
                        return !~d.indexOf(e);
                      }));
                    var f = (0, v.default)(
                      (function () {
                        var e = Array.prototype.concat.apply([], arguments);
                        return e.filter(function (t, n) {
                          return n === e.indexOf(t);
                        });
                      })([0].concat(p, u))
                    );
                    f.forEach(function (c, r) {
                      var i = f[r + 1] || a.length,
                        d = a.slice(c, i);
                      if (0 === r && t) return t.call(n, d, f.length);
                      var h,
                        m = n.currToken,
                        v = m[b.FIELDS.START_POS] + f[r],
                        g = I(m[1], m[2] + c, m[3], m[2] + (i - 1));
                      if (~p.indexOf(c)) {
                        var x = {
                          value: d.slice(1),
                          source: g,
                          sourceIndex: v,
                        };
                        h = new o.default(B(x, "value"));
                      } else if (~u.indexOf(c)) {
                        var w = {
                          value: d.slice(1),
                          source: g,
                          sourceIndex: v,
                        };
                        h = new l.default(B(w, "value"));
                      } else {
                        var y = { value: d, source: g, sourceIndex: v };
                        B(y, "value"), (h = new s.default(y));
                      }
                      n.newNode(h, e), (e = null);
                    }),
                      this.position++;
                  }),
                  (t.word = function (e) {
                    var t = this.nextToken;
                    return t && "|" === this.content(t)
                      ? (this.position++, this.namespace())
                      : this.splitWord(e);
                  }),
                  (t.loop = function () {
                    for (; this.position < this.tokens.length; ) this.parse(!0);
                    return this.current._inferEndPosition(), this.root;
                  }),
                  (t.parse = function (e) {
                    switch (this.currToken[b.FIELDS.TYPE]) {
                      case x.space:
                        this.space();
                        break;
                      case x.comment:
                        this.comment();
                        break;
                      case x.openParenthesis:
                        this.parentheses();
                        break;
                      case x.closeParenthesis:
                        e && this.missingParenthesis();
                        break;
                      case x.openSquare:
                        this.attribute();
                        break;
                      case x.dollar:
                      case x.caret:
                      case x.equals:
                      case x.word:
                        this.word();
                        break;
                      case x.colon:
                        this.pseudo();
                        break;
                      case x.comma:
                        this.comma();
                        break;
                      case x.asterisk:
                        this.universal();
                        break;
                      case x.ampersand:
                        this.nesting();
                        break;
                      case x.slash:
                      case x.combinator:
                        this.combinator();
                        break;
                      case x.str:
                        this.string();
                        break;
                      case x.closeSquare:
                        this.missingSquareBracket();
                      case x.semicolon:
                        this.missingBackslash();
                      default:
                        this.unexpected();
                    }
                  }),
                  (t.expected = function (e, t, n) {
                    if (Array.isArray(e)) {
                      var c = e.pop();
                      e = e.join(", ") + " or " + c;
                    }
                    var a = /^[aeiou]/.test(e[0]) ? "an" : "a";
                    return n
                      ? this.error(
                          "Expected " +
                            a +
                            " " +
                            e +
                            ', found "' +
                            n +
                            '" instead.',
                          { index: t }
                        )
                      : this.error("Expected " + a + " " + e + ".", {
                          index: t,
                        });
                  }),
                  (t.requiredSpace = function (e) {
                    return this.options.lossy ? " " : e;
                  }),
                  (t.optionalSpace = function (e) {
                    return this.options.lossy ? "" : e;
                  }),
                  (t.lossySpace = function (e, t) {
                    return this.options.lossy ? (t ? " " : "") : e;
                  }),
                  (t.parseParenthesisToken = function (e) {
                    var t = this.content(e);
                    return e[b.FIELDS.TYPE] === x.space
                      ? this.requiredSpace(t)
                      : t;
                  }),
                  (t.newNode = function (e, t) {
                    return (
                      t &&
                        (/^ +$/.test(t) &&
                          (this.options.lossy ||
                            (this.spaces = (this.spaces || "") + t),
                          (t = !0)),
                        (e.namespace = t),
                        B(e, "namespace")),
                      this.spaces &&
                        ((e.spaces.before = this.spaces), (this.spaces = "")),
                      this.current.append(e)
                    );
                  }),
                  (t.content = function (e) {
                    return (
                      void 0 === e && (e = this.currToken),
                      this.css.slice(e[b.FIELDS.START_POS], e[b.FIELDS.END_POS])
                    );
                  }),
                  (t.locateNextMeaningfulToken = function (e) {
                    void 0 === e && (e = this.position + 1);
                    for (var t = e; t < this.tokens.length; ) {
                      if (L[this.tokens[t][b.FIELDS.TYPE]]) {
                        t++;
                        continue;
                      }
                      return t;
                    }
                    return -1;
                  }),
                  (function (e, t, n) {
                    t && O(e.prototype, t),
                      n && O(e, n),
                      Object.defineProperty(e, "prototype", { writable: !1 });
                  })(e, [
                    {
                      key: "currToken",
                      get: function () {
                        return this.tokens[this.position];
                      },
                    },
                    {
                      key: "nextToken",
                      get: function () {
                        return this.tokens[this.position + 1];
                      },
                    },
                    {
                      key: "prevToken",
                      get: function () {
                        return this.tokens[this.position - 1];
                      },
                    },
                  ]),
                  e
                );
              })();
              (e.default = j), (t.exports = e.default);
            }),
            rc = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = ac()) && n.__esModule ? n : { default: n };
              var a = (function () {
                function e(e, t) {
                  (this.func = e || function () {}),
                    (this.funcRes = null),
                    (this.options = t);
                }
                var t = e.prototype;
                return (
                  (t._shouldUpdateSelector = function (e, t) {
                    return (
                      void 0 === t && (t = {}),
                      !1 !==
                        Object.assign({}, this.options, t).updateSelector &&
                        "string" != typeof e
                    );
                  }),
                  (t._isLossy = function (e) {
                    return (
                      void 0 === e && (e = {}),
                      !1 === Object.assign({}, this.options, e).lossless
                    );
                  }),
                  (t._root = function (e, t) {
                    return (
                      void 0 === t && (t = {}),
                      new c.default(e, this._parseOptions(t)).root
                    );
                  }),
                  (t._parseOptions = function (e) {
                    return { lossy: this._isLossy(e) };
                  }),
                  (t._run = function (e, t) {
                    var n = this;
                    return (
                      void 0 === t && (t = {}),
                      new Promise(function (c, a) {
                        try {
                          var r = n._root(e, t);
                          Promise.resolve(n.func(r))
                            .then(function (c) {
                              var a = void 0;
                              return (
                                n._shouldUpdateSelector(e, t) &&
                                  ((a = r.toString()), (e.selector = a)),
                                { transform: c, root: r, string: a }
                              );
                            })
                            .then(c, a);
                        } catch (e) {
                          return void a(e);
                        }
                      })
                    );
                  }),
                  (t._runSync = function (e, t) {
                    void 0 === t && (t = {});
                    var n = this._root(e, t),
                      c = this.func(n);
                    if (c && "function" == typeof c.then)
                      throw new Error(
                        "Selector processor returned a promise to a synchronous call."
                      );
                    var a = void 0;
                    return (
                      t.updateSelector &&
                        "string" != typeof e &&
                        ((a = n.toString()), (e.selector = a)),
                      { transform: c, root: n, string: a }
                    );
                  }),
                  (t.ast = function (e, t) {
                    return this._run(e, t).then(function (e) {
                      return e.root;
                    });
                  }),
                  (t.astSync = function (e, t) {
                    return this._runSync(e, t).root;
                  }),
                  (t.transform = function (e, t) {
                    return this._run(e, t).then(function (e) {
                      return e.transform;
                    });
                  }),
                  (t.transformSync = function (e, t) {
                    return this._runSync(e, t).transform;
                  }),
                  (t.process = function (e, t) {
                    return this._run(e, t).then(function (e) {
                      return e.string || e.root.toString();
                    });
                  }),
                  (t.processSync = function (e, t) {
                    var n = this._runSync(e, t);
                    return n.string || n.root.toString();
                  }),
                  e
                );
              })();
              (e.default = a), (t.exports = e.default);
            }),
            oc = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.universal =
                  e.tag =
                  e.string =
                  e.selector =
                  e.root =
                  e.pseudo =
                  e.nesting =
                  e.id =
                  e.comment =
                  e.combinator =
                  e.className =
                  e.attribute =
                    void 0);
              var t = f(Yn()),
                n = f(Pn()),
                c = f(Jn()),
                a = f(Hn()),
                r = f(Xn()),
                o = f(ec()),
                i = f(Un()),
                l = f(zn()),
                s = f(Fn()),
                p = f(Wn()),
                u = f(Qn()),
                d = f(Zn());
              function f(e) {
                return e && e.__esModule ? e : { default: e };
              }
              e.attribute = function (e) {
                return new t.default(e);
              };
              e.className = function (e) {
                return new n.default(e);
              };
              e.combinator = function (e) {
                return new c.default(e);
              };
              e.comment = function (e) {
                return new a.default(e);
              };
              e.id = function (e) {
                return new r.default(e);
              };
              e.nesting = function (e) {
                return new o.default(e);
              };
              e.pseudo = function (e) {
                return new i.default(e);
              };
              e.root = function (e) {
                return new l.default(e);
              };
              e.selector = function (e) {
                return new s.default(e);
              };
              e.string = function (e) {
                return new p.default(e);
              };
              e.tag = function (e) {
                return new u.default(e);
              };
              e.universal = function (e) {
                return new d.default(e);
              };
            }),
            ic = h((e) => {
              g(),
                (e.__esModule = !0),
                (e.isComment =
                  e.isCombinator =
                  e.isClassName =
                  e.isAttribute =
                    void 0),
                (e.isContainer = function (e) {
                  return !(!a(e) || !e.walk);
                }),
                (e.isIdentifier = void 0),
                (e.isNamespace = function (e) {
                  return o(e) || v(e);
                }),
                (e.isNesting = void 0),
                (e.isNode = a),
                (e.isPseudo = void 0),
                (e.isPseudoClass = function (e) {
                  return d(e) && !x(e);
                }),
                (e.isPseudoElement = x),
                (e.isUniversal =
                  e.isTag =
                  e.isString =
                  e.isSelector =
                  e.isRoot =
                    void 0);
              var t,
                n = jn(),
                c =
                  (((t = {})[n.ATTRIBUTE] = !0),
                  (t[n.CLASS] = !0),
                  (t[n.COMBINATOR] = !0),
                  (t[n.COMMENT] = !0),
                  (t[n.ID] = !0),
                  (t[n.NESTING] = !0),
                  (t[n.PSEUDO] = !0),
                  (t[n.ROOT] = !0),
                  (t[n.SELECTOR] = !0),
                  (t[n.STRING] = !0),
                  (t[n.TAG] = !0),
                  (t[n.UNIVERSAL] = !0),
                  t);
              function a(e) {
                return "object" == typeof e && c[e.type];
              }
              function r(e, t) {
                return a(t) && t.type === e;
              }
              var o = r.bind(null, n.ATTRIBUTE);
              e.isAttribute = o;
              var i = r.bind(null, n.CLASS);
              e.isClassName = i;
              var l = r.bind(null, n.COMBINATOR);
              e.isCombinator = l;
              var s = r.bind(null, n.COMMENT);
              e.isComment = s;
              var p = r.bind(null, n.ID);
              e.isIdentifier = p;
              var u = r.bind(null, n.NESTING);
              e.isNesting = u;
              var d = r.bind(null, n.PSEUDO);
              e.isPseudo = d;
              var f = r.bind(null, n.ROOT);
              e.isRoot = f;
              var h = r.bind(null, n.SELECTOR);
              e.isSelector = h;
              var m = r.bind(null, n.STRING);
              e.isString = m;
              var v = r.bind(null, n.TAG);
              e.isTag = v;
              var b = r.bind(null, n.UNIVERSAL);
              function x(e) {
                return (
                  d(e) &&
                  e.value &&
                  (e.value.startsWith("::") ||
                    ":before" === e.value.toLowerCase() ||
                    ":after" === e.value.toLowerCase() ||
                    ":first-letter" === e.value.toLowerCase() ||
                    ":first-line" === e.value.toLowerCase())
                );
              }
              e.isUniversal = b;
            }),
            lc = h((e) => {
              g(), (e.__esModule = !0);
              var t = jn();
              Object.keys(t).forEach(function (n) {
                "default" === n ||
                  "__esModule" === n ||
                  (n in e && e[n] === t[n]) ||
                  (e[n] = t[n]);
              });
              var n = oc();
              Object.keys(n).forEach(function (t) {
                "default" === t ||
                  "__esModule" === t ||
                  (t in e && e[t] === n[t]) ||
                  (e[t] = n[t]);
              });
              var c = ic();
              Object.keys(c).forEach(function (t) {
                "default" === t ||
                  "__esModule" === t ||
                  (t in e && e[t] === c[t]) ||
                  (e[t] = c[t]);
              });
            }),
            sc = h((e, t) => {
              g(), (e.__esModule = !0), (e.default = void 0);
              var n,
                c = (n = rc()) && n.__esModule ? n : { default: n },
                a = (function (e, t) {
                  if (!t && e && e.__esModule) return e;
                  if (
                    null === e ||
                    ("object" != typeof e && "function" != typeof e)
                  )
                    return { default: e };
                  var n = r(t);
                  if (n && n.has(e)) return n.get(e);
                  var c = {},
                    a =
                      Object.defineProperty && Object.getOwnPropertyDescriptor;
                  for (var o in e)
                    if (
                      "default" !== o &&
                      Object.prototype.hasOwnProperty.call(e, o)
                    ) {
                      var i = a ? Object.getOwnPropertyDescriptor(e, o) : null;
                      i && (i.get || i.set)
                        ? Object.defineProperty(c, o, i)
                        : (c[o] = e[o]);
                    }
                  return (c.default = e), n && n.set(e, c), c;
                })(lc());
              function r(e) {
                if ("function" != typeof WeakMap) return null;
                var t = new WeakMap(),
                  n = new WeakMap();
                return (r = function (e) {
                  return e ? n : t;
                })(e);
              }
              var o = function (e) {
                return new c.default(e);
              };
              Object.assign(o, a), delete o.__esModule;
              var i = o;
              (e.default = i), (t.exports = e.default);
            });
          function pc(e) {
            return ["fontSize", "outline"].includes(e)
              ? (e) => (
                  "function" == typeof e && (e = e({})),
                  Array.isArray(e) && (e = e[0]),
                  e
                )
              : "fontFamily" === e
              ? (e) => {
                  "function" == typeof e && (e = e({}));
                  let t = Array.isArray(e) && G(e[1]) ? e[0] : e;
                  return Array.isArray(t) ? t.join(", ") : t;
                }
              : [
                  "boxShadow",
                  "transitionProperty",
                  "transitionDuration",
                  "transitionDelay",
                  "transitionTimingFunction",
                  "backgroundImage",
                  "backgroundSize",
                  "backgroundColor",
                  "cursor",
                  "animation",
                ].includes(e)
              ? (e) => (
                  "function" == typeof e && (e = e({})),
                  Array.isArray(e) && (e = e.join(", ")),
                  e
                )
              : [
                  "gridTemplateColumns",
                  "gridTemplateRows",
                  "objectPosition",
                ].includes(e)
              ? (e) => (
                  "function" == typeof e && (e = e({})),
                  "string" == typeof e && (e = qt.list.comma(e).join(" ")),
                  e
                )
              : (e, t = {}) => ("function" == typeof e && (e = e(t)), e);
          }
          var uc,
            dc,
            fc = f(() => {
              g(), Ln(), Y();
            }),
            hc = h((e, t) => {
              g();
              var { Rule: n, AtRule: c } = $n(),
                a = sc();
              function r(e, t) {
                let n;
                try {
                  a((e) => {
                    n = e;
                  }).processSync(e);
                } catch (n) {
                  throw e.includes(":")
                    ? t
                      ? t.error("Missed semicolon")
                      : n
                    : t
                    ? t.error(n.message)
                    : n;
                }
                return n.at(0);
              }
              function o(e, t) {
                let n = !1;
                return (
                  e.each((e) => {
                    if ("nesting" === e.type) {
                      let c = t.clone({});
                      "&" !== e.value
                        ? e.replaceWith(r(e.value.replace("&", c.toString())))
                        : e.replaceWith(c),
                        (n = !0);
                    } else "nodes" in e && e.nodes && o(e, t) && (n = !0);
                  }),
                  n
                );
              }
              function i(e, t) {
                let n = [];
                return (
                  e.selectors.forEach((c) => {
                    let i = r(c, e);
                    t.selectors.forEach((e) => {
                      if (!e) return;
                      let c = r(e, t);
                      o(c, i) ||
                        (c.prepend(a.combinator({ value: " " })),
                        c.prepend(i.clone({}))),
                        n.push(c.toString());
                    });
                  }),
                  n
                );
              }
              function l(e, t) {
                let n = e.prev();
                for (t.after(e); n && "comment" === n.type; ) {
                  let e = n.prev();
                  t.after(n), (n = e);
                }
                return e;
              }
              function s(e, t, c) {
                let a = new n({ selector: e, nodes: [] });
                return a.append(t), c.after(a), a;
              }
              function p(e, t) {
                let n = {};
                for (let t of e) n[t] = !0;
                if (t) for (let e of t) n[e.replace(/^@/, "")] = !0;
                return n;
              }
              function u(e) {
                let t = e[f];
                if (t) {
                  let n,
                    a,
                    r,
                    o,
                    i = e.nodes,
                    l = -1,
                    s = (function (e) {
                      let t = [],
                        n = e.parent;
                      for (; n && n instanceof c; ) t.push(n), (n = n.parent);
                      return t;
                    })(e);
                  if (
                    (s.forEach((e, c) => {
                      if (t(e.name)) (n = e), (l = c), (r = o);
                      else {
                        let t = o;
                        (o = e.clone({ nodes: [] })),
                          t && o.append(t),
                          (a = a || o);
                      }
                    }),
                    n
                      ? r
                        ? (a.append(i), n.after(r))
                        : n.after(i)
                      : e.after(i),
                    e.next() && n)
                  ) {
                    let t;
                    s.slice(0, l + 1).forEach((n, c, a) => {
                      let r = t;
                      (t = n.clone({ nodes: [] })), r && t.append(r);
                      let o = [],
                        i = (a[c - 1] || e).next();
                      for (; i; ) o.push(i), (i = i.next());
                      t.append(o);
                    }),
                      t && (r || i[i.length - 1]).after(t);
                  }
                } else e.after(e.nodes);
                e.remove();
              }
              var d = Symbol("rootRuleMergeSel"),
                f = Symbol("rootRuleEscapes");
              function h(e) {
                let { params: t } = e,
                  {
                    type: c,
                    selector: a,
                    escapes: r,
                  } = (function (e) {
                    let t = (e = e.trim()).match(/^\((.*)\)$/);
                    if (!t) return { type: "basic", selector: e };
                    let n = t[1].match(/^(with(?:out)?):(.+)$/);
                    if (n) {
                      let e = "with" === n[1],
                        t = Object.fromEntries(
                          n[2]
                            .trim()
                            .split(/\s+/)
                            .map((e) => [e, !0])
                        );
                      if (e && t.all) return { type: "noop" };
                      let c = (e) => !!t[e];
                      return (
                        t.all
                          ? (c = () => !0)
                          : e && (c = (e) => "all" !== e && !t[e]),
                        { type: "withrules", escapes: c }
                      );
                    }
                    return { type: "unknown" };
                  })(t);
                if ("unknown" === c)
                  throw e.error(
                    `Unknown @${e.name} parameter ${JSON.stringify(t)}`
                  );
                if ("basic" === c && a) {
                  let t = new n({ selector: a, nodes: e.nodes });
                  e.removeAll(), e.append(t);
                }
                (e[f] = r), (e[d] = r ? !r("all") : "noop" === c);
              }
              var m = Symbol("hasRootRule");
              (t.exports = (e = {}) => {
                let t = p(
                    ["media", "supports", "layer", "container"],
                    e.bubble
                  ),
                  n = (function (e) {
                    return function t(n, c, a, r = a) {
                      let o = [];
                      if (
                        (c.each((l) => {
                          "rule" === l.type && a
                            ? r && (l.selectors = i(n, l))
                            : "atrule" === l.type && l.nodes
                            ? e[l.name]
                              ? t(n, l, r)
                              : !1 !== c[d] && o.push(l)
                            : o.push(l);
                        }),
                        a && o.length)
                      ) {
                        let e = n.clone({ nodes: [] });
                        for (let t of o) e.append(t);
                        c.prepend(e);
                      }
                    };
                  })(t),
                  c = p(
                    [
                      "document",
                      "font-face",
                      "keyframes",
                      "-webkit-keyframes",
                      "-moz-keyframes",
                    ],
                    e.unwrap
                  ),
                  a = (e.rootRuleName || "at-root").replace(/^@/, ""),
                  r = e.preserveEmpty;
                return {
                  postcssPlugin: "postcss-nested",
                  Once(e) {
                    e.walkAtRules(a, (t) => {
                      h(t), (e[m] = !0);
                    });
                  },
                  Rule(e) {
                    let o = !1,
                      p = e,
                      u = !1,
                      f = [];
                    e.each((r) => {
                      "rule" === r.type
                        ? (f.length && ((p = s(e.selector, f, p)), (f = [])),
                          (u = !0),
                          (o = !0),
                          (r.selectors = i(e, r)),
                          (p = l(r, p)))
                        : "atrule" === r.type
                        ? (f.length && ((p = s(e.selector, f, p)), (f = [])),
                          r.name === a
                            ? ((o = !0), n(e, r, !0, r[d]), (p = l(r, p)))
                            : t[r.name]
                            ? ((u = !0), (o = !0), n(e, r, !0), (p = l(r, p)))
                            : c[r.name]
                            ? ((u = !0), (o = !0), n(e, r, !1), (p = l(r, p)))
                            : u && f.push(r))
                        : "decl" === r.type && u && f.push(r);
                    }),
                      f.length && (p = s(e.selector, f, p)),
                      o &&
                        !0 !== r &&
                        ((e.raws.semicolon = !0),
                        0 === e.nodes.length && e.remove());
                  },
                  RootExit(e) {
                    e[m] && (e.walkAtRules(a, u), (e[m] = !1));
                  },
                };
              }),
                (t.exports.postcss = !0);
            }),
            mc = h((e, t) => {
              g();
              var n = /-(\w|$)/g,
                c = (e, t) => t.toUpperCase();
              t.exports = (e) =>
                "float" === (e = e.toLowerCase())
                  ? "cssFloat"
                  : e.startsWith("-ms-")
                  ? e.substr(1).replace(n, c)
                  : e.replace(n, c);
            }),
            vc = h((e, t) => {
              g();
              var n = mc(),
                c = {
                  boxFlex: !0,
                  boxFlexGroup: !0,
                  columnCount: !0,
                  flex: !0,
                  flexGrow: !0,
                  flexPositive: !0,
                  flexShrink: !0,
                  flexNegative: !0,
                  fontWeight: !0,
                  lineClamp: !0,
                  lineHeight: !0,
                  opacity: !0,
                  order: !0,
                  orphans: !0,
                  tabSize: !0,
                  widows: !0,
                  zIndex: !0,
                  zoom: !0,
                  fillOpacity: !0,
                  strokeDashoffset: !0,
                  strokeOpacity: !0,
                  strokeWidth: !0,
                };
              function a(e) {
                return void 0 === e.nodes || r(e);
              }
              function r(e) {
                let t,
                  o = {};
                return (
                  e.each((e) => {
                    if ("atrule" === e.type)
                      (t = "@" + e.name),
                        e.params && (t += " " + e.params),
                        void 0 === o[t]
                          ? (o[t] = a(e))
                          : Array.isArray(o[t])
                          ? o[t].push(a(e))
                          : (o[t] = [o[t], a(e)]);
                    else if ("rule" === e.type) {
                      let t = r(e);
                      if (o[e.selector])
                        for (let n in t) o[e.selector][n] = t[n];
                      else o[e.selector] = t;
                    } else if ("decl" === e.type) {
                      t =
                        ("-" === e.prop[0] && "-" === e.prop[1]) ||
                        (e.parent && ":export" === e.parent.selector)
                          ? e.prop
                          : n(e.prop);
                      let a = e.value;
                      !isNaN(e.value) && c[t] && (a = parseFloat(e.value)),
                        e.important && (a += " !important"),
                        void 0 === o[t]
                          ? (o[t] = a)
                          : Array.isArray(o[t])
                          ? o[t].push(a)
                          : (o[t] = [o[t], a]);
                    }
                  }),
                  o
                );
              }
              t.exports = r;
            }),
            gc = h((e, t) => {
              g();
              var n = $n(),
                c = /\s*!important\s*$/i,
                a = {
                  "box-flex": !0,
                  "box-flex-group": !0,
                  "column-count": !0,
                  flex: !0,
                  "flex-grow": !0,
                  "flex-positive": !0,
                  "flex-shrink": !0,
                  "flex-negative": !0,
                  "font-weight": !0,
                  "line-clamp": !0,
                  "line-height": !0,
                  opacity: !0,
                  order: !0,
                  orphans: !0,
                  "tab-size": !0,
                  widows: !0,
                  "z-index": !0,
                  zoom: !0,
                  "fill-opacity": !0,
                  "stroke-dashoffset": !0,
                  "stroke-opacity": !0,
                  "stroke-width": !0,
                };
              function r(e, t, r) {
                !1 === r ||
                  null === r ||
                  (t.startsWith("--") ||
                    (t = (function (e) {
                      return e
                        .replace(/([A-Z])/g, "-$1")
                        .replace(/^ms-/, "-ms-")
                        .toLowerCase();
                    })(t)),
                  "number" == typeof r &&
                    (0 === r || a[t] ? (r = r.toString()) : (r += "px")),
                  "css-float" === t && (t = "float"),
                  c.test(r)
                    ? ((r = r.replace(c, "")),
                      e.push(n.decl({ prop: t, value: r, important: !0 })))
                    : e.push(n.decl({ prop: t, value: r })));
              }
              function o(e, t, c) {
                let a = n.atRule({ name: t[1], params: t[3] || "" });
                "object" == typeof c && ((a.nodes = []), i(c, a)), e.push(a);
              }
              function i(e, t) {
                let c, a, l;
                for (c in e)
                  if (((a = e[c]), null != a))
                    if ("@" === c[0]) {
                      let e = c.match(/@(\S+)(\s+([\W\w]*)\s*)?/);
                      if (Array.isArray(a)) for (let n of a) o(t, e, n);
                      else o(t, e, a);
                    } else if (Array.isArray(a)) for (let e of a) r(t, c, e);
                    else
                      "object" == typeof a
                        ? ((l = n.rule({ selector: c })), i(a, l), t.push(l))
                        : r(t, c, a);
              }
              t.exports = function (e) {
                let t = n.root();
                return i(e, t), t;
              };
            }),
            bc = h((e, t) => {
              g();
              var n = vc();
              t.exports = function (e) {
                return (
                  console &&
                    console.warn &&
                    e.warnings().forEach((e) => {
                      let t = e.plugin || "PostCSS";
                      console.warn(t + ": " + e.text);
                    }),
                  n(e.root)
                );
              };
            }),
            xc = h((e, t) => {
              g();
              var n = $n(),
                c = bc(),
                a = gc();
              t.exports = function (e) {
                let t = n(e);
                return async (e) => {
                  let n = await t.process(e, { parser: a, from: void 0 });
                  return c(n);
                };
              };
            }),
            wc = h((e, t) => {
              g();
              var n = $n(),
                c = bc(),
                a = gc();
              t.exports = function (e) {
                let t = n(e);
                return (e) => {
                  let n = t.process(e, { parser: a, from: void 0 });
                  return c(n);
                };
              };
            }),
            yc = h((e, t) => {
              g();
              var n = vc(),
                c = gc(),
                a = xc(),
                r = wc();
              t.exports = { objectify: n, parse: c, async: a, sync: r };
            }),
            kc = f(() => {
              g(),
                (uc = v(yc())),
                (dc = uc.default),
                uc.default.objectify,
                uc.default.parse,
                uc.default.async,
                uc.default.sync;
            });
          function Cc(e) {
            return Array.isArray(e)
              ? e.flatMap(
                  (e) =>
                    qt([(0, Rc.default)({ bubble: ["screen"] })]).process(e, {
                      parser: dc,
                    }).root.nodes
                )
              : Cc([e]);
          }
          var Rc,
            Oc = f(() => {
              g(), Ln(), (Rc = v(hc())), kc();
            });
          function $c(e, t, n = !1) {
            if ("" === e) return t;
            let c = "string" == typeof t ? (0, Lc.default)().astSync(t) : t;
            return (
              c.walkClasses((t) => {
                let c = t.value,
                  a = n && c.startsWith("-");
                t.value = a ? `-${e}${c.slice(1)}` : `${e}${c}`;
              }),
              "string" == typeof t ? c.toString() : c
            );
          }
          var Lc,
            Sc = f(() => {
              g(), (Lc = v(sc()));
            });
          function Ec(e) {
            let t = Ic.default.className();
            return (t.value = e), ee(t?.raws?.value ?? t.value);
          }
          var Ic,
            Tc = f(() => {
              g(), (Ic = v(sc())), ne();
            });
          function Ac(e) {
            return ee(`.${Ec(e)}`);
          }
          function Bc(e, t) {
            return Ac(Mc(e, t));
          }
          function Mc(e, t) {
            return "DEFAULT" === t
              ? e
              : "-" === t || "-DEFAULT" === t
              ? `-${e}`
              : t.startsWith("-")
              ? `-${e}${t}`
              : t.startsWith("/")
              ? `${e}${t}`
              : `${e}-${t}`;
          }
          var jc = f(() => {
            g(), Tc(), ne();
          });
          function _c(e, t = [[e, [e]]], { filterDefault: n = !1, ...c } = {}) {
            let a = pc(e);
            return function ({ matchUtilities: r, theme: o }) {
              for (let i of t) {
                r(
                  (Array.isArray(i[0]) ? i : [i]).reduce(
                    (e, [t, n]) =>
                      Object.assign(e, {
                        [t]: (e) =>
                          n.reduce(
                            (t, n) =>
                              Array.isArray(n)
                                ? Object.assign(t, { [n[0]]: n[1] })
                                : Object.assign(t, { [n]: a(e) }),
                            {}
                          ),
                      }),
                    {}
                  ),
                  {
                    ...c,
                    values: n
                      ? Object.fromEntries(
                          Object.entries(o(e) ?? {}).filter(
                            ([e]) => "DEFAULT" !== e
                          )
                        )
                      : o(e),
                  }
                );
              }
            };
          }
          var zc = f(() => {
            g(), fc();
          });
          function Fc(e) {
            return (e = Array.isArray(e) ? e : [e])
              .map((e) => {
                let t = e.values.map((e) =>
                  void 0 !== e.raw
                    ? e.raw
                    : [
                        e.min && `(min-width: ${e.min})`,
                        e.max && `(max-width: ${e.max})`,
                      ]
                        .filter(Boolean)
                        .join(" and ")
                );
                return e.not ? `not all and ${t}` : t;
              })
              .join(", ");
          }
          var Dc = f(() => {
            g();
          });
          var Pc,
            Hc,
            Xc,
            Nc,
            Qc,
            Wc,
            Uc,
            Kc,
            qc,
            Vc,
            Gc,
            Yc,
            Zc,
            Jc,
            ea = f(() => {
              g(),
                (Pc = new Set([
                  "normal",
                  "reverse",
                  "alternate",
                  "alternate-reverse",
                ])),
                (Hc = new Set(["running", "paused"])),
                (Xc = new Set(["none", "forwards", "backwards", "both"])),
                (Nc = new Set(["infinite"])),
                (Qc = new Set([
                  "linear",
                  "ease",
                  "ease-in",
                  "ease-out",
                  "ease-in-out",
                  "step-start",
                  "step-end",
                ])),
                (Wc = ["cubic-bezier", "steps"]),
                (Uc = /\,(?![^(]*\))/g),
                (Kc = /\ +(?![^(]*\))/g),
                (qc = /^(-?[\d.]+m?s)$/),
                (Vc = /^(\d+)$/);
            }),
            ta = f(() => {
              g(),
                (Yc = Gc =
                  (e) =>
                    Object.assign(
                      {},
                      ...Object.entries(e ?? {}).flatMap(([e, t]) =>
                        "object" == typeof t
                          ? Object.entries(Gc(t)).map(([t, n]) => ({
                              [e + ("DEFAULT" === t ? "" : `-${t}`)]: n,
                            }))
                          : [{ [`${e}`]: t }]
                      )
                    ));
            }),
            na = f(() => {
              Jc = {
                name: "tailwindcss",
                version: (Zc = "3.3.3"),
                description:
                  "A utility-first CSS framework for rapidly building custom user interfaces.",
                license: "MIT",
                main: "lib/index.js",
                types: "types/index.d.ts",
                repository: "https://github.com/tailwindlabs/tailwindcss.git",
                bugs: "https://github.com/tailwindlabs/tailwindcss/issues",
                homepage: "https://tailwindcss.com",
                bin: { tailwind: "lib/cli.js", tailwindcss: "lib/cli.js" },
                tailwindcss: { engine: "stable" },
                scripts: {
                  prebuild: "npm run generate && rimraf lib",
                  build:
                    "swc src --out-dir lib --copy-files --config jsc.transform.optimizer.globals.vars.__OXIDE__='\"false\"'",
                  postbuild:
                    "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false",
                  "rebuild-fixtures":
                    "npm run build && node -r @swc/register scripts/rebuildFixtures.js",
                  style: "eslint .",
                  pretest: "npm run generate",
                  test: "jest",
                  "test:integrations": "npm run test --prefix ./integrations",
                  "install:integrations":
                    "node scripts/install-integrations.js",
                  "generate:plugin-list":
                    "node -r @swc/register scripts/create-plugin-list.js",
                  "generate:types":
                    "node -r @swc/register scripts/generate-types.js",
                  generate:
                    "npm run generate:plugin-list && npm run generate:types",
                  "release-channel": "node ./scripts/release-channel.js",
                  "release-notes": "node ./scripts/release-notes.js",
                  prepublishOnly: "npm install --force && npm run build",
                },
                files: [
                  "src/*",
                  "cli/*",
                  "lib/*",
                  "peers/*",
                  "scripts/*.js",
                  "stubs/*",
                  "nesting/*",
                  "types/**/*",
                  "*.d.ts",
                  "*.css",
                  "*.js",
                ],
                devDependencies: {
                  "@swc/cli": "^0.1.62",
                  "@swc/core": "^1.3.55",
                  "@swc/jest": "^0.2.26",
                  "@swc/register": "^0.1.10",
                  autoprefixer: "^10.4.14",
                  browserslist: "^4.21.5",
                  concurrently: "^8.0.1",
                  cssnano: "^6.0.0",
                  esbuild: "^0.17.18",
                  eslint: "^8.39.0",
                  "eslint-config-prettier": "^8.8.0",
                  "eslint-plugin-prettier": "^4.2.1",
                  jest: "^29.5.0",
                  "jest-diff": "^29.5.0",
                  lightningcss: "1.18.0",
                  prettier: "^2.8.8",
                  rimraf: "^5.0.0",
                  "source-map-js": "^1.0.2",
                  turbo: "^1.9.3",
                },
                dependencies: {
                  "@alloc/quick-lru": "^5.2.0",
                  arg: "^5.0.2",
                  chokidar: "^3.5.3",
                  didyoumean: "^1.2.2",
                  dlv: "^1.1.3",
                  "fast-glob": "^3.2.12",
                  "glob-parent": "^6.0.2",
                  "is-glob": "^4.0.3",
                  jiti: "^1.18.2",
                  lilconfig: "^2.1.0",
                  micromatch: "^4.0.5",
                  "normalize-path": "^3.0.0",
                  "object-hash": "^3.0.0",
                  picocolors: "^1.0.0",
                  postcss: "^8.4.23",
                  "postcss-import": "^15.1.0",
                  "postcss-js": "^4.0.1",
                  "postcss-load-config": "^4.0.1",
                  "postcss-nested": "^6.0.1",
                  "postcss-selector-parser": "^6.0.11",
                  resolve: "^1.22.2",
                  sucrase: "^3.32.0",
                },
                browserslist: [
                  "> 1%",
                  "not edge <= 18",
                  "not ie 11",
                  "not op_mini all",
                ],
                jest: {
                  testTimeout: 3e4,
                  setupFilesAfterEnv: ["<rootDir>/jest/customMatchers.js"],
                  testPathIgnorePatterns: [
                    "/node_modules/",
                    "/integrations/",
                    "/standalone-cli/",
                    "\\.test\\.skip\\.js$",
                  ],
                  transformIgnorePatterns: ["node_modules/(?!lightningcss)"],
                  transform: { "\\.js$": "@swc/jest", "\\.ts$": "@swc/jest" },
                },
                engines: { node: ">=14.0.0" },
              };
            });
          function ca(e, t = !0) {
            return Array.isArray(e)
              ? e.map((e) => {
                  if (t && Array.isArray(e))
                    throw new Error(
                      "The tuple syntax is not supported for `screens`."
                    );
                  if ("string" == typeof e)
                    return {
                      name: e.toString(),
                      not: !1,
                      values: [{ min: e, max: void 0 }],
                    };
                  let [n, c] = e;
                  return (
                    (n = n.toString()),
                    "string" == typeof c
                      ? { name: n, not: !1, values: [{ min: c, max: void 0 }] }
                      : Array.isArray(c)
                      ? { name: n, not: !1, values: c.map((e) => oa(e)) }
                      : { name: n, not: !1, values: [oa(c)] }
                  );
                })
              : ca(Object.entries(e ?? {}), !1);
          }
          function aa(e) {
            return 1 !== e.values.length
              ? { result: !1, reason: "multiple-values" }
              : void 0 !== e.values[0].raw
              ? { result: !1, reason: "raw-values" }
              : void 0 !== e.values[0].min && void 0 !== e.values[0].max
              ? { result: !1, reason: "min-and-max" }
              : { result: !0, reason: null };
          }
          function ra(e, t) {
            return "object" == typeof e
              ? e
              : { name: "arbitrary-screen", values: [{ [t]: e }] };
          }
          function oa({ "min-width": e, min: t = e, max: n, raw: c } = {}) {
            return { min: t, max: n, raw: c };
          }
          var ia = f(() => {
            g();
          });
          function la(e, t) {
            e.walkDecls((e) => {
              if (t.includes(e.prop)) e.remove();
              else
                for (let n of t)
                  e.value.includes(`/ var(${n})`) &&
                    (e.value = e.value.replace(`/ var(${n})`, ""));
            });
          }
          var sa,
            pa,
            ua,
            da,
            fa,
            ha = f(() => {
              g();
            }),
            ma = f(() => {
              g(),
                b(),
                Dt(),
                Ln(),
                zc(),
                Dc(),
                Tc(),
                ea(),
                ta(),
                ge(),
                vt(),
                Y(),
                fc(),
                na(),
                j(),
                ia(),
                Oe(),
                ha(),
                q(),
                Ye(),
                qr(),
                (sa = {
                  pseudoElementVariants: ({ addVariant: e }) => {
                    e("first-letter", "&::first-letter"),
                      e("first-line", "&::first-line"),
                      e("marker", [
                        ({ container: e }) => (
                          la(e, ["--tw-text-opacity"]), "& *::marker"
                        ),
                        ({ container: e }) => (
                          la(e, ["--tw-text-opacity"]), "&::marker"
                        ),
                      ]),
                      e("selection", ["& *::selection", "&::selection"]),
                      e("file", "&::file-selector-button"),
                      e("placeholder", "&::placeholder"),
                      e("backdrop", "&::backdrop"),
                      e(
                        "before",
                        ({ container: e }) => (
                          e.walkRules((e) => {
                            let t = !1;
                            e.walkDecls("content", () => {
                              t = !0;
                            }),
                              t ||
                                e.prepend(
                                  qt.decl({
                                    prop: "content",
                                    value: "var(--tw-content)",
                                  })
                                );
                          }),
                          "&::before"
                        )
                      ),
                      e(
                        "after",
                        ({ container: e }) => (
                          e.walkRules((e) => {
                            let t = !1;
                            e.walkDecls("content", () => {
                              t = !0;
                            }),
                              t ||
                                e.prepend(
                                  qt.decl({
                                    prop: "content",
                                    value: "var(--tw-content)",
                                  })
                                );
                          }),
                          "&::after"
                        )
                      );
                  },
                  pseudoClassVariants: ({
                    addVariant: e,
                    matchVariant: t,
                    config: n,
                    prefix: c,
                  }) => {
                    let a = [
                      ["first", "&:first-child"],
                      ["last", "&:last-child"],
                      ["only", "&:only-child"],
                      ["odd", "&:nth-child(odd)"],
                      ["even", "&:nth-child(even)"],
                      "first-of-type",
                      "last-of-type",
                      "only-of-type",
                      [
                        "visited",
                        ({ container: e }) => (
                          la(e, [
                            "--tw-text-opacity",
                            "--tw-border-opacity",
                            "--tw-bg-opacity",
                          ]),
                          "&:visited"
                        ),
                      ],
                      "target",
                      ["open", "&[open]"],
                      "default",
                      "checked",
                      "indeterminate",
                      "placeholder-shown",
                      "autofill",
                      "optional",
                      "required",
                      "valid",
                      "invalid",
                      "in-range",
                      "out-of-range",
                      "read-only",
                      "empty",
                      "focus-within",
                      [
                        "hover",
                        Q(n(), "hoverOnlyWhenSupported")
                          ? "@media (hover: hover) and (pointer: fine) { &:hover }"
                          : "&:hover",
                      ],
                      "focus",
                      "focus-visible",
                      "active",
                      "enabled",
                      "disabled",
                    ].map((e) => (Array.isArray(e) ? e : [e, `&:${e}`]));
                    for (let [t, n] of a)
                      e(t, (e) => ("function" == typeof n ? n(e) : n));
                    let r = {
                      group: (e, { modifier: t }) =>
                        t
                          ? [`:merge(${c(".group")}\\/${Ec(t)})`, " &"]
                          : [`:merge(${c(".group")})`, " &"],
                      peer: (e, { modifier: t }) =>
                        t
                          ? [`:merge(${c(".peer")}\\/${Ec(t)})`, " ~ &"]
                          : [`:merge(${c(".peer")})`, " ~ &"],
                    };
                    for (let [e, n] of Object.entries(r))
                      t(
                        e,
                        (e = "", t) => {
                          let c = Le("function" == typeof e ? e(t) : e);
                          c.includes("&") || (c = "&" + c);
                          let [a, r] = n("", t),
                            o = null,
                            i = null,
                            l = 0;
                          for (let e = 0; e < c.length; ++e) {
                            let t = c[e];
                            "&" === t
                              ? (o = e)
                              : "'" === t || '"' === t
                              ? (l += 1)
                              : null !== o && " " === t && !l && (i = e);
                          }
                          return (
                            null !== o && null === i && (i = c.length),
                            c.slice(0, o) +
                              a +
                              c.slice(o + 1, i) +
                              r +
                              c.slice(i)
                          );
                        },
                        {
                          values: Object.fromEntries(a),
                          [Hr]: { respectPrefix: !1 },
                        }
                      );
                  },
                  directionVariants: ({ addVariant: e }) => {
                    e("ltr", ':is([dir="ltr"] &)'),
                      e("rtl", ':is([dir="rtl"] &)');
                  },
                  reducedMotionVariants: ({ addVariant: e }) => {
                    e(
                      "motion-safe",
                      "@media (prefers-reduced-motion: no-preference)"
                    ),
                      e(
                        "motion-reduce",
                        "@media (prefers-reduced-motion: reduce)"
                      );
                  },
                  darkVariants: ({ config: e, addVariant: t }) => {
                    let [n, c = ".dark"] = [].concat(e("darkMode", "media"));
                    !1 === n &&
                      ((n = "media"),
                      M.warn("darkmode-false", [
                        "The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.",
                        "Change `darkMode` to `media` or remove it entirely.",
                        "https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration",
                      ])),
                      "class" === n
                        ? t("dark", `:is(${c} &)`)
                        : "media" === n &&
                          t("dark", "@media (prefers-color-scheme: dark)");
                  },
                  printVariant: ({ addVariant: e }) => {
                    e("print", "@media print");
                  },
                  screenVariants: ({
                    theme: e,
                    addVariant: t,
                    matchVariant: n,
                  }) => {
                    let c = e("screens") ?? {},
                      a = Object.values(c).every((e) => "string" == typeof e),
                      r = ca(e("screens")),
                      o = new Set([]);
                    function i(e) {
                      void 0 !== e &&
                        o.add(
                          (function (e) {
                            return e.match(/(\D+)$/)?.[1] ?? "(none)";
                          })(e)
                        );
                    }
                    for (let e of r) for (let t of e.values) i(t.min), i(t.max);
                    let l = o.size <= 1;
                    function s(e) {
                      return (t, n) =>
                        (function (e, t, n) {
                          let c = ra(t, e),
                            a = ra(n, e),
                            r = aa(c),
                            o = aa(a);
                          if (
                            "multiple-values" === r.reason ||
                            "multiple-values" === o.reason
                          )
                            throw new Error(
                              "Attempted to sort a screen with multiple values. This should never happen. Please open a bug report."
                            );
                          if (
                            "raw-values" === r.reason ||
                            "raw-values" === o.reason
                          )
                            throw new Error(
                              "Attempted to sort a screen with raw values. This should never happen. Please open a bug report."
                            );
                          if (
                            "min-and-max" === r.reason ||
                            "min-and-max" === o.reason
                          )
                            throw new Error(
                              "Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report."
                            );
                          let { min: i, max: l } = c.values[0],
                            { min: s, max: p } = a.values[0];
                          t.not && ([i, l] = [l, i]),
                            n.not && ([s, p] = [p, s]),
                            (i = void 0 === i ? i : parseFloat(i)),
                            (l = void 0 === l ? l : parseFloat(l)),
                            (s = void 0 === s ? s : parseFloat(s)),
                            (p = void 0 === p ? p : parseFloat(p));
                          let [u, d] = "min" === e ? [i, s] : [p, l];
                          return u - d;
                        })(e, t.value, n.value);
                    }
                    let p = s("max"),
                      u = s("min");
                    function d(e) {
                      return (t) =>
                        a
                          ? l
                            ? "string" != typeof t ||
                              (function (e) {
                                return i(e), 1 === o.size;
                              })(t)
                              ? [`@media ${Fc(ra(t, e))}`]
                              : (M.warn("minmax-have-mixed-units", [
                                  "The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.",
                                ]),
                                [])
                            : (M.warn("mixed-screen-units", [
                                "The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.",
                              ]),
                              [])
                          : (M.warn("complex-screen-config", [
                              "The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects.",
                            ]),
                            []);
                    }
                    var f;
                    n("max", d("max"), {
                      sort: p,
                      values: a
                        ? ((f = "max"),
                          Object.fromEntries(
                            r
                              .filter((e) => aa(e).result)
                              .map((e) => {
                                let { min: t, max: n } = e.values[0];
                                return "min" === f && void 0 !== t
                                  ? e
                                  : "min" === f && void 0 !== n
                                  ? { ...e, not: !e.not }
                                  : "max" === f && void 0 !== n
                                  ? e
                                  : "max" === f && void 0 !== t
                                  ? { ...e, not: !e.not }
                                  : void 0;
                              })
                              .map((e) => [e.name, e])
                          ))
                        : {},
                    });
                    let h = "min-screens";
                    for (let e of r)
                      t(e.name, `@media ${Fc(e)}`, {
                        id: h,
                        sort: a && l ? u : void 0,
                        value: e,
                      });
                    n("min", d("min"), { id: h, sort: u });
                  },
                  supportsVariants: ({ matchVariant: e, theme: t }) => {
                    e(
                      "supports",
                      (e = "") => {
                        let t = Le(e),
                          n = /^\w*\s*\(/.test(t);
                        return (
                          (t = n ? t.replace(/\b(and|or|not)\b/g, " $1 ") : t),
                          n ||
                            (t.includes(":") || (t = `${t}: var(--tw)`),
                            (t.startsWith("(") && t.endsWith(")")) ||
                              (t = `(${t})`)),
                          `@supports ${t}`
                        );
                      },
                      { values: t("supports") ?? {} }
                    );
                  },
                  ariaVariants: ({ matchVariant: e, theme: t }) => {
                    e("aria", (e) => `&[aria-${Le(e)}]`, {
                      values: t("aria") ?? {},
                    }),
                      e(
                        "group-aria",
                        (e, { modifier: t }) =>
                          t
                            ? `:merge(.group\\/${t})[aria-${Le(e)}] &`
                            : `:merge(.group)[aria-${Le(e)}] &`,
                        { values: t("aria") ?? {} }
                      ),
                      e(
                        "peer-aria",
                        (e, { modifier: t }) =>
                          t
                            ? `:merge(.peer\\/${t})[aria-${Le(e)}] ~ &`
                            : `:merge(.peer)[aria-${Le(e)}] ~ &`,
                        { values: t("aria") ?? {} }
                      );
                  },
                  dataVariants: ({ matchVariant: e, theme: t }) => {
                    e("data", (e) => `&[data-${Le(e)}]`, {
                      values: t("data") ?? {},
                    }),
                      e(
                        "group-data",
                        (e, { modifier: t }) =>
                          t
                            ? `:merge(.group\\/${t})[data-${Le(e)}] &`
                            : `:merge(.group)[data-${Le(e)}] &`,
                        { values: t("data") ?? {} }
                      ),
                      e(
                        "peer-data",
                        (e, { modifier: t }) =>
                          t
                            ? `:merge(.peer\\/${t})[data-${Le(e)}] ~ &`
                            : `:merge(.peer)[data-${Le(e)}] ~ &`,
                        { values: t("data") ?? {} }
                      );
                  },
                  orientationVariants: ({ addVariant: e }) => {
                    e("portrait", "@media (orientation: portrait)"),
                      e("landscape", "@media (orientation: landscape)");
                  },
                  prefersContrastVariants: ({ addVariant: e }) => {
                    e("contrast-more", "@media (prefers-contrast: more)"),
                      e("contrast-less", "@media (prefers-contrast: less)");
                  },
                }),
                (pa = [
                  "translate(var(--tw-translate-x), var(--tw-translate-y))",
                  "rotate(var(--tw-rotate))",
                  "skewX(var(--tw-skew-x))",
                  "skewY(var(--tw-skew-y))",
                  "scaleX(var(--tw-scale-x))",
                  "scaleY(var(--tw-scale-y))",
                ].join(" ")),
                (ua = [
                  "var(--tw-blur)",
                  "var(--tw-brightness)",
                  "var(--tw-contrast)",
                  "var(--tw-grayscale)",
                  "var(--tw-hue-rotate)",
                  "var(--tw-invert)",
                  "var(--tw-saturate)",
                  "var(--tw-sepia)",
                  "var(--tw-drop-shadow)",
                ].join(" ")),
                (da = [
                  "var(--tw-backdrop-blur)",
                  "var(--tw-backdrop-brightness)",
                  "var(--tw-backdrop-contrast)",
                  "var(--tw-backdrop-grayscale)",
                  "var(--tw-backdrop-hue-rotate)",
                  "var(--tw-backdrop-invert)",
                  "var(--tw-backdrop-opacity)",
                  "var(--tw-backdrop-saturate)",
                  "var(--tw-backdrop-sepia)",
                ].join(" ")),
                (fa = {
                  preflight: ({ addBase: e }) => {
                    let t = qt.parse(
                      '*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:theme(\'borderColor.DEFAULT\', currentColor)}::after,::before{--tw-content:\'\'}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:theme(\'fontFamily.sans\', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:theme(\'fontFamily.sans[1].fontFeatureSettings\', normal);font-variation-settings:theme(\'fontFamily.sans[1].fontVariationSettings\', normal)}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:theme(\'fontFamily.mono\', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:theme(\'colors.gray.4\', #9ca3af)}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}'
                    );
                    e([
                      qt.comment({
                        text: `! tailwindcss v${Zc} | MIT License | https://tailwindcss.com`,
                      }),
                      ...t.nodes,
                    ]);
                  },
                  container: function ({ addComponents: e, theme: t }) {
                    let n = ca(t("container.screens", t("screens"))),
                      c = (function (e = []) {
                        return e
                          .flatMap((e) => e.values.map((e) => e.min))
                          .filter((e) => void 0 !== e);
                      })(n),
                      a = (function (e, t, n) {
                        if (void 0 === n) return [];
                        if ("object" != typeof n || null === n)
                          return [
                            { screen: "DEFAULT", minWidth: 0, padding: n },
                          ];
                        let c = [];
                        n.DEFAULT &&
                          c.push({
                            screen: "DEFAULT",
                            minWidth: 0,
                            padding: n.DEFAULT,
                          });
                        for (let a of e)
                          for (let e of t)
                            for (let { min: t } of e.values)
                              t === a &&
                                c.push({ minWidth: a, padding: n[e.name] });
                        return c;
                      })(c, n, t("container.padding")),
                      r = (e) => {
                        let t = a.find((t) => t.minWidth === e);
                        return t
                          ? { paddingRight: t.padding, paddingLeft: t.padding }
                          : {};
                      },
                      o = Array.from(
                        new Set(
                          c.slice().sort((e, t) => parseInt(e) - parseInt(t))
                        )
                      ).map((e) => ({
                        [`@media (min-width: ${e})`]: {
                          ".container": { "max-width": e, ...r(e) },
                        },
                      }));
                    e([
                      {
                        ".container": Object.assign(
                          { width: "100%" },
                          t("container.center", !1)
                            ? { marginRight: "auto", marginLeft: "auto" }
                            : {},
                          r(0)
                        ),
                      },
                      ...o,
                    ]);
                  },
                  accessibility: ({ addUtilities: e }) => {
                    e({
                      ".sr-only": {
                        position: "absolute",
                        width: "1px",
                        height: "1px",
                        padding: "0",
                        margin: "-1px",
                        overflow: "hidden",
                        clip: "rect(0, 0, 0, 0)",
                        whiteSpace: "nowrap",
                        borderWidth: "0",
                      },
                      ".not-sr-only": {
                        position: "static",
                        width: "auto",
                        height: "auto",
                        padding: "0",
                        margin: "0",
                        overflow: "visible",
                        clip: "auto",
                        whiteSpace: "normal",
                      },
                    });
                  },
                  pointerEvents: ({ addUtilities: e }) => {
                    e({
                      ".pointer-events-none": { "pointer-events": "none" },
                      ".pointer-events-auto": { "pointer-events": "auto" },
                    });
                  },
                  visibility: ({ addUtilities: e }) => {
                    e({
                      ".visible": { visibility: "visible" },
                      ".invisible": { visibility: "hidden" },
                      ".collapse": { visibility: "collapse" },
                    });
                  },
                  position: ({ addUtilities: e }) => {
                    e({
                      ".static": { position: "static" },
                      ".fixed": { position: "fixed" },
                      ".absolute": { position: "absolute" },
                      ".relative": { position: "relative" },
                      ".sticky": { position: "sticky" },
                    });
                  },
                  inset: _c(
                    "inset",
                    [
                      ["inset", ["inset"]],
                      [
                        ["inset-x", ["left", "right"]],
                        ["inset-y", ["top", "bottom"]],
                      ],
                      [
                        ["start", ["inset-inline-start"]],
                        ["end", ["inset-inline-end"]],
                        ["top", ["top"]],
                        ["right", ["right"]],
                        ["bottom", ["bottom"]],
                        ["left", ["left"]],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  isolation: ({ addUtilities: e }) => {
                    e({
                      ".isolate": { isolation: "isolate" },
                      ".isolation-auto": { isolation: "auto" },
                    });
                  },
                  zIndex: _c("zIndex", [["z", ["zIndex"]]], {
                    supportsNegativeValues: !0,
                  }),
                  order: _c("order", void 0, { supportsNegativeValues: !0 }),
                  gridColumn: _c("gridColumn", [["col", ["gridColumn"]]]),
                  gridColumnStart: _c("gridColumnStart", [
                    ["col-start", ["gridColumnStart"]],
                  ]),
                  gridColumnEnd: _c("gridColumnEnd", [
                    ["col-end", ["gridColumnEnd"]],
                  ]),
                  gridRow: _c("gridRow", [["row", ["gridRow"]]]),
                  gridRowStart: _c("gridRowStart", [
                    ["row-start", ["gridRowStart"]],
                  ]),
                  gridRowEnd: _c("gridRowEnd", [["row-end", ["gridRowEnd"]]]),
                  float: ({ addUtilities: e }) => {
                    e({
                      ".float-right": { float: "right" },
                      ".float-left": { float: "left" },
                      ".float-none": { float: "none" },
                    });
                  },
                  clear: ({ addUtilities: e }) => {
                    e({
                      ".clear-left": { clear: "left" },
                      ".clear-right": { clear: "right" },
                      ".clear-both": { clear: "both" },
                      ".clear-none": { clear: "none" },
                    });
                  },
                  margin: _c(
                    "margin",
                    [
                      ["m", ["margin"]],
                      [
                        ["mx", ["margin-left", "margin-right"]],
                        ["my", ["margin-top", "margin-bottom"]],
                      ],
                      [
                        ["ms", ["margin-inline-start"]],
                        ["me", ["margin-inline-end"]],
                        ["mt", ["margin-top"]],
                        ["mr", ["margin-right"]],
                        ["mb", ["margin-bottom"]],
                        ["ml", ["margin-left"]],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  boxSizing: ({ addUtilities: e }) => {
                    e({
                      ".box-border": { "box-sizing": "border-box" },
                      ".box-content": { "box-sizing": "content-box" },
                    });
                  },
                  lineClamp: ({
                    matchUtilities: e,
                    addUtilities: t,
                    theme: n,
                  }) => {
                    e(
                      {
                        "line-clamp": (e) => ({
                          overflow: "hidden",
                          display: "-webkit-box",
                          "-webkit-box-orient": "vertical",
                          "-webkit-line-clamp": `${e}`,
                        }),
                      },
                      { values: n("lineClamp") }
                    ),
                      t({
                        ".line-clamp-none": {
                          overflow: "visible",
                          display: "block",
                          "-webkit-box-orient": "horizontal",
                          "-webkit-line-clamp": "none",
                        },
                      });
                  },
                  display: ({ addUtilities: e }) => {
                    e({
                      ".block": { display: "block" },
                      ".inline-block": { display: "inline-block" },
                      ".inline": { display: "inline" },
                      ".flex": { display: "flex" },
                      ".inline-flex": { display: "inline-flex" },
                      ".table": { display: "table" },
                      ".inline-table": { display: "inline-table" },
                      ".table-caption": { display: "table-caption" },
                      ".table-cell": { display: "table-cell" },
                      ".table-column": { display: "table-column" },
                      ".table-column-group": { display: "table-column-group" },
                      ".table-footer-group": { display: "table-footer-group" },
                      ".table-header-group": { display: "table-header-group" },
                      ".table-row-group": { display: "table-row-group" },
                      ".table-row": { display: "table-row" },
                      ".flow-root": { display: "flow-root" },
                      ".grid": { display: "grid" },
                      ".inline-grid": { display: "inline-grid" },
                      ".contents": { display: "contents" },
                      ".list-item": { display: "list-item" },
                      ".hidden": { display: "none" },
                    });
                  },
                  aspectRatio: _c("aspectRatio", [
                    ["aspect", ["aspect-ratio"]],
                  ]),
                  height: _c("height", [["h", ["height"]]]),
                  maxHeight: _c("maxHeight", [["max-h", ["maxHeight"]]]),
                  minHeight: _c("minHeight", [["min-h", ["minHeight"]]]),
                  width: _c("width", [["w", ["width"]]]),
                  minWidth: _c("minWidth", [["min-w", ["minWidth"]]]),
                  maxWidth: _c("maxWidth", [["max-w", ["maxWidth"]]]),
                  flex: _c("flex"),
                  flexShrink: _c("flexShrink", [
                    ["flex-shrink", ["flex-shrink"]],
                    ["shrink", ["flex-shrink"]],
                  ]),
                  flexGrow: _c("flexGrow", [
                    ["flex-grow", ["flex-grow"]],
                    ["grow", ["flex-grow"]],
                  ]),
                  flexBasis: _c("flexBasis", [["basis", ["flex-basis"]]]),
                  tableLayout: ({ addUtilities: e }) => {
                    e({
                      ".table-auto": { "table-layout": "auto" },
                      ".table-fixed": { "table-layout": "fixed" },
                    });
                  },
                  captionSide: ({ addUtilities: e }) => {
                    e({
                      ".caption-top": { "caption-side": "top" },
                      ".caption-bottom": { "caption-side": "bottom" },
                    });
                  },
                  borderCollapse: ({ addUtilities: e }) => {
                    e({
                      ".border-collapse": { "border-collapse": "collapse" },
                      ".border-separate": { "border-collapse": "separate" },
                    });
                  },
                  borderSpacing: ({
                    addDefaults: e,
                    matchUtilities: t,
                    theme: n,
                  }) => {
                    e("border-spacing", {
                      "--tw-border-spacing-x": 0,
                      "--tw-border-spacing-y": 0,
                    }),
                      t(
                        {
                          "border-spacing": (e) => ({
                            "--tw-border-spacing-x": e,
                            "--tw-border-spacing-y": e,
                            "@defaults border-spacing": {},
                            "border-spacing":
                              "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
                          }),
                          "border-spacing-x": (e) => ({
                            "--tw-border-spacing-x": e,
                            "@defaults border-spacing": {},
                            "border-spacing":
                              "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
                          }),
                          "border-spacing-y": (e) => ({
                            "--tw-border-spacing-y": e,
                            "@defaults border-spacing": {},
                            "border-spacing":
                              "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
                          }),
                        },
                        { values: n("borderSpacing") }
                      );
                  },
                  transformOrigin: _c("transformOrigin", [
                    ["origin", ["transformOrigin"]],
                  ]),
                  translate: _c(
                    "translate",
                    [
                      [
                        [
                          "translate-x",
                          [
                            ["@defaults transform", {}],
                            "--tw-translate-x",
                            ["transform", pa],
                          ],
                        ],
                        [
                          "translate-y",
                          [
                            ["@defaults transform", {}],
                            "--tw-translate-y",
                            ["transform", pa],
                          ],
                        ],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  rotate: _c(
                    "rotate",
                    [
                      [
                        "rotate",
                        [
                          ["@defaults transform", {}],
                          "--tw-rotate",
                          ["transform", pa],
                        ],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  skew: _c(
                    "skew",
                    [
                      [
                        [
                          "skew-x",
                          [
                            ["@defaults transform", {}],
                            "--tw-skew-x",
                            ["transform", pa],
                          ],
                        ],
                        [
                          "skew-y",
                          [
                            ["@defaults transform", {}],
                            "--tw-skew-y",
                            ["transform", pa],
                          ],
                        ],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  scale: _c(
                    "scale",
                    [
                      [
                        "scale",
                        [
                          ["@defaults transform", {}],
                          "--tw-scale-x",
                          "--tw-scale-y",
                          ["transform", pa],
                        ],
                      ],
                      [
                        [
                          "scale-x",
                          [
                            ["@defaults transform", {}],
                            "--tw-scale-x",
                            ["transform", pa],
                          ],
                        ],
                        [
                          "scale-y",
                          [
                            ["@defaults transform", {}],
                            "--tw-scale-y",
                            ["transform", pa],
                          ],
                        ],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  transform: ({ addDefaults: e, addUtilities: t }) => {
                    e("transform", {
                      "--tw-translate-x": "0",
                      "--tw-translate-y": "0",
                      "--tw-rotate": "0",
                      "--tw-skew-x": "0",
                      "--tw-skew-y": "0",
                      "--tw-scale-x": "1",
                      "--tw-scale-y": "1",
                    }),
                      t({
                        ".transform": {
                          "@defaults transform": {},
                          transform: pa,
                        },
                        ".transform-cpu": { transform: pa },
                        ".transform-gpu": {
                          transform: pa.replace(
                            "translate(var(--tw-translate-x), var(--tw-translate-y))",
                            "translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)"
                          ),
                        },
                        ".transform-none": { transform: "none" },
                      });
                  },
                  animation: ({ matchUtilities: e, theme: t, config: n }) => {
                    let c = (e) => Ec(n("prefix") + e),
                      a = Object.fromEntries(
                        Object.entries(t("keyframes") ?? {}).map(([e, t]) => [
                          e,
                          { [`@keyframes ${c(e)}`]: t },
                        ])
                      );
                    e(
                      {
                        animate: (e) => {
                          let t = (function (e) {
                            return e.split(Uc).map((e) => {
                              let t = e.trim(),
                                n = { value: t },
                                c = t.split(Kc),
                                a = new Set();
                              for (let e of c)
                                !a.has("DIRECTIONS") && Pc.has(e)
                                  ? ((n.direction = e), a.add("DIRECTIONS"))
                                  : !a.has("PLAY_STATES") && Hc.has(e)
                                  ? ((n.playState = e), a.add("PLAY_STATES"))
                                  : !a.has("FILL_MODES") && Xc.has(e)
                                  ? ((n.fillMode = e), a.add("FILL_MODES"))
                                  : a.has("ITERATION_COUNTS") ||
                                    (!Nc.has(e) && !Vc.test(e))
                                  ? (!a.has("TIMING_FUNCTION") && Qc.has(e)) ||
                                    (!a.has("TIMING_FUNCTION") &&
                                      Wc.some((t) => e.startsWith(`${t}(`)))
                                    ? ((n.timingFunction = e),
                                      a.add("TIMING_FUNCTION"))
                                    : !a.has("DURATION") && qc.test(e)
                                    ? ((n.duration = e), a.add("DURATION"))
                                    : !a.has("DELAY") && qc.test(e)
                                    ? ((n.delay = e), a.add("DELAY"))
                                    : a.has("NAME")
                                    ? (n.unknown || (n.unknown = []),
                                      n.unknown.push(e))
                                    : ((n.name = e), a.add("NAME"))
                                  : ((n.iterationCount = e),
                                    a.add("ITERATION_COUNTS"));
                              return n;
                            });
                          })(e);
                          return [
                            ...t.flatMap((e) => a[e.name]),
                            {
                              animation: t
                                .map(({ name: e, value: t }) =>
                                  void 0 === e || void 0 === a[e]
                                    ? t
                                    : t.replace(e, c(e))
                                )
                                .join(", "),
                            },
                          ];
                        },
                      },
                      { values: t("animation") }
                    );
                  },
                  cursor: _c("cursor"),
                  touchAction: ({ addDefaults: e, addUtilities: t }) => {
                    e("touch-action", {
                      "--tw-pan-x": " ",
                      "--tw-pan-y": " ",
                      "--tw-pinch-zoom": " ",
                    });
                    let n =
                      "var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";
                    t({
                      ".touch-auto": { "touch-action": "auto" },
                      ".touch-none": { "touch-action": "none" },
                      ".touch-pan-x": {
                        "@defaults touch-action": {},
                        "--tw-pan-x": "pan-x",
                        "touch-action": n,
                      },
                      ".touch-pan-left": {
                        "@defaults touch-action": {},
                        "--tw-pan-x": "pan-left",
                        "touch-action": n,
                      },
                      ".touch-pan-right": {
                        "@defaults touch-action": {},
                        "--tw-pan-x": "pan-right",
                        "touch-action": n,
                      },
                      ".touch-pan-y": {
                        "@defaults touch-action": {},
                        "--tw-pan-y": "pan-y",
                        "touch-action": n,
                      },
                      ".touch-pan-up": {
                        "@defaults touch-action": {},
                        "--tw-pan-y": "pan-up",
                        "touch-action": n,
                      },
                      ".touch-pan-down": {
                        "@defaults touch-action": {},
                        "--tw-pan-y": "pan-down",
                        "touch-action": n,
                      },
                      ".touch-pinch-zoom": {
                        "@defaults touch-action": {},
                        "--tw-pinch-zoom": "pinch-zoom",
                        "touch-action": n,
                      },
                      ".touch-manipulation": { "touch-action": "manipulation" },
                    });
                  },
                  userSelect: ({ addUtilities: e }) => {
                    e({
                      ".select-none": { "user-select": "none" },
                      ".select-text": { "user-select": "text" },
                      ".select-all": { "user-select": "all" },
                      ".select-auto": { "user-select": "auto" },
                    });
                  },
                  resize: ({ addUtilities: e }) => {
                    e({
                      ".resize-none": { resize: "none" },
                      ".resize-y": { resize: "vertical" },
                      ".resize-x": { resize: "horizontal" },
                      ".resize": { resize: "both" },
                    });
                  },
                  scrollSnapType: ({ addDefaults: e, addUtilities: t }) => {
                    e("scroll-snap-type", {
                      "--tw-scroll-snap-strictness": "proximity",
                    }),
                      t({
                        ".snap-none": { "scroll-snap-type": "none" },
                        ".snap-x": {
                          "@defaults scroll-snap-type": {},
                          "scroll-snap-type":
                            "x var(--tw-scroll-snap-strictness)",
                        },
                        ".snap-y": {
                          "@defaults scroll-snap-type": {},
                          "scroll-snap-type":
                            "y var(--tw-scroll-snap-strictness)",
                        },
                        ".snap-both": {
                          "@defaults scroll-snap-type": {},
                          "scroll-snap-type":
                            "both var(--tw-scroll-snap-strictness)",
                        },
                        ".snap-mandatory": {
                          "--tw-scroll-snap-strictness": "mandatory",
                        },
                        ".snap-proximity": {
                          "--tw-scroll-snap-strictness": "proximity",
                        },
                      });
                  },
                  scrollSnapAlign: ({ addUtilities: e }) => {
                    e({
                      ".snap-start": { "scroll-snap-align": "start" },
                      ".snap-end": { "scroll-snap-align": "end" },
                      ".snap-center": { "scroll-snap-align": "center" },
                      ".snap-align-none": { "scroll-snap-align": "none" },
                    });
                  },
                  scrollSnapStop: ({ addUtilities: e }) => {
                    e({
                      ".snap-normal": { "scroll-snap-stop": "normal" },
                      ".snap-always": { "scroll-snap-stop": "always" },
                    });
                  },
                  scrollMargin: _c(
                    "scrollMargin",
                    [
                      ["scroll-m", ["scroll-margin"]],
                      [
                        [
                          "scroll-mx",
                          ["scroll-margin-left", "scroll-margin-right"],
                        ],
                        [
                          "scroll-my",
                          ["scroll-margin-top", "scroll-margin-bottom"],
                        ],
                      ],
                      [
                        ["scroll-ms", ["scroll-margin-inline-start"]],
                        ["scroll-me", ["scroll-margin-inline-end"]],
                        ["scroll-mt", ["scroll-margin-top"]],
                        ["scroll-mr", ["scroll-margin-right"]],
                        ["scroll-mb", ["scroll-margin-bottom"]],
                        ["scroll-ml", ["scroll-margin-left"]],
                      ],
                    ],
                    { supportsNegativeValues: !0 }
                  ),
                  scrollPadding: _c("scrollPadding", [
                    ["scroll-p", ["scroll-padding"]],
                    [
                      [
                        "scroll-px",
                        ["scroll-padding-left", "scroll-padding-right"],
                      ],
                      [
                        "scroll-py",
                        ["scroll-padding-top", "scroll-padding-bottom"],
                      ],
                    ],
                    [
                      ["scroll-ps", ["scroll-padding-inline-start"]],
                      ["scroll-pe", ["scroll-padding-inline-end"]],
                      ["scroll-pt", ["scroll-padding-top"]],
                      ["scroll-pr", ["scroll-padding-right"]],
                      ["scroll-pb", ["scroll-padding-bottom"]],
                      ["scroll-pl", ["scroll-padding-left"]],
                    ],
                  ]),
                  listStylePosition: ({ addUtilities: e }) => {
                    e({
                      ".list-inside": { "list-style-position": "inside" },
                      ".list-outside": { "list-style-position": "outside" },
                    });
                  },
                  listStyleType: _c("listStyleType", [
                    ["list", ["listStyleType"]],
                  ]),
                  listStyleImage: _c("listStyleImage", [
                    ["list-image", ["listStyleImage"]],
                  ]),
                  appearance: ({ addUtilities: e }) => {
                    e({ ".appearance-none": { appearance: "none" } });
                  },
                  columns: _c("columns", [["columns", ["columns"]]]),
                  breakBefore: ({ addUtilities: e }) => {
                    e({
                      ".break-before-auto": { "break-before": "auto" },
                      ".break-before-avoid": { "break-before": "avoid" },
                      ".break-before-all": { "break-before": "all" },
                      ".break-before-avoid-page": {
                        "break-before": "avoid-page",
                      },
                      ".break-before-page": { "break-before": "page" },
                      ".break-before-left": { "break-before": "left" },
                      ".break-before-right": { "break-before": "right" },
                      ".break-before-column": { "break-before": "column" },
                    });
                  },
                  breakInside: ({ addUtilities: e }) => {
                    e({
                      ".break-inside-auto": { "break-inside": "auto" },
                      ".break-inside-avoid": { "break-inside": "avoid" },
                      ".break-inside-avoid-page": {
                        "break-inside": "avoid-page",
                      },
                      ".break-inside-avoid-column": {
                        "break-inside": "avoid-column",
                      },
                    });
                  },
                  breakAfter: ({ addUtilities: e }) => {
                    e({
                      ".break-after-auto": { "break-after": "auto" },
                      ".break-after-avoid": { "break-after": "avoid" },
                      ".break-after-all": { "break-after": "all" },
                      ".break-after-avoid-page": {
                        "break-after": "avoid-page",
                      },
                      ".break-after-page": { "break-after": "page" },
                      ".break-after-left": { "break-after": "left" },
                      ".break-after-right": { "break-after": "right" },
                      ".break-after-column": { "break-after": "column" },
                    });
                  },
                  gridAutoColumns: _c("gridAutoColumns", [
                    ["auto-cols", ["gridAutoColumns"]],
                  ]),
                  gridAutoFlow: ({ addUtilities: e }) => {
                    e({
                      ".grid-flow-row": { gridAutoFlow: "row" },
                      ".grid-flow-col": { gridAutoFlow: "column" },
                      ".grid-flow-dense": { gridAutoFlow: "dense" },
                      ".grid-flow-row-dense": { gridAutoFlow: "row dense" },
                      ".grid-flow-col-dense": { gridAutoFlow: "column dense" },
                    });
                  },
                  gridAutoRows: _c("gridAutoRows", [
                    ["auto-rows", ["gridAutoRows"]],
                  ]),
                  gridTemplateColumns: _c("gridTemplateColumns", [
                    ["grid-cols", ["gridTemplateColumns"]],
                  ]),
                  gridTemplateRows: _c("gridTemplateRows", [
                    ["grid-rows", ["gridTemplateRows"]],
                  ]),
                  flexDirection: ({ addUtilities: e }) => {
                    e({
                      ".flex-row": { "flex-direction": "row" },
                      ".flex-row-reverse": { "flex-direction": "row-reverse" },
                      ".flex-col": { "flex-direction": "column" },
                      ".flex-col-reverse": {
                        "flex-direction": "column-reverse",
                      },
                    });
                  },
                  flexWrap: ({ addUtilities: e }) => {
                    e({
                      ".flex-wrap": { "flex-wrap": "wrap" },
                      ".flex-wrap-reverse": { "flex-wrap": "wrap-reverse" },
                      ".flex-nowrap": { "flex-wrap": "nowrap" },
                    });
                  },
                  placeContent: ({ addUtilities: e }) => {
                    e({
                      ".place-content-center": { "place-content": "center" },
                      ".place-content-start": { "place-content": "start" },
                      ".place-content-end": { "place-content": "end" },
                      ".place-content-between": {
                        "place-content": "space-between",
                      },
                      ".place-content-around": {
                        "place-content": "space-around",
                      },
                      ".place-content-evenly": {
                        "place-content": "space-evenly",
                      },
                      ".place-content-baseline": {
                        "place-content": "baseline",
                      },
                      ".place-content-stretch": { "place-content": "stretch" },
                    });
                  },
                  placeItems: ({ addUtilities: e }) => {
                    e({
                      ".place-items-start": { "place-items": "start" },
                      ".place-items-end": { "place-items": "end" },
                      ".place-items-center": { "place-items": "center" },
                      ".place-items-baseline": { "place-items": "baseline" },
                      ".place-items-stretch": { "place-items": "stretch" },
                    });
                  },
                  alignContent: ({ addUtilities: e }) => {
                    e({
                      ".content-normal": { "align-content": "normal" },
                      ".content-center": { "align-content": "center" },
                      ".content-start": { "align-content": "flex-start" },
                      ".content-end": { "align-content": "flex-end" },
                      ".content-between": { "align-content": "space-between" },
                      ".content-around": { "align-content": "space-around" },
                      ".content-evenly": { "align-content": "space-evenly" },
                      ".content-baseline": { "align-content": "baseline" },
                      ".content-stretch": { "align-content": "stretch" },
                    });
                  },
                  alignItems: ({ addUtilities: e }) => {
                    e({
                      ".items-start": { "align-items": "flex-start" },
                      ".items-end": { "align-items": "flex-end" },
                      ".items-center": { "align-items": "center" },
                      ".items-baseline": { "align-items": "baseline" },
                      ".items-stretch": { "align-items": "stretch" },
                    });
                  },
                  justifyContent: ({ addUtilities: e }) => {
                    e({
                      ".justify-normal": { "justify-content": "normal" },
                      ".justify-start": { "justify-content": "flex-start" },
                      ".justify-end": { "justify-content": "flex-end" },
                      ".justify-center": { "justify-content": "center" },
                      ".justify-between": {
                        "justify-content": "space-between",
                      },
                      ".justify-around": { "justify-content": "space-around" },
                      ".justify-evenly": { "justify-content": "space-evenly" },
                      ".justify-stretch": { "justify-content": "stretch" },
                    });
                  },
                  justifyItems: ({ addUtilities: e }) => {
                    e({
                      ".justify-items-start": { "justify-items": "start" },
                      ".justify-items-end": { "justify-items": "end" },
                      ".justify-items-center": { "justify-items": "center" },
                      ".justify-items-stretch": { "justify-items": "stretch" },
                    });
                  },
                  gap: _c("gap", [
                    ["gap", ["gap"]],
                    [
                      ["gap-x", ["columnGap"]],
                      ["gap-y", ["rowGap"]],
                    ],
                  ]),
                  space: ({ matchUtilities: e, addUtilities: t, theme: n }) => {
                    e(
                      {
                        "space-x": (e) => ({
                          "& > :not([hidden]) ~ :not([hidden])": {
                            "--tw-space-x-reverse": "0",
                            "margin-right": `calc(${(e =
                              "0" === e
                                ? "0px"
                                : e)} * var(--tw-space-x-reverse))`,
                            "margin-left": `calc(${e} * calc(1 - var(--tw-space-x-reverse)))`,
                          },
                        }),
                        "space-y": (e) => ({
                          "& > :not([hidden]) ~ :not([hidden])": {
                            "--tw-space-y-reverse": "0",
                            "margin-top": `calc(${(e =
                              "0" === e
                                ? "0px"
                                : e)} * calc(1 - var(--tw-space-y-reverse)))`,
                            "margin-bottom": `calc(${e} * var(--tw-space-y-reverse))`,
                          },
                        }),
                      },
                      { values: n("space"), supportsNegativeValues: !0 }
                    ),
                      t({
                        ".space-y-reverse > :not([hidden]) ~ :not([hidden])": {
                          "--tw-space-y-reverse": "1",
                        },
                        ".space-x-reverse > :not([hidden]) ~ :not([hidden])": {
                          "--tw-space-x-reverse": "1",
                        },
                      });
                  },
                  divideWidth: ({
                    matchUtilities: e,
                    addUtilities: t,
                    theme: n,
                  }) => {
                    e(
                      {
                        "divide-x": (e) => ({
                          "& > :not([hidden]) ~ :not([hidden])": {
                            "@defaults border-width": {},
                            "--tw-divide-x-reverse": "0",
                            "border-right-width": `calc(${(e =
                              "0" === e
                                ? "0px"
                                : e)} * var(--tw-divide-x-reverse))`,
                            "border-left-width": `calc(${e} * calc(1 - var(--tw-divide-x-reverse)))`,
                          },
                        }),
                        "divide-y": (e) => ({
                          "& > :not([hidden]) ~ :not([hidden])": {
                            "@defaults border-width": {},
                            "--tw-divide-y-reverse": "0",
                            "border-top-width": `calc(${(e =
                              "0" === e
                                ? "0px"
                                : e)} * calc(1 - var(--tw-divide-y-reverse)))`,
                            "border-bottom-width": `calc(${e} * var(--tw-divide-y-reverse))`,
                          },
                        }),
                      },
                      {
                        values: n("divideWidth"),
                        type: ["line-width", "length", "any"],
                      }
                    ),
                      t({
                        ".divide-y-reverse > :not([hidden]) ~ :not([hidden])": {
                          "@defaults border-width": {},
                          "--tw-divide-y-reverse": "1",
                        },
                        ".divide-x-reverse > :not([hidden]) ~ :not([hidden])": {
                          "@defaults border-width": {},
                          "--tw-divide-x-reverse": "1",
                        },
                      });
                  },
                  divideStyle: ({ addUtilities: e }) => {
                    e({
                      ".divide-solid > :not([hidden]) ~ :not([hidden])": {
                        "border-style": "solid",
                      },
                      ".divide-dashed > :not([hidden]) ~ :not([hidden])": {
                        "border-style": "dashed",
                      },
                      ".divide-dotted > :not([hidden]) ~ :not([hidden])": {
                        "border-style": "dotted",
                      },
                      ".divide-double > :not([hidden]) ~ :not([hidden])": {
                        "border-style": "double",
                      },
                      ".divide-none > :not([hidden]) ~ :not([hidden])": {
                        "border-style": "none",
                      },
                    });
                  },
                  divideColor: ({
                    matchUtilities: e,
                    theme: t,
                    corePlugins: n,
                  }) => {
                    e(
                      {
                        divide: (e) =>
                          n("divideOpacity")
                            ? {
                                "& > :not([hidden]) ~ :not([hidden])": ve({
                                  color: e,
                                  property: "border-color",
                                  variable: "--tw-divide-opacity",
                                }),
                              }
                            : {
                                "& > :not([hidden]) ~ :not([hidden])": {
                                  "border-color": mt(e),
                                },
                              },
                      },
                      {
                        values: (({ DEFAULT: e, ...t }) => t)(
                          Yc(t("divideColor"))
                        ),
                        type: ["color", "any"],
                      }
                    );
                  },
                  divideOpacity: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "divide-opacity": (e) => ({
                          "& > :not([hidden]) ~ :not([hidden])": {
                            "--tw-divide-opacity": e,
                          },
                        }),
                      },
                      { values: t("divideOpacity") }
                    );
                  },
                  placeSelf: ({ addUtilities: e }) => {
                    e({
                      ".place-self-auto": { "place-self": "auto" },
                      ".place-self-start": { "place-self": "start" },
                      ".place-self-end": { "place-self": "end" },
                      ".place-self-center": { "place-self": "center" },
                      ".place-self-stretch": { "place-self": "stretch" },
                    });
                  },
                  alignSelf: ({ addUtilities: e }) => {
                    e({
                      ".self-auto": { "align-self": "auto" },
                      ".self-start": { "align-self": "flex-start" },
                      ".self-end": { "align-self": "flex-end" },
                      ".self-center": { "align-self": "center" },
                      ".self-stretch": { "align-self": "stretch" },
                      ".self-baseline": { "align-self": "baseline" },
                    });
                  },
                  justifySelf: ({ addUtilities: e }) => {
                    e({
                      ".justify-self-auto": { "justify-self": "auto" },
                      ".justify-self-start": { "justify-self": "start" },
                      ".justify-self-end": { "justify-self": "end" },
                      ".justify-self-center": { "justify-self": "center" },
                      ".justify-self-stretch": { "justify-self": "stretch" },
                    });
                  },
                  overflow: ({ addUtilities: e }) => {
                    e({
                      ".overflow-auto": { overflow: "auto" },
                      ".overflow-hidden": { overflow: "hidden" },
                      ".overflow-clip": { overflow: "clip" },
                      ".overflow-visible": { overflow: "visible" },
                      ".overflow-scroll": { overflow: "scroll" },
                      ".overflow-x-auto": { "overflow-x": "auto" },
                      ".overflow-y-auto": { "overflow-y": "auto" },
                      ".overflow-x-hidden": { "overflow-x": "hidden" },
                      ".overflow-y-hidden": { "overflow-y": "hidden" },
                      ".overflow-x-clip": { "overflow-x": "clip" },
                      ".overflow-y-clip": { "overflow-y": "clip" },
                      ".overflow-x-visible": { "overflow-x": "visible" },
                      ".overflow-y-visible": { "overflow-y": "visible" },
                      ".overflow-x-scroll": { "overflow-x": "scroll" },
                      ".overflow-y-scroll": { "overflow-y": "scroll" },
                    });
                  },
                  overscrollBehavior: ({ addUtilities: e }) => {
                    e({
                      ".overscroll-auto": { "overscroll-behavior": "auto" },
                      ".overscroll-contain": {
                        "overscroll-behavior": "contain",
                      },
                      ".overscroll-none": { "overscroll-behavior": "none" },
                      ".overscroll-y-auto": { "overscroll-behavior-y": "auto" },
                      ".overscroll-y-contain": {
                        "overscroll-behavior-y": "contain",
                      },
                      ".overscroll-y-none": { "overscroll-behavior-y": "none" },
                      ".overscroll-x-auto": { "overscroll-behavior-x": "auto" },
                      ".overscroll-x-contain": {
                        "overscroll-behavior-x": "contain",
                      },
                      ".overscroll-x-none": { "overscroll-behavior-x": "none" },
                    });
                  },
                  scrollBehavior: ({ addUtilities: e }) => {
                    e({
                      ".scroll-auto": { "scroll-behavior": "auto" },
                      ".scroll-smooth": { "scroll-behavior": "smooth" },
                    });
                  },
                  textOverflow: ({ addUtilities: e }) => {
                    e({
                      ".truncate": {
                        overflow: "hidden",
                        "text-overflow": "ellipsis",
                        "white-space": "nowrap",
                      },
                      ".overflow-ellipsis": { "text-overflow": "ellipsis" },
                      ".text-ellipsis": { "text-overflow": "ellipsis" },
                      ".text-clip": { "text-overflow": "clip" },
                    });
                  },
                  hyphens: ({ addUtilities: e }) => {
                    e({
                      ".hyphens-none": { hyphens: "none" },
                      ".hyphens-manual": { hyphens: "manual" },
                      ".hyphens-auto": { hyphens: "auto" },
                    });
                  },
                  whitespace: ({ addUtilities: e }) => {
                    e({
                      ".whitespace-normal": { "white-space": "normal" },
                      ".whitespace-nowrap": { "white-space": "nowrap" },
                      ".whitespace-pre": { "white-space": "pre" },
                      ".whitespace-pre-line": { "white-space": "pre-line" },
                      ".whitespace-pre-wrap": { "white-space": "pre-wrap" },
                      ".whitespace-break-spaces": {
                        "white-space": "break-spaces",
                      },
                    });
                  },
                  wordBreak: ({ addUtilities: e }) => {
                    e({
                      ".break-normal": {
                        "overflow-wrap": "normal",
                        "word-break": "normal",
                      },
                      ".break-words": { "overflow-wrap": "break-word" },
                      ".break-all": { "word-break": "break-all" },
                      ".break-keep": { "word-break": "keep-all" },
                    });
                  },
                  borderRadius: _c("borderRadius", [
                    ["rounded", ["border-radius"]],
                    [
                      [
                        "rounded-s",
                        [
                          "border-start-start-radius",
                          "border-end-start-radius",
                        ],
                      ],
                      [
                        "rounded-e",
                        ["border-start-end-radius", "border-end-end-radius"],
                      ],
                      [
                        "rounded-t",
                        ["border-top-left-radius", "border-top-right-radius"],
                      ],
                      [
                        "rounded-r",
                        [
                          "border-top-right-radius",
                          "border-bottom-right-radius",
                        ],
                      ],
                      [
                        "rounded-b",
                        [
                          "border-bottom-right-radius",
                          "border-bottom-left-radius",
                        ],
                      ],
                      [
                        "rounded-l",
                        ["border-top-left-radius", "border-bottom-left-radius"],
                      ],
                    ],
                    [
                      ["rounded-ss", ["border-start-start-radius"]],
                      ["rounded-se", ["border-start-end-radius"]],
                      ["rounded-ee", ["border-end-end-radius"]],
                      ["rounded-es", ["border-end-start-radius"]],
                      ["rounded-tl", ["border-top-left-radius"]],
                      ["rounded-tr", ["border-top-right-radius"]],
                      ["rounded-br", ["border-bottom-right-radius"]],
                      ["rounded-bl", ["border-bottom-left-radius"]],
                    ],
                  ]),
                  borderWidth: _c(
                    "borderWidth",
                    [
                      [
                        "border",
                        [["@defaults border-width", {}], "border-width"],
                      ],
                      [
                        [
                          "border-x",
                          [
                            ["@defaults border-width", {}],
                            "border-left-width",
                            "border-right-width",
                          ],
                        ],
                        [
                          "border-y",
                          [
                            ["@defaults border-width", {}],
                            "border-top-width",
                            "border-bottom-width",
                          ],
                        ],
                      ],
                      [
                        [
                          "border-s",
                          [
                            ["@defaults border-width", {}],
                            "border-inline-start-width",
                          ],
                        ],
                        [
                          "border-e",
                          [
                            ["@defaults border-width", {}],
                            "border-inline-end-width",
                          ],
                        ],
                        [
                          "border-t",
                          [["@defaults border-width", {}], "border-top-width"],
                        ],
                        [
                          "border-r",
                          [
                            ["@defaults border-width", {}],
                            "border-right-width",
                          ],
                        ],
                        [
                          "border-b",
                          [
                            ["@defaults border-width", {}],
                            "border-bottom-width",
                          ],
                        ],
                        [
                          "border-l",
                          [["@defaults border-width", {}], "border-left-width"],
                        ],
                      ],
                    ],
                    { type: ["line-width", "length"] }
                  ),
                  borderStyle: ({ addUtilities: e }) => {
                    e({
                      ".border-solid": { "border-style": "solid" },
                      ".border-dashed": { "border-style": "dashed" },
                      ".border-dotted": { "border-style": "dotted" },
                      ".border-double": { "border-style": "double" },
                      ".border-hidden": { "border-style": "hidden" },
                      ".border-none": { "border-style": "none" },
                    });
                  },
                  borderColor: ({
                    matchUtilities: e,
                    theme: t,
                    corePlugins: n,
                  }) => {
                    e(
                      {
                        border: (e) =>
                          n("borderOpacity")
                            ? ve({
                                color: e,
                                property: "border-color",
                                variable: "--tw-border-opacity",
                              })
                            : { "border-color": mt(e) },
                      },
                      {
                        values: (({ DEFAULT: e, ...t }) => t)(
                          Yc(t("borderColor"))
                        ),
                        type: ["color", "any"],
                      }
                    ),
                      e(
                        {
                          "border-x": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: [
                                    "border-left-color",
                                    "border-right-color",
                                  ],
                                  variable: "--tw-border-opacity",
                                })
                              : {
                                  "border-left-color": mt(e),
                                  "border-right-color": mt(e),
                                },
                          "border-y": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: [
                                    "border-top-color",
                                    "border-bottom-color",
                                  ],
                                  variable: "--tw-border-opacity",
                                })
                              : {
                                  "border-top-color": mt(e),
                                  "border-bottom-color": mt(e),
                                },
                        },
                        {
                          values: (({ DEFAULT: e, ...t }) => t)(
                            Yc(t("borderColor"))
                          ),
                          type: ["color", "any"],
                        }
                      ),
                      e(
                        {
                          "border-s": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: "border-inline-start-color",
                                  variable: "--tw-border-opacity",
                                })
                              : { "border-inline-start-color": mt(e) },
                          "border-e": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: "border-inline-end-color",
                                  variable: "--tw-border-opacity",
                                })
                              : { "border-inline-end-color": mt(e) },
                          "border-t": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: "border-top-color",
                                  variable: "--tw-border-opacity",
                                })
                              : { "border-top-color": mt(e) },
                          "border-r": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: "border-right-color",
                                  variable: "--tw-border-opacity",
                                })
                              : { "border-right-color": mt(e) },
                          "border-b": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: "border-bottom-color",
                                  variable: "--tw-border-opacity",
                                })
                              : { "border-bottom-color": mt(e) },
                          "border-l": (e) =>
                            n("borderOpacity")
                              ? ve({
                                  color: e,
                                  property: "border-left-color",
                                  variable: "--tw-border-opacity",
                                })
                              : { "border-left-color": mt(e) },
                        },
                        {
                          values: (({ DEFAULT: e, ...t }) => t)(
                            Yc(t("borderColor"))
                          ),
                          type: ["color", "any"],
                        }
                      );
                  },
                  borderOpacity: _c("borderOpacity", [
                    ["border-opacity", ["--tw-border-opacity"]],
                  ]),
                  backgroundColor: ({
                    matchUtilities: e,
                    theme: t,
                    corePlugins: n,
                  }) => {
                    e(
                      {
                        bg: (e) =>
                          n("backgroundOpacity")
                            ? ve({
                                color: e,
                                property: "background-color",
                                variable: "--tw-bg-opacity",
                              })
                            : { "background-color": mt(e) },
                      },
                      {
                        values: Yc(t("backgroundColor")),
                        type: ["color", "any"],
                      }
                    );
                  },
                  backgroundOpacity: _c("backgroundOpacity", [
                    ["bg-opacity", ["--tw-bg-opacity"]],
                  ]),
                  backgroundImage: _c(
                    "backgroundImage",
                    [["bg", ["background-image"]]],
                    { type: ["lookup", "image", "url"] }
                  ),
                  gradientColorStops: (() => {
                    function e(e) {
                      return me(e, 0, "rgb(255 255 255 / 0)");
                    }
                    return function ({
                      matchUtilities: t,
                      theme: n,
                      addDefaults: c,
                    }) {
                      c("gradient-color-stops", {
                        "--tw-gradient-from-position": " ",
                        "--tw-gradient-via-position": " ",
                        "--tw-gradient-to-position": " ",
                      });
                      let a = {
                          values: Yc(n("gradientColorStops")),
                          type: ["color", "any"],
                        },
                        r = {
                          values: n("gradientColorStopPositions"),
                          type: ["length", "percentage"],
                        };
                      t(
                        {
                          from: (t) => {
                            let n = e(t);
                            return {
                              "@defaults gradient-color-stops": {},
                              "--tw-gradient-from": `${mt(
                                t
                              )} var(--tw-gradient-from-position)`,
                              "--tw-gradient-to": `${n} var(--tw-gradient-to-position)`,
                              "--tw-gradient-stops":
                                "var(--tw-gradient-from), var(--tw-gradient-to)",
                            };
                          },
                        },
                        a
                      ),
                        t(
                          {
                            from: (e) => ({ "--tw-gradient-from-position": e }),
                          },
                          r
                        ),
                        t(
                          {
                            via: (t) => ({
                              "@defaults gradient-color-stops": {},
                              "--tw-gradient-to": `${e(
                                t
                              )}  var(--tw-gradient-to-position)`,
                              "--tw-gradient-stops": `var(--tw-gradient-from), ${mt(
                                t
                              )} var(--tw-gradient-via-position), var(--tw-gradient-to)`,
                            }),
                          },
                          a
                        ),
                        t(
                          { via: (e) => ({ "--tw-gradient-via-position": e }) },
                          r
                        ),
                        t(
                          {
                            to: (e) => ({
                              "@defaults gradient-color-stops": {},
                              "--tw-gradient-to": `${mt(
                                e
                              )} var(--tw-gradient-to-position)`,
                            }),
                          },
                          a
                        ),
                        t(
                          { to: (e) => ({ "--tw-gradient-to-position": e }) },
                          r
                        );
                    };
                  })(),
                  boxDecorationBreak: ({ addUtilities: e }) => {
                    e({
                      ".decoration-slice": { "box-decoration-break": "slice" },
                      ".decoration-clone": { "box-decoration-break": "clone" },
                      ".box-decoration-slice": {
                        "box-decoration-break": "slice",
                      },
                      ".box-decoration-clone": {
                        "box-decoration-break": "clone",
                      },
                    });
                  },
                  backgroundSize: _c(
                    "backgroundSize",
                    [["bg", ["background-size"]]],
                    { type: ["lookup", "length", "percentage", "size"] }
                  ),
                  backgroundAttachment: ({ addUtilities: e }) => {
                    e({
                      ".bg-fixed": { "background-attachment": "fixed" },
                      ".bg-local": { "background-attachment": "local" },
                      ".bg-scroll": { "background-attachment": "scroll" },
                    });
                  },
                  backgroundClip: ({ addUtilities: e }) => {
                    e({
                      ".bg-clip-border": { "background-clip": "border-box" },
                      ".bg-clip-padding": { "background-clip": "padding-box" },
                      ".bg-clip-content": { "background-clip": "content-box" },
                      ".bg-clip-text": { "background-clip": "text" },
                    });
                  },
                  backgroundPosition: _c(
                    "backgroundPosition",
                    [["bg", ["background-position"]]],
                    { type: ["lookup", ["position", { preferOnConflict: !0 }]] }
                  ),
                  backgroundRepeat: ({ addUtilities: e }) => {
                    e({
                      ".bg-repeat": { "background-repeat": "repeat" },
                      ".bg-no-repeat": { "background-repeat": "no-repeat" },
                      ".bg-repeat-x": { "background-repeat": "repeat-x" },
                      ".bg-repeat-y": { "background-repeat": "repeat-y" },
                      ".bg-repeat-round": { "background-repeat": "round" },
                      ".bg-repeat-space": { "background-repeat": "space" },
                    });
                  },
                  backgroundOrigin: ({ addUtilities: e }) => {
                    e({
                      ".bg-origin-border": {
                        "background-origin": "border-box",
                      },
                      ".bg-origin-padding": {
                        "background-origin": "padding-box",
                      },
                      ".bg-origin-content": {
                        "background-origin": "content-box",
                      },
                    });
                  },
                  fill: ({ matchUtilities: e, theme: t }) => {
                    e(
                      { fill: (e) => ({ fill: mt(e) }) },
                      { values: Yc(t("fill")), type: ["color", "any"] }
                    );
                  },
                  stroke: ({ matchUtilities: e, theme: t }) => {
                    e(
                      { stroke: (e) => ({ stroke: mt(e) }) },
                      { values: Yc(t("stroke")), type: ["color", "url", "any"] }
                    );
                  },
                  strokeWidth: _c(
                    "strokeWidth",
                    [["stroke", ["stroke-width"]]],
                    { type: ["length", "number", "percentage"] }
                  ),
                  objectFit: ({ addUtilities: e }) => {
                    e({
                      ".object-contain": { "object-fit": "contain" },
                      ".object-cover": { "object-fit": "cover" },
                      ".object-fill": { "object-fit": "fill" },
                      ".object-none": { "object-fit": "none" },
                      ".object-scale-down": { "object-fit": "scale-down" },
                    });
                  },
                  objectPosition: _c("objectPosition", [
                    ["object", ["object-position"]],
                  ]),
                  padding: _c("padding", [
                    ["p", ["padding"]],
                    [
                      ["px", ["padding-left", "padding-right"]],
                      ["py", ["padding-top", "padding-bottom"]],
                    ],
                    [
                      ["ps", ["padding-inline-start"]],
                      ["pe", ["padding-inline-end"]],
                      ["pt", ["padding-top"]],
                      ["pr", ["padding-right"]],
                      ["pb", ["padding-bottom"]],
                      ["pl", ["padding-left"]],
                    ],
                  ]),
                  textAlign: ({ addUtilities: e }) => {
                    e({
                      ".text-left": { "text-align": "left" },
                      ".text-center": { "text-align": "center" },
                      ".text-right": { "text-align": "right" },
                      ".text-justify": { "text-align": "justify" },
                      ".text-start": { "text-align": "start" },
                      ".text-end": { "text-align": "end" },
                    });
                  },
                  textIndent: _c("textIndent", [["indent", ["text-indent"]]], {
                    supportsNegativeValues: !0,
                  }),
                  verticalAlign: ({ addUtilities: e, matchUtilities: t }) => {
                    e({
                      ".align-baseline": { "vertical-align": "baseline" },
                      ".align-top": { "vertical-align": "top" },
                      ".align-middle": { "vertical-align": "middle" },
                      ".align-bottom": { "vertical-align": "bottom" },
                      ".align-text-top": { "vertical-align": "text-top" },
                      ".align-text-bottom": { "vertical-align": "text-bottom" },
                      ".align-sub": { "vertical-align": "sub" },
                      ".align-super": { "vertical-align": "super" },
                    }),
                      t({ align: (e) => ({ "vertical-align": e }) });
                  },
                  fontFamily: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        font: (e) => {
                          let [t, n = {}] =
                              Array.isArray(e) && G(e[1]) ? e : [e],
                            {
                              fontFeatureSettings: c,
                              fontVariationSettings: a,
                            } = n;
                          return {
                            "font-family": Array.isArray(t) ? t.join(", ") : t,
                            ...(void 0 === c
                              ? {}
                              : { "font-feature-settings": c }),
                            ...(void 0 === a
                              ? {}
                              : { "font-variation-settings": a }),
                          };
                        },
                      },
                      {
                        values: t("fontFamily"),
                        type: ["lookup", "generic-name", "family-name"],
                      }
                    );
                  },
                  fontSize: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        text: (e, { modifier: t }) => {
                          let [n, c] = Array.isArray(e) ? e : [e];
                          if (t) return { "font-size": n, "line-height": t };
                          let {
                            lineHeight: a,
                            letterSpacing: r,
                            fontWeight: o,
                          } = G(c) ? c : { lineHeight: c };
                          return {
                            "font-size": n,
                            ...(void 0 === a ? {} : { "line-height": a }),
                            ...(void 0 === r ? {} : { "letter-spacing": r }),
                            ...(void 0 === o ? {} : { "font-weight": o }),
                          };
                        },
                      },
                      {
                        values: t("fontSize"),
                        modifiers: t("lineHeight"),
                        type: [
                          "absolute-size",
                          "relative-size",
                          "length",
                          "percentage",
                        ],
                      }
                    );
                  },
                  fontWeight: _c("fontWeight", [["font", ["fontWeight"]]], {
                    type: ["lookup", "number", "any"],
                  }),
                  textTransform: ({ addUtilities: e }) => {
                    e({
                      ".uppercase": { "text-transform": "uppercase" },
                      ".lowercase": { "text-transform": "lowercase" },
                      ".capitalize": { "text-transform": "capitalize" },
                      ".normal-case": { "text-transform": "none" },
                    });
                  },
                  fontStyle: ({ addUtilities: e }) => {
                    e({
                      ".italic": { "font-style": "italic" },
                      ".not-italic": { "font-style": "normal" },
                    });
                  },
                  fontVariantNumeric: ({ addDefaults: e, addUtilities: t }) => {
                    let n =
                      "var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";
                    e("font-variant-numeric", {
                      "--tw-ordinal": " ",
                      "--tw-slashed-zero": " ",
                      "--tw-numeric-figure": " ",
                      "--tw-numeric-spacing": " ",
                      "--tw-numeric-fraction": " ",
                    }),
                      t({
                        ".normal-nums": { "font-variant-numeric": "normal" },
                        ".ordinal": {
                          "@defaults font-variant-numeric": {},
                          "--tw-ordinal": "ordinal",
                          "font-variant-numeric": n,
                        },
                        ".slashed-zero": {
                          "@defaults font-variant-numeric": {},
                          "--tw-slashed-zero": "slashed-zero",
                          "font-variant-numeric": n,
                        },
                        ".lining-nums": {
                          "@defaults font-variant-numeric": {},
                          "--tw-numeric-figure": "lining-nums",
                          "font-variant-numeric": n,
                        },
                        ".oldstyle-nums": {
                          "@defaults font-variant-numeric": {},
                          "--tw-numeric-figure": "oldstyle-nums",
                          "font-variant-numeric": n,
                        },
                        ".proportional-nums": {
                          "@defaults font-variant-numeric": {},
                          "--tw-numeric-spacing": "proportional-nums",
                          "font-variant-numeric": n,
                        },
                        ".tabular-nums": {
                          "@defaults font-variant-numeric": {},
                          "--tw-numeric-spacing": "tabular-nums",
                          "font-variant-numeric": n,
                        },
                        ".diagonal-fractions": {
                          "@defaults font-variant-numeric": {},
                          "--tw-numeric-fraction": "diagonal-fractions",
                          "font-variant-numeric": n,
                        },
                        ".stacked-fractions": {
                          "@defaults font-variant-numeric": {},
                          "--tw-numeric-fraction": "stacked-fractions",
                          "font-variant-numeric": n,
                        },
                      });
                  },
                  lineHeight: _c("lineHeight", [["leading", ["lineHeight"]]]),
                  letterSpacing: _c(
                    "letterSpacing",
                    [["tracking", ["letterSpacing"]]],
                    { supportsNegativeValues: !0 }
                  ),
                  textColor: ({
                    matchUtilities: e,
                    theme: t,
                    corePlugins: n,
                  }) => {
                    e(
                      {
                        text: (e) =>
                          n("textOpacity")
                            ? ve({
                                color: e,
                                property: "color",
                                variable: "--tw-text-opacity",
                              })
                            : { color: mt(e) },
                      },
                      { values: Yc(t("textColor")), type: ["color", "any"] }
                    );
                  },
                  textOpacity: _c("textOpacity", [
                    ["text-opacity", ["--tw-text-opacity"]],
                  ]),
                  textDecoration: ({ addUtilities: e }) => {
                    e({
                      ".underline": { "text-decoration-line": "underline" },
                      ".overline": { "text-decoration-line": "overline" },
                      ".line-through": {
                        "text-decoration-line": "line-through",
                      },
                      ".no-underline": { "text-decoration-line": "none" },
                    });
                  },
                  textDecorationColor: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        decoration: (e) => ({ "text-decoration-color": mt(e) }),
                      },
                      {
                        values: Yc(t("textDecorationColor")),
                        type: ["color", "any"],
                      }
                    );
                  },
                  textDecorationStyle: ({ addUtilities: e }) => {
                    e({
                      ".decoration-solid": { "text-decoration-style": "solid" },
                      ".decoration-double": {
                        "text-decoration-style": "double",
                      },
                      ".decoration-dotted": {
                        "text-decoration-style": "dotted",
                      },
                      ".decoration-dashed": {
                        "text-decoration-style": "dashed",
                      },
                      ".decoration-wavy": { "text-decoration-style": "wavy" },
                    });
                  },
                  textDecorationThickness: _c(
                    "textDecorationThickness",
                    [["decoration", ["text-decoration-thickness"]]],
                    { type: ["length", "percentage"] }
                  ),
                  textUnderlineOffset: _c(
                    "textUnderlineOffset",
                    [["underline-offset", ["text-underline-offset"]]],
                    { type: ["length", "percentage", "any"] }
                  ),
                  fontSmoothing: ({ addUtilities: e }) => {
                    e({
                      ".antialiased": {
                        "-webkit-font-smoothing": "antialiased",
                        "-moz-osx-font-smoothing": "grayscale",
                      },
                      ".subpixel-antialiased": {
                        "-webkit-font-smoothing": "auto",
                        "-moz-osx-font-smoothing": "auto",
                      },
                    });
                  },
                  placeholderColor: ({
                    matchUtilities: e,
                    theme: t,
                    corePlugins: n,
                  }) => {
                    e(
                      {
                        placeholder: (e) =>
                          n("placeholderOpacity")
                            ? {
                                "&::placeholder": ve({
                                  color: e,
                                  property: "color",
                                  variable: "--tw-placeholder-opacity",
                                }),
                              }
                            : { "&::placeholder": { color: mt(e) } },
                      },
                      {
                        values: Yc(t("placeholderColor")),
                        type: ["color", "any"],
                      }
                    );
                  },
                  placeholderOpacity: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "placeholder-opacity": (e) => ({
                          "&::placeholder": { "--tw-placeholder-opacity": e },
                        }),
                      },
                      { values: t("placeholderOpacity") }
                    );
                  },
                  caretColor: ({ matchUtilities: e, theme: t }) => {
                    e(
                      { caret: (e) => ({ "caret-color": mt(e) }) },
                      { values: Yc(t("caretColor")), type: ["color", "any"] }
                    );
                  },
                  accentColor: ({ matchUtilities: e, theme: t }) => {
                    e(
                      { accent: (e) => ({ "accent-color": mt(e) }) },
                      { values: Yc(t("accentColor")), type: ["color", "any"] }
                    );
                  },
                  opacity: _c("opacity", [["opacity", ["opacity"]]]),
                  backgroundBlendMode: ({ addUtilities: e }) => {
                    e({
                      ".bg-blend-normal": { "background-blend-mode": "normal" },
                      ".bg-blend-multiply": {
                        "background-blend-mode": "multiply",
                      },
                      ".bg-blend-screen": { "background-blend-mode": "screen" },
                      ".bg-blend-overlay": {
                        "background-blend-mode": "overlay",
                      },
                      ".bg-blend-darken": { "background-blend-mode": "darken" },
                      ".bg-blend-lighten": {
                        "background-blend-mode": "lighten",
                      },
                      ".bg-blend-color-dodge": {
                        "background-blend-mode": "color-dodge",
                      },
                      ".bg-blend-color-burn": {
                        "background-blend-mode": "color-burn",
                      },
                      ".bg-blend-hard-light": {
                        "background-blend-mode": "hard-light",
                      },
                      ".bg-blend-soft-light": {
                        "background-blend-mode": "soft-light",
                      },
                      ".bg-blend-difference": {
                        "background-blend-mode": "difference",
                      },
                      ".bg-blend-exclusion": {
                        "background-blend-mode": "exclusion",
                      },
                      ".bg-blend-hue": { "background-blend-mode": "hue" },
                      ".bg-blend-saturation": {
                        "background-blend-mode": "saturation",
                      },
                      ".bg-blend-color": { "background-blend-mode": "color" },
                      ".bg-blend-luminosity": {
                        "background-blend-mode": "luminosity",
                      },
                    });
                  },
                  mixBlendMode: ({ addUtilities: e }) => {
                    e({
                      ".mix-blend-normal": { "mix-blend-mode": "normal" },
                      ".mix-blend-multiply": { "mix-blend-mode": "multiply" },
                      ".mix-blend-screen": { "mix-blend-mode": "screen" },
                      ".mix-blend-overlay": { "mix-blend-mode": "overlay" },
                      ".mix-blend-darken": { "mix-blend-mode": "darken" },
                      ".mix-blend-lighten": { "mix-blend-mode": "lighten" },
                      ".mix-blend-color-dodge": {
                        "mix-blend-mode": "color-dodge",
                      },
                      ".mix-blend-color-burn": {
                        "mix-blend-mode": "color-burn",
                      },
                      ".mix-blend-hard-light": {
                        "mix-blend-mode": "hard-light",
                      },
                      ".mix-blend-soft-light": {
                        "mix-blend-mode": "soft-light",
                      },
                      ".mix-blend-difference": {
                        "mix-blend-mode": "difference",
                      },
                      ".mix-blend-exclusion": { "mix-blend-mode": "exclusion" },
                      ".mix-blend-hue": { "mix-blend-mode": "hue" },
                      ".mix-blend-saturation": {
                        "mix-blend-mode": "saturation",
                      },
                      ".mix-blend-color": { "mix-blend-mode": "color" },
                      ".mix-blend-luminosity": {
                        "mix-blend-mode": "luminosity",
                      },
                      ".mix-blend-plus-lighter": {
                        "mix-blend-mode": "plus-lighter",
                      },
                    });
                  },
                  boxShadow: (() => {
                    let e = pc("boxShadow"),
                      t = [
                        "var(--tw-ring-offset-shadow, 0 0 #0000)",
                        "var(--tw-ring-shadow, 0 0 #0000)",
                        "var(--tw-shadow)",
                      ].join(", ");
                    return function ({
                      matchUtilities: n,
                      addDefaults: c,
                      theme: a,
                    }) {
                      c(" box-shadow", {
                        "--tw-ring-offset-shadow": "0 0 #0000",
                        "--tw-ring-shadow": "0 0 #0000",
                        "--tw-shadow": "0 0 #0000",
                        "--tw-shadow-colored": "0 0 #0000",
                      }),
                        n(
                          {
                            shadow: (n) => {
                              let c = we((n = e(n)));
                              for (let e of c)
                                !e.valid ||
                                  (e.color = "var(--tw-shadow-color)");
                              return {
                                "@defaults box-shadow": {},
                                "--tw-shadow": "none" === n ? "0 0 #0000" : n,
                                "--tw-shadow-colored":
                                  "none" === n ? "0 0 #0000" : ye(c),
                                "box-shadow": t,
                              };
                            },
                          },
                          { values: a("boxShadow"), type: ["shadow"] }
                        );
                    };
                  })(),
                  boxShadowColor: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        shadow: (e) => ({
                          "--tw-shadow-color": mt(e),
                          "--tw-shadow": "var(--tw-shadow-colored)",
                        }),
                      },
                      {
                        values: Yc(t("boxShadowColor")),
                        type: ["color", "any"],
                      }
                    );
                  },
                  outlineStyle: ({ addUtilities: e }) => {
                    e({
                      ".outline-none": {
                        outline: "2px solid transparent",
                        "outline-offset": "2px",
                      },
                      ".outline": { "outline-style": "solid" },
                      ".outline-dashed": { "outline-style": "dashed" },
                      ".outline-dotted": { "outline-style": "dotted" },
                      ".outline-double": { "outline-style": "double" },
                    });
                  },
                  outlineWidth: _c(
                    "outlineWidth",
                    [["outline", ["outline-width"]]],
                    { type: ["length", "number", "percentage"] }
                  ),
                  outlineOffset: _c(
                    "outlineOffset",
                    [["outline-offset", ["outline-offset"]]],
                    {
                      type: ["length", "number", "percentage", "any"],
                      supportsNegativeValues: !0,
                    }
                  ),
                  outlineColor: ({ matchUtilities: e, theme: t }) => {
                    e(
                      { outline: (e) => ({ "outline-color": mt(e) }) },
                      { values: Yc(t("outlineColor")), type: ["color", "any"] }
                    );
                  },
                  ringWidth: ({
                    matchUtilities: e,
                    addDefaults: t,
                    addUtilities: n,
                    theme: c,
                    config: a,
                  }) => {
                    let r = (() => {
                      if (Q(a(), "respectDefaultRingColorOpacity"))
                        return c("ringColor.DEFAULT");
                      let e = c("ringOpacity.DEFAULT", "0.5");
                      return c("ringColor")?.DEFAULT
                        ? me(
                            c("ringColor")?.DEFAULT,
                            e,
                            `rgb(147 197 253 / ${e})`
                          )
                        : `rgb(147 197 253 / ${e})`;
                    })();
                    t("ring-width", {
                      "--tw-ring-inset": " ",
                      "--tw-ring-offset-width": c(
                        "ringOffsetWidth.DEFAULT",
                        "0px"
                      ),
                      "--tw-ring-offset-color": c(
                        "ringOffsetColor.DEFAULT",
                        "#fff"
                      ),
                      "--tw-ring-color": r,
                      "--tw-ring-offset-shadow": "0 0 #0000",
                      "--tw-ring-shadow": "0 0 #0000",
                      "--tw-shadow": "0 0 #0000",
                      "--tw-shadow-colored": "0 0 #0000",
                    }),
                      e(
                        {
                          ring: (e) => ({
                            "@defaults ring-width": {},
                            "--tw-ring-offset-shadow":
                              "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
                            "--tw-ring-shadow": `var(--tw-ring-inset) 0 0 0 calc(${e} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,
                            "box-shadow": [
                              "var(--tw-ring-offset-shadow)",
                              "var(--tw-ring-shadow)",
                              "var(--tw-shadow, 0 0 #0000)",
                            ].join(", "),
                          }),
                        },
                        { values: c("ringWidth"), type: "length" }
                      ),
                      n({
                        ".ring-inset": {
                          "@defaults ring-width": {},
                          "--tw-ring-inset": "inset",
                        },
                      });
                  },
                  ringColor: ({
                    matchUtilities: e,
                    theme: t,
                    corePlugins: n,
                  }) => {
                    e(
                      {
                        ring: (e) =>
                          n("ringOpacity")
                            ? ve({
                                color: e,
                                property: "--tw-ring-color",
                                variable: "--tw-ring-opacity",
                              })
                            : { "--tw-ring-color": mt(e) },
                      },
                      {
                        values: Object.fromEntries(
                          Object.entries(Yc(t("ringColor"))).filter(
                            ([e]) => "DEFAULT" !== e
                          )
                        ),
                        type: ["color", "any"],
                      }
                    );
                  },
                  ringOpacity: (e) => {
                    let { config: t } = e;
                    return _c(
                      "ringOpacity",
                      [["ring-opacity", ["--tw-ring-opacity"]]],
                      {
                        filterDefault: !Q(
                          t(),
                          "respectDefaultRingColorOpacity"
                        ),
                      }
                    )(e);
                  },
                  ringOffsetWidth: _c(
                    "ringOffsetWidth",
                    [["ring-offset", ["--tw-ring-offset-width"]]],
                    { type: "length" }
                  ),
                  ringOffsetColor: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "ring-offset": (e) => ({
                          "--tw-ring-offset-color": mt(e),
                        }),
                      },
                      {
                        values: Yc(t("ringOffsetColor")),
                        type: ["color", "any"],
                      }
                    );
                  },
                  blur: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        blur: (e) => ({
                          "--tw-blur": `blur(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("blur") }
                    );
                  },
                  brightness: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        brightness: (e) => ({
                          "--tw-brightness": `brightness(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("brightness") }
                    );
                  },
                  contrast: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        contrast: (e) => ({
                          "--tw-contrast": `contrast(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("contrast") }
                    );
                  },
                  dropShadow: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "drop-shadow": (e) => ({
                          "--tw-drop-shadow": Array.isArray(e)
                            ? e.map((e) => `drop-shadow(${e})`).join(" ")
                            : `drop-shadow(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("dropShadow") }
                    );
                  },
                  grayscale: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        grayscale: (e) => ({
                          "--tw-grayscale": `grayscale(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("grayscale") }
                    );
                  },
                  hueRotate: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "hue-rotate": (e) => ({
                          "--tw-hue-rotate": `hue-rotate(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("hueRotate"), supportsNegativeValues: !0 }
                    );
                  },
                  invert: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        invert: (e) => ({
                          "--tw-invert": `invert(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("invert") }
                    );
                  },
                  saturate: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        saturate: (e) => ({
                          "--tw-saturate": `saturate(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("saturate") }
                    );
                  },
                  sepia: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        sepia: (e) => ({
                          "--tw-sepia": `sepia(${e})`,
                          "@defaults filter": {},
                          filter: ua,
                        }),
                      },
                      { values: t("sepia") }
                    );
                  },
                  filter: ({ addDefaults: e, addUtilities: t }) => {
                    e("filter", {
                      "--tw-blur": " ",
                      "--tw-brightness": " ",
                      "--tw-contrast": " ",
                      "--tw-grayscale": " ",
                      "--tw-hue-rotate": " ",
                      "--tw-invert": " ",
                      "--tw-saturate": " ",
                      "--tw-sepia": " ",
                      "--tw-drop-shadow": " ",
                    }),
                      t({
                        ".filter": { "@defaults filter": {}, filter: ua },
                        ".filter-none": { filter: "none" },
                      });
                  },
                  backdropBlur: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-blur": (e) => ({
                          "--tw-backdrop-blur": `blur(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropBlur") }
                    );
                  },
                  backdropBrightness: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-brightness": (e) => ({
                          "--tw-backdrop-brightness": `brightness(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropBrightness") }
                    );
                  },
                  backdropContrast: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-contrast": (e) => ({
                          "--tw-backdrop-contrast": `contrast(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropContrast") }
                    );
                  },
                  backdropGrayscale: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-grayscale": (e) => ({
                          "--tw-backdrop-grayscale": `grayscale(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropGrayscale") }
                    );
                  },
                  backdropHueRotate: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-hue-rotate": (e) => ({
                          "--tw-backdrop-hue-rotate": `hue-rotate(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      {
                        values: t("backdropHueRotate"),
                        supportsNegativeValues: !0,
                      }
                    );
                  },
                  backdropInvert: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-invert": (e) => ({
                          "--tw-backdrop-invert": `invert(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropInvert") }
                    );
                  },
                  backdropOpacity: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-opacity": (e) => ({
                          "--tw-backdrop-opacity": `opacity(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropOpacity") }
                    );
                  },
                  backdropSaturate: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-saturate": (e) => ({
                          "--tw-backdrop-saturate": `saturate(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropSaturate") }
                    );
                  },
                  backdropSepia: ({ matchUtilities: e, theme: t }) => {
                    e(
                      {
                        "backdrop-sepia": (e) => ({
                          "--tw-backdrop-sepia": `sepia(${e})`,
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        }),
                      },
                      { values: t("backdropSepia") }
                    );
                  },
                  backdropFilter: ({ addDefaults: e, addUtilities: t }) => {
                    e("backdrop-filter", {
                      "--tw-backdrop-blur": " ",
                      "--tw-backdrop-brightness": " ",
                      "--tw-backdrop-contrast": " ",
                      "--tw-backdrop-grayscale": " ",
                      "--tw-backdrop-hue-rotate": " ",
                      "--tw-backdrop-invert": " ",
                      "--tw-backdrop-opacity": " ",
                      "--tw-backdrop-saturate": " ",
                      "--tw-backdrop-sepia": " ",
                    }),
                      t({
                        ".backdrop-filter": {
                          "@defaults backdrop-filter": {},
                          "backdrop-filter": da,
                        },
                        ".backdrop-filter-none": { "backdrop-filter": "none" },
                      });
                  },
                  transitionProperty: ({ matchUtilities: e, theme: t }) => {
                    let n = t("transitionTimingFunction.DEFAULT"),
                      c = t("transitionDuration.DEFAULT");
                    e(
                      {
                        transition: (e) => ({
                          "transition-property": e,
                          ...("none" === e
                            ? {}
                            : {
                                "transition-timing-function": n,
                                "transition-duration": c,
                              }),
                        }),
                      },
                      { values: t("transitionProperty") }
                    );
                  },
                  transitionDelay: _c("transitionDelay", [
                    ["delay", ["transitionDelay"]],
                  ]),
                  transitionDuration: _c(
                    "transitionDuration",
                    [["duration", ["transitionDuration"]]],
                    { filterDefault: !0 }
                  ),
                  transitionTimingFunction: _c(
                    "transitionTimingFunction",
                    [["ease", ["transitionTimingFunction"]]],
                    { filterDefault: !0 }
                  ),
                  willChange: _c("willChange", [
                    ["will-change", ["will-change"]],
                  ]),
                  content: _c("content", [
                    [
                      "content",
                      ["--tw-content", ["content", "var(--tw-content)"]],
                    ],
                  ]),
                });
            });
          function va(e) {
            if (void 0 === e) return !1;
            if ("true" === e || "1" === e) return !0;
            if ("false" === e || "0" === e) return !1;
            if ("*" === e) return !0;
            let t = e.split(",").map((e) => e.split(":")[0]);
            return !t.includes("-tailwindcss") && !!t.includes("tailwindcss");
          }
          var ga,
            ba,
            xa,
            wa,
            ya,
            ka,
            Ca,
            Ra = f(() => {
              g(),
                na(),
                (ga =
                  void 0 !== e
                    ? {
                        NODE_ENV: "production",
                        DEBUG: va(e.env.DEBUG),
                        ENGINE: Jc.tailwindcss.engine,
                      }
                    : {
                        NODE_ENV: "production",
                        DEBUG: !1,
                        ENGINE: Jc.tailwindcss.engine,
                      }),
                (ba = new Map()),
                (xa = new Map()),
                (wa = new Map()),
                (ya = new Map()),
                (ka = new String("*")),
                (Ca = Symbol("__NONE__"));
            });
          function Oa(e) {
            let t = [],
              n = !1;
            for (let c = 0; c < e.length; c++) {
              let a = e[c];
              if (":" === a && !n && 0 === t.length) return !1;
              if (
                (Sa.has(a) && "\\" !== e[c - 1] && (n = !n),
                !n && "\\" !== e[c - 1])
              )
                if ($a.has(a)) t.push(a);
                else if (La.has(a)) {
                  let e = La.get(a);
                  if (t.length <= 0 || t.pop() !== e) return !1;
                }
            }
            return !(t.length > 0);
          }
          var $a,
            La,
            Sa,
            Ea = f(() => {
              g(),
                ($a = new Map([
                  ["{", "}"],
                  ["[", "]"],
                  ["(", ")"],
                ])),
                (La = new Map(
                  Array.from($a.entries()).map(([e, t]) => [t, e])
                )),
                (Sa = new Set(['"', "'", "`"]));
            });
          function Ia(e) {
            let [t] = Ta(e);
            return (
              t.forEach(([e, t]) => e.removeChild(t)),
              e.nodes.push(...t.map(([, e]) => e)),
              e
            );
          }
          function Ta(e) {
            let t = [],
              n = null;
            for (let c of e.nodes)
              if ("combinator" === c.type)
                (t = t.filter(([, e]) => ja(e).includes("jumpable"))),
                  (n = null);
              else if ("pseudo" === c.type) {
                Ba(c)
                  ? ((n = c), t.push([e, c, null]))
                  : n && Ma(c, n)
                  ? t.push([e, c, n])
                  : (n = null);
                for (let e of c.nodes ?? []) {
                  let [c, a] = Ta(e);
                  (n = a || n), t.push(...c);
                }
              }
            return [t, n];
          }
          function Aa(e) {
            return e.value.startsWith("::") || void 0 !== _a[e.value];
          }
          function Ba(e) {
            return Aa(e) && ja(e).includes("terminal");
          }
          function Ma(e, t) {
            return (
              "pseudo" === e.type && !Aa(e) && ja(t).includes("actionable")
            );
          }
          function ja(e) {
            return _a[e.value] ?? _a.__default__;
          }
          var _a,
            za = f(() => {
              g(),
                (_a = {
                  "::after": ["terminal", "jumpable"],
                  "::backdrop": ["terminal", "jumpable"],
                  "::before": ["terminal", "jumpable"],
                  "::cue": ["terminal"],
                  "::cue-region": ["terminal"],
                  "::first-letter": ["terminal", "jumpable"],
                  "::first-line": ["terminal", "jumpable"],
                  "::grammar-error": ["terminal"],
                  "::marker": ["terminal", "jumpable"],
                  "::part": ["terminal", "actionable"],
                  "::placeholder": ["terminal", "jumpable"],
                  "::selection": ["terminal", "jumpable"],
                  "::slotted": ["terminal"],
                  "::spelling-error": ["terminal"],
                  "::target-text": ["terminal"],
                  "::file-selector-button": ["terminal", "actionable"],
                  "::deep": ["actionable"],
                  "::v-deep": ["actionable"],
                  "::ng-deep": ["actionable"],
                  ":after": ["terminal", "jumpable"],
                  ":before": ["terminal", "jumpable"],
                  ":first-letter": ["terminal", "jumpable"],
                  ":first-line": ["terminal", "jumpable"],
                  __default__: ["terminal", "actionable"],
                });
            });
          function Fa(e, { context: t, candidate: n }) {
            let c = t?.tailwindConfig.prefix ?? "",
              a = e.map((e) => {
                let t = (0, Na.default)().astSync(e.format);
                return { ...e, ast: e.respectPrefix ? $c(c, t) : t };
              }),
              r = Na.default.root({
                nodes: [
                  Na.default.selector({
                    nodes: [Na.default.className({ value: Ec(n) })],
                  }),
                ],
              });
            for (let { ast: e } of a)
              ([r, e] = Xa(r, e)),
                e.walkNesting((e) => e.replaceWith(...r.nodes[0].nodes)),
                (r = e);
            return r;
          }
          function Da(e) {
            let t = [];
            for (; e.prev() && "combinator" !== e.prev().type; ) e = e.prev();
            for (; e && "combinator" !== e.type; ) t.push(e), (e = e.next());
            return t;
          }
          function Pa(e, t) {
            let n = !1;
            e.walk((e) => {
              if ("class" === e.type && e.value === t) return (n = !0), !1;
            }),
              n || e.remove();
          }
          function Ha(e, t, { context: n, candidate: c, base: a }) {
            let r = n?.tailwindConfig?.separator ?? ":";
            a = a ?? c.split(new RegExp(`\\${r}(?![^[]*\\])`)).pop();
            let o = (0, Na.default)().astSync(e);
            o.walkClasses((e) => {
              e.raws &&
                e.value.includes(a) &&
                (e.raws.value = Ec((0, Qa.default)(e.raws.value)));
            }),
              o.each((e) => Pa(e, a));
            let i = Array.isArray(t) ? Fa(t, { context: n, candidate: c }) : t;
            if (null === i) return o.toString();
            let l = Na.default.comment({ value: "/*__simple__*/" }),
              s = Na.default.comment({ value: "/*__simple__*/" });
            return (
              o.walkClasses((e) => {
                if (e.value !== a) return;
                let t = e.parent,
                  n = i.nodes[0].nodes;
                if (1 === t.nodes.length) return void e.replaceWith(...n);
                let c = Da(e);
                t.insertBefore(c[0], l), t.insertAfter(c[c.length - 1], s);
                for (let e of n) t.insertBefore(c[0], e.clone());
                e.remove(), (c = Da(l));
                let r = t.index(l);
                t.nodes.splice(
                  r,
                  c.length,
                  ...(function (e) {
                    return (
                      e.sort((t, n) =>
                        "tag" === t.type && "class" === n.type
                          ? -1
                          : "class" === t.type && "tag" === n.type
                          ? 1
                          : "class" === t.type &&
                            "pseudo" === n.type &&
                            n.value.startsWith("::")
                          ? -1
                          : "pseudo" === t.type &&
                            t.value.startsWith("::") &&
                            "class" === n.type
                          ? 1
                          : e.index(t) - e.index(n)
                      ),
                      e
                    );
                  })(Na.default.selector({ nodes: c })).nodes
                ),
                  l.remove(),
                  s.remove();
              }),
              o.walkPseudos((e) => {
                e.value === Wa && e.replaceWith(e.nodes);
              }),
              o.each((e) => Ia(e)),
              o.toString()
            );
          }
          function Xa(e, t) {
            let n = [];
            return (
              e.walkPseudos((e) => {
                e.value === Wa &&
                  n.push({ pseudo: e, value: e.nodes[0].toString() });
              }),
              t.walkPseudos((e) => {
                if (e.value !== Wa) return;
                let t = e.nodes[0].toString(),
                  c = n.find((e) => e.value === t);
                if (!c) return;
                let a = [],
                  r = e.next();
                for (; r && "combinator" !== r.type; )
                  a.push(r), (r = r.next());
                let o = r;
                c.pseudo.parent.insertAfter(
                  c.pseudo,
                  Na.default.selector({ nodes: a.map((e) => e.clone()) })
                ),
                  e.remove(),
                  a.forEach((e) => e.remove()),
                  o && "combinator" === o.type && o.remove();
              }),
              [e, t]
            );
          }
          var Na,
            Qa,
            Wa,
            Ua = f(() => {
              g(),
                (Na = v(sc())),
                (Qa = v(En())),
                Tc(),
                Sc(),
                za(),
                (Wa = ":merge");
            });
          function Ka(e, t) {
            let n = (0, qa.default)().astSync(e);
            return (
              n.each((e) => {
                ("pseudo" === e.nodes[0].type &&
                  ":is" === e.nodes[0].value &&
                  e.nodes.every((e) => "combinator" !== e.type)) ||
                  (e.nodes = [
                    qa.default.pseudo({ value: ":is", nodes: [e.clone()] }),
                  ]),
                  Ia(e);
              }),
              `${t} ${n.toString()}`
            );
          }
          var qa,
            Va = f(() => {
              g(), (qa = v(sc())), za();
            });
          function Ga(e) {
            return ur.transformSync(e);
          }
          function Ya(e, t) {
            if (0 === e.length || "" === t.tailwindConfig.prefix) return e;
            for (let n of e) {
              let [e] = n;
              if (e.options.respectPrefix) {
                let e = qt.root({ nodes: [n[1].clone()] }),
                  c = n[1].raws.tailwind.classCandidate;
                e.walkRules((e) => {
                  let n = c.startsWith("-");
                  e.selector = $c(t.tailwindConfig.prefix, e.selector, n);
                }),
                  (n[1] = e.nodes[0]);
              }
            }
            return e;
          }
          function Za(e, t) {
            if (0 === e.length) return e;
            let n = [];
            for (let [c, a] of e) {
              let e = qt.root({ nodes: [a.clone()] });
              e.walkRules((e) => {
                let n = (0, pr.default)().astSync(e.selector);
                n.each((e) => Pa(e, t)),
                  et(n, (e) => (e === t ? `!${e}` : e)),
                  (e.selector = n.toString()),
                  e.walkDecls((e) => (e.important = !0));
              }),
                n.push([{ ...c, important: !0 }, e.nodes[0]]);
            }
            return n;
          }
          function Ja(e, t, n) {
            if (0 === t.length) return t;
            let c = { modifier: null, value: Ca };
            {
              let [t, ...a] = be(e, "/");
              if (
                (a.length > 1 &&
                  ((t = t + "/" + a.slice(0, -1).join("/")), (a = a.slice(-1))),
                a.length &&
                  !n.variantMap.has(e) &&
                  ((e = t),
                  (c.modifier = a[0]),
                  !Q(n.tailwindConfig, "generalizedModifiers")))
              )
                return [];
            }
            if (e.endsWith("]") && !e.startsWith("[")) {
              let t = /(.)(-?)\[(.*)\]/g.exec(e);
              if (t) {
                let [, n, a, r] = t;
                if ("@" === n && "-" === a) return [];
                if ("@" !== n && "" === a) return [];
                (e = e.replace(`${a}[${r}]`, "")), (c.value = r);
              }
            }
            if (sr(e) && !n.variantMap.has(e)) {
              let t = n.offsets.recordVariant(e),
                c = be(Le(e.slice(1, -1)), ",");
              if (c.length > 1) return [];
              if (!c.every(Ir)) return [];
              let a = c.map((e, c) => [
                n.offsets.applyParallelOffset(t, c),
                Tr(e.trim()),
              ]);
              n.variantMap.set(e, a);
            }
            if (n.variantMap.has(e)) {
              let a = sr(e),
                r = n.variantOptions.get(e)?.[Hr] ?? {},
                o = n.variantMap.get(e).slice(),
                i = [],
                l = !(a || !1 === r.respectPrefix);
              for (let [a, r] of t) {
                if ("user" === a.layer) continue;
                let t = qt.root({ nodes: [r.clone()] });
                for (let [r, s, p] of o) {
                  let u = function () {
                      f.raws.neededBackup ||
                        ((f.raws.neededBackup = !0),
                        f.walkRules(
                          (e) => (e.raws.originalSelector = e.selector)
                        ));
                    },
                    d = function (e) {
                      return (
                        u(),
                        f.each((t) => {
                          "rule" === t.type &&
                            (t.selectors = t.selectors.map((t) =>
                              e({
                                get className() {
                                  return Ga(t);
                                },
                                selector: t,
                              })
                            ));
                        }),
                        f
                      );
                    },
                    f = (p ?? t).clone(),
                    h = [],
                    m = s({
                      get container() {
                        return u(), f;
                      },
                      separator: n.tailwindConfig.separator,
                      modifySelectors: d,
                      wrap(e) {
                        let t = f.nodes;
                        f.removeAll(), e.append(t), f.append(e);
                      },
                      format(e) {
                        h.push({ format: e, respectPrefix: l });
                      },
                      args: c,
                    });
                  if (Array.isArray(m)) {
                    for (let [e, t] of m.entries())
                      o.push([
                        n.offsets.applyParallelOffset(r, e),
                        t,
                        f.clone(),
                      ]);
                    continue;
                  }
                  if (
                    ("string" == typeof m &&
                      h.push({ format: m, respectPrefix: l }),
                    null === m)
                  )
                    continue;
                  f.raws.neededBackup &&
                    (delete f.raws.neededBackup,
                    f.walkRules((t) => {
                      let c = t.raws.originalSelector;
                      if (
                        !c ||
                        (delete t.raws.originalSelector, c === t.selector)
                      )
                        return;
                      let a = t.selector,
                        r = (0, pr.default)((t) => {
                          t.walkClasses((t) => {
                            t.value = `${e}${n.tailwindConfig.separator}${t.value}`;
                          });
                        }).processSync(c);
                      h.push({ format: a.replace(r, "&"), respectPrefix: l }),
                        (t.selector = c);
                    })),
                    (f.nodes[0].raws.tailwind = {
                      ...f.nodes[0].raws.tailwind,
                      parentLayer: a.layer,
                    });
                  let v = [
                    {
                      ...a,
                      sort: n.offsets.applyVariantOffset(
                        a.sort,
                        r,
                        Object.assign(c, n.variantOptions.get(e))
                      ),
                      collectedFormats: (a.collectedFormats ?? []).concat(h),
                    },
                    f.nodes[0],
                  ];
                  i.push(v);
                }
              }
              return i;
            }
            return [];
          }
          function er(e, t, n = {}) {
            return G(e) || Array.isArray(e)
              ? Array.isArray(e)
                ? er(e[0], t, e[1])
                : (t.has(e) || t.set(e, Cc(e)), [t.get(e), n])
              : [[e], n];
          }
          function tr(e) {
            let t = !0;
            return (
              e.walkDecls((e) => {
                if (!nr(e.prop, e.value)) return (t = !1), !1;
              }),
              t
            );
          }
          function nr(e, t) {
            if (
              (function (e) {
                if (!e.includes("://")) return !1;
                try {
                  let t = new URL(e);
                  return "" !== t.scheme && "" !== t.host;
                } catch (e) {
                  return !1;
                }
              })(`${e}:${t}`)
            )
              return !1;
            try {
              return qt.parse(`a{${e}:${t}}`).toResult(), !0;
            } catch (e) {
              return !1;
            }
          }
          function cr(e, t) {
            let [, n, c] = e.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/) ?? [];
            if (
              void 0 === c ||
              !(function (e) {
                return dr.test(e);
              })(n) ||
              !Oa(c)
            )
              return null;
            let a = Le(c);
            return nr(n, a)
              ? [
                  [
                    { sort: t.offsets.arbitraryProperty(), layer: "utilities" },
                    () => ({ [Ac(e)]: { [n]: a } }),
                  ],
                ]
              : null;
          }
          function* ar(e, t) {
            for (let n of e)
              (n[1].raws.tailwind = {
                ...n[1].raws.tailwind,
                classCandidate: t,
                preserveSource: n[0].options?.preserveSource ?? !1,
              }),
                yield n;
          }
          function* rr(e, t, n = e) {
            let c = t.tailwindConfig.separator,
              [a, ...r] = (function (e, t) {
                return e === ka ? [ka] : be(e, t);
              })(e, c).reverse(),
              o = !1;
            if (
              (a.startsWith("!") && ((o = !0), (a = a.slice(1))),
              Q(t.tailwindConfig, "variantGrouping") &&
                a.startsWith("(") &&
                a.endsWith(")"))
            ) {
              let e = r.slice().reverse().join(c);
              for (let r of be(a.slice(1, -1), ",")) yield* rr(e + c + r, t, n);
            }
            for (let c of (function* (e, t) {
              t.candidateRuleMap.has(e) &&
                (yield [t.candidateRuleMap.get(e), "DEFAULT"]),
                yield* (function* (e) {
                  null !== e && (yield [e, "DEFAULT"]);
                })(cr(e, t));
              let n = e,
                c = !1,
                a = t.tailwindConfig.prefix,
                r = a.length,
                o = n.startsWith(a) || n.startsWith(`-${a}`);
              "-" === n[r] && o && ((c = !0), (n = a + n.slice(r + 1))),
                c &&
                  t.candidateRuleMap.has(n) &&
                  (yield [t.candidateRuleMap.get(n), "-DEFAULT"]);
              for (let [e, a] of (function* (e) {
                let t = 1 / 0;
                for (; t >= 0; ) {
                  let n,
                    c = !1;
                  if (t === 1 / 0 && e.endsWith("]")) {
                    let t = e.indexOf("[");
                    "-" === e[t - 1]
                      ? (n = t - 1)
                      : "/" === e[t - 1]
                      ? ((n = t - 1), (c = !0))
                      : (n = -1);
                  } else
                    t === 1 / 0 && e.includes("/")
                      ? ((n = e.lastIndexOf("/")), (c = !0))
                      : (n = e.lastIndexOf("-", t));
                  if (n < 0) break;
                  let a = e.slice(0, n),
                    r = e.slice(c ? n : n + 1);
                  (t = n - 1), "" !== a && "/" !== r && (yield [a, r]);
                }
              })(n))
                t.candidateRuleMap.has(e) &&
                  (yield [t.candidateRuleMap.get(e), c ? `-${a}` : a]);
            })(a, t)) {
              let i = [],
                l = new Map(),
                [s, p] = c,
                u = 1 === s.length;
              for (let [e, n] of s) {
                let c = [];
                if ("function" == typeof n)
                  for (let a of [].concat(n(p, { isOnlyPlugin: u }))) {
                    let [n, r] = er(a, t.postCssNodeCache);
                    for (let t of n)
                      c.push([{ ...e, options: { ...e.options, ...r } }, t]);
                  }
                else if ("DEFAULT" === p || "-DEFAULT" === p) {
                  let a = n,
                    [r, o] = er(a, t.postCssNodeCache);
                  for (let t of r)
                    c.push([{ ...e, options: { ...e.options, ...o } }, t]);
                }
                if (c.length > 0) {
                  let n = Array.from(
                    ut(
                      e.options?.types ?? [],
                      p,
                      e.options ?? {},
                      t.tailwindConfig
                    )
                  ).map(([e, t]) => t);
                  n.length > 0 && l.set(c, n), i.push(c);
                }
              }
              if (sr(p)) {
                if (i.length > 1) {
                  let t = function (e) {
                      return 1 === e.length
                        ? e[0]
                        : e.find((e) => {
                            let t = l.get(e);
                            return e.some(
                              ([{ options: e }, n]) =>
                                !!tr(n) &&
                                e.types.some(
                                  ({ type: e, preferOnConflict: n }) =>
                                    t.includes(e) && n
                                )
                            );
                          });
                    },
                    [n, c] = i.reduce(
                      (e, t) => (
                        t.some(([{ options: e }]) =>
                          e.types.some(({ type: e }) => "any" === e)
                        )
                          ? e[0].push(t)
                          : e[1].push(t),
                        e
                      ),
                      [[], []]
                    ),
                    a = t(c) ?? t(n);
                  if (!a) {
                    let t = i.map((e) => new Set([...(l.get(e) ?? [])]));
                    for (let e of t)
                      for (let n of e) {
                        let c = !1;
                        for (let a of t)
                          e !== a && a.has(n) && (a.delete(n), (c = !0));
                        c && e.delete(n);
                      }
                    let n = [];
                    for (let [c, a] of t.entries())
                      for (let t of a) {
                        let a = i[c]
                          .map(([, e]) => e)
                          .flat()
                          .map((e) =>
                            e
                              .toString()
                              .split("\n")
                              .slice(1, -1)
                              .map((e) => e.trim())
                              .map((e) => `      ${e}`)
                              .join("\n")
                          )
                          .join("\n\n");
                        n.push(
                          `  Use \`${e.replace(
                            "[",
                            `[${t}:`
                          )}\` for \`${a.trim()}\``
                        );
                        break;
                      }
                    M.warn([
                      `The class \`${e}\` is ambiguous and matches multiple utilities.`,
                      ...n,
                      `If this is content and not a class, replace it with \`${e
                        .replace("[", "&lsqb;")
                        .replace("]", "&rsqb;")}\` to silence this warning.`,
                    ]);
                    continue;
                  }
                  i = [a];
                }
                i = i.map((e) => e.filter((e) => tr(e[1])));
              }
              (i = i.flat()),
                (i = Array.from(ar(i, a))),
                (i = Ya(i, t)),
                o && (i = Za(i, a));
              for (let e of r) i = Ja(e, i, t);
              for (let c of i)
                (c[1].raws.tailwind = { ...c[1].raws.tailwind, candidate: e }),
                  (c = or(c, { context: t, candidate: e, original: n })),
                  null !== c && (yield c);
            }
          }
          function or(e, { context: t, candidate: n, original: c }) {
            if (!e[0].collectedFormats) return e;
            let a,
              r = !0;
            try {
              a = Fa(e[0].collectedFormats, { context: t, candidate: n });
            } catch {
              return null;
            }
            let o = qt.root({ nodes: [e[1].clone()] });
            return (
              o.walkRules((e) => {
                if (!ir(e))
                  try {
                    e.selector = Ha(e.selector, a, {
                      candidate: c,
                      context: t,
                    });
                  } catch {
                    return (r = !1), !1;
                  }
              }),
              r ? ((e[1] = o.nodes[0]), e) : null
            );
          }
          function ir(e) {
            return (
              e.parent &&
              "atrule" === e.parent.type &&
              "keyframes" === e.parent.name
            );
          }
          function lr(e, t) {
            let n = [],
              c = (function (e) {
                return !0 === e
                  ? (e) => {
                      ir(e) ||
                        e.walkDecls((e) => {
                          "rule" === e.parent.type &&
                            !ir(e.parent) &&
                            (e.important = !0);
                        });
                    }
                  : "string" == typeof e
                  ? (t) => {
                      ir(t) || (t.selectors = t.selectors.map((t) => Ka(t, e)));
                    }
                  : void 0;
              })(t.tailwindConfig.important);
            for (let a of e) {
              if (t.notClassCache.has(a)) continue;
              if (t.candidateRuleCache.has(a)) {
                n = n.concat(Array.from(t.candidateRuleCache.get(a)));
                continue;
              }
              let e = Array.from(rr(a, t));
              if (0 === e.length) {
                t.notClassCache.add(a);
                continue;
              }
              t.classCache.set(a, e);
              let r = t.candidateRuleCache.get(a) ?? new Set();
              t.candidateRuleCache.set(a, r);
              for (let a of e) {
                let [{ sort: e, options: o }, i] = a;
                if (o.respectImportant && c) {
                  let e = qt.root({ nodes: [i.clone()] });
                  e.walkRules(c), (i = e.nodes[0]);
                }
                let l = [e, i];
                r.add(l), t.ruleCache.add(l), n.push(l);
              }
            }
            return n;
          }
          function sr(e) {
            return e.startsWith("[") && e.endsWith("]");
          }
          var pr,
            ur,
            dr,
            fr,
            hr = f(() => {
              g(),
                Ln(),
                (pr = v(sc())),
                Oc(),
                Y(),
                Sc(),
                ht(),
                j(),
                Ra(),
                Ua(),
                jc(),
                Ye(),
                qr(),
                Ea(),
                xe(),
                q(),
                Va(),
                (ur = (0, pr.default)(
                  (e) =>
                    e.first.filter(({ type: e }) => "class" === e).pop().value
                )),
                (dr = /^[a-z_-]/);
            }),
            mr = f(() => {
              g(), (fr = {});
            });
          function vr(e, t) {
            let n = t.toString();
            if (!n.includes("@tailwind")) return !1;
            let c = ya.get(e),
              a = (function (e) {
                try {
                  return fr
                    .createHash("md5")
                    .update(e, "utf-8")
                    .digest("binary");
                } catch (e) {
                  return "";
                }
              })(n),
              r = c !== a;
            return ya.set(e, a), r;
          }
          var gr = f(() => {
            g(), mr(), Ra();
          });
          function br(e) {
            return (e > 0n) - (e < 0n);
          }
          var xr = f(() => {
            g();
          });
          function wr(e, t) {
            let n = 0n,
              c = 0n;
            for (let [a, r] of t) e & a && ((n |= a), (c |= r));
            return (e & ~n) | c;
          }
          var yr = f(() => {
            g();
          });
          function kr(e) {
            let t = null;
            for (let n of e) (t = t ?? n), (t = t > n ? t : n);
            return t;
          }
          var Cr,
            Rr = f(() => {
              g(),
                xr(),
                yr(),
                (Cr = class {
                  constructor() {
                    (this.offsets = {
                      defaults: 0n,
                      base: 0n,
                      components: 0n,
                      utilities: 0n,
                      variants: 0n,
                      user: 0n,
                    }),
                      (this.layerPositions = {
                        defaults: 0n,
                        base: 1n,
                        components: 2n,
                        utilities: 3n,
                        user: 4n,
                        variants: 5n,
                      }),
                      (this.reservedVariantBits = 0n),
                      (this.variantOffsets = new Map());
                  }
                  create(e) {
                    return {
                      layer: e,
                      parentLayer: e,
                      arbitrary: 0n,
                      variants: 0n,
                      parallelIndex: 0n,
                      index: this.offsets[e]++,
                      options: [],
                    };
                  }
                  arbitraryProperty() {
                    return { ...this.create("utilities"), arbitrary: 1n };
                  }
                  forVariant(e, t = 0) {
                    let n = this.variantOffsets.get(e);
                    if (void 0 === n)
                      throw new Error(
                        `Cannot find offset for unknown variant ${e}`
                      );
                    return {
                      ...this.create("variants"),
                      variants: n << BigInt(t),
                    };
                  }
                  applyVariantOffset(e, t, n) {
                    return (
                      (n.variant = t.variants),
                      {
                        ...e,
                        layer: "variants",
                        parentLayer:
                          "variants" === e.layer ? e.parentLayer : e.layer,
                        variants: e.variants | t.variants,
                        options: n.sort ? [].concat(n, e.options) : e.options,
                        parallelIndex: kr([e.parallelIndex, t.parallelIndex]),
                      }
                    );
                  }
                  applyParallelOffset(e, t) {
                    return { ...e, parallelIndex: BigInt(t) };
                  }
                  recordVariants(e, t) {
                    for (let n of e) this.recordVariant(n, t(n));
                  }
                  recordVariant(e, t = 1) {
                    return (
                      this.variantOffsets.set(
                        e,
                        1n << this.reservedVariantBits
                      ),
                      (this.reservedVariantBits += BigInt(t)),
                      {
                        ...this.create("variants"),
                        variants: this.variantOffsets.get(e),
                      }
                    );
                  }
                  compare(e, t) {
                    if (e.layer !== t.layer)
                      return (
                        this.layerPositions[e.layer] -
                        this.layerPositions[t.layer]
                      );
                    if (e.parentLayer !== t.parentLayer)
                      return (
                        this.layerPositions[e.parentLayer] -
                        this.layerPositions[t.parentLayer]
                      );
                    for (let n of e.options)
                      for (let c of t.options) {
                        if (n.id !== c.id || !n.sort || !c.sort) continue;
                        let a = kr([n.variant, c.variant]) ?? 0n,
                          r = ~(a | (a - 1n));
                        if ((e.variants & r) !== (t.variants & r)) continue;
                        let o = n.sort(
                          { value: n.value, modifier: n.modifier },
                          { value: c.value, modifier: c.modifier }
                        );
                        if (0 !== o) return o;
                      }
                    return e.variants !== t.variants
                      ? e.variants - t.variants
                      : e.parallelIndex !== t.parallelIndex
                      ? e.parallelIndex - t.parallelIndex
                      : e.arbitrary !== t.arbitrary
                      ? e.arbitrary - t.arbitrary
                      : e.index - t.index;
                  }
                  recalculateVariantOffsets() {
                    let e = Array.from(this.variantOffsets.entries())
                        .filter(([e]) => e.startsWith("["))
                        .sort(([e], [t]) =>
                          (function (e, t) {
                            let n = e.length,
                              c = t.length,
                              a = n < c ? n : c;
                            for (let n = 0; n < a; n++) {
                              let c = e.charCodeAt(n) - t.charCodeAt(n);
                              if (0 !== c) return c;
                            }
                            return n - c;
                          })(e, t)
                        ),
                      t = e.map(([, e]) => e).sort((e, t) => br(e - t));
                    return e
                      .map(([, e], n) => [e, t[n]])
                      .filter(([e, t]) => e !== t);
                  }
                  remapArbitraryVariantOffsets(e) {
                    let t = this.recalculateVariantOffsets();
                    return 0 === t.length
                      ? e
                      : e.map((e) => {
                          let [n, c] = e;
                          return (
                            (n = { ...n, variants: wr(n.variants, t) }), [n, c]
                          );
                        });
                  }
                  sort(e) {
                    return (e = this.remapArbitraryVariantOffsets(e)).sort(
                      ([e], [t]) => br(this.compare(e, t))
                    );
                  }
                });
            });
          function Or(e, t) {
            let n = e.tailwindConfig.prefix;
            return "function" == typeof n ? n(t) : n + t;
          }
          function $r({ type: e = "any", ...t }) {
            return {
              ...t,
              types: []
                .concat(e)
                .map((e) =>
                  Array.isArray(e)
                    ? { type: e[0], ...e[1] }
                    : { type: e, preferOnConflict: !1 }
                ),
            };
          }
          function Lr(e) {
            return Array.isArray(e)
              ? e.flatMap((e) => (Array.isArray(e) || G(e) ? Cc(e) : e))
              : Lr([e]);
          }
          function Sr(e, t) {
            return (0, Pr.default)((e) => {
              let n = [];
              return (
                t && t(e),
                e.walkClasses((e) => {
                  n.push(e.value);
                }),
                n
              );
            }).transformSync(e);
          }
          function Er(e) {
            return Lr(e).flatMap((e) => {
              let t = new Map(),
                [n, c] = (function (
                  e,
                  t = { containsNonOnDemandable: !1 },
                  n = 0
                ) {
                  let c = [];
                  if ("rule" === e.type) {
                    let n = function (e) {
                      e.walkPseudos((e) => {
                        ":not" === e.value && e.remove();
                      });
                    };
                    for (let a of e.selectors) {
                      let e = Sr(a, n);
                      0 === e.length && (t.containsNonOnDemandable = !0);
                      for (let t of e) c.push(t);
                    }
                  } else
                    "atrule" === e.type &&
                      e.walkRules((e) => {
                        for (let t of e.selectors.flatMap((e) => Sr(e)))
                          c.push(t);
                      });
                  return 0 === n
                    ? [t.containsNonOnDemandable || 0 === c.length, c]
                    : c;
                })(e);
              return (
                n && c.unshift(ka),
                c.map((n) => (t.has(e) || t.set(e, e), [n, t.get(e)]))
              );
            });
          }
          function Ir(e) {
            return e.startsWith("@") || e.includes("&");
          }
          function Tr(e) {
            let t = (function (e) {
              let t = [],
                n = "",
                c = 0;
              for (let a = 0; a < e.length; a++) {
                let r = e[a];
                if ("\\" === r) n += "\\" + e[++a];
                else if ("{" === r) ++c, t.push(n.trim()), (n = "");
                else if ("}" === r) {
                  if (--c < 0) throw new Error("Your { and } are unbalanced.");
                  t.push(n.trim()), (n = "");
                } else n += r;
              }
              return (
                n.length > 0 && t.push(n.trim()),
                (t = t.filter((e) => "" !== e)),
                t
              );
            })(
              (e = e
                .replace(/\n+/g, "")
                .replace(/\s{1,}/g, " ")
                .trim())
            )
              .map((e) => {
                if (!e.startsWith("@")) return ({ format: t }) => t(e);
                let [, t, n] = /@(\S*)( .+|[({].*)?/g.exec(e);
                return ({ wrap: e }) =>
                  e(qt.atRule({ name: t, params: n?.trim() ?? "" }));
              })
              .reverse();
            return (e) => {
              for (let n of t) n(e);
            };
          }
          function Ar(
            e,
            t,
            { variantList: n, variantMap: c, offsets: a, classList: r }
          ) {
            function o(t, n) {
              return t ? (0, Dr.default)(e, t, n) : e;
            }
            function i(e, n) {
              return e === ka
                ? ka
                : n.respectPrefix
                ? t.tailwindConfig.prefix + e
                : e;
            }
            let l = 0,
              s = {
                postcss: qt,
                prefix: function (t) {
                  return $c(e.prefix, t);
                },
                e: Ec,
                config: o,
                theme: function (e, t, n = {}) {
                  let c = X(e),
                    a = o(["theme", ...c], t);
                  return pc(c[0])(a, n);
                },
                corePlugins: (t) =>
                  Array.isArray(e.corePlugins)
                    ? e.corePlugins.includes(t)
                    : o(["corePlugins", t], !0),
                variants: () => [],
                addBase(e) {
                  for (let [n, c] of Er(e)) {
                    let e = i(n, {}),
                      r = a.create("base");
                    t.candidateRuleMap.has(e) || t.candidateRuleMap.set(e, []),
                      t.candidateRuleMap
                        .get(e)
                        .push([{ sort: r, layer: "base" }, c]);
                  }
                },
                addDefaults(e, n) {
                  let c = { [`@defaults ${e}`]: n };
                  for (let [e, n] of Er(c)) {
                    let c = i(e, {});
                    t.candidateRuleMap.has(c) || t.candidateRuleMap.set(c, []),
                      t.candidateRuleMap
                        .get(c)
                        .push([
                          { sort: a.create("defaults"), layer: "defaults" },
                          n,
                        ]);
                  }
                },
                addComponents(e, n) {
                  n = Object.assign(
                    {},
                    {
                      preserveSource: !1,
                      respectPrefix: !0,
                      respectImportant: !1,
                    },
                    Array.isArray(n) ? {} : n
                  );
                  for (let [c, o] of Er(e)) {
                    let e = i(c, n);
                    r.add(e),
                      t.candidateRuleMap.has(e) ||
                        t.candidateRuleMap.set(e, []),
                      t.candidateRuleMap
                        .get(e)
                        .push([
                          {
                            sort: a.create("components"),
                            layer: "components",
                            options: n,
                          },
                          o,
                        ]);
                  }
                },
                addUtilities(e, n) {
                  n = Object.assign(
                    {},
                    {
                      preserveSource: !1,
                      respectPrefix: !0,
                      respectImportant: !0,
                    },
                    Array.isArray(n) ? {} : n
                  );
                  for (let [c, o] of Er(e)) {
                    let e = i(c, n);
                    r.add(e),
                      t.candidateRuleMap.has(e) ||
                        t.candidateRuleMap.set(e, []),
                      t.candidateRuleMap
                        .get(e)
                        .push([
                          {
                            sort: a.create("utilities"),
                            layer: "utilities",
                            options: n,
                          },
                          o,
                        ]);
                  }
                },
                matchUtilities: function (n, c) {
                  c = $r({
                    respectPrefix: !0,
                    respectImportant: !0,
                    modifiers: !1,
                    ...c,
                  });
                  let o = a.create("utilities");
                  for (let a in n) {
                    let l = function (t, { isOnlyPlugin: n }) {
                        let [r, o, i] = pt(c.types, t, c, e);
                        if (void 0 === r) return [];
                        if (!c.types.some(({ type: e }) => e === o)) {
                          if (!n) return [];
                          M.warn([
                            `Unnecessary typehint \`${o}\` in \`${a}-${t}\`.`,
                            `You can safely update it to \`${a}-${t.replace(
                              o + ":",
                              ""
                            )}\`.`,
                          ]);
                        }
                        if (!Oa(r)) return [];
                        let l = {
                            get modifier() {
                              return (
                                c.modifiers ||
                                  M.warn(
                                    `modifier-used-without-options-for-${a}`,
                                    [
                                      "Your plugin must set `modifiers: true` in its options to support modifiers.",
                                    ]
                                  ),
                                i
                              );
                            },
                          },
                          s = Q(e, "generalizedModifiers");
                        return []
                          .concat(s ? p(r, l) : p(r))
                          .filter(Boolean)
                          .map((e) => ({ [Bc(a, t)]: e }));
                      },
                      s = i(a, c),
                      p = n[a];
                    r.add([s, c]);
                    let u = [{ sort: o, layer: "utilities", options: c }, l];
                    t.candidateRuleMap.has(s) || t.candidateRuleMap.set(s, []),
                      t.candidateRuleMap.get(s).push(u);
                  }
                },
                matchComponents: function (n, c) {
                  c = $r({
                    respectPrefix: !0,
                    respectImportant: !1,
                    modifiers: !1,
                    ...c,
                  });
                  let o = a.create("components");
                  for (let a in n) {
                    let l = function (t, { isOnlyPlugin: n }) {
                        let [r, o, i] = pt(c.types, t, c, e);
                        if (void 0 === r) return [];
                        if (!c.types.some(({ type: e }) => e === o)) {
                          if (!n) return [];
                          M.warn([
                            `Unnecessary typehint \`${o}\` in \`${a}-${t}\`.`,
                            `You can safely update it to \`${a}-${t.replace(
                              o + ":",
                              ""
                            )}\`.`,
                          ]);
                        }
                        if (!Oa(r)) return [];
                        let l = {
                            get modifier() {
                              return (
                                c.modifiers ||
                                  M.warn(
                                    `modifier-used-without-options-for-${a}`,
                                    [
                                      "Your plugin must set `modifiers: true` in its options to support modifiers.",
                                    ]
                                  ),
                                i
                              );
                            },
                          },
                          s = Q(e, "generalizedModifiers");
                        return []
                          .concat(s ? p(r, l) : p(r))
                          .filter(Boolean)
                          .map((e) => ({ [Bc(a, t)]: e }));
                      },
                      s = i(a, c),
                      p = n[a];
                    r.add([s, c]);
                    let u = [{ sort: o, layer: "components", options: c }, l];
                    t.candidateRuleMap.has(s) || t.candidateRuleMap.set(s, []),
                      t.candidateRuleMap.get(s).push(u);
                  }
                },
                addVariant(e, a, r = {}) {
                  (a = [].concat(a).map((t) => {
                    if ("string" != typeof t)
                      return (n = {}) => {
                        let {
                            args: c,
                            modifySelectors: a,
                            container: o,
                            separator: i,
                            wrap: l,
                            format: s,
                          } = n,
                          p = t(
                            Object.assign(
                              {
                                modifySelectors: a,
                                container: o,
                                separator: i,
                              },
                              r.type === Xr.MatchVariant && {
                                args: c,
                                wrap: l,
                                format: s,
                              }
                            )
                          );
                        if ("string" == typeof p && !Ir(p))
                          throw new Error(
                            `Your custom variant \`${e}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`
                          );
                        return Array.isArray(p)
                          ? p
                              .filter((e) => "string" == typeof e)
                              .map((e) => Tr(e))
                          : p && "string" == typeof p && Tr(p)(n);
                      };
                    if (!Ir(t))
                      throw new Error(
                        `Your custom variant \`${e}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`
                      );
                    return Tr(t);
                  })),
                    (function (e, t, { before: n = [] } = {}) {
                      if ((n = [].concat(n)).length <= 0) return void e.push(t);
                      let c = e.length - 1;
                      for (let t of n) {
                        let n = e.indexOf(t);
                        -1 !== n && (c = Math.min(c, n));
                      }
                      e.splice(c, 0, t);
                    })(n, e, r),
                    c.set(e, a),
                    t.variantOptions.set(e, r);
                },
                matchVariant(t, n, c) {
                  let a = c?.id ?? ++l,
                    r = "@" === t,
                    o = Q(e, "generalizedModifiers");
                  for (let [e, i] of Object.entries(c?.values ?? {}))
                    "DEFAULT" !== e &&
                      s.addVariant(
                        r ? `${t}${e}` : `${t}-${e}`,
                        ({ args: e, container: t }) =>
                          n(
                            i,
                            o
                              ? { modifier: e?.modifier, container: t }
                              : { container: t }
                          ),
                        {
                          ...c,
                          value: i,
                          id: a,
                          type: Xr.MatchVariant,
                          variantInfo: Nr.Base,
                        }
                      );
                  let i = "DEFAULT" in (c?.values ?? {});
                  s.addVariant(
                    t,
                    ({ args: e, container: t }) =>
                      e?.value !== Ca || i
                        ? n(
                            e?.value === Ca
                              ? c.values.DEFAULT
                              : e?.value ?? ("string" == typeof e ? e : ""),
                            o
                              ? { modifier: e?.modifier, container: t }
                              : { container: t }
                          )
                        : null,
                    {
                      ...c,
                      id: a,
                      type: Xr.MatchVariant,
                      variantInfo: Nr.Dynamic,
                    }
                  );
                },
              };
            return s;
          }
          function Br(e) {
            return Qr.has(e) || Qr.set(e, new Map()), Qr.get(e);
          }
          function Mr(e, t) {
            let n = !1,
              a = new Map();
            for (let r of e) {
              if (!r) continue;
              let e = Ut.parse(r),
                o = e.hash ? e.href.replace(e.hash, "") : e.href;
              o = e.search ? o.replace(e.search, "") : o;
              let i = c.statSync(decodeURIComponent(o), {
                throwIfNoEntry: !1,
              })?.mtimeMs;
              !i || ((!t.has(r) || i > t.get(r)) && (n = !0), a.set(r, i));
            }
            return [n, a];
          }
          function jr(e) {
            e.walkAtRules((e) => {
              ["responsive", "variants"].includes(e.name) &&
                (jr(e), e.before(e.nodes), e.remove());
            });
          }
          function _r(e) {
            let t = [];
            return (
              e.each((e) => {
                "atrule" === e.type &&
                  ["responsive", "variants"].includes(e.name) &&
                  ((e.name = "layer"), (e.params = "utilities"));
              }),
              e.walkAtRules("layer", (e) => {
                if ((jr(e), "base" === e.params)) {
                  for (let n of e.nodes)
                    t.push(function ({ addBase: e }) {
                      e(n, { respectPrefix: !1 });
                    });
                  e.remove();
                } else if ("components" === e.params) {
                  for (let n of e.nodes)
                    t.push(function ({ addComponents: e }) {
                      e(n, { respectPrefix: !1, preserveSource: !0 });
                    });
                  e.remove();
                } else if ("utilities" === e.params) {
                  for (let n of e.nodes)
                    t.push(function ({ addUtilities: e }) {
                      e(n, { respectPrefix: !1, preserveSource: !0 });
                    });
                  e.remove();
                }
              }),
              t
            );
          }
          function zr(e, t) {
            !e.classCache.has(t) ||
              (e.notClassCache.add(t),
              e.classCache.delete(t),
              e.applyClassCache.delete(t),
              e.candidateRuleMap.delete(t),
              e.candidateRuleCache.delete(t),
              (e.stylesheetCache = null));
          }
          function Fr(e, t = [], n = qt.root()) {
            let c = {
                disposables: [],
                ruleCache: new Set(),
                candidateRuleCache: new Map(),
                classCache: new Map(),
                applyClassCache: new Map(),
                notClassCache: new Set(e.blocklist ?? []),
                postCssNodeCache: new Map(),
                candidateRuleMap: new Map(),
                tailwindConfig: e,
                changedContent: t,
                variantMap: new Map(),
                stylesheetCache: null,
                variantOptions: new Map(),
                markInvalidUtilityCandidate: (e) => zr(c, e),
                markInvalidUtilityNode: (e) =>
                  (function (e, t) {
                    let n = t.raws.tailwind.candidate;
                    if (n) {
                      for (let t of e.ruleCache)
                        t[1].raws.tailwind.candidate === n &&
                          e.ruleCache.delete(t);
                      zr(e, n);
                    }
                  })(c, e),
              },
              a = (function (e, t) {
                let n = Object.entries({ ...sa, ...fa })
                    .map(([t, n]) =>
                      e.tailwindConfig.corePlugins.includes(t) ? n : null
                    )
                    .filter(Boolean),
                  c = e.tailwindConfig.plugins.map(
                    (e) => (
                      e.__isOptionsFunction && (e = e()),
                      "function" == typeof e ? e : e.handler
                    )
                  ),
                  a = _r(t);
                return [
                  ...n,
                  sa.pseudoElementVariants,
                  sa.pseudoClassVariants,
                  sa.ariaVariants,
                  sa.dataVariants,
                  ...c,
                  sa.supportsVariants,
                  sa.directionVariants,
                  sa.reducedMotionVariants,
                  sa.prefersContrastVariants,
                  sa.darkVariants,
                  sa.printVariant,
                  sa.screenVariants,
                  sa.orientationVariants,
                  ...a,
                ];
              })(c, n);
            return (
              (function (e, t) {
                let n = [],
                  c = new Map();
                t.variantMap = c;
                let a = new Cr();
                t.offsets = a;
                let r = new Set(),
                  o = Ar(t.tailwindConfig, t, {
                    variantList: n,
                    variantMap: c,
                    offsets: a,
                    classList: r,
                  });
                for (let t of e)
                  if (Array.isArray(t)) for (let e of t) e(o);
                  else t?.(o);
                a.recordVariants(n, (e) => c.get(e).length);
                for (let [e, n] of c.entries())
                  t.variantMap.set(
                    e,
                    n.map((t, n) => [a.forVariant(e, n), t])
                  );
                let i = (t.tailwindConfig.safelist ?? []).filter(Boolean);
                if (i.length > 0) {
                  let e = [];
                  for (let n of i)
                    "string" != typeof n
                      ? n instanceof RegExp
                        ? M.warn("root-regex", [
                            "Regular expressions in `safelist` work differently in Tailwind CSS v3.0.",
                            "Update your `safelist` configuration to eliminate this warning.",
                            "https://tailwindcss.com/docs/content-configuration#safelisting-classes",
                          ])
                        : e.push(n)
                      : t.changedContent.push({
                          content: n,
                          extension: "html",
                        });
                  if (e.length > 0) {
                    let n = new Map(),
                      c = t.tailwindConfig.prefix.length,
                      a = e.some((e) => e.pattern.source.includes("!"));
                    for (let o of r) {
                      let r = Array.isArray(o)
                        ? (() => {
                            let [e, n] = o,
                              r = Object.keys(n?.values ?? {}).map((t) =>
                                Mc(e, t)
                              );
                            return (
                              n?.supportsNegativeValues &&
                                ((r = [...r, ...r.map((e) => "-" + e)]),
                                (r = [
                                  ...r,
                                  ...r.map(
                                    (e) => e.slice(0, c) + "-" + e.slice(c)
                                  ),
                                ])),
                              n.types.some(({ type: e }) => "color" === e) &&
                                (r = [
                                  ...r,
                                  ...r.flatMap((e) =>
                                    Object.keys(
                                      t.tailwindConfig.theme.opacity
                                    ).map((t) => `${e}/${t}`)
                                  ),
                                ]),
                              a &&
                                n?.respectImportant &&
                                (r = [...r, ...r.map((e) => "!" + e)]),
                              r
                            );
                          })()
                        : [o];
                      for (let c of r)
                        for (let { pattern: a, variants: r = [] } of e)
                          if (
                            ((a.lastIndex = 0),
                            n.has(a) || n.set(a, 0),
                            a.test(c))
                          ) {
                            n.set(a, n.get(a) + 1),
                              t.changedContent.push({
                                content: c,
                                extension: "html",
                              });
                            for (let e of r)
                              t.changedContent.push({
                                content: e + t.tailwindConfig.separator + c,
                                extension: "html",
                              });
                          }
                    }
                    for (let [e, t] of n.entries())
                      0 === t &&
                        M.warn([
                          `The safelist pattern \`${e}\` doesn't match any Tailwind CSS classes.`,
                          "Fix this pattern or remove it from your `safelist` configuration.",
                          "https://tailwindcss.com/docs/content-configuration#safelisting-classes",
                        ]);
                  }
                }
                let l =
                    [].concat(t.tailwindConfig.darkMode ?? "media")[1] ??
                    "dark",
                  s = [Or(t, l), Or(t, "group"), Or(t, "peer")];
                (t.getClassOrder = function (e) {
                  let n = [...e].sort((e, t) => (e === t ? 0 : e < t ? -1 : 1)),
                    c = new Map(n.map((e) => [e, null])),
                    a = lr(new Set(n), t);
                  a = t.offsets.sort(a);
                  let r = BigInt(s.length);
                  for (let [, e] of a) {
                    let t = e.raws.tailwind.candidate;
                    c.set(t, c.get(t) ?? r++);
                  }
                  return e.map((e) => {
                    let t = c.get(e) ?? null,
                      n = s.indexOf(e);
                    return null === t && -1 !== n && (t = BigInt(n)), [e, t];
                  });
                }),
                  (t.getClassList = function (e = {}) {
                    let n = [];
                    for (let c of r)
                      if (Array.isArray(c)) {
                        let [a, r] = c,
                          o = [],
                          i = Object.keys(r?.modifiers ?? {});
                        r?.types?.some(({ type: e }) => "color" === e) &&
                          i.push(
                            ...Object.keys(t.tailwindConfig.theme.opacity ?? {})
                          );
                        let l = { modifiers: i },
                          s = e.includeMetadata && i.length > 0;
                        for (let [e, t] of Object.entries(r?.values ?? {})) {
                          if (null == t) continue;
                          let c = Mc(a, e);
                          if (
                            (n.push(s ? [c, l] : c),
                            r?.supportsNegativeValues && C(t))
                          ) {
                            let t = Mc(a, `-${e}`);
                            o.push(s ? [t, l] : t);
                          }
                        }
                        n.push(...o);
                      } else n.push(c);
                    return n;
                  }),
                  (t.getVariants = function () {
                    let e = [];
                    for (let [n, c] of t.variantOptions.entries())
                      c.variantInfo !== Nr.Base &&
                        e.push({
                          name: n,
                          isArbitrary: c.type === Symbol.for("MATCH_VARIANT"),
                          values: Object.keys(c.values ?? {}),
                          hasDash: "@" !== n,
                          selectors({ modifier: e, value: a } = {}) {
                            let r = "__TAILWIND_PLACEHOLDER__",
                              o = qt.rule({ selector: `.${r}` }),
                              i = qt.root({ nodes: [o.clone()] }),
                              l = i.toString(),
                              s = (t.variantMap.get(n) ?? []).flatMap(
                                ([e, t]) => t
                              ),
                              p = [];
                            for (let n of s) {
                              let r = [],
                                o = {
                                  args: {
                                    modifier: e,
                                    value: c.values?.[a] ?? a,
                                  },
                                  separator: t.tailwindConfig.separator,
                                  modifySelectors(e) {
                                    return (
                                      i.each((t) => {
                                        "rule" === t.type &&
                                          (t.selectors = t.selectors.map((t) =>
                                            e({
                                              get className() {
                                                return Ga(t);
                                              },
                                              selector: t,
                                            })
                                          ));
                                      }),
                                      i
                                    );
                                  },
                                  format(e) {
                                    r.push(e);
                                  },
                                  wrap(e) {
                                    r.push(`@${e.name} ${e.params} { & }`);
                                  },
                                  container: i,
                                },
                                l = n(o);
                              if ((r.length > 0 && p.push(r), Array.isArray(l)))
                                for (let e of l) (r = []), e(o), p.push(r);
                            }
                            let u = [];
                            l !== i.toString() &&
                              (i.walkRules((e) => {
                                let c = e.selector,
                                  a = (0, Pr.default)((e) => {
                                    e.walkClasses((e) => {
                                      e.value = `${n}${t.tailwindConfig.separator}${e.value}`;
                                    });
                                  }).processSync(c);
                                u.push(c.replace(a, "&").replace(r, "&"));
                              }),
                              i.walkAtRules((e) => {
                                u.push(`@${e.name} (${e.params}) { & }`);
                              }));
                            let d = !(a in (c.values ?? {})),
                              f = c[Hr] ?? {},
                              h = !(d || !1 === f.respectPrefix);
                            (p = p.map((e) =>
                              e.map((e) => ({ format: e, respectPrefix: h }))
                            )),
                              (u = u.map((e) => ({
                                format: e,
                                respectPrefix: h,
                              })));
                            let m = { candidate: r, context: t },
                              v = p.map((e) =>
                                Ha(`.${r}`, Fa(e, m), m)
                                  .replace(`.${r}`, "&")
                                  .replace("{ & }", "")
                                  .trim()
                              );
                            return (
                              u.length > 0 &&
                                v.push(
                                  Fa(u, m).toString().replace(`.${r}`, "&")
                                ),
                              v
                            );
                          },
                        });
                    return e;
                  });
              })(a, c),
              c
            );
          }
          var Dr,
            Pr,
            Hr,
            Xr,
            Nr,
            Qr,
            Wr,
            Ur,
            Kr,
            qr = f(() => {
              g(),
                b(),
                Vt(),
                Ln(),
                (Dr = v(Sn())),
                (Pr = v(sc())),
                fc(),
                Oc(),
                Sc(),
                Y(),
                Tc(),
                jc(),
                ht(),
                ma(),
                Ra(),
                Ra(),
                N(),
                j(),
                O(),
                Ea(),
                hr(),
                gr(),
                Rr(),
                q(),
                Ua(),
                (Hr = Symbol()),
                (Xr = {
                  AddVariant: Symbol.for("ADD_VARIANT"),
                  MatchVariant: Symbol.for("MATCH_VARIANT"),
                }),
                (Nr = { Base: 1, Dynamic: 2 }),
                (Qr = new WeakMap()),
                (Wr = ba),
                (Ur = xa),
                (Kr = wa);
            });
          function Vr(t) {
            return t.ignore
              ? []
              : t.glob
              ? "true" === e.env.ROLLUP_WATCH
                ? [{ type: "dependency", file: t.base }]
                : [{ type: "dir-dependency", dir: t.base, glob: t.glob }]
              : [{ type: "dependency", file: t.base }];
          }
          var Gr = f(() => {
            g();
          });
          function Yr(e, t) {
            return { handler: e, config: t };
          }
          var Zr,
            Jr = f(() => {
              g(),
                (Yr.withOptions = function (e, t = () => ({})) {
                  let n = function (n) {
                    return { __options: n, handler: e(n), config: t(n) };
                  };
                  return (
                    (n.__isOptionsFunction = !0),
                    (n.__pluginFunction = e),
                    (n.__configFunction = t),
                    n
                  );
                }),
                (Zr = Yr);
            }),
            eo = {};
          m(eo, { default: () => to });
          var to,
            no = f(() => {
              g(), Jr(), (to = Zr);
            }),
            co = h((e, t) => {
              g();
              var n = (no(), eo).default,
                c = {
                  overflow: "hidden",
                  display: "-webkit-box",
                  "-webkit-box-orient": "vertical",
                },
                a = n(
                  function ({
                    matchUtilities: e,
                    addUtilities: t,
                    theme: n,
                    variants: a,
                  }) {
                    e(
                      {
                        "line-clamp": (e) => ({
                          ...c,
                          "-webkit-line-clamp": `${e}`,
                        }),
                      },
                      { values: n("lineClamp") }
                    ),
                      t(
                        [
                          {
                            ".line-clamp-none": {
                              "-webkit-line-clamp": "unset",
                            },
                          },
                        ],
                        a("lineClamp")
                      );
                  },
                  {
                    theme: {
                      lineClamp: {
                        1: "1",
                        2: "2",
                        3: "3",
                        4: "4",
                        5: "5",
                        6: "6",
                      },
                    },
                    variants: { lineClamp: ["responsive"] },
                  }
                );
              t.exports = a;
            });
          function ao(e) {
            0 === e.content.files.length &&
              M.warn("content-problems", [
                "The `content` option in your Tailwind CSS configuration is missing or empty.",
                "Configure your content sources or your generated CSS will be missing styles.",
                "https://tailwindcss.com/docs/content-configuration",
              ]);
            try {
              let t = co();
              e.plugins.includes(t) &&
                (M.warn("line-clamp-in-core", [
                  "As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.",
                  "Remove it from the `plugins` array in your configuration to eliminate this warning.",
                ]),
                (e.plugins = e.plugins.filter((e) => e !== t)));
            } catch {}
            return e;
          }
          var ro,
            oo,
            io,
            lo,
            so = f(() => {
              g(), j();
            }),
            po = f(() => {
              g(), (ro = () => !1);
            }),
            uo = f(() => {
              g(),
                (oo = {
                  sync: (e) => [].concat(e),
                  generateTasks: (e) => [
                    {
                      dynamic: !1,
                      base: ".",
                      negative: [],
                      positive: [].concat(e),
                      patterns: [].concat(e),
                    },
                  ],
                  escapePath: (e) => e,
                });
            }),
            fo = f(() => {
              g(), (io = (e) => e);
            }),
            ho = f(() => {
              g(), (lo = () => "");
            });
          var mo = f(() => {
            g(), ho();
          });
          function vo(e, t) {
            let n = t.content.files;
            (n = n.filter((e) => "string" == typeof e)), (n = n.map(io));
            let c = oo.generateTasks(n),
              a = [],
              r = [];
            for (let e of c)
              a.push(...e.positive.map((e) => go(e, !1))),
                r.push(...e.negative.map((e) => go(e, !0)));
            let o = [...a, ...r];
            return (
              (o = (function (e, t) {
                let n = [];
                return (
                  e.userConfigPath &&
                    e.tailwindConfig.content.relative &&
                    (n = [Ft.dirname(e.userConfigPath)]),
                  t.map((e) => ((e.base = Ft.resolve(...n, e.base)), e))
                );
              })(e, o)),
              (o = o.flatMap(xo)),
              (o = o.map(bo)),
              o
            );
          }
          function go(e, t) {
            let n = { original: e, base: e, ignore: t, pattern: e, glob: null };
            return (
              ro(e) &&
                Object.assign(
                  n,
                  (function (e) {
                    let t = e,
                      n = lo(e);
                    return (
                      "." !== n &&
                        ((t = e.substr(n.length)),
                        "/" === t.charAt(0) && (t = t.substr(1))),
                      "./" === t.substr(0, 2) && (t = t.substr(2)),
                      "/" === t.charAt(0) && (t = t.substr(1)),
                      { base: n, glob: t }
                    );
                  })(e)
                ),
              n
            );
          }
          function bo(e) {
            let t = io(e.base);
            return (
              (t = oo.escapePath(t)),
              (e.pattern = e.glob ? `${t}/${e.glob}` : t),
              (e.pattern = e.ignore ? `!${e.pattern}` : e.pattern),
              e
            );
          }
          function xo(e) {
            let t = [e];
            try {
              let n = c.realpathSync(e.base);
              n !== e.base && t.push({ ...e, base: n });
            } catch {}
            return t;
          }
          function wo(e, t, n) {
            let a = e.tailwindConfig.content.files
                .filter((e) => "string" == typeof e.raw)
                .map(({ raw: e, extension: t = "html" }) => ({
                  content: e,
                  extension: t,
                })),
              [r, o] = (function (e, t) {
                let n = e.map((e) => e.pattern),
                  a = new Map(),
                  r = new Set();
                ga.DEBUG && console.time("Finding changed files");
                let o = oo.sync(n, { absolute: !0 });
                for (let e of o) {
                  let n = t.get(e) || -1 / 0,
                    o = c.statSync(e).mtimeMs;
                  o > n && (r.add(e), a.set(e, o));
                }
                return (
                  ga.DEBUG && console.timeEnd("Finding changed files"), [r, a]
                );
              })(t, n);
            for (let e of r) {
              let t = Ft.extname(e).slice(1);
              a.push({ file: e, extension: t });
            }
            return [a, o];
          }
          var yo = f(() => {
            g(), b(), Dt(), po(), uo(), fo(), mo(), Ra();
          });
          var ko = f(() => {
            g();
          });
          function* Co(e, t, n, a = Ft.extname(e)) {
            let r = (function (e, t) {
              for (let n of t) {
                let t = `${e}${n}`;
                if (c.existsSync(t) && c.statSync(t).isFile()) return t;
              }
              for (let n of t) {
                let t = `${e}/index${n}`;
                if (c.existsSync(t)) return t;
              }
              return null;
            })(Ft.resolve(t, e), Ro.includes(a) ? Oo : $o);
            if (null === r || n.has(r)) return;
            n.add(r), yield r, (t = Ft.dirname(r)), (a = Ft.extname(r));
            let o = c.readFileSync(r, "utf-8");
            for (let e of [
              ...o.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),
              ...o.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),
              ...o.matchAll(/require\(['"`](.+)['"`]\)/gi),
            ])
              !e[1].startsWith(".") || (yield* Co(e[1], t, n, a));
          }
          var Ro,
            Oo,
            $o,
            Lo = f(() => {
              g(),
                b(),
                Dt(),
                (Ro = [".js", ".cjs", ".mjs"]),
                (Oo = [
                  "",
                  ".js",
                  ".cjs",
                  ".mjs",
                  ".ts",
                  ".cts",
                  ".mts",
                  ".jsx",
                  ".tsx",
                ]),
                ($o = [
                  "",
                  ".ts",
                  ".cts",
                  ".mts",
                  ".tsx",
                  ".js",
                  ".cjs",
                  ".mjs",
                  ".jsx",
                ]);
            });
          function So(e) {
            let t = Xt(e);
            if (null !== t) {
              let [e, n, a, r] = To.get(t) || [],
                o = (function (e) {
                  return null === e
                    ? new Set()
                    : new Set(Co(e, Ft.dirname(e), new Set()));
                })(t),
                i = !1,
                l = new Map();
              for (let e of o) {
                let t = c.statSync(e).mtimeMs;
                l.set(e, t), (!r || !r.has(e) || t > r.get(e)) && (i = !0);
              }
              if (!i) return [e, t, n, a];
              for (let e of o) delete d.cache[e];
              let s = ao(jt(void 0)),
                p = y(s);
              return To.set(t, [s, p, o, l]), [s, t, p, o];
            }
            let n = jt(e?.config ?? e ?? {});
            return (n = ao(n)), [n, null, y(n), []];
          }
          function Eo(e) {
            return ({ tailwindDirectives: t, registerDependency: n }) =>
              (c, a) => {
                let [r, o, i, l] = So(e),
                  s = new Set(l);
                if (t.size > 0) {
                  s.add(a.opts.from);
                  for (let e of a.messages)
                    "dependency" === e.type && s.add(e.file);
                }
                let [p, , u] = (function (e, t, n, c, a, r) {
                    let o,
                      i = t.opts.from,
                      l = null !== c;
                    if (
                      (ga.DEBUG && console.log("Source path:", i),
                      l && Wr.has(i))
                    )
                      o = Wr.get(i);
                    else if (Ur.has(a)) {
                      let e = Ur.get(a);
                      Kr.get(e).add(i), Wr.set(i, e), (o = e);
                    }
                    let s = vr(i, e);
                    if (o) {
                      let [e, t] = Mr([...r], Br(o));
                      if (!e && !s) return [o, !1, t];
                    }
                    if (Wr.has(i)) {
                      let e = Wr.get(i);
                      if (
                        Kr.has(e) &&
                        (Kr.get(e).delete(i), 0 === Kr.get(e).size)
                      ) {
                        Kr.delete(e);
                        for (let [t, n] of Ur) n === e && Ur.delete(t);
                        for (let t of e.disposables.splice(0)) t(e);
                      }
                    }
                    ga.DEBUG && console.log("Setting up new context...");
                    let p = Fr(n, [], e);
                    Object.assign(p, { userConfigPath: c });
                    let [, u] = Mr([...r], Br(p));
                    return (
                      Ur.set(a, p),
                      Wr.set(i, p),
                      Kr.has(p) || Kr.set(p, new Set()),
                      Kr.get(p).add(i),
                      [p, !0, u]
                    );
                  })(c, a, r, o, i, s),
                  d = Br(p),
                  f = (function (e, t) {
                    if (Ao.has(e)) return Ao.get(e);
                    let n = vo(e, t);
                    return Ao.set(e, n).get(e);
                  })(p, r);
                if (t.size > 0) {
                  for (let e of f) for (let t of Vr(e)) n(t);
                  let [e, t] = wo(p, f, d);
                  for (let t of e) p.changedContent.push(t);
                  for (let [e, n] of t.entries()) u.set(e, n);
                }
                for (let e of l) n({ type: "dependency", file: e });
                for (let [e, t] of u.entries()) d.set(e, t);
                return p;
              };
          }
          var Io,
            To,
            Ao,
            Bo = f(() => {
              g(),
                b(),
                (Io = v(x())),
                k(),
                _t(),
                Qt(),
                qr(),
                Gr(),
                so(),
                yo(),
                ko(),
                Lo(),
                (To = new Io.default({ maxSize: 100 })),
                (Ao = new WeakMap());
            });
          var Mo = f(() => {
            g(), j();
          });
          function jo(e, t = void 0, n = void 0) {
            return e.map((e) => {
              let c = e.clone(),
                a = !0 !== e.raws.tailwind?.preserveSource || !c.source;
              return (
                void 0 !== t &&
                  a &&
                  ((c.source = t),
                  "walk" in c &&
                    c.walk((e) => {
                      e.source = t;
                    })),
                void 0 !== n &&
                  (c.raws.tailwind = { ...c.raws.tailwind, ...n }),
                c
              );
            });
          }
          var _o = f(() => {
            g();
          });
          function zo(e) {
            return (e = (e = Array.isArray(e) ? e : [e]).map((e) =>
              e instanceof RegExp ? e.source : e
            )).join("");
          }
          function Fo(e) {
            return new RegExp(zo(e), "g");
          }
          function Do(e) {
            return `(?:${e.map(zo).join("|")})`;
          }
          function Po(e) {
            return `(?:${zo(e)})?`;
          }
          function Ho(e) {
            return `(?:${zo(e)})*`;
          }
          function Xo(e) {
            return e && Qo.test(e) ? e.replace(No, "\\$&") : e || "";
          }
          var No,
            Qo,
            Wo = f(() => {
              g(), (No = /[\\^$.*+?()[\]{}|]/g), (Qo = RegExp(No.source));
            });
          function Uo(e) {
            let t = Array.from(
              (function* (e) {
                let t = e.tailwindConfig.separator,
                  n = Q(e.tailwindConfig, "variantGrouping"),
                  c =
                    "" !== e.tailwindConfig.prefix
                      ? Po(Fo([/-?/, Xo(e.tailwindConfig.prefix)]))
                      : "",
                  a = Do([
                    /\[[^\s:'"`]+:[^\s\[\]]+\]/,
                    /\[[^\s:'"`]+:[^\s]+?\[[^\s]+\][^\s]+?\]/,
                    Fo([
                      /-?(?:\w+)/,
                      Po(
                        Do([
                          Fo([
                            /-(?:\w+-)*\[[^\s:]+\]/,
                            /(?![{([]])/,
                            /(?:\/[^\s'"`\\><$]*)?/,
                          ]),
                          Fo([
                            /-(?:\w+-)*\[[^\s]+\]/,
                            /(?![{([]])/,
                            /(?:\/[^\s'"`\\$]*)?/,
                          ]),
                          /[-\/][^\s'"`\\$={><]*/,
                        ])
                      ),
                    ]),
                  ]),
                  r = [
                    Do([
                      Fo([/@\[[^\s"'`]+\](\/[^\s"'`]+)?/, t]),
                      Fo([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]/, t]),
                      Fo([/[^\s"'`\[\\]+/, t]),
                    ]),
                    Do([
                      Fo([/([^\s"'`\[\\]+-)?\[[^\s`]+\]/, t]),
                      Fo([/[^\s`\[\\]+/, t]),
                    ]),
                  ];
                for (let e of r)
                  yield Fo([
                    "((?=((",
                    e,
                    ")+))\\2)?",
                    /!?/,
                    c,
                    n ? Do([Fo([/\(/, a, Ho([/,/, a]), /\)/]), a]) : a,
                  ]);
                yield /[^<>"'`\s.(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g;
              })(e)
            );
            return (e) => {
              let n = [];
              for (let c of t) n = [...n, ...(e.match(c) ?? [])];
              return n.filter((e) => void 0 !== e).map(Ko);
            };
          }
          function Ko(e) {
            if (!e.includes("-[")) return e;
            let t = 0,
              n = [],
              c = e.matchAll(qo);
            c = Array.from(c).flatMap((e) => {
              let [, ...t] = e;
              return t.map((t, n) =>
                Object.assign([], e, { index: e.index + n, 0: t })
              );
            });
            for (let a of c) {
              let c = a[0],
                r = n[n.length - 1];
              if (
                (c === r
                  ? n.pop()
                  : ("'" === c || '"' === c || "`" === c) && n.push(c),
                !r)
              ) {
                if ("[" === c) {
                  t++;
                  continue;
                }
                if ("]" === c) {
                  t--;
                  continue;
                }
                if (t < 0) return e.substring(0, a.index - 1);
                if (0 === t && !Vo.test(c)) return e.substring(0, a.index);
              }
            }
            return e;
          }
          var qo,
            Vo,
            Go = f(() => {
              g(),
                q(),
                Wo(),
                (qo = /([\[\]'"`])([^\[\]'"`])?/g),
                (Vo = /[^"'`\s<>\]]+/);
            });
          function Yo(e) {
            return async (t) => {
              let n = {
                base: null,
                components: null,
                utilities: null,
                variants: null,
              };
              if (
                (t.walkAtRules((e) => {
                  "tailwind" === e.name &&
                    Object.keys(n).includes(e.params) &&
                    (n[e.params] = e);
                }),
                Object.values(n).every((e) => null === e))
              )
                return t;
              let a = new Set([...(e.candidates ?? []), ka]),
                r = new Set();
              Jo.DEBUG && console.time("Reading changed files"),
                await Promise.all(
                  e.changedContent.map(
                    async ({ file: t, content: n, extension: o }) => {
                      let i = (function (e, t) {
                          let n = e.content.transform;
                          return n[t] || n.DEFAULT || ti[t] || ti.DEFAULT;
                        })(e.tailwindConfig, o),
                        l = (function (e, t) {
                          let n = e.tailwindConfig.content.extract;
                          return n[t] || n.DEFAULT || ei[t] || ei.DEFAULT(e);
                        })(e, o);
                      (function (e, t, n, c) {
                        ni.has(t) ||
                          ni.set(t, new Zo.default({ maxSize: 25e3 }));
                        for (let a of e.split("\n"))
                          if (((a = a.trim()), !c.has(a)))
                            if ((c.add(a), ni.get(t).has(a)))
                              for (let e of ni.get(t).get(a)) n.add(e);
                            else {
                              let e = t(a).filter((e) => "!*" !== e),
                                c = new Set(e);
                              for (let e of c) n.add(e);
                              ni.get(t).set(a, c);
                            }
                      })(
                        i((n = t ? await c.promises.readFile(t, "utf8") : n)),
                        l,
                        a,
                        r
                      );
                    }
                  )
                ),
                Jo.DEBUG && console.timeEnd("Reading changed files");
              let o = e.classCache.size;
              Jo.DEBUG && console.time("Generate rules"),
                Jo.DEBUG && console.time("Sorting candidates");
              let i = new Set(
                [...a].sort((e, t) => (e === t ? 0 : e < t ? -1 : 1))
              );
              Jo.DEBUG && console.timeEnd("Sorting candidates"),
                lr(i, e),
                Jo.DEBUG && console.timeEnd("Generate rules"),
                Jo.DEBUG && console.time("Build stylesheet"),
                (null === e.stylesheetCache || e.classCache.size !== o) &&
                  (e.stylesheetCache = (function (e, t) {
                    let n = t.offsets.sort(e),
                      c = {
                        base: new Set(),
                        defaults: new Set(),
                        components: new Set(),
                        utilities: new Set(),
                        variants: new Set(),
                      };
                    for (let [e, t] of n) c[e.layer].add(t);
                    return c;
                  })([...e.ruleCache], e)),
                Jo.DEBUG && console.timeEnd("Build stylesheet");
              let {
                defaults: l,
                base: s,
                components: p,
                utilities: u,
                variants: d,
              } = e.stylesheetCache;
              n.base &&
                (n.base.before(
                  jo([...s, ...l], n.base.source, { layer: "base" })
                ),
                n.base.remove()),
                n.components &&
                  (n.components.before(
                    jo([...p], n.components.source, { layer: "components" })
                  ),
                  n.components.remove()),
                n.utilities &&
                  (n.utilities.before(
                    jo([...u], n.utilities.source, { layer: "utilities" })
                  ),
                  n.utilities.remove());
              let f = Array.from(d).filter((e) => {
                let t = e.raws.tailwind?.parentLayer;
                return "components" === t
                  ? null !== n.components
                  : "utilities" !== t || null !== n.utilities;
              });
              n.variants
                ? (n.variants.before(
                    jo(f, n.variants.source, { layer: "variants" })
                  ),
                  n.variants.remove())
                : f.length > 0 &&
                  t.append(jo(f, t.source, { layer: "variants" }));
              let h = f.some(
                (e) => "utilities" === e.raws.tailwind?.parentLayer
              );
              n.utilities &&
                0 === u.size &&
                !h &&
                M.warn("content-problems", [
                  "No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.",
                  "https://tailwindcss.com/docs/content-configuration",
                ]),
                Jo.DEBUG &&
                  (console.log("Potential classes: ", a.size),
                  console.log("Active contexts: ", wa.size)),
                (e.changedContent = []),
                t.walkAtRules("layer", (e) => {
                  Object.keys(n).includes(e.params) && e.remove();
                });
            };
          }
          var Zo,
            Jo,
            ei,
            ti,
            ni,
            ci = f(() => {
              g(),
                b(),
                (Zo = v(x())),
                Ra(),
                hr(),
                j(),
                _o(),
                Go(),
                (Jo = ga),
                (ei = { DEFAULT: Uo }),
                (ti = {
                  DEFAULT: (e) => e,
                  svelte: (e) => e.replace(/(?:^|\s)class:/g, " "),
                }),
                (ni = new WeakMap());
            });
          function ai(e) {
            let t = new Map();
            qt.root({ nodes: [e.clone()] }).walkRules((e) => {
              (0, mi.default)((e) => {
                e.walkClasses((e) => {
                  let n = e.parent.toString(),
                    c = t.get(n);
                  c || t.set(n, (c = new Set())), c.add(e.value);
                });
              }).processSync(e.selector);
            });
            let n = Array.from(t.values(), (e) => Array.from(e)),
              c = n.flat();
            return Object.assign(c, { groups: n });
          }
          function ri(e) {
            return vi.astSync(e);
          }
          function oi(e, t) {
            let n = new Set();
            for (let c of e) n.add(c.split(t).pop());
            return Array.from(n);
          }
          function ii(e, t) {
            let n = e.tailwindConfig.prefix;
            return "function" == typeof n ? n(t) : n + t;
          }
          function* li(e) {
            for (yield e; e.parent; ) yield e.parent, (e = e.parent);
          }
          function si(e, t = {}) {
            let n = e.nodes;
            e.nodes = [];
            let c = e.clone(t);
            return (e.nodes = n), c;
          }
          function pi(e, t) {
            let n = new Map();
            return (
              e.walkRules((e) => {
                for (let t of li(e))
                  if (void 0 !== t.raws.tailwind?.layer) return;
                let c = (function (e) {
                    for (let t of li(e))
                      if (e !== t) {
                        if ("root" === t.type) break;
                        e = si(t, { nodes: [e] });
                      }
                    return e;
                  })(e),
                  a = t.offsets.create("user");
                for (let t of ai(e)) {
                  let e = n.get(t) || [];
                  n.set(t, e),
                    e.push([{ layer: "user", sort: a, important: !1 }, c]);
                }
              }),
              n
            );
          }
          function ui(e, t) {
            for (let n of e) {
              if (t.notClassCache.has(n) || t.applyClassCache.has(n)) continue;
              if (t.classCache.has(n)) {
                t.applyClassCache.set(
                  n,
                  t.classCache.get(n).map(([e, t]) => [e, t.clone()])
                );
                continue;
              }
              let e = Array.from(rr(n, t));
              0 !== e.length
                ? t.applyClassCache.set(n, e)
                : t.notClassCache.add(n);
            }
            return t.applyClassCache;
          }
          function di(e) {
            let t = e.split(/[\s\t\n]+/g);
            return "!important" === t[t.length - 1]
              ? [t.slice(0, -1), !0]
              : [t, !1];
          }
          function fi(e, t, n) {
            let c = new Set(),
              a = [];
            if (
              (e.walkAtRules("apply", (e) => {
                let [t] = di(e.params);
                for (let e of t) c.add(e);
                a.push(e);
              }),
              0 === a.length)
            )
              return;
            let r = (function (e) {
              return {
                get: (t) => e.flatMap((e) => e.get(t) || []),
                has: (t) => e.some((e) => e.has(t)),
              };
            })([n, ui(c, t)]);
            function o(e, t, n) {
              let c = ri(e),
                a = ri(t),
                r = ri(`.${Ec(n)}`).nodes[0].nodes[0];
              return (
                c.each((e) => {
                  let t = new Set();
                  a.each((n) => {
                    let c = !1;
                    (n = n.clone()).walkClasses((a) => {
                      a.value === r.value &&
                        (c ||
                          (a.replaceWith(...e.nodes.map((e) => e.clone())),
                          t.add(n),
                          (c = !0)));
                    });
                  });
                  for (let e of t) {
                    let t = [[]];
                    for (let n of e.nodes)
                      "combinator" === n.type
                        ? (t.push(n), t.push([]))
                        : t[t.length - 1].push(n);
                    e.nodes = [];
                    for (let n of t)
                      Array.isArray(n) &&
                        n.sort((e, t) =>
                          "tag" === e.type && "class" === t.type
                            ? -1
                            : "class" === e.type && "tag" === t.type
                            ? 1
                            : "class" === e.type &&
                              "pseudo" === t.type &&
                              t.value.startsWith("::")
                            ? -1
                            : "pseudo" === e.type &&
                              e.value.startsWith("::") &&
                              "class" === t.type
                            ? 1
                            : 0
                        ),
                        (e.nodes = e.nodes.concat(n));
                  }
                  e.replaceWith(...t);
                }),
                c.toString()
              );
            }
            let i = new Map();
            for (let e of a) {
              let [n] = i.get(e.parent) || [[], e.source];
              i.set(e.parent, [n, e.source]);
              let [c, a] = di(e.params);
              if ("atrule" === e.parent.type) {
                if ("screen" === e.parent.name) {
                  let t = e.parent.params;
                  throw e.error(
                    `@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${c
                      .map((e) => `${t}:${e}`)
                      .join(" ")} instead.`
                  );
                }
                throw e.error(
                  `@apply is not supported within nested at-rules like @${e.parent.name}. You can fix this by un-nesting @${e.parent.name}.`
                );
              }
              for (let o of c) {
                if ([ii(t, "group"), ii(t, "peer")].includes(o))
                  throw e.error(
                    `@apply should not be used with the '${o}' utility`
                  );
                if (!r.has(o))
                  throw e.error(
                    `The \`${o}\` class does not exist. If \`${o}\` is a custom class, make sure it is defined within a \`@layer\` directive.`
                  );
                let c = r.get(o);
                n.push([o, a, c]);
              }
            }
            for (let [e, [n, c]] of i) {
              let a = [];
              for (let [r, i, l] of n) {
                let n = [r, ...oi([r], t.tailwindConfig.separator)];
                for (let [s, p] of l) {
                  let l = ai(e),
                    u = ai(p);
                  if (
                    ((u = u.groups
                      .filter((e) => e.some((e) => n.includes(e)))
                      .flat()),
                    (u = u.concat(oi(u, t.tailwindConfig.separator))),
                    l.some((e) => u.includes(e)))
                  )
                    throw p.error(
                      `You cannot \`@apply\` the \`${r}\` utility here because it creates a circular dependency.`
                    );
                  let d = qt.root({ nodes: [p.clone()] });
                  d.walk((e) => {
                    e.source = c;
                  }),
                    ("atrule" !== p.type ||
                      ("atrule" === p.type && "keyframes" !== p.name)) &&
                      d.walkRules((n) => {
                        if (!ai(n).some((e) => e === r)) return void n.remove();
                        let c =
                            "string" == typeof t.tailwindConfig.important
                              ? t.tailwindConfig.important
                              : null,
                          a =
                            void 0 !== e.raws.tailwind &&
                            c &&
                            0 === e.selector.indexOf(c)
                              ? e.selector.slice(c.length)
                              : e.selector;
                        (n.selector = o(a, n.selector, r)),
                          c &&
                            a !== e.selector &&
                            (n.selector = Ka(n.selector, c)),
                          n.walkDecls((e) => {
                            e.important = s.important || i;
                          });
                        let l = (0, mi.default)().astSync(n.selector);
                        l.each((e) => Ia(e)), (n.selector = l.toString());
                      }),
                    d.nodes[0] && a.push([s.sort, d.nodes[0]]);
                }
              }
              let r = t.offsets.sort(a).map((e) => e[1]);
              e.after(r);
            }
            for (let e of a)
              e.parent.nodes.length > 1 ? e.remove() : e.parent.remove();
            fi(e, t, n);
          }
          function hi(e) {
            return (t) => {
              let n = (function (e) {
                let t = null;
                return {
                  get: (n) => ((t = t || e()), t.get(n)),
                  has: (n) => ((t = t || e()), t.has(n)),
                };
              })(() => pi(t, e));
              fi(t, e, n);
            };
          }
          var mi,
            vi,
            gi = f(() => {
              g(),
                Ln(),
                (mi = v(sc())),
                hr(),
                Tc(),
                Va(),
                za(),
                (vi = (0, mi.default)());
            }),
            bi = h((e, t) => {
              g(),
                (function () {
                  "use strict";
                  function e(t, n, a) {
                    if (!t) return null;
                    e.caseSensitive || (t = t.toLowerCase());
                    var r,
                      o = null === e.threshold ? null : e.threshold * t.length,
                      i = e.thresholdAbsolute;
                    r =
                      null !== o && null !== i
                        ? Math.min(o, i)
                        : null !== o
                        ? o
                        : null !== i
                        ? i
                        : null;
                    var l,
                      s,
                      p,
                      u,
                      d = n.length;
                    for (u = 0; u < d; u++)
                      if (
                        ((s = n[u]),
                        a && (s = s[a]),
                        s &&
                          ((p = c(t, e.caseSensitive ? s : s.toLowerCase(), r)),
                          (null === r || p < r) &&
                            ((r = p),
                            (l = a && e.returnWinningObject ? n[u] : s),
                            e.returnFirstMatch)))
                      )
                        return l;
                    return l || e.nullResultValue;
                  }
                  (e.threshold = 0.4),
                    (e.thresholdAbsolute = 20),
                    (e.caseSensitive = !1),
                    (e.nullResultValue = null),
                    (e.returnWinningObject = null),
                    (e.returnFirstMatch = !1),
                    void 0 !== t && t.exports
                      ? (t.exports = e)
                      : (window.didYouMean = e);
                  var n = Math.pow(2, 32) - 1;
                  function c(e, t, c) {
                    c = c || 0 === c ? c : n;
                    var a = e.length,
                      r = t.length;
                    if (0 === a) return Math.min(c + 1, r);
                    if (0 === r) return Math.min(c + 1, a);
                    if (Math.abs(a - r) > c) return c + 1;
                    var o,
                      i,
                      l,
                      s,
                      p,
                      u = [];
                    for (o = 0; o <= r; o++) u[o] = [o];
                    for (i = 0; i <= a; i++) u[0][i] = i;
                    for (o = 1; o <= r; o++) {
                      for (
                        l = n,
                          s = 1,
                          o > c && (s = o - c),
                          (p = r + 1) > c + o && (p = c + o),
                          i = 1;
                        i <= a;
                        i++
                      )
                        i < s || i > p
                          ? (u[o][i] = c + 1)
                          : t.charAt(o - 1) === e.charAt(i - 1)
                          ? (u[o][i] = u[o - 1][i - 1])
                          : (u[o][i] = Math.min(
                              u[o - 1][i - 1] + 1,
                              Math.min(u[o][i - 1] + 1, u[o - 1][i] + 1)
                            )),
                          u[o][i] < l && (l = u[o][i]);
                      if (l > c) return c + 1;
                    }
                    return u[r][a];
                  }
                })();
            }),
            xi = h((e, t) => {
              g();
              var n = "(".charCodeAt(0),
                c = ")".charCodeAt(0),
                a = "'".charCodeAt(0),
                r = '"'.charCodeAt(0),
                o = "\\".charCodeAt(0),
                i = "/".charCodeAt(0),
                l = ",".charCodeAt(0),
                s = ":".charCodeAt(0),
                p = "*".charCodeAt(0),
                u = "u".charCodeAt(0),
                d = "U".charCodeAt(0),
                f = "+".charCodeAt(0),
                h = /^[a-f0-9?-]+$/i;
              t.exports = function (e) {
                for (
                  var t,
                    m,
                    v,
                    g,
                    b,
                    x,
                    w,
                    y,
                    k,
                    C = [],
                    R = e,
                    O = 0,
                    $ = R.charCodeAt(O),
                    L = R.length,
                    S = [{ nodes: C }],
                    E = 0,
                    I = "",
                    T = "",
                    A = "";
                  O < L;

                )
                  if ($ <= 32) {
                    t = O;
                    do {
                      (t += 1), ($ = R.charCodeAt(t));
                    } while ($ <= 32);
                    (g = R.slice(O, t)),
                      (v = C[C.length - 1]),
                      $ === c && E
                        ? (A = g)
                        : v && "div" === v.type
                        ? ((v.after = g), (v.sourceEndIndex += g.length))
                        : $ === l ||
                          $ === s ||
                          ($ === i &&
                            R.charCodeAt(t + 1) !== p &&
                            (!k || (k && k.type, 0)))
                        ? (T = g)
                        : C.push({
                            type: "space",
                            sourceIndex: O,
                            sourceEndIndex: t,
                            value: g,
                          }),
                      (O = t);
                  } else if ($ === a || $ === r) {
                    (t = O),
                      (g = {
                        type: "string",
                        sourceIndex: O,
                        quote: (m = $ === a ? "'" : '"'),
                      });
                    do {
                      if (((b = !1), ~(t = R.indexOf(m, t + 1))))
                        for (x = t; R.charCodeAt(x - 1) === o; )
                          (x -= 1), (b = !b);
                      else (t = (R += m).length - 1), (g.unclosed = !0);
                    } while (b);
                    (g.value = R.slice(O + 1, t)),
                      (g.sourceEndIndex = g.unclosed ? t : t + 1),
                      C.push(g),
                      (O = t + 1),
                      ($ = R.charCodeAt(O));
                  } else if ($ === i && R.charCodeAt(O + 1) === p)
                    (g = {
                      type: "comment",
                      sourceIndex: O,
                      sourceEndIndex: (t = R.indexOf("*/", O)) + 2,
                    }),
                      -1 === t &&
                        ((g.unclosed = !0),
                        (t = R.length),
                        (g.sourceEndIndex = t)),
                      (g.value = R.slice(O + 2, t)),
                      C.push(g),
                      (O = t + 2),
                      ($ = R.charCodeAt(O));
                  else if (($ !== i && $ !== p) || !k || "function" !== k.type)
                    if ($ === i || $ === l || $ === s)
                      (g = R[O]),
                        C.push({
                          type: "div",
                          sourceIndex: O - T.length,
                          sourceEndIndex: O + g.length,
                          value: g,
                          before: T,
                          after: "",
                        }),
                        (T = ""),
                        (O += 1),
                        ($ = R.charCodeAt(O));
                    else if (n === $) {
                      t = O;
                      do {
                        (t += 1), ($ = R.charCodeAt(t));
                      } while ($ <= 32);
                      if (
                        ((y = O),
                        (g = {
                          type: "function",
                          sourceIndex: O - I.length,
                          value: I,
                          before: R.slice(y + 1, t),
                        }),
                        (O = t),
                        "url" === I && $ !== a && $ !== r)
                      ) {
                        t -= 1;
                        do {
                          if (((b = !1), ~(t = R.indexOf(")", t + 1))))
                            for (x = t; R.charCodeAt(x - 1) === o; )
                              (x -= 1), (b = !b);
                          else (t = (R += ")").length - 1), (g.unclosed = !0);
                        } while (b);
                        w = t;
                        do {
                          (w -= 1), ($ = R.charCodeAt(w));
                        } while ($ <= 32);
                        y < w
                          ? ((g.nodes =
                              O !== w + 1
                                ? [
                                    {
                                      type: "word",
                                      sourceIndex: O,
                                      sourceEndIndex: w + 1,
                                      value: R.slice(O, w + 1),
                                    },
                                  ]
                                : []),
                            g.unclosed && w + 1 !== t
                              ? ((g.after = ""),
                                g.nodes.push({
                                  type: "space",
                                  sourceIndex: w + 1,
                                  sourceEndIndex: t,
                                  value: R.slice(w + 1, t),
                                }))
                              : ((g.after = R.slice(w + 1, t)),
                                (g.sourceEndIndex = t)))
                          : ((g.after = ""), (g.nodes = [])),
                          (O = t + 1),
                          (g.sourceEndIndex = g.unclosed ? t : O),
                          ($ = R.charCodeAt(O)),
                          C.push(g);
                      } else
                        (E += 1),
                          (g.after = ""),
                          (g.sourceEndIndex = O + 1),
                          C.push(g),
                          S.push(g),
                          (C = g.nodes = []),
                          (k = g);
                      I = "";
                    } else if (c === $ && E)
                      (O += 1),
                        ($ = R.charCodeAt(O)),
                        (k.after = A),
                        (k.sourceEndIndex += A.length),
                        (A = ""),
                        (E -= 1),
                        (S[S.length - 1].sourceEndIndex = O),
                        S.pop(),
                        (C = (k = S[E]).nodes);
                    else {
                      t = O;
                      do {
                        $ === o && (t += 1), (t += 1), ($ = R.charCodeAt(t));
                      } while (
                        t < L &&
                        !(
                          $ <= 32 ||
                          $ === a ||
                          $ === r ||
                          $ === l ||
                          $ === s ||
                          $ === i ||
                          $ === n ||
                          ($ === p && k && "function" === k.type) ||
                          ($ === i && "function" === k.type) ||
                          ($ === c && E)
                        )
                      );
                      (g = R.slice(O, t)),
                        n === $
                          ? (I = g)
                          : (u !== g.charCodeAt(0) && d !== g.charCodeAt(0)) ||
                            f !== g.charCodeAt(1) ||
                            !h.test(g.slice(2))
                          ? C.push({
                              type: "word",
                              sourceIndex: O,
                              sourceEndIndex: t,
                              value: g,
                            })
                          : C.push({
                              type: "unicode-range",
                              sourceIndex: O,
                              sourceEndIndex: t,
                              value: g,
                            }),
                        (O = t);
                    }
                  else
                    (g = R[O]),
                      C.push({
                        type: "word",
                        sourceIndex: O - T.length,
                        sourceEndIndex: O + g.length,
                        value: g,
                      }),
                      (O += 1),
                      ($ = R.charCodeAt(O));
                for (O = S.length - 1; O; O -= 1)
                  (S[O].unclosed = !0), (S[O].sourceEndIndex = R.length);
                return S[0].nodes;
              };
            }),
            wi = h((e, t) => {
              g(),
                (t.exports = function e(t, n, c) {
                  var a, r, o, i;
                  for (a = 0, r = t.length; a < r; a += 1)
                    (o = t[a]),
                      c || (i = n(o, a, t)),
                      !1 !== i &&
                        "function" === o.type &&
                        Array.isArray(o.nodes) &&
                        e(o.nodes, n, c),
                      c && n(o, a, t);
                });
            }),
            yi = h((e, t) => {
              function n(e, t) {
                var n,
                  a,
                  r = e.type,
                  o = e.value;
                return t && void 0 !== (a = t(e))
                  ? a
                  : "word" === r || "space" === r
                  ? o
                  : "string" === r
                  ? (n = e.quote || "") + o + (e.unclosed ? "" : n)
                  : "comment" === r
                  ? "/*" + o + (e.unclosed ? "" : "*/")
                  : "div" === r
                  ? (e.before || "") + o + (e.after || "")
                  : Array.isArray(e.nodes)
                  ? ((n = c(e.nodes, t)),
                    "function" !== r
                      ? n
                      : o +
                        "(" +
                        (e.before || "") +
                        n +
                        (e.after || "") +
                        (e.unclosed ? "" : ")"))
                  : o;
              }
              function c(e, t) {
                var c, a;
                if (Array.isArray(e)) {
                  for (c = "", a = e.length - 1; ~a; a -= 1) c = n(e[a], t) + c;
                  return c;
                }
                return n(e, t);
              }
              g(), (t.exports = c);
            }),
            ki = h((e, t) => {
              g();
              var n = "-".charCodeAt(0),
                c = "+".charCodeAt(0),
                a = ".".charCodeAt(0),
                r = "e".charCodeAt(0),
                o = "E".charCodeAt(0);
              t.exports = function (e) {
                var t,
                  i,
                  l,
                  s = 0,
                  p = e.length;
                if (
                  0 === p ||
                  !(function (e) {
                    var t,
                      r = e.charCodeAt(0);
                    if (r === c || r === n) {
                      if ((t = e.charCodeAt(1)) >= 48 && t <= 57) return !0;
                      var o = e.charCodeAt(2);
                      return t === a && o >= 48 && o <= 57;
                    }
                    return r === a
                      ? (t = e.charCodeAt(1)) >= 48 && t <= 57
                      : r >= 48 && r <= 57;
                  })(e)
                )
                  return !1;
                for (
                  ((t = e.charCodeAt(s)) === c || t === n) && s++;
                  s < p && !((t = e.charCodeAt(s)) < 48 || t > 57);

                )
                  s += 1;
                if (
                  ((t = e.charCodeAt(s)),
                  (i = e.charCodeAt(s + 1)),
                  t === a && i >= 48 && i <= 57)
                )
                  for (
                    s += 2;
                    s < p && !((t = e.charCodeAt(s)) < 48 || t > 57);

                  )
                    s += 1;
                if (
                  ((t = e.charCodeAt(s)),
                  (i = e.charCodeAt(s + 1)),
                  (l = e.charCodeAt(s + 2)),
                  (t === r || t === o) &&
                    ((i >= 48 && i <= 57) ||
                      ((i === c || i === n) && l >= 48 && l <= 57)))
                )
                  for (
                    s += i === c || i === n ? 3 : 2;
                    s < p && !((t = e.charCodeAt(s)) < 48 || t > 57);

                  )
                    s += 1;
                return { number: e.slice(0, s), unit: e.slice(s) };
              };
            }),
            Ci = h((e, t) => {
              g();
              var n = xi(),
                c = wi(),
                a = yi();
              function r(e) {
                return this instanceof r
                  ? ((this.nodes = n(e)), this)
                  : new r(e);
              }
              (r.prototype.toString = function () {
                return Array.isArray(this.nodes) ? a(this.nodes) : "";
              }),
                (r.prototype.walk = function (e, t) {
                  return c(this.nodes, e, t), this;
                }),
                (r.unit = ki()),
                (r.walk = c),
                (r.stringify = a),
                (t.exports = r);
            });
          function Ri(e) {
            return "object" == typeof e && null !== e;
          }
          function Oi(e) {
            return "string" == typeof e
              ? e
              : e.reduce(
                  (e, t, n) =>
                    t.includes(".") ? `${e}[${t}]` : 0 === n ? t : `${e}.${t}`,
                  ""
                );
          }
          function $i(e) {
            return e.map((e) => `'${e}'`).join(", ");
          }
          function Li(e) {
            return $i(Object.keys(e));
          }
          function Si(e, t, n, c = {}) {
            let a = Array.isArray(t) ? Oi(t) : t.replace(/^['"]+|['"]+$/g, ""),
              r = Array.isArray(t) ? t : X(a),
              o = (0, Ti.default)(e.theme, r, n);
            if (void 0 === o) {
              let t = `'${a}' does not exist in your theme config.`,
                n = r.slice(0, -1),
                c = (0, Ti.default)(e.theme, n);
              if (Ri(c)) {
                let a = Object.keys(c).filter((t) => Si(e, [...n, t]).isValid),
                  o = (0, Ai.default)(r[r.length - 1], a);
                o
                  ? (t += ` Did you mean '${Oi([...n, o])}'?`)
                  : a.length > 0 &&
                    (t += ` '${Oi(n)}' has the following valid keys: ${$i(a)}`);
              } else {
                let n = (function (e, t) {
                  let n = X(t);
                  do {
                    if ((n.pop(), void 0 !== (0, Ti.default)(e, n))) break;
                  } while (n.length);
                  return n.length ? n : void 0;
                })(e.theme, a);
                if (n) {
                  let c = (0, Ti.default)(e.theme, n);
                  Ri(c)
                    ? (t += ` '${Oi(n)}' has the following keys: ${Li(c)}`)
                    : (t += ` '${Oi(n)}' is not an object.`);
                } else
                  t += ` Your theme has the following top-level keys: ${Li(
                    e.theme
                  )}`;
              }
              return { isValid: !1, error: t };
            }
            if (
              !(
                "string" == typeof o ||
                "number" == typeof o ||
                "function" == typeof o ||
                o instanceof String ||
                o instanceof Number ||
                Array.isArray(o)
              )
            ) {
              let t = `'${a}' was found but does not resolve to a string.`;
              if (Ri(o)) {
                let n = Object.keys(o).filter((t) => Si(e, [...r, t]).isValid);
                n.length &&
                  (t += ` Did you mean something like '${Oi([...r, n[0]])}'?`);
              }
              return { isValid: !1, error: t };
            }
            let [i] = r;
            return { isValid: !0, value: pc(i)(o, c) };
          }
          function Ei(e, t, n) {
            if ("function" === t.type && void 0 !== n[t.value]) {
              let c = (function (e, t, n) {
                t = t.map((t) => Ei(e, t, n));
                let c = [""];
                for (let e of t)
                  "div" === e.type && "," === e.value
                    ? c.push("")
                    : (c[c.length - 1] += Bi.default.stringify(e));
                return c;
              })(e, t.nodes, n);
              (t.type = "word"), (t.value = n[t.value](e, ...c));
            }
            return t;
          }
          function Ii(e) {
            let t = e.tailwindConfig,
              n = {
                theme: (n, c, ...a) => {
                  let {
                    isValid: r,
                    value: o,
                    error: i,
                    alpha: l,
                  } = (function (e, t, n) {
                    let c = Array.from(
                      (function* (e) {
                        let t,
                          n = (e = e.replace(/^['"]+|['"]+$/g, "")).match(
                            /^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]+))$/
                          );
                        yield [e, void 0],
                          n && ((e = n[1]), (t = n[2]), yield [e, t]);
                      })(t)
                    ).map(([t, c]) =>
                      Object.assign(Si(e, t, n, { opacityValue: c }), {
                        resolvedPath: t,
                        alpha: c,
                      })
                    );
                    return c.find((e) => e.isValid) ?? c[0];
                  })(t, c, a.length ? a : void 0);
                  if (!r) {
                    let t = n.parent,
                      c = t?.raws.tailwind?.candidate;
                    if (t && void 0 !== c)
                      return (
                        e.markInvalidUtilityNode(t),
                        t.remove(),
                        void M.warn("invalid-theme-key-in-class", [
                          `The utility \`${c}\` contains an invalid theme value and was not generated.`,
                        ])
                      );
                    throw n.error(i);
                  }
                  let s = rt(o);
                  return (
                    (void 0 !== l ||
                      (void 0 !== s && "function" == typeof s)) &&
                      (void 0 === l && (l = 1), (o = me(s, l, s))),
                    o
                  );
                },
                screen: (e, n) => {
                  n = n.replace(/^['"]+/g, "").replace(/['"]+$/g, "");
                  let c = ca(t.theme.screens).find(({ name: e }) => e === n);
                  if (!c)
                    throw e.error(
                      `The '${n}' screen does not exist in your theme.`
                    );
                  return Fc(c);
                },
              };
            return (e) => {
              e.walk((e) => {
                let t = Mi[e.type];
                void 0 !== t &&
                  (e[t] = (function (e, t, n) {
                    return Object.keys(n).some((e) => t.includes(`${e}(`))
                      ? (0, Bi.default)(t)
                          .walk((t) => {
                            Ei(e, t, n);
                          })
                          .toString()
                      : t;
                  })(e, e[t], n));
              });
            };
          }
          var Ti,
            Ai,
            Bi,
            Mi,
            ji = f(() => {
              g(),
                (Ti = v(Sn())),
                (Ai = v(bi())),
                fc(),
                (Bi = v(Ci())),
                ia(),
                Dc(),
                N(),
                ge(),
                ht(),
                j(),
                (Mi = { atrule: "params", decl: "value" });
            });
          var _i = f(() => {
            g(), ia(), Dc();
          });
          function zi(e) {
            return Hi.has(e) || Hi.set(e, Pi.transformSync(e)), Hi.get(e);
          }
          var Fi,
            Di,
            Pi,
            Hi,
            Xi = f(() => {
              g(),
                Ln(),
                (Fi = v(sc())),
                q(),
                (Di = {
                  id(e) {
                    return Fi.default.attribute({
                      attribute: "id",
                      operator: "=",
                      value: e.value,
                      quoteMark: '"',
                    });
                  },
                }),
                (Pi = (0, Fi.default)((e) =>
                  e.map((e) =>
                    (function (e) {
                      let t = e
                          .filter(
                            (e) =>
                              "pseudo" !== e.type ||
                              e.nodes.length > 0 ||
                              e.value.startsWith("::") ||
                              [
                                ":before",
                                ":after",
                                ":first-line",
                                ":first-letter",
                              ].includes(e.value)
                          )
                          .reverse(),
                        n = new Set(["tag", "class", "id", "attribute"]),
                        c = t.findIndex((e) => n.has(e.type));
                      if (-1 === c) return t.reverse().join("").trim();
                      let a = t[c],
                        r = Di[a.type] ? Di[a.type](a) : a;
                      t = t.slice(0, c);
                      let o = t.findIndex(
                        (e) => "combinator" === e.type && ">" === e.value
                      );
                      return (
                        -1 !== o &&
                          (t.splice(0, o), t.unshift(Fi.default.universal())),
                        [r, ...t.reverse()].join("").trim()
                      );
                    })(
                      e
                        .split(
                          (e) => "combinator" === e.type && " " === e.value
                        )
                        .pop()
                    )
                  )
                )),
                (Hi = new Map());
            });
          function Ni() {
            function e(t) {
              let n = null;
              t.each((e) => {
                if (!Wi.has(e.type)) return void (n = null);
                if (null === n) return void (n = e);
                let t = Qi[e.type];
                "atrule" === e.type && "font-face" === e.name
                  ? (n = e)
                  : t.every(
                      (t) =>
                        (e[t] ?? "").replace(/\s+/g, " ") ===
                        (n[t] ?? "").replace(/\s+/g, " ")
                    )
                  ? (e.nodes && n.append(e.nodes), e.remove())
                  : (n = e);
              }),
                t.each((t) => {
                  "atrule" === t.type && e(t);
                });
            }
            return (t) => {
              e(t);
            };
          }
          var Qi,
            Wi,
            Ui = f(() => {
              g(),
                (Qi = { atrule: ["name", "params"], rule: ["selector"] }),
                (Wi = new Set(Object.keys(Qi)));
            });
          function Ki(e) {
            let t = /^-?\d*.?\d+([\w%]+)?$/g.exec(e);
            return t ? t[1] ?? qi : null;
          }
          var qi,
            Vi = f(() => {
              g(), (qi = Symbol("unitless-number"));
            });
          function Gi() {
            return (e) => {
              !(function (e) {
                if (!e.walkAtRules) return;
                let t = new Set();
                if (
                  (e.walkAtRules("apply", (e) => {
                    t.add(e.parent);
                  }),
                  0 !== t.size)
                )
                  for (let e of t) {
                    let t = [],
                      n = [];
                    for (let c of e.nodes)
                      "atrule" === c.type && "apply" === c.name
                        ? (n.length > 0 && (t.push(n), (n = [])), t.push([c]))
                        : n.push(c);
                    if ((n.length > 0 && t.push(n), 1 !== t.length)) {
                      for (let n of [...t].reverse()) {
                        let t = e.clone({ nodes: [] });
                        t.append(n), e.after(t);
                      }
                      e.remove();
                    }
                  }
              })(e);
            };
          }
          var Yi = f(() => {
            g();
          });
          var Zi = f(() => {
            g();
          });
          function Ji(t) {
            return async function (n, c) {
              let { tailwindDirectives: a, applyDirectives: r } = (function (
                e
              ) {
                let t = new Set(),
                  n = new Set(),
                  c = new Set();
                if (
                  (e.walkAtRules((e) => {
                    "apply" === e.name && c.add(e),
                      "import" === e.name &&
                        ('"tailwindcss/base"' === e.params ||
                        "'tailwindcss/base'" === e.params
                          ? ((e.name = "tailwind"), (e.params = "base"))
                          : '"tailwindcss/components"' === e.params ||
                            "'tailwindcss/components'" === e.params
                          ? ((e.name = "tailwind"), (e.params = "components"))
                          : '"tailwindcss/utilities"' === e.params ||
                            "'tailwindcss/utilities'" === e.params
                          ? ((e.name = "tailwind"), (e.params = "utilities"))
                          : ('"tailwindcss/screens"' === e.params ||
                              "'tailwindcss/screens'" === e.params ||
                              '"tailwindcss/variants"' === e.params ||
                              "'tailwindcss/variants'" === e.params) &&
                            ((e.name = "tailwind"), (e.params = "variants"))),
                      "tailwind" === e.name &&
                        ("screens" === e.params && (e.params = "variants"),
                        t.add(e.params)),
                      ["layer", "responsive", "variants"].includes(e.name) &&
                        (["responsive", "variants"].includes(e.name) &&
                          M.warn(`${e.name}-at-rule-deprecated`, [
                            `The \`@${e.name}\` directive has been deprecated in Tailwind CSS v3.0.`,
                            "Use `@layer utilities` or `@layer components` instead.",
                            "https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer",
                          ]),
                        n.add(e));
                  }),
                  !t.has("base") || !t.has("components") || !t.has("utilities"))
                )
                  for (let e of n)
                    if (
                      "layer" === e.name &&
                      ["base", "components", "utilities"].includes(e.params)
                    ) {
                      if (!t.has(e.params))
                        throw e.error(
                          `\`@layer ${e.params}\` is used but no matching \`@tailwind ${e.params}\` directive is present.`
                        );
                    } else if ("responsive" === e.name) {
                      if (!t.has("utilities"))
                        throw e.error(
                          "`@responsive` is used but `@tailwind utilities` is missing."
                        );
                    } else if ("variants" === e.name && !t.has("utilities"))
                      throw e.error(
                        "`@variants` is used but `@tailwind utilities` is missing."
                      );
                return { tailwindDirectives: t, applyDirectives: c };
              })(n);
              ((e, t) => {
                let n = !1;
                e.walkAtRules(
                  "tailwind",
                  (e) =>
                    !n &&
                    (!e.parent ||
                    (function (e) {
                      return "root" === e.type;
                    })(e.parent) ||
                    (function (e) {
                      return "atrule" === e.type && "layer" === e.name;
                    })(e.parent)
                      ? void 0
                      : ((n = !0),
                        e.warn(
                          t,
                          [
                            "Nested @tailwind rules were detected, but are not supported.",
                            "Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix",
                            "Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy",
                          ].join("\n")
                        ),
                        !1))
                ),
                  e.walkRules((e) => {
                    if (n) return !1;
                    e.walkRules(
                      (e) => (
                        (n = !0),
                        e.warn(
                          t,
                          [
                            "Nested CSS was detected, but CSS nesting has not been configured correctly.",
                            "Please enable a CSS nesting plugin *before* Tailwind in your configuration.",
                            "See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting",
                          ].join("\n")
                        ),
                        !1
                      )
                    );
                  });
              })(n, c),
                Gi()(n, c);
              let o = t({
                tailwindDirectives: a,
                applyDirectives: r,
                registerDependency(e) {
                  c.messages.push({
                    plugin: "tailwindcss",
                    parent: c.opts.from,
                    ...e,
                  });
                },
                createContext(e, t) {
                  return Fr(e, t, n);
                },
              })(n, c);
              if ("-" === o.tailwindConfig.separator)
                throw new Error(
                  "The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead."
                );
              (function (t) {
                if (void 0 === e.env.JEST_WORKER_ID && W(t).length > 0) {
                  let e = W(t)
                    .map((e) => E.yellow(e))
                    .join(", ");
                  M.warn("experimental-flags-enabled", [
                    `You have enabled experimental features: ${e}`,
                    "Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time.",
                  ]);
                }
              })(o.tailwindConfig),
                await Yo(o)(n, c),
                Gi()(n, c),
                hi(o)(n, c),
                Ii(o)(n, c),
                (function ({ tailwindConfig: { theme: e } }) {
                  return function (t) {
                    t.walkAtRules("screen", (t) => {
                      let n = t.params,
                        c = ca(e.screens).find(({ name: e }) => e === n);
                      if (!c) throw t.error(`No \`${n}\` screen found.`);
                      (t.name = "media"), (t.params = Fc(c));
                    });
                  };
                })(o)(n, c),
                (function ({ tailwindConfig: e }) {
                  return (t) => {
                    let n = new Map(),
                      c = new Set();
                    if (
                      (t.walkAtRules("defaults", (e) => {
                        if (e.nodes && e.nodes.length > 0) return void c.add(e);
                        let t = e.params;
                        n.has(t) || n.set(t, new Set()),
                          n.get(t).add(e.parent),
                          e.remove();
                      }),
                      Q(e, "optimizeUniversalDefaults"))
                    )
                      for (let t of c) {
                        let c = new Map(),
                          a = n.get(t.params) ?? [];
                        for (let e of a)
                          for (let t of zi(e.selector)) {
                            let e =
                                t.includes(":-") || t.includes("::-")
                                  ? t
                                  : "__DEFAULT__",
                              n = c.get(e) ?? new Set();
                            c.set(e, n), n.add(t);
                          }
                        if (Q(e, "optimizeUniversalDefaults")) {
                          if (0 === c.size) {
                            t.remove();
                            continue;
                          }
                          for (let [, e] of c) {
                            let n = qt.rule({ source: t.source });
                            (n.selectors = [...e]),
                              n.append(t.nodes.map((e) => e.clone())),
                              t.before(n);
                          }
                        }
                        t.remove();
                      }
                    else if (c.size) {
                      let e = qt.rule({
                        selectors: ["*", "::before", "::after"],
                      });
                      for (let t of c)
                        e.append(t.nodes),
                          e.parent || t.before(e),
                          e.source || (e.source = t.source),
                          t.remove();
                      let t = e.clone({ selectors: ["::backdrop"] });
                      e.after(t);
                    }
                  };
                })(o)(n, c),
                Ni()(n, c),
                ((e) => {
                  e.walkRules((e) => {
                    let t = new Map(),
                      n = new Set([]),
                      c = new Map();
                    e.walkDecls((a) => {
                      if (a.parent === e) {
                        if (t.has(a.prop)) {
                          if (t.get(a.prop).value === a.value)
                            return n.add(t.get(a.prop)), void t.set(a.prop, a);
                          c.has(a.prop) || c.set(a.prop, new Set()),
                            c.get(a.prop).add(t.get(a.prop)),
                            c.get(a.prop).add(a);
                        }
                        t.set(a.prop, a);
                      }
                    });
                    for (let e of n) e.remove();
                    for (let e of c.values()) {
                      let t = new Map();
                      for (let n of e) {
                        let e = Ki(n.value);
                        null !== e &&
                          (t.has(e) || t.set(e, new Set()), t.get(e).add(n));
                      }
                      for (let e of t.values()) {
                        let t = Array.from(e).slice(0, -1);
                        for (let e of t) e.remove();
                      }
                    }
                  });
                })(n);
            };
          }
          var el = f(() => {
            g(),
              Mo(),
              ci(),
              gi(),
              ji(),
              _i(),
              Xi(),
              Ui(),
              Vi(),
              Yi(),
              Zi(),
              qr(),
              q();
          });
          var tl = f(() => {
              g(), b(), Dt();
            }),
            nl = h((e, t) => {
              g(),
                Bo(),
                el(),
                Ra(),
                tl(),
                (t.exports = function (e) {
                  return {
                    postcssPlugin: "tailwindcss",
                    plugins: [
                      ga.DEBUG &&
                        function (e) {
                          return (
                            console.log("\n"), console.time("JIT TOTAL"), e
                          );
                        },
                      async function (t, n) {
                        e =
                          (function (e, t) {
                            let n = null,
                              a = null;
                            return (
                              e.walkAtRules("config", (e) => {
                                if (
                                  ((a =
                                    e.source?.input.file ??
                                    t.opts.from ??
                                    null),
                                  null === a)
                                )
                                  throw e.error(
                                    "The `@config` directive cannot be used without setting `from` in your PostCSS config."
                                  );
                                if (n)
                                  throw e.error(
                                    "Only one `@config` directive is allowed per file."
                                  );
                                let r = e.params.match(/(['"])(.*?)\1/);
                                if (!r)
                                  throw e.error(
                                    "A path is required when using the `@config` directive."
                                  );
                                let o = r[2];
                                if (Ft.isAbsolute(o))
                                  throw e.error(
                                    "The `@config` directive cannot be used with an absolute path."
                                  );
                                if (
                                  ((n = Ft.resolve(Ft.dirname(a), o)),
                                  !c.existsSync(n))
                                )
                                  throw e.error(
                                    `The config file at "${o}" does not exist. Make sure the path is correct and the file exists.`
                                  );
                                e.remove();
                              }),
                              n || null
                            );
                          })(t, n) ?? e;
                        let a = Eo(e);
                        if ("document" === t.type) {
                          let e = t.nodes.filter((e) => "root" === e.type);
                          for (let t of e)
                            "root" === t.type && (await Ji(a)(t, n));
                          return;
                        }
                        await Ji(a)(t, n);
                      },
                      !1,
                      ga.DEBUG &&
                        function (e) {
                          return (
                            console.timeEnd("JIT TOTAL"), console.log("\n"), e
                          );
                        },
                    ].filter(Boolean),
                  };
                }),
                (t.exports.postcss = !0);
            }),
            cl = h((e, t) => {
              g(), (t.exports = nl());
            }),
            al = h((e, t) => {
              g(),
                (t.exports = () => [
                  "and_chr 114",
                  "and_uc 15.5",
                  "chrome 114",
                  "chrome 113",
                  "chrome 109",
                  "edge 114",
                  "firefox 114",
                  "ios_saf 16.5",
                  "ios_saf 16.4",
                  "ios_saf 16.3",
                  "ios_saf 16.1",
                  "opera 99",
                  "safari 16.5",
                  "samsung 21",
                ]);
            }),
            rl = {};
          function ol() {
            return {
              status: "cr",
              title: "CSS Feature Queries",
              stats: {
                ie: {
                  6: "n",
                  7: "n",
                  8: "n",
                  9: "n",
                  10: "n",
                  11: "n",
                  5.5: "n",
                },
                edge: {
                  12: "y",
                  13: "y",
                  14: "y",
                  15: "y",
                  16: "y",
                  17: "y",
                  18: "y",
                  79: "y",
                  80: "y",
                  81: "y",
                  83: "y",
                  84: "y",
                  85: "y",
                  86: "y",
                  87: "y",
                  88: "y",
                  89: "y",
                  90: "y",
                  91: "y",
                  92: "y",
                  93: "y",
                  94: "y",
                  95: "y",
                  96: "y",
                  97: "y",
                  98: "y",
                  99: "y",
                  100: "y",
                  101: "y",
                  102: "y",
                  103: "y",
                  104: "y",
                  105: "y",
                  106: "y",
                  107: "y",
                  108: "y",
                  109: "y",
                  110: "y",
                  111: "y",
                  112: "y",
                  113: "y",
                  114: "y",
                },
                firefox: {
                  2: "n",
                  3: "n",
                  4: "n",
                  5: "n",
                  6: "n",
                  7: "n",
                  8: "n",
                  9: "n",
                  10: "n",
                  11: "n",
                  12: "n",
                  13: "n",
                  14: "n",
                  15: "n",
                  16: "n",
                  17: "n",
                  18: "n",
                  19: "n",
                  20: "n",
                  21: "n",
                  22: "y",
                  23: "y",
                  24: "y",
                  25: "y",
                  26: "y",
                  27: "y",
                  28: "y",
                  29: "y",
                  30: "y",
                  31: "y",
                  32: "y",
                  33: "y",
                  34: "y",
                  35: "y",
                  36: "y",
                  37: "y",
                  38: "y",
                  39: "y",
                  40: "y",
                  41: "y",
                  42: "y",
                  43: "y",
                  44: "y",
                  45: "y",
                  46: "y",
                  47: "y",
                  48: "y",
                  49: "y",
                  50: "y",
                  51: "y",
                  52: "y",
                  53: "y",
                  54: "y",
                  55: "y",
                  56: "y",
                  57: "y",
                  58: "y",
                  59: "y",
                  60: "y",
                  61: "y",
                  62: "y",
                  63: "y",
                  64: "y",
                  65: "y",
                  66: "y",
                  67: "y",
                  68: "y",
                  69: "y",
                  70: "y",
                  71: "y",
                  72: "y",
                  73: "y",
                  74: "y",
                  75: "y",
                  76: "y",
                  77: "y",
                  78: "y",
                  79: "y",
                  80: "y",
                  81: "y",
                  82: "y",
                  83: "y",
                  84: "y",
                  85: "y",
                  86: "y",
                  87: "y",
                  88: "y",
                  89: "y",
                  90: "y",
                  91: "y",
                  92: "y",
                  93: "y",
                  94: "y",
                  95: "y",
                  96: "y",
                  97: "y",
                  98: "y",
                  99: "y",
                  100: "y",
                  101: "y",
                  102: "y",
                  103: "y",
                  104: "y",
                  105: "y",
                  106: "y",
                  107: "y",
                  108: "y",
                  109: "y",
                  110: "y",
                  111: "y",
                  112: "y",
                  113: "y",
                  114: "y",
                  115: "y",
                  116: "y",
                  117: "y",
                  3.5: "n",
                  3.6: "n",
                },
                chrome: {
                  4: "n",
                  5: "n",
                  6: "n",
                  7: "n",
                  8: "n",
                  9: "n",
                  10: "n",
                  11: "n",
                  12: "n",
                  13: "n",
                  14: "n",
                  15: "n",
                  16: "n",
                  17: "n",
                  18: "n",
                  19: "n",
                  20: "n",
                  21: "n",
                  22: "n",
                  23: "n",
                  24: "n",
                  25: "n",
                  26: "n",
                  27: "n",
                  28: "y",
                  29: "y",
                  30: "y",
                  31: "y",
                  32: "y",
                  33: "y",
                  34: "y",
                  35: "y",
                  36: "y",
                  37: "y",
                  38: "y",
                  39: "y",
                  40: "y",
                  41: "y",
                  42: "y",
                  43: "y",
                  44: "y",
                  45: "y",
                  46: "y",
                  47: "y",
                  48: "y",
                  49: "y",
                  50: "y",
                  51: "y",
                  52: "y",
                  53: "y",
                  54: "y",
                  55: "y",
                  56: "y",
                  57: "y",
                  58: "y",
                  59: "y",
                  60: "y",
                  61: "y",
                  62: "y",
                  63: "y",
                  64: "y",
                  65: "y",
                  66: "y",
                  67: "y",
                  68: "y",
                  69: "y",
                  70: "y",
                  71: "y",
                  72: "y",
                  73: "y",
                  74: "y",
                  75: "y",
                  76: "y",
                  77: "y",
                  78: "y",
                  79: "y",
                  80: "y",
                  81: "y",
                  83: "y",
                  84: "y",
                  85: "y",
                  86: "y",
                  87: "y",
                  88: "y",
                  89: "y",
                  90: "y",
                  91: "y",
                  92: "y",
                  93: "y",
                  94: "y",
                  95: "y",
                  96: "y",
                  97: "y",
                  98: "y",
                  99: "y",
                  100: "y",
                  101: "y",
                  102: "y",
                  103: "y",
                  104: "y",
                  105: "y",
                  106: "y",
                  107: "y",
                  108: "y",
                  109: "y",
                  110: "y",
                  111: "y",
                  112: "y",
                  113: "y",
                  114: "y",
                  115: "y",
                  116: "y",
                  117: "y",
                },
                safari: {
                  4: "n",
                  5: "n",
                  6: "n",
                  7: "n",
                  8: "n",
                  9: "y",
                  10: "y",
                  11: "y",
                  12: "y",
                  13: "y",
                  14: "y",
                  15: "y",
                  17: "y",
                  9.1: "y",
                  10.1: "y",
                  11.1: "y",
                  12.1: "y",
                  13.1: "y",
                  14.1: "y",
                  15.1: "y",
                  "15.2-15.3": "y",
                  15.4: "y",
                  15.5: "y",
                  15.6: "y",
                  "16.0": "y",
                  16.1: "y",
                  16.2: "y",
                  16.3: "y",
                  16.4: "y",
                  16.5: "y",
                  16.6: "y",
                  TP: "y",
                  3.1: "n",
                  3.2: "n",
                  5.1: "n",
                  6.1: "n",
                  7.1: "n",
                },
                opera: {
                  9: "n",
                  11: "n",
                  12: "n",
                  15: "y",
                  16: "y",
                  17: "y",
                  18: "y",
                  19: "y",
                  20: "y",
                  21: "y",
                  22: "y",
                  23: "y",
                  24: "y",
                  25: "y",
                  26: "y",
                  27: "y",
                  28: "y",
                  29: "y",
                  30: "y",
                  31: "y",
                  32: "y",
                  33: "y",
                  34: "y",
                  35: "y",
                  36: "y",
                  37: "y",
                  38: "y",
                  39: "y",
                  40: "y",
                  41: "y",
                  42: "y",
                  43: "y",
                  44: "y",
                  45: "y",
                  46: "y",
                  47: "y",
                  48: "y",
                  49: "y",
                  50: "y",
                  51: "y",
                  52: "y",
                  53: "y",
                  54: "y",
                  55: "y",
                  56: "y",
                  57: "y",
                  58: "y",
                  60: "y",
                  62: "y",
                  63: "y",
                  64: "y",
                  65: "y",
                  66: "y",
                  67: "y",
                  68: "y",
                  69: "y",
                  70: "y",
                  71: "y",
                  72: "y",
                  73: "y",
                  74: "y",
                  75: "y",
                  76: "y",
                  77: "y",
                  78: "y",
                  79: "y",
                  80: "y",
                  81: "y",
                  82: "y",
                  83: "y",
                  84: "y",
                  85: "y",
                  86: "y",
                  87: "y",
                  88: "y",
                  89: "y",
                  90: "y",
                  91: "y",
                  92: "y",
                  93: "y",
                  94: "y",
                  95: "y",
                  96: "y",
                  97: "y",
                  98: "y",
                  99: "y",
                  100: "y",
                  12.1: "y",
                  "9.5-9.6": "n",
                  "10.0-10.1": "n",
                  10.5: "n",
                  10.6: "n",
                  11.1: "n",
                  11.5: "n",
                  11.6: "n",
                },
                ios_saf: {
                  8: "n",
                  17: "y",
                  "9.0-9.2": "y",
                  9.3: "y",
                  "10.0-10.2": "y",
                  10.3: "y",
                  "11.0-11.2": "y",
                  "11.3-11.4": "y",
                  "12.0-12.1": "y",
                  "12.2-12.5": "y",
                  "13.0-13.1": "y",
                  13.2: "y",
                  13.3: "y",
                  "13.4-13.7": "y",
                  "14.0-14.4": "y",
                  "14.5-14.8": "y",
                  "15.0-15.1": "y",
                  "15.2-15.3": "y",
                  15.4: "y",
                  15.5: "y",
                  15.6: "y",
                  "16.0": "y",
                  16.1: "y",
                  16.2: "y",
                  16.3: "y",
                  16.4: "y",
                  16.5: "y",
                  16.6: "y",
                  3.2: "n",
                  "4.0-4.1": "n",
                  "4.2-4.3": "n",
                  "5.0-5.1": "n",
                  "6.0-6.1": "n",
                  "7.0-7.1": "n",
                  "8.1-8.4": "n",
                },
                op_mini: { all: "y" },
                android: {
                  3: "n",
                  4: "n",
                  114: "y",
                  4.4: "y",
                  "4.4.3-4.4.4": "y",
                  2.1: "n",
                  2.2: "n",
                  2.3: "n",
                  4.1: "n",
                  "4.2-4.3": "n",
                },
                bb: { 7: "n", 10: "n" },
                op_mob: {
                  10: "n",
                  11: "n",
                  12: "n",
                  73: "y",
                  11.1: "n",
                  11.5: "n",
                  12.1: "n",
                },
                and_chr: { 114: "y" },
                and_ff: { 115: "y" },
                ie_mob: { 10: "n", 11: "n" },
                and_uc: { 15.5: "y" },
                samsung: {
                  4: "y",
                  20: "y",
                  21: "y",
                  "5.0-5.4": "y",
                  "6.2-6.4": "y",
                  "7.2-7.4": "y",
                  8.2: "y",
                  9.2: "y",
                  10.1: "y",
                  "11.1-11.2": "y",
                  "12.0": "y",
                  "13.0": "y",
                  "14.0": "y",
                  "15.0": "y",
                  "16.0": "y",
                  "17.0": "y",
                  "18.0": "y",
                  "19.0": "y",
                },
                and_qq: { 13.1: "y" },
                baidu: { 13.18: "y" },
                kaios: { 2.5: "y", "3.0-3.1": "y" },
              },
            };
          }
          m(rl, { agents: () => il, feature: () => ol });
          var il,
            ll = f(() => {
              g(),
                (il = {
                  ie: { prefix: "ms" },
                  edge: {
                    prefix: "webkit",
                    prefix_exceptions: {
                      12: "ms",
                      13: "ms",
                      14: "ms",
                      15: "ms",
                      16: "ms",
                      17: "ms",
                      18: "ms",
                    },
                  },
                  firefox: { prefix: "moz" },
                  chrome: { prefix: "webkit" },
                  safari: { prefix: "webkit" },
                  opera: {
                    prefix: "webkit",
                    prefix_exceptions: {
                      9: "o",
                      11: "o",
                      12: "o",
                      "9.5-9.6": "o",
                      "10.0-10.1": "o",
                      10.5: "o",
                      10.6: "o",
                      11.1: "o",
                      11.5: "o",
                      11.6: "o",
                      12.1: "o",
                    },
                  },
                  ios_saf: { prefix: "webkit" },
                  op_mini: { prefix: "o" },
                  android: { prefix: "webkit" },
                  bb: { prefix: "webkit" },
                  op_mob: { prefix: "o", prefix_exceptions: { 73: "webkit" } },
                  and_chr: { prefix: "webkit" },
                  and_ff: { prefix: "moz" },
                  ie_mob: { prefix: "ms" },
                  and_uc: {
                    prefix: "webkit",
                    prefix_exceptions: { 15.5: "webkit" },
                  },
                  samsung: { prefix: "webkit" },
                  and_qq: { prefix: "webkit" },
                  baidu: { prefix: "webkit" },
                  kaios: { prefix: "moz" },
                });
            }),
            sl = h(() => {
              g();
            }),
            pl = h((e, t) => {
              g();
              var { list: n } = $n();
              (t.exports.error = function (e) {
                let t = new Error(e);
                throw ((t.autoprefixer = !0), t);
              }),
                (t.exports.uniq = function (e) {
                  return [...new Set(e)];
                }),
                (t.exports.removeNote = function (e) {
                  return e.includes(" ") ? e.split(" ")[0] : e;
                }),
                (t.exports.escapeRegexp = function (e) {
                  return e.replace(/[$()*+-.?[\\\]^{|}]/g, "\\$&");
                }),
                (t.exports.regexp = function (e, t = !0) {
                  return (
                    t && (e = this.escapeRegexp(e)),
                    new RegExp(`(^|[\\s,(])(${e}($|[\\s(,]))`, "gi")
                  );
                }),
                (t.exports.editList = function (e, t) {
                  let c = n.comma(e),
                    a = t(c, []);
                  if (c === a) return e;
                  let r = e.match(/,\s*/);
                  return (r = r ? r[0] : ", "), a.join(r);
                }),
                (t.exports.splitSelector = function (e) {
                  return n
                    .comma(e)
                    .map((e) => n.space(e).map((e) => e.split(/(?=\.|#)/g)));
                });
            }),
            ul = h((e, t) => {
              g();
              var n = al(),
                c = (ll(), rl).agents,
                a = pl();
              t.exports = class {
                static prefixes() {
                  if (this.prefixesCache) return this.prefixesCache;
                  this.prefixesCache = [];
                  for (let e in c) this.prefixesCache.push(`-${c[e].prefix}-`);
                  return (
                    (this.prefixesCache = a
                      .uniq(this.prefixesCache)
                      .sort((e, t) => t.length - e.length)),
                    this.prefixesCache
                  );
                }
                static withPrefix(e) {
                  return (
                    this.prefixesRegexp ||
                      (this.prefixesRegexp = new RegExp(
                        this.prefixes().join("|")
                      )),
                    this.prefixesRegexp.test(e)
                  );
                }
                constructor(e, t, n, c) {
                  (this.data = e),
                    (this.options = n || {}),
                    (this.browserslistOpts = c || {}),
                    (this.selected = this.parse(t));
                }
                parse(e) {
                  let t = {};
                  for (let e in this.browserslistOpts)
                    t[e] = this.browserslistOpts[e];
                  return (t.path = this.options.from), n(e, t);
                }
                prefix(e) {
                  let [t, n] = e.split(" "),
                    c = this.data[t],
                    a = c.prefix_exceptions && c.prefix_exceptions[n];
                  return a || (a = c.prefix), `-${a}-`;
                }
                isSelected(e) {
                  return this.selected.includes(e);
                }
              };
            }),
            dl = h((e, t) => {
              g(),
                (t.exports = {
                  prefix(e) {
                    let t = e.match(/^(-\w+-)/);
                    return t ? t[0] : "";
                  },
                  unprefixed(e) {
                    return e.replace(/^-\w+-/, "");
                  },
                });
            }),
            fl = h((e, t) => {
              g();
              var n = ul(),
                c = dl(),
                a = pl();
              function r(e, t) {
                let n = new e.constructor();
                for (let c of Object.keys(e || {})) {
                  let a = e[c];
                  "parent" === c && "object" == typeof a
                    ? t && (n[c] = t)
                    : "source" === c || null === c
                    ? (n[c] = a)
                    : Array.isArray(a)
                    ? (n[c] = a.map((e) => r(e, n)))
                    : "_autoprefixerPrefix" !== c &&
                      "_autoprefixerValues" !== c &&
                      "proxyCache" !== c &&
                      ("object" == typeof a && null !== a && (a = r(a, n)),
                      (n[c] = a));
                }
                return n;
              }
              var o = class {
                static hack(e) {
                  return (
                    this.hacks || (this.hacks = {}),
                    e.names.map((t) => ((this.hacks[t] = e), this.hacks[t]))
                  );
                }
                static load(e, t, n) {
                  let c = this.hacks && this.hacks[e];
                  return c ? new c(e, t, n) : new this(e, t, n);
                }
                static clone(e, t) {
                  let n = r(e);
                  for (let e in t) n[e] = t[e];
                  return n;
                }
                constructor(e, t, n) {
                  (this.prefixes = t), (this.name = e), (this.all = n);
                }
                parentPrefix(e) {
                  let t;
                  return (
                    (t =
                      void 0 !== e._autoprefixerPrefix
                        ? e._autoprefixerPrefix
                        : "decl" === e.type && "-" === e.prop[0]
                        ? c.prefix(e.prop)
                        : "root" !== e.type &&
                          ("rule" === e.type &&
                          e.selector.includes(":-") &&
                          /:(-\w+-)/.test(e.selector)
                            ? e.selector.match(/:(-\w+-)/)[1]
                            : "atrule" === e.type && "-" === e.name[0]
                            ? c.prefix(e.name)
                            : this.parentPrefix(e.parent))),
                    n.prefixes().includes(t) || (t = !1),
                    (e._autoprefixerPrefix = t),
                    e._autoprefixerPrefix
                  );
                }
                process(e, t) {
                  if (!this.check(e)) return;
                  let n = this.parentPrefix(e),
                    c = this.prefixes.filter(
                      (e) => !n || n === a.removeNote(e)
                    ),
                    r = [];
                  for (let n of c)
                    this.add(e, n, r.concat([n]), t) && r.push(n);
                  return r;
                }
                clone(e, t) {
                  return o.clone(e, t);
                }
              };
              t.exports = o;
            }),
            hl = h((e, t) => {
              g();
              var n = fl(),
                c = ul(),
                a = pl();
              t.exports = class extends n {
                check() {
                  return !0;
                }
                prefixed(e, t) {
                  return t + e;
                }
                normalize(e) {
                  return e;
                }
                otherPrefixes(e, t) {
                  for (let n of c.prefixes())
                    if (n !== t && e.includes(n)) return !0;
                  return !1;
                }
                set(e, t) {
                  return (e.prop = this.prefixed(e.prop, t)), e;
                }
                needCascade(e) {
                  return (
                    e._autoprefixerCascade ||
                      (e._autoprefixerCascade =
                        !1 !== this.all.options.cascade &&
                        e.raw("before").includes("\n")),
                    e._autoprefixerCascade
                  );
                }
                maxPrefixed(e, t) {
                  if (t._autoprefixerMax) return t._autoprefixerMax;
                  let n = 0;
                  for (let t of e)
                    (t = a.removeNote(t)), t.length > n && (n = t.length);
                  return (t._autoprefixerMax = n), t._autoprefixerMax;
                }
                calcBefore(e, t, n = "") {
                  let c = this.maxPrefixed(e, t) - a.removeNote(n).length,
                    r = t.raw("before");
                  return c > 0 && (r += Array(c).fill(" ").join("")), r;
                }
                restoreBefore(e) {
                  let t = e.raw("before").split("\n"),
                    n = t[t.length - 1];
                  this.all.group(e).up((e) => {
                    let t = e.raw("before").split("\n"),
                      c = t[t.length - 1];
                    c.length < n.length && (n = c);
                  }),
                    (t[t.length - 1] = n),
                    (e.raws.before = t.join("\n"));
                }
                insert(e, t, n) {
                  let c = this.set(this.clone(e), t);
                  if (
                    c &&
                    !e.parent.some(
                      (e) => e.prop === c.prop && e.value === c.value
                    )
                  )
                    return (
                      this.needCascade(e) &&
                        (c.raws.before = this.calcBefore(n, e, t)),
                      e.parent.insertBefore(e, c)
                    );
                }
                isAlready(e, t) {
                  let n = this.all.group(e).up((e) => e.prop === t);
                  return (
                    n || (n = this.all.group(e).down((e) => e.prop === t)), n
                  );
                }
                add(e, t, n, c) {
                  let a = this.prefixed(e.prop, t);
                  if (!this.isAlready(e, a) && !this.otherPrefixes(e.value, t))
                    return this.insert(e, t, n, c);
                }
                process(e, t) {
                  if (!this.needCascade(e)) return void super.process(e, t);
                  let n = super.process(e, t);
                  !n ||
                    !n.length ||
                    (this.restoreBefore(e),
                    (e.raws.before = this.calcBefore(n, e)));
                }
                old(e, t) {
                  return [this.prefixed(e, t)];
                }
              };
            }),
            ml = h((e, t) => {
              g(),
                (t.exports = function e(t) {
                  return {
                    mul: (n) => new e(t * n),
                    div: (n) => new e(t / n),
                    simplify: () => new e(t),
                    toString: () => t.toString(),
                  };
                });
            }),
            vl = h((e, t) => {
              g();
              var n = ml(),
                c = fl(),
                a = pl(),
                r = /(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,
                o =
                  /(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i;
              t.exports = class extends c {
                prefixName(e, t) {
                  return "-moz-" === e
                    ? t + "--moz-device-pixel-ratio"
                    : e + t + "-device-pixel-ratio";
                }
                prefixQuery(e, t, c, a, r) {
                  return (
                    (a = new n(a)),
                    "dpi" === r
                      ? (a = a.div(96))
                      : "dpcm" === r && (a = a.mul(2.54).div(96)),
                    (a = a.simplify()),
                    "-o-" === e && (a = a.n + "/" + a.d),
                    this.prefixName(e, t) + c + a
                  );
                }
                clean(e) {
                  if (!this.bad) {
                    this.bad = [];
                    for (let e of this.prefixes)
                      this.bad.push(this.prefixName(e, "min")),
                        this.bad.push(this.prefixName(e, "max"));
                  }
                  e.params = a.editList(e.params, (e) =>
                    e.filter((e) => this.bad.every((t) => !e.includes(t)))
                  );
                }
                process(e) {
                  let t = this.parentPrefix(e),
                    n = t ? [t] : this.prefixes;
                  e.params = a.editList(e.params, (e, t) => {
                    for (let c of e)
                      if (
                        c.includes("min-resolution") ||
                        c.includes("max-resolution")
                      ) {
                        for (let e of n) {
                          let n = c.replace(r, (t) => {
                            let n = t.match(o);
                            return this.prefixQuery(e, n[1], n[2], n[3], n[4]);
                          });
                          t.push(n);
                        }
                        t.push(c);
                      } else t.push(c);
                    return a.uniq(t);
                  });
                }
              };
            }),
            gl = h((e, t) => {
              g();
              var n = "(".charCodeAt(0),
                c = ")".charCodeAt(0),
                a = "'".charCodeAt(0),
                r = '"'.charCodeAt(0),
                o = "\\".charCodeAt(0),
                i = "/".charCodeAt(0),
                l = ",".charCodeAt(0),
                s = ":".charCodeAt(0),
                p = "*".charCodeAt(0),
                u = "u".charCodeAt(0),
                d = "U".charCodeAt(0),
                f = "+".charCodeAt(0),
                h = /^[a-f0-9?-]+$/i;
              t.exports = function (e) {
                for (
                  var t,
                    m,
                    v,
                    g,
                    b,
                    x,
                    w,
                    y,
                    k,
                    C = [],
                    R = e,
                    O = 0,
                    $ = R.charCodeAt(O),
                    L = R.length,
                    S = [{ nodes: C }],
                    E = 0,
                    I = "",
                    T = "",
                    A = "";
                  O < L;

                )
                  if ($ <= 32) {
                    t = O;
                    do {
                      (t += 1), ($ = R.charCodeAt(t));
                    } while ($ <= 32);
                    (g = R.slice(O, t)),
                      (v = C[C.length - 1]),
                      $ === c && E
                        ? (A = g)
                        : v && "div" === v.type
                        ? ((v.after = g), (v.sourceEndIndex += g.length))
                        : $ === l ||
                          $ === s ||
                          ($ === i &&
                            R.charCodeAt(t + 1) !== p &&
                            (!k ||
                              (k &&
                                "function" === k.type &&
                                "calc" !== k.value)))
                        ? (T = g)
                        : C.push({
                            type: "space",
                            sourceIndex: O,
                            sourceEndIndex: t,
                            value: g,
                          }),
                      (O = t);
                  } else if ($ === a || $ === r) {
                    (t = O),
                      (g = {
                        type: "string",
                        sourceIndex: O,
                        quote: (m = $ === a ? "'" : '"'),
                      });
                    do {
                      if (((b = !1), ~(t = R.indexOf(m, t + 1))))
                        for (x = t; R.charCodeAt(x - 1) === o; )
                          (x -= 1), (b = !b);
                      else (t = (R += m).length - 1), (g.unclosed = !0);
                    } while (b);
                    (g.value = R.slice(O + 1, t)),
                      (g.sourceEndIndex = g.unclosed ? t : t + 1),
                      C.push(g),
                      (O = t + 1),
                      ($ = R.charCodeAt(O));
                  } else if ($ === i && R.charCodeAt(O + 1) === p)
                    (g = {
                      type: "comment",
                      sourceIndex: O,
                      sourceEndIndex: (t = R.indexOf("*/", O)) + 2,
                    }),
                      -1 === t &&
                        ((g.unclosed = !0),
                        (t = R.length),
                        (g.sourceEndIndex = t)),
                      (g.value = R.slice(O + 2, t)),
                      C.push(g),
                      (O = t + 2),
                      ($ = R.charCodeAt(O));
                  else if (
                    ($ !== i && $ !== p) ||
                    !k ||
                    "function" !== k.type ||
                    "calc" !== k.value
                  )
                    if ($ === i || $ === l || $ === s)
                      (g = R[O]),
                        C.push({
                          type: "div",
                          sourceIndex: O - T.length,
                          sourceEndIndex: O + g.length,
                          value: g,
                          before: T,
                          after: "",
                        }),
                        (T = ""),
                        (O += 1),
                        ($ = R.charCodeAt(O));
                    else if (n === $) {
                      t = O;
                      do {
                        (t += 1), ($ = R.charCodeAt(t));
                      } while ($ <= 32);
                      if (
                        ((y = O),
                        (g = {
                          type: "function",
                          sourceIndex: O - I.length,
                          value: I,
                          before: R.slice(y + 1, t),
                        }),
                        (O = t),
                        "url" === I && $ !== a && $ !== r)
                      ) {
                        t -= 1;
                        do {
                          if (((b = !1), ~(t = R.indexOf(")", t + 1))))
                            for (x = t; R.charCodeAt(x - 1) === o; )
                              (x -= 1), (b = !b);
                          else (t = (R += ")").length - 1), (g.unclosed = !0);
                        } while (b);
                        w = t;
                        do {
                          (w -= 1), ($ = R.charCodeAt(w));
                        } while ($ <= 32);
                        y < w
                          ? ((g.nodes =
                              O !== w + 1
                                ? [
                                    {
                                      type: "word",
                                      sourceIndex: O,
                                      sourceEndIndex: w + 1,
                                      value: R.slice(O, w + 1),
                                    },
                                  ]
                                : []),
                            g.unclosed && w + 1 !== t
                              ? ((g.after = ""),
                                g.nodes.push({
                                  type: "space",
                                  sourceIndex: w + 1,
                                  sourceEndIndex: t,
                                  value: R.slice(w + 1, t),
                                }))
                              : ((g.after = R.slice(w + 1, t)),
                                (g.sourceEndIndex = t)))
                          : ((g.after = ""), (g.nodes = [])),
                          (O = t + 1),
                          (g.sourceEndIndex = g.unclosed ? t : O),
                          ($ = R.charCodeAt(O)),
                          C.push(g);
                      } else
                        (E += 1),
                          (g.after = ""),
                          (g.sourceEndIndex = O + 1),
                          C.push(g),
                          S.push(g),
                          (C = g.nodes = []),
                          (k = g);
                      I = "";
                    } else if (c === $ && E)
                      (O += 1),
                        ($ = R.charCodeAt(O)),
                        (k.after = A),
                        (k.sourceEndIndex += A.length),
                        (A = ""),
                        (E -= 1),
                        (S[S.length - 1].sourceEndIndex = O),
                        S.pop(),
                        (C = (k = S[E]).nodes);
                    else {
                      t = O;
                      do {
                        $ === o && (t += 1), (t += 1), ($ = R.charCodeAt(t));
                      } while (
                        t < L &&
                        !(
                          $ <= 32 ||
                          $ === a ||
                          $ === r ||
                          $ === l ||
                          $ === s ||
                          $ === i ||
                          $ === n ||
                          ($ === p &&
                            k &&
                            "function" === k.type &&
                            "calc" === k.value) ||
                          ($ === i &&
                            "function" === k.type &&
                            "calc" === k.value) ||
                          ($ === c && E)
                        )
                      );
                      (g = R.slice(O, t)),
                        n === $
                          ? (I = g)
                          : (u !== g.charCodeAt(0) && d !== g.charCodeAt(0)) ||
                            f !== g.charCodeAt(1) ||
                            !h.test(g.slice(2))
                          ? C.push({
                              type: "word",
                              sourceIndex: O,
                              sourceEndIndex: t,
                              value: g,
                            })
                          : C.push({
                              type: "unicode-range",
                              sourceIndex: O,
                              sourceEndIndex: t,
                              value: g,
                            }),
                        (O = t);
                    }
                  else
                    (g = R[O]),
                      C.push({
                        type: "word",
                        sourceIndex: O - T.length,
                        sourceEndIndex: O + g.length,
                        value: g,
                      }),
                      (O += 1),
                      ($ = R.charCodeAt(O));
                for (O = S.length - 1; O; O -= 1)
                  (S[O].unclosed = !0), (S[O].sourceEndIndex = R.length);
                return S[0].nodes;
              };
            }),
            bl = h((e, t) => {
              g(),
                (t.exports = function e(t, n, c) {
                  var a, r, o, i;
                  for (a = 0, r = t.length; a < r; a += 1)
                    (o = t[a]),
                      c || (i = n(o, a, t)),
                      !1 !== i &&
                        "function" === o.type &&
                        Array.isArray(o.nodes) &&
                        e(o.nodes, n, c),
                      c && n(o, a, t);
                });
            }),
            xl = h((e, t) => {
              function n(e, t) {
                var n,
                  a,
                  r = e.type,
                  o = e.value;
                return t && void 0 !== (a = t(e))
                  ? a
                  : "word" === r || "space" === r
                  ? o
                  : "string" === r
                  ? (n = e.quote || "") + o + (e.unclosed ? "" : n)
                  : "comment" === r
                  ? "/*" + o + (e.unclosed ? "" : "*/")
                  : "div" === r
                  ? (e.before || "") + o + (e.after || "")
                  : Array.isArray(e.nodes)
                  ? ((n = c(e.nodes, t)),
                    "function" !== r
                      ? n
                      : o +
                        "(" +
                        (e.before || "") +
                        n +
                        (e.after || "") +
                        (e.unclosed ? "" : ")"))
                  : o;
              }
              function c(e, t) {
                var c, a;
                if (Array.isArray(e)) {
                  for (c = "", a = e.length - 1; ~a; a -= 1) c = n(e[a], t) + c;
                  return c;
                }
                return n(e, t);
              }
              g(), (t.exports = c);
            }),
            wl = h((e, t) => {
              g();
              var n = "-".charCodeAt(0),
                c = "+".charCodeAt(0),
                a = ".".charCodeAt(0),
                r = "e".charCodeAt(0),
                o = "E".charCodeAt(0);
              t.exports = function (e) {
                var t,
                  i,
                  l,
                  s = 0,
                  p = e.length;
                if (
                  0 === p ||
                  !(function (e) {
                    var t,
                      r = e.charCodeAt(0);
                    if (r === c || r === n) {
                      if ((t = e.charCodeAt(1)) >= 48 && t <= 57) return !0;
                      var o = e.charCodeAt(2);
                      return t === a && o >= 48 && o <= 57;
                    }
                    return r === a
                      ? (t = e.charCodeAt(1)) >= 48 && t <= 57
                      : r >= 48 && r <= 57;
                  })(e)
                )
                  return !1;
                for (
                  ((t = e.charCodeAt(s)) === c || t === n) && s++;
                  s < p && !((t = e.charCodeAt(s)) < 48 || t > 57);

                )
                  s += 1;
                if (
                  ((t = e.charCodeAt(s)),
                  (i = e.charCodeAt(s + 1)),
                  t === a && i >= 48 && i <= 57)
                )
                  for (
                    s += 2;
                    s < p && !((t = e.charCodeAt(s)) < 48 || t > 57);

                  )
                    s += 1;
                if (
                  ((t = e.charCodeAt(s)),
                  (i = e.charCodeAt(s + 1)),
                  (l = e.charCodeAt(s + 2)),
                  (t === r || t === o) &&
                    ((i >= 48 && i <= 57) ||
                      ((i === c || i === n) && l >= 48 && l <= 57)))
                )
                  for (
                    s += i === c || i === n ? 3 : 2;
                    s < p && !((t = e.charCodeAt(s)) < 48 || t > 57);

                  )
                    s += 1;
                return { number: e.slice(0, s), unit: e.slice(s) };
              };
            }),
            yl = h((e, t) => {
              g();
              var n = gl(),
                c = bl(),
                a = xl();
              function r(e) {
                return this instanceof r
                  ? ((this.nodes = n(e)), this)
                  : new r(e);
              }
              (r.prototype.toString = function () {
                return Array.isArray(this.nodes) ? a(this.nodes) : "";
              }),
                (r.prototype.walk = function (e, t) {
                  return c(this.nodes, e, t), this;
                }),
                (r.unit = wl()),
                (r.walk = c),
                (r.stringify = a),
                (t.exports = r);
            }),
            kl = h((e, t) => {
              g();
              var { list: n } = $n(),
                c = yl(),
                a = ul(),
                r = dl();
              t.exports = class {
                constructor(e) {
                  (this.props = ["transition", "transition-property"]),
                    (this.prefixes = e);
                }
                add(e, t) {
                  let n,
                    c,
                    a = this.prefixes.add[e.prop],
                    r = this.ruleVendorPrefixes(e),
                    o = r || (a && a.prefixes) || [],
                    i = this.parse(e.value),
                    l = i.map((e) => this.findProp(e)),
                    s = [];
                  if (l.some((e) => "-" === e[0])) return;
                  for (let e of i) {
                    if (((c = this.findProp(e)), "-" === c[0])) continue;
                    let t = this.prefixes.add[c];
                    if (t && t.prefixes)
                      for (n of t.prefixes) {
                        if (r && !r.some((e) => n.includes(e))) continue;
                        let t = this.prefixes.prefixed(c, n);
                        "-ms-transform" !== t &&
                          !l.includes(t) &&
                          (this.disabled(c, n) || s.push(this.clone(c, t, e)));
                      }
                  }
                  i = i.concat(s);
                  let p = this.stringify(i),
                    u = this.stringify(this.cleanFromUnprefixed(i, "-webkit-"));
                  if (
                    (o.includes("-webkit-") &&
                      this.cloneBefore(e, `-webkit-${e.prop}`, u),
                    this.cloneBefore(e, e.prop, u),
                    o.includes("-o-"))
                  ) {
                    let t = this.stringify(this.cleanFromUnprefixed(i, "-o-"));
                    this.cloneBefore(e, `-o-${e.prop}`, t);
                  }
                  for (n of o)
                    if ("-webkit-" !== n && "-o-" !== n) {
                      let t = this.stringify(this.cleanOtherPrefixes(i, n));
                      this.cloneBefore(e, n + e.prop, t);
                    }
                  p !== e.value &&
                    !this.already(e, e.prop, p) &&
                    (this.checkForWarning(t, e),
                    e.cloneBefore(),
                    (e.value = p));
                }
                findProp(e) {
                  let t = e[0].value;
                  if (/^\d/.test(t))
                    for (let [t, n] of e.entries())
                      if (0 !== t && "word" === n.type) return n.value;
                  return t;
                }
                already(e, t, n) {
                  return e.parent.some((e) => e.prop === t && e.value === n);
                }
                cloneBefore(e, t, n) {
                  this.already(e, t, n) || e.cloneBefore({ prop: t, value: n });
                }
                checkForWarning(e, t) {
                  if ("transition-property" !== t.prop) return;
                  let c = !1,
                    a = !1;
                  t.parent.each((e) => {
                    if (
                      "decl" !== e.type ||
                      0 !== e.prop.indexOf("transition-")
                    )
                      return;
                    let t = n.comma(e.value);
                    if ("transition-property" !== e.prop)
                      return (a = a || t.length > 1), !1;
                    t.forEach((e) => {
                      let t = this.prefixes.add[e];
                      t && t.prefixes && t.prefixes.length > 0 && (c = !0);
                    });
                  }),
                    c &&
                      a &&
                      t.warn(
                        e,
                        "Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*"
                      );
                }
                remove(e) {
                  let t = this.parse(e.value);
                  t = t.filter((e) => {
                    let t = this.prefixes.remove[this.findProp(e)];
                    return !t || !t.remove;
                  });
                  let n = this.stringify(t);
                  if (e.value === n) return;
                  if (0 === t.length) return void e.remove();
                  let c = e.parent.some(
                      (t) => t.prop === e.prop && t.value === n
                    ),
                    a = e.parent.some(
                      (t) =>
                        t !== e &&
                        t.prop === e.prop &&
                        t.value.length > n.length
                    );
                  c || a ? e.remove() : (e.value = n);
                }
                parse(e) {
                  let t = c(e),
                    n = [],
                    a = [];
                  for (let e of t.nodes)
                    a.push(e),
                      "div" === e.type &&
                        "," === e.value &&
                        (n.push(a), (a = []));
                  return n.push(a), n.filter((e) => e.length > 0);
                }
                stringify(e) {
                  if (0 === e.length) return "";
                  let t = [];
                  for (let n of e)
                    "div" !== n[n.length - 1].type && n.push(this.div(e)),
                      (t = t.concat(n));
                  return (
                    "div" === t[0].type && (t = t.slice(1)),
                    "div" === t[t.length - 1].type && (t = t.slice(0, -1)),
                    c.stringify({ nodes: t })
                  );
                }
                clone(e, t, n) {
                  let c = [],
                    a = !1;
                  for (let r of n)
                    a || "word" !== r.type || r.value !== e
                      ? c.push(r)
                      : (c.push({ type: "word", value: t }), (a = !0));
                  return c;
                }
                div(e) {
                  for (let t of e)
                    for (let e of t)
                      if ("div" === e.type && "," === e.value) return e;
                  return { type: "div", value: ",", after: " " };
                }
                cleanOtherPrefixes(e, t) {
                  return e.filter((e) => {
                    let n = r.prefix(this.findProp(e));
                    return "" === n || n === t;
                  });
                }
                cleanFromUnprefixed(e, t) {
                  let n = e
                      .map((e) => this.findProp(e))
                      .filter((e) => e.slice(0, t.length) === t)
                      .map((e) => this.prefixes.unprefixed(e)),
                    c = [];
                  for (let a of e) {
                    let e = this.findProp(a),
                      o = r.prefix(e);
                    !n.includes(e) && (o === t || "" === o) && c.push(a);
                  }
                  return c;
                }
                disabled(e, t) {
                  if (
                    e.includes("flex") ||
                    [
                      "order",
                      "justify-content",
                      "align-self",
                      "align-content",
                    ].includes(e)
                  ) {
                    if (!1 === this.prefixes.options.flexbox) return !0;
                    if ("no-2009" === this.prefixes.options.flexbox)
                      return t.includes("2009");
                  }
                }
                ruleVendorPrefixes(e) {
                  let { parent: t } = e;
                  if ("rule" !== t.type) return !1;
                  if (!t.selector.includes(":-")) return !1;
                  let n = a
                    .prefixes()
                    .filter((e) => t.selector.includes(":" + e));
                  return n.length > 0 && n;
                }
              };
            }),
            Cl = h((e, t) => {
              g();
              var n = pl();
              t.exports = class {
                constructor(e, t, c, a) {
                  (this.unprefixed = e),
                    (this.prefixed = t),
                    (this.string = c || t),
                    (this.regexp = a || n.regexp(t));
                }
                check(e) {
                  return !!e.includes(this.string) && !!e.match(this.regexp);
                }
              };
            }),
            Rl = h((e, t) => {
              g();
              var n = fl(),
                c = Cl(),
                a = dl(),
                r = pl();
              t.exports = class extends n {
                static save(e, t) {
                  let n = t.prop,
                    c = [];
                  for (let r in t._autoprefixerValues) {
                    let o = t._autoprefixerValues[r];
                    if (o === t.value) continue;
                    let i,
                      l = a.prefix(n);
                    if ("-pie-" === l) continue;
                    if (l === r) {
                      (i = t.value = o), c.push(i);
                      continue;
                    }
                    let s = e.prefixed(n, r),
                      p = t.parent;
                    if (!p.every((e) => e.prop !== s)) {
                      c.push(i);
                      continue;
                    }
                    let u = o.replace(/\s+/, " ");
                    if (
                      p.some(
                        (e) =>
                          e.prop === t.prop && e.value.replace(/\s+/, " ") === u
                      )
                    ) {
                      c.push(i);
                      continue;
                    }
                    let d = this.clone(t, { value: o });
                    (i = t.parent.insertBefore(t, d)), c.push(i);
                  }
                  return c;
                }
                check(e) {
                  let t = e.value;
                  return !!t.includes(this.name) && !!t.match(this.regexp());
                }
                regexp() {
                  return (
                    this.regexpCache || (this.regexpCache = r.regexp(this.name))
                  );
                }
                replace(e, t) {
                  return e.replace(this.regexp(), `$1${t}$2`);
                }
                value(e) {
                  return e.raws.value && e.raws.value.value === e.value
                    ? e.raws.value.raw
                    : e.value;
                }
                add(e, t) {
                  e._autoprefixerValues || (e._autoprefixerValues = {});
                  let n,
                    c = e._autoprefixerValues[t] || this.value(e);
                  do {
                    if (((n = c), (c = this.replace(c, t)), !1 === c)) return;
                  } while (c !== n);
                  e._autoprefixerValues[t] = c;
                }
                old(e) {
                  return new c(this.name, e + this.name);
                }
              };
            }),
            Ol = h((e, t) => {
              g(), (t.exports = {});
            }),
            $l = h((t, n) => {
              g();
              var c = yl(),
                a = Rl(),
                r = Ol().insertAreas,
                o = /(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i,
                i = /(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i,
                l = /(!\s*)?autoprefixer:\s*ignore\s+next/i,
                s = /(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i,
                p = [
                  "width",
                  "height",
                  "min-width",
                  "max-width",
                  "min-height",
                  "max-height",
                  "inline-size",
                  "min-inline-size",
                  "max-inline-size",
                  "block-size",
                  "min-block-size",
                  "max-block-size",
                ];
              function u(e) {
                return e.parent.some(
                  (e) =>
                    "grid-template" === e.prop ||
                    "grid-template-areas" === e.prop
                );
              }
              n.exports = class {
                constructor(e) {
                  this.prefixes = e;
                }
                add(e, t) {
                  let n = this.prefixes.add["@resolution"],
                    l = this.prefixes.add["@keyframes"],
                    s = this.prefixes.add["@viewport"],
                    d = this.prefixes.add["@supports"];
                  function f(e) {
                    return e.parent.nodes.some((e) => {
                      if ("decl" !== e.type) return !1;
                      let t =
                          "display" === e.prop &&
                          /(inline-)?grid/.test(e.value),
                        n = e.prop.startsWith("grid-template"),
                        c = /^grid-([A-z]+-)?gap/.test(e.prop);
                      return t || n || c;
                    });
                  }
                  e.walkAtRules((e) => {
                    if ("keyframes" === e.name) {
                      if (!this.disabled(e, t)) return l && l.process(e);
                    } else if ("viewport" === e.name) {
                      if (!this.disabled(e, t)) return s && s.process(e);
                    } else if ("supports" === e.name) {
                      if (
                        !1 !== this.prefixes.options.supports &&
                        !this.disabled(e, t)
                      )
                        return d.process(e);
                    } else if (
                      "media" === e.name &&
                      e.params.includes("-resolution") &&
                      !this.disabled(e, t)
                    )
                      return n && n.process(e);
                  }),
                    e.walkRules((e) => {
                      if (!this.disabled(e, t))
                        return this.prefixes.add.selectors.map((n) =>
                          n.process(e, t)
                        );
                    });
                  let h =
                    this.gridStatus(e, t) &&
                    this.prefixes.add["grid-area"] &&
                    this.prefixes.add["grid-area"].prefixes;
                  return (
                    e.walkDecls((e) => {
                      if (this.disabledDecl(e, t)) return;
                      let n,
                        a = e.parent,
                        r = e.prop,
                        l = e.value;
                      if ("grid-row-span" !== r)
                        if ("grid-column-span" !== r)
                          if ("display" !== r || "box" !== l) {
                            if ("text-emphasis-position" === r)
                              ("under" === l || "over" === l) &&
                                t.warn(
                                  "You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.",
                                  { node: e }
                                );
                            else if (
                              /^(align|justify|place)-(items|content)$/.test(
                                r
                              ) &&
                              (function (e) {
                                return e.parent.some(
                                  (e) =>
                                    "display" === e.prop &&
                                    /(inline-)?flex/.test(e.value)
                                );
                              })(e)
                            )
                              ("start" === l || "end" === l) &&
                                t.warn(
                                  `${l} value has mixed support, consider using flex-${l} instead`,
                                  { node: e }
                                );
                            else if (
                              "text-decoration-skip" === r &&
                              "ink" === l
                            )
                              t.warn(
                                "Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed",
                                { node: e }
                              );
                            else {
                              if (h && this.gridStatus(e, t))
                                if (
                                  ("subgrid" === e.value &&
                                    t.warn("IE does not support subgrid", {
                                      node: e,
                                    }),
                                  /^(align|justify|place)-items$/.test(r) &&
                                    f(e))
                                ) {
                                  let n = r.replace("-items", "-self");
                                  t.warn(
                                    `IE does not support ${r} on grid containers. Try using ${n} on child elements instead: ${e.parent.selector} > * { ${n}: ${e.value} }`,
                                    { node: e }
                                  );
                                } else if (
                                  /^(align|justify|place)-content$/.test(r) &&
                                  f(e)
                                )
                                  t.warn(
                                    `IE does not support ${e.prop} on grid containers`,
                                    { node: e }
                                  );
                                else {
                                  if ("display" === r && "contents" === e.value)
                                    return void t.warn(
                                      "Please do not use display: contents; if you have grid setting enabled",
                                      { node: e }
                                    );
                                  if ("grid-gap" === e.prop) {
                                    let n = this.gridStatus(e, t);
                                    "autoplace" !== n ||
                                    (function (e) {
                                      let t = e.parent.some(
                                          (e) => "grid-template-rows" === e.prop
                                        ),
                                        n = e.parent.some(
                                          (e) =>
                                            "grid-template-columns" === e.prop
                                        );
                                      return t && n;
                                    })(e) ||
                                    u(e)
                                      ? (!0 === n || "no-autoplace" === n) &&
                                        !u(e) &&
                                        t.warn(
                                          "grid-gap only works if grid-template(-areas) is being used",
                                          { node: e }
                                        )
                                      : t.warn(
                                          "grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid",
                                          { node: e }
                                        );
                                  } else {
                                    if ("grid-auto-columns" === r)
                                      return void t.warn(
                                        "grid-auto-columns is not supported by IE",
                                        { node: e }
                                      );
                                    if ("grid-auto-rows" === r)
                                      return void t.warn(
                                        "grid-auto-rows is not supported by IE",
                                        { node: e }
                                      );
                                    if ("grid-auto-flow" === r) {
                                      let n = a.some(
                                          (e) => "grid-template-rows" === e.prop
                                        ),
                                        c = a.some(
                                          (e) =>
                                            "grid-template-columns" === e.prop
                                        );
                                      return void (u(e)
                                        ? t.warn(
                                            "grid-auto-flow is not supported by IE",
                                            { node: e }
                                          )
                                        : l.includes("dense")
                                        ? t.warn(
                                            "grid-auto-flow: dense is not supported by IE",
                                            { node: e }
                                          )
                                        : !n &&
                                          !c &&
                                          t.warn(
                                            "grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule",
                                            { node: e }
                                          ));
                                    }
                                    if (l.includes("auto-fit"))
                                      return void t.warn(
                                        "auto-fit value is not supported by IE",
                                        { node: e, word: "auto-fit" }
                                      );
                                    if (l.includes("auto-fill"))
                                      return void t.warn(
                                        "auto-fill value is not supported by IE",
                                        { node: e, word: "auto-fill" }
                                      );
                                    r.startsWith("grid-template") &&
                                      l.includes("[") &&
                                      t.warn(
                                        "Autoprefixer currently does not support line names. Try using grid-template-areas instead.",
                                        { node: e, word: "[" }
                                      );
                                  }
                                }
                              if (l.includes("radial-gradient"))
                                if (i.test(e.value))
                                  t.warn(
                                    "Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.",
                                    { node: e }
                                  );
                                else {
                                  let n = c(l);
                                  for (let c of n.nodes)
                                    if (
                                      "function" === c.type &&
                                      "radial-gradient" === c.value
                                    )
                                      for (let n of c.nodes)
                                        "word" === n.type &&
                                          ("cover" === n.value
                                            ? t.warn(
                                                "Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.",
                                                { node: e }
                                              )
                                            : "contain" === n.value &&
                                              t.warn(
                                                "Gradient has outdated direction syntax. Replace `contain` to `closest-side`.",
                                                { node: e }
                                              ));
                                }
                              l.includes("linear-gradient") &&
                                o.test(l) &&
                                t.warn(
                                  "Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.",
                                  { node: e }
                                );
                            }
                            if (
                              (p.includes(e.prop) &&
                                (e.value.includes("-fill-available") ||
                                  (e.value.includes("fill-available")
                                    ? t.warn(
                                        "Replace fill-available to stretch, because spec had been changed",
                                        { node: e }
                                      )
                                    : e.value.includes("fill") &&
                                      c(l).nodes.some(
                                        (e) =>
                                          "word" === e.type &&
                                          "fill" === e.value
                                      ) &&
                                      t.warn(
                                        "Replace fill to stretch, because spec had been changed",
                                        { node: e }
                                      ))),
                              "transition" === e.prop ||
                                "transition-property" === e.prop)
                            )
                              return this.prefixes.transition.add(e, t);
                            if ("align-self" === e.prop) {
                              if (
                                ("grid" !== this.displayType(e) &&
                                  !1 !== this.prefixes.options.flexbox &&
                                  ((n = this.prefixes.add["align-self"]),
                                  n && n.prefixes && n.process(e)),
                                !1 !== this.gridStatus(e, t) &&
                                  ((n = this.prefixes.add["grid-row-align"]),
                                  n && n.prefixes))
                              )
                                return n.process(e, t);
                            } else if ("justify-self" === e.prop) {
                              if (
                                !1 !== this.gridStatus(e, t) &&
                                ((n = this.prefixes.add["grid-column-align"]),
                                n && n.prefixes)
                              )
                                return n.process(e, t);
                            } else if ("place-self" === e.prop) {
                              if (
                                ((n = this.prefixes.add["place-self"]),
                                n && n.prefixes && !1 !== this.gridStatus(e, t))
                              )
                                return n.process(e, t);
                            } else if (
                              ((n = this.prefixes.add[e.prop]), n && n.prefixes)
                            )
                              return n.process(e, t);
                          } else
                            t.warn(
                              "You should write display: flex by final spec instead of display: box",
                              { node: e }
                            );
                        else
                          t.warn(
                            "grid-column-span is not part of final Grid Layout. Use grid-column.",
                            { node: e }
                          );
                      else
                        t.warn(
                          "grid-row-span is not part of final Grid Layout. Use grid-row.",
                          { node: e }
                        );
                    }),
                    this.gridStatus(e, t) && r(e, this.disabled),
                    e.walkDecls((e) => {
                      if (this.disabledValue(e, t)) return;
                      let n = this.prefixes.unprefixed(e.prop),
                        c = this.prefixes.values("add", n);
                      if (Array.isArray(c))
                        for (let n of c) n.process && n.process(e, t);
                      a.save(this.prefixes, e);
                    })
                  );
                }
                remove(e, t) {
                  let n = this.prefixes.remove["@resolution"];
                  e.walkAtRules((e, c) => {
                    this.prefixes.remove[`@${e.name}`]
                      ? this.disabled(e, t) || e.parent.removeChild(c)
                      : "media" === e.name &&
                        e.params.includes("-resolution") &&
                        n &&
                        n.clean(e);
                  });
                  for (let n of this.prefixes.remove.selectors)
                    e.walkRules((e, c) => {
                      n.check(e) &&
                        (this.disabled(e, t) || e.parent.removeChild(c));
                    });
                  return e.walkDecls((e, n) => {
                    if (this.disabled(e, t)) return;
                    let c = e.parent,
                      a = this.prefixes.unprefixed(e.prop);
                    if (
                      (("transition" === e.prop ||
                        "transition-property" === e.prop) &&
                        this.prefixes.transition.remove(e),
                      this.prefixes.remove[e.prop] &&
                        this.prefixes.remove[e.prop].remove)
                    ) {
                      let t = this.prefixes
                        .group(e)
                        .down((e) => this.prefixes.normalize(e.prop) === a);
                      if (
                        ("flex-flow" === a && (t = !0),
                        "-webkit-box-orient" === e.prop)
                      ) {
                        let t = { "flex-direction": !0, "flex-flow": !0 };
                        if (!e.parent.some((e) => t[e.prop])) return;
                      }
                      if (t && !this.withHackValue(e))
                        return (
                          e.raw("before").includes("\n") &&
                            this.reduceSpaces(e),
                          void c.removeChild(n)
                        );
                    }
                    for (let t of this.prefixes.values("remove", a))
                      if (
                        t.check &&
                        t.check(e.value) &&
                        ((a = t.unprefixed),
                        this.prefixes.group(e).down((e) => e.value.includes(a)))
                      )
                        return void c.removeChild(n);
                  });
                }
                withHackValue(e) {
                  return (
                    "-webkit-background-clip" === e.prop && "text" === e.value
                  );
                }
                disabledValue(e, t) {
                  return (
                    !!(
                      (!1 === this.gridStatus(e, t) &&
                        "decl" === e.type &&
                        "display" === e.prop &&
                        e.value.includes("grid")) ||
                      (!1 === this.prefixes.options.flexbox &&
                        "decl" === e.type &&
                        "display" === e.prop &&
                        e.value.includes("flex")) ||
                      ("decl" === e.type && "content" === e.prop)
                    ) || this.disabled(e, t)
                  );
                }
                disabledDecl(e, t) {
                  if (
                    !1 === this.gridStatus(e, t) &&
                    "decl" === e.type &&
                    (e.prop.includes("grid") || "justify-items" === e.prop)
                  )
                    return !0;
                  if (
                    !1 === this.prefixes.options.flexbox &&
                    "decl" === e.type
                  ) {
                    let t = [
                      "order",
                      "justify-content",
                      "align-items",
                      "align-content",
                    ];
                    if (e.prop.includes("flex") || t.includes(e.prop))
                      return !0;
                  }
                  return this.disabled(e, t);
                }
                disabled(e, t) {
                  if (!e) return !1;
                  if (void 0 !== e._autoprefixerDisabled)
                    return e._autoprefixerDisabled;
                  if (e.parent) {
                    let t = e.prev();
                    if (t && "comment" === t.type && l.test(t.text))
                      return (
                        (e._autoprefixerDisabled = !0),
                        (e._autoprefixerSelfDisabled = !0),
                        !0
                      );
                  }
                  let n = null;
                  if (e.nodes) {
                    let c;
                    e.each((e) => {
                      "comment" === e.type &&
                        /(!\s*)?autoprefixer:\s*(off|on)/i.test(e.text) &&
                        (void 0 !== c
                          ? t.warn(
                              "Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.",
                              { node: e }
                            )
                          : (c = /on/i.test(e.text)));
                    }),
                      void 0 !== c && (n = !c);
                  }
                  if (!e.nodes || null === n)
                    if (e.parent) {
                      let c = this.disabled(e.parent, t);
                      n = !0 !== e.parent._autoprefixerSelfDisabled && c;
                    } else n = !1;
                  return (e._autoprefixerDisabled = n), n;
                }
                reduceSpaces(e) {
                  let t = !1;
                  if ((this.prefixes.group(e).up(() => ((t = !0), !0)), t))
                    return;
                  let n = e.raw("before").split("\n"),
                    c = n[n.length - 1].length,
                    a = !1;
                  this.prefixes.group(e).down((e) => {
                    n = e.raw("before").split("\n");
                    let t = n.length - 1;
                    n[t].length > c &&
                      (!1 === a && (a = n[t].length - c),
                      (n[t] = n[t].slice(0, -a)),
                      (e.raws.before = n.join("\n")));
                  });
                }
                displayType(e) {
                  for (let t of e.parent.nodes)
                    if ("display" === t.prop) {
                      if (t.value.includes("flex")) return "flex";
                      if (t.value.includes("grid")) return "grid";
                    }
                  return !1;
                }
                gridStatus(t, n) {
                  if (!t) return !1;
                  if (void 0 !== t._autoprefixerGridStatus)
                    return t._autoprefixerGridStatus;
                  let c = null;
                  if (t.nodes) {
                    let e;
                    t.each((t) => {
                      if ("comment" === t.type && s.test(t.text)) {
                        let c = /:\s*autoplace/i.test(t.text),
                          a = /no-autoplace/i.test(t.text);
                        void 0 !== e
                          ? n.warn(
                              "Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.",
                              { node: t }
                            )
                          : (e = c ? "autoplace" : !!a || /on/i.test(t.text));
                      }
                    }),
                      void 0 !== e && (c = e);
                  }
                  if ("atrule" === t.type && "supports" === t.name) {
                    let e = t.params;
                    e.includes("grid") && e.includes("auto") && (c = !1);
                  }
                  if (!t.nodes || null === c)
                    if (t.parent) {
                      let e = this.gridStatus(t.parent, n);
                      c = !0 !== t.parent._autoprefixerSelfDisabled && e;
                    } else
                      c =
                        void 0 !== this.prefixes.options.grid
                          ? this.prefixes.options.grid
                          : void 0 !== e.env.AUTOPREFIXER_GRID &&
                            ("autoplace" !== e.env.AUTOPREFIXER_GRID ||
                              "autoplace");
                  return (t._autoprefixerGridStatus = c), c;
                }
              };
            }),
            Ll = h((e, t) => {
              g(),
                (t.exports = {
                  A: {
                    A: { 2: "K E F G A B JC" },
                    B: {
                      1: "C L M H N D O P Q R S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I",
                    },
                    C: {
                      1: "2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB 0B dB 1B eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R 2B S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I uB 3B 4B",
                      2: "0 1 KC zB J K E F G A B C L M H N D O k l LC MC",
                    },
                    D: {
                      1: "8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB 0B dB 1B eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I uB 3B 4B",
                      2: "0 1 2 3 4 5 6 7 J K E F G A B C L M H N D O k l",
                    },
                    E: {
                      1: "G A B C L M H D RC 6B vB wB 7B SC TC 8B 9B xB AC yB BC CC DC EC FC GC UC",
                      2: "0 J K E F NC 5B OC PC QC",
                    },
                    F: {
                      1: "1 2 3 4 5 6 7 8 9 H N D O k l AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R 2B S T U V W X Y Z a b c d e f g h i j wB",
                      2: "G B C VC WC XC YC vB HC ZC",
                    },
                    G: {
                      1: "D fC gC hC iC jC kC lC mC nC oC pC qC rC sC tC 8B 9B xB AC yB BC CC DC EC FC GC",
                      2: "F 5B aC IC bC cC dC eC",
                    },
                    H: { 1: "uC" },
                    I: { 1: "I zC 0C", 2: "zB J vC wC xC yC IC" },
                    J: { 2: "E A" },
                    K: { 1: "m", 2: "A B C vB HC wB" },
                    L: { 1: "I" },
                    M: { 1: "uB" },
                    N: { 2: "A B" },
                    O: { 1: "xB" },
                    P: {
                      1: "J k l 1C 2C 3C 4C 5C 6B 6C 7C 8C 9C AD yB BD CD DD",
                    },
                    Q: { 1: "7B" },
                    R: { 1: "ED" },
                    S: { 1: "FD GD" },
                  },
                  B: 4,
                  C: "CSS Feature Queries",
                });
            }),
            Sl = h((e, t) => {
              function n(e) {
                return e[e.length - 1];
              }
              g();
              var c = {
                parse(e) {
                  let t = [""],
                    c = [t];
                  for (let a of e)
                    "(" !== a
                      ? ")" !== a
                        ? (t[t.length - 1] += a)
                        : (c.pop(), (t = n(c)), t.push(""))
                      : ((t = [""]), n(c).push(t), c.push(t));
                  return c[0];
                },
                stringify(e) {
                  let t = "";
                  for (let n of e)
                    t += "object" != typeof n ? n : `(${c.stringify(n)})`;
                  return t;
                },
              };
              t.exports = c;
            }),
            El = h((e, t) => {
              g();
              var n = Ll(),
                { feature: c } = (ll(), rl),
                { parse: a } = $n(),
                r = ul(),
                o = Sl(),
                i = Rl(),
                l = pl(),
                s = c(n),
                p = [];
              for (let e in s.stats) {
                let t = s.stats[e];
                for (let n in t) {
                  let c = t[n];
                  /y/.test(c) && p.push(e + " " + n);
                }
              }
              t.exports = class {
                constructor(e, t) {
                  (this.Prefixes = e), (this.all = t);
                }
                prefixer() {
                  if (this.prefixerCache) return this.prefixerCache;
                  let e = this.all.browsers.selected.filter((e) =>
                      p.includes(e)
                    ),
                    t = new r(this.all.browsers.data, e, this.all.options);
                  return (
                    (this.prefixerCache = new this.Prefixes(
                      this.all.data,
                      t,
                      this.all.options
                    )),
                    this.prefixerCache
                  );
                }
                parse(e) {
                  let t = e.split(":"),
                    n = t[0],
                    c = t[1];
                  return c || (c = ""), [n.trim(), c.trim()];
                }
                virtual(e) {
                  let [t, n] = this.parse(e),
                    c = a("a{}").first;
                  return (
                    c.append({ prop: t, value: n, raws: { before: "" } }), c
                  );
                }
                prefixed(e) {
                  let t = this.virtual(e);
                  if (this.disabled(t.first)) return t.nodes;
                  let n = this.prefixer().add[t.first.prop];
                  n && n.process && n.process(t.first, { warn: () => null });
                  for (let e of t.nodes) {
                    for (let n of this.prefixer().values("add", t.first.prop))
                      n.process(e);
                    i.save(this.all, e);
                  }
                  return t.nodes;
                }
                isNot(e) {
                  return "string" == typeof e && /not\s*/i.test(e);
                }
                isOr(e) {
                  return "string" == typeof e && /\s*or\s*/i.test(e);
                }
                isProp(e) {
                  return (
                    "object" == typeof e &&
                    1 === e.length &&
                    "string" == typeof e[0]
                  );
                }
                isHack(e, t) {
                  return !new RegExp(`(\\(|\\s)${l.escapeRegexp(t)}:`).test(e);
                }
                toRemove(e, t) {
                  let [n, c] = this.parse(e),
                    a = this.all.unprefixed(n),
                    r = this.all.cleaner();
                  if (r.remove[n] && r.remove[n].remove && !this.isHack(t, a))
                    return !0;
                  for (let e of r.values("remove", a))
                    if (e.check(c)) return !0;
                  return !1;
                }
                remove(e, t) {
                  let n = 0;
                  for (; n < e.length; )
                    if (
                      !this.isNot(e[n - 1]) &&
                      this.isProp(e[n]) &&
                      this.isOr(e[n + 1])
                    ) {
                      if (this.toRemove(e[n][0], t)) {
                        e.splice(n, 2);
                        continue;
                      }
                      n += 2;
                    } else
                      "object" == typeof e[n] && (e[n] = this.remove(e[n], t)),
                        (n += 1);
                  return e;
                }
                cleanBrackets(e) {
                  return e.map((e) =>
                    "object" != typeof e
                      ? e
                      : 1 === e.length && "object" == typeof e[0]
                      ? this.cleanBrackets(e[0])
                      : this.cleanBrackets(e)
                  );
                }
                convert(e) {
                  let t = [""];
                  for (let n of e)
                    t.push([`${n.prop}: ${n.value}`]), t.push(" or ");
                  return (t[t.length - 1] = ""), t;
                }
                normalize(e) {
                  if ("object" != typeof e) return e;
                  if ("string" == typeof (e = e.filter((e) => "" !== e))[0]) {
                    let t = e[0].trim();
                    if (
                      t.includes(":") ||
                      "selector" === t ||
                      "not selector" === t
                    )
                      return [o.stringify(e)];
                  }
                  return e.map((e) => this.normalize(e));
                }
                add(e, t) {
                  return e.map((e) => {
                    if (this.isProp(e)) {
                      let t = this.prefixed(e[0]);
                      return t.length > 1 ? this.convert(t) : e;
                    }
                    return "object" == typeof e ? this.add(e, t) : e;
                  });
                }
                process(e) {
                  let t = o.parse(e.params);
                  (t = this.normalize(t)),
                    (t = this.remove(t, e.params)),
                    (t = this.add(t, e.params)),
                    (t = this.cleanBrackets(t)),
                    (e.params = o.stringify(t));
                }
                disabled(e) {
                  if (
                    !this.all.options.grid &&
                    (("display" === e.prop && e.value.includes("grid")) ||
                      e.prop.includes("grid") ||
                      "justify-items" === e.prop)
                  )
                    return !0;
                  if (!1 === this.all.options.flexbox) {
                    if ("display" === e.prop && e.value.includes("flex"))
                      return !0;
                    let t = [
                      "order",
                      "justify-content",
                      "align-items",
                      "align-content",
                    ];
                    if (e.prop.includes("flex") || t.includes(e.prop))
                      return !0;
                  }
                  return !1;
                }
              };
            }),
            Il = h((e, t) => {
              g();
              t.exports = class {
                constructor(e, t) {
                  (this.prefix = t),
                    (this.prefixed = e.prefixed(this.prefix)),
                    (this.regexp = e.regexp(this.prefix)),
                    (this.prefixeds = e
                      .possible()
                      .map((t) => [e.prefixed(t), e.regexp(t)])),
                    (this.unprefixed = e.name),
                    (this.nameRegexp = e.regexp());
                }
                isHack(e) {
                  let t = e.parent.index(e) + 1,
                    n = e.parent.nodes;
                  for (; t < n.length; ) {
                    let e = n[t].selector;
                    if (!e) return !0;
                    if (e.includes(this.unprefixed) && e.match(this.nameRegexp))
                      return !1;
                    let c = !1;
                    for (let [t, n] of this.prefixeds)
                      if (e.includes(t) && e.match(n)) {
                        c = !0;
                        break;
                      }
                    if (!c) return !0;
                    t += 1;
                  }
                  return !0;
                }
                check(e) {
                  return !(
                    !e.selector.includes(this.prefixed) ||
                    !e.selector.match(this.regexp) ||
                    this.isHack(e)
                  );
                }
              };
            }),
            Tl = h((e, t) => {
              g();
              var { list: n } = $n(),
                c = Il(),
                a = fl(),
                r = ul(),
                o = pl();
              t.exports = class extends a {
                constructor(e, t, n) {
                  super(e, t, n), (this.regexpCache = new Map());
                }
                check(e) {
                  return (
                    !!e.selector.includes(this.name) &&
                    !!e.selector.match(this.regexp())
                  );
                }
                prefixed(e) {
                  return this.name.replace(/^(\W*)/, `$1${e}`);
                }
                regexp(e) {
                  if (!this.regexpCache.has(e)) {
                    let t = e ? this.prefixed(e) : this.name;
                    this.regexpCache.set(
                      e,
                      new RegExp(`(^|[^:"'=])${o.escapeRegexp(t)}`, "gi")
                    );
                  }
                  return this.regexpCache.get(e);
                }
                possible() {
                  return r.prefixes();
                }
                prefixeds(e) {
                  if (e._autoprefixerPrefixeds) {
                    if (e._autoprefixerPrefixeds[this.name])
                      return e._autoprefixerPrefixeds;
                  } else e._autoprefixerPrefixeds = {};
                  let t = {};
                  if (e.selector.includes(",")) {
                    let c = n
                      .comma(e.selector)
                      .filter((e) => e.includes(this.name));
                    for (let e of this.possible())
                      t[e] = c.map((t) => this.replace(t, e)).join(", ");
                  } else
                    for (let n of this.possible())
                      t[n] = this.replace(e.selector, n);
                  return (
                    (e._autoprefixerPrefixeds[this.name] = t),
                    e._autoprefixerPrefixeds
                  );
                }
                already(e, t, n) {
                  let c = e.parent.index(e) - 1;
                  for (; c >= 0; ) {
                    let a = e.parent.nodes[c];
                    if ("rule" !== a.type) return !1;
                    let r = !1;
                    for (let e in t[this.name]) {
                      let c = t[this.name][e];
                      if (a.selector === c) {
                        if (n === e) return !0;
                        r = !0;
                        break;
                      }
                    }
                    if (!r) return !1;
                    c -= 1;
                  }
                  return !1;
                }
                replace(e, t) {
                  return e.replace(this.regexp(), `$1${this.prefixed(t)}`);
                }
                add(e, t) {
                  let n = this.prefixeds(e);
                  if (this.already(e, n, t)) return;
                  let c = this.clone(e, { selector: n[this.name][t] });
                  e.parent.insertBefore(e, c);
                }
                old(e) {
                  return new c(this, e);
                }
              };
            }),
            Al = h((e, t) => {
              g();
              var n = fl();
              t.exports = class extends n {
                add(e, t) {
                  let n = t + e.name;
                  if (
                    e.parent.some((t) => t.name === n && t.params === e.params)
                  )
                    return;
                  let c = this.clone(e, { name: n });
                  return e.parent.insertBefore(e, c);
                }
                process(e) {
                  let t = this.parentPrefix(e);
                  for (let n of this.prefixes)
                    (!t || t === n) && this.add(e, n);
                }
              };
            }),
            Bl = h((e, t) => {
              g();
              var n = Tl(),
                c = class extends n {
                  prefixed(e) {
                    return "-webkit-" === e
                      ? ":-webkit-full-screen"
                      : "-moz-" === e
                      ? ":-moz-full-screen"
                      : `:${e}fullscreen`;
                  }
                };
              (c.names = [":fullscreen"]), (t.exports = c);
            }),
            Ml = h((e, t) => {
              g();
              var n = Tl(),
                c = class extends n {
                  possible() {
                    return super.possible().concat(["-moz- old", "-ms- old"]);
                  }
                  prefixed(e) {
                    return "-webkit-" === e
                      ? "::-webkit-input-placeholder"
                      : "-ms-" === e
                      ? "::-ms-input-placeholder"
                      : "-ms- old" === e
                      ? ":-ms-input-placeholder"
                      : "-moz- old" === e
                      ? ":-moz-placeholder"
                      : `::${e}placeholder`;
                  }
                };
              (c.names = ["::placeholder"]), (t.exports = c);
            }),
            jl = h((e, t) => {
              g();
              var n = Tl(),
                c = class extends n {
                  prefixed(e) {
                    return "-ms-" === e
                      ? ":-ms-input-placeholder"
                      : `:${e}placeholder-shown`;
                  }
                };
              (c.names = [":placeholder-shown"]), (t.exports = c);
            }),
            _l = h((e, t) => {
              g();
              var n = Tl(),
                c = pl(),
                a = class extends n {
                  constructor(e, t, n) {
                    super(e, t, n),
                      this.prefixes &&
                        (this.prefixes = c.uniq(
                          this.prefixes.map((e) => "-webkit-")
                        ));
                  }
                  prefixed(e) {
                    return "-webkit-" === e
                      ? "::-webkit-file-upload-button"
                      : `::${e}file-selector-button`;
                  }
                };
              (a.names = ["::file-selector-button"]), (t.exports = a);
            }),
            zl = h((e, t) => {
              g(),
                (t.exports = function (e) {
                  let t;
                  return (
                    "-webkit- 2009" === e || "-moz-" === e
                      ? (t = 2009)
                      : "-ms-" === e
                      ? (t = 2012)
                      : "-webkit-" === e && (t = "final"),
                    "-webkit- 2009" === e && (e = "-webkit-"),
                    [t, e]
                  );
                });
            }),
            Fl = h((e, t) => {
              g();
              var n = $n().list,
                c = zl(),
                a = hl(),
                r = class extends a {
                  prefixed(e, t) {
                    let n;
                    return (
                      ([n, t] = c(t)),
                      2009 === n ? t + "box-flex" : super.prefixed(e, t)
                    );
                  }
                  normalize() {
                    return "flex";
                  }
                  set(e, t) {
                    let a = c(t)[0];
                    if (2009 === a)
                      return (
                        (e.value = n.space(e.value)[0]),
                        (e.value = r.oldValues[e.value] || e.value),
                        super.set(e, t)
                      );
                    if (2012 === a) {
                      let t = n.space(e.value);
                      3 === t.length &&
                        "0" === t[2] &&
                        (e.value = t.slice(0, 2).concat("0px").join(" "));
                    }
                    return super.set(e, t);
                  }
                };
              (r.names = ["flex", "box-flex"]),
                (r.oldValues = { auto: "1", none: "0" }),
                (t.exports = r);
            }),
            Dl = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2009 === c
                        ? t + "box-ordinal-group"
                        : 2012 === c
                        ? t + "flex-order"
                        : super.prefixed(e, t)
                    );
                  }
                  normalize() {
                    return "order";
                  }
                  set(e, t) {
                    return 2009 === n(t)[0] && /\d/.test(e.value)
                      ? ((e.value = (parseInt(e.value) + 1).toString()),
                        super.set(e, t))
                      : super.set(e, t);
                  }
                };
              (a.names = ["order", "flex-order", "box-ordinal-group"]),
                (t.exports = a);
            }),
            Pl = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  check(e) {
                    let t = e.value;
                    return (
                      !t.toLowerCase().includes("alpha(") &&
                      !t.includes("DXImageTransform.Microsoft") &&
                      !t.includes("data:image/svg+xml")
                    );
                  }
                };
              (c.names = ["filter"]), (t.exports = c);
            }),
            Hl = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  insert(e, t, n, c) {
                    if ("-ms-" !== t) return super.insert(e, t, n);
                    let a = this.clone(e),
                      r = e.prop.replace(/end$/, "start"),
                      o = t + e.prop.replace(/end$/, "span");
                    if (!e.parent.some((e) => e.prop === o)) {
                      if (((a.prop = o), e.value.includes("span")))
                        a.value = e.value.replace(/span\s/i, "");
                      else {
                        let t;
                        if (
                          (e.parent.walkDecls(r, (e) => {
                            t = e;
                          }),
                          t)
                        ) {
                          let n = Number(e.value) - Number(t.value) + "";
                          a.value = n;
                        } else
                          e.warn(
                            c,
                            `Can not prefix ${e.prop} (${r} is not found)`
                          );
                      }
                      e.cloneBefore(a);
                    }
                  }
                };
              (c.names = ["grid-row-end", "grid-column-end"]), (t.exports = c);
            }),
            Xl = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  check(e) {
                    return !e.value.split(/\s+/).some((e) => {
                      let t = e.toLowerCase();
                      return "reverse" === t || "alternate-reverse" === t;
                    });
                  }
                };
              (c.names = ["animation", "animation-direction"]), (t.exports = c);
            }),
            Nl = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  insert(e, t, c) {
                    let a;
                    if ((([a, t] = n(t)), 2009 !== a))
                      return super.insert(e, t, c);
                    let r = e.value
                      .split(/\s+/)
                      .filter(
                        (e) => "wrap" !== e && "nowrap" !== e && "wrap-reverse"
                      );
                    if (
                      0 === r.length ||
                      e.parent.some(
                        (e) =>
                          e.prop === t + "box-orient" ||
                          e.prop === t + "box-direction"
                      )
                    )
                      return;
                    let o = r[0],
                      i = o.includes("row") ? "horizontal" : "vertical",
                      l = o.includes("reverse") ? "reverse" : "normal",
                      s = this.clone(e);
                    return (
                      (s.prop = t + "box-orient"),
                      (s.value = i),
                      this.needCascade(e) &&
                        (s.raws.before = this.calcBefore(c, e, t)),
                      e.parent.insertBefore(e, s),
                      (s = this.clone(e)),
                      (s.prop = t + "box-direction"),
                      (s.value = l),
                      this.needCascade(e) &&
                        (s.raws.before = this.calcBefore(c, e, t)),
                      e.parent.insertBefore(e, s)
                    );
                  }
                };
              (a.names = ["flex-flow", "box-direction", "box-orient"]),
                (t.exports = a);
            }),
            Ql = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  normalize() {
                    return "flex";
                  }
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2009 === c
                        ? t + "box-flex"
                        : 2012 === c
                        ? t + "flex-positive"
                        : super.prefixed(e, t)
                    );
                  }
                };
              (a.names = ["flex-grow", "flex-positive"]), (t.exports = a);
            }),
            Wl = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  set(e, t) {
                    if (2009 !== n(t)[0]) return super.set(e, t);
                  }
                };
              (a.names = ["flex-wrap"]), (t.exports = a);
            }),
            Ul = h((e, t) => {
              g();
              var n = hl(),
                c = Ol(),
                a = class extends n {
                  insert(e, t, n, a) {
                    if ("-ms-" !== t) return super.insert(e, t, n);
                    let r = c.parse(e),
                      [o, i] = c.translate(r, 0, 2),
                      [l, s] = c.translate(r, 1, 3);
                    [
                      ["grid-row", o],
                      ["grid-row-span", i],
                      ["grid-column", l],
                      ["grid-column-span", s],
                    ].forEach(([t, n]) => {
                      c.insertDecl(e, t, n);
                    }),
                      c.warnTemplateSelectorNotFound(e, a),
                      c.warnIfGridRowColumnExists(e, a);
                  }
                };
              (a.names = ["grid-area"]), (t.exports = a);
            }),
            Kl = h((e, t) => {
              g();
              var n = hl(),
                c = Ol(),
                a = class extends n {
                  insert(e, t, n) {
                    if ("-ms-" !== t) return super.insert(e, t, n);
                    if (e.parent.some((e) => "-ms-grid-row-align" === e.prop))
                      return;
                    let [[a, r]] = c.parse(e);
                    r
                      ? (c.insertDecl(e, "grid-row-align", a),
                        c.insertDecl(e, "grid-column-align", r))
                      : (c.insertDecl(e, "grid-row-align", a),
                        c.insertDecl(e, "grid-column-align", a));
                  }
                };
              (a.names = ["place-self"]), (t.exports = a);
            }),
            ql = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  check(e) {
                    let t = e.value;
                    return !t.includes("/") || t.includes("span");
                  }
                  normalize(e) {
                    return e.replace("-start", "");
                  }
                  prefixed(e, t) {
                    let n = super.prefixed(e, t);
                    return "-ms-" === t && (n = n.replace("-start", "")), n;
                  }
                };
              (c.names = ["grid-row-start", "grid-column-start"]),
                (t.exports = c);
            }),
            Vl = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  check(e) {
                    return (
                      e.parent &&
                      !e.parent.some(
                        (e) => e.prop && e.prop.startsWith("grid-")
                      )
                    );
                  }
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2012 === c ? t + "flex-item-align" : super.prefixed(e, t)
                    );
                  }
                  normalize() {
                    return "align-self";
                  }
                  set(e, t) {
                    let c = n(t)[0];
                    return 2012 === c
                      ? ((e.value = a.oldValues[e.value] || e.value),
                        super.set(e, t))
                      : "final" === c
                      ? super.set(e, t)
                      : void 0;
                  }
                };
              (a.names = ["align-self", "flex-item-align"]),
                (a.oldValues = { "flex-end": "end", "flex-start": "start" }),
                (t.exports = a);
            }),
            Gl = h((e, t) => {
              g();
              var n = hl(),
                c = pl(),
                a = class extends n {
                  constructor(e, t, n) {
                    super(e, t, n),
                      this.prefixes &&
                        (this.prefixes = c.uniq(
                          this.prefixes.map((e) =>
                            "-ms-" === e ? "-webkit-" : e
                          )
                        ));
                  }
                };
              (a.names = ["appearance"]), (t.exports = a);
            }),
            Yl = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  normalize() {
                    return "flex-basis";
                  }
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2012 === c
                        ? t + "flex-preferred-size"
                        : super.prefixed(e, t)
                    );
                  }
                  set(e, t) {
                    let c;
                    if ((([c, t] = n(t)), 2012 === c || "final" === c))
                      return super.set(e, t);
                  }
                };
              (a.names = ["flex-basis", "flex-preferred-size"]),
                (t.exports = a);
            }),
            Zl = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  normalize() {
                    return this.name.replace("box-image", "border");
                  }
                  prefixed(e, t) {
                    let n = super.prefixed(e, t);
                    return (
                      "-webkit-" === t &&
                        (n = n.replace("border", "box-image")),
                      n
                    );
                  }
                };
              (c.names = [
                "mask-border",
                "mask-border-source",
                "mask-border-slice",
                "mask-border-width",
                "mask-border-outset",
                "mask-border-repeat",
                "mask-box-image",
                "mask-box-image-source",
                "mask-box-image-slice",
                "mask-box-image-width",
                "mask-box-image-outset",
                "mask-box-image-repeat",
              ]),
                (t.exports = c);
            }),
            Jl = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  insert(e, t, n) {
                    let a,
                      r = "mask-composite" === e.prop;
                    (a = r
                      ? e.value.split(",")
                      : e.value.match(c.regexp) || []),
                      (a = a.map((e) => e.trim()).filter((e) => e));
                    let o,
                      i = a.length;
                    if (
                      (i &&
                        ((o = this.clone(e)),
                        (o.value = a
                          .map((e) => c.oldValues[e] || e)
                          .join(", ")),
                        a.includes("intersect") && (o.value += ", xor"),
                        (o.prop = t + "mask-composite")),
                      r)
                    )
                      return i
                        ? (this.needCascade(e) &&
                            (o.raws.before = this.calcBefore(n, e, t)),
                          e.parent.insertBefore(e, o))
                        : void 0;
                    let l = this.clone(e);
                    return (
                      (l.prop = t + l.prop),
                      i && (l.value = l.value.replace(c.regexp, "")),
                      this.needCascade(e) &&
                        (l.raws.before = this.calcBefore(n, e, t)),
                      e.parent.insertBefore(e, l),
                      i
                        ? (this.needCascade(e) &&
                            (o.raws.before = this.calcBefore(n, e, t)),
                          e.parent.insertBefore(e, o))
                        : e
                    );
                  }
                };
              (c.names = ["mask", "mask-composite"]),
                (c.oldValues = {
                  add: "source-over",
                  subtract: "source-out",
                  intersect: "source-in",
                  exclude: "xor",
                }),
                (c.regexp = new RegExp(
                  `\\s+(${Object.keys(c.oldValues).join(
                    "|"
                  )})\\b(?!\\))\\s*(?=[,])`,
                  "ig"
                )),
                (t.exports = c);
            }),
            es = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2009 === c
                        ? t + "box-align"
                        : 2012 === c
                        ? t + "flex-align"
                        : super.prefixed(e, t)
                    );
                  }
                  normalize() {
                    return "align-items";
                  }
                  set(e, t) {
                    let c = n(t)[0];
                    return (
                      (2009 === c || 2012 === c) &&
                        (e.value = a.oldValues[e.value] || e.value),
                      super.set(e, t)
                    );
                  }
                };
              (a.names = ["align-items", "flex-align", "box-align"]),
                (a.oldValues = { "flex-end": "end", "flex-start": "start" }),
                (t.exports = a);
            }),
            ts = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  set(e, t) {
                    return (
                      "-ms-" === t &&
                        "contain" === e.value &&
                        (e.value = "element"),
                      super.set(e, t)
                    );
                  }
                  insert(e, t, n) {
                    if ("all" !== e.value || "-ms-" !== t)
                      return super.insert(e, t, n);
                  }
                };
              (c.names = ["user-select"]), (t.exports = c);
            }),
            ns = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  normalize() {
                    return "flex-shrink";
                  }
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2012 === c ? t + "flex-negative" : super.prefixed(e, t)
                    );
                  }
                  set(e, t) {
                    let c;
                    if ((([c, t] = n(t)), 2012 === c || "final" === c))
                      return super.set(e, t);
                  }
                };
              (a.names = ["flex-shrink", "flex-negative"]), (t.exports = a);
            }),
            cs = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  prefixed(e, t) {
                    return `${t}column-${e}`;
                  }
                  normalize(e) {
                    return e.includes("inside")
                      ? "break-inside"
                      : e.includes("before")
                      ? "break-before"
                      : "break-after";
                  }
                  set(e, t) {
                    return (
                      (("break-inside" === e.prop &&
                        "avoid-column" === e.value) ||
                        "avoid-page" === e.value) &&
                        (e.value = "avoid"),
                      super.set(e, t)
                    );
                  }
                  insert(e, t, n) {
                    return "break-inside" !== e.prop
                      ? super.insert(e, t, n)
                      : /region/i.test(e.value) || /page/i.test(e.value)
                      ? void 0
                      : super.insert(e, t, n);
                  }
                };
              (c.names = [
                "break-inside",
                "page-break-inside",
                "column-break-inside",
                "break-before",
                "page-break-before",
                "column-break-before",
                "break-after",
                "page-break-after",
                "column-break-after",
              ]),
                (t.exports = c);
            }),
            as = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  prefixed(e, t) {
                    return t + "print-color-adjust";
                  }
                  normalize() {
                    return "color-adjust";
                  }
                };
              (c.names = ["color-adjust", "print-color-adjust"]),
                (t.exports = c);
            }),
            rs = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  insert(e, t, n) {
                    if ("-ms-" === t) {
                      let a = this.set(this.clone(e), t);
                      this.needCascade(e) &&
                        (a.raws.before = this.calcBefore(n, e, t));
                      let r = "ltr";
                      return (
                        e.parent.nodes.forEach((e) => {
                          "direction" === e.prop &&
                            ("rtl" === e.value || "ltr" === e.value) &&
                            (r = e.value);
                        }),
                        (a.value = c.msValues[r][e.value] || e.value),
                        e.parent.insertBefore(e, a)
                      );
                    }
                    return super.insert(e, t, n);
                  }
                };
              (c.names = ["writing-mode"]),
                (c.msValues = {
                  ltr: {
                    "horizontal-tb": "lr-tb",
                    "vertical-rl": "tb-rl",
                    "vertical-lr": "tb-lr",
                  },
                  rtl: {
                    "horizontal-tb": "rl-tb",
                    "vertical-rl": "bt-rl",
                    "vertical-lr": "bt-lr",
                  },
                }),
                (t.exports = c);
            }),
            os = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  set(e, t) {
                    return (
                      (e.value = e.value.replace(/\s+fill(\s)/, "$1")),
                      super.set(e, t)
                    );
                  }
                };
              (c.names = ["border-image"]), (t.exports = c);
            }),
            is = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2012 === c ? t + "flex-line-pack" : super.prefixed(e, t)
                    );
                  }
                  normalize() {
                    return "align-content";
                  }
                  set(e, t) {
                    let c = n(t)[0];
                    return 2012 === c
                      ? ((e.value = a.oldValues[e.value] || e.value),
                        super.set(e, t))
                      : "final" === c
                      ? super.set(e, t)
                      : void 0;
                  }
                };
              (a.names = ["align-content", "flex-line-pack"]),
                (a.oldValues = {
                  "flex-end": "end",
                  "flex-start": "start",
                  "space-between": "justify",
                  "space-around": "distribute",
                }),
                (t.exports = a);
            }),
            ls = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  prefixed(e, t) {
                    return "-moz-" === t
                      ? t + (c.toMozilla[e] || e)
                      : super.prefixed(e, t);
                  }
                  normalize(e) {
                    return c.toNormal[e] || e;
                  }
                };
              (c.names = ["border-radius"]),
                (c.toMozilla = {}),
                (c.toNormal = {});
              for (let e of ["top", "bottom"])
                for (let t of ["left", "right"]) {
                  let n = `border-${e}-${t}-radius`,
                    a = `border-radius-${e}${t}`;
                  c.names.push(n),
                    c.names.push(a),
                    (c.toMozilla[n] = a),
                    (c.toNormal[a] = n);
                }
              t.exports = c;
            }),
            ss = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  prefixed(e, t) {
                    return e.includes("-start")
                      ? t + e.replace("-block-start", "-before")
                      : t + e.replace("-block-end", "-after");
                  }
                  normalize(e) {
                    return e.includes("-before")
                      ? e.replace("-before", "-block-start")
                      : e.replace("-after", "-block-end");
                  }
                };
              (c.names = [
                "border-block-start",
                "border-block-end",
                "margin-block-start",
                "margin-block-end",
                "padding-block-start",
                "padding-block-end",
                "border-before",
                "border-after",
                "margin-before",
                "margin-after",
                "padding-before",
                "padding-after",
              ]),
                (t.exports = c);
            }),
            ps = h((e, t) => {
              g();
              var n = hl(),
                {
                  parseTemplate: c,
                  warnMissedAreas: a,
                  getGridGap: r,
                  warnGridGap: o,
                  inheritGridGap: i,
                } = Ol(),
                l = class extends n {
                  insert(e, t, n, l) {
                    if ("-ms-" !== t) return super.insert(e, t, n);
                    if (e.parent.some((e) => "-ms-grid-rows" === e.prop))
                      return;
                    let s = r(e),
                      p = i(e, s),
                      {
                        rows: u,
                        columns: d,
                        areas: f,
                      } = c({ decl: e, gap: p || s }),
                      h = Object.keys(f).length > 0,
                      m = Boolean(u),
                      v = Boolean(d);
                    return (
                      o({ gap: s, hasColumns: v, decl: e, result: l }),
                      a(f, e, l),
                      ((m && v) || h) &&
                        e.cloneBefore({
                          prop: "-ms-grid-rows",
                          value: u,
                          raws: {},
                        }),
                      v &&
                        e.cloneBefore({
                          prop: "-ms-grid-columns",
                          value: d,
                          raws: {},
                        }),
                      e
                    );
                  }
                };
              (l.names = ["grid-template"]), (t.exports = l);
            }),
            us = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  prefixed(e, t) {
                    return t + e.replace("-inline", "");
                  }
                  normalize(e) {
                    return e.replace(
                      /(margin|padding|border)-(start|end)/,
                      "$1-inline-$2"
                    );
                  }
                };
              (c.names = [
                "border-inline-start",
                "border-inline-end",
                "margin-inline-start",
                "margin-inline-end",
                "padding-inline-start",
                "padding-inline-end",
                "border-start",
                "border-end",
                "margin-start",
                "margin-end",
                "padding-start",
                "padding-end",
              ]),
                (t.exports = c);
            }),
            ds = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  check(e) {
                    return !e.value.includes("flex-") && "baseline" !== e.value;
                  }
                  prefixed(e, t) {
                    return t + "grid-row-align";
                  }
                  normalize() {
                    return "align-self";
                  }
                };
              (c.names = ["grid-row-align"]), (t.exports = c);
            }),
            fs = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  keyframeParents(e) {
                    let { parent: t } = e;
                    for (; t; ) {
                      if ("atrule" === t.type && "keyframes" === t.name)
                        return !0;
                      ({ parent: t } = t);
                    }
                    return !1;
                  }
                  contain3d(e) {
                    if ("transform-origin" === e.prop) return !1;
                    for (let t of c.functions3d)
                      if (e.value.includes(`${t}(`)) return !0;
                    return !1;
                  }
                  set(e, t) {
                    return (
                      (e = super.set(e, t)),
                      "-ms-" === t &&
                        (e.value = e.value.replace(/rotatez/gi, "rotate")),
                      e
                    );
                  }
                  insert(e, t, n) {
                    if ("-ms-" === t) {
                      if (!this.contain3d(e) && !this.keyframeParents(e))
                        return super.insert(e, t, n);
                    } else {
                      if ("-o-" !== t) return super.insert(e, t, n);
                      if (!this.contain3d(e)) return super.insert(e, t, n);
                    }
                  }
                };
              (c.names = ["transform", "transform-origin"]),
                (c.functions3d = [
                  "matrix3d",
                  "translate3d",
                  "translateZ",
                  "scale3d",
                  "scaleZ",
                  "rotate3d",
                  "rotateX",
                  "rotateY",
                  "perspective",
                ]),
                (t.exports = c);
            }),
            hs = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  normalize() {
                    return "flex-direction";
                  }
                  insert(e, t, c) {
                    let a;
                    if ((([a, t] = n(t)), 2009 !== a))
                      return super.insert(e, t, c);
                    if (
                      e.parent.some(
                        (e) =>
                          e.prop === t + "box-orient" ||
                          e.prop === t + "box-direction"
                      )
                    )
                      return;
                    let r,
                      o,
                      i = e.value;
                    "inherit" === i || "initial" === i || "unset" === i
                      ? ((r = i), (o = i))
                      : ((r = i.includes("row") ? "horizontal" : "vertical"),
                        (o = i.includes("reverse") ? "reverse" : "normal"));
                    let l = this.clone(e);
                    return (
                      (l.prop = t + "box-orient"),
                      (l.value = r),
                      this.needCascade(e) &&
                        (l.raws.before = this.calcBefore(c, e, t)),
                      e.parent.insertBefore(e, l),
                      (l = this.clone(e)),
                      (l.prop = t + "box-direction"),
                      (l.value = o),
                      this.needCascade(e) &&
                        (l.raws.before = this.calcBefore(c, e, t)),
                      e.parent.insertBefore(e, l)
                    );
                  }
                  old(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2009 === c
                        ? [t + "box-orient", t + "box-direction"]
                        : super.old(e, t)
                    );
                  }
                };
              (a.names = ["flex-direction", "box-direction", "box-orient"]),
                (t.exports = a);
            }),
            ms = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  check(e) {
                    return "pixelated" === e.value;
                  }
                  prefixed(e, t) {
                    return "-ms-" === t
                      ? "-ms-interpolation-mode"
                      : super.prefixed(e, t);
                  }
                  set(e, t) {
                    return "-ms-" !== t
                      ? super.set(e, t)
                      : ((e.prop = "-ms-interpolation-mode"),
                        (e.value = "nearest-neighbor"),
                        e);
                  }
                  normalize() {
                    return "image-rendering";
                  }
                  process(e, t) {
                    return super.process(e, t);
                  }
                };
              (c.names = ["image-rendering", "interpolation-mode"]),
                (t.exports = c);
            }),
            vs = h((e, t) => {
              g();
              var n = hl(),
                c = pl(),
                a = class extends n {
                  constructor(e, t, n) {
                    super(e, t, n),
                      this.prefixes &&
                        (this.prefixes = c.uniq(
                          this.prefixes.map((e) =>
                            "-ms-" === e ? "-webkit-" : e
                          )
                        ));
                  }
                };
              (a.names = ["backdrop-filter"]), (t.exports = a);
            }),
            gs = h((e, t) => {
              g();
              var n = hl(),
                c = pl(),
                a = class extends n {
                  constructor(e, t, n) {
                    super(e, t, n),
                      this.prefixes &&
                        (this.prefixes = c.uniq(
                          this.prefixes.map((e) =>
                            "-ms-" === e ? "-webkit-" : e
                          )
                        ));
                  }
                  check(e) {
                    return "text" === e.value.toLowerCase();
                  }
                };
              (a.names = ["background-clip"]), (t.exports = a);
            }),
            bs = h((e, t) => {
              g();
              var n = hl(),
                c = [
                  "none",
                  "underline",
                  "overline",
                  "line-through",
                  "blink",
                  "inherit",
                  "initial",
                  "unset",
                ],
                a = class extends n {
                  check(e) {
                    return e.value.split(/\s+/).some((e) => !c.includes(e));
                  }
                };
              (a.names = ["text-decoration"]), (t.exports = a);
            }),
            xs = h((e, t) => {
              g();
              var n = zl(),
                c = hl(),
                a = class extends c {
                  prefixed(e, t) {
                    let c;
                    return (
                      ([c, t] = n(t)),
                      2009 === c
                        ? t + "box-pack"
                        : 2012 === c
                        ? t + "flex-pack"
                        : super.prefixed(e, t)
                    );
                  }
                  normalize() {
                    return "justify-content";
                  }
                  set(e, t) {
                    let c = n(t)[0];
                    if (2009 === c || 2012 === c) {
                      let n = a.oldValues[e.value] || e.value;
                      if (((e.value = n), 2009 !== c || "distribute" !== n))
                        return super.set(e, t);
                    } else if ("final" === c) return super.set(e, t);
                  }
                };
              (a.names = ["justify-content", "flex-pack", "box-pack"]),
                (a.oldValues = {
                  "flex-end": "end",
                  "flex-start": "start",
                  "space-between": "justify",
                  "space-around": "distribute",
                }),
                (t.exports = a);
            }),
            ws = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  set(e, t) {
                    let n = e.value.toLowerCase();
                    return (
                      "-webkit-" === t &&
                        !n.includes(" ") &&
                        "contain" !== n &&
                        "cover" !== n &&
                        (e.value = e.value + " " + e.value),
                      super.set(e, t)
                    );
                  }
                };
              (c.names = ["background-size"]), (t.exports = c);
            }),
            ys = h((e, t) => {
              g();
              var n = hl(),
                c = Ol(),
                a = class extends n {
                  insert(e, t, n) {
                    if ("-ms-" !== t) return super.insert(e, t, n);
                    let a = c.parse(e),
                      [r, o] = c.translate(a, 0, 1);
                    a[0] &&
                      a[0].includes("span") &&
                      (o = a[0].join("").replace(/\D/g, "")),
                      [
                        [e.prop, r],
                        [`${e.prop}-span`, o],
                      ].forEach(([t, n]) => {
                        c.insertDecl(e, t, n);
                      });
                  }
                };
              (a.names = ["grid-row", "grid-column"]), (t.exports = a);
            }),
            ks = h((e, t) => {
              g();
              var n = hl(),
                {
                  prefixTrackProp: c,
                  prefixTrackValue: a,
                  autoplaceGridItems: r,
                  getGridGap: o,
                  inheritGridGap: i,
                } = Ol(),
                l = $l(),
                s = class extends n {
                  prefixed(e, t) {
                    return "-ms-" === t
                      ? c({ prop: e, prefix: t })
                      : super.prefixed(e, t);
                  }
                  normalize(e) {
                    return e.replace(
                      /^grid-(rows|columns)/,
                      "grid-template-$1"
                    );
                  }
                  insert(e, t, n, s) {
                    if ("-ms-" !== t) return super.insert(e, t, n);
                    let { parent: p, prop: u, value: d } = e,
                      f = u.includes("rows"),
                      h = u.includes("columns"),
                      m = p.some(
                        (e) =>
                          "grid-template" === e.prop ||
                          "grid-template-areas" === e.prop
                      );
                    if (m && f) return !1;
                    let v = new l({ options: {} }),
                      g = v.gridStatus(p, s),
                      b = o(e);
                    b = i(e, b) || b;
                    let x = f ? b.row : b.column;
                    ("no-autoplace" === g || !0 === g) && !m && (x = null);
                    let w = a({ value: d, gap: x });
                    e.cloneBefore({
                      prop: c({ prop: u, prefix: t }),
                      value: w,
                    });
                    let y = p.nodes.find((e) => "grid-auto-flow" === e.prop),
                      k = "row";
                    if (
                      (y && !v.disabled(y, s) && (k = y.value.trim()),
                      "autoplace" === g)
                    ) {
                      let t = p.nodes.find(
                        (e) => "grid-template-rows" === e.prop
                      );
                      if (!t && m) return;
                      if (!t && !m)
                        return void e.warn(
                          s,
                          "Autoplacement does not work without grid-template-rows property"
                        );
                      !p.nodes.find(
                        (e) => "grid-template-columns" === e.prop
                      ) &&
                        !m &&
                        e.warn(
                          s,
                          "Autoplacement does not work without grid-template-columns property"
                        ),
                        h && !m && r(e, s, b, k);
                    }
                  }
                };
              (s.names = [
                "grid-template-rows",
                "grid-template-columns",
                "grid-rows",
                "grid-columns",
              ]),
                (t.exports = s);
            }),
            Cs = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  check(e) {
                    return !e.value.includes("flex-") && "baseline" !== e.value;
                  }
                  prefixed(e, t) {
                    return t + "grid-column-align";
                  }
                  normalize() {
                    return "justify-self";
                  }
                };
              (c.names = ["grid-column-align"]), (t.exports = c);
            }),
            Rs = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  prefixed(e, t) {
                    return t + "scroll-chaining";
                  }
                  normalize() {
                    return "overscroll-behavior";
                  }
                  set(e, t) {
                    return (
                      "auto" === e.value
                        ? (e.value = "chained")
                        : ("none" === e.value || "contain" === e.value) &&
                          (e.value = "none"),
                      super.set(e, t)
                    );
                  }
                };
              (c.names = ["overscroll-behavior", "scroll-chaining"]),
                (t.exports = c);
            }),
            Os = h((e, t) => {
              g();
              var n = hl(),
                {
                  parseGridAreas: c,
                  warnMissedAreas: a,
                  prefixTrackProp: r,
                  prefixTrackValue: o,
                  getGridGap: i,
                  warnGridGap: l,
                  inheritGridGap: s,
                } = Ol();
              var p = class extends n {
                insert(e, t, n, p) {
                  if ("-ms-" !== t) return super.insert(e, t, n);
                  let u = !1,
                    d = !1,
                    f = e.parent,
                    h = i(e);
                  (h = s(e, h) || h),
                    f.walkDecls(/-ms-grid-rows/, (e) => e.remove()),
                    f.walkDecls(/grid-template-(rows|columns)/, (e) => {
                      if ("grid-template-rows" === e.prop) {
                        d = !0;
                        let { prop: n, value: c } = e;
                        e.cloneBefore({
                          prop: r({ prop: n, prefix: t }),
                          value: o({ value: c, gap: h.row }),
                        });
                      } else u = !0;
                    });
                  let m = e.value
                    .trim()
                    .slice(1, -1)
                    .split(/["']\s*["']?/g);
                  u &&
                    !d &&
                    h.row &&
                    m.length > 1 &&
                    e.cloneBefore({
                      prop: "-ms-grid-rows",
                      value: o({
                        value: `repeat(${m.length}, auto)`,
                        gap: h.row,
                      }),
                      raws: {},
                    }),
                    l({ gap: h, hasColumns: u, decl: e, result: p });
                  let v = c({ rows: m, gap: h });
                  return a(v, e, p), e;
                }
              };
              (p.names = ["grid-template-areas"]), (t.exports = p);
            }),
            $s = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  set(e, t) {
                    return (
                      "-webkit-" === t &&
                        (e.value = e.value.replace(/\s*(right|left)\s*/i, "")),
                      super.set(e, t)
                    );
                  }
                };
              (c.names = ["text-emphasis-position"]), (t.exports = c);
            }),
            Ls = h((e, t) => {
              g();
              var n = hl(),
                c = class extends n {
                  set(e, t) {
                    return "text-decoration-skip-ink" === e.prop &&
                      "auto" === e.value
                      ? ((e.prop = t + "text-decoration-skip"),
                        (e.value = "ink"),
                        e)
                      : super.set(e, t);
                  }
                };
              (c.names = ["text-decoration-skip-ink", "text-decoration-skip"]),
                (t.exports = c);
            }),
            Ss = h((e, t) => {
              function n(e, t, n) {
                var c = t - e;
                return ((((n - e) % c) + c) % c) + e;
              }
              function c(e, t, n) {
                return Math.max(e, Math.min(t, n));
              }
              function a(e, t, n, c, a) {
                if (!r(e, t, n, c, a))
                  throw new Error(
                    n + " is outside of range [" + e + "," + t + ")"
                  );
                return n;
              }
              function r(e, t, n, c, a) {
                return !(n < e || n > t || (a && n === t) || (c && n === e));
              }
              function o(e, t, n, c) {
                return (n ? "(" : "[") + e + "," + t + (c ? ")" : "]");
              }
              g(),
                (t.exports = {
                  wrap: n,
                  limit: c,
                  validate: a,
                  test: r,
                  curry: function (e, t, i, l) {
                    var s = o.bind(null, e, t, i, l);
                    return {
                      wrap: n.bind(null, e, t),
                      limit: c.bind(null, e, t),
                      validate: function (n) {
                        return a(e, t, n, i, l);
                      },
                      test: function (n) {
                        return r(e, t, n, i, l);
                      },
                      toString: s,
                      name: s,
                    };
                  },
                  name: o,
                });
            }),
            Es = h((e, t) => {
              g();
              var n = yl(),
                c = Ss(),
                a = Cl(),
                r = Rl(),
                o = pl(),
                i = /top|left|right|bottom/gi,
                l = class extends r {
                  replace(e, t) {
                    let c = n(e);
                    for (let e of c.nodes)
                      if ("function" === e.type && e.value === this.name)
                        if (
                          ((e.nodes = this.newDirection(e.nodes)),
                          (e.nodes = this.normalize(e.nodes)),
                          "-webkit- old" === t)
                        ) {
                          if (!this.oldWebkit(e)) return !1;
                        } else
                          (e.nodes = this.convertDirection(e.nodes)),
                            (e.value = t + e.value);
                    return c.toString();
                  }
                  replaceFirst(e, ...t) {
                    return t
                      .map((e) =>
                        " " === e
                          ? { type: "space", value: e }
                          : { type: "word", value: e }
                      )
                      .concat(e.slice(1));
                  }
                  normalizeUnit(e, t) {
                    return (parseFloat(e) / t) * 360 + "deg";
                  }
                  normalize(e) {
                    if (!e[0]) return e;
                    if (/-?\d+(.\d+)?grad/.test(e[0].value))
                      e[0].value = this.normalizeUnit(e[0].value, 400);
                    else if (/-?\d+(.\d+)?rad/.test(e[0].value))
                      e[0].value = this.normalizeUnit(e[0].value, 2 * Math.PI);
                    else if (/-?\d+(.\d+)?turn/.test(e[0].value))
                      e[0].value = this.normalizeUnit(e[0].value, 1);
                    else if (e[0].value.includes("deg")) {
                      let t = parseFloat(e[0].value);
                      (t = c.wrap(0, 360, t)), (e[0].value = `${t}deg`);
                    }
                    return (
                      "0deg" === e[0].value
                        ? (e = this.replaceFirst(e, "to", " ", "top"))
                        : "90deg" === e[0].value
                        ? (e = this.replaceFirst(e, "to", " ", "right"))
                        : "180deg" === e[0].value
                        ? (e = this.replaceFirst(e, "to", " ", "bottom"))
                        : "270deg" === e[0].value &&
                          (e = this.replaceFirst(e, "to", " ", "left")),
                      e
                    );
                  }
                  newDirection(e) {
                    if (
                      "to" === e[0].value ||
                      ((i.lastIndex = 0), !i.test(e[0].value))
                    )
                      return e;
                    e.unshift(
                      { type: "word", value: "to" },
                      { type: "space", value: " " }
                    );
                    for (let t = 2; t < e.length && "div" !== e[t].type; t++)
                      "word" === e[t].type &&
                        (e[t].value = this.revertDirection(e[t].value));
                    return e;
                  }
                  isRadial(e) {
                    let t = "before";
                    for (let n of e)
                      if ("before" === t && "space" === n.type) t = "at";
                      else if ("at" === t && "at" === n.value) t = "after";
                      else {
                        if ("after" === t && "space" === n.type) return !0;
                        if ("div" === n.type) break;
                        t = "before";
                      }
                    return !1;
                  }
                  convertDirection(e) {
                    return (
                      e.length > 0 &&
                        ("to" === e[0].value
                          ? this.fixDirection(e)
                          : e[0].value.includes("deg")
                          ? this.fixAngle(e)
                          : this.isRadial(e) && this.fixRadial(e)),
                      e
                    );
                  }
                  fixDirection(e) {
                    e.splice(0, 2);
                    for (let t of e) {
                      if ("div" === t.type) break;
                      "word" === t.type &&
                        (t.value = this.revertDirection(t.value));
                    }
                  }
                  fixAngle(e) {
                    let t = e[0].value;
                    (t = parseFloat(t)),
                      (t = Math.abs(450 - t) % 360),
                      (t = this.roundFloat(t, 3)),
                      (e[0].value = `${t}deg`);
                  }
                  fixRadial(e) {
                    let t,
                      n,
                      c,
                      a,
                      r,
                      o,
                      i = [],
                      l = [];
                    for (a = 0; a < e.length - 2; a++) {
                      if (
                        ((t = e[a]),
                        (n = e[a + 1]),
                        (c = e[a + 2]),
                        "space" === t.type &&
                          "at" === n.value &&
                          "space" === c.type)
                      ) {
                        r = a + 3;
                        break;
                      }
                      i.push(t);
                    }
                    for (a = r; a < e.length; a++) {
                      if ("div" === e[a].type) {
                        o = e[a];
                        break;
                      }
                      l.push(e[a]);
                    }
                    e.splice(0, a, ...l, o, ...i);
                  }
                  revertDirection(e) {
                    return l.directions[e.toLowerCase()] || e;
                  }
                  roundFloat(e, t) {
                    return parseFloat(e.toFixed(t));
                  }
                  oldWebkit(e) {
                    let { nodes: t } = e,
                      c = n.stringify(e.nodes);
                    if (
                      "linear-gradient" !== this.name ||
                      (t[0] && t[0].value.includes("deg")) ||
                      c.includes("px") ||
                      c.includes("-corner") ||
                      c.includes("-side")
                    )
                      return !1;
                    let a = [[]];
                    for (let e of t)
                      a[a.length - 1].push(e),
                        "div" === e.type && "," === e.value && a.push([]);
                    this.oldDirection(a), this.colorStops(a), (e.nodes = []);
                    for (let t of a) e.nodes = e.nodes.concat(t);
                    return (
                      e.nodes.unshift(
                        { type: "word", value: "linear" },
                        this.cloneDiv(e.nodes)
                      ),
                      (e.value = "-webkit-gradient"),
                      !0
                    );
                  }
                  oldDirection(e) {
                    let t = this.cloneDiv(e[0]);
                    if ("to" !== e[0][0].value)
                      return e.unshift([
                        { type: "word", value: l.oldDirections.bottom },
                        t,
                      ]);
                    {
                      let n = [];
                      for (let t of e[0].slice(2))
                        "word" === t.type && n.push(t.value.toLowerCase());
                      n = n.join(" ");
                      let c = l.oldDirections[n] || n;
                      return (e[0] = [{ type: "word", value: c }, t]), e[0];
                    }
                  }
                  cloneDiv(e) {
                    for (let t of e)
                      if ("div" === t.type && "," === t.value) return t;
                    return { type: "div", value: ",", after: " " };
                  }
                  colorStops(e) {
                    let t = [];
                    for (let c = 0; c < e.length; c++) {
                      let a,
                        r,
                        o = e[c];
                      if (0 === c) continue;
                      let i,
                        l = n.stringify(o[0]);
                      o[1] && "word" === o[1].type
                        ? (a = o[1].value)
                        : o[2] && "word" === o[2].type && (a = o[2].value),
                        (i =
                          1 !== c || (a && "0%" !== a)
                            ? c !== e.length - 1 || (a && "100%" !== a)
                              ? a
                                ? `color-stop(${a}, ${l})`
                                : `color-stop(${l})`
                              : `to(${l})`
                            : `from(${l})`);
                      let s = o[o.length - 1];
                      (e[c] = [{ type: "word", value: i }]),
                        "div" === s.type &&
                          "," === s.value &&
                          (r = e[c].push(s)),
                        t.push(r);
                    }
                    return t;
                  }
                  old(e) {
                    if ("-webkit-" === e) {
                      let t =
                          "linear-gradient" === this.name ? "linear" : "radial",
                        n = "-gradient",
                        c = o.regexp(
                          `-webkit-(${t}-gradient|gradient\\(\\s*${t})`,
                          !1
                        );
                      return new a(this.name, e + this.name, n, c);
                    }
                    return super.old(e);
                  }
                  add(e, t) {
                    let n = e.prop;
                    if (n.includes("mask")) {
                      if ("-webkit-" === t || "-webkit- old" === t)
                        return super.add(e, t);
                    } else {
                      if (
                        "list-style" !== n &&
                        "list-style-image" !== n &&
                        "content" !== n
                      )
                        return super.add(e, t);
                      if ("-webkit-" === t || "-webkit- old" === t)
                        return super.add(e, t);
                    }
                  }
                };
              (l.names = [
                "linear-gradient",
                "repeating-linear-gradient",
                "radial-gradient",
                "repeating-radial-gradient",
              ]),
                (l.directions = {
                  top: "bottom",
                  left: "right",
                  bottom: "top",
                  right: "left",
                }),
                (l.oldDirections = {
                  top: "left bottom, left top",
                  left: "right top, left top",
                  bottom: "left top, left bottom",
                  right: "left top, right top",
                  "top right": "left bottom, right top",
                  "top left": "right bottom, left top",
                  "right top": "left bottom, right top",
                  "right bottom": "left top, right bottom",
                  "bottom right": "left top, right bottom",
                  "bottom left": "right top, left bottom",
                  "left top": "right bottom, left top",
                  "left bottom": "right top, left bottom",
                }),
                (t.exports = l);
            }),
            Is = h((e, t) => {
              g();
              var n = Cl(),
                c = Rl();
              function a(e) {
                return new RegExp(`(^|[\\s,(])(${e}($|[\\s),]))`, "gi");
              }
              var r = class extends c {
                regexp() {
                  return (
                    this.regexpCache || (this.regexpCache = a(this.name)),
                    this.regexpCache
                  );
                }
                isStretch() {
                  return (
                    "stretch" === this.name ||
                    "fill" === this.name ||
                    "fill-available" === this.name
                  );
                }
                replace(e, t) {
                  return "-moz-" === t && this.isStretch()
                    ? e.replace(this.regexp(), "$1-moz-available$3")
                    : "-webkit-" === t && this.isStretch()
                    ? e.replace(this.regexp(), "$1-webkit-fill-available$3")
                    : super.replace(e, t);
                }
                old(e) {
                  let t = e + this.name;
                  return (
                    this.isStretch() &&
                      ("-moz-" === e
                        ? (t = "-moz-available")
                        : "-webkit-" === e && (t = "-webkit-fill-available")),
                    new n(this.name, t, t, a(t))
                  );
                }
                add(e, t) {
                  if (!e.prop.includes("grid") || "-webkit-" === t)
                    return super.add(e, t);
                }
              };
              (r.names = [
                "max-content",
                "min-content",
                "fit-content",
                "fill",
                "fill-available",
                "stretch",
              ]),
                (t.exports = r);
            }),
            Ts = h((e, t) => {
              g();
              var n = Cl(),
                c = Rl(),
                a = class extends c {
                  replace(e, t) {
                    return "-webkit-" === t
                      ? e.replace(this.regexp(), "$1-webkit-optimize-contrast")
                      : "-moz-" === t
                      ? e.replace(this.regexp(), "$1-moz-crisp-edges")
                      : super.replace(e, t);
                  }
                  old(e) {
                    return "-webkit-" === e
                      ? new n(this.name, "-webkit-optimize-contrast")
                      : "-moz-" === e
                      ? new n(this.name, "-moz-crisp-edges")
                      : super.old(e);
                  }
                };
              (a.names = ["pixelated"]), (t.exports = a);
            }),
            As = h((e, t) => {
              g();
              var n = Rl(),
                c = class extends n {
                  replace(e, t) {
                    let n = super.replace(e, t);
                    return (
                      "-webkit-" === t &&
                        (n = n.replace(
                          /("[^"]+"|'[^']+')(\s+\d+\w)/gi,
                          "url($1)$2"
                        )),
                      n
                    );
                  }
                };
              (c.names = ["image-set"]), (t.exports = c);
            }),
            Bs = h((e, t) => {
              g();
              var n = $n().list,
                c = Rl(),
                a = class extends c {
                  replace(e, t) {
                    return n
                      .space(e)
                      .map((e) => {
                        if (
                          e.slice(0, +this.name.length + 1) !==
                          this.name + "("
                        )
                          return e;
                        let n = e.lastIndexOf(")"),
                          c = e.slice(n + 1),
                          a = e.slice(this.name.length + 1, n);
                        if ("-webkit-" === t) {
                          let e = a.match(/\d*.?\d+%?/);
                          e
                            ? ((a = a.slice(e[0].length).trim()),
                              (a += `, ${e[0]}`))
                            : (a += ", 0.5");
                        }
                        return t + this.name + "(" + a + ")" + c;
                      })
                      .join(" ");
                  }
                };
              (a.names = ["cross-fade"]), (t.exports = a);
            }),
            Ms = h((e, t) => {
              g();
              var n = zl(),
                c = Cl(),
                a = Rl(),
                r = class extends a {
                  constructor(e, t) {
                    super(e, t), "display-flex" === e && (this.name = "flex");
                  }
                  check(e) {
                    return "display" === e.prop && e.value === this.name;
                  }
                  prefixed(e) {
                    let t, c;
                    return (
                      ([t, e] = n(e)),
                      2009 === t
                        ? (c = "flex" === this.name ? "box" : "inline-box")
                        : 2012 === t
                        ? (c =
                            "flex" === this.name ? "flexbox" : "inline-flexbox")
                        : "final" === t && (c = this.name),
                      e + c
                    );
                  }
                  replace(e, t) {
                    return this.prefixed(t);
                  }
                  old(e) {
                    let t = this.prefixed(e);
                    if (t) return new c(this.name, t);
                  }
                };
              (r.names = ["display-flex", "inline-flex"]), (t.exports = r);
            }),
            js = h((e, t) => {
              g();
              var n = Rl(),
                c = class extends n {
                  constructor(e, t) {
                    super(e, t), "display-grid" === e && (this.name = "grid");
                  }
                  check(e) {
                    return "display" === e.prop && e.value === this.name;
                  }
                };
              (c.names = ["display-grid", "inline-grid"]), (t.exports = c);
            }),
            _s = h((e, t) => {
              g();
              var n = Rl(),
                c = class extends n {
                  constructor(e, t) {
                    super(e, t),
                      "filter-function" === e && (this.name = "filter");
                  }
                };
              (c.names = ["filter", "filter-function"]), (t.exports = c);
            }),
            zs = h((e, t) => {
              g();
              var n = dl(),
                c = hl(),
                a = vl(),
                r = kl(),
                o = $l(),
                i = El(),
                l = ul(),
                s = Tl(),
                p = Al(),
                u = Rl(),
                d = pl(),
                f = Bl(),
                h = Ml(),
                m = jl(),
                v = _l(),
                b = Fl(),
                x = Dl(),
                w = Pl(),
                y = Hl(),
                k = Xl(),
                C = Nl(),
                R = Ql(),
                O = Wl(),
                $ = Ul(),
                L = Kl(),
                S = ql(),
                E = Vl(),
                I = Gl(),
                T = Yl(),
                A = Zl(),
                B = Jl(),
                M = es(),
                j = ts(),
                _ = ns(),
                z = cs(),
                F = as(),
                D = rs(),
                P = os(),
                H = is(),
                X = ls(),
                N = ss(),
                Q = ps(),
                W = us(),
                U = ds(),
                K = fs(),
                q = hs(),
                V = ms(),
                G = vs(),
                Y = gs(),
                Z = bs(),
                J = xs(),
                ee = ws(),
                te = ys(),
                ne = ks(),
                ce = Cs(),
                ae = Rs(),
                re = Os(),
                oe = $s(),
                ie = Ls(),
                le = Es(),
                se = Is(),
                pe = Ts(),
                ue = As(),
                de = Bs(),
                fe = Ms(),
                he = js(),
                me = _s();
              s.hack(f),
                s.hack(h),
                s.hack(m),
                s.hack(v),
                c.hack(b),
                c.hack(x),
                c.hack(w),
                c.hack(y),
                c.hack(k),
                c.hack(C),
                c.hack(R),
                c.hack(O),
                c.hack($),
                c.hack(L),
                c.hack(S),
                c.hack(E),
                c.hack(I),
                c.hack(T),
                c.hack(A),
                c.hack(B),
                c.hack(M),
                c.hack(j),
                c.hack(_),
                c.hack(z),
                c.hack(F),
                c.hack(D),
                c.hack(P),
                c.hack(H),
                c.hack(X),
                c.hack(N),
                c.hack(Q),
                c.hack(W),
                c.hack(U),
                c.hack(K),
                c.hack(q),
                c.hack(V),
                c.hack(G),
                c.hack(Y),
                c.hack(Z),
                c.hack(J),
                c.hack(ee),
                c.hack(te),
                c.hack(ne),
                c.hack(ce),
                c.hack(ae),
                c.hack(re),
                c.hack(oe),
                c.hack(ie),
                u.hack(le),
                u.hack(se),
                u.hack(pe),
                u.hack(ue),
                u.hack(de),
                u.hack(fe),
                u.hack(he),
                u.hack(me);
              var ve = new Map(),
                ge = class {
                  constructor(e, t, n = {}) {
                    (this.data = e),
                      (this.browsers = t),
                      (this.options = n),
                      ([this.add, this.remove] = this.preprocess(
                        this.select(this.data)
                      )),
                      (this.transition = new r(this)),
                      (this.processor = new o(this));
                  }
                  cleaner() {
                    if (this.cleanerCache) return this.cleanerCache;
                    if (!this.browsers.selected.length) return this;
                    {
                      let e = new l(this.browsers.data, []);
                      this.cleanerCache = new ge(this.data, e, this.options);
                    }
                    return this.cleanerCache;
                  }
                  select(e) {
                    let t = { add: {}, remove: {} };
                    for (let n in e) {
                      let c = e[n],
                        a = c.browsers.map((e) => {
                          let t = e.split(" ");
                          return { browser: `${t[0]} ${t[1]}`, note: t[2] };
                        }),
                        r = a
                          .filter((e) => e.note)
                          .map(
                            (e) =>
                              `${this.browsers.prefix(e.browser)} ${e.note}`
                          );
                      (r = d.uniq(r)),
                        (a = a
                          .filter((e) => this.browsers.isSelected(e.browser))
                          .map((e) => {
                            let t = this.browsers.prefix(e.browser);
                            return e.note ? `${t} ${e.note}` : t;
                          })),
                        (a = this.sort(d.uniq(a))),
                        "no-2009" === this.options.flexbox &&
                          (a = a.filter((e) => !e.includes("2009")));
                      let o = c.browsers.map((e) => this.browsers.prefix(e));
                      c.mistakes && (o = o.concat(c.mistakes)),
                        (o = o.concat(r)),
                        (o = d.uniq(o)),
                        a.length
                          ? ((t.add[n] = a),
                            a.length < o.length &&
                              (t.remove[n] = o.filter((e) => !a.includes(e))))
                          : (t.remove[n] = o);
                    }
                    return t;
                  }
                  sort(e) {
                    return e.sort((e, t) => {
                      let n = d.removeNote(e).length,
                        c = d.removeNote(t).length;
                      return n === c ? t.length - e.length : c - n;
                    });
                  }
                  preprocess(e) {
                    let t = { selectors: [], "@supports": new i(ge, this) };
                    for (let n in e.add) {
                      let r = e.add[n];
                      if ("@keyframes" === n || "@viewport" === n)
                        t[n] = new p(n, r, this);
                      else if ("@resolution" === n) t[n] = new a(n, r, this);
                      else if (this.data[n].selector)
                        t.selectors.push(s.load(n, r, this));
                      else {
                        let e = this.data[n].props;
                        if (e) {
                          let c = u.load(n, r, this);
                          for (let n of e)
                            t[n] || (t[n] = { values: [] }),
                              t[n].values.push(c);
                        } else {
                          let e = (t[n] && t[n].values) || [];
                          (t[n] = c.load(n, r, this)), (t[n].values = e);
                        }
                      }
                    }
                    let n = { selectors: [] };
                    for (let c in e.remove) {
                      let r = e.remove[c];
                      if (this.data[c].selector) {
                        let e = s.load(c, r);
                        for (let t of r) n.selectors.push(e.old(t));
                      } else if ("@keyframes" === c || "@viewport" === c)
                        for (let e of r) {
                          n[`@${e}${c.slice(1)}`] = { remove: !0 };
                        }
                      else if ("@resolution" === c) n[c] = new a(c, r, this);
                      else {
                        let e = this.data[c].props;
                        if (e) {
                          let t = u.load(c, [], this);
                          for (let c of r) {
                            let a = t.old(c);
                            if (a)
                              for (let t of e)
                                n[t] || (n[t] = {}),
                                  n[t].values || (n[t].values = []),
                                  n[t].values.push(a);
                          }
                        } else
                          for (let e of r) {
                            let a = this.decl(c).old(c, e);
                            if ("align-self" === c) {
                              let n = t[c] && t[c].prefixes;
                              if (n) {
                                if (
                                  "-webkit- 2009" === e &&
                                  n.includes("-webkit-")
                                )
                                  continue;
                                if (
                                  "-webkit-" === e &&
                                  n.includes("-webkit- 2009")
                                )
                                  continue;
                              }
                            }
                            for (let e of a)
                              n[e] || (n[e] = {}), (n[e].remove = !0);
                          }
                      }
                    }
                    return [t, n];
                  }
                  decl(e) {
                    return ve.has(e) || ve.set(e, c.load(e)), ve.get(e);
                  }
                  unprefixed(e) {
                    let t = this.normalize(n.unprefixed(e));
                    return "flex-direction" === t && (t = "flex-flow"), t;
                  }
                  normalize(e) {
                    return this.decl(e).normalize(e);
                  }
                  prefixed(e, t) {
                    return (e = n.unprefixed(e)), this.decl(e).prefixed(e, t);
                  }
                  values(e, t) {
                    let n = this[e],
                      c = n["*"] && n["*"].values,
                      a = n[t] && n[t].values;
                    return c && a ? d.uniq(c.concat(a)) : c || a || [];
                  }
                  group(e) {
                    let t = e.parent,
                      n = t.index(e),
                      { length: c } = t.nodes,
                      a = this.unprefixed(e.prop),
                      r = (e, r) => {
                        for (n += e; n >= 0 && n < c; ) {
                          let c = t.nodes[n];
                          if ("decl" === c.type) {
                            if (
                              (-1 === e &&
                                c.prop === a &&
                                !l.withPrefix(c.value)) ||
                              this.unprefixed(c.prop) !== a
                            )
                              break;
                            if (!0 === r(c)) return !0;
                            if (
                              1 === e &&
                              c.prop === a &&
                              !l.withPrefix(c.value)
                            )
                              break;
                          }
                          n += e;
                        }
                        return !1;
                      };
                    return {
                      up(e) {
                        return r(-1, e);
                      },
                      down(e) {
                        return r(1, e);
                      },
                    };
                  }
                };
              t.exports = ge;
            }),
            Fs = h((e, t) => {
              g(),
                (t.exports = {
                  "backdrop-filter": {
                    feature: "css-backdrop-filter",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                      "safari 16.5",
                    ],
                  },
                  element: {
                    props: [
                      "background",
                      "background-image",
                      "border-image",
                      "mask",
                      "list-style",
                      "list-style-image",
                      "content",
                      "mask-image",
                    ],
                    feature: "css-element-function",
                    browsers: ["firefox 114"],
                  },
                  "user-select": {
                    mistakes: ["-khtml-"],
                    feature: "user-select-none",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                      "safari 16.5",
                    ],
                  },
                  "background-clip": {
                    feature: "background-clip-text",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  hyphens: {
                    feature: "css-hyphens",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                      "safari 16.5",
                    ],
                  },
                  fill: {
                    props: [
                      "width",
                      "min-width",
                      "max-width",
                      "height",
                      "min-height",
                      "max-height",
                      "inline-size",
                      "min-inline-size",
                      "max-inline-size",
                      "block-size",
                      "min-block-size",
                      "max-block-size",
                      "grid",
                      "grid-template",
                      "grid-template-rows",
                      "grid-template-columns",
                      "grid-auto-columns",
                      "grid-auto-rows",
                    ],
                    feature: "intrinsic-width",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "fill-available": {
                    props: [
                      "width",
                      "min-width",
                      "max-width",
                      "height",
                      "min-height",
                      "max-height",
                      "inline-size",
                      "min-inline-size",
                      "max-inline-size",
                      "block-size",
                      "min-block-size",
                      "max-block-size",
                      "grid",
                      "grid-template",
                      "grid-template-rows",
                      "grid-template-columns",
                      "grid-auto-columns",
                      "grid-auto-rows",
                    ],
                    feature: "intrinsic-width",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  stretch: {
                    props: [
                      "width",
                      "min-width",
                      "max-width",
                      "height",
                      "min-height",
                      "max-height",
                      "inline-size",
                      "min-inline-size",
                      "max-inline-size",
                      "block-size",
                      "min-block-size",
                      "max-block-size",
                      "grid",
                      "grid-template",
                      "grid-template-rows",
                      "grid-template-columns",
                      "grid-auto-columns",
                      "grid-auto-rows",
                    ],
                    feature: "intrinsic-width",
                    browsers: ["firefox 114"],
                  },
                  "fit-content": {
                    props: [
                      "width",
                      "min-width",
                      "max-width",
                      "height",
                      "min-height",
                      "max-height",
                      "inline-size",
                      "min-inline-size",
                      "max-inline-size",
                      "block-size",
                      "min-block-size",
                      "max-block-size",
                      "grid",
                      "grid-template",
                      "grid-template-rows",
                      "grid-template-columns",
                      "grid-auto-columns",
                      "grid-auto-rows",
                    ],
                    feature: "intrinsic-width",
                    browsers: ["firefox 114"],
                  },
                  "text-decoration-style": {
                    feature: "text-decoration",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "text-decoration-color": {
                    feature: "text-decoration",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "text-decoration-line": {
                    feature: "text-decoration",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "text-decoration": {
                    feature: "text-decoration",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "text-decoration-skip": {
                    feature: "text-decoration",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "text-decoration-skip-ink": {
                    feature: "text-decoration",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "text-size-adjust": {
                    feature: "text-size-adjust",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                    ],
                  },
                  "mask-clip": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-composite": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-image": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-origin": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-repeat": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-border-repeat": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-border-source": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  mask: {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-position": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-size": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-border": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-border-outset": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-border-width": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "mask-border-slice": {
                    feature: "css-masks",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  "clip-path": {
                    feature: "css-clip-path",
                    browsers: ["samsung 21"],
                  },
                  "box-decoration-break": {
                    feature: "css-boxdecorationbreak",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                      "opera 99",
                      "safari 16.5",
                      "samsung 21",
                    ],
                  },
                  appearance: {
                    feature: "css-appearance",
                    browsers: ["samsung 21"],
                  },
                  "image-set": {
                    props: [
                      "background",
                      "background-image",
                      "border-image",
                      "cursor",
                      "mask",
                      "mask-image",
                      "list-style",
                      "list-style-image",
                      "content",
                    ],
                    feature: "css-image-set",
                    browsers: ["and_uc 15.5", "chrome 109", "samsung 21"],
                  },
                  "cross-fade": {
                    props: [
                      "background",
                      "background-image",
                      "border-image",
                      "mask",
                      "list-style",
                      "list-style-image",
                      "content",
                      "mask-image",
                    ],
                    feature: "css-cross-fade",
                    browsers: [
                      "and_chr 114",
                      "and_uc 15.5",
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                      "samsung 21",
                    ],
                  },
                  isolate: {
                    props: ["unicode-bidi"],
                    feature: "css-unicode-bidi",
                    browsers: [
                      "ios_saf 16.1",
                      "ios_saf 16.3",
                      "ios_saf 16.4",
                      "ios_saf 16.5",
                      "safari 16.5",
                    ],
                  },
                  "color-adjust": {
                    feature: "css-color-adjust",
                    browsers: [
                      "chrome 109",
                      "chrome 113",
                      "chrome 114",
                      "edge 114",
                      "opera 99",
                    ],
                  },
                });
            }),
            Ds = h((e, t) => {
              g(), (t.exports = {});
            }),
            Ps = h((t, n) => {
              g();
              var c = al(),
                { agents: a } = (ll(), rl),
                r = sl(),
                o = ul(),
                i = zs(),
                l = Fs(),
                s = Ds(),
                p = { browsers: a, prefixes: l },
                u =
                  "\n  Replace Autoprefixer `browsers` option to Browserslist config.\n  Use `browserslist` key in `package.json` or `.browserslistrc` file.\n\n  Using `browsers` option can cause errors. Browserslist config can\n  be used for Babel, Autoprefixer, postcss-normalize and other tools.\n\n  If you really need to use option, rename it to `overrideBrowserslist`.\n\n  Learn more at:\n  https://github.com/browserslist/browserslist#readme\n  https://twitter.com/browserslist\n\n";
              var d = new Map();
              function f(...t) {
                let n;
                if (
                  (1 === t.length &&
                  (function (e) {
                    return (
                      "[object Object]" === Object.prototype.toString.apply(e)
                    );
                  })(t[0])
                    ? ((n = t[0]), (t = void 0))
                    : 0 === t.length || (1 === t.length && !t[0])
                    ? (t = void 0)
                    : t.length <= 2 && (Array.isArray(t[0]) || !t[0])
                    ? ((n = t[1]), (t = t[0]))
                    : "object" == typeof t[t.length - 1] && (n = t.pop()),
                  n || (n = {}),
                  n.browser)
                )
                  throw new Error(
                    "Change `browser` option to `overrideBrowserslist` in Autoprefixer"
                  );
                if (n.browserslist)
                  throw new Error(
                    "Change `browserslist` option to `overrideBrowserslist` in Autoprefixer"
                  );
                n.overrideBrowserslist
                  ? (t = n.overrideBrowserslist)
                  : n.browsers &&
                    ("undefined" != typeof console &&
                      console.warn &&
                      (r.red
                        ? console.warn(
                            r.red(
                              u.replace(/`[^`]+`/g, (e) =>
                                r.yellow(e.slice(1, -1))
                              )
                            )
                          )
                        : console.warn(u)),
                    (t = n.browsers));
                let c = {
                  ignoreUnknownVersions: n.ignoreUnknownVersions,
                  stats: n.stats,
                  env: n.env,
                };
                function a(e) {
                  let a = p,
                    r = new o(a.browsers, t, e, c),
                    l = r.selected.join(", ") + JSON.stringify(n);
                  return (
                    d.has(l) || d.set(l, new i(a.prefixes, r, n)), d.get(l)
                  );
                }
                return {
                  postcssPlugin: "autoprefixer",
                  prepare(e) {
                    let t = a({ from: e.opts.from, env: n.env });
                    return {
                      OnceExit(c) {
                        (function (e, t) {
                          0 !== t.browsers.selected.length &&
                            (t.add.selectors.length > 0 ||
                              Object.keys(t.add).length > 2 ||
                              e.warn(
                                "Autoprefixer target browsers do not need any prefixes.You do not need Autoprefixer anymore.\nCheck your Browserslist config to be sure that your targets are set up correctly.\n\n  Learn more at:\n  https://github.com/postcss/autoprefixer#readme\n  https://github.com/browserslist/browserslist#readme\n\n"
                              ));
                        })(e, t),
                          !1 !== n.remove && t.processor.remove(c, e),
                          !1 !== n.add && t.processor.add(c, e);
                      },
                    };
                  },
                  info(t) {
                    return ((t = t || {}).from = t.from || e.cwd()), s(a(t));
                  },
                  options: n,
                  browsers: t,
                };
              }
              (n.exports = f),
                (f.postcss = !0),
                (f.data = p),
                (f.defaults = c.defaults),
                (f.info = () => f().info());
            }),
            Hs = {};
          m(Hs, { default: () => Xs });
          var Xs,
            Ns = f(() => {
              g(), (Xs = []);
            }),
            Qs = {};
          m(Qs, { default: () => Us });
          var Ws,
            Us,
            Ks = f(() => {
              g(), J(), (Ws = v(It())), (Us = Z(Ws.default.theme));
            }),
            qs = {};
          m(qs, { default: () => Gs });
          var Vs,
            Gs,
            Ys = f(() => {
              g(), J(), (Vs = v(It())), (Gs = Z(Vs.default));
            });
          g();
          var Zs = ip(cl()),
            Js = ip($n()),
            ep = ip(Ps()),
            tp = ip((Ns(), Hs)),
            np = ip((Ks(), Qs)),
            cp = ip((Ys(), qs)),
            ap = ip((D(), _)),
            rp = ip((no(), eo)),
            op = ip((_t(), Mt));
          function ip(e) {
            return e && e.__esModule ? e : { default: e };
          }
          console.warn(
            "cdn.tailwindcss.com should not be used in production. To use Tailwind CSS in production, install it as a PostCSS plugin or use the Tailwind CLI: https://tailwindcss.com/docs/installation"
          );
          var lp,
            sp,
            pp = "tailwind",
            up = "text/tailwindcss",
            dp = "/template.html",
            fp = !0,
            hp = 0,
            mp = new Set(),
            vp = "",
            gp = (e = !1) => ({
              get(t, n) {
                return (e && "config" !== n) ||
                  "object" != typeof t[n] ||
                  null === t[n]
                  ? t[n]
                  : new Proxy(t[n], gp());
              },
              set(t, n, c) {
                return (t[n] = c), (!e || "config" === n) && xp(!0), !0;
              },
            });
          function bp(e) {
            sp.observe(e, {
              attributes: !0,
              attributeFilter: ["type"],
              characterData: !0,
              subtree: !0,
              childList: !0,
            });
          }
          async function xp(e = !1) {
            e && (hp++, mp.clear());
            let t = "";
            for (let e of document.querySelectorAll(`style[type="${up}"]`))
              t += e.textContent;
            let n = new Set();
            for (let e of document.querySelectorAll("[class]"))
              for (let t of e.classList) mp.has(t) || n.add(t);
            if (
              document.body &&
              (fp || n.size > 0 || t !== vp || !lp || !lp.isConnected)
            ) {
              for (let e of n) mp.add(e);
              (fp = !1), (vp = t), (self[dp] = Array.from(n).join(" "));
              let { css: e } = await (0, Js.default)([
                (0, Zs.default)({
                  ...window[pp].config,
                  _hash: hp,
                  content: [dp],
                  plugins: [
                    ...tp.default,
                    ...(Array.isArray(window[pp].config.plugins)
                      ? window[pp].config.plugins
                      : []),
                  ],
                }),
                (0, ep.default)({ remove: !1 }),
              ]).process(
                `@tailwind base;@tailwind components;@tailwind utilities;${t}`
              );
              (!lp || !lp.isConnected) &&
                ((lp = document.createElement("style")),
                document.head.append(lp)),
                (lp.textContent = e);
            }
          }
          (window[pp] = new Proxy(
            {
              config: {},
              defaultTheme: np.default,
              defaultConfig: cp.default,
              colors: ap.default,
              plugin: rp.default,
              resolveConfig: op.default,
            },
            gp(!0)
          )),
            new MutationObserver(async (e) => {
              let t = !1;
              if (!sp) {
                sp = new MutationObserver(async () => await xp(!0));
                for (let e of document.querySelectorAll(`style[type="${up}"]`))
                  bp(e);
              }
              for (let n of e)
                for (let e of n.addedNodes)
                  1 === e.nodeType &&
                    "STYLE" === e.tagName &&
                    e.getAttribute("type") === up &&
                    (bp(e), (t = !0));
              await xp(t);
            }).observe(document.documentElement, {
              attributes: !0,
              attributeFilter: ["class"],
              childList: !0,
              subtree: !0,
            });
        })();
    },
    4015: function (e, t, n) {
      var c = n(3530);
      c.__esModule && (c = c.default),
        "string" == typeof c && (c = [[e.id, c, ""]]),
        c.locals && (e.exports = c.locals);
      var a = (0, n(534).A)("4ec332ee", c, !1, {});
      c.locals ||
        e.hot.accept(3530, function () {
          var t = n(3530);
          t.__esModule && (t = t.default),
            "string" == typeof t && (t = [[e.id, t, ""]]),
            a(t);
        }),
        e.hot.dispose(function () {
          a();
        });
    },
    4144: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    5175: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    5408: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    5810: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    6053: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    6360: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    6393: function (e, t, n) {
      "use strict";
      var c = n(1575);
      n(3786);
      var a = {
          __name: "App",
          setup(e) {
            return (
              (tailwind.config = {
                prefix: "ncpc-",
                corePlugins: { preflight: !1 },
                content: ["./**/*.{vue,js}"],
                theme: {
                  extend: {
                    keyframes: {
                      slideToleft: {
                        from: { transform: "translateX(20%)" },
                        to: { transform: "translateX(0)" },
                      },
                      slideDown: {
                        from: { transform: "translateY(-20%)" },
                        to: { transform: "translateY(0)" },
                      },
                      slideUp: {
                        from: { transform: "translateY(0)" },
                        to: { transform: "translateY(-150%)" },
                      },
                    },
                    animation: {
                      slideToleft: "slideToleft 0.5s ease",
                      slideDown: "slideDown 0.5s ease",
                      slideUp: "slideUp 0.5s ease",
                    },
                  },
                },
              }),
              (e, t) => {
                const n = (0, c.g2)("router-view");
                return (0, c.uX)(), (0, c.Wv)(n);
              }
            );
          },
        },
        r = n(1807),
        o =
          (n(7840),
          n(4114),
          n(8111),
          n(2489),
          n(116),
          n(7588),
          n(1701),
          n(8237),
          n(3579),
          n(7642),
          n(8004),
          n(3853),
          n(5876),
          n(2475),
          n(5024),
          n(1698),
          n(4603),
          n(7566),
          n(8721),
          n(9225)),
        i = (n(1148), n(1083)),
        l = n(4705);
      class s {
        constructor(e) {
          (0, l.A)(this, "fontSize", void 0),
            (0, l.A)(this, "lines", void 0),
            (0, l.A)(this, "lineHeight", void 0),
            (0, l.A)(this, "maxWidth", void 0),
            (0, l.A)(this, "maxHeight", void 0),
            (0, l.A)(this, "lineMetrics", []),
            (0, l.A)(this, "totalHeight", 0),
            (0, l.A)(this, "totalWidth", 0),
            (this.fontSize = e.fontSize || 16),
            (this.lines = e.lines),
            (this.maxWidth = e.maxWidth),
            (this.maxHeight = e.maxHeight),
            (this.lineHeight = this.calculateLineHeight());
        }
        calculateLineHeight() {
          return this.lines.reduce(
            (e, t) =>
              Math.max(
                e,
                t.reduce((e, t) => {
                  if ("text" === t.type) {
                    let n = t.font?.lineHeight || 1.2;
                    return Math.max(e, n);
                  }
                  return "svg" === t.type ? Math.max(e, t.height || 0) : e;
                }, 0)
              ),
            0
          );
        }
        measureSpace(e, t) {
          let n = 0,
            c = 0;
          if (t.startsWith(" ") || t.endsWith(" ")) {
            let a = t.match(/^\s*/)[0].length,
              r = t.match(/\s*$/)[0].length;
            (n = e.measureText(" ").width * a),
              (c = e.measureText(" ").width * r);
          }
          return [n, c];
        }
        async getLineMetrics(e) {
          const t = document.createElement("canvas").getContext("2d");
          return Promise.all(
            this.lines.map(async (n) =>
              Promise.all(
                n.map(async (n) => {
                  if ("text" === n.type) {
                    t.font = `${e}px '${
                      n.font?.fontFaceFamily || "sans-serif"
                    }'`;
                    const [c, a] = this.measureSpace(t, n.text);
                    return {
                      width: t.measureText(n.text.trim()).width + c + a,
                      height: e,
                    };
                  }
                  if ("image" === n.type && n.text) {
                    const t = await u(n.text, e);
                    return { width: t.width, height: t.height };
                  }
                  return { width: 0, height: 0 };
                })
              )
            )
          );
        }
        async calculatePosition(e) {
          const t = await this.getLineMetrics(e),
            n = [];
          for (let e = 0; e < this.lines.length; e++) {
            const c = t[e];
            let a = 0,
              r = 0;
            for (let e = 0; e < c.length; e++)
              (a += c[e].width), (r = Math.max(r, c[e].height));
            n.push({ width: a, height: r });
          }
          (this.totalWidth = Math.max(...n.map((e) => e.width), 0)),
            (this.totalHeight = n.reduce((e, t) => e + t.height, 0)),
            (this.lineMetrics = n);
        }
        async adjustHeightToFitWidth() {
          if (!this.maxWidth) throw new Error("maxWidth doit être défini.");
          await this.calculatePosition(this.fontSize);
          const e = (this.maxWidth / this.totalWidth) * this.fontSize;
          return (
            (this.fontSize = e),
            await this.calculatePosition(e),
            { totalWidth: this.maxWidth, totalHeight: this.totalHeight }
          );
        }
        async adjustWidthToFitHeight() {
          if (!this.maxHeight) throw new Error("maxHeight doit être défini.");
          await this.calculatePosition(this.fontSize);
          const e = (this.maxHeight / this.totalHeight) * this.fontSize;
          return (
            (this.fontSize = e),
            await this.calculatePosition(e),
            { totalWidth: this.totalWidth, totalHeight: this.maxHeight }
          );
        }
      }
      class p {
        constructor(e) {
          (0, l.A)(this, "lines", void 0),
            (0, l.A)(this, "lineHeight", void 0),
            (0, l.A)(this, "totalHeight", 0),
            (0, l.A)(this, "totalWidth", 0),
            (this.lines = e),
            (this.maxLineWidth = 0),
            (this.linesHeight = 0),
            (this.lineHeight = this.lines.reduce(
              (e, t) =>
                Math.max(
                  e,
                  t.reduce((e, t) => {
                    if ("text" === t.type) {
                      let n = t.font?.lineHeight || 1.2;
                      return Math.max(e, n);
                    }
                    return e;
                  }, 0)
                ),
              0
            ));
        }
        async getDimensions() {
          let e = 0,
            t = 0,
            n = 0;
          for (; n < this.lines.length; ) {
            let c = 0,
              a = 0,
              r = 0,
              o = 0,
              i = 0;
            this.lines[n].forEach((e) => {
              if ("text" == e.type) {
                const t = new f(e).measureText();
                t.height > a && (r = t.fontSize),
                  (c += t.width),
                  (o = Math.max(o, t.ascent)),
                  (i = Math.max(i, t.descent));
              }
            });
            let l = 0;
            for (; l < this.lines[n].length; ) {
              let e = this.lines[n][l];
              if ("image" == e.type) {
                const t = await u(e.text, Math.max(e.minHeight, r)),
                  n = {
                    width: t.width,
                    ascent: t.height,
                    descent: 0,
                    height: t.height,
                  };
                (c += n.width),
                  (o = Math.max(o, n.ascent)),
                  (i = Math.max(i, n.descent));
              }
              l++;
            }
            (e = Math.max(e, c)),
              (t += o + i),
              n > 0 && (t += this.lineHeight * r),
              n++;
          }
          return {
            totalHeight: isNaN(t) ? 0 : t,
            totalWidth: isNaN(e) ? 0 : e,
          };
        }
      }
      async function u(e, t) {
        return new Promise((n, c) => {
          const a = new Image();
          (a.onload = () => {
            const e = a.width / a.height;
            n({ width: t * e, height: t });
          }),
            (a.onerror = c),
            (a.src = e);
        });
      }
      function d(e) {
        return !/[.'"`,_\-^~]/.test(e) && " " !== e;
      }
      class f {
        constructor(e) {
          (this.ctx = document.createElement("canvas").getContext("2d")),
            (this.text = e.text),
            "text" == e.type
              ? (e.text.toLowerCase() === e.text
                  ? (this.minHeight = this.cmToPx(e.font.smallLetter))
                  : e.text.toUpperCase() === e.text
                  ? (this.minHeight = this.cmToPx(e.font.uppercaseLetter))
                  : (this.minHeight = this.cmToPx(e.font.smallLetter)),
                (this.fontFamily = e.font.fontFaceFamily))
              : (this.minHeight = this.cmToPx(e.minHeight)),
            (this.defaultFontSize = 16);
        }
        cmToPx(e, t = 96) {
          return (e / 2.54) * t;
        }
        measureCharacterHeight(e, t) {
          this.ctx.font = `${t}px ${this.fontFamily}`;
          const n = this.ctx.measureText(e);
          return n.actualBoundingBoxDescent + n.actualBoundingBoxAscent;
        }
        findMinCharacterHeight() {
          let e = 1 / 0,
            t = "";
          for (const n of this.text)
            if (d(n)) {
              const c = this.measureCharacterHeight(n, this.defaultFontSize);
              c < e && ((e = c), (t = n));
            }
          return { minChar: t, minCharHeight: e };
        }
        measureText() {
          const { minChar: e, minCharHeight: t } =
              this.findMinCharacterHeight(),
            n = (this.minHeight / t) * this.defaultFontSize;
          this.ctx.font = `${n}px ${this.fontFamily}`;
          const c = this.ctx.measureText(this.text),
            a = c.width,
            r = c.actualBoundingBoxAscent + c.actualBoundingBoxDescent;
          return {
            fontSize: n,
            width: isNaN(a) ? 0 : a,
            ascent: c.actualBoundingBoxAscent,
            descent: c.actualBoundingBoxDescent,
            height: isNaN(r) ? 0 : r,
          };
        }
      }
      function h(e, t = 96) {
        return e / t;
      }
      function m(e, t = 96) {
        return (2.54 * e) / t;
      }
      function v(e) {
        return parseFloat(e / 2.54).toFixed(2);
      }
      function g(e, t = 96) {
        return (e / 2.54) * t;
      }
      async function b(e, t, n = {}) {
        if (
          ((e = (function (e) {
            const t = [];
            return (
              e.forEach((e, n) => {
                t[n] = [];
                const c = new Map();
                e.forEach((e) => {
                  if ("text" == e.type) {
                    const t = e.font.fontFaceFamily;
                    c.has(t) ? (c.get(t).text += e.text) : c.set(t, { ...e });
                  }
                }),
                  c.forEach((e) => t[n].push(e)),
                  e.forEach((e) => {
                    "image" == e.type &&
                      t[n].push({ ...e, minHeight: g(e.minHeight) });
                  });
              }),
              t
            );
          })(e)),
          "fixed-height" == t)
        ) {
          const t = new s({ lines: e, maxHeight: g(n.maxHeight), maxWidth: 0 }),
            c = await t.adjustWidthToFitHeight();
          return {
            cm: { width: m(c.totalWidth), height: m(c.totalHeight) },
            in: { width: h(c.totalWidth), height: h(c.totalHeight) },
          };
        }
        if ("fixed-width" == t) {
          const t = new s({ lines: e, maxWidth: g(n.maxWidth), maxHeight: 0 }),
            c = await t.adjustHeightToFitWidth();
          return {
            cm: { width: m(c.totalWidth), height: m(c.totalHeight) },
            in: { width: h(c.totalWidth), height: h(c.totalHeight) },
          };
        }
        {
          const t = new p(e),
            n = await t.getDimensions();
          return {
            cm: { width: m(n.totalWidth), height: m(n.totalHeight) },
            in: { width: h(n.totalWidth), height: h(n.totalHeight) },
          };
        }
      }
      function x(e) {
        return e.every(
          (e) => e.length > 0 && e.every((e) => "image" === e.type)
        );
      }
      const w = (e, t, n, c = {}) => {
          let a = 0;
          if (x(e)) {
            var r = e.map((e) =>
              e
                .map((e) => {
                  if ("image" == e.type) return e.value;
                })
                .join("")
            );
            null != c.prices[n.id] &&
              c.prices[n.id].forEach((e, t) => {
                null != r[t] &&
                  ((a += e.basicPrice),
                  null != e.nbCharStartPrice
                    ? r[t].length > e.nbCharStartPrice &&
                      (a += e.letterPrice * (r[t].length - e.nbCharStartPrice))
                    : (a += e.letterPrice * r[t].length));
              });
          } else {
            var o = e.map((e) =>
              e
                .map((e) => {
                  if ("text" == e.type) return e.value;
                })
                .join("")
            );
            null != t.prices[n.id] &&
              t.prices[n.id].forEach((e, t) => {
                null != o[t] &&
                  ((a += e.basicPrice),
                  null != e.nbCharStartPrice
                    ? o[t].length > e.nbCharStartPrice &&
                      (a += e.letterPrice * (o[t].length - e.nbCharStartPrice))
                    : (a += e.letterPrice * o[t].length));
              }),
              o.forEach((t) => {
                t.length &&
                  e.map((e) => {
                    e.forEach((e) => {
                      "image" == e.type &&
                        e.basePrice &&
                        (a += Number(e.basePrice));
                    });
                  });
              });
          }
          return a;
        },
        y = (e, t, n, c, a = {}, r = "cm") => {
          var o = 0,
            i = "",
            l = 0;
          const s = x(e);
          e.forEach((e) => {
            e.forEach((e) => {
              "text" == e.type ? (i += e.value.trim()) : (l += 1);
            });
          });
          var p = Math.max(n, t),
            u = 0;
          return (
            s
              ? "per-meter" == a.letterPricingMethod
                ? (o =
                    "width" == a.priceMeter.measurementSide
                      ? "char" == a.priceMeter.signPart
                        ? (i.length * a.priceMeter.price * t) /
                          (100 * a.priceMeter.meter)
                        : (a.priceMeter.price * t) / (100 * a.priceMeter.meter)
                      : "height" == a.priceMeter.measurementSide
                      ? "char" == a.priceMeter.signPart
                        ? (i.length * a.priceMeter.price * n) /
                          (100 * a.priceMeter.meter)
                        : (a.priceMeter.price * n) / (100 * a.priceMeter.meter)
                      : "char" == a.priceMeter.signPart
                      ? (i.length * a.priceMeter.price * p) /
                        (100 * a.priceMeter.meter)
                      : (a.priceMeter.price * p) / (100 * a.priceMeter.meter))
                : a.prices &&
                  ("per-letter" != c.letterPricingMethod &&
                    ("surface" == c.signPartForMaterialCost
                      ? (p = Math.max(n, t))
                      : "width" == c.signPartForMaterialCost
                      ? (p = t)
                      : "height" == c.signPartForMaterialCost && (p = n)),
                  "in" == r && (p = v(p)),
                  a.prices.forEach((e, r) => {
                    var i = 0;
                    if ("per-weight" == c.shippingMethod) {
                      const a =
                        ((t + e.widthModifier) *
                          (n + e.heightModifier) *
                          e.length) /
                        c.divisorVolumetric;
                      i = e.pricePerSqCm * a;
                    } else i = e.pricePerSqCm * (t * n);
                    u < p && p <= e.maxSizeRange
                      ? (null != a.letterPricingMethod &&
                          ("per-letter" == a.letterPricingMethod
                            ? (o = l * e.pricePerLetter + e.startPrice)
                            : "material-cost" == a.letterPricingMethod
                            ? "surface" == c.signPartForMaterialCost
                              ? (o =
                                  t * n * e.pricePerMaterialCost + e.startPrice)
                              : "width" == c.signPartForMaterialCost
                              ? (o = t * e.pricePerMaterialCost + e.startPrice)
                              : "height" == c.signPartForMaterialCost &&
                                (o = n * e.pricePerMaterialCost + e.startPrice)
                            : "both" == a.letterPricingMethod &&
                              ((o = l * e.pricePerLetter + e.startPrice),
                              "surface" == c.signPartForMaterialCost
                                ? (o = t * n * e.pricePerMaterialCost)
                                : "width" == c.signPartForMaterialCost
                                ? (o =
                                    t * e.pricePerMaterialCost + e.startPrice)
                                : "height" == c.signPartForMaterialCost &&
                                  (o =
                                    n * e.pricePerMaterialCost +
                                    e.startPrice))),
                        (u = e.maxSizeRange))
                      : p >= e.maxSizeRange &&
                        r == a.prices.length - 1 &&
                        null != a.letterPricingMethod &&
                        ("per-letter" == a.letterPricingMethod
                          ? (o = l * e.pricePerLetter + e.startPrice)
                          : "material-cost" == a.letterPricingMethod
                          ? "surface" == c.signPartForMaterialCost
                            ? (o =
                                t * n * e.pricePerMaterialCost + e.startPrice)
                            : "width" == c.signPartForMaterialCost
                            ? (o = t * e.pricePerMaterialCost + e.startPrice)
                            : "height" == c.signPartForMaterialCost &&
                              (o = n * e.pricePerMaterialCost + e.startPrice)
                          : "both" == a.letterPricingMethod &&
                            ((o = l * e.pricePerLetter + e.startPrice),
                            "surface" == c.signPartForMaterialCost
                              ? (o = t * n * e.pricePerMaterialCost)
                              : "width" == c.signPartForMaterialCost
                              ? (o = t * e.pricePerMaterialCost)
                              : "height" == c.signPartForMaterialCost &&
                                (o = n * e.pricePerMaterialCost))),
                      (o += i);
                  }))
              : ("per-meter" == c.letterPricingMethod
                  ? (o =
                      "width" == c.priceMeter.measurementSide
                        ? "char" == c.priceMeter.signPart
                          ? (i.length * c.priceMeter.price * t) /
                            (100 * c.priceMeter.meter)
                          : (c.priceMeter.price * t) /
                            (100 * c.priceMeter.meter)
                        : "height" == c.priceMeter.measurementSide
                        ? "char" == c.priceMeter.signPart
                          ? (i.length * c.priceMeter.price * n) /
                            (100 * c.priceMeter.meter)
                          : (c.priceMeter.price * n) /
                            (100 * c.priceMeter.meter)
                        : "char" == c.priceMeter.signPart
                        ? (i.length * c.priceMeter.price * p) /
                          (100 * c.priceMeter.meter)
                        : (c.priceMeter.price * p) / (100 * c.priceMeter.meter))
                  : c.prices &&
                    ("per-letter" != c.letterPricingMethod &&
                      ("surface" == c.signPartForMaterialCost
                        ? (p = Math.max(n, t))
                        : "width" == c.signPartForMaterialCost
                        ? (p = t)
                        : "height" == c.signPartForMaterialCost && (p = n)),
                    "in" == r && (p = v(p)),
                    c.prices.forEach((e, a) => {
                      var r = 0;
                      if ("per-weight" == c.shippingMethod) {
                        const a =
                          ((t + e.widthModifier) *
                            (n + e.heightModifier) *
                            e.length) /
                          c.divisorVolumetric;
                        r = e.pricePerSqCm * a;
                      } else r = e.pricePerSqCm * (t * n);
                      u < p && p <= e.maxSizeRange
                        ? (null != c.letterPricingMethod &&
                            ("per-letter" == c.letterPricingMethod
                              ? (o = i.length * e.pricePerLetter + e.startPrice)
                              : "material-cost" == c.letterPricingMethod
                              ? "surface" == c.signPartForMaterialCost
                                ? (o =
                                    t * n * e.pricePerMaterialCost +
                                    e.startPrice)
                                : "width" == c.signPartForMaterialCost
                                ? (o =
                                    t * e.pricePerMaterialCost + e.startPrice)
                                : "height" == c.signPartForMaterialCost &&
                                  (o =
                                    n * e.pricePerMaterialCost + e.startPrice)
                              : "both" == c.letterPricingMethod &&
                                ((o =
                                  i.length * e.pricePerLetter + e.startPrice),
                                "surface" == c.signPartForMaterialCost
                                  ? (o +=
                                      t * n * e.pricePerMaterialCost +
                                      e.startPrice)
                                  : "width" == c.signPartForMaterialCost
                                  ? (o +=
                                      t * e.pricePerMaterialCost + e.startPrice)
                                  : "height" == c.signPartForMaterialCost &&
                                    (o +=
                                      n * e.pricePerMaterialCost +
                                      e.startPrice))),
                          (u = e.maxSizeRange))
                        : p >= e.maxSizeRange &&
                          a == c.prices.length - 1 &&
                          null != c.letterPricingMethod &&
                          ("per-letter" == c.letterPricingMethod
                            ? (o = i.length * e.pricePerLetter + e.startPrice)
                            : "material-cost" == c.letterPricingMethod
                            ? (o =
                                t * n * e.pricePerMaterialCost + e.startPrice)
                            : "both" == c.letterPricingMethod &&
                              ((o = i.length * e.pricePerLetter + e.startPrice),
                              "surface" == c.signPartForMaterialCost
                                ? (o += t * n * e.pricePerMaterialCost)
                                : "width" == c.signPartForMaterialCost
                                ? (o += t * e.pricePerMaterialCost)
                                : "height" == c.signPartForMaterialCost &&
                                  (o += n * e.pricePerMaterialCost))),
                        (o += r);
                    })),
                e.forEach((e) => {
                  e.forEach((e) => {
                    "image" == e.type &&
                      e.basePrice &&
                      (o += Number(e.basePrice));
                  });
                })),
            o
          );
        },
        k = (e, t, n, c, a, r) => {
          let o = parseFloat(e).toFixed(n);
          switch (r) {
            case "left":
              o = t + o;
              break;
            case "right":
              o += t;
              break;
            case "left_space":
              o = t + " " + o;
              break;
            case "right_space":
              o = o + " " + t;
          }
          return (
            (o = o.replace(".", c)),
            (o = o.replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1" + a)),
            o
          );
        };
      async function C(e, t, n, c) {
        try {
          const a = await i.A.post(
            e,
            {
              action: "ncpc_add_custom_design_to_cart",
              data: t,
              redirectToCheckOut: c,
              nonce: n,
            },
            { headers: { "Content-Type": "multipart/form-data" } }
          );
          return (
            a.data.cart_item_key && (window.location.href = a.data.url), a.data
          );
        } catch (e) {
          console.error("Erreur :", e);
        }
      }
      async function R(e) {
        const t = i.A.create({
          baseURL: ncpcData.wpApiSettings.root + "ncpc/v2",
          headers: {
            "Cache-Control": "no-cache, no-store, must-revalidate",
            Pragma: "no-cache",
            Expires: "0",
            "X-WP-Nonce": ncpcData.wpApiSettings.nonce,
            "X-WP-Cache-Control": "no-cache",
          },
        });
        return (await t.post("/request-quotes", e)).data;
      }
      function O(e) {
        const t = new FormData();
        return (
          (function e(n, c) {
            !n || "object" != typeof n || n instanceof File
              ? Array.isArray(n)
                ? n.forEach((t, n) => {
                    e(t, `${c}[${n}]`);
                  })
                : n instanceof File
                ? t.append(c, n, n.name)
                : null != n && t.append(c, n)
              : Object.keys(n).forEach((t) => {
                  e(n[t], c ? `${c}[${t}]` : t);
                });
          })(e),
          t
        );
      }
      const $ = {
          class:
            "ncpc-flex ncpc-items-center ncpc-justify-between ncpc-p-3 ncpc-border-b ncpc-border-gray-100",
        },
        L = ["disabled"],
        S = {
          key: 0,
          class: "ncpc-flex ncpc-items-center ncpc-justify-center ncpc-py-8",
        },
        E = ["innerHTML"];
      var I = {
          __name: "modal",
          props: {
            message: String,
            close: Function,
            loading: { type: Boolean, default: !1 },
          },
          setup(e) {
            const t = e,
              n = (0, c.KR)(t.loading || !1),
              a = () => {
                n.value || t.close();
              },
              r = () => {
                n.value || a();
              },
              o = (e) => {
                "Escape" !== e.key || n.value || a();
              },
              i = (0, c.EW)(() =>
                ((e) => {
                  if (!e) return "";
                  const t = new DOMParser().parseFromString(e, "text/html");
                  return (
                    t.documentElement.textContent || t.body.textContent || ""
                  );
                })(t.message)
              );
            return (
              (0, c.sV)(() => {
                (document.body.style.overflow = "hidden"),
                  document.addEventListener("keydown", o);
              }),
              (0, c.xo)(() => {
                (document.body.style.overflow = ""),
                  document.removeEventListener("keydown", o);
              }),
              (e, t) => (
                (0, c.uX)(),
                (0, c.Wv)(c.Im, { to: "body" }, [
                  (0, c.bF)(
                    c.eB,
                    {
                      "enter-active-class":
                        "ncpc-transition-all ncpc-duration-300 ncpc-ease-out",
                      "enter-from-class": "ncpc-opacity-0",
                      "enter-to-class": "ncpc-opacity-100",
                      "leave-active-class":
                        "ncpc-transition-all ncpc-duration-200 ncpc-ease-in",
                      "leave-from-class": "ncpc-opacity-100",
                      "leave-to-class": "ncpc-opacity-0",
                    },
                    {
                      default: (0, c.k6)(() => [
                        (0, c.Lk)(
                          "div",
                          {
                            onClick: (0, c.D$)(r, ["self"]),
                            class: (0, c.C4)([
                              "ncpc-fixed ncpc-inset-0 ncpc-z-[9999] ncpc-flex ncpc-items-center ncpc-justify-center ncpc-p-4 ncpc-bg-black/60 ncpc-backdrop-blur-sm",
                              { "ncpc-cursor-pointer": !n.value },
                            ]),
                          },
                          [
                            (0, c.bF)(
                              c.eB,
                              {
                                "enter-active-class":
                                  "ncpc-transition-all ncpc-duration-300 ncpc-ease-out ncpc-delay-75",
                                "enter-from-class":
                                  "ncpc-opacity-0 ncpc-scale-95 ncpc-translate-y-4",
                                "enter-to-class":
                                  "ncpc-opacity-100 ncpc-scale-100 ncpc-translate-y-0",
                                "leave-active-class":
                                  "ncpc-transition-all ncpc-duration-200 ncpc-ease-in",
                                "leave-from-class":
                                  "ncpc-opacity-100 ncpc-scale-100 ncpc-translate-y-0",
                                "leave-to-class":
                                  "ncpc-opacity-0 ncpc-scale-95 ncpc-translate-y-4",
                              },
                              {
                                default: (0, c.k6)(() => [
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class:
                                        "ncpc-relative ncpc-w-full ncpc-max-w-2xl ncpc-max-h-[85vh] ncpc-bg-white ncpc-rounded-2xl ncpc-shadow-2xl ncpc-overflow-hidden",
                                      onClick:
                                        t[0] ||
                                        (t[0] = (0, c.D$)(() => {}, ["stop"])),
                                    },
                                    [
                                      (0, c.Q3)(
                                        " Header avec animation du bouton de fermeture "
                                      ),
                                      (0, c.Lk)("div", $, [
                                        t[2] ||
                                          (t[2] = (0, c.Lk)(
                                            "div",
                                            { class: "ncpc-flex-1" },
                                            null,
                                            -1
                                          )),
                                        (0, c.Lk)(
                                          "button",
                                          {
                                            disabled: n.value,
                                            onClick: a,
                                            class: (0, c.C4)([
                                              "ncpc-group ncpc-relative ncpc-p-2 ncpc-rounded-full ncpc-bg-gray-50 ncpc-text-gray-400 ncpc-transition-all ncpc-duration-200 hover:ncpc-bg-gray-100 hover:ncpc-text-gray-600 focus:ncpc-outline-none focus:ncpc-ring-2 focus:ncpc-ring-blue-500 focus:ncpc-ring-offset-2 disabled:ncpc-opacity-50 disabled:ncpc-cursor-not-allowed",
                                              { "ncpc-animate-pulse": n.value },
                                            ]),
                                          },
                                          [
                                            (0, c.Q3)(
                                              " Icône de fermeture avec animation "
                                            ),
                                            t[1] ||
                                              (t[1] = (0, c.Lk)(
                                                "svg",
                                                {
                                                  class:
                                                    "ncpc-w-5 ncpc-h-5 ncpc-transition-transform ncpc-duration-200 group-hover:ncpc-scale-110 group-hover:ncpc-rotate-90",
                                                  fill: "none",
                                                  stroke: "currentColor",
                                                  viewBox: "0 0 24 24",
                                                },
                                                [
                                                  (0, c.Lk)("path", {
                                                    "stroke-linecap": "round",
                                                    "stroke-linejoin": "round",
                                                    "stroke-width": "2",
                                                    d: "M6 18L18 6M6 6l12 12",
                                                  }),
                                                ],
                                                -1
                                              )),
                                          ],
                                          10,
                                          L
                                        ),
                                      ]),
                                      (0, c.Q3)(
                                        " Contenu avec scroll personnalisé "
                                      ),
                                      (0, c.Lk)(
                                        "div",
                                        {
                                          class: (0, c.C4)([
                                            "ncpc-p-6 ncpc-overflow-y-auto ncpc-max-h-[calc(85vh-120px)] ncpc-scrollbar-thin ncpc-scrollbar-thumb-gray-300 ncpc-scrollbar-track-gray-100",
                                            { "ncpc-animate-pulse": n.value },
                                          ]),
                                        },
                                        [
                                          (0, c.Q3)(" Loading state "),
                                          n.value
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                S,
                                                t[3] ||
                                                  (t[3] = [
                                                    (0, c.Lk)(
                                                      "div",
                                                      {
                                                        class:
                                                          "ncpc-flex ncpc-items-center ncpc-space-x-3",
                                                      },
                                                      [
                                                        (0, c.Lk)("div", {
                                                          class:
                                                            "ncpc-animate-spin ncpc-rounded-full ncpc-h-6 ncpc-w-6 ncpc-border-2 ncpc-border-blue-500 ncpc-border-t-transparent",
                                                        }),
                                                        (0, c.Lk)(
                                                          "span",
                                                          {
                                                            class:
                                                              "ncpc-text-gray-500",
                                                          },
                                                          "Chargement..."
                                                        ),
                                                      ],
                                                      -1
                                                    ),
                                                  ])
                                              ))
                                            : ((0, c.uX)(),
                                              (0, c.CE)(
                                                c.FK,
                                                { key: 1 },
                                                [
                                                  (0, c.Q3)(
                                                    " Contenu principal avec animation d'apparition "
                                                  ),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class:
                                                        "ncpc-prose ncpc-prose-gray ncpc-max-w-none ncpc-animate-fade-in",
                                                      innerHTML: i.value,
                                                    },
                                                    null,
                                                    8,
                                                    E
                                                  ),
                                                ],
                                                2112
                                              )),
                                        ],
                                        2
                                      ),
                                    ]
                                  ),
                                ]),
                                _: 1,
                              }
                            ),
                          ],
                          2
                        ),
                      ]),
                      _: 1,
                    }
                  ),
                ])
              )
            );
          },
        },
        T = (n(5408), n(6262));
      var A = (0, T.A)(I, [["__scopeId", "data-v-0f8e5c6b"]]),
        B = n(2913),
        M = n(4783),
        j = n(4589);
      const _ = { class: "ncpc-editor-container" },
        z = { key: 0, class: "ncpc-icon-list ncpc-z-20 ncpc-justify-end" },
        F = { key: 1, class: "emoji-picker ncpc-noScroll" },
        D = ["onClick"],
        P = ["src", "title", "alt"];
      var H = {
        __name: "tiptap",
        props: {
          icons: Array,
          placeholder: String,
          content: String,
          lineError: Boolean,
          lines: Array,
          changeTexts: Function,
        },
        setup(e) {
          const t = (0, c.KR)(null),
            n = (0, c.KR)(!1),
            a = (0, c.KR)({ top: "0px", left: "0px" }),
            r = (0, c.KR)(null),
            o = (0, c.KR)(null),
            i = e,
            l = (0, c.KR)(i.icons),
            s = () => {
              o.value && clearTimeout(o.value),
                (o.value = setTimeout(() => {
                  if (t.value) {
                    const e = p();
                    i.changeTexts(e, t.value.getHTML());
                  }
                }, 400));
            },
            p = () => {
              if (!t.value) return [];
              const e = t.value.getJSON();
              let n = [];
              return (
                e.content.forEach((e) => {
                  if ("paragraph" === e.type) {
                    let t = [],
                      c = "";
                    e.content?.forEach((e) => {
                      if ("text" === e.type) {
                        (e.text.match(/(\s*\S+|\s+)/g) || []).forEach((e) => {
                          "" === e.trim()
                            ? t.length > 0
                              ? (t[t.length - 1].value += e)
                              : (c += e)
                            : ("" !== c && ((e = c + e), (c = "")),
                              t.push({ type: "text", value: e }));
                        });
                      } else
                        "image" === e.type &&
                          ("" !== c.trim() &&
                            (t.push({ type: "text", value: c }), (c = "")),
                          (e.attrs.alt &&
                            /^[\p{Emoji}]+$/u.test(e.attrs.alt)) ||
                            t.push({
                              type: "image",
                              src: e.attrs.src,
                              alt: e.attrs.alt,
                              name: e.attrs.name,
                              title: e.attrs.title,
                            }));
                    }),
                      "" !== c.trim() && t.push({ type: "text", value: c }),
                      t.length > 0 && n.push(t);
                  }
                }),
                n
              );
            },
            u = () => {
              (n.value = !n.value),
                n.value &&
                  (0, c.dY)(() => {
                    const e = r.value.getBoundingClientRect(),
                      t = window.innerHeight - e.bottom;
                    a.value = {
                      left: `${e.left}px`,
                      top:
                        t >= 120 ? `${e.bottom + 5}px` : e.top - 120 - 5 + "px",
                    };
                  });
            };
          (0, c.sV)(() => {
            t.value = new B.KE({
              editorProps: {
                handleDrop: () => !1,
                handleDragStart: () => !1,
                handleDragEnd: () => !1,
                draggable: !1,
                transformPastedHTML(e) {
                  return e.replace(/<img .*?alt="(.*?)".*?>/g, "$1");
                },
                transformPastedText(e) {
                  return e;
                },
              },
              extensions: [
                M.A.configure({
                  paragraph: { HTMLAttributes: { class: "ncpc-paragraph" } },
                }),
                j.Ay.configure({
                  inline: !0,
                  HTMLAttributes: { class: "ncpc-image" },
                }),
              ],
              content: i.content,
              onUpdate: s,
            });
          }),
            (0, c.wB)([() => i.lineError, () => i.lines], async ([e, n]) => {
              if (!t.value) return;
              await (0, c.dY)();
              document
                .querySelectorAll(".ncpc-editor p.ncpc-paragraph")
                .forEach((t, c) => {
                  const a = c + 1;
                  e && n.includes(a)
                    ? (console.log(t, "paeaze"),
                      t.classList.add("ncpc-bg-red-500"))
                    : t.classList.remove("ncpc-bg-red-500");
                });
            });
          return (
            (0, c.xo)(() => {
              t.value && t.value.destroy(), o.value && clearTimeout(o.value);
            }),
            (e, a) => {
              const o = (0, c.g2)("sapn");
              return (
                (0, c.uX)(),
                (0, c.CE)("div", _, [
                  (0, c.Q3)(" Éditeur "),
                  (0, c.bF)(
                    (0, c.R1)(B.$Z),
                    { editor: t.value, class: "ncpc-editor" },
                    null,
                    8,
                    ["editor"]
                  ),
                  (0, c.Q3)(" Liste des icônes et bouton emoji "),
                  l.value.length
                    ? ((0, c.uX)(),
                      (0, c.CE)("div", z, [
                        (0, c.Q3)(" Bouton pour ouvrir le sélecteur d'émojis "),
                        (0, c.bF)(
                          o,
                          {
                            ref_key: "emojiButtonRef",
                            ref: r,
                            onClick: u,
                            class: "ncpc-icon-btn",
                          },
                          {
                            default: (0, c.k6)(
                              () => a[0] || (a[0] = [(0, c.eW)(" 😀 ")])
                            ),
                            _: 1,
                            __: [0],
                          },
                          512
                        ),
                      ]))
                    : (0, c.Q3)("v-if", !0),
                  (0, c.Q3)(" Sélecteur d'émojis flottant "),
                  n.value
                    ? ((0, c.uX)(),
                      (0, c.CE)("div", F, [
                        ((0, c.uX)(!0),
                        (0, c.CE)(
                          c.FK,
                          null,
                          (0, c.pI)(
                            l.value,
                            (e) => (
                              (0, c.uX)(),
                              (0, c.CE)(
                                "span",
                                {
                                  key: e.name,
                                  onClick: (c) => {
                                    return (
                                      (a = e.file),
                                      (r = e.name),
                                      void (
                                        t.value &&
                                        (t.value
                                          .chain()
                                          .focus()
                                          .insertContentAt(
                                            t.value.state.selection.from,
                                            {
                                              type: "image",
                                              attrs: {
                                                src: a,
                                                alt: r,
                                                title: r,
                                                class: "ncpc-editor-icon",
                                                draggable: "false",
                                                style:
                                                  "display: inline-block; vertical-align: middle; max-height: 24px;",
                                              },
                                            }
                                          )
                                          .run(),
                                        (n.value = !1))
                                      )
                                    );
                                    var a, r;
                                  },
                                  class: "emoji-item",
                                },
                                [
                                  (0, c.Lk)(
                                    "img",
                                    {
                                      src: e.preview,
                                      title: e.name,
                                      alt: e.name,
                                      class: "ncpc-icon",
                                    },
                                    null,
                                    8,
                                    P
                                  ),
                                ],
                                8,
                                D
                              )
                            )
                          ),
                          128
                        )),
                      ]))
                    : (0, c.Q3)("v-if", !0),
                ])
              );
            }
          );
        },
      };
      n(1935);
      var X = (0, T.A)(H, [["__scopeId", "data-v-0b807e5b"]]);
      const N = { class: "ncpc-space-y-1 ncpc-flex ncpc-flex-col ncpc-w-full" },
        Q = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-justify-between ncpc-items-center lg:ncpc-px-0 ncpc-font-medium",
        },
        W = {
          class:
            "ncpc-px-3 ncpc-flex ncpc-flex-col ncpc-justify-start ncpc-w-full",
        },
        U = ["href"],
        K = {
          class:
            "ncpc-flex ncpc-flex-row lg:ncpc-flex-col ncpc-px-3 ncpc-space-x-2 lg:ncpc-space-y-1 ncpc-items-center ncpc-justify-center",
        },
        q = {
          class:
            "lg:ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-space-y-2 ncpc-w-full ncpc-text-form",
        },
        V = {
          class: "ncpc-w-[200px] ncpc-flex ncpc-flex-col ncpc-space-y-1",
          style: {
            "margin-top": "-55px",
            "z-index": "10",
            "margin-bottom": "10px",
            "margin-left": "10px",
          },
        },
        G = { class: "ncpc-flex ncpc-z-1 lg:ncpc-flex-row lg:ncpc-space-x-2" },
        Y = { class: "ncpc-font-bold" },
        Z = { class: "ncpc-font-bold" };
      var J = {
        __name: "text-form",
        props: {
          renderText: { type: Boolean, required: !0 },
          config: { type: Object, required: !0 },
          pricing: { type: String, required: !0 },
          currentSize: { type: Object, required: !0 },
          currentBackboard: { type: Object, required: !0 },
          currentSignSize: { type: Object, required: !0 },
          darkMode: { type: Boolean, default: !1 },
          sortOptions: { type: Array, default: () => [] },
          currentIndex: { type: Number, default: 0 },
          next: { type: Function, default: () => {} },
          prec: { type: Function, default: () => {} },
          backToStart: { type: Function, default: () => {} },
          handleEditTexts: { type: Function, required: !0 },
          handleChangeTextAlignment: { type: Function, required: !0 },
          loadBackboardOnLoading: { type: Function, required: !0 },
          linesError: { type: Array, default: () => [] },
        },
        emits: [
          "update:currentSize",
          "update:linesError",
          "update:numLines",
          "update:numCharacters",
          "update:exceededLines",
          "update:exceededCharacters",
          "onSizeChanged",
          "textChanged",
          "alignChanged",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            {
              config: r,
              pricing: o,
              currentSize: i,
              currentSignSize: l,
              darkMode: s,
              linesError: p,
            } = (0, c.QW)(n),
            u = (0, c.KR)("left"),
            d = (0, c.KR)(1),
            f = (0, c.KR)(0),
            h = (0, c.KR)({ ...n.currentSize }),
            m = (0, c.KR)({ ...n.currentSignSize }),
            v = (0, c.KR)(!1),
            g = (0, c.KR)(!1),
            b = (0, c.KR)([...n.linesError]),
            x = (0, c.KR)([]),
            w = (0, c.EW)(() => n.config.settings),
            y = (0, c.EW)(() => n.config.settings.themes.colors),
            k = (0, c.EW)(() => n.config.requiredOptions),
            C = (0, c.EW)(() =>
              n.config.others?.configuratorHeaderTag &&
              "" !== n.config.others.configuratorHeaderTag.trim()
                ? n.config.others.configuratorHeaderTag
                : "h2"
            ),
            R = () => {
              const e = [[]],
                t =
                  (
                    w.value.languageImages.visualizer.defaultText || "Your Text"
                  ).match(/\S+|\s+/g) || [];
              let n = "";
              t.forEach((t) => {
                "" === t.trim()
                  ? e[0].length > 0
                    ? (e[0][e[0].length - 1].value += t)
                    : (n += t)
                  : ("" !== n && ((t = n + t), (n = "")),
                    e[0].push({ type: "text", value: t }));
              }),
                $(e);
            },
            O = (e) => {
              (u.value = e), n.handleChangeTextAlignment(e);
            },
            $ = async (e, t) => {
              (x.value = e),
                (f.value = Math.max(
                  ...x.value.map((e) =>
                    e.reduce(
                      (e, t) => e + ("text" === t.type ? t.value.length : 1),
                      0
                    )
                  )
                )),
                (d.value = x.value.length);
              let c = !1,
                a = !1,
                r = "";
              if ("advanced" !== n.pricing) {
                c = L().canFinishSign;
              } else {
                const e = E();
                (c = e.canFinishSign),
                  (a = e.openSignExceedDimensionAlert),
                  (r = e.limitReachedMsg);
              }
              n.currentBackboard?.type &&
                "cut-to-letter" == n.currentBackboard?.type &&
                (console.log(n.currentBackboard),
                await n.loadBackboardOnLoading()),
                await n.handleEditTexts(
                  e,
                  c,
                  {
                    localExceededSizeLines: v.value,
                    localExceededSizeCharacters: g.value,
                    localCurrentSize: h.value,
                  },
                  { openSignExceedDimensionAlert: a, limitReachedMsg: r }
                ),
                n.currentBackboard?.type &&
                  "cut-to-letter" !== n.currentBackboard?.type &&
                  (await n.loadBackboardOnLoading());
            },
            L = () => {
              let e = !1;
              if (!0 === k.value.sizeOptions.autoSwitching) {
                const t = k.value.sizeOptions.sizes.findIndex(
                  (e) => e.numberLines >= d.value && e.maxLineChar >= f.value
                );
                -1 !== t
                  ? ((h.value = { id: t, ...k.value.sizeOptions.sizes[t] }),
                    (v.value = !1),
                    (g.value = !1),
                    (e = !0))
                  : (e = S());
              } else e = S();
              return { canFinishSign: e };
            },
            S = () => {
              if (d.value > h.value.numberLines) {
                b.value = [];
                for (let e = d.value; e > h.value.numberLines; e--)
                  b.value.push(e - 1);
                (g.value = !1), (v.value = !0);
              } else
                h.value.maxLineChar < f.value
                  ? ((b.value = x.value
                      .map((e, t) =>
                        e.reduce(
                          (e, t) =>
                            e + ("text" === t.type ? t.value.length : 1),
                          0
                        ) > h.value.maxLineChar
                          ? t
                          : null
                      )
                      .filter((e) => null !== e)),
                    (v.value = !1),
                    (g.value = !0))
                  : ((b.value = []), (v.value = !1), (g.value = !1));
              return !v.value && !g.value;
            },
            E = () => {
              let e = !0,
                t = !1,
                n = "";
              return (
                !k.value.sizeOptions.maxSignWidth.unlimited &&
                k.value.sizeOptions.maxSignWidth.value <= m.value.cm.width
                  ? ((e = !1),
                    (t = !0),
                    (n = w.value.languageImages.main.maxSignModals
                      ? w.value.languageImages.main.maxSignModals.width ??
                        "Your sign has exceeded the width"
                      : "Your sign has exceeded the width"))
                  : !k.value.sizeOptions.maxSignHeight.unlimited &&
                    k.value.sizeOptions.maxSignHeight.value <= m.value.cm.height
                  ? ((e = !1),
                    (t = !0),
                    (n = w.value.languageImages.main.maxSignModals
                      ? w.value.languageImages.main.maxSignModals.height ??
                        "Your sign has exceeded the height"
                      : "Your sign has exceeded the height"))
                  : ((e = !0), (t = !1)),
                {
                  canFinishSign: e,
                  openSignExceedDimensionAlert: t,
                  limitReachedMsg: n,
                }
              );
            };
          return (
            (0, c.wB)(
              i,
              (e) => {
                h.value = { ...e };
                let t = !1,
                  c = !1,
                  r = "";
                if ("advanced" !== n.pricing) t = S();
                else {
                  const e = E();
                  (t = e.canFinishSign),
                    (c = e.openSignExceedDimensionAlert),
                    (r = e.limitReachedMsg);
                }
                a(
                  "onSizeChanged",
                  t,
                  { openSignExceedDimensionAlert: c, limitReachedMsg: r },
                  {
                    localExceededSizeCharacters: g.value,
                    localExceededSizeLines: v.value,
                  }
                );
              },
              { deep: !0 }
            ),
            (0, c.wB)(
              l,
              (e) => {
                if (
                  ((m.value = { ...e }),
                  (f.value = Math.max(
                    ...x.value.map((e) =>
                      e.reduce(
                        (e, t) => e + ("text" === t.type ? t.value.length : 1),
                        0
                      )
                    )
                  )),
                  (d.value = x.value.length),
                  "advanced" !== n.pricing)
                ) {
                  L();
                } else {
                  E();
                }
              },
              { deep: !0 }
            ),
            (0, c.wB)(
              p,
              (e) => {
                b.value = [...e];
              },
              { deep: !0 }
            ),
            (0, c.wB)(
              () => n.config,
              (e) => {
                R();
              },
              { deep: !0 }
            ),
            (0, c.wB)(
              () => n.renderText,
              async (e) => {
                e && R();
              },
              { deep: !0 }
            ),
            (e, t) => (
              (0, c.uX)(),
              (0, c.CE)(
                "div",
                {
                  class: (0, c.C4)([
                    "lg:ncpc-space-y-4 no-scrollbar ncpc-h-full ncpc-block",
                    "default" == (0, c.R1)(r).settings.themes.skin
                      ? " ncpc-overflow-y-scroll "
                      : "",
                  ]),
                  id: "text-form",
                },
                [
                  (0, c.Lk)("div", N, [
                    (0, c.Q3)(" Header Section "),
                    (0, c.Lk)(
                      "div",
                      {
                        class: (0, c.C4)(
                          `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-space-x-2 ncpc-bg-[${y.value.activeButtonColor}] ncpc-py-3 lg:ncpc-bg-transparent lg:text-black ncpc-w-full`
                        ),
                      },
                      [
                        (0, c.Lk)("div", Q, [
                          (0, c.Lk)("div", W, [
                            ((0, c.uX)(),
                            (0, c.Wv)(
                              (0, c.$y)(C.value),
                              {
                                class: (0, c.C4)(
                                  `ncpc-main-header-title lg:ncpc-text-xl ncpc-font-bold ncpc-text-[${y.value.activeButtonTextColor}] lg:ncpc-text-[${y.value.titleColor}]`
                                ),
                              },
                              {
                                default: (0, c.k6)(() => [
                                  (0, c.eW)(
                                    (0, c.v_)(
                                      (0, c.R1)(r).settings.languageImages.main
                                        .header
                                    ),
                                    1
                                  ),
                                ]),
                                _: 1,
                              },
                              8,
                              ["class"]
                            )),
                            (0, c.R1)(r).settings.languageImages.customDesign
                              .link.activate
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "a",
                                  {
                                    key: 0,
                                    href: (0, c.R1)(r).settings.languageImages
                                      .customDesign.link.link,
                                    class: (0, c.C4)(
                                      `text-cyan-700 ncpc-text-md lg:ncpc-text-md underline ncpc-text-[${y.value.activeButtonTextColor}] lg:ncpc-text-[${y.value.buttonTextColor}] hover:ncpc-text-[${y.value.buttonTextColor}] title-sections`
                                    ),
                                  },
                                  (0, c.v_)(
                                    (0, c.R1)(r).settings.languageImages
                                      .customDesign.link.phraseSubmitCustom
                                  ),
                                  11,
                                  U
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                        ]),
                      ],
                      2
                    ),
                    (0, c.Q3)(" Main Content Section "),
                    (0, c.Lk)("div", K, [
                      (0, c.Lk)("div", q, [
                        (0, c.Q3)(" Text Box Label "),
                        (0, c.Lk)(
                          "div",
                          {
                            class: (0, c.C4)(
                              `ncpc-text-[${y.value.titleColor}] ncpc-font-[.875em] ncpc-font-bold ncpc-pb-1`
                            ),
                          },
                          (0, c.v_)(
                            (0, c.R1)(r).settings.languageImages.main
                              .textBoxLabel
                          ),
                          3
                        ),
                        (0, c.Q3)(" Line and Character Count "),
                        "advanced" === (0, c.R1)(o)
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "p",
                              {
                                key: 0,
                                class: (0, c.C4)(
                                  ((0, c.R1)(s), "ncpc-text-[#999999]") +
                                    " ncpc-text-xs lg:ncpc-text-[.75em]"
                                ),
                              },
                              [
                                (0, c.Lk)("span", null, [
                                  (0, c.Lk)(
                                    "strong",
                                    null,
                                    (0, c.v_)(d.value),
                                    1
                                  ),
                                ]),
                                (0, c.Lk)(
                                  "span",
                                  null,
                                  (0, c.v_)(
                                    w.value.languageImages.main.lineCount
                                  ),
                                  1
                                ),
                                (0, c.eW)(
                                  ", " +
                                    (0, c.v_)(k.value.sizeOptions.minTextChar) +
                                    " " +
                                    (0, c.v_)(
                                      w.value.languageImages.main
                                        .minimumCharacter
                                    ),
                                  1
                                ),
                              ],
                              2
                            ))
                          : ((0, c.uX)(),
                            (0, c.CE)(
                              "p",
                              {
                                key: 1,
                                class: (0, c.C4)(
                                  ((0, c.R1)(s), "ncpc-text-[#999999]") +
                                    " ncpc-text-xs lg:ncpc-text-[.75em]"
                                ),
                              },
                              [
                                (0, c.Lk)("span", null, [
                                  (0, c.Lk)(
                                    "strong",
                                    null,
                                    (0, c.v_)(d.value),
                                    1
                                  ),
                                ]),
                                t[3] ||
                                  (t[3] = (0, c.Lk)(
                                    "span",
                                    null,
                                    [(0, c.Lk)("strong", null, "/")],
                                    -1
                                  )),
                                (0, c.Lk)("span", null, [
                                  (0, c.Lk)(
                                    "strong",
                                    null,
                                    (0, c.v_)(h.value.numberLines),
                                    1
                                  ),
                                ]),
                                (0, c.Lk)(
                                  "span",
                                  null,
                                  (0, c.v_)(
                                    (0, c.R1)(r).settings.languageImages.main
                                      .lineCount
                                  ),
                                  1
                                ),
                                t[4] || (t[4] = (0, c.eW)(", ")),
                                (0, c.Lk)(
                                  "strong",
                                  null,
                                  (0, c.v_)(h.value.maxLineChar),
                                  1
                                ),
                                (0, c.Lk)(
                                  "span",
                                  null,
                                  (0, c.v_)(
                                    (0, c.R1)(r).settings.languageImages.main
                                      .maxCharacters
                                  ),
                                  1
                                ),
                              ],
                              2
                            )),
                        (0, c.Q3)(" TipTap Editor "),
                        h.value.label
                          ? ((0, c.uX)(),
                            (0, c.Wv)(
                              X,
                              {
                                key: 2,
                                icons:
                                  w.value.languageImages?.icons?.listIcons ??
                                  [],
                                content:
                                  w.value.languageImages.visualizer.defaultText,
                                lineError: v.value || g.value,
                                lines: b.value,
                                changeTexts: $,
                                class: (0, c.C4)(
                                  `ncpc-bg-[${
                                    (0, c.R1)(s)
                                      ? y.value.darkBackgroundColor
                                      : y.value.backgroundColor
                                  }] ncpc-text-[${
                                    y.value.activeButtonColor
                                  }] title-sections`
                                ),
                              },
                              null,
                              8,
                              [
                                "icons",
                                "content",
                                "lineError",
                                "lines",
                                "class",
                              ]
                            ))
                          : (0, c.Q3)("v-if", !0),
                        (0, c.Q3)(" Text Alignment Controls "),
                        (0, c.Lk)("div", V, [
                          (0, c.Lk)("div", G, [
                            (0, c.Q3)(" Left Align "),
                            (0, c.Lk)(
                              "span",
                              {
                                class: (0, c.C4)(
                                  ((0, c.R1)(s)
                                    ? "" +
                                      ("left" == u.value
                                        ? `ncpc-bg-[${y.value.darkActiveButtonColor}] ncpc-text-[${y.value.activeButtonColor}] ncpc-border-[${y.value.darkOptionBorderColor}]`
                                        : "")
                                    : "" +
                                      ("left" == u.value
                                        ? `ncpc-selected  ncpc-text-[${y.value.activeButtonColor}] ncpc-border-[${y.value.activeOptionBorderColor}]`
                                        : `ncpc-selected-left ncpc-text-[${y.value.activeButtonColor}]`)) +
                                    " ncpc-flex ncpc-justify-center ncpc-items-center ncpc-cursor-pointer ncpc-p-2 ncpc-px-3 ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-border"
                                ),
                                onClick: t[0] || (t[0] = (e) => O("left")),
                              },
                              t[5] ||
                                (t[5] = [
                                  (0, c.Lk)(
                                    "svg",
                                    {
                                      width: "24",
                                      height: "23",
                                      viewBox: "0 0 24 23",
                                      fill: "currentColor",
                                      xmlns: "http://www.w3.org/2000/svg",
                                    },
                                    [
                                      (0, c.Lk)("path", {
                                        "fill-rule": "evenodd",
                                        d: "M15.0362 0.501566H0.972786C0.714267 0.501566 0.559155 0.708382 0.559155 0.915197V1.74246C0.559155 2.00098 0.714267 2.15609 0.972786 2.15609H15.0362C15.243 2.15609 15.4498 2.00098 15.4498 1.74246V0.915197C15.4498 0.708382 15.243 0.501566 15.0362 0.501566ZM23.3088 20.3558H0.972786C0.714267 20.3558 0.559155 20.5626 0.559155 20.7694V21.5967C0.559155 21.8552 0.714267 22.0103 0.972786 22.0103H23.3088C23.5156 22.0103 23.7224 21.8552 23.7224 21.5967V20.7694C23.7224 20.5626 23.5156 20.3558 23.3088 20.3558ZM15.0362 13.7377H0.972786C0.714267 13.7377 0.559155 13.9445 0.559155 14.1514V14.9786C0.559155 15.2371 0.714267 15.3923 0.972786 15.3923H15.0362C15.243 15.3923 15.4498 15.2371 15.4498 14.9786V14.1514C15.4498 13.9445 15.243 13.7377 15.0362 13.7377ZM23.3088 7.11965H0.972786C0.714267 7.11965 0.559155 7.32647 0.559155 7.53328V8.36054C0.559155 8.61906 0.714267 8.77417 0.972786 8.77417H23.3088C23.5156 8.77417 23.7224 8.61906 23.7224 8.36054V7.53328C23.7224 7.32647 23.5156 7.11965 23.3088 7.11965Z",
                                        "clip-rule": "evenodd",
                                      }),
                                    ],
                                    -1
                                  ),
                                ]),
                              2
                            ),
                            (0, c.Q3)(" Center Align "),
                            (0, c.Lk)(
                              "span",
                              {
                                class: (0, c.C4)(
                                  ((0, c.R1)(s)
                                    ? "" +
                                      ("center" == u.value
                                        ? `ncpc-bg-[${y.value.darkActiveButtonColor}] ncpc-text-[${y.value.activeButtonColor}] ncpc-border-[${y.value.darkOptionBorderColor}]`
                                        : "")
                                    : "" +
                                      ("center" == u.value
                                        ? `ncpc-selected  ncpc-text-[${y.value.activeButtonColor}] ncpc-border-[${y.value.activeOptionBorderColor}]`
                                        : `ncpc-selected-center ncpc-text-[${y.value.activeButtonColor}]`)) +
                                    " ncpc-flex ncpc-justify-center ncpc-items-center ncpc-cursor-pointer ncpc-p-2 ncpc-px-3 ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-border"
                                ),
                                onClick: t[1] || (t[1] = (e) => O("center")),
                              },
                              t[6] ||
                                (t[6] = [
                                  (0, c.Lk)(
                                    "svg",
                                    {
                                      width: "24",
                                      height: "23",
                                      viewBox: "0 0 24 23",
                                      fill: "currentColor",
                                      xmlns: "http://www.w3.org/2000/svg",
                                    },
                                    [
                                      (0, c.Lk)("path", {
                                        "fill-rule": "evenodd",
                                        d: "M17.9166 0.604201H5.50771C5.24919 0.604201 5.09408 0.811016 5.09408 1.01783V1.84509C5.09408 2.10361 5.24919 2.25872 5.50771 2.25872H17.9166C18.1234 2.25872 18.3302 2.10361 18.3302 1.84509V1.01783C18.3302 0.811016 18.1234 0.604201 17.9166 0.604201ZM22.8802 20.4585H0.544143C0.285625 20.4585 0.130513 20.6653 0.130513 20.8721V21.6993C0.130513 21.9579 0.285625 22.113 0.544143 22.113H22.8802C23.087 22.113 23.2938 21.9579 23.2938 21.6993V20.8721C23.2938 20.6653 23.087 20.4585 22.8802 20.4585ZM17.9166 13.8404H5.50771C5.24919 13.8404 5.09408 14.0472 5.09408 14.254V15.0813C5.09408 15.3398 5.24919 15.4949 5.50771 15.4949H17.9166C18.1234 15.4949 18.3302 15.3398 18.3302 15.0813V14.254C18.3302 14.0472 18.1234 13.8404 17.9166 13.8404ZM22.8802 7.22228H0.544143C0.285625 7.22228 0.130513 7.4291 0.130513 7.63592V8.46318C0.130513 8.72169 0.285625 8.87681 0.544143 8.87681H22.8802C23.087 8.87681 23.2938 8.72169 23.2938 8.46318V7.63592C23.2938 7.4291 23.087 7.22228 22.8802 7.22228Z",
                                        "clip-rule": "evenodd",
                                      }),
                                    ],
                                    -1
                                  ),
                                ]),
                              2
                            ),
                            (0, c.Q3)(" Right Align "),
                            (0, c.Lk)(
                              "span",
                              {
                                class: (0, c.C4)(
                                  ((0, c.R1)(s)
                                    ? "" +
                                      ("right" == u.value
                                        ? `ncpc-bg-[${y.value.darkActiveButtonColor}] ncpc-text-[${y.value.activeButtonColor}] ncpc-border-[${y.value.darkOptionBorderColor}]`
                                        : "")
                                    : "" +
                                      ("right" == u.value
                                        ? `ncpc-selected  ncpc-text-[${y.value.activeButtonColor}] ncpc-border-[${y.value.activeOptionBorderColor}]`
                                        : `ncpc-selected-right ncpc-text-[${y.value.activeButtonColor}]`)) +
                                    " ncpc-flex ncpc-justify-center ncpc-items-center ncpc-cursor-pointer ncpc-p-2 ncpc-px-3 ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-border"
                                ),
                                onClick: t[2] || (t[2] = (e) => O("right")),
                              },
                              t[7] ||
                                (t[7] = [
                                  (0, c.Lk)(
                                    "svg",
                                    {
                                      width: "25",
                                      height: "23",
                                      viewBox: "0 0 25 23",
                                      fill: "currentColor",
                                      xmlns: "http://www.w3.org/2000/svg",
                                    },
                                    [
                                      (0, c.Lk)("path", {
                                        "fill-rule": "evenodd",
                                        d: "M23.7405 0.604201H9.6771C9.41858 0.604201 9.26347 0.811016 9.26347 1.01783V1.84509C9.26347 2.10361 9.41858 2.25872 9.6771 2.25872H23.7405C23.9473 2.25872 24.1542 2.10361 24.1542 1.84509V1.01783C24.1542 0.811016 23.9473 0.604201 23.7405 0.604201ZM23.7405 20.4585H1.4045C1.14598 20.4585 0.990865 20.6653 0.990865 20.8721V21.6993C0.990865 21.9579 1.14598 22.113 1.4045 22.113H23.7405C23.9473 22.113 24.1542 21.9579 24.1542 21.6993V20.8721C24.1542 20.6653 23.9473 20.4585 23.7405 20.4585ZM23.7405 13.8404H9.6771C9.41858 13.8404 9.26347 14.0472 9.26347 14.254V15.0813C9.26347 15.3398 9.41858 15.4949 9.6771 15.4949H23.7405C23.9473 15.4949 24.1542 15.3398 24.1542 15.0813V14.254C24.1542 14.0472 23.9473 13.8404 23.7405 13.8404ZM23.7405 7.22228H1.4045C1.14598 7.22228 0.990865 7.4291 0.990865 7.63592V8.46318C0.990865 8.72169 1.14598 8.87681 1.4045 8.87681H23.7405C23.9473 8.87681 24.1542 8.72169 24.1542 8.46318V7.63592C24.1542 7.4291 23.9473 7.22228 23.7405 7.22228Z",
                                        "clip-rule": "evenodd",
                                      }),
                                    ],
                                    -1
                                  ),
                                ]),
                              2
                            ),
                          ]),
                        ]),
                        (0, c.Q3)(" Error Messages "),
                        "advanced" === (0, c.R1)(o) &&
                        f.value < k.value.sizeOptions.minTextChar
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "p",
                              {
                                key: 3,
                                class: (0, c.C4)(
                                  ((0, c.R1)(s)
                                    ? `ncpc-bg-[${y.value.darkActiveButtonColor}] ncpc-text-[${y.value.darkActiveButtonTextColor}]`
                                    : `ncpc-bg-[${y.value.activeButtonColor}] ncpc-text-[${y.value.activeButtonTextColor}]`) +
                                    " ncpc-text-xs lg:ncpc-text-sm ncpc-p-2"
                                ),
                              },
                              [
                                (0, c.Lk)(
                                  "span",
                                  Y,
                                  (0, c.v_)(k.value.sizeOptions.minTextChar),
                                  1
                                ),
                                (0, c.eW)(
                                  " " +
                                    (0, c.v_)(
                                      w.value.languageImages.main
                                        .minimumCharacter ??
                                        "or more characters are required, please add more characters."
                                    ),
                                  1
                                ),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "advanced" !== (0, c.R1)(o) &&
                        f.value < h.value.minTextChar
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "p",
                              {
                                key: 4,
                                class: (0, c.C4)(
                                  ((0, c.R1)(s)
                                    ? `ncpc-bg-[${y.value.darkActiveButtonColor}] ncpc-text-[${y.value.darkActiveButtonTextColor}]`
                                    : `ncpc-bg-[${y.value.activeButtonColor}] ncpc-text-[${y.value.activeButtonTextColor}]`) +
                                    " ncpc-text-xs lg:ncpc-text-sm ncpc-p-2"
                                ),
                              },
                              [
                                (0, c.Lk)(
                                  "span",
                                  Z,
                                  (0, c.v_)(h.value.minTextChar),
                                  1
                                ),
                                (0, c.eW)(
                                  " " +
                                    (0, c.v_)(
                                      w.value.languageImages.main
                                        .minimumCharacter ??
                                        "or more characters are required, please add more characters."
                                    ),
                                  1
                                ),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "advanced" !== (0, c.R1)(o) && v.value
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "p",
                              {
                                key: 5,
                                class: (0, c.C4)(
                                  `ncpc-bg-[${
                                    y.value.formErrorBg ?? "#FF0000"
                                  }] ncpc-text-[${
                                    y.value.formErrorText ?? "#FFFFFF"
                                  }] ncpc-text-xs lg:ncpc-text-sm ncpc-p-2`
                                ),
                              },
                              (0, c.v_)(
                                w.value.languageImages.main.lines ??
                                  "Your sign has exceeded the maximum number of lines"
                              ),
                              3
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "advanced" !== (0, c.R1)(o) && g.value
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "p",
                              {
                                key: 6,
                                class: (0, c.C4)(
                                  `ncpc-bg-[${
                                    y.value.formErrorBg ?? "#FF0000"
                                  }] ncpc-text-[${
                                    y.value.formErrorText ?? "#FFFFFF"
                                  }] ncpc-text-xs lg:ncpc-text-sm ncpc-p-2`
                                ),
                              },
                              (0, c.v_)(
                                w.value.languageImages.main.characters ??
                                  "Your sign has exceeded the maximum number of characters"
                              ),
                              3
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ]),
                    ]),
                  ]),
                ],
                2
              )
            )
          );
        },
      };
      var ee = J;
      const te = {
          class:
            "ncpc-w-full ncpc-h-[85px] ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        ne = ["src"];
      var ce = {
        __name: "FontOption",
        props: {
          font: { type: Object, required: !0 },
          selected: { type: Boolean, default: !1 },
          displayMode: {
            type: String,
            default: "name",
            validator: (e) => ["name", "both"].includes(e),
          },
          theme: { type: Object, required: !0 },
          darkMode: { type: Boolean, default: !1 },
        },
        emits: ["select"],
        setup(e) {
          const t = e,
            n = (0, c.EW)(() =>
              t.font.label.replaceAll(" ", "-").replaceAll("_", "-")
            ),
            a = (0, c.EW)(() => {
              const { theme: e, selected: n, darkMode: c } = t;
              return c
                ? n
                  ? `ncpc-selected ncpc-text-[${e.darkActiveOptionTextColor}] ncpc-bg-[${e.darkActiveOptionBackgroundColor}] ncpc-border-[${e.darkActiveOptionBorderColor}]`
                  : `ncpc-text-[${e.darkOptionTextColor}] ncpc-border-[${e.darkOptionBorderColor}] hover:ncpc-text-[${e.darkActiveOptionTextColor}] hover:ncpc-border-[${e.darkActiveOptionBorderColor}]`
                : n
                ? `ncpc-selected ncpc-text-[${e.activeOptionTextColor}] ncpc-bg-[${e.activeOptionBackgroundColor}] ncpc-border-[${e.activeOptionBorderColor}]`
                : `ncpc-text-[${e.optionTextColor}] ncpc-border-[${e.optionBorderColor}] hover:ncpc-text-[${e.activeOptionTextColor}] hover:ncpc-border-[${e.activeOptionBorderColor}]`;
            }),
            r = (0, c.EW)(
              () =>
                `${a.value} ncpc-font-[${n.value}] ncpc-justify-center ncpc-w-full ncpc-h-full ncpc-border ncpc-text-[17px] ncpc-rounded-md ncpc-p-2 ncpc-text-center ncpc-cursor-pointer ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-options-item`
            ),
            o = (0, c.EW)(() => `${a.value} ncpc-options-item`),
            i = (0, c.EW)(() => `ncpc-font-[${n.value}]`);
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)(
              c.FK,
              null,
              [
                (0, c.Q3)(" Text-only display "),
                "both" !== e.displayMode
                  ? ((0, c.uX)(),
                    (0, c.CE)(
                      "div",
                      {
                        key: 0,
                        class:
                          "ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-center ncpc-w-fit ncpc-h-fit",
                        onClick:
                          n[0] || (n[0] = (n) => t.$emit("select", e.font)),
                      },
                      [
                        (0, c.Lk)(
                          "label",
                          { class: (0, c.C4)(r.value) },
                          (0, c.v_)(e.font.label),
                          3
                        ),
                      ]
                    ))
                  : ((0, c.uX)(),
                    (0, c.CE)(
                      c.FK,
                      { key: 1 },
                      [
                        (0, c.Q3)(" Image + text display "),
                        (0, c.Lk)(
                          "div",
                          {
                            class: (0, c.C4)([
                              "ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-between ncpc-w-[80px] ncpc-h-[100px] ncpc-gap-2 ncpc-border ncpc-rounded",
                              o.value,
                            ]),
                            onClick:
                              n[1] || (n[1] = (n) => t.$emit("select", e.font)),
                          },
                          [
                            (0, c.Lk)("div", te, [
                              "" != e.font.previewImg.trim()
                                ? ((0, c.uX)(),
                                  (0, c.CE)(
                                    "img",
                                    {
                                      key: 0,
                                      src: e.font.previewImg,
                                      class:
                                        "ncpc-w-auto ncpc-h-full ncpc-object-contain",
                                    },
                                    null,
                                    8,
                                    ne
                                  ))
                                : (0, c.Q3)("v-if", !0),
                            ]),
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)([
                                  "ncpc-fonts-label ncpc-w-full ncpc-text-center ncpc-text-sm ncpc-truncate",
                                  i.value,
                                ]),
                              },
                              [
                                (0, c.Lk)(
                                  "span",
                                  null,
                                  (0, c.v_)(e.font.label),
                                  1
                                ),
                              ],
                              2
                            ),
                          ],
                          2
                        ),
                      ],
                      2112
                    )),
              ],
              2112
            )
          );
        },
      };
      n(6360);
      var ae = (0, T.A)(ce, [["__scopeId", "data-v-c8bfc5c6"]]);
      const re = { class: "ncpc-space-y-2" },
        oe = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-flex-col lg:ncpc-items-start ncpc-px-2 lg:ncpc-px-0",
        },
        ie = {
          class:
            "ncpc-hidden lg:ncpc-flex ncpc-justify-between ncpc-relative ncpc-space-x-2",
        },
        le = {
          class:
            "ncpc-w-fit ncpc-flex ncpc-items-center ncpc-justify-center ncpc-p-2",
        },
        se = { key: 1, class: "lg:ncpc-text-sm xl:ncpc-text-base" },
        pe = {
          class: "ncpc-w-1/4 ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        ue = {
          class:
            "ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-gap-2 lg:ncpc-hidden ncpc-p-2",
        },
        de = { class: "ncpc-hidden lg:ncpc-flex ncpc-animate-slideDown" },
        fe = { class: "ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-gap-2" };
      var he = {
        __name: "fonts",
        props: {
          config: Object,
          fonts: { type: Array, default: () => [] },
          selectedFonts: { type: Array, default: () => [] },
          title: { type: String, default: "Font" },
          description: { type: String, default: "" },
          placeholder: { type: String, default: "Selected font" },
          displayMode: {
            type: String,
            default: "name",
            validator: (e) => ["name", "both"].includes(e),
          },
          showMobileNav: { type: Boolean, default: !0 },
          darkMode: { type: Boolean, default: !1 },
          theme: { type: Object, default: () => ({}) },
          isLoaded: { type: Boolean, default: !1 },
          handleSelectFont: { type: Function, required: !0 },
        },
        emits: ["update:selectedFonts", "update:darkMode", "back"],
        setup(e, { emit: t }) {
          const n = e,
            { selectedFonts: a, fonts: r, darkMode: o } = (0, c.QW)(n),
            i = (0, c.KR)(
              "both" == n.displayMode ||
                "zou" == n.config.settings.themes.skin ||
                "default" == n.config.settings.themes.skin
            ),
            l = (0, c.EW)(() => ({ ...n.theme })),
            s = (0, c.EW)(() => {
              const e = l.value;
              return `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${
                o.value ? e.darkTitleColor : e.titleColor
              }] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 ncpc-bg-[${
                o.value ? e.darkActiveButtonColor : e.activeButtonColor
              }] lg:ncpc-bg-transparent lg:ncpc-text-[${
                o.value ? e.darkTitleColor : e.titleColor
              }] ncpc-w-full`;
            }),
            p = (0, c.EW)(() => {
              const e = l.value;
              return `ncpc-text-xs ncpc-font-normal ncpc-lowercase ncpc-text-[${
                e.activeButtonTextColor
              }] first-letter:ncpc-uppercase ncpc-text-[${
                o.value ? e.darkDescriptionColor : e.descriptionColor
              }]`;
            }),
            u = (0, c.EW)(() => {
              const e = l.value;
              return `ncpc-w-fit ncpc-cursor-pointer ncpc-items-center ncpc-space-x-3 ncpc-border-[${
                o.value ? e.darkActiveButtonColor : e.activeButtonColor
              }] ncpc-text-[${
                o.value ? e.darkActiveButtonColor : e.activeButtonColor
              }]  ncpc-px-2 ncpc-border border-gray-400 ncpc-rounded-md ncpc-flex ncpc-justify-between ncpc-text-base`;
            }),
            d = (0, c.EW)(() => {
              const e = l.value,
                t = n.selectedFonts[0],
                c = t ? t.label.replaceAll(" ", "-").replaceAll("_", "-") : "";
              return `ncpc-text-[${
                o.value ? e.darkOptionTextColor : e.titleColor
              }] ncpc-font-[${c}] lg:ncpc-text-sm xl:ncpc-text-base text-fonts`;
            }),
            f = (0, c.EW)(
              () =>
                "ncpc-w-4 ncpc-h-4 lg:w-4 lg:ncpc-h-4 xl:ncpc-w-4 xl:ncpc-h-4 ncpc-transition-transform ncpc-duration-300 ncpc-ease-in-out " +
                (i.value ? "ncpc-rotate-180" : "ncpc-rotate-0")
            ),
            h = () => {
              i.value = !i.value;
            },
            m = (e) => {
              n.handleSelectFont(e);
            };
          return (t, v) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-space-y-1 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "fonts",
              },
              [
                (0, c.bo)(
                  (0, c.Lk)(
                    "div",
                    re,
                    [
                      (0, c.Q3)(" Header Section "),
                      (0, c.Lk)(
                        "div",
                        { class: (0, c.C4)(s.value) },
                        [
                          (0, c.Q3)(" Title and Description "),
                          (0, c.Lk)("div", oe, [
                            (0, c.Lk)(
                              "p",
                              {
                                class: (0, c.C4)([
                                  "title-sections",
                                  `ncpc-text-[${e.theme.activeButtonTextColor}] lg:ncpc-text-[${e.theme.titleColor}]`,
                                ]),
                              },
                              (0, c.v_)(
                                "" != e.title.trim() ? e.title : "Fonts"
                              ),
                              3
                            ),
                            e.description
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "p",
                                  { key: 0, class: (0, c.C4)(p.value) },
                                  (0, c.v_)(e.description),
                                  3
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                        ],
                        2
                      ),
                      (0, c.Q3)(" Desktop Dropdown "),
                      (0, c.bo)(
                        (0, c.Lk)(
                          "div",
                          ie,
                          [
                            "zou" != e.config.settings.themes.skin &&
                            "default" != n.config.settings.themes.skin &&
                            "both" != e.displayMode
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "div",
                                  {
                                    key: 0,
                                    onClick: h,
                                    class: (0, c.C4)(u.value),
                                  },
                                  [
                                    (0, c.Lk)("div", le, [
                                      (0, c.R1)(a).length > 0
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "p",
                                            {
                                              key: 0,
                                              class: (0, c.C4)(d.value),
                                            },
                                            (0, c.v_)((0, c.R1)(a)[0].label),
                                            3
                                          ))
                                        : ((0, c.uX)(),
                                          (0, c.CE)(
                                            "p",
                                            se,
                                            (0, c.v_)(e.placeholder),
                                            1
                                          )),
                                    ]),
                                    (0, c.Lk)("div", pe, [
                                      ((0, c.uX)(),
                                      (0, c.CE)(
                                        "svg",
                                        {
                                          viewBox: "0 0 14 8",
                                          fill: "currentColor",
                                          xmlns: "http://www.w3.org/2000/svg",
                                          class: (0, c.C4)(f.value),
                                        },
                                        v[0] ||
                                          (v[0] = [
                                            (0, c.Lk)(
                                              "path",
                                              {
                                                d: "M6.99999 5.172L11.95 0.222L13.364 1.636L6.99999 8L0.635986 1.636L2.04999 0.222L6.99999 5.172Z",
                                              },
                                              null,
                                              -1
                                            ),
                                          ]),
                                        2
                                      )),
                                    ]),
                                  ],
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ],
                          512
                        ),
                        [[c.aG, (0, c.R1)(r).length > 0]]
                      ),
                      (0, c.Q3)(" Mobile Font Options "),
                      (0, c.Lk)("div", ue, [
                        ((0, c.uX)(!0),
                        (0, c.CE)(
                          c.FK,
                          null,
                          (0, c.pI)(
                            (0, c.R1)(r),
                            (t, n) => (
                              (0, c.uX)(),
                              (0, c.Wv)(
                                ae,
                                {
                                  key: n,
                                  font: t,
                                  selected: (0, c.R1)(a).includes(t),
                                  "display-mode": e.displayMode,
                                  theme: l.value,
                                  darkMode: (0, c.R1)(o),
                                  onSelect: m,
                                },
                                null,
                                8,
                                [
                                  "font",
                                  "selected",
                                  "display-mode",
                                  "theme",
                                  "darkMode",
                                ]
                              )
                            )
                          ),
                          128
                        )),
                      ]),
                      (0, c.Q3)(" Desktop Dropdown Content "),
                      (0, c.bo)(
                        (0, c.Lk)(
                          "div",
                          de,
                          [
                            (0, c.Lk)("div", fe, [
                              ((0, c.uX)(!0),
                              (0, c.CE)(
                                c.FK,
                                null,
                                (0, c.pI)(
                                  (0, c.R1)(r),
                                  (t, n) => (
                                    (0, c.uX)(),
                                    (0, c.Wv)(
                                      ae,
                                      {
                                        key: n,
                                        font: t,
                                        selected: (0, c.R1)(a).includes(t),
                                        "display-mode": e.displayMode,
                                        theme: l.value,
                                        darkMode: (0, c.R1)(o),
                                        onSelect: m,
                                      },
                                      null,
                                      8,
                                      [
                                        "font",
                                        "selected",
                                        "display-mode",
                                        "theme",
                                        "darkMode",
                                      ]
                                    )
                                  )
                                ),
                                128
                              )),
                            ]),
                          ],
                          512
                        ),
                        [[c.aG, i.value]]
                      ),
                    ],
                    512
                  ),
                  [[c.aG, !e.isLoaded]]
                ),
              ],
              2
            )
          );
        },
      };
      n(6053);
      var me = (0, T.A)(he, [["__scopeId", "data-v-72783d56"]]);
      const ve = { class: "ncpc-space-y-2" },
        ge = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        be = { class: "ncpc-space-y-2 ncpc-flex ncpc-flex-col" },
        xe = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        we = { class: "title-sections" },
        ye = { key: 0 },
        ke = {
          class:
            "ncpc-flex ncpc-flex-wrap ncpc-gap-4 ncpc-p-2 lg:ncpc-p-0 ncpc-w-full",
        },
        Ce = ["onClick"],
        Re = {
          class:
            "ncpc-m-0 ncpc-text-base lg:ncpc-text-sm xl:ncpc-text-base ncpc-font-medium ncpc-lowercase first-letter:ncpc-uppercase title-options",
        },
        Oe = {
          class: "ncpc-m-0 ncpc-text-[10px] ncpc-lowercase description-options",
        },
        $e = {
          class:
            "ncpc-m-0 ncpc-text-base lg:ncpc-text-sm xl:ncpc-text-base ncpc-font-medium",
        },
        Le = { key: 0 },
        Se = ["min", "max", "step", "value", "size-heigth"],
        Ee = {
          class:
            "ncpc-flex ncpc-flex-wrap ncpc-gap-[10px] ncpc-p-2 lg:ncpc-p-0 ncpc-w-full",
        },
        Ie = ["onClick"];
      var Te = {
        __name: "sizes",
        props: {
          pricing: { type: String, default: "standard" },
          themesColors: { type: Object, required: !0 },
          darkMode: { type: Boolean, default: !1 },
          settings: { type: Object, default: () => ({}) },
          requiredOptions: { type: Object, required: !0 },
          currentSize: { type: Object, default: () => ({ id: null }) },
          defaultSize: { type: Object, required: !0 },
          currentSignSize: { type: Object, required: !0 },
          dimensionsFormat: { type: String, default: "decimal" },
          customSizeMinScale: { type: Number, default: 0.1 },
        },
        emits: [
          "backToStart",
          "displayInfo",
          "changeCurrentSize",
          "changeSizeWithCustomSize",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (e, t) => {
              console.log(e, "change"), a("changeCurrentSize", e, t);
            },
            o = (e) => {
              a("changeSizeWithCustomSize", e);
            },
            i = (e) => {
              const t = n.currentSize.id === e;
              return n.darkMode
                ? (t
                    ? `ncpc-selected ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] ncpc-bg-[${n.themesColors.darkActiveOptionBackgroundColor}] ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                    : `ncpc-text-[${n.themesColors.darkOptionTextColor}] ncpc-border-[${n.themesColors.darkOptionBorderColor}]`) +
                    ` hover:ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] hover:ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                : (t
                    ? `ncpc-selected ncpc-text-[${n.themesColors.activeOptionTextColor}] ncpc-bg-[${n.themesColors.activeOptionBackgroundColor}] ncpc-border-[${n.themesColors.activeOptionBorderColor}]`
                    : `ncpc-text-[${n.themesColors.optionTextColor}] ncpc-border-[${n.themesColors.optionBorderColor}]`) +
                    ` hover:ncpc-text-[${n.themesColors.activeOptionTextColor}] hover:ncpc-border-[${n.themesColors.activeOptionBorderColor}]`;
            },
            l = () => {
              const e = "custom-size" === n.currentSize.id;
              return n.darkMode
                ? (e
                    ? `ncpc-selected ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] ncpc-bg-[${n.themesColors.darkActiveOptionBackgroundColor}] ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                    : `ncpc-text-[${n.themesColors.darkOptionTextColor}] ncpc-border-[${n.themesColors.darkOptionBorderColor}]`) +
                    ` hover:ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] hover:ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                : (e
                    ? `ncpc-selected ncpc-text-[${n.themesColors.activeOptionTextColor}] ncpc-bg-[${n.themesColors.activeOptionBackgroundColor}] ncpc-border-[${n.themesColors.activeOptionBorderColor}]`
                    : `ncpc-text-[${n.themesColors.optionTextColor}] ncpc-border-[${n.themesColors.optionBorderColor}]`) +
                    ` hover:ncpc-text-[${n.themesColors.activeOptionTextColor}] hover:ncpc-border-[${n.themesColors.activeOptionBorderColor}]`;
            },
            s = (e) => {
              const t = n.currentSize.id === e;
              return n.darkMode
                ? (t
                    ? `ncpc-selected ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] ncpc-bg-[${n.themesColors.darkActiveOptionBackgroundColor}] ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                    : `ncpc-text-[${n.themesColors.darkOptionTextColor}] ncpc-border-[${n.themesColors.darkOptionBorderColor}]`) +
                    ` hover:ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] hover:ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                : (t
                    ? `ncpc-selected ncpc-text-[${n.themesColors.activeOptionTextColor}] ncpc-bg-[${n.themesColors.activeOptionBackgroundColor}] ncpc-border-[${n.themesColors.activeOptionBorderColor}]`
                    : `ncpc-text-[${n.themesColors.optionTextColor}] ncpc-border-[${n.themesColors.optionBorderColor}]`) +
                    ` hover:ncpc-text-[${n.themesColors.activeOptionTextColor}] hover:ncpc-border-[${n.themesColors.activeOptionBorderColor}]`;
            },
            p = (e) => {
              n.currentSize.id;
              return n.darkMode
                ? `ncpc-text-[${n.themesColors.darkOptionTextColor}]`
                : `ncpc-text-[${n.themesColors.optionTextColor}]`;
            },
            u = (e) => {
              const t = n.currentSize.id === e;
              return n.darkMode
                ? t
                  ? `ncpc-selected ncpc-text-[${n.themesColors.darkActiveOptionDescriptionColor}]`
                  : `ncpc-text-[${n.themesColors.darkActiveOptionDescriptionColor}]`
                : t
                ? `ncpc-selected ncpc-text-[${n.themesColors.activeOptionDescriptionColor}]`
                : `ncpc-text-[${n.themesColors.activeOptionDescriptionColor}]`;
            },
            d = () => {
              const { cm: e, in: t } = n.currentSignSize,
                { measurementUnit: c, showHideMeasurements: a } =
                  n.settings.generals.customizer;
              let r = "";
              return (
                ("both" !== c && "cm" !== c) ||
                  (("both" !== a && "only-width" !== a) ||
                    (r += `${
                      "decimal" === n.dimensionsFormat
                        ? parseFloat(e.width).toFixed(3)
                        : Math.round(e.width)
                    }cm`),
                  "both" === a && (r += " x "),
                  ("both" !== a && "only-height" !== a) ||
                    (r += `${
                      "decimal" === n.dimensionsFormat
                        ? parseFloat(e.height).toFixed(3)
                        : Math.round(e.height)
                    }cm`)),
                "both" === c && (r += "/"),
                ("both" !== c && "in" !== c) ||
                  (("both" !== a && "only-width" !== a) ||
                    (r += `${
                      "decimal" === n.dimensionsFormat
                        ? parseFloat(t.width).toFixed(3)
                        : Math.round(t.width)
                    }in`),
                  "both" === a && (r += " x "),
                  ("both" !== a && "only-height" !== a) ||
                    (r += `${
                      "decimal" === n.dimensionsFormat
                        ? parseFloat(t.height).toFixed(3)
                        : Math.round(t.height)
                    }in`)),
                r
              );
            };
          return (t, f) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar",
                  "default" == e.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "sizes",
              },
              [
                (0, c.Lk)("div", ve, [
                  (0, c.Q3)(" Header Section "),
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${
                          e.darkMode
                            ? e.themesColors.darkActiveButtonTextColor
                            : e.themesColors.activeButtonTextColor
                        }] ncpc-bg-[${
                          e.darkMode
                            ? e.themesColors.darkActiveButtonColor
                            : e.themesColors.activeButtonColor
                        }] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${
                          e.themesColors.titleColor
                        }] ncpc-w-full`
                      ),
                    },
                    [
                      (0, c.Q3)(" Title Section "),
                      (0, c.Lk)("div", ge, [
                        (0, c.Lk)("div", be, [
                          (0, c.Lk)("div", xe, [
                            (0, c.Lk)(
                              "p",
                              we,
                              (0, c.v_)(
                                e.requiredOptions.sizeOptions.label || "Size"
                              ),
                              1
                            ),
                            (0, c.Q3)(" Info Icon "),
                            e.settings?.infos?.sizes &&
                            "" !== e.settings.infos.sizes.trim()
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    class: (0, c.C4)([
                                      `ncpc-flex ncpc-text-[${
                                        e.darkMode
                                          ? e.themesColors
                                              .darkActiveButtonTextColor
                                          : e.themesColors.activeButtonTextColor
                                      }] ${
                                        e.darkMode
                                          ? `lg:ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                          : `lg:ncpc-text-[${e.themesColors.activeButtonColor}]`
                                      }`,
                                      "ncpc-cursor-pointer",
                                    ]),
                                    onClick:
                                      f[0] ||
                                      (f[0] = (t) => {
                                        return (
                                          (n = e.settings.infos.sizes),
                                          void a("displayInfo", n)
                                        );
                                        var n;
                                      }),
                                  },
                                  f[2] ||
                                    (f[2] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          (0, c.Q3)(" Description "),
                          e.requiredOptions.sizeOptions.description
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    `ncpc-text-xs ncpc-font-normal lowercase first-letter:uppercase ncpc-text-[${
                                      e.themesColors.activeButtonTextColor
                                    }] ${
                                      e.darkMode
                                        ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`
                                    }`
                                  ),
                                },
                                (0, c.v_)(
                                  e.requiredOptions.sizeOptions.description
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Content Section "),
                  (0, c.Lk)("div", null, [
                    (0, c.Q3)(" Advanced Pricing Mode "),
                    "advanced" === e.pricing
                      ? ((0, c.uX)(),
                        (0, c.CE)("div", ye, [
                          (0, c.Lk)("div", ke, [
                            (0, c.Q3)(" Size Options "),
                            ((0, c.uX)(!0),
                            (0, c.CE)(
                              c.FK,
                              null,
                              (0, c.pI)(
                                e.requiredOptions.sizeOptions.sizes,
                                (t, n) => {
                                  return (
                                    (0, c.uX)(),
                                    (0, c.CE)(
                                      "div",
                                      {
                                        key: n,
                                        class: (0, c.C4)([
                                          "ncpc-py-2 ncpc-px-4 ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-justify-between ncpc-w-full ncpc-gap-2 ncpc-border ncpc-rounded ncpc-options-item",
                                          i(n),
                                        ]),
                                        onClick: (e) => r(t, n),
                                        style: {
                                          "border-radius": "5px !important",
                                        },
                                      },
                                      [
                                        (0, c.Lk)(
                                          "p",
                                          Re,
                                          (0, c.v_)(t.label),
                                          1
                                        ),
                                        (0, c.Lk)(
                                          "p",
                                          Oe,
                                          (0, c.v_)(
                                            ((a = t.scaleMultiplier),
                                            (o = e.defaultSize),
                                            `${Math.round(
                                              o.cm.width * a
                                            )}cm x ${Math.round(
                                              o.cm.height * a
                                            )}cm`)
                                          ),
                                          1
                                        ),
                                      ],
                                      10,
                                      Ce
                                    )
                                  );
                                  var a, o;
                                }
                              ),
                              128
                            )),
                            (0, c.Q3)(" Custom Size Option "),
                            e.requiredOptions.sizeOptions.customSize.activate
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "div",
                                  {
                                    key: 0,
                                    class: (0, c.C4)([
                                      "ncpc-py-2 ncpc-px-4 ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-center ncpc-w-full ncpc-gap-2 ncpc-border ncpc-rounded ncpc-options-item ncpc-options-size-custom",
                                      l(),
                                    ]),
                                    onClick:
                                      f[1] ||
                                      (f[1] = (e) => r({}, "custom-size")),
                                  },
                                  [
                                    (0, c.Lk)(
                                      "p",
                                      $e,
                                      (0, c.v_)(
                                        e.requiredOptions.sizeOptions.customSize
                                          .customs.label || "Custom"
                                      ),
                                      1
                                    ),
                                  ],
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          (0, c.Q3)(" Custom Size Range "),
                          "custom-size" === e.currentSize.id &&
                          0 !== e.defaultSize.in.width
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    (e.darkMode
                                      ? `ncpc-text-[${e.themesColors.darkActiveOptionTextColor}]`
                                      : `ncpc-text-[${e.themesColors.activeOptionTextColor}]`) +
                                      " ncpc-px-4 lg:ncpc-px-0 lg:ncpc-mt-4 ncpc-animate-slideDown ncpc-size-range-container"
                                  ),
                                },
                                [
                                  (0, c.Q3)(" Size Display "),
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class: (0, c.C4)(
                                        (e.darkMode
                                          ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                          : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                          " ncpc-flex ncpc-justify-center ncpc-items-center ncpc-font-medium ncpc-text-sm ncpc-mb-2"
                                      ),
                                    },
                                    [
                                      0 !== e.currentSignSize.cm.height
                                        ? ((0, c.uX)(),
                                          (0, c.CE)("p", Le, (0, c.v_)(d()), 1))
                                        : (0, c.Q3)("v-if", !0),
                                    ],
                                    2
                                  ),
                                  (0, c.Q3)(" Range Input "),
                                  (0, c.Lk)(
                                    "input",
                                    {
                                      class:
                                        "ncpc-w-full h-1.5 ncpc-bg-gray-400 ncpc-rounded-lg ncpc-cursor-pointer",
                                      type: "range",
                                      onChange: o,
                                      id: "ncpc-sizeRange",
                                      min:
                                        "decimal" === n.dimensionsFormat
                                          ? Number(
                                              parseFloat(
                                                n.defaultSize.cm.width *
                                                  n.customSizeMinScale
                                              ).toFixed(3)
                                            )
                                          : Math.round(
                                              n.defaultSize.cm.width *
                                                n.customSizeMinScale,
                                              10
                                            ) > 4
                                          ? Math.ceil(
                                              n.defaultSize.cm.width *
                                                n.customSizeMinScale
                                            )
                                          : Math.floor(
                                              n.defaultSize.cm.width *
                                                n.customSizeMinScale
                                            ),
                                      max:
                                        e.requiredOptions.sizeOptions.customSize
                                          .customs.maxRange || 300,
                                      step:
                                        e.requiredOptions.sizeOptions.customSize
                                          .customs.step || 1,
                                      value: e.currentSignSize.cm.width,
                                      "size-heigth":
                                        e.currentSignSize.cm.height,
                                    },
                                    null,
                                    40,
                                    Se
                                  ),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]))
                      : ((0, c.uX)(),
                        (0, c.CE)(
                          c.FK,
                          { key: 1 },
                          [
                            (0, c.Q3)(" Standard Pricing Mode "),
                            (0, c.Lk)("div", null, [
                              (0, c.Lk)("div", Ee, [
                                ((0, c.uX)(!0),
                                (0, c.CE)(
                                  c.FK,
                                  null,
                                  (0, c.pI)(
                                    e.requiredOptions.sizeOptions.sizes,
                                    (e, t) => (
                                      (0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: t,
                                          class:
                                            "ncpc-w-full lg:ncpc-w-[calc(50%-10px)]",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "div",
                                            {
                                              class: (0, c.C4)([
                                                "ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-justify-between ncpc-border ncpc-rounded ncpc-options-item",
                                                s(t),
                                              ]),
                                              onClick: (n) => r(e, t),
                                              style: {
                                                "border-radius":
                                                  "5px !important",
                                                "padding-top": "0.5rem",
                                                "padding-bottom": "0.5rem",
                                                "padding-left": "1rem",
                                                "padding-right": "1rem",
                                              },
                                            },
                                            [
                                              (0, c.Lk)(
                                                "p",
                                                {
                                                  class: (0, c.C4)([
                                                    p(t),
                                                    "ncpc-m-0 ncpc-text-base lg:ncpc-text-sm xl:ncpc-text-base ncpc-font-medium ncpc-lowercase first-letter:ncpc-uppercase title-options",
                                                  ]),
                                                },
                                                (0, c.v_)(e.label),
                                                3
                                              ),
                                              (0, c.Lk)(
                                                "p",
                                                {
                                                  class: (0, c.C4)([
                                                    u(t),
                                                    "ncpc-m-0 ncpc-text-[10px] ncpc-lowercase description-options",
                                                  ]),
                                                },
                                                (0, c.v_)(e.description),
                                                3
                                              ),
                                            ],
                                            10,
                                            Ie
                                          ),
                                        ]
                                      )
                                    )
                                  ),
                                  128
                                )),
                              ]),
                            ]),
                          ],
                          2112
                        )),
                  ]),
                ]),
              ],
              2
            )
          );
        },
      };
      n(6471);
      var Ae = (0, T.A)(Te, [["__scopeId", "data-v-b4759d52"]]),
        Be = n(9465);
      const Me = { key: 0 },
        je = { key: 1 },
        _e = { class: "ncpc-m-0 ncpc-text-[12.5px]" },
        ze = {
          class:
            "ncpc-relative ncpc-overflow-hidden ncpc-backdrop-blur-sm ncpc-transition-all ncpc-duration-300",
        },
        Fe = ["src", "alt"],
        De = { class: "ncpc-fullscreen-container" },
        Pe = {
          class:
            "ncpc-image-container ncpc-flex ncpc-items-center ncpc-justify-center ncpc-h-full ncpc-p-4",
        },
        He = ["src", "alt"];
      var Xe = {
        __name: "show-example",
        props: {
          example: String,
          showExampleOnHover: Boolean,
          useExampleIcon: Boolean,
          themesColors: Object,
          darkMode: Boolean,
          exampleText: String,
          alt: String,
        },
        setup(e) {
          const t = e,
            n = (0, c.KR)(),
            a = (0, c.KR)(),
            r = (0, c.KR)(!1),
            o = () => {
              (0, c.R1)(a)?.popperRef?.delayHide?.();
            },
            i = () => {
              (r.value = !0), (document.body.style.overflow = "hidden");
            },
            l = () => {
              (r.value = !1), (document.body.style.overflow = "");
            },
            s = (e) => {
              "Escape" === e.key && r.value && l();
            },
            p = (e, t) => {
              document.documentElement.style.setProperty(e, t);
            },
            u = () => {
              p(
                "--el-bg-color-overlay",
                t.darkMode
                  ? t.themesColors.darkActiveButtonColor
                  : t.themesColors.activeButtonColor
              ),
                p(
                  "--el-bg-color",
                  t.darkMode
                    ? t.themesColors.darkFinishModalColor
                    : t.themesColors.finishModalColor
                );
            };
          return (
            (0, c.wB)(
              [() => t.example, () => t.darkMode],
              () => {
                u();
              },
              { immediate: !0, deep: !0 }
            ),
            (0, c.sV)(() => {
              u(), document.addEventListener("keydown", s);
            }),
            (0, c.hi)(() => {
              document.removeEventListener("keydown", s),
                (document.body.style.overflow = "");
            }),
            (s, p) => {
              const u = (0, c.g2)("el-popover"),
                d = (0, c.g2)("el-dialog");
              return (
                (0, c.uX)(),
                (0, c.CE)("div", null, [
                  (0, c.bo)(
                    ((0, c.uX)(),
                    (0, c.CE)(
                      "span",
                      {
                        ref_key: "buttonRef",
                        ref: n,
                        onClick: i,
                        class: (0, c.C4)(
                          `ncpc-cursor-pointer ncpc-z-1 ncpc-w-fit ncpc-h-fit ncpc-top-0 ncpc-right-0 ncpc-absolute ncpc-rounded-bl-lg ${
                            e.darkMode
                              ? `ncpc-border-[${e.themesColors.darkActiveOptionBorderColor}] ncpc-text-[${e.themesColors.darkActiveOptionBorderColor}]`
                              : `ncpc-border-[${e.themesColors.activeOptionBorderColor}] ncpc-text-[${e.themesColors.activeOptionBorderColor}]`
                          }\n         ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-2`
                        ),
                      },
                      [
                        1 == e.useExampleIcon
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "span",
                              Me,
                              p[1] ||
                                (p[1] = [
                                  (0, c.Lk)(
                                    "svg",
                                    {
                                      xmlns: "http://www.w3.org/2000/svg",
                                      fill: "none",
                                      viewBox: "0 0 24 24",
                                      "stroke-width": "1.5",
                                      stroke: "currentColor",
                                      class: "ncpc-w-5 ncpc-h-5",
                                    },
                                    [
                                      (0, c.Lk)("path", {
                                        "stroke-linecap": "round",
                                        "stroke-linejoin": "round",
                                        d: "M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z",
                                      }),
                                      (0, c.Lk)("path", {
                                        "stroke-linecap": "round",
                                        "stroke-linejoin": "round",
                                        d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z",
                                      }),
                                    ],
                                    -1
                                  ),
                                ])
                            ))
                          : ((0, c.uX)(),
                            (0, c.CE)("span", je, [
                              (0, c.Lk)("p", _e, (0, c.v_)(e.exampleText), 1),
                            ])),
                      ],
                      2
                    )),
                    [[(0, c.R1)(Be.A), o]]
                  ),
                  (0, c.Q3)(" Popover pour hover "),
                  e.showExampleOnHover
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        u,
                        {
                          key: 0,
                          ref_key: "popoverRef",
                          ref: a,
                          "virtual-ref": n.value,
                          trigger: "hover",
                          "virtual-triggering": "",
                        },
                        {
                          default: (0, c.k6)(() => [
                            (0, c.Lk)("div", ze, [
                              (0, c.Lk)(
                                "img",
                                {
                                  src: e.example,
                                  alt: e.alt,
                                  class: "ncpc-w-full ncpc-h-auto",
                                },
                                null,
                                8,
                                Fe
                              ),
                            ]),
                            (0, c.Lk)(
                              "div",
                              {
                                class:
                                  "ncpc-absolute ncpc-bottom-0 ncpc-right-0 ncpc-cursor-pointer",
                                onClick: i,
                              },
                              [
                                (0, c.Lk)(
                                  "div",
                                  {
                                    class: (0, c.C4)([
                                      "ncpc-p-1.5 ncpc-w-[30px] ncpc-h-[30px] ncpc-flex ncpc-justify-center ncpc-items-center ncpc-rounded-tl",
                                      `ncpc-bg-[${
                                        e.darkMode
                                          ? e.themesColors.optionTextColor
                                          : e.themesColors.darkOptionTextColor
                                      }] ncpc-text-[${
                                        t.darkMode
                                          ? t.themesColors.darkActiveButtonColor
                                          : t.themesColors.activeButtonColor
                                      }]`,
                                    ]),
                                  },
                                  p[2] ||
                                    (p[2] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          class: "ncpc-w-4 ncpc-h-4",
                                          fill: "none",
                                          stroke: "currentColor",
                                          viewBox: "0 0 24 24",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            "stroke-width": "2",
                                            d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ),
                              ]
                            ),
                          ]),
                          _: 1,
                        },
                        8,
                        ["virtual-ref"]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  (0, c.Q3)(" Modale plein écran "),
                  (0, c.bF)(
                    d,
                    {
                      modelValue: r.value,
                      "onUpdate:modelValue":
                        p[0] || (p[0] = (e) => (r.value = e)),
                      "show-close": !1,
                      "append-to-body": !0,
                      modal: !0,
                      fullscreen: "",
                      class: "ncpc-fullscreen-modal",
                      onClose: l,
                    },
                    {
                      default: (0, c.k6)(() => [
                        (0, c.Lk)("div", De, [
                          (0, c.Q3)(" Bouton de fermeture "),
                          (0, c.Lk)(
                            "button",
                            {
                              onClick: l,
                              class:
                                "ncpc-close-btn ncpc-absolute ncpc-top-4 ncpc-right-4 ncpc-z-50 ncpc-bg-black ncpc-bg-opacity-50 ncpc-text-white ncpc-rounded-full ncpc-p-2 ncpc-hover:bg-opacity-70 ncpc-transition-all",
                            },
                            p[3] ||
                              (p[3] = [
                                (0, c.Lk)(
                                  "svg",
                                  {
                                    class: "ncpc-w-6 ncpc-h-6",
                                    fill: "none",
                                    stroke: "currentColor",
                                    viewBox: "0 0 24 24",
                                  },
                                  [
                                    (0, c.Lk)("path", {
                                      "stroke-linecap": "round",
                                      "stroke-linejoin": "round",
                                      "stroke-width": "2",
                                      d: "M6 18L18 6M6 6l12 12",
                                    }),
                                  ],
                                  -1
                                ),
                              ])
                          ),
                          (0, c.Q3)(" Image en grand "),
                          (0, c.Lk)("div", Pe, [
                            (0, c.Lk)(
                              "img",
                              {
                                src: e.example,
                                alt: e.alt,
                                class:
                                  "ncpc-max-w-full ncpc-max-h-full ncpc-object-contain",
                                onClick: l,
                              },
                              null,
                              8,
                              He
                            ),
                          ]),
                        ]),
                      ]),
                      _: 1,
                    },
                    8,
                    ["modelValue"]
                  ),
                ])
              );
            }
          );
        },
      };
      n(4144);
      var Ne = (0, T.A)(Xe, [["__scopeId", "data-v-9da8b206"]]);
      const Qe = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        We = { class: "ncpc-flex ncpc-justify-between ncpc-w-full" },
        Ue = { class: "ncpc-flex ncpc-flex-col ncpc-space-y-2" },
        Ke = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        qe = { key: 0, class: "title-sections" },
        Ve = { key: 1, class: "title-sections" },
        Ge = {
          class: "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-hidden",
        },
        Ye = { class: "ncpc-flex ncpc-px-2 ncpc-text-sm" },
        Ze = { class: "ncpc-flex ncpc-justify-between ncpc-items-center" },
        Je = {
          class:
            "ncpc-flex ncpc-flex-wrap ncpc-gap-3 ncpc-justify-start ncpc-p-2 lg:ncpc-p-0",
        },
        et = ["onClick"],
        tt = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        nt = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        ct = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        at = ["src", "alt"];
      var rt = {
        __name: "colors",
        props: {
          config: { type: Object, required: !0 },
          themesColors: { type: Object, required: !0 },
          currentsColors: { type: Array, default: () => [] },
          currentSignSize: {
            type: Object,
            default: () => ({ cm: { width: 0, height: 0 } }),
          },
          darkMode: { type: Boolean, default: !1 },
          neonColorImg: { type: String, default: "" },
          currencySymbol: { type: String, default: "$" },
          currentIndex: { type: Number, default: 0 },
          sortOptions: { type: Array, default: () => [] },
        },
        emits: [
          "update:currentsColor",
          "back-to-start",
          "handle-display-info",
          "change-currents-colors",
          "prec",
          "next",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            { currentsColors: r, darkMode: o } = (0, c.QW)(n),
            i = (0, c.EW)(() => n.config.requiredOptions || {}),
            l = (0, c.EW)(() =>
              i.value.colorOptions?.colors
                ? i.value.colorOptions.colors.filter((e) =>
                    "one-of-two" === e.visibilityRule
                      ? n.currentSignSize.cm.width >= parseFloat(e.minWidth) ||
                        n.currentSignSize.cm.height >= parseFloat(e.minHeight)
                      : "both" !== e.visibilityRule ||
                        (n.currentSignSize.cm.width >= parseFloat(e.minWidth) &&
                          n.currentSignSize.cm.height >=
                            parseFloat(e.minHeight))
                  )
                : []
            ),
            s = () => {
              a("prec");
            },
            p = () => {
              a("next");
            },
            u = (e) => n.currentsColors.some((t) => t === e);
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar ncpc-relative",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "colors",
              },
              [
                (0, c.Q3)(" Header Section "),
                (0, c.Lk)(
                  "div",
                  {
                    class: (0, c.C4)(
                      `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}] ncpc-w-full`
                    ),
                  },
                  [
                    (0, c.Q3)(" Main Content "),
                    (0, c.Lk)("div", Qe, [
                      (0, c.Lk)("div", We, [
                        (0, c.Lk)("div", Ue, [
                          (0, c.Lk)("div", Ke, [
                            e.config.requiredOptions.colorOptions.label
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "p",
                                  qe,
                                  (0, c.v_)(
                                    e.config.requiredOptions.colorOptions.label
                                  ),
                                  1
                                ))
                              : ((0, c.uX)(), (0, c.CE)("p", Ve, "Colors")),
                            (0, c.Q3)(" Info Icon "),
                            e.config.settings?.infos?.colors &&
                            "" !== e.config.settings?.infos?.colors.trim()
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 2,
                                    class: (0, c.C4)([
                                      `ncpc-flex ncpc-text-[${
                                        e.themesColors.activeButtonTextColor
                                      }] ${
                                        (0, c.R1)(o)
                                          ? `lg:ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                          : `lg:ncpc-text-[${e.themesColors.activeButtonColor}]`
                                      }`,
                                      "ncpc-cursor-pointer",
                                    ]),
                                    onClick:
                                      n[0] ||
                                      (n[0] = (t) => {
                                        return (
                                          (n =
                                            e.config.settings?.infos?.colors),
                                          void a("handle-display-info", n)
                                        );
                                        var n;
                                      }),
                                  },
                                  n[1] ||
                                    (n[1] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          (0, c.Q3)(" Description (Desktop) "),
                          e.config.requiredOptions.colorOptions.description
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    "description-color ncpc-text-xs ncpc-font-normal ncpc-lowercase first-letter:ncpc-uppercase " +
                                      ((0, c.R1)(o)
                                        ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                  ),
                                },
                                (0, c.v_)(
                                  e.config.requiredOptions.colorOptions
                                    .description
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                      (0, c.Q3)(" Navigation Controls (Hidden) "),
                      (0, c.Lk)("div", Ge, [
                        (0, c.Lk)(
                          "span",
                          { class: "ncpc-cursor-pointer", onClick: s },
                          n[2] ||
                            (n[2] = [
                              (0, c.Lk)(
                                "svg",
                                {
                                  xmlns: "http://www.w3.org/2000/svg",
                                  fill: "none",
                                  viewBox: "0 0 24 24",
                                  "stroke-width": "1.5",
                                  stroke: "currentColor",
                                  class: "ncpc-w-4 ncpc-h-4",
                                },
                                [
                                  (0, c.Lk)("path", {
                                    "stroke-linecap": "round",
                                    "stroke-linejoin": "round",
                                    d: "M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18",
                                  }),
                                ],
                                -1
                              ),
                            ])
                        ),
                        (0, c.Lk)("div", Ye, [
                          n[3] ||
                            (n[3] = (0, c.Lk)(
                              "span",
                              { class: "position" },
                              null,
                              -1
                            )),
                          (0, c.eW)((0, c.v_)(e.currentIndex + 1), 1),
                          n[4] || (n[4] = (0, c.Lk)("span", null, "/", -1)),
                          (0, c.Lk)(
                            "span",
                            null,
                            (0, c.v_)(e.sortOptions.length),
                            1
                          ),
                        ]),
                        (0, c.Lk)(
                          "span",
                          { class: "ncpc-cursor-pointer", onClick: p },
                          n[5] ||
                            (n[5] = [
                              (0, c.Lk)(
                                "svg",
                                {
                                  xmlns: "http://www.w3.org/2000/svg",
                                  fill: "none",
                                  viewBox: "0 0 24 24",
                                  "stroke-width": "1.5",
                                  stroke: "currentColor",
                                  class: "ncpc-w-4 ncpc-h-4",
                                },
                                [
                                  (0, c.Lk)("path", {
                                    "stroke-linecap": "round",
                                    "stroke-linejoin": "round",
                                    d: "M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3",
                                  }),
                                ],
                                -1
                              ),
                            ])
                        ),
                      ]),
                    ]),
                  ],
                  2
                ),
                (0, c.Q3)(" Selected Color Info "),
                (0, c.Lk)("div", Ze, [
                  1 === (0, c.R1)(r).length && (0, c.R1)(r)[0]
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "p",
                        {
                          key: 0,
                          class: (0, c.C4)(
                            ((0, c.R1)(o)
                              ? `ncpc-text-[${e.themesColors.darkOptionTextColor}]`
                              : `ncpc-text-[${e.themesColors.optionTextColor}]`) +
                              " ncpc-text-sm ncpc-lowercase description-color first-letter:ncpc-uppercase ncpc-px-4 lg:ncpc-p-0"
                          ),
                        },
                        (0, c.v_)((0, c.R1)(r)[0].label) +
                          " " +
                          (0, c.v_)(
                            "base" === (0, c.R1)(r)[0].price?.type
                              ? ` (+${e.currencySymbol}${
                                  (0, c.R1)(r)[0].price.value
                                })`
                              : "multiplier" === (0, c.R1)(r)[0].price?.type
                              ? ` (+${(0, c.R1)(r)[0].price.value}%)`
                              : ""
                          ),
                        3
                      ))
                    : (0, c.Q3)("v-if", !0),
                  (0, c.Q3)(" Show Example Component "),
                  1 === (0, c.R1)(r).length &&
                  (0, c.R1)(r)[0] &&
                  "" !== (0, c.R1)(r)[0].popupImg
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        Ne,
                        {
                          key: 1,
                          example: (0, c.R1)(r)[0].popupImg,
                          showExampleOnHover:
                            e.config.settings.generals.customizer
                              ?.showExampleOnHover,
                          useExampleIcon:
                            e.config.settings.generals.customizer
                              .useExampleIcon ?? !0,
                          themesColors: e.themesColors,
                          darkMode: (0, c.R1)(o),
                          exampleText:
                            e.config.settings.generals.customizer?.exampleText,
                        },
                        null,
                        8,
                        [
                          "example",
                          "showExampleOnHover",
                          "useExampleIcon",
                          "themesColors",
                          "darkMode",
                          "exampleText",
                        ]
                      ))
                    : (0, c.Q3)("v-if", !0),
                ]),
                (0, c.Q3)(" Color Grid "),
                (0, c.Lk)("div", Je, [
                  ((0, c.uX)(!0),
                  (0, c.CE)(
                    c.FK,
                    null,
                    (0, c.pI)(
                      l.value,
                      (t, r) => (
                        (0, c.uX)(),
                        (0, c.CE)(
                          "div",
                          {
                            key: r,
                            class:
                              "ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[45px] ncpc-h-[45px]",
                          },
                          [
                            (0, c.Lk)(
                              "div",
                              {
                                onClick: (e) =>
                                  ((e) => {
                                    a("change-currents-colors", e);
                                  })(t),
                                class: (0, c.C4)(
                                  `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                    u(t)
                                      ? "ncpc-selected " +
                                        ((0, c.R1)(o)
                                          ? `ncpc-border-[${e.themesColors.darkActiveOptionBorderColor}]`
                                          : `ncpc-border-[${e.themesColors.activeOptionBorderColor}]`)
                                      : "" +
                                        ((0, c.R1)(o)
                                          ? `ncpc-border-[${e.themesColors.darkOptionBorderColor}]`
                                          : `ncpc-border-[${e.themesColors.optionBorderColor}]`)
                                  } ncpc-rounded-lg ncpc-options-item`
                                ),
                                style: { padding: "0.125rem" },
                              },
                              [
                                (0, c.Lk)(
                                  "label",
                                  {
                                    class: (0, c.C4)(
                                      `${
                                        u(t)
                                          ? `ncpc-drop-shadow-[0px_1px_15px_${
                                              t.codeHex[0]
                                            }] ${
                                              (0, c.R1)(o)
                                                ? `ncpc-border-[${e.themesColors.darkActiveOptionBorderColor}]`
                                                : `ncpc-border-[${e.themesColors.activeOptionBorderColor}]`
                                            }`
                                          : ""
                                      } ncpc-bg-[${
                                        t.codeHex
                                      }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                        t.codeHex[0]
                                      }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden`
                                    ),
                                  },
                                  [
                                    (0, c.Q3)(" Color Preview without Image "),
                                    "" === t.previewImg
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", tt, [
                                          (0, c.Q3)(" Simple Color "),
                                          "simple" === t.type
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                nt,
                                                n[6] ||
                                                  (n[6] = [
                                                    (0, c.Lk)(
                                                      "svg",
                                                      {
                                                        xmlns:
                                                          "http://www.w3.org/2000/svg",
                                                        viewBox: "0 0 24 24",
                                                        fill: "transparent",
                                                        class: "w-9 h-9",
                                                      },
                                                      [
                                                        (0, c.Lk)("path", {
                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                        }),
                                                        (0, c.Lk)("path", {
                                                          "fill-rule":
                                                            "evenodd",
                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                          "clip-rule":
                                                            "evenodd",
                                                        }),
                                                      ],
                                                      -1
                                                    ),
                                                  ])
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                          (0, c.Q3)(" Multi/Flow Color "),
                                          "multi" === t.type ||
                                          "flow" === t.type
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                {
                                                  key: 1,
                                                  class: (0, c.C4)(
                                                    `ncpc-bg-gradient-to-br ncpc-from-[${t.codeHex[0]}] ncpc-via-[${t.codeHex}] ncpc-w-full ncpc-h-full ncpc-p-4`
                                                  ),
                                                },
                                                null,
                                                2
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                        ]))
                                      : (0, c.Q3)("v-if", !0),
                                    (0, c.Q3)(" Color Preview with Image "),
                                    "" !== t.previewImg
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", ct, [
                                          (0, c.Lk)(
                                            "img",
                                            {
                                              src: t.previewImg,
                                              class: "ncpc-w-full ncpc-h-full",
                                              alt: t.label,
                                            },
                                            null,
                                            8,
                                            at
                                          ),
                                        ]))
                                      : (0, c.Q3)("v-if", !0),
                                  ],
                                  2
                                ),
                              ],
                              10,
                              et
                            ),
                          ]
                        )
                      )
                    ),
                    128
                  )),
                ]),
              ],
              2
            )
          );
        },
      };
      n(2385);
      var ot = (0, T.A)(rt, [["__scopeId", "data-v-0b1dc6db"]]);
      const it = { class: (0, c.C4)("ncpc-space-y-1 ncpc-relative") },
        lt = { class: "ncpc-flex ncpc-items-center ncpc-justify-between" },
        st = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        pt = {
          key: 0,
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px] ncpc-options-item",
        },
        ut = ["onClick"],
        dt = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          viewBox: "0 0 24 24",
          fill: "transparent",
          class: "w-9 h-9",
        },
        ft = ["src"];
      var ht = {
        __name: "LetterPartSelector",
        props: {
          letterPart: Object,
          currentColors: Array,
          currentSignSize: Object,
          themesColors: Object,
          darkMode: Boolean,
          settings: Object,
          config: Object,
        },
        emits: ["colorChange"],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (e) => {
              const t = parseFloat(n.currentSignSize.cm.width),
                c = parseFloat(n.currentSignSize.cm.height),
                a = parseFloat(e.minWidth),
                r = parseFloat(e.minHeight);
              return (
                ("one-of-two" === e.visibilityRule && (t >= a || c >= r)) ||
                ("both" === e.visibilityRule && t >= a && c >= r)
              );
            },
            o = (e) =>
              n.darkMode
                ? `ncpc-border-[${
                    e
                      ? n.themesColors.darkActiveOptionBorderColor
                      : n.themesColors.darkOptionBorderColor
                  }]`
                : `ncpc-border-[${
                    e
                      ? n.themesColors.activeOptionBorderColor
                      : n.themesColors.optionBorderColor
                  }]`;
          return (t, i) => {
            return (
              (0, c.uX)(),
              (0, c.CE)("div", it, [
                (0, c.Q3)(" Titre et description "),
                (0, c.Lk)("div", lt, [
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        "ncpc-font-semibold " +
                          (e.darkMode
                            ? "ncpc-text-[" +
                              e.themesColors.darkTitleColor +
                              "]"
                            : "ncpc-text-[" + e.themesColors.titleColor + "]")
                      ),
                    },
                    [
                      (0, c.Lk)(
                        "p",
                        null,
                        (0, c.v_)(
                          e.letterPart.label ||
                            ((l = e.letterPart.type),
                            {
                              face: "Face",
                              trim: "Trim",
                              side: "Side",
                              "back-lit": "Back Lit",
                            }[l] || "Part")
                        ),
                        1
                      ),
                      e.letterPart.description
                        ? ((0, c.uX)(),
                          (0, c.CE)(
                            "p",
                            {
                              key: 0,
                              class: (0, c.C4)(
                                (e.darkMode
                                  ? "ncpc-text-[" +
                                    e.themesColors.darkDescriptionColor +
                                    "]"
                                  : "ncpc-text-[" +
                                    e.themesColors.descriptionColor +
                                    "]") + " font-normal ncpc-text-xs"
                              ),
                            },
                            (0, c.v_)(e.letterPart.description),
                            3
                          ))
                        : (0, c.Q3)("v-if", !0),
                    ],
                    2
                  ),
                ]),
                (0, c.Q3)(" Label sélectionné "),
                1 === e.currentColors.length
                  ? ((0, c.uX)(),
                    (0, c.CE)(
                      "p",
                      {
                        key: 0,
                        class: (0, c.C4)(
                          `ncpc-relative ${
                            e.darkMode
                              ? "ncpc-text-[" +
                                e.themesColors.darkDescriptionColor +
                                "]"
                              : "ncpc-text-[" +
                                e.themesColors.descriptionColor +
                                "]"
                          } font-normal ncpc-text-xs ncpc-py-2 first-letter:ncpc-uppercase`
                        ),
                      },
                      [
                        (0, c.eW)((0, c.v_)(e.currentColors[0].label) + " ", 1),
                        e.currentColors[0].popupImg
                          ? ((0, c.uX)(),
                            (0, c.Wv)(
                              Ne,
                              {
                                key: 0,
                                example: e.currentColors[0].popupImg,
                                showExampleOnHover:
                                  e.config.settings.generals.customizer
                                    ?.showExampleOnHover,
                                useExampleIcon:
                                  e.config.settings.generals.customizer
                                    .useExampleIcon ?? !0,
                                themesColors: e.themesColors,
                                darkMode: e.darkMode,
                                exampleText:
                                  e.config.settings.generals.customizer
                                    ?.exampleText,
                              },
                              null,
                              8,
                              [
                                "example",
                                "showExampleOnHover",
                                "useExampleIcon",
                                "themesColors",
                                "darkMode",
                                "exampleText",
                              ]
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ],
                      2
                    ))
                  : (0, c.Q3)("v-if", !0),
                (0, c.Q3)(" Options couleurs "),
                (0, c.Lk)("div", st, [
                  ((0, c.uX)(!0),
                  (0, c.CE)(
                    c.FK,
                    null,
                    (0, c.pI)(
                      e.letterPart.colors,
                      (t, l) => (
                        (0, c.uX)(),
                        (0, c.CE)(
                          c.FK,
                          { key: l },
                          [
                            r(t)
                              ? ((0, c.uX)(),
                                (0, c.CE)("div", pt, [
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      onClick: (e) =>
                                        ((e) => {
                                          a("colorChange", {
                                            type: n.letterPart.type,
                                            color: e,
                                          });
                                        })(t),
                                      class: (0, c.C4)(
                                        `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                          e.currentColors.includes(t)
                                            ? "ncpc-selected " + o(!0)
                                            : o(!1)
                                        } ncpc-rounded-lg`
                                      ),
                                    },
                                    [
                                      (0, c.Lk)(
                                        "label",
                                        {
                                          class: (0, c.C4)(
                                            `${
                                              e.currentColors.includes(t)
                                                ? "ncpc-drop-shadow-[0px_1px_15px_" +
                                                  t.codeHex +
                                                  "]"
                                                : ""
                                            } ncpc-bg-[${
                                              t.codeHex
                                            }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_' + color.codeHex + '] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden`
                                          ),
                                        },
                                        [
                                          t.previewImg
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "img",
                                                {
                                                  key: 1,
                                                  src: t.previewImg,
                                                  class:
                                                    "ncpc-w-full ncpc-h-full",
                                                },
                                                null,
                                                8,
                                                ft
                                              ))
                                            : ((0, c.uX)(),
                                              (0, c.CE)(
                                                "svg",
                                                dt,
                                                i[0] ||
                                                  (i[0] = [
                                                    (0, c.Lk)(
                                                      "path",
                                                      {
                                                        d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706...",
                                                      },
                                                      null,
                                                      -1
                                                    ),
                                                  ])
                                              )),
                                        ],
                                        2
                                      ),
                                    ],
                                    10,
                                    ut
                                  ),
                                ]))
                              : (0, c.Q3)("v-if", !0),
                          ],
                          64
                        )
                      )
                    ),
                    128
                  )),
                ]),
              ])
            );
            var l;
          };
        },
      };
      const mt = {
          key: 0,
          class:
            "ncpc-relative ncpc-flex ncpc-flex-col ncpc-justify-start ncpc-gap-3",
        },
        vt = ["onClick"],
        gt = {
          class:
            "ncpc-text-base lg:ncpc-text-sm xl:ncpc-text-base ncpc-font-medium ncpc-flex ncpc-justify-between",
        },
        bt = { key: 0 },
        xt = { key: 1 },
        wt = {
          class:
            "ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-gap-2 ncpc-p-2 ncpc-overflow-auto ncpc-noScroll ncpc-justify-evenly",
        },
        yt = ["onClick"],
        kt = {
          class:
            "ncpc-w-full ncpc-h-[100px] ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        Ct = ["src"],
        Rt = {
          class: "ncpc-fonts-label ncpc-w-full ncpc-text-center ncpc-text-sm",
        },
        Ot = { class: "ncpc-m-0" },
        $t = { key: 0 },
        Lt = { key: 1 };
      var St = {
        __name: "SelectableItemList",
        props: {
          items: { type: Array, required: !0 },
          itemClass: String,
          selectedItem: Object,
          displayMode: { type: String, default: "name" },
          currencySymbol: { type: String, default: "$" },
          themesColors: Object,
          darkMode: Boolean,
          showExampleOnHover: Boolean,
          useExampleIcon: { type: Boolean, default: !0 },
          exampleText: String,
        },
        emits: ["select", "update:selectedItem"],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            { selectedItem: r, darkMode: o } = (0, c.QW)(n),
            i = (0, c.EW)(() => n.selectedItem),
            l = (e, t) => a("select", e, t),
            s = (e, t) => {
              const c =
                  i.value && void 0 !== i.value.id && null !== i.value.id
                    ? i.value.id === t
                    : i.value === e,
                a = `${n.itemClass} ncpc-overflow-hidden ncpc-relative ncpc-cursor-pointer m-0 ncpc-p-2 ncpc-px-4 ncpc-rounded-md xl:ncpc-space-y-2 ncpc-border-[1px] ncpc-flex ncpc-flex-col ncpc-justify-center xl:ncpc-justify-start ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out ncpc-options-item`;
              return n.darkMode
                ? `${a} ${
                    c
                      ? `ncpc-selected ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] ncpc-bg-[${n.themesColors.darkActiveOptionBackgroundColor}] ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                      : `ncpc-text-[${n.themesColors.darkOptionTextColor}] ncpc-border-[${n.themesColors.darkOptionBorderColor}]`
                  } hover:ncpc-text-[${
                    n.themesColors.darkActiveOptionTextColor
                  }] hover:ncpc-border-[${
                    n.themesColors.darkActiveOptionBorderColor
                  }]`
                : `${a} ${
                    c
                      ? `ncpc-selected ncpc-text-[${n.themesColors.activeOptionTextColor}] ncpc-bg-[${n.themesColors.activeOptionBackgroundColor}] ncpc-border-[${n.themesColors.activeOptionBorderColor}]`
                      : `ncpc-text-[${n.themesColors.optionTextColor}] ncpc-border-[${n.themesColors.optionBorderColor}]`
                  } hover:ncpc-text-[${
                    n.themesColors.activeOptionTextColor
                  }] hover:ncpc-border-[${
                    n.themesColors.activeOptionBorderColor
                  }]`;
            };
          return (t, n) =>
            "both" !== e.displayMode
              ? ((0, c.uX)(),
                (0, c.CE)("div", mt, [
                  ((0, c.uX)(!0),
                  (0, c.CE)(
                    c.FK,
                    null,
                    (0, c.pI)(
                      e.items,
                      (t, n) => (
                        (0, c.uX)(),
                        (0, c.CE)(
                          "div",
                          { key: n, class: (0, c.C4)("ncpc-w-full") },
                          [
                            (0, c.Lk)(
                              "div",
                              {
                                onClick: (e) => l(t, n),
                                class: (0, c.C4)(`${s(t, n)}`),
                              },
                              [
                                (0, c.Lk)("div", gt, [
                                  (0, c.Lk)(
                                    "p",
                                    {
                                      class: (0, c.C4)(
                                        `m-0 ncpc-text-[${e.themesColors.titleColor}] title-sections`
                                      ),
                                    },
                                    [
                                      (0, c.eW)((0, c.v_)(t.label) + " ", 1),
                                      "base" === t.price?.type
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "span",
                                            bt,
                                            "(+" +
                                              (0, c.v_)(e.currencySymbol) +
                                              (0, c.v_)(t.price.value) +
                                              ")",
                                            1
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "multiplier" === t.price?.type
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "span",
                                            xt,
                                            "(+" +
                                              (0, c.v_)(t.price.value) +
                                              "%)",
                                            1
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ],
                                    2
                                  ),
                                  t.popupImg
                                    ? ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Ne,
                                        {
                                          key: 0,
                                          example: t.popupImg,
                                          showExampleOnHover:
                                            e.showExampleOnHover,
                                          useExampleIcon: e.useExampleIcon,
                                          themesColors: e.themesColors,
                                          darkMode: (0, c.R1)(o),
                                          exampleText: e.exampleText,
                                        },
                                        null,
                                        8,
                                        [
                                          "example",
                                          "showExampleOnHover",
                                          "useExampleIcon",
                                          "themesColors",
                                          "darkMode",
                                          "exampleText",
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                                (0, c.Lk)(
                                  "p",
                                  {
                                    class: (0, c.C4)(
                                      `m-0 ncpc-text-sm ncpc-text-xs text-zinc-400 ncpc-pb-2 ncpc-lowercase first-letter:ncpc-uppercase ncpc-text-[${e.themesColors.activeOptionDescriptionColor}]`
                                    ),
                                  },
                                  (0, c.v_)(t.description),
                                  3
                                ),
                              ],
                              10,
                              vt
                            ),
                          ]
                        )
                      )
                    ),
                    128
                  )),
                ]))
              : ((0, c.uX)(),
                (0, c.CE)(
                  c.FK,
                  { key: 1 },
                  [
                    (0, c.Q3)(" Grille "),
                    (0, c.Lk)("div", wt, [
                      ((0, c.uX)(!0),
                      (0, c.CE)(
                        c.FK,
                        null,
                        (0, c.pI)(
                          e.items,
                          (t, n) => (
                            (0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: n,
                                class: (0, c.C4)([
                                  "ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-between ncpc-w-[150px] ncpc-h-fit ncpc-gap-2 ncpc-border ncpc-rounded",
                                  `${s(t, n)}`,
                                ]),
                                onClick: (e) => l(t, n),
                              },
                              [
                                (0, c.bo)(
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class: (0, c.C4)(
                                        `ncpc-cursor-pointer ncpc-z-1 ncpc-w-fit ncpc-h-fit ncpc-bottom-top-0 ncpc-right-0 ncpc-absolute ncpc-bg-white  ${
                                          (0, c.R1)(o)
                                            ? `ncpc-border-[${e.themesColors.darkActiveOptionBorderColor}] ncpc-text-[${e.themesColors.darkActiveOptionBorderColor}]`
                                            : `ncpc-border-[${e.themesColors.activeOptionBorderColor}] ncpc-text-[${e.themesColors.activeOptionBorderColor}]`
                                        } ncpc-flex ncpc-justify-center ncpc-items-center`
                                      ),
                                    },
                                    [
                                      (0, c.bF)(
                                        Ne,
                                        {
                                          example: t.popupImg,
                                          showExampleOnHover:
                                            e.showExampleOnHover,
                                          useExampleIcon: e.useExampleIcon,
                                          themesColors: e.themesColors,
                                          darkMode: (0, c.R1)(o),
                                          exampleText: e.exampleText,
                                        },
                                        null,
                                        8,
                                        [
                                          "example",
                                          "showExampleOnHover",
                                          "useExampleIcon",
                                          "themesColors",
                                          "darkMode",
                                          "exampleText",
                                        ]
                                      ),
                                    ],
                                    2
                                  ),
                                  [[c.aG, t.popupImg]]
                                ),
                                (0, c.Lk)("div", kt, [
                                  t.previewImg
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "img",
                                        {
                                          key: 0,
                                          src: t.previewImg,
                                          class: "ncpc-w-full ncpc-h-full",
                                        },
                                        null,
                                        8,
                                        Ct
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                                (0, c.Lk)("div", Rt, [
                                  (0, c.Lk)("p", Ot, [
                                    (0, c.eW)((0, c.v_)(t.label) + " ", 1),
                                    "base" === t.price?.type
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "span",
                                          $t,
                                          "(+" +
                                            (0, c.v_)(e.currencySymbol) +
                                            (0, c.v_)(t.price.value) +
                                            ")",
                                          1
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                    "multiplier" === t.price?.type
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "span",
                                          Lt,
                                          "(+" +
                                            (0, c.v_)(t.price.value) +
                                            "%)",
                                          1
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                  ]),
                                ]),
                              ],
                              10,
                              yt
                            )
                          )
                        ),
                        128
                      )),
                    ]),
                  ],
                  2112
                ));
        },
      };
      const Et = { class: "ncpc-space-y-2" },
        It = { class: "ncpc-space-y-2 lg:ncpc-px-3 ncpc-w-full" },
        Tt = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-justify-between ncpc-items-center ncpc-px-2 lg:ncpc-px-0",
        },
        At = { class: "ncpc-space-y-2 ncpc-flex ncpc-flex-col" },
        Bt = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        Mt = { class: "title-sections" },
        jt = { class: "ncpc-flex ncpc-flex-col" },
        _t = {
          class:
            "ncpc-p-2 ncpc-px-3 ncpc-flex ncpc-flex-col ncpc-space-y-2 lg:ncpc-flex-1 lg:landscape:ncpc-flex-1 lg:ncpc-overflow-auto ncpc-noScroll",
        },
        zt = {
          key: 0,
          class:
            "ncpc-relative ncpc-letterParts-container ncpc-flex ncpc-flex-col ncpc-space-y-3 ncpc-w-full",
        };
      var Ft = {
        __name: "letter-types",
        props: {
          config: { type: Object, required: !0 },
          themesColors: { type: Object, required: !0 },
          darkMode: { type: Boolean, default: !1 },
          currentLetterType: { type: Object, required: !0 },
          currentSignSize: { type: Object, required: !0 },
          currencySymbol: { type: String, default: "$" },
          currentFaceColors: { type: Array, default: () => [] },
          currentTrimColors: { type: Array, default: () => [] },
          currentSideColors: { type: Array, default: () => [] },
          currentBackLitColors: { type: Array, default: () => [] },
        },
        emits: [
          "changeCurrentLetterType",
          "changeCurrentsFaceColors",
          "changeCurrentsTrimColors",
          "changeCurrentsSideColors",
          "changeCurrentsBackLitColors",
          "backToStart",
          "displayInfo",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (0, c.EW)(() => n.config.requiredOptions || {}),
            o = (0, c.EW)(
              () =>
                n.config.settings.generals.customizer?.displayOptions ?? "name"
            ),
            i = (e) => {
              a("changeCurrentLetterType", e);
            },
            l = ({ type: e, color: t }) => {
              const n = {
                face: "changeCurrentsFaceColors",
                trim: "changeCurrentsTrimColors",
                side: "changeCurrentsSideColors",
                "back-lit": "changeCurrentsBackLitColors",
              };
              n[e] && a(n[e], t);
            };
          return (t, s) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-h-full no-scrollbar ncpc-relative",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "letter-types",
              },
              [
                (0, c.Lk)("div", Et, [
                  (0, c.Lk)("div", It, [
                    (0, c.Q3)(" Header Section "),
                    (0, c.Lk)(
                      "div",
                      {
                        class: (0, c.C4)(
                          `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}] ncpc-w-full`
                        ),
                      },
                      [
                        (0, c.Q3)(" Mobile Menu Button "),
                        (0, c.Lk)("div", Tt, [
                          (0, c.Lk)("div", At, [
                            (0, c.Lk)("div", Bt, [
                              (0, c.Lk)(
                                "p",
                                Mt,
                                (0, c.v_)(
                                  r.value.letterTypesOptions.label ||
                                    "Letters types"
                                ),
                                1
                              ),
                              e.config.settings?.infos?.letterTypes &&
                              "" !== e.config.settings.infos.letterTypes.trim()
                                ? ((0, c.uX)(),
                                  (0, c.CE)(
                                    "span",
                                    {
                                      key: 0,
                                      class: "ncpc-cursor-pointer",
                                      onClick:
                                        s[0] ||
                                        (s[0] = (t) => {
                                          return (
                                            (n =
                                              e.config.settings.infos
                                                .letterTypes),
                                            void a("displayInfo", n)
                                          );
                                          var n;
                                        }),
                                    },
                                    s[1] ||
                                      (s[1] = [
                                        (0, c.Lk)(
                                          "svg",
                                          {
                                            xmlns: "http://www.w3.org/2000/svg",
                                            fill: "none",
                                            viewBox: "0 0 24 24",
                                            strokeWidth: "{1.5}",
                                            stroke: "currentColor",
                                            class: "ncpc-w-6 ncpc-h-6",
                                          },
                                          [
                                            (0, c.Lk)("path", {
                                              strokeLinecap: "round",
                                              strokeLinejoin: "round",
                                              d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                            }),
                                          ],
                                          -1
                                        ),
                                      ])
                                  ))
                                : (0, c.Q3)("v-if", !0),
                            ]),
                            r.value.letterTypesOptions.description
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "p",
                                  {
                                    key: 0,
                                    class: (0, c.C4)(
                                      "ncpc-text-xs ncpc-font-normal ncpc-lowercase first-letter:ncpc-uppercase " +
                                        (e.darkMode
                                          ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                          : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                    ),
                                  },
                                  (0, c.v_)(
                                    r.value.letterTypesOptions.description
                                  ),
                                  3
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                        ]),
                      ],
                      2
                    ),
                    (0, c.Q3)(" Description Mobile "),
                    (0, c.Lk)("div", null, [
                      (0, c.Lk)("div", jt, [
                        (0, c.bF)(
                          St,
                          {
                            items: r.value.letterTypesOptions.letterTypes,
                            selectedItem: e.currentLetterType,
                            displayMode: o.value,
                            currencySymbol: e.currencySymbol,
                            "item-class": "ncpc-letter-types",
                            themesColors: e.themesColors,
                            darkMode: e.darkMode,
                            showExampleOnHover:
                              e.config.settings.generals.customizer
                                ?.showExampleOnHover,
                            useExampleIcon:
                              e.config.settings.generals.customizer
                                .useExampleIcon ?? !0,
                            exampleText:
                              e.config.settings.generals.customizer
                                ?.exampleText,
                            onSelect: i,
                          },
                          null,
                          8,
                          [
                            "items",
                            "selectedItem",
                            "displayMode",
                            "currencySymbol",
                            "themesColors",
                            "darkMode",
                            "showExampleOnHover",
                            "useExampleIcon",
                            "exampleText",
                          ]
                        ),
                        (0, c.Q3)(" Letter Parts Configuration "),
                        (0, c.Lk)("div", _t, [
                          e.currentLetterType.letterParts
                            ? ((0, c.uX)(),
                              (0, c.CE)("div", zt, [
                                (0, c.Q3)(" Parts Colors "),
                                ((0, c.uX)(!0),
                                (0, c.CE)(
                                  c.FK,
                                  null,
                                  (0, c.pI)(
                                    e.currentLetterType.letterParts,
                                    (t, a) => {
                                      return (
                                        (0, c.uX)(),
                                        (0, c.CE)(
                                          c.FK,
                                          null,
                                          [
                                            t.activate
                                              ? ((0, c.uX)(),
                                                (0, c.Wv)(
                                                  ht,
                                                  {
                                                    key: a,
                                                    letterPart: t,
                                                    currentColors:
                                                      ((r = t.type),
                                                      {
                                                        face: n.currentFaceColors,
                                                        trim: n.currentTrimColors,
                                                        side: n.currentSideColors,
                                                        "back-lit":
                                                          n.currentBackLitColors,
                                                      }[r] || []),
                                                    currentSignSize:
                                                      e.currentSignSize,
                                                    themesColors:
                                                      e.themesColors,
                                                    darkMode: e.darkMode,
                                                    config: e.config,
                                                    onColorChange: l,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "letterPart",
                                                    "currentColors",
                                                    "currentSignSize",
                                                    "themesColors",
                                                    "darkMode",
                                                    "config",
                                                  ]
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                          ],
                                          64
                                        )
                                      );
                                      var r;
                                    }
                                  ),
                                  256
                                )),
                              ]))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                    ]),
                  ]),
                ]),
              ],
              2
            )
          );
        },
      };
      n(2240);
      var Dt = (0, T.A)(Ft, [["__scopeId", "data-v-0677090b"]]);
      const Pt = { class: "ncpc-space-y-2 ncpc-relative" },
        Ht = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        Xt = { class: "ncpc-flex ncpc-flex-col ncpc-space-y-2" },
        Nt = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        Qt = { class: "title-sections" };
      var Wt = {
        __name: "materials",
        props: {
          config: Object,
          themesColors: Object,
          darkMode: Boolean,
          currencySymbol: String,
          currentMaterial: Object,
        },
        emits: ["changeMaterial", "displayInfo", "backToStart"],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (0, c.EW)(
              () =>
                n.config.settings.generals.customizer?.displayOptions ?? "name"
            ),
            o = (e) => {
              a("changeMaterial", e);
            };
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "materials",
              },
              [
                (0, c.Q3)(" En-tête "),
                (0, c.Lk)("div", Pt, [
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}]`
                      ),
                    },
                    [
                      (0, c.Lk)("div", Ht, [
                        (0, c.Lk)("div", Xt, [
                          (0, c.Lk)("div", Nt, [
                            (0, c.Lk)(
                              "p",
                              Qt,
                              (0, c.v_)(
                                e.config.additionalOptions.materialOptions
                                  .label || "Materials"
                              ),
                              1
                            ),
                            e.config.settings?.infos?.materials &&
                            "" !== e.config.settings.infos.materials.trim()
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    class: (0, c.C4)([
                                      `ncpc-flex ncpc-text-[${
                                        e.themesColors.activeButtonTextColor
                                      }] ${
                                        e.darkMode
                                          ? `lg:ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                          : `lg:ncpc-text-[${e.themesColors.activeButtonColor}]`
                                      }`,
                                      "ncpc-cursor-pointer",
                                    ]),
                                    onClick:
                                      n[0] ||
                                      (n[0] = (n) =>
                                        t.$emit(
                                          "displayInfo",
                                          e.config.settings.infos.materials
                                        )),
                                  },
                                  n[1] ||
                                    (n[1] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          e.config.additionalOptions.materialOptions.description
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    "ncpc-text-xs ncpc-font-normal  lowercase first-letter:ncpc-uppercase " +
                                      (e.darkMode
                                        ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                  ),
                                },
                                (0, c.v_)(
                                  e.config.additionalOptions.materialOptions
                                    .description
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Composant réutilisable "),
                  (0, c.bF)(
                    St,
                    {
                      items:
                        e.config.additionalOptions.materialOptions.materials,
                      selectedItem: e.currentMaterial,
                      currencySymbol: e.currencySymbol,
                      displayMode: r.value,
                      themesColors: e.themesColors,
                      "item-class": "ncpc-materials",
                      darkMode: e.darkMode,
                      showExampleOnHover:
                        e.config.settings.generals.customizer
                          ?.showExampleOnHover,
                      useExampleIcon:
                        e.config.settings.generals.customizer.useExampleIcon ??
                        !0,
                      exampleText:
                        e.config.settings.generals.customizer?.exampleText,
                      onSelect: o,
                    },
                    null,
                    8,
                    [
                      "items",
                      "selectedItem",
                      "currencySymbol",
                      "displayMode",
                      "themesColors",
                      "darkMode",
                      "showExampleOnHover",
                      "useExampleIcon",
                      "exampleText",
                    ]
                  ),
                ]),
              ],
              2
            )
          );
        },
      };
      const Ut = { class: "ncpc-space-y-2 ncpc-relative" },
        Kt = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        qt = { class: "ncpc-flex ncpc-flex-col ncpc-space-y-2" },
        Vt = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        Gt = { class: "title-sections" };
      var Yt = {
        __name: "mountings",
        props: {
          config: Object,
          themesColors: Object,
          darkMode: Boolean,
          currencySymbol: String,
          currentMounting: Object,
        },
        emits: ["changeMounting", "displayInfo", "backToStart"],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (0, c.EW)(
              () =>
                n.config.settings.generals.customizer?.displayOptions ?? "name"
            ),
            o = (e) => {
              a("changeMounting", e);
            };
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "mountings",
              },
              [
                (0, c.Q3)(" En-tête "),
                (0, c.Lk)("div", Ut, [
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}]`
                      ),
                    },
                    [
                      (0, c.Lk)("div", Kt, [
                        (0, c.Lk)("div", qt, [
                          (0, c.Lk)("div", Vt, [
                            (0, c.Lk)(
                              "p",
                              Gt,
                              (0, c.v_)(
                                e.config.additionalOptions.mountingOptions
                                  .label || "Mountings"
                              ),
                              1
                            ),
                            e.config.settings?.infos?.mountings &&
                            "" !== e.config.settings.infos.mountings.trim()
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    class: (0, c.C4)([
                                      `ncpc-flex ncpc-text-[${
                                        e.themesColors.activeButtonTextColor
                                      }] ${
                                        e.darkMode
                                          ? `lg:ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                          : `lg:ncpc-text-[${e.themesColors.activeButtonColor}]`
                                      }`,
                                      "ncpc-cursor-pointer",
                                    ]),
                                    onClick:
                                      n[0] ||
                                      (n[0] = (n) =>
                                        t.$emit(
                                          "displayInfo",
                                          e.config.settings.infos.mountings
                                        )),
                                  },
                                  n[1] ||
                                    (n[1] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          e.config.additionalOptions.mountingOptions.description
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    "ncpc-text-xs ncpc-font-normal  lowercase first-letter:ncpc-uppercase " +
                                      (e.darkMode
                                        ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                  ),
                                },
                                (0, c.v_)(
                                  e.config.additionalOptions.mountingOptions
                                    .description
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Composant réutilisable "),
                  (0, c.bF)(
                    St,
                    {
                      items:
                        e.config.additionalOptions.mountingOptions.mountings,
                      selectedItem: e.currentMounting,
                      currencySymbol: e.currencySymbol,
                      displayMode: r.value,
                      themesColors: e.themesColors,
                      "item-class": "ncpc-mountings",
                      darkMode: e.darkMode,
                      showExampleOnHover:
                        e.config.settings.generals.customizer
                          ?.showExampleOnHover,
                      useExampleIcon:
                        e.config.settings.generals.customizer.useExampleIcon ??
                        !0,
                      exampleText:
                        e.config.settings.generals.customizer?.exampleText,
                      onSelect: o,
                    },
                    null,
                    8,
                    [
                      "items",
                      "selectedItem",
                      "currencySymbol",
                      "displayMode",
                      "themesColors",
                      "darkMode",
                      "showExampleOnHover",
                      "useExampleIcon",
                      "exampleText",
                    ]
                  ),
                ]),
              ],
              2
            )
          );
        },
      };
      const Zt = { class: "ncpc-space-y-2" },
        Jt = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        en = { class: "ncpc-flex ncpc-flex-col ncpc-space-y-2" },
        tn = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        nn = { class: "title-sections" };
      var cn = {
        __name: "jackets",
        props: {
          config: Object,
          settings: Object,
          themesColors: Object,
          darkMode: Boolean,
          currencySymbol: String,
          currentJacket: Object,
          currentsColors: Array,
        },
        emits: [
          "update:currentsColors",
          "changeJacket",
          "displayInfo",
          "backToStart",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            { currentsColors: r } = (0, c.QW)(n),
            o = (0, c.EW)(
              () => n.config.requiredOptions.colorOptions.colors || []
            ),
            i = (0, c.EW)(() =>
              o.value
                .map((e, t) => (n.currentsColors.includes(e) ? t : -1))
                .filter((e) => -1 !== e)
            );
          (0, c.wB)(
            r,
            (e) => {
              i.value = o.value
                .map((t, n) => (e.includes(t) ? n : -1))
                .filter((e) => -1 !== e);
            },
            { deep: !0 }
          );
          const l = (e) => {
              a("changeJacket", e);
            },
            s = (0, c.EW)(() => {
              const e = (
                n.config.additionalOptions.jacketOptions.jackets || []
              ).filter((e) => {
                return (
                  !e.colorsExclusions ||
                  0 === e.colorsExclusions.length ||
                  ((t = e),
                  !i.value.some((e) => t.colorsExclusions.includes(e)))
                );
                var t;
              });
              return (
                e.includes(n.currentJacket) || (e.length > 0 ? l(e[0]) : l({})),
                e
              );
            });
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "jackets",
              },
              [
                (0, c.Lk)("div", Zt, [
                  (0, c.Q3)(" En-tête "),
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}]`
                      ),
                    },
                    [
                      (0, c.Lk)("div", Jt, [
                        (0, c.Lk)("div", en, [
                          (0, c.Lk)("div", tn, [
                            (0, c.Lk)(
                              "p",
                              nn,
                              (0, c.v_)(
                                e.config.additionalOptions.jacketOptions
                                  .label || "Jackets"
                              ),
                              1
                            ),
                            e.settings?.infos?.jackets &&
                            "" !== e.settings.infos.jackets.trim()
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    class: "ncpc-cursor-pointer",
                                    onClick:
                                      n[0] ||
                                      (n[0] = (n) =>
                                        t.$emit(
                                          "displayInfo",
                                          e.settings.infos.jackets
                                        )),
                                  },
                                  n[1] ||
                                    (n[1] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ])
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          e.config.additionalOptions.jacketOptions.description
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    "ncpc-text-xs ncpc-font-normal ncpc-lowercase first-letter:ncpc-uppercase " +
                                      (e.darkMode
                                        ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                  ),
                                },
                                (0, c.v_)(
                                  e.config.additionalOptions.jacketOptions
                                    .description
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Liste ou Grille des Jackets "),
                  (0, c.bF)(
                    St,
                    {
                      items: s.value,
                      selectedItem: e.currentJacket,
                      currencySymbol: e.currencySymbol,
                      themesColors: e.themesColors,
                      "item-class": "ncpc-jackets",
                      darkMode: e.darkMode,
                      displayMode:
                        e.config.settings.generals.customizer?.displayOptions ??
                        "name",
                      showExampleOnHover:
                        e.config.settings.generals.customizer
                          ?.showExampleOnHover,
                      useExampleIcon:
                        e.config.settings.generals.customizer.useExampleIcon ??
                        !0,
                      exampleText:
                        e.config.settings.generals.customizer?.exampleText,
                      onSelect: l,
                    },
                    null,
                    8,
                    [
                      "items",
                      "selectedItem",
                      "currencySymbol",
                      "themesColors",
                      "darkMode",
                      "displayMode",
                      "showExampleOnHover",
                      "useExampleIcon",
                      "exampleText",
                    ]
                  ),
                ]),
              ],
              2
            )
          );
        },
      };
      const an = { class: "ncpc-space-y-2 ncpc-relative" },
        rn = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        on = { class: "ncpc-space-y-2 ncpc-flex ncpc-flex-col" },
        ln = { class: "ncpc-flex ncpc-space-x-1 ncpc-items-center" },
        sn = { class: "title-sections" };
      var pn = {
        __name: "backboards",
        props: {
          config: Object,
          settings: Object,
          themesColors: Object,
          darkMode: Boolean,
          currencySymbol: String,
          currentBackboard: Object,
          displayOptions: String,
          isLoaded: Boolean,
        },
        emits: [
          "update:currentBackboard",
          "backToStart",
          "displayInfo",
          "changeBackboard",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            { currentBackboard: r, darkMode: o } = (0, c.QW)(n),
            i = (0, c.EW)(
              () =>
                n.config.settings.generals.customizer?.displayOptions ?? "name"
            );
          function l(e, t) {
            a("changeBackboard", e, t);
          }
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar ncpc-relative",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "backboards",
              },
              [
                (0, c.Lk)("div", an, [
                  (0, c.Q3)(" Title Section "),
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `ncpc-relative ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}]`
                      ),
                    },
                    [
                      (0, c.Lk)("div", rn, [
                        (0, c.Lk)("div", on, [
                          (0, c.Lk)("div", ln, [
                            (0, c.Lk)(
                              "p",
                              sn,
                              (0, c.v_)(
                                e.config.additionalOptions.backboardOptions
                                  .label || "Backboards"
                              ),
                              1
                            ),
                            e.config.settings?.infos?.backboards &&
                            "" !== e.config.settings.infos.backboards.trim()
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    class: "ncpc-cursor-pointer",
                                    onClick:
                                      n[0] ||
                                      (n[0] = (n) =>
                                        t.$emit(
                                          "displayInfo",
                                          e.config.settings.infos.backboards
                                        )),
                                  },
                                  n[1] ||
                                    (n[1] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ])
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          e.config.additionalOptions.backboardOptions
                            .description
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    "ncpc-text-xs ncpc-font-normal ncpc-lowercase first-letter:ncpc-uppercase " +
                                      ((0, c.R1)(o)
                                        ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                  ),
                                },
                                (0, c.v_)(
                                  e.config.additionalOptions.backboardOptions
                                    .description
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Item List or Grid "),
                  (0, c.bF)(
                    St,
                    {
                      items:
                        e.config.additionalOptions.backboardOptions.backboards,
                      "item-class": "ncpc-backboards",
                      selectedItem: (0, c.R1)(r),
                      currencySymbol: e.currencySymbol,
                      themesColors: e.themesColors,
                      darkMode: (0, c.R1)(o),
                      displayMode: i.value,
                      showExampleOnHover:
                        e.config.settings.generals.customizer
                          ?.showExampleOnHover,
                      useExampleIcon:
                        e.config.settings.generals.customizer.useExampleIcon ??
                        !0,
                      exampleText:
                        e.config.settings.generals.customizer?.exampleText,
                      onSelect: l,
                    },
                    null,
                    8,
                    [
                      "items",
                      "selectedItem",
                      "currencySymbol",
                      "themesColors",
                      "darkMode",
                      "displayMode",
                      "showExampleOnHover",
                      "useExampleIcon",
                      "exampleText",
                    ]
                  ),
                ]),
              ],
              2
            )
          );
        },
      };
      n(970);
      var un = (0, T.A)(pn, [["__scopeId", "data-v-e6c972c8"]]);
      const dn = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-2 lg:ncpc-space-y-1 ncpc-w-full",
        },
        fn = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        hn = { class: "ncpc-space-y-2 ncpc-flex ncpc-flex-col" },
        mn = { key: 0, class: "title-sections" },
        vn = { key: 1, class: "title-sections" },
        gn = { key: 0, class: "ncpc-flex ncpc-space-y-2 ncpc-relative" },
        bn = {
          key: 1,
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-3 ncpc-justify-start",
        },
        xn = ["onClick"],
        wn = { class: "ncpc-w-full ncpc-h-full ncpc-relative" },
        yn = ["src"],
        kn = { id: "ncpc-layers" },
        Cn = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-2 ncpc-justify-start",
        },
        Rn = ["onClick"],
        On = { class: "ncpc-w-full ncpc-h-full ncpc-relative" },
        $n = ["src"];
      var Ln = {
        __name: "backboards-colors",
        props: {
          config: Object,
          currentBackboard: Object,
          currentBackboardColor: Object,
          currentLayersColors: Object,
          currentSignSize: Object,
          enableBackboardsColors: Array,
          themesColors: Object,
          darkMode: Boolean,
          currencySymbol: String,
        },
        emits: [
          "update:currentSignSize",
          "update:currentBackboard",
          "update:currentLayersColors",
          "update:enableBackboardsColors",
          "backToStart",
          "changeColor",
          "changeLayerColor",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = (e) =>
              "one-of-two" === e?.visibilityRule
                ? n.currentSignSize.cm.width >= parseFloat(e?.minWidth) ||
                  n.currentSignSize.cm.height >= parseFloat(e?.minHeight)
                : n.currentSignSize.cm.width >= parseFloat(e?.minWidth) &&
                  n.currentSignSize.cm.height >= parseFloat(e?.minHeight),
            r = (e, t) =>
              `ncpc-cursor-pointer ncpc-w-[50px] ncpc-h-[50px] ncpc-flex border ncpc-rounded-lg ncpc-overflow-hidden ncpc-backboard-color-option ${
                t
                  ? `ncpc-selected ncpc-border-[${
                      n.themesColors[
                        n.darkMode
                          ? "darkActiveOptionBorderColor"
                          : "activeOptionBorderColor"
                      ]
                    }] ncpc-border-[1px]`
                  : `ncpc-border-[${
                      n.themesColors[
                        n.darkMode
                          ? "darkOptionBorderColor"
                          : "optionBorderColor"
                      ]
                    }]`
              }`,
            o = () =>
              (n.darkMode
                ? `ncpc-text-[${n.themesColors.darkDescriptionColor}]`
                : `ncpc-text-[${n.themesColors.descriptionColor}]`) +
              " ncpc-text-sm";
          return (t, i) =>
            e.enableBackboardsColors.length > 0 ||
            (e.currentBackboard?.backboardLength?.layers?.activate &&
              e.currentBackboard.backboardLength.layers.options.length > 0 &&
              e.currentLayersColors.length > 0)
              ? ((0, c.uX)(),
                (0, c.CE)(
                  "div",
                  {
                    key: 0,
                    class: (0, c.C4)([
                      "ncpc-flex ncpc-flex-col ncpc-space-y-3 lg:ncpc-px-3 ncpc-block ncpc-h-full no-scrollbar ncpc-relative",
                      "default" == e.config.settings.themes.skin
                        ? " ncpc-overflow-y-scroll "
                        : "",
                    ]),
                    id: "backboard-colors",
                  },
                  [
                    (0, c.Lk)("div", dn, [
                      (0, c.Q3)(" Header "),
                      (0, c.Lk)(
                        "div",
                        {
                          class: (0, c.C4)(
                            `ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium  ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}]`
                          ),
                        },
                        [
                          (0, c.Lk)("div", fn, [
                            (0, c.Lk)("div", hn, [
                              e.config.additionalOptions.backboardColorsOptions
                                .label
                                ? ((0, c.uX)(),
                                  (0, c.CE)(
                                    "p",
                                    mn,
                                    (0, c.v_)(
                                      e.config.additionalOptions
                                        .backboardColorsOptions.label
                                    ),
                                    1
                                  ))
                                : ((0, c.uX)(),
                                  (0, c.CE)("p", vn, "Backboard colors")),
                              e.config.additionalOptions.backboardColorsOptions
                                .description
                                ? ((0, c.uX)(),
                                  (0, c.CE)(
                                    "p",
                                    {
                                      key: 2,
                                      class: (0, c.C4)(
                                        "ncpc-text-xs ncpc-font-normal ncpc-lowercase first-letter:ncpc-uppercase " +
                                          (e.darkMode
                                            ? `lg:ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                            : `lg:ncpc-text-[${e.themesColors.descriptionColor}]`)
                                      ),
                                    },
                                    (0, c.v_)(
                                      e.config.additionalOptions
                                        .backboardColorsOptions.description
                                    ),
                                    3
                                  ))
                                : (0, c.Q3)("v-if", !0),
                            ]),
                          ]),
                        ],
                        2
                      ),
                      (0, c.Q3)(" Single color display (no layers) "),
                      e.currentBackboard?.backboardLength?.layers?.activate
                        ? (0, c.Q3)("v-if", !0)
                        : ((0, c.uX)(),
                          (0, c.CE)("div", gn, [
                            e.currentBackboard?.backboardLength?.layers
                              ?.activate
                              ? (0, c.Q3)("v-if", !0)
                              : ((0, c.uX)(),
                                (0, c.CE)(
                                  "p",
                                  {
                                    key: 0,
                                    class: (0, c.C4)(
                                      (e.darkMode
                                        ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                        : `ncpc-text-[${e.themesColors.optionTextColor}]`) +
                                        " ncpc-text-sm"
                                    ),
                                  },
                                  (0, c.v_)(e.currentBackboardColor.label) +
                                    " " +
                                    (0, c.v_)(
                                      "base" ==
                                        e.currentBackboardColor.price?.type
                                        ? ` (+${e.currencySymbol}${e.currentBackboardColor.price.value})`
                                        : "multiplier" ==
                                          e.currentBackboardColor.price?.type
                                        ? ` (+${e.currentBackboardColor.price.value}%)`
                                        : ""
                                    ),
                                  3
                                )),
                            "" != e.currentBackboardColor.popupImg
                              ? ((0, c.uX)(),
                                (0, c.Wv)(
                                  Ne,
                                  {
                                    key: 1,
                                    example: e.currentBackboardColor.popupImg,
                                    showExampleOnHover:
                                      e.config.settings.generals.customizer
                                        ?.showExampleOnHover,
                                    useExampleIcon:
                                      n.config.settings.generals.customizer
                                        .useExampleIcon ?? !0,
                                    themesColors: e.themesColors,
                                    darkMode: e.darkMode,
                                    exampleText:
                                      n.config.settings.generals.customizer
                                        ?.exampleText,
                                  },
                                  null,
                                  8,
                                  [
                                    "example",
                                    "showExampleOnHover",
                                    "useExampleIcon",
                                    "themesColors",
                                    "darkMode",
                                    "exampleText",
                                  ]
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ])),
                      e.currentBackboard?.backboardLength?.layers?.activate
                        ? ((0, c.uX)(),
                          (0, c.CE)(
                            c.FK,
                            { key: 2 },
                            [
                              (0, c.Q3)(" Layers mode "),
                              (0, c.Lk)("div", kn, [
                                ((0, c.uX)(!0),
                                (0, c.CE)(
                                  c.FK,
                                  null,
                                  (0, c.pI)(
                                    e.currentBackboard.backboardLength.layers
                                      .options,
                                    (n, i) => (
                                      (0, c.uX)(),
                                      (0, c.CE)("div", { key: i }, [
                                        (0, c.Lk)(
                                          "p",
                                          { class: (0, c.C4)(o()) },
                                          (0, c.v_)(n.label),
                                          3
                                        ),
                                        (0, c.Lk)(
                                          "p",
                                          {
                                            class: (0, c.C4)([
                                              o(),
                                              "ncpc-relative",
                                            ]),
                                          },
                                          [
                                            (0, c.eW)(
                                              (0, c.v_)(
                                                e.currentLayersColors[i]?.label
                                              ) +
                                                " " +
                                                (0, c.v_)(
                                                  "base" ===
                                                    e.currentLayersColors[i]
                                                      ?.price?.type
                                                    ? ` (+${e.currencySymbol}${e.currentLayersColors[i]?.price.value})`
                                                    : "multiplier" ===
                                                      e.currentLayersColors[i]
                                                        ?.price?.type
                                                    ? ` (+${e.currentLayersColors[i]?.price.value}%)`
                                                    : ""
                                                ) +
                                                " ",
                                              1
                                            ),
                                            e.currentLayersColors[i]?.popupImg
                                              ? ((0, c.uX)(),
                                                (0, c.Wv)(
                                                  Ne,
                                                  {
                                                    key: 0,
                                                    example:
                                                      e.currentLayersColors[i]
                                                        ?.popupImg,
                                                    showExampleOnHover:
                                                      e.config.settings.generals
                                                        .customizer
                                                        ?.showExampleOnHover,
                                                    useExampleIcon:
                                                      e.config.settings.generals
                                                        .customizer
                                                        .useExampleIcon ?? !0,
                                                    themesColors:
                                                      e.themesColors,
                                                    darkMode: e.darkMode,
                                                    exampleText:
                                                      e.config.settings.generals
                                                        .customizer
                                                        ?.exampleText,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "example",
                                                    "showExampleOnHover",
                                                    "useExampleIcon",
                                                    "themesColors",
                                                    "darkMode",
                                                    "exampleText",
                                                  ]
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                          ],
                                          2
                                        ),
                                        (0, c.Lk)("div", Cn, [
                                          ((0, c.uX)(!0),
                                          (0, c.CE)(
                                            c.FK,
                                            null,
                                            (0, c.pI)(
                                              e.enableBackboardsColors,
                                              (n, o) => (
                                                (0, c.uX)(),
                                                (0, c.CE)(
                                                  c.FK,
                                                  { key: `${o}-${i}` },
                                                  [
                                                    n?.layers?.includes(
                                                      `${e.currentBackboard.id}/${i}`
                                                    ) && a(n)
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "div",
                                                          {
                                                            key: 0,
                                                            onClick: (e) =>
                                                              t.$emit(
                                                                "changeLayerColor",
                                                                n,
                                                                i
                                                              ),
                                                            class: (0, c.C4)(
                                                              r(
                                                                0,
                                                                e
                                                                  .currentLayersColors[
                                                                  i
                                                                ] === n
                                                              )
                                                            ),
                                                          },
                                                          [
                                                            (0, c.Lk)(
                                                              "div",
                                                              On,
                                                              [
                                                                n.previewImg
                                                                  ? ((0,
                                                                    c.uX)(),
                                                                    (0, c.CE)(
                                                                      "img",
                                                                      {
                                                                        key: 0,
                                                                        src: n.previewImg,
                                                                        class:
                                                                          "ncpc-w-full ncpc-h-full ncpc-rounded-lg",
                                                                      },
                                                                      null,
                                                                      8,
                                                                      $n
                                                                    ))
                                                                  : ((0,
                                                                    c.uX)(),
                                                                    (0, c.CE)(
                                                                      "span",
                                                                      {
                                                                        key: 1,
                                                                        class:
                                                                          (0,
                                                                          c.C4)(
                                                                            `ncpc-flex ncpc-w-full ncpc-h-full ncpc-bg-[${n.color}] ncpc-rounded-lg`
                                                                          ),
                                                                      },
                                                                      null,
                                                                      2
                                                                    )),
                                                              ]
                                                            ),
                                                          ],
                                                          10,
                                                          Rn
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                  ],
                                                  64
                                                )
                                              )
                                            ),
                                            128
                                          )),
                                        ]),
                                      ])
                                    )
                                  ),
                                  128
                                )),
                              ]),
                            ],
                            2112
                          ))
                        : ((0, c.uX)(),
                          (0, c.CE)("div", bn, [
                            ((0, c.uX)(!0),
                            (0, c.CE)(
                              c.FK,
                              null,
                              (0, c.pI)(
                                e.enableBackboardsColors,
                                (n, o) => (
                                  (0, c.uX)(),
                                  (0, c.CE)(
                                    c.FK,
                                    null,
                                    [
                                      a(n)
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: o,
                                              onClick: (e) =>
                                                t.$emit("changeColor", n),
                                              class: (0, c.C4)(
                                                r(
                                                  0,
                                                  e.currentBackboardColor === n
                                                )
                                              ),
                                              style: {
                                                padding: "0 !important",
                                              },
                                            },
                                            [
                                              (0, c.Lk)("div", wn, [
                                                n.previewImg
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)(
                                                      "img",
                                                      {
                                                        key: 0,
                                                        src: n.previewImg,
                                                        class:
                                                          "ncpc-w-full ncpc-h-full ncpc-rounded-lg",
                                                      },
                                                      null,
                                                      8,
                                                      yn
                                                    ))
                                                  : ((0, c.uX)(),
                                                    (0, c.CE)(
                                                      "span",
                                                      {
                                                        key: 1,
                                                        class: (0, c.C4)(
                                                          `ncpc-flex ncpc-w-full ncpc-h-full ncpc-bg-[${n.color}] ncpc-rounded-lg`
                                                        ),
                                                      },
                                                      null,
                                                      2
                                                    )),
                                              ]),
                                            ],
                                            10,
                                            xn
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ],
                                    64
                                  )
                                )
                              ),
                              256
                            )),
                          ])),
                    ]),
                  ],
                  2
                ))
              : (0, c.Q3)("v-if", !0);
        },
      };
      const Sn = { class: "ncpc-space-y-5 ncpc-w-full" },
        En = {
          class:
            "ncpc-w-11/12 lg:ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2 lg:ncpc-px-0",
        },
        In = { class: "ncpc-flex ncpc-flex-col ncpc-space-y-2" },
        Tn = { class: "title-sections" },
        An = {
          class: "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-hidden",
        },
        Bn = { class: "ncpc-flex ncpc-px-2 ncpc-text-sm" },
        Mn = { key: 0, class: "ncpc-w-full" },
        jn = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-w-full ncpc-relative",
        },
        _n = {
          class:
            "ncpc-flex ncpc-justify-between ncpc-items-start ncpc-space-x-3",
        },
        zn = { key: 0 },
        Fn = { key: 1 },
        Dn = ["onClick"],
        Pn = { class: "ncpc-flex ncpc-space-x-4 ncpc-w-full" },
        Hn = ["onClick"],
        Xn = {
          class:
            "ncpc-text-base lg:ncpc-text-sm xl:text-md ncpc-font-medium ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Nn = { class: "m-0 ncpc-lowercase first-letter:ncpc-uppercase" },
        Qn = ["onClick"],
        Wn = {
          class:
            "ncpc-text-base lg:ncpc-text-sm xl:text-md ncpc-font-medium ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Un = { class: "m-0 ncpc-lowercase first-letter:ncpc-uppercase" },
        Kn = { key: 1 },
        qn = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-w-full ncpc-relative",
        },
        Vn = {
          class: "ncpc-lowercase first-letter:ncpc-uppercase title-options",
        },
        Gn = ["onClick"],
        Yn = { class: "ncpc-flex ncpc-space-y-2 ncpc-w-full ncpc-relative" },
        Zn = { key: 0 },
        Jn = { key: 1 },
        ec = { class: "ncpc-flex ncpc-flex-wrap ncpc-gap-2" },
        tc = ["onClick"],
        nc = { key: 0, class: "ncpc-h-full ncpc-w-full ncpc-relative" },
        cc = ["src"],
        ac = { key: 2, class: "ncpc-space-y-4" },
        rc = { class: "ncpc-space-y-2 ncpc-w-full ncpc-relative" },
        oc = {
          class: "ncpc-flex ncpc-justify-between items-start ncpc-space-x-3",
        },
        ic = {
          class: "ncpc-lowercase first-letter:ncpc-uppercase title-options",
        },
        lc = ["onClick"],
        sc = ["onChange"],
        pc = ["value", "data-price", "data-popup-img"],
        uc = { key: 0 },
        dc = { key: 1 },
        fc = { key: 3 },
        hc = { class: "ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-w-full" },
        mc = { class: "ncpc-flex ncpc-flex-col ncpc-w-full" },
        vc = {
          class: "ncpc-lowercase first-letter:ncpc-uppercase title-options",
        },
        gc = ["onClick"],
        bc = { class: "ncpc-w-full" },
        xc = ["onInput", "id", "maxlength"],
        wc = { key: 4, class: "ncpc-relative" },
        yc = {
          class:
            "ncpc-flex ncpc-flex ncpc-space-x-3 ncpc-justify-between ncpc-w-full",
        },
        kc = {
          class: "ncpc-lowercase first-letter:ncpc-uppercase title-options",
        },
        Cc = ["onClick"],
        Rc = { key: 1 },
        Oc = { key: 2 };
      var $c = {
        __name: "custom-additionnal-options",
        props: {
          config: { type: Object, required: !0 },
          themesColors: { type: Object, required: !0 },
          darkMode: { type: Boolean, default: !1 },
          currentCustomsAdditionals: { type: Array, default: () => [] },
          additionnalInfos: { type: Object, default: () => ({}) },
          currencySymbol: { type: String, default: "$" },
        },
        emits: [
          "selectCustomAdditionalOnRow",
          "backToStart",
          "handleDisplayInfo",
          "prec",
          "next",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (0, c.KR)(0),
            o = (0, c.KR)([]),
            i = (e, t, n, c, r) => {
              a("selectCustomAdditionalOnRow", e, t, n, c, r);
            },
            l = (e) => {
              a("handleDisplayInfo", e);
            },
            s = () => {
              a("prec");
            },
            p = () => {
              a("next");
            },
            u = (e, t, c) => {
              const a = n.currentCustomsAdditionals.some(
                  (n) => n.id === e && n.value === t
                ),
                r =
                  "ncpc-relative ncpc-cursor-pointer ncpc-h-auto ncpc-px-2 ncpc-w-full ncpc-p-3 xl:ncpc-px-4 ncpc-rounded-md xl:ncpc-space-y-3 ncpc-border-[1px] ncpc-flex ncpc-flex-col ncpc-justify-center xl:ncpc-justify-start ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out";
              return n.darkMode
                ? `${
                    a
                      ? `ncpc-text-[${n.themesColors.darkActiveOptionTextColor}] ncpc-bg-[${n.themesColors.darkActiveOptionBackgroundColor}] ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                      : `ncpc-text-[${n.themesColors.darkOptionTextColor}] ncpc-border-[${n.themesColors.darkOptionBorderColor}]`
                  } hover:ncpc-text-[${
                    n.themesColors.darkActiveOptionTextColor
                  }] hover:ncpc-border-[${
                    n.themesColors.darkActiveOptionBorderColor
                  }] ${r}`
                : `${
                    a
                      ? `ncpc-text-[${n.themesColors.activeOptionTextColor}] ncpc-bg-[${n.themesColors.activeOptionBackgroundColor}] ncpc-border-[${n.themesColors.activeOptionBorderColor}]`
                      : `ncpc-text-[${n.themesColors.optionTextColor}] ncpc-border-[${n.themesColors.optionBorderColor}]`
                  } hover:ncpc-text-[${
                    n.themesColors.activeOptionTextColor
                  }] hover:ncpc-border-[${
                    n.themesColors.activeOptionBorderColor
                  }] ${r}`;
            },
            d = (e, t) => {
              const c = n.currentCustomsAdditionals.some(
                  (n) => n.id === e && n.value === t
                ),
                a =
                  "ncpc-cursor-pointer ncpc-w-[70px] ncpc-h-[70px] ncpc-flex ncpc-border ncpc-rounded-lg ncpc-overflow-hidden ncpc-peer-checked:ncpc-border-[3px]";
              return n.darkMode
                ? `${
                    c
                      ? `ncpc-border-[1px] ncpc-border-[${n.themesColors.darkActiveOptionBorderColor}]`
                      : `ncpc-border-[${n.themesColors.darkOptionBorderColor}]`
                  } ${a}`
                : `${
                    c
                      ? `ncpc-border-3 ncpc-border-[${n.themesColors.activeOptionBorderColor}]`
                      : `ncpc-border-[${n.themesColors.optionBorderColor}]`
                  } ${a}`;
            },
            f = (e) => {
              const t = n.currentCustomsAdditionals.find((t) => t.id === e);
              return t?.value || "";
            },
            h = (e) => {
              const t = n.currentCustomsAdditionals.find((t) => t.id === e);
              return t?.price;
            },
            m = (e) => {
              const t = n.currentCustomsAdditionals.find((t) => t.id === e);
              return t?.popupImg || "";
            };
          return (t, a) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                class: (0, c.C4)([
                  "ncpc-flex ncpc-flex-col ncpc-space-y-5 ncpc-h-full no-scrollbar",
                  "default" == e.config.settings.themes.skin
                    ? " ncpc-overflow-y-scroll "
                    : "",
                ]),
                id: "additionals-options",
              },
              [
                (0, c.Lk)("div", Sn, [
                  (0, c.Q3)(" Header Section "),
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `lg:ncpc-hidden ncpc-flex ncpc-items-center ncpc-justify-center ncpc-text-md ncpc-font-medium ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-py-3 lg:ncpc-pt-0 lg:ncpc-pb-1 lg:ncpc-bg-transparent lg:ncpc-text-[${e.themesColors.titleColor}]`
                      ),
                    },
                    [
                      (0, c.Lk)("div", En, [
                        (0, c.Lk)("div", In, [
                          (0, c.Lk)(
                            "p",
                            Tn,
                            (0, c.v_)(
                              e.config.settings.languageImages.main
                                .sectionAdditionalOptions ??
                                "Additional Options"
                            ),
                            1
                          ),
                        ]),
                        (0, c.Q3)(" Navigation controls (hidden) "),
                        (0, c.Lk)("div", An, [
                          (0, c.Lk)(
                            "span",
                            { onClick: s },
                            a[0] ||
                              (a[0] = [
                                (0, c.Lk)(
                                  "svg",
                                  {
                                    xmlns: "http://www.w3.org/2000/svg",
                                    fill: "none",
                                    viewBox: "0 0 24 24",
                                    "stroke-width": "1.5",
                                    stroke: "currentColor",
                                    class: "ncpc-w-4 ncpc-h-4",
                                  },
                                  [
                                    (0, c.Lk)("path", {
                                      "stroke-linecap": "round",
                                      "stroke-linejoin": "round",
                                      d: "M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18",
                                    }),
                                  ],
                                  -1
                                ),
                              ])
                          ),
                          (0, c.Lk)("div", Bn, [
                            a[1] ||
                              (a[1] = (0, c.Lk)(
                                "span",
                                { class: "position" },
                                null,
                                -1
                              )),
                            (0, c.eW)((0, c.v_)(r.value + 1), 1),
                            a[2] || (a[2] = (0, c.Lk)("span", null, "/", -1)),
                            (0, c.Lk)(
                              "span",
                              null,
                              (0, c.v_)(o.value.length),
                              1
                            ),
                          ]),
                          (0, c.Lk)(
                            "span",
                            { onClick: p },
                            a[3] ||
                              (a[3] = [
                                (0, c.Lk)(
                                  "svg",
                                  {
                                    xmlns: "http://www.w3.org/2000/svg",
                                    fill: "none",
                                    viewBox: "0 0 24 24",
                                    "stroke-width": "1.5",
                                    stroke: "currentColor",
                                    class: "ncpc-w-4 ncpc-h-4",
                                  },
                                  [
                                    (0, c.Lk)("path", {
                                      "stroke-linecap": "round",
                                      "stroke-linejoin": "round",
                                      d: "M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3",
                                    }),
                                  ],
                                  -1
                                ),
                              ])
                          ),
                        ]),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Options List "),
                  ((0, c.uX)(!0),
                  (0, c.CE)(
                    c.FK,
                    null,
                    (0, c.pI)(
                      e.config.additionalOptions.customAdditionalsOptions,
                      (t, r) => (
                        (0, c.uX)(),
                        (0, c.CE)(
                          "div",
                          {
                            key: r,
                            class:
                              "ncpc-px-3 lg:ncpc-px-2 ncpc-custom-additionals ncpc-options-item",
                          },
                          [
                            (0, c.Q3)(" Yes/No Option Type "),
                            "yes/no" === t.type
                              ? ((0, c.uX)(),
                                (0, c.CE)("div", Mn, [
                                  (0, c.Lk)("div", jn, [
                                    (0, c.Lk)("div", _n, [
                                      (0, c.Lk)("div", null, [
                                        (0, c.Lk)(
                                          "p",
                                          {
                                            class: (0, c.C4)(
                                              `ncpc-flex ncpc-text-[${e.themesColors.titleColor}] ncpc-font-medium lowercase first-letter:ncpc-uppercase ncpc-text-[16px] title-options`
                                            ),
                                          },
                                          [
                                            (0, c.eW)(
                                              (0, c.v_)(t.label) + " ",
                                              1
                                            ),
                                            "base" === t.price.type
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "span",
                                                  zn,
                                                  "(+" +
                                                    (0, c.v_)(
                                                      e.currencySymbol
                                                    ) +
                                                    (0, c.v_)(t.price.value) +
                                                    ")",
                                                  1
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                            "multiplier" === t.price.type
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "span",
                                                  Fn,
                                                  "(+" +
                                                    (0, c.v_)(t.price.value) +
                                                    "%)",
                                                  1
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                            e.additionnalInfos[r] &&
                                            "" !== e.additionnalInfos[r].trim()
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "span",
                                                  {
                                                    key: 2,
                                                    class: (0, c.C4)([
                                                      "ncpc-flex " +
                                                        (e.darkMode
                                                          ? `ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                                          : `ncpc-text-[${e.themesColors.activeButtonColor}]`),
                                                      "ncpc-cursor-pointer",
                                                    ]),
                                                    onClick: (t) =>
                                                      l(e.additionnalInfos[r]),
                                                  },
                                                  a[4] ||
                                                    (a[4] = [
                                                      (0, c.Lk)(
                                                        "svg",
                                                        {
                                                          xmlns:
                                                            "http://www.w3.org/2000/svg",
                                                          fill: "none",
                                                          viewBox: "0 0 24 24",
                                                          strokeWidth: "1.5",
                                                          stroke:
                                                            "currentColor",
                                                          class:
                                                            "ncpc-w-6 ncpc-h-6",
                                                        },
                                                        [
                                                          (0, c.Lk)("path", {
                                                            strokeLinecap:
                                                              "round",
                                                            strokeLinejoin:
                                                              "round",
                                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                                          }),
                                                        ],
                                                        -1
                                                      ),
                                                    ]),
                                                  10,
                                                  Dn
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                          ],
                                          2
                                        ),
                                        (0, c.Lk)(
                                          "p",
                                          {
                                            class: (0, c.C4)(
                                              `ncpc-text-[${e.themesColors.descriptionColor}] ncpc-text-xs lowercase first-letter:ncpc-uppercase`
                                            ),
                                          },
                                          (0, c.v_)(t.description),
                                          3
                                        ),
                                      ]),
                                      (0, c.Lk)("div", null, [
                                        "" !== t.popupImg
                                          ? ((0, c.uX)(),
                                            (0, c.Wv)(
                                              Ne,
                                              {
                                                key: 0,
                                                example: t.popupImg,
                                                showExampleOnHover:
                                                  e.config.settings.generals
                                                    .customizer
                                                    ?.showExampleOnHover,
                                                useExampleIcon:
                                                  e.config.settings.generals
                                                    .customizer
                                                    .useExampleIcon ?? !0,
                                                themesColors: e.themesColors,
                                                darkMode: e.darkMode,
                                                exampleText:
                                                  e.config.settings.generals
                                                    .customizer?.exampleText,
                                              },
                                              null,
                                              8,
                                              [
                                                "example",
                                                "showExampleOnHover",
                                                "useExampleIcon",
                                                "themesColors",
                                                "darkMode",
                                                "exampleText",
                                              ]
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                      ]),
                                    ]),
                                    (0, c.Lk)("div", Pn, [
                                      (0, c.Q3)(" Yes Option "),
                                      (0, c.Lk)(
                                        "div",
                                        {
                                          class:
                                            "ncpc-flex ncpc-w-full ncpc-cursor-pointer",
                                          onClick: (e) =>
                                            i(
                                              r,
                                              t.label,
                                              t.inputs.yes,
                                              t.price,
                                              t.popupImg
                                            ),
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                u(r, t.inputs.yes)
                                              ),
                                            },
                                            [
                                              (0, c.Lk)("div", Xn, [
                                                (0, c.Lk)(
                                                  "p",
                                                  Nn,
                                                  (0, c.v_)(t.inputs.yes),
                                                  1
                                                ),
                                              ]),
                                            ],
                                            2
                                          ),
                                        ],
                                        8,
                                        Hn
                                      ),
                                      (0, c.Q3)(" No Option "),
                                      (0, c.Lk)(
                                        "div",
                                        {
                                          class:
                                            "ncpc-flex ncpc-w-full ncpc-cursor-pointer",
                                          onClick: (e) =>
                                            i(
                                              r,
                                              t.label,
                                              t.inputs.no,
                                              { type: "none", value: 0 },
                                              t.popupImg
                                            ),
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                u(r, t.inputs.no)
                                              ),
                                            },
                                            [
                                              (0, c.Lk)("div", Wn, [
                                                (0, c.Lk)(
                                                  "p",
                                                  Un,
                                                  (0, c.v_)(t.inputs.no),
                                                  1
                                                ),
                                              ]),
                                            ],
                                            2
                                          ),
                                        ],
                                        8,
                                        Qn
                                      ),
                                    ]),
                                  ]),
                                ]))
                              : (0, c.Q3)("v-if", !0),
                            (0, c.Q3)(" Image Input Option Type "),
                            "image-input" === t.type
                              ? ((0, c.uX)(),
                                (0, c.CE)("div", Kn, [
                                  (0, c.Lk)("div", qn, [
                                    (0, c.Lk)("div", null, [
                                      (0, c.Lk)(
                                        "p",
                                        {
                                          class: (0, c.C4)(
                                            `ncpc-w-full ncpc-flex ncpc-flex-wrap ${
                                              e.darkMode
                                                ? `ncpc-text-[${e.themesColors.darkTitleColor}]`
                                                : `ncpc-text-[${e.themesColors.titleColor}]`
                                            } ncpc-font-medium ncpc-lowercase first-letter:ncpc-uppercase ncpc-text-[16px]`
                                          ),
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            Vn,
                                            (0, c.v_)(t.label),
                                            1
                                          ),
                                          e.additionnalInfos[r] &&
                                          "" !== e.additionnalInfos[r].trim()
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "span",
                                                {
                                                  key: 0,
                                                  class: (0, c.C4)([
                                                    "ncpc-flex " +
                                                      (e.darkMode
                                                        ? `ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                                        : `ncpc-text-[${e.themesColors.activeButtonColor}]`),
                                                    "ncpc-cursor-pointer",
                                                  ]),
                                                  onClick: (t) =>
                                                    l(e.additionnalInfos[r]),
                                                },
                                                a[5] ||
                                                  (a[5] = [
                                                    (0, c.Lk)(
                                                      "svg",
                                                      {
                                                        xmlns:
                                                          "http://www.w3.org/2000/svg",
                                                        fill: "none",
                                                        viewBox: "0 0 24 24",
                                                        strokeWidth: "1.5",
                                                        stroke: "currentColor",
                                                        class:
                                                          "ncpc-w-6 ncpc-h-6",
                                                      },
                                                      [
                                                        (0, c.Lk)("path", {
                                                          strokeLinecap:
                                                            "round",
                                                          strokeLinejoin:
                                                            "round",
                                                          d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                                        }),
                                                      ],
                                                      -1
                                                    ),
                                                  ]),
                                                10,
                                                Gn
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                        ],
                                        2
                                      ),
                                      (0, c.Lk)(
                                        "p",
                                        {
                                          class: (0, c.C4)(
                                            (e.darkMode
                                              ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                              : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                              " ncpc-text-xs ncpc-lowercase first-letter:ncpc-uppercase"
                                          ),
                                        },
                                        (0, c.v_)(t.description),
                                        3
                                      ),
                                    ]),
                                    (0, c.Lk)("div", Yn, [
                                      e.currentCustomsAdditionals.some(
                                        (e) => e.id === r
                                      )
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 0,
                                              class: (0, c.C4)(
                                                (e.darkMode
                                                  ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                  : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                                  " ncpc-text-xs"
                                              ),
                                            },
                                            [
                                              (0, c.eW)(
                                                (0, c.v_)(f(r)) + " ",
                                                1
                                              ),
                                              "base" === h(r)?.type
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "span",
                                                    Zn,
                                                    "(+" +
                                                      (0, c.v_)(
                                                        e.currencySymbol
                                                      ) +
                                                      (0, c.v_)(h(r)?.value) +
                                                      ")",
                                                    1
                                                  ))
                                                : (0, c.Q3)("v-if", !0),
                                              "multiplier" === h(r)?.type
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "span",
                                                    Jn,
                                                    "(+" +
                                                      (0, c.v_)(h(r)?.value) +
                                                      "%)",
                                                    1
                                                  ))
                                                : (0, c.Q3)("v-if", !0),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "" !== m(r)?.trim()
                                        ? ((0, c.uX)(),
                                          (0, c.Wv)(
                                            Ne,
                                            {
                                              key: 1,
                                              example: m(r),
                                              showExampleOnHover:
                                                e.config.settings.generals
                                                  .customizer
                                                  ?.showExampleOnHover,
                                              useExampleIcon:
                                                e.config.settings.generals
                                                  .customizer.useExampleIcon ??
                                                !0,
                                              themesColors: e.themesColors,
                                              darkMode: e.darkMode,
                                              exampleText:
                                                e.config.settings.generals
                                                  .customizer?.exampleText,
                                            },
                                            null,
                                            8,
                                            [
                                              "example",
                                              "showExampleOnHover",
                                              "useExampleIcon",
                                              "themesColors",
                                              "darkMode",
                                              "exampleText",
                                            ]
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ]),
                                    (0, c.Lk)("div", ec, [
                                      ((0, c.uX)(!0),
                                      (0, c.CE)(
                                        c.FK,
                                        null,
                                        (0, c.pI)(
                                          t.options,
                                          (e, n) => (
                                            (0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: n,
                                                class: "ncpc-flex",
                                                onClick: (n) =>
                                                  i(
                                                    r,
                                                    t.label,
                                                    e.value,
                                                    e.price,
                                                    e.popupImg
                                                  ),
                                              },
                                              [
                                                (0, c.Lk)(
                                                  "span",
                                                  {
                                                    class: (0, c.C4)(
                                                      d(r, e.value)
                                                    ),
                                                  },
                                                  [
                                                    "" !== e.previewImg
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)("div", nc, [
                                                          (0, c.Lk)(
                                                            "img",
                                                            {
                                                              class:
                                                                "ncpc-w-full ncpc-h-full ncpc-rounded-lg",
                                                              src: e.previewImg,
                                                            },
                                                            null,
                                                            8,
                                                            cc
                                                          ),
                                                        ]))
                                                      : (0, c.Q3)("v-if", !0),
                                                  ],
                                                  2
                                                ),
                                              ],
                                              8,
                                              tc
                                            )
                                          )
                                        ),
                                        128
                                      )),
                                    ]),
                                  ]),
                                ]))
                              : (0, c.Q3)("v-if", !0),
                            (0, c.Q3)(" Dropdown Option Type "),
                            "dropdown" === t.type
                              ? ((0, c.uX)(),
                                (0, c.CE)("div", ac, [
                                  (0, c.Lk)("div", rc, [
                                    (0, c.Lk)("div", oc, [
                                      (0, c.Lk)("div", null, [
                                        (0, c.Lk)(
                                          "p",
                                          {
                                            class: (0, c.C4)(
                                              `ncpc-w-full ncpc-flex ncpc-flex-wrap ${
                                                e.darkMode
                                                  ? `ncpc-text-[${e.themesColors.darkTitleColor}]`
                                                  : `ncpc-text-[${e.themesColors.titleColor}]`
                                              } ncpc-font-medium ncpc-lowercase first-letter:ncpc-uppercase ncpc-text-[16px]`
                                            ),
                                          },
                                          [
                                            (0, c.Lk)(
                                              "span",
                                              ic,
                                              (0, c.v_)(t.label),
                                              1
                                            ),
                                            e.additionnalInfos[r] &&
                                            "" !== e.additionnalInfos[r].trim()
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "span",
                                                  {
                                                    key: 0,
                                                    class: (0, c.C4)([
                                                      "ncpc-flex " +
                                                        (e.darkMode
                                                          ? `ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                                          : `ncpc-text-[${e.themesColors.activeButtonColor}]`),
                                                      "ncpc-cursor-pointer",
                                                    ]),
                                                    onClick: (t) =>
                                                      l(e.additionnalInfos[r]),
                                                  },
                                                  a[6] ||
                                                    (a[6] = [
                                                      (0, c.Lk)(
                                                        "svg",
                                                        {
                                                          xmlns:
                                                            "http://www.w3.org/2000/svg",
                                                          fill: "none",
                                                          viewBox: "0 0 24 24",
                                                          strokeWidth: "1.5",
                                                          stroke:
                                                            "currentColor",
                                                          class:
                                                            "ncpc-w-6 ncpc-h-6",
                                                        },
                                                        [
                                                          (0, c.Lk)("path", {
                                                            strokeLinecap:
                                                              "round",
                                                            strokeLinejoin:
                                                              "round",
                                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                                          }),
                                                        ],
                                                        -1
                                                      ),
                                                    ]),
                                                  10,
                                                  lc
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                          ],
                                          2
                                        ),
                                        (0, c.Lk)(
                                          "p",
                                          {
                                            class: (0, c.C4)(
                                              (e.darkMode
                                                ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                                " ncpc-text-xs ncpc-lowercase first-letter:ncpc-uppercase"
                                            ),
                                          },
                                          (0, c.v_)(t.description),
                                          3
                                        ),
                                      ]),
                                      "" !== m(r)?.trim()
                                        ? ((0, c.uX)(),
                                          (0, c.Wv)(
                                            Ne,
                                            {
                                              key: 0,
                                              example: m(r),
                                              showExampleOnHover:
                                                e.config.settings.generals
                                                  .customizer
                                                  ?.showExampleOnHover,
                                              useExampleIcon:
                                                e.config.settings.generals
                                                  .customizer.useExampleIcon ??
                                                !0,
                                              themesColors: e.themesColors,
                                              darkMode: e.darkMode,
                                              exampleText:
                                                e.config.settings.generals
                                                  .customizer?.exampleText,
                                            },
                                            null,
                                            8,
                                            [
                                              "example",
                                              "showExampleOnHover",
                                              "useExampleIcon",
                                              "themesColors",
                                              "darkMode",
                                              "exampleText",
                                            ]
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ]),
                                    (0, c.Lk)(
                                      "select",
                                      {
                                        class:
                                          "ncpc-w-full ncpc-p-2 ncpc-border-[1px] ncpc-border-zinc-400 ncpc-rounded-md ncpc-text-[14px] ncpc-text-black",
                                        onChange: (e) =>
                                          ((e, t, n) => {
                                            const c =
                                                e.target.options[
                                                  e.target.selectedIndex
                                                ],
                                              a = JSON.parse(
                                                c.getAttribute("data-price")
                                              ),
                                              r =
                                                c.getAttribute(
                                                  "data-popup-img"
                                                );
                                            i(t, n, e.target.value, a, r);
                                          })(e, r, t.label),
                                      },
                                      [
                                        ((0, c.uX)(!0),
                                        (0, c.CE)(
                                          c.FK,
                                          null,
                                          (0, c.pI)(
                                            t.options,
                                            (t, n) => (
                                              (0, c.uX)(),
                                              (0, c.CE)(
                                                "option",
                                                {
                                                  key: n,
                                                  value: t.value,
                                                  "data-price": JSON.stringify(
                                                    t.price
                                                  ),
                                                  "data-popup-img": t.popupImg,
                                                },
                                                [
                                                  (0, c.eW)(
                                                    (0, c.v_)(t.label) + " ",
                                                    1
                                                  ),
                                                  "base" === t.price.type
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)(
                                                        "span",
                                                        uc,
                                                        "(+" +
                                                          (0, c.v_)(
                                                            e.currencySymbol
                                                          ) +
                                                          (0, c.v_)(
                                                            t.price.value
                                                          ) +
                                                          ")",
                                                        1
                                                      ))
                                                    : (0, c.Q3)("v-if", !0),
                                                  "multiplier" === t.price.type
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)(
                                                        "span",
                                                        dc,
                                                        "(+" +
                                                          (0, c.v_)(
                                                            t.price.value
                                                          ) +
                                                          "%)",
                                                        1
                                                      ))
                                                    : (0, c.Q3)("v-if", !0),
                                                ],
                                                8,
                                                pc
                                              )
                                            )
                                          ),
                                          128
                                        )),
                                      ],
                                      40,
                                      sc
                                    ),
                                  ]),
                                ]))
                              : (0, c.Q3)("v-if", !0),
                            (0, c.Q3)(" Note Option Type "),
                            "note" === t.type
                              ? ((0, c.uX)(),
                                (0, c.CE)("div", fc, [
                                  (0, c.Lk)("div", hc, [
                                    (0, c.Lk)("div", mc, [
                                      (0, c.Lk)(
                                        "p",
                                        {
                                          class: (0, c.C4)(
                                            (e.darkMode
                                              ? `ncpc-text-[${e.themesColors.darkTitleColor}]`
                                              : `ncpc-text-[${e.themesColors.titleColor}]`) +
                                              " ncpc-font-medium ncpc-lowercase first-letter:ncpc-uppercase ncpc-text-[16px] ncpc-w-full ncpc-flex ncpc-flex-wrap"
                                          ),
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            vc,
                                            (0, c.v_)(t.label),
                                            1
                                          ),
                                          e.additionnalInfos[r] &&
                                          "" !== e.additionnalInfos[r].trim()
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "span",
                                                {
                                                  key: 0,
                                                  class: (0, c.C4)([
                                                    "ncpc-flex " +
                                                      (e.darkMode
                                                        ? `ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                                        : `ncpc-text-[${e.themesColors.activeButtonColor}]`),
                                                    "ncpc-cursor-pointer",
                                                  ]),
                                                  onClick: (t) =>
                                                    l(e.additionnalInfos[r]),
                                                },
                                                a[7] ||
                                                  (a[7] = [
                                                    (0, c.Lk)(
                                                      "svg",
                                                      {
                                                        xmlns:
                                                          "http://www.w3.org/2000/svg",
                                                        fill: "none",
                                                        viewBox: "0 0 24 24",
                                                        strokeWidth: "1.5",
                                                        stroke: "currentColor",
                                                        class:
                                                          "ncpc-w-6 ncpc-h-6",
                                                      },
                                                      [
                                                        (0, c.Lk)("path", {
                                                          strokeLinecap:
                                                            "round",
                                                          strokeLinejoin:
                                                            "round",
                                                          d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                                        }),
                                                      ],
                                                      -1
                                                    ),
                                                  ]),
                                                10,
                                                gc
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                        ],
                                        2
                                      ),
                                      (0, c.Lk)(
                                        "p",
                                        {
                                          class: (0, c.C4)(
                                            (e.darkMode
                                              ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                              : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                              " ncpc-text-xs ncpc-lowercase first-letter:ncpc-uppercase"
                                          ),
                                          style: { color: "#999999" },
                                        },
                                        (0, c.v_)(t.description),
                                        3
                                      ),
                                    ]),
                                    (0, c.Lk)("div", bc, [
                                      (0, c.Lk)(
                                        "textarea",
                                        {
                                          onInput: (e) =>
                                            ((e, t, n) => {
                                              i(t, n, e.target.value);
                                            })(e, r, t.label),
                                          id: "ncpc-note-" + r,
                                          maxlength: t.noteLimitChar,
                                          cols: "20",
                                          rows: "10",
                                          class:
                                            "ncpc-h-[113px] ncpc-rounded-md border ncpc-border-gray-400 ncpc-p-[10px]",
                                          style: (0, c.Tr)(
                                            `resize: vertical !important;  background-color: ${
                                              e.darkMode
                                                ? n.themesColors
                                                    .darkActiveOptionBackgroundColor
                                                : n.themesColors
                                                    .activeOptionBackgroundColor
                                            } !important; border:1px solid ${
                                              e.darkMode
                                                ? n.themesColors
                                                    .darkActiveOptionBorderColor
                                                : n.themesColors
                                                    .activeOptionBorderColor
                                            } !important; border-radius:5px !important; width: calc(100% - 20px)`
                                          ),
                                        },
                                        null,
                                        44,
                                        xc
                                      ),
                                    ]),
                                  ]),
                                ]))
                              : (0, c.Q3)("v-if", !0),
                            (0, c.Q3)(" Include Type Option "),
                            "include-type" === t.type
                              ? ((0, c.uX)(),
                                (0, c.CE)("div", wc, [
                                  (0, c.Lk)("div", yc, [
                                    (0, c.Lk)("div", null, [
                                      (0, c.Lk)(
                                        "p",
                                        {
                                          class: (0, c.C4)(
                                            (e.darkMode
                                              ? `ncpc-text-[${e.themesColors.darkTitleColor}]`
                                              : `ncpc-text-[${e.themesColors.titleColor}]`) +
                                              " ncpc-flex space-x-2 ncpc-font-medium ncpc-text-[16px] ncpc-w-full ncpc-flex ncpc-flex-wrap"
                                          ),
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            kc,
                                            (0, c.v_)(t.label),
                                            1
                                          ),
                                          e.config.settings?.infos
                                            ?.customAdditionalsOptions[r] &&
                                          "" !==
                                            e.config.settings?.infos?.customAdditionalsOptions[
                                              r
                                            ].trim()
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "span",
                                                {
                                                  key: 0,
                                                  class: (0, c.C4)([
                                                    "ncpc-flex " +
                                                      (e.darkMode
                                                        ? `ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                                        : `ncpc-text-[${e.themesColors.activeButtonColor}]`),
                                                    "ncpc-cursor-pointer",
                                                  ]),
                                                  onClick: (t) =>
                                                    l(
                                                      e.config.settings?.infos
                                                        ?.customAdditionalsOptions[
                                                        r
                                                      ]
                                                    ),
                                                },
                                                a[8] ||
                                                  (a[8] = [
                                                    (0, c.Lk)(
                                                      "svg",
                                                      {
                                                        xmlns:
                                                          "http://www.w3.org/2000/svg",
                                                        fill: "none",
                                                        viewBox: "0 0 24 24",
                                                        strokeWidth: "1.5",
                                                        stroke: "currentColor",
                                                        class:
                                                          "ncpc-w-6 ncpc-h-6",
                                                      },
                                                      [
                                                        (0, c.Lk)("path", {
                                                          strokeLinecap:
                                                            "round",
                                                          strokeLinejoin:
                                                            "round",
                                                          d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                                        }),
                                                      ],
                                                      -1
                                                    ),
                                                  ]),
                                                10,
                                                Cc
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                          "base" === t.price.type
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "span",
                                                Rc,
                                                "(+" +
                                                  (0, c.v_)(e.currencySymbol) +
                                                  (0, c.v_)(t.price.value) +
                                                  ")",
                                                1
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                          "multiplier" === t.price.type
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "span",
                                                Oc,
                                                "(+" +
                                                  (0, c.v_)(t.price.value) +
                                                  "%)",
                                                1
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (e.darkMode
                                                  ? `ncpc-text-[${e.themesColors.darkActiveButtonTextColor}]`
                                                  : `ncpc-text-[${e.themesColors.activeButtonColor}]`) +
                                                  " ncpc-flex ncpc-w-fit ncpc-items-center ncpc-justify-center ncpc-px-2 ncpc-p-0.5 ncpc-rounded-lg"
                                              ),
                                            },
                                            a[9] ||
                                              (a[9] = [
                                                (0, c.Lk)(
                                                  "svg",
                                                  {
                                                    xmlns:
                                                      "http://www.w3.org/2000/svg",
                                                    fill: "none",
                                                    viewBox: "0 0 24 24",
                                                    "stroke-width": "1.5",
                                                    stroke: "currentColor",
                                                    class: "ncpc-w-5 ncpc-h-5",
                                                  },
                                                  [
                                                    (0, c.Lk)("path", {
                                                      "stroke-linecap": "round",
                                                      "stroke-linejoin":
                                                        "round",
                                                      d: "M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z",
                                                    }),
                                                  ],
                                                  -1
                                                ),
                                              ]),
                                            2
                                          ),
                                        ],
                                        2
                                      ),
                                      (0, c.Lk)(
                                        "p",
                                        {
                                          class: (0, c.C4)(
                                            (e.darkMode
                                              ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                              : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                              " ncpc-text-xs ncpc-lowercase first-letter:ncpc-uppercase"
                                          ),
                                        },
                                        (0, c.v_)(t.description),
                                        3
                                      ),
                                    ]),
                                    "" !== m(r)?.trim()
                                      ? ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Ne,
                                          {
                                            key: 0,
                                            example: m(r),
                                            showExampleOnHover:
                                              e.config.settings.generals
                                                .customizer?.showExampleOnHover,
                                            useExampleIcon:
                                              e.config.settings.generals
                                                .customizer.useExampleIcon ??
                                              !0,
                                            themesColors: e.themesColors,
                                            darkMode: e.darkMode,
                                            exampleText:
                                              e.config.settings.generals
                                                .customizer?.exampleText,
                                          },
                                          null,
                                          8,
                                          [
                                            "example",
                                            "showExampleOnHover",
                                            "useExampleIcon",
                                            "themesColors",
                                            "darkMode",
                                            "exampleText",
                                          ]
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                  ]),
                                ]))
                              : (0, c.Q3)("v-if", !0),
                          ]
                        )
                      )
                    ),
                    128
                  )),
                ]),
              ],
              2
            )
          );
        },
      };
      n(618);
      var Lc = (0, T.A)($c, [["__scopeId", "data-v-79ecde51"]]);
      const Sc = {
          class:
            "ncpc-absolute ncpc-flex ncpc-flex-col lg:ncpc-flex-row ncpc-w-full ncpc-h-full ncpc-bg-white ncpc-z-20",
        },
        Ec = {
          key: 0,
          class: "ncpc-w-full ncpc-h-[40%] lg:ncpc-w-[65%] lg:ncpc-h-full",
        },
        Ic = {
          id: "ncpc-recap-review",
          class:
            "ncpc-relative ncpc-border-[1px] ncpc-h-full ncpc-w-full ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-center ncpc-overflow-hidden",
        },
        Tc = {
          id: "scene",
          class:
            "ncpc-relative ncpc-h-full ncpc-w-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-border-4",
        },
        Ac = {
          key: 0,
          class:
            "ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747] ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-h-full ncpc-w-full",
        },
        Bc = ["src"],
        Mc = ["src"],
        jc = {
          key: 0,
          id: "ncpc-recap-reviewImg",
          class:
            "ncpc-absolute ncpc-bottom-0 ncpc-right-0 ncpc-p-2 ncpc-w-[55%] ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between ncpc-z-10",
        },
        _c = {
          id: "review-scene",
          class:
            "ncpc-scrollDiv ncpc-flex ncpc-items-center ncpc-w-[90%] ncpc-h-fit ncpc-p-2 ncpc-overflow-auto lilScroll",
        },
        zc = {
          key: 0,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        Fc = ["onClick"],
        Dc = ["src"],
        Pc = { class: "m-0 ncpc-text-xl ncpc-font-bold ncpc-text-center" },
        Hc = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-overflow-y-auto ncpc-noScroll ncpc-h-[100%-230px]",
        },
        Xc = { key: 0 },
        Nc = {
          key: 1,
          class:
            "ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-4 ncpc-py-3 ncpc-border-b-2",
        },
        Qc = { key: 0 },
        Wc = {
          class: "lg:ncpc-h-[150px] ncpc-flex ncpc-flex-col ncpc-justify-end",
        },
        Uc = { class: "ncpc-flex ncpc-flex-wrap ncpc-text-[14px]" },
        Kc = ["disabled"],
        qc = { key: 0 },
        Vc = ["disabled"],
        Gc = { key: 0, class: "ncpc-p-0" },
        Yc = ["disabled"];
      var Zc = {
        __name: "recaps-view",
        props: {
          config: { type: Object, required: !0 },
          currentReviewBackgroundScene: { type: String, required: !0 },
          signRecaps: { type: Object, required: !0 },
          themesColors: { type: Object, required: !0 },
          darkMode: { type: Boolean, default: !1 },
          enableReviewImage: { type: Boolean, default: !0 },
          signPreviewImgWithoutBg: { type: String, default: "" },
          formatedPriceWithoutReduce: { type: String, default: "" },
          formatedPriceWithReduce: { type: String, default: "" },
          addingToCart: { type: Boolean, default: !1 },
          submitAQuote: { type: Boolean, default: !1 },
        },
        emits: [
          "changeFinishBuildSign",
          "addToCart",
          "handleGetAQuote",
          "changeReviewBackgroundScene",
        ],
        setup(e, { emit: t }) {
          const n = e,
            a = t,
            r = (0, c.EW)(() => n.currentReviewBackgroundScene),
            i = (0, c.EW)(() => n.signRecaps),
            l = (e) => {
              (r.value = e), a("changeReviewBackgroundScene", e);
            },
            s = () => {
              a("changeFinishBuildSign");
            },
            p = () => {
              a("addToCart");
            },
            u = () => {
              a("handleGetAQuote");
            };
          return (t, n) => (
            (0, c.uX)(),
            (0, c.CE)("div", Sc, [
              (0, c.Q3)(" Section d'aperçu de l'image "),
              e.enableReviewImage
                ? ((0, c.uX)(),
                  (0, c.CE)("div", Ec, [
                    (0, c.Lk)("div", Ic, [
                      (0, c.Lk)("div", Tc, [
                        (0, c.Q3)(" Arrière-plan par défaut "),
                        "blue-gray" === r.value
                          ? ((0, c.uX)(), (0, c.CE)("div", Ac))
                          : (0, c.Q3)("v-if", !0),
                        (0, c.Q3)(" Arrière-plan personnalisé "),
                        "blue-gray" !== r.value
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "img",
                              {
                                key: 1,
                                src: r.value,
                                alt: "",
                                id: "ncpc-active-review-image",
                                class:
                                  "ncpc-h-full ncpc-w-full ncpc-absolute ncpc-top-0 ncpc-left-0",
                              },
                              null,
                              8,
                              Bc
                            ))
                          : (0, c.Q3)("v-if", !0),
                        (0, c.Q3)(" Aperçu du panneau "),
                        "" !== e.signPreviewImgWithoutBg.trim()
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "img",
                              {
                                key: 2,
                                src: e.signPreviewImgWithoutBg,
                                alt: "",
                                id: "ncpc-config-review",
                                class: "ncpc-h-auto ncpc-w-full ncpc-z-0",
                              },
                              null,
                              8,
                              Mc
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ]),
                      (0, c.Q3)(" Navigation des images d'arrière-plan "),
                      e.config.settings.languageImages.images.reviewScreenImages
                        .activate
                        ? ((0, c.uX)(),
                          (0, c.CE)("div", jc, [
                            (0, c.Q3)(" Bouton précédent "),
                            e.config.settings.languageImages.images.manageImages
                              .length > 2
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    onClick:
                                      n[0] ||
                                      (n[0] = (e) =>
                                        ((e) => {
                                          const t = document.getElementById(e);
                                          t && (t.scrollLeft -= 100);
                                        })("review-scene")),
                                    class: (0, c.C4)(
                                      `ncpc-text-[${e.themesColors.activeOptionBorderColor}] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex`
                                    ),
                                  },
                                  n[3] ||
                                    (n[3] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "2",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "M15.75 19.5L8.25 12l7.5-7.5",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                            (0, c.Q3)(" Carrousel des images "),
                            (0, c.Lk)("div", _c, [
                              (0, c.Q3)(" Image par défaut "),
                              e.config.settings.languageImages.images
                                .reviewScreenImages
                                .displayDefaultBackgroundImage
                                ? ((0, c.uX)(),
                                  (0, c.CE)("div", zc, [
                                    (0, c.Lk)(
                                      "span",
                                      {
                                        class: (0, c.C4)(
                                          ("blue-gray" === r.value
                                            ? `ncpc-border-[1px] ncpc-border-[${e.themesColors.activeOptionBorderColor}]`
                                            : `ncpc-border-[${e.themesColors.optionBorderColor}]`) +
                                            " ncpc-cursor-pointer ncpc-h-[50px] lg:ncpc-h-[60px] ncpc-w-[50px] lg:ncpc-w-[60px] ncpc-flex border ncpc-rounded-lg ncpc-overflow-hidden ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747] ncpc-p-4"
                                        ),
                                        onClick:
                                          n[1] ||
                                          (n[1] = (e) => l("blue-gray")),
                                      },
                                      null,
                                      2
                                    ),
                                  ]))
                                : (0, c.Q3)("v-if", !0),
                              (0, c.Q3)(" Images personnalisées "),
                              ((0, c.uX)(!0),
                              (0, c.CE)(
                                c.FK,
                                null,
                                (0, c.pI)(
                                  e.config.settings.languageImages.images
                                    .manageImages,
                                  (t, n) => (
                                    (0, c.uX)(),
                                    (0, c.CE)(
                                      "div",
                                      {
                                        class:
                                          "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
                                        key: n,
                                      },
                                      [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            class: (0, c.C4)(
                                              `${
                                                r.value === t
                                                  ? `ncpc-opacity-[1] ncpc-border-[1px] ncpc-border-[${e.themesColors.activeOptionBorderColor}] ncpc-h-[50px] ncpc-w-[50px] lg:ncpc-h-[60px] lg:ncpc-w-[60px]`
                                                  : `ncpc-opacity-[.5] ncpc-border-[${e.themesColors.optionBorderColor}]`
                                              } ncpc-cursor-pointer ncpc-h-[55px] lg:ncpc-h-[60px] ncpc-w-[50px] lg:ncpc-w-[60px] ncpc-flex ncpc-border-[1px] hover:ncpc-border-[${
                                                e.themesColors
                                                  .activeOptionBorderColor
                                              }] ncpc-rounded-lg ncpc-overflow-hidden`
                                            ),
                                            onClick: (e) => l(t),
                                          },
                                          [
                                            (0, c.Lk)(
                                              "img",
                                              {
                                                src: t,
                                                alt: "",
                                                class:
                                                  "ncpc-w-full ncpc-h-full",
                                              },
                                              null,
                                              8,
                                              Dc
                                            ),
                                          ],
                                          10,
                                          Fc
                                        ),
                                      ]
                                    )
                                  )
                                ),
                                128
                              )),
                            ]),
                            (0, c.Q3)(" Bouton suivant "),
                            e.config.settings.languageImages.images.manageImages
                              .length > 2
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 1,
                                    onClick:
                                      n[2] ||
                                      (n[2] = (e) =>
                                        ((e) => {
                                          const t = document.getElementById(e);
                                          t && (t.scrollLeft += 100);
                                        })("review-scene")),
                                    class: (0, c.C4)(
                                      `ncpc-text-[${e.themesColors.activeOptionBorderColor}] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex`
                                    ),
                                  },
                                  n[4] ||
                                    (n[4] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "2",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "M8.25 4.5l7.5 7.5-7.5 7.5",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]))
                        : (0, c.Q3)("v-if", !0),
                    ]),
                  ]))
                : (0, c.Q3)("v-if", !0),
              (0, c.Q3)(" Section récapitulatif "),
              (0, c.Lk)(
                "div",
                {
                  class: (0, c.C4)(
                    `${
                      e.darkMode
                        ? `ncpc-bg-[${e.themesColors.darkBackgroundColor}]`
                        : `ncpc-bg-[${e.themesColors.backgroundColor}]`
                    } ${
                      e.enableReviewImage
                        ? "lg:ncpc-w-[35%] ncpc-h-[60%] lg:ncpc-h-full"
                        : "ncpc-w-full ncpc-h-full"
                    } ncpc-relative ncpc-flex ncpc-flex-col`
                  ),
                },
                [
                  (0, c.Q3)(" En-tête "),
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-text-[${e.themesColors.activeButtonTextColor}] ncpc-h-[80px] ncpc-flex ncpc-justify-center ncpc-items-center`
                      ),
                    },
                    [
                      (0, c.Lk)(
                        "p",
                        Pc,
                        (0, c.v_)(
                          e.config.settings.languageImages.main.summaryLabel ??
                            "Summary"
                        ),
                        1
                      ),
                    ],
                    2
                  ),
                  (0, c.Q3)(" Contenu du récapitulatif "),
                  (0, c.Lk)("div", Hc, [
                    ((0, c.uX)(!0),
                    (0, c.CE)(
                      c.FK,
                      null,
                      (0, c.pI)(
                        Object.values(i.value.recaps),
                        (t, n) => (
                          (0, c.uX)(),
                          (0, c.CE)(
                            c.FK,
                            { key: n },
                            [
                              (0, c.Q3)(" Éléments de type tableau "),
                              Array.isArray(t)
                                ? ((0, c.uX)(!0),
                                  (0, c.CE)(
                                    c.FK,
                                    { key: 0 },
                                    (0, c.pI)(
                                      t,
                                      (t, n) => (
                                        (0, c.uX)(),
                                        (0, c.CE)(
                                          "div",
                                          {
                                            key: n,
                                            class:
                                              "ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-4 ncpc-py-3 ncpc-border-b-2",
                                          },
                                          [
                                            (0, c.Lk)(
                                              "p",
                                              {
                                                class: (0, c.C4)(
                                                  (e.darkMode
                                                    ? `ncpc-text-[${e.themesColors.darkTitleColor}]`
                                                    : `ncpc-text-[${e.themesColors.titleColor}]`) +
                                                    " ncpc-text-[16px] ncpc-font-semibold"
                                                ),
                                              },
                                              (0, c.v_)(t.label),
                                              3
                                            ),
                                            (0, c.Q3)(
                                              " Valeur de type tableau "
                                            ),
                                            Array.isArray(t.value)
                                              ? ((0, c.uX)(),
                                                (0, c.CE)("div", Xc, [
                                                  ((0, c.uX)(!0),
                                                  (0, c.CE)(
                                                    c.FK,
                                                    null,
                                                    (0, c.pI)(
                                                      t.value,
                                                      (t, n) => (
                                                        (0, c.uX)(),
                                                        (0, c.CE)(
                                                          "div",
                                                          {
                                                            class:
                                                              "ncpc-flex ncpc-items-center ncpc-justify-start ncpc-px-4 ncpc-py-3",
                                                            key: n,
                                                          },
                                                          [
                                                            (0, c.Lk)(
                                                              "p",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  "" +
                                                                    (e.darkMode
                                                                      ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                                      : `ncpc-text-[${e.themesColors.descriptionColor}]`)
                                                                ),
                                                              },
                                                              (0, c.v_)(
                                                                t.label + " : "
                                                              ),
                                                              3
                                                            ),
                                                            (0, c.Lk)(
                                                              "p",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  "" +
                                                                    (e.darkMode
                                                                      ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                                      : `ncpc-text-[${e.themesColors.descriptionColor}]`)
                                                                ),
                                                              },
                                                              (0, c.v_)(
                                                                t.value
                                                              ),
                                                              3
                                                            ),
                                                          ]
                                                        )
                                                      )
                                                    ),
                                                    128
                                                  )),
                                                ]))
                                              : ((0, c.uX)(),
                                                (0, c.CE)(
                                                  c.FK,
                                                  { key: 1 },
                                                  [
                                                    (0, c.Q3)(
                                                      " Valeur simple "
                                                    ),
                                                    (0, c.Lk)(
                                                      "p",
                                                      {
                                                        class: (0, c.C4)(
                                                          (e.darkMode
                                                            ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                            : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                                            " ncpc-text-[14px]"
                                                        ),
                                                      },
                                                      (0, c.v_)(t.value),
                                                      3
                                                    ),
                                                  ],
                                                  2112
                                                )),
                                          ]
                                        )
                                      )
                                    ),
                                    128
                                  ))
                                : (0, c.Q3)("v-if", !0),
                              (0, c.Q3)(" Éléments de type objet "),
                              Array.isArray(t) || "object" != typeof t
                                ? (0, c.Q3)("v-if", !0)
                                : ((0, c.uX)(),
                                  (0, c.CE)("div", Nc, [
                                    (0, c.Lk)(
                                      "p",
                                      {
                                        class: (0, c.C4)(
                                          (e.darkMode
                                            ? `ncpc-text-[${e.themesColors.darkTitleColor}]`
                                            : `ncpc-text-[${e.themesColors.titleColor}]`) +
                                            " ncpc-text-[16px] ncpc-font-semibold"
                                        ),
                                      },
                                      (0, c.v_)(t.label),
                                      3
                                    ),
                                    (0, c.Q3)(" Valeur de type tableau "),
                                    Array.isArray(t.value)
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", Qc, [
                                          ((0, c.uX)(!0),
                                          (0, c.CE)(
                                            c.FK,
                                            null,
                                            (0, c.pI)(
                                              t.value,
                                              (t, n) => (
                                                (0, c.uX)(),
                                                (0, c.CE)(
                                                  "div",
                                                  {
                                                    class:
                                                      "ncpc-flex ncpc-items-center ncpc-justify-start ncpc-px-4 ncpc-py-3",
                                                    key: n,
                                                  },
                                                  [
                                                    (0, c.Lk)(
                                                      "p",
                                                      {
                                                        class: (0, c.C4)(
                                                          "" +
                                                            (e.darkMode
                                                              ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                              : `ncpc-text-[${e.themesColors.descriptionColor}]`)
                                                        ),
                                                      },
                                                      (0, c.v_)(
                                                        t.label + " : "
                                                      ),
                                                      3
                                                    ),
                                                    (0, c.Lk)(
                                                      "p",
                                                      {
                                                        class: (0, c.C4)(
                                                          "" +
                                                            (e.darkMode
                                                              ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                              : `ncpc-text-[${e.themesColors.descriptionColor}]`)
                                                        ),
                                                      },
                                                      (0, c.v_)(t.value),
                                                      3
                                                    ),
                                                  ]
                                                )
                                              )
                                            ),
                                            128
                                          )),
                                        ]))
                                      : ((0, c.uX)(),
                                        (0, c.CE)(
                                          c.FK,
                                          { key: 1 },
                                          [
                                            (0, c.Q3)(" Valeur simple "),
                                            (0, c.Lk)(
                                              "p",
                                              {
                                                class: (0, c.C4)(
                                                  (e.darkMode
                                                    ? `ncpc-text-[${e.themesColors.darkDescriptionColor}]`
                                                    : `ncpc-text-[${e.themesColors.descriptionColor}]`) +
                                                    " ncpc-text-[14px]"
                                                ),
                                              },
                                              (0, c.v_)(t.value),
                                              3
                                            ),
                                          ],
                                          2112
                                        )),
                                  ])),
                            ],
                            64
                          )
                        )
                      ),
                      128
                    )),
                  ]),
                  (0, c.Q3)(" Section prix et actions "),
                  (0, c.Lk)("div", Wc, [
                    (0, c.Q3)(" Prix "),
                    (0, c.Lk)(
                      "div",
                      {
                        class: (0, c.C4)(
                          `ncpc-bg-[${e.themesColors.priceBackgroundColor}] ncpc-flex ncpc-flex-wrap ncpc-justify-evenly ncpc-items-center ncpc-p-3 border-t-2 ncpc-shadow-md`
                        ),
                      },
                      [
                        "none" !==
                        e.config.settings.generals.customizer.discount
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "del",
                              {
                                key: 0,
                                class: (0, c.C4)(
                                  "ncpc-text-lg ncpc-font-bold " +
                                    (e.darkMode
                                      ? `ncpc-text-[${e.themesColors.darkDiscountPriceColor}]`
                                      : `ncpc-text-[${e.themesColors.discountPriceColor}]`)
                                ),
                              },
                              (0, c.v_)(e.formatedPriceWithoutReduce),
                              3
                            ))
                          : (0, c.Q3)("v-if", !0),
                        (0, c.Lk)(
                          "p",
                          {
                            class: (0, c.C4)(
                              `ncpc-text-lg ncpc-text-[${e.themesColors.priceColor}] ncpc-font-bold ncpc-text-center ncpc_total_price`
                            ),
                          },
                          (0, c.v_)(e.formatedPriceWithReduce),
                          3
                        ),
                      ],
                      2
                    ),
                    (0, c.Q3)(" Boutons d'action "),
                    (0, c.Lk)("div", Uc, [
                      (0, c.Q3)(" Bouton Modifier "),
                      (0, c.Lk)(
                        "button",
                        {
                          disabled: e.addingToCart || e.submitAQuote,
                          onClick: s,
                          class: (0, c.C4)(
                            `${
                              e.addingToCart || e.submitAQuote
                                ? "opacity-50 cursor-not-allowed disable"
                                : ""
                            } ncpc-cursor-pointer ${
                              e.config.settings.generals?.requestQuote
                                ?.enableRequestQuote ===
                              e.config.settings.generals.product.enableAddToCart
                                ? "ncpc-w-full"
                                : "ncpc-w-1/2"
                            } ncpc-bg-[${
                              e.themesColors.buttonColor
                            }] ncpc-text-[${
                              e.themesColors.buttonTextColor
                            }] hover:ncpc-bg-[${
                              e.themesColors.buttonHoverColor
                            }] ncpc-text-center ncpc-text-xl ncpc-items-center ncpc-justify-center ncpc-py-3 ncpc-transition-all ncpc-ease-in-out ncpc-duration-500`
                          ),
                        },
                        (0, c.v_)(
                          e.config.settings.languageImages.main.editLabel ??
                            "Edit"
                        ),
                        11,
                        Kc
                      ),
                      e.config.settings.generals.product.enableAddToCart &&
                      e.config.settings.generals?.requestQuote
                        ?.enableRequestQuote
                        ? ((0, c.uX)(), (0, c.CE)("br", qc))
                        : (0, c.Q3)("v-if", !0),
                      (0, c.Q3)(" Bouton Ajouter au panier "),
                      e.config.settings.generals.product.enableAddToCart
                        ? ((0, c.uX)(),
                          (0, c.CE)(
                            "button",
                            {
                              key: 1,
                              onClick: p,
                              disabled: e.addingToCart || e.submitAQuote,
                              class: (0, c.C4)(
                                `ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-text-[${e.themesColors.activeButtonTextColor}] hover:ncpc-bg-[${e.themesColors.activeButtonHoverColor}] ncpc-cursor-pointer ncpc-text-center ncpc-w-1/2 ncpc-text-xl ncpc-items-center ncpc-justify-center ncpc-py-3 ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-flex ncpc-justify-center`
                              ),
                            },
                            [
                              (0, c.eW)(
                                (0, c.v_)(
                                  e.config.settings.languageImages.main
                                    .addingToCartButton
                                ) + " ",
                                1
                              ),
                              e.addingToCart
                                ? ((0, c.uX)(),
                                  (0, c.CE)(
                                    "div",
                                    Gc,
                                    n[5] ||
                                      (n[5] = [
                                        (0, c.Lk)(
                                          "img",
                                          {
                                            src: o.A,
                                            alt: "",
                                            class: "ncpc-w-10 ncpc-h-10",
                                          },
                                          null,
                                          -1
                                        ),
                                      ])
                                  ))
                                : (0, c.Q3)("v-if", !0),
                            ],
                            10,
                            Vc
                          ))
                        : (0, c.Q3)("v-if", !0),
                      (0, c.Q3)(" Bouton Demander un devis "),
                      e.config.settings.generals?.requestQuote
                        ?.enableRequestQuote
                        ? ((0, c.uX)(),
                          (0, c.CE)(
                            "button",
                            {
                              key: 2,
                              onClick: u,
                              disabled: e.addingToCart || e.submitAQuote,
                              class: (0, c.C4)(
                                `ncpc-bg-[${e.themesColors.activeButtonColor}] ncpc-text-[${e.themesColors.activeButtonTextColor}] hover:ncpc-bg-[${e.themesColors.activeButtonHoverColor}] ncpc-cursor-pointer ncpc-text-center ncpc-w-1/2 ncpc-text-xl ncpc-items-center ncpc-justify-center ncpc-py-3 ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-flex ncpc-justify-center`
                              ),
                            },
                            [
                              (0, c.Lk)(
                                "p",
                                null,
                                (0, c.v_)(
                                  e.config.settings.languageImages.main
                                    .requestAQuoteButton
                                ),
                                1
                              ),
                            ],
                            10,
                            Yc
                          ))
                        : (0, c.Q3)("v-if", !0),
                    ]),
                  ]),
                ],
                2
              ),
            ])
          );
        },
      };
      n(5810);
      var Jc = (0, T.A)(Zc, [["__scopeId", "data-v-fee2f1ea"]]);
      const ea = {
          class: "ncpc-flex ncpc-flex-col ncpc-items-center ncpc-w-full",
        },
        ta = {
          key: 0,
          class:
            "ncpc-mb-4 ncpc-w-full ncpc-border-2 ncpc-border-dashed ncpc-border-pink-400 ncpc-rounded-lg ncpc-p-3",
        },
        na = { class: "ncpc-flex ncpc-flex-col" },
        ca = { class: "ncpc-text-gray-800 ncpc-text-sm ncpc-font-medium" },
        aa = { class: "ncpc-text-gray-500 ncpc-text-xs" },
        ra = ["onClick"],
        oa = ["accept"],
        ia = { class: "ncpc-text-3xl ncpc-text-pink-500 ncpc-mb-2" },
        la = {
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-10 ncpc-h-10",
          viewBox: "0 0 36 36",
        },
        sa = ["fill"],
        pa = ["fill"],
        ua = {
          class: "ncpc-flex ncpc-flex-col ncpc-items-center ncpc-text-gray-600",
        },
        da = { class: "ncpc-font-semibold ncpc-text-gray-800" },
        fa = { class: "ncpc-text-sm ncpc-text-gray-500" },
        ha = { class: "ncpc-text-sm ncpc-text-gray-500" },
        ma = ["accept"],
        va = {
          class:
            "ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-items-center ncpc-text-gray-600",
        },
        ga = { class: "ncpc-text-3xl ncpc-text-pink-500 ncpc-mb-2" },
        ba = {
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-10 ncpc-h-10",
          viewBox: "0 0 36 36",
        },
        xa = ["fill"],
        wa = ["fill"],
        ya = { class: "ncpc-font-semibold ncpc-text-gray-800" },
        ka = { class: "ncpc-text-sm ncpc-text-gray-500" },
        Ca = { class: "ncpc-text-sm ncpc-text-gray-500" };
      var Ra = {
          __name: "file-upload",
          props: {
            settings: Object,
            darkMode: Boolean,
            themesColors: Object,
            quoteFiles: Array,
            stylesColors: Object,
            changeFiles: Function,
          },
          setup(e) {
            const t = e,
              n = (0, c.KR)(null),
              a = (0, c.KR)(t.quoteFiles),
              r = () => {
                n.value.click();
              },
              o = (e) => {
                l(e.target.files);
              },
              i = (e) => {
                l(e.dataTransfer.files);
              },
              l = (e) => {
                if (
                  a.value.length <
                  t.settings.generals.requestQuote.maxFilesNumber
                )
                  for (let n of e) {
                    const e = s(n.name);
                    a.value.length <
                      t.settings.generals.requestQuote.maxFilesNumber &&
                      t.settings.generals.requestQuote.acceptExtensions.includes(
                        "." + e.toLowerCase()
                      ) &&
                      n.size <=
                        1024 *
                          t.settings.generals.requestQuote.maxFileSize *
                          1024 &&
                      (a.value.push(n), t.changeFiles(a.value));
                  }
              },
              s = (e) => e.split(".").pop().toUpperCase(),
              p = (e) => {
                const t = s(e.name);
                return [
                  ".jpg",
                  ".jpeg",
                  ".png",
                  ".gif",
                  ".bmp",
                  ".webp",
                  ".tiff",
                  ".svg",
                  ".ico",
                  ".heic",
                ].includes(t)
                  ? "ncpc-bg-green-400"
                  : ["PDF"].includes(t)
                  ? "ncpc-bg-pink-500"
                  : [
                      ".mp4",
                      ".avi",
                      ".mov",
                      ".wmv",
                      ".flv",
                      ".mkv",
                      ".webm",
                      ".3gp",
                      ".m4v",
                      ".mpg",
                      ".mpeg",
                    ].includes(t)
                  ? "ncpc-bg-orange-400"
                  : "ncpc-bg-gray-400";
              },
              u = (e) => {
                const t = ["o", "ko", "Mo", "Go"];
                let n = 0;
                for (; e >= 1024 && n < t.length - 1; ) (e /= 1024), n++;
                return `${e.toFixed(1)} ${t[n]}`;
              };
            return (t, l) => (
              (0, c.uX)(),
              (0, c.CE)("div", ea, [
                (0, c.Q3)(" Liste des fichiers sélectionnés "),
                a.value.length
                  ? ((0, c.uX)(),
                    (0, c.CE)("div", ta, [
                      ((0, c.uX)(!0),
                      (0, c.CE)(
                        c.FK,
                        null,
                        (0, c.pI)(
                          a.value,
                          (t, n) => (
                            (0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: n,
                                class: (0, c.C4)(
                                  `ncpc-flex ncpc-items-center ncpc-gap-3 ${
                                    e.darkMode
                                      ? `ncpc-text-[${e.themesColors.darkActiveOptionTextColor}] ncpc-bg-[${e.themesColors.darkActiveOptionBackgroundColor}]`
                                      : `ncpc-text-[${e.themesColors.activeOptionTextColor}] ncpc-bg-[${e.themesColors.activeOptionBackgroundColor}]`
                                  } ncpc-shadow-md ncpc-p-2 ncpc-rounded-lg ncpc-mb-2`
                                ),
                              },
                              [
                                (0, c.Lk)(
                                  "span",
                                  {
                                    class: (0, c.C4)([
                                      "ncpc-text-white ncpc-flex ncpc-items-center ncpc-justify-center ncpc-w-10 ncpc-h-10 ncpc-rounded-md ncpc-font-bold",
                                      p(t),
                                    ]),
                                  },
                                  (0, c.v_)(s(t.name)),
                                  3
                                ),
                                (0, c.Lk)("div", na, [
                                  (0, c.Lk)("p", ca, (0, c.v_)(t.name), 1),
                                  (0, c.Lk)(
                                    "p",
                                    aa,
                                    "(" + (0, c.v_)(u(t.size)) + ")",
                                    1
                                  ),
                                ]),
                                (0, c.Lk)(
                                  "button",
                                  {
                                    class:
                                      "ncpc-cursor-pointer ncpc-ml-auto ncpc-hover:text-red-500 ncpc-transition",
                                    onClick: (e) =>
                                      ((e) => {
                                        a.value.splice(e, 1);
                                      })(n),
                                  },
                                  l[2] ||
                                    (l[2] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          class: "ncpc-w-10 ncpc-h-10",
                                          viewBox: "0 0 36 36",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            fill: "#DD2E44",
                                            d: "M21.533 18.002L33.768 5.768c.976-.976.976-2.559 0-3.535-.977-.977-2.559-.977-3.535 0L17.998 14.467 5.764 2.233c-.976-.977-2.56-.977-3.535 0-.977.976-.977 2.559 0 3.535l12.234 12.234L2.201 30.265c-.977.977-.977 2.559 0 3.535.488.488 1.128.732 1.768.732s1.28-.244 1.768-.732l12.262-12.263 12.234 12.234c.488.488 1.128.732 1.768.732.64 0 1.279-.244 1.768-.732.976-.977.976-2.559 0-3.535L21.533 18.002z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  8,
                                  ra
                                ),
                              ],
                              2
                            )
                          )
                        ),
                        128
                      )),
                      a.value.length < 5
                        ? ((0, c.uX)(),
                          (0, c.CE)(
                            "div",
                            {
                              key: 0,
                              onDragover:
                                l[0] ||
                                (l[0] = (0, c.D$)(() => {}, ["prevent"])),
                              onDrop: i,
                              onClick: r,
                              class:
                                "ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-evenly ncpc-gap-3 ncpc-bg-white ncpc-shadow-md ncpc-p-2 ncpc-rounded-lg ncpc-mb-2",
                            },
                            [
                              (0, c.Lk)(
                                "input",
                                {
                                  ref_key: "fileInput",
                                  ref: n,
                                  type: "file",
                                  class: "ncpc-hidden",
                                  multiple: "",
                                  onChange: o,
                                  accept:
                                    e.settings.generals.requestQuote.acceptExtensions.join(
                                      ", "
                                    ),
                                },
                                null,
                                40,
                                oa
                              ),
                              (0, c.Lk)("div", ia, [
                                ((0, c.uX)(),
                                (0, c.CE)("svg", la, [
                                  (0, c.Lk)(
                                    "path",
                                    {
                                      fill: `${
                                        e.darkMode
                                          ? e.themesColors
                                              .darkActiveOptionTextColor
                                          : e.themesColors.activeOptionTextColor
                                      }`,
                                      d: "M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z",
                                    },
                                    null,
                                    8,
                                    sa
                                  ),
                                  (0, c.Lk)(
                                    "path",
                                    {
                                      fill: `${
                                        e.darkMode
                                          ? e.themesColors
                                              .darkActiveOptionBackgroundColor
                                          : e.themesColors
                                              .activeOptionBackgroundColor
                                      }`,
                                      d: "M22 29v-9h7L18 7 7 20h7v9z",
                                    },
                                    null,
                                    8,
                                    pa
                                  ),
                                ])),
                              ]),
                              (0, c.Lk)("div", ua, [
                                (0, c.Lk)(
                                  "p",
                                  da,
                                  (0, c.v_)(
                                    e.settings.languageImages.main
                                      .quoteUploadFileTitle
                                  ),
                                  1
                                ),
                                (0, c.Lk)(
                                  "p",
                                  fa,
                                  "(" +
                                    (0, c.v_)(
                                      e.settings.languageImages.main
                                        .quoteFilesFormats
                                    ) +
                                    " : .svg, .jpg, .png, .pdf)",
                                  1
                                ),
                                (0, c.Lk)(
                                  "p",
                                  ha,
                                  (0, c.v_)(
                                    e.settings.languageImages.main.maxFileSize
                                  ) + " : 10MB",
                                  1
                                ),
                              ]),
                            ],
                            32
                          ))
                        : (0, c.Q3)("v-if", !0),
                    ]))
                  : (0, c.Q3)("v-if", !0),
                (0, c.Q3)(
                  " Zone de sélection (se positionne en haut si vide, en bas si fichiers présents) "
                ),
                a.value.length
                  ? (0, c.Q3)("v-if", !0)
                  : ((0, c.uX)(),
                    (0, c.CE)(
                      "div",
                      {
                        key: 1,
                        class: (0, c.C4)(
                          `ncpc-cursor-pointer ncpc-border-2 ncpc-border-dashed ${
                            e.darkMode
                              ? ` ncpc-border-[${e.themesColors.darkActiveButtonColor}]`
                              : `ncpc-border-[${e.themesColors.activeButtonColor}]`
                          } ncpc-rounded-lg ncpc-p-6 ncpc-text-center ncpc-cursor-pointer ncpc-hover:border-blue-500 ncpc-transition ncpc-w-full`
                        ),
                        onDragover:
                          l[1] || (l[1] = (0, c.D$)(() => {}, ["prevent"])),
                        onDrop: i,
                        onClick: r,
                      },
                      [
                        (0, c.Lk)(
                          "input",
                          {
                            ref_key: "fileInput",
                            ref: n,
                            type: "file",
                            class: "ncpc-hidden",
                            multiple: "",
                            onChange: o,
                            accept:
                              e.settings.generals.requestQuote.acceptExtensions.join(
                                ", "
                              ),
                          },
                          null,
                          40,
                          ma
                        ),
                        (0, c.Lk)("div", va, [
                          (0, c.Lk)("div", ga, [
                            ((0, c.uX)(),
                            (0, c.CE)("svg", ba, [
                              (0, c.Lk)(
                                "path",
                                {
                                  fill: `${
                                    e.darkMode
                                      ? e.themesColors.darkActiveOptionTextColor
                                      : e.themesColors.activeOptionTextColor
                                  }`,
                                  d: "M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z",
                                },
                                null,
                                8,
                                xa
                              ),
                              (0, c.Lk)(
                                "path",
                                {
                                  fill: `${
                                    e.darkMode
                                      ? e.themesColors
                                          .darkActiveOptionBackgroundColor
                                      : e.themesColors
                                          .activeOptionBackgroundColor
                                  }`,
                                  d: "M22 29v-9h7L18 7 7 20h7v9z",
                                },
                                null,
                                8,
                                wa
                              ),
                            ])),
                          ]),
                          (0, c.Lk)(
                            "p",
                            ya,
                            (0, c.v_)(
                              e.settings.languageImages.main
                                .quoteUploadFileTitle
                            ),
                            1
                          ),
                          (0, c.Lk)(
                            "p",
                            ka,
                            "(" +
                              (0, c.v_)(
                                e.settings.languageImages.main.quoteFilesFormats
                              ) +
                              " : " +
                              (0, c.v_)(
                                e.settings.generals.requestQuote.acceptExtensions.join(
                                  ", "
                                )
                              ) +
                              ")",
                            1
                          ),
                          (0, c.Lk)(
                            "p",
                            Ca,
                            (0, c.v_)(
                              e.settings.languageImages.main.maxFileSize
                            ) +
                              " : " +
                              (0, c.v_)(
                                e.settings.generals.requestQuote.maxFileSize
                              ) +
                              "MB",
                            1
                          ),
                        ]),
                      ],
                      34
                    )),
              ])
            );
          },
        },
        Oa = (n(4979), null),
        $a = "rgba(237, 237, 237, 0.5)";
      function La(e, t = 0.5) {
        3 === (e = e.replace(/^#/, "")).length &&
          (e = e
            .split("")
            .map(function (e) {
              return e + e;
            })
            .join(""));
        return `rgba(${parseInt(e.substring(0, 2), 16)}, ${parseInt(
          e.substring(2, 4),
          16
        )}, ${parseInt(e.substring(4, 6), 16)}, ${t})`;
      }
      var Sa = null;
      function Ea(e, t) {
        Sa = t;
      }
      var Ia = {},
        Ta = "rgba(237, 237, 237, 0.5)",
        Aa = "rgba(237, 237, 237, 0.5)";
      function Ba() {
        Oa.getObjects().forEach((e) => {
          ("ncpc-text-shape1" !== e.name &&
            "ncpc-text-shape2" !== e.name &&
            "ncpc-text-shape3" !== e.name) ||
            e.set("visible", !1),
            ("ncpc-image-shape1" !== e.name &&
              "ncpc-image-shape2" !== e.name &&
              "ncpc-image-shape3" !== e.name) ||
              (e.set("stroke", ""), e.set("strokeWidth", 0)),
            ("ncpc-raceway-double1" !== e.name &&
              "ncpc-raceway-double2" !== e.name &&
              "ncpc-raceway-one" !== e.name) ||
              e.set("visible", !1),
            ("ncpc-cut-to-shape1" !== e.name &&
              "ncpc-cut-to-shape2" !== e.name &&
              "ncpc-cut-to-shape3" !== e.name) ||
              e.set("visible", !1),
            ("ncpc-custom-shape1" !== e.name &&
              "ncpc-custom-shape2" !== e.name &&
              "ncpc-custom-shape3" !== e.name) ||
              e.set("visible", !1);
        });
        var e = Wa("ncpc-board"),
          t = Wa("ncpc-box"),
          n = Wa("ncpc-stand1"),
          c = Wa("ncpc-stand2");
        e && e.set("visible", !1),
          t && t.set("visible", !1),
          n && n.set("visible", !1),
          c && c.set("visible", !1),
          Oa.renderAll();
      }
      async function Ma(e, t) {
        var n = Wa("ncpc-board");
        e && (Ia = e);
        var c = Ia.backboardLength,
          a = new fabric.Shadow({
            color: "black",
            offsetX: 0,
            offsetY: 0,
            blur: 15,
            isActive: !0,
            affectStroke: !0,
          });
        if ((Ba(), "none" == Ia.type)) Ba();
        else if ("board" == Ia.type) {
          (n = Wa("ncpc-board")).set("visible", !0),
            n.set("fill", Aa),
            n.set("shadow", a);
        } else if ("box" == Ia.type) {
          (n = Wa("ncpc-board")).set("visible", !0), n.set("fill", Aa);
          var r = Wa("ncpc-box");
          r.set("visible", !0), r.set("fill", Aa), r.set("shadow", a);
        } else if ("stand" == Ia.type) {
          (n = Wa("ncpc-board")).set("visible", !0), n.set("fill", Aa);
          var o = Wa("ncpc-stand1"),
            i = Wa("ncpc-stand2");
          o.set("visible", !0),
            o.set("fill", Aa),
            o.set("shadow", a),
            i.set("visible", !0),
            i.set("fill", Aa),
            i.set("shadow", a);
        } else if ("raceway-double" == Ia.type) {
          Oa.getObjects().forEach((e) => {
            ("ncpc-raceway-double1" != e.name &&
              "ncpc-raceway-double2" != e.name) ||
              (e.set("visible", !0), e.set("fill", Aa), e.set("shadow", a));
          });
        } else if ("raceway-one" == Ia.type) {
          Oa.getObjects().forEach((e) => {
            "ncpc-raceway-one" == e.name &&
              (e.set("visible", !0), e.set("fill", Aa), e.set("shadow", a));
          });
        } else if ("cut-to-letter" == Ia.type) {
          var l = c.layers.options;
          Oa.getObjects().forEach((e) => {
            ("ncpc-text-shape1" !== e.name && "ncpc-image-shape1" !== e.name) ||
              (e.set("visible", !0),
              e.set("stroke", _a),
              e.set(
                "strokeWidth",
                c.layers.activate ? c.layers.options[0].length : c.shapeLength
              ),
              e.set("strokeLineJoin", "round"),
              e.set("paintFirst", "stroke"),
              e.set("strokeUniform", !0)),
              c?.layers.activate &&
                (2 == l.length &&
                  (("ncpc-text-shape2" !== e.name &&
                    "ncpc-image-shape2" !== e.name) ||
                    (e.set("visible", !0),
                    e.set("stroke", za),
                    e.set("strokeWidth", l[1].length),
                    e.set("strokeLineJoin", "round"),
                    e.set("paintFirst", "stroke"),
                    e.set("strokeUniform", !0))),
                3 == l.length &&
                  (("ncpc-text-shape2" !== e.name &&
                    "ncpc-image-shape2" !== e.name) ||
                    (e.set("visible", !0),
                    e.set("stroke", za),
                    e.set("strokeWidth", l[1].length),
                    e.set("strokeLineJoin", "round"),
                    e.set("paintFirst", "stroke"),
                    e.set("strokeUniform", !0)),
                  ("ncpc-text-shape3" !== e.name &&
                    "ncpc-image-shape3" !== e.name) ||
                    (e.set("visible", !0),
                    e.set("stroke", Fa),
                    e.set("strokeWidth", l[2].length),
                    e.set("strokeLineJoin", "round"),
                    e.set("paintFirst", "stroke"),
                    e.set("strokeUniform", !0))));
          });
        } else if ("cut-to-shape" == Ia.type) {
          var s = Wa("ncpc-cut-to-shape1");
          if (
            (s &&
              (s.set("visible", !0),
              s.set("fill", _a),
              s.set(
                "scaleDiff",
                c.layers.activate ? c.layers.options[0].length : c.shapeLength
              ),
              s.set("shadow", a)),
            c?.layers.activate)
          ) {
            if (2 == (l = c.layers.options).length)
              (p = Wa("ncpc-cut-to-shape2")) &&
                (p.set("visible", !0),
                p.set("fill", za),
                p.set("scaleDiff", l[1].length),
                p.set("shadow", a));
            if (3 == l.length) {
              var p;
              (p = Wa("ncpc-cut-to-shape2")) &&
                (p.set("visible", !0),
                p.set("fill", za),
                p.set("scaleDiff", l[1].length),
                p.set("shadow", a));
              var u = Wa("ncpc-cut-to-shape3");
              u &&
                (u.set("visible", !0),
                u.set("fill", Fa),
                u.set("scaleDiff", l[2].length));
            }
          }
        } else if ("custom-shape" == Ia.type) {
          let e = pr(),
            t = (function () {
              let e, t;
              if ("neon" == nr)
                if (1 == Cr) {
                  const n = [];
                  Na.getObjects().forEach((e) => {
                    e.lineNumber &&
                      (n[e.lineNumber] ||
                        (n[e.lineNumber] = {
                          width: 0,
                          height: 0,
                          objects: [],
                        }),
                      (n[e.lineNumber].width += e.width || 0),
                      e.height > n[e.lineNumber].height &&
                        (n[e.lineNumber].height = e.height),
                      n[e.lineNumber].objects.push(e));
                  });
                  const c = n.filter((e) => e && "number" == typeof e.width),
                    a = Math.max(...c.map((e) => e.width)),
                    r = c.reduce((e, t) => e + t.height, 0),
                    o = { x: Na.getWidth() / 2, y: Na.getHeight() / 2 },
                    i = o.x - a / 2,
                    l = o.y - r / 2;
                  c.length;
                  (e = (c.length, l)), (t = i);
                } else {
                  var n = Wa("neon-text");
                  (t = n.left), (e = n.top);
                }
              else if ("channel" == nr)
                if (1 == Cr) {
                  const n = [];
                  Na.getObjects().forEach((e) => {
                    e.lineNumber &&
                      "ncpc-channel" == e.name &&
                      (n[e.lineNumber] ||
                        (n[e.lineNumber] = {
                          width: 0,
                          height: 0,
                          objects: [],
                        }),
                      (n[e.lineNumber].width += e.width || 0),
                      e.height > n[e.lineNumber].height &&
                        (n[e.lineNumber].height = e.height),
                      n[e.lineNumber].objects.push(e));
                  });
                  const c = n.filter((e) => e && "number" == typeof e.width),
                    a = Math.max(...c.map((e) => e.width)),
                    r = c.reduce((e, t) => e + t.height, 0),
                    o = { x: Na.getWidth() / 2, y: Na.getHeight() / 2 },
                    i = o.x - a / 2,
                    l = o.y - r / 2;
                  c.length;
                  (e = (c.length, l)), (t = i);
                } else {
                  var c = Wa("ncpc-channel");
                  (t = c.left), (e = c.top);
                }
              return { top: e, left: t };
            })(),
            n = await wr(
              Ia.customShapeFile,
              e.width,
              e.height,
              t.top,
              t.left,
              10,
              "ncpc-custom-shape1"
            );
          Oa.add(n), n.moveTo(0);
          let c = Wa("ncpc-custom-shape1");
          c &&
            (c.set("visible", !0),
            c.set("shadow", a),
            c.set("fill", Aa),
            c.set("stroke", Aa),
            console.log(n, t));
        }
        return Oa.renderAll(), t || vr(), Ia;
      }
      function ja(e) {
        Oa.getObjects().forEach((t) => {
          ("ncpc-raceway-double1" !== t.name &&
            "ncpc-raceway-double2" !== t.name) ||
            t.set("fill", e),
            "ncpc-custom-shape1" === t.name &&
              (t.set("fill", e), t.set("stroke", e));
        });
        var t = Wa("ncpc-board"),
          n = Wa("ncpc-box"),
          c = Wa("ncpc-stand1"),
          a = Wa("ncpc-stand2");
        t && t.set("fill", e),
          n && n.set("fill", e),
          c && c.set("fill", e),
          a && a.set("fill", e),
          Oa.renderAll();
      }
      var _a = "rgba(237, 237, 237, 0.7)",
        za = "rgba(237, 237, 237, 0.7)",
        Fa = "rgba(237, 237, 237, 0.7)";
      function Da(e, t) {
        if ("all" === e) {
          (_a = za = Fa = t),
            Oa.getObjects().forEach((e) => {
              ("ncpc-text-shape1" !== e.name &&
                "ncpc-text-shape2" !== e.name &&
                "ncpc-text-shape3" !== e.name) ||
                e.set("stroke", t),
                ("ncpc-image-shape1" !== e.name &&
                  "ncpc-image-shape2" !== e.name &&
                  "ncpc-image-shape3" !== e.name) ||
                  e.set("stroke", t);
            });
        } else {
          var n = e + 1;
          1 == n ? (_a = t) : 2 == n ? (za = t) : 3 == n && (Fa = t),
            Oa.getObjects().forEach((e) => {
              e.name === `ncpc-text-shape${n}` && e.set("stroke", t),
                e.name === `ncpc-image-shape${n}` && e.set("stroke", t);
            });
        }
        Oa.renderAll();
      }
      function Pa(e, t) {
        if ("all" === e)
          if (((_a = za = Fa = t), 0 == Sa)) {
            var n = Wa("ncpc-cut-to-shape1"),
              c = Wa("ncpc-cut-to-shape2"),
              a = Wa("ncpc-cut-to-shape3");
            n.set("fill", t), c.set("fill", t), a.set("fill", t);
          } else {
            Oa.getObjects().forEach((e) => {
              ("ncpc-cut-to-shape1" !== e.name &&
                "ncpc-cut-to-shape2" !== e.name &&
                "ncpc-cut-to-shape3" !== e.name) ||
                e.set("fill", t);
            });
          }
        else {
          var r = e + 1;
          if (
            (1 == r ? (_a = t) : 2 == r ? (za = t) : 3 == r && (Fa = t),
            0 == Sa)
          )
            Wa(`ncpc-cut-to-shape${r}`).set("fill", t);
          else
            Oa.getObjects().forEach((e) => {
              e.name === `ncpc-cut-to-shape${r}` && e.set("fill", t);
            });
        }
        Oa.renderAll();
      }
      async function Ha(e, t) {
        try {
          if (((Aa = Ta), (_a = za = Fa = Ta), e.usePattern)) {
            let t = pr();
            var n = await ((a = e.pattern),
            (r = t),
            new Promise((e, t) => {
              fabric.util.loadImage(
                a,
                function (n) {
                  try {
                    var c = r.width / n.width,
                      a = r.height / n.height,
                      o = new fabric.Pattern({
                        source: n,
                        repeat: "repeat",
                        patternTransform: [c, 0, 0, a, 0, 0],
                      });
                    e(o);
                  } catch (e) {
                    t(new Error("Failed to create pattern: " + e.message));
                  }
                },
                { crossOrigin: "anonymous" }
              );
            }));
            "cut-to-letter" == Ia.type
              ? ((Aa = La(e.color, 0.7)),
                Ia?.backboardLength.layers.activate
                  ? e.layers && e.layers.length > 0
                    ? (Da("all", $a),
                      e.layers.forEach((e, t) => {
                        Da(e, Aa);
                      }))
                    : Da("all", Aa)
                  : Da(0, Aa))
              : "cut-to-shape" == Ia.type
              ? ((Aa = n),
                Ia?.backboardLength.layers.activate
                  ? e.layers && e.layers.length > 0
                    ? (Pa("all", $a),
                      e.layers.forEach((e, t) => {
                        Pa(e, Aa);
                      }))
                    : Pa("all", Aa)
                  : Pa(0, Aa))
              : ja((Aa = n));
          } else {
            var c = (function (e, t) {
              if (!Array.isArray(e) || 0 === e.length)
                return (
                  console.error(
                    "Le tableau de couleurs doit contenir au moins une couleur."
                  ),
                  null
                );
              const n = { x1: 0, y1: 0, x2: t.width, y2: t.height },
                c = e.map((t, n) => ({ offset: n / (e.length - 1), color: t }));
              return new fabric.Gradient({
                type: "linear",
                coords: n,
                colorStops: c,
              });
            })([e.color, La(e.color)], { width: 300, height: 300 });
            "cut-to-letter" == Ia.type
              ? ((Aa = La(e.color, 0.7)),
                Ia?.backboardLength.layers.activate
                  ? e.layers && e.layers.length > 0
                    ? (Da("all", $a),
                      e.layers.forEach((e, t) => {
                        Da(e, Aa);
                      }))
                    : Da("all", Aa)
                  : Da(0, Aa))
              : "cut-to-shape" == Ia.type
              ? ((Aa = La(e.color, 0.7)),
                Ia?.backboardLength.layers.activate
                  ? e.layers && e.layers.length > 0
                    ? (Pa("all", $a),
                      e.layers.forEach((e, t) => {
                        Pa(e, Aa);
                      }))
                    : Pa("all", Aa)
                  : Pa(0, Aa))
              : ja((Aa = c));
          }
        } catch (e) {}
        var a, r;
      }
      async function Xa(e, t) {
        try {
          "cut-to-letter" == Ia.type
            ? (e.usePattern, Da(t, (Aa = La(e.color, 0.8))))
            : "cut-to-shape" == Ia.type &&
              (e.usePattern, Pa(t, (Aa = La(e.color, 0.8))));
        } catch (e) {}
      }
      var Na = null;
      function Qa(e) {
        !(function (e) {
          Oa = e;
        })((Na = e));
      }
      function Wa(e) {
        for (var t = Na.getObjects(), n = 0; n < t.length; n++)
          if (t[n].name === e) return t[n];
        return null;
      }
      function Ua(e) {
        var t = Na.getObjects();
        t.forEach((t) => {
          "neon" == e
            ? ("neon-text" !== t.name && "neon-image" !== t.name) ||
              Na.bringToFront(t)
            : "ncpc-channel" === t.name && Na.bringToFront(t),
            "neon-image" === t.name && Na.bringToFront(t),
            ("ncpc-width-value" !== t.name &&
              "ncpc-height-value" !== t.name &&
              "ncpc-width-line" !== t.name &&
              "ncpc-height-line" !== t.name) ||
              Na.bringToFront(t);
        }),
          Na.renderAll();
      }
      (fabric.NeonText = fabric.util.createClass(fabric.Text, {
        type: "neon-Text",
        initialize: function (e, t) {
          (t = t || {}),
            (this.neonColor = t.neonColor || "white"),
            (this.glowRadius = t.glowRadius || 20),
            (this.lightType = t.lightType || "light-color"),
            this.callSuper("initialize", e, t);
        },
        _render: function (e) {
          this.callSuper("_render", e), e.save();
          const t = this.text.split("\n"),
            n = (this.fontSize, this.lineHeight, -this.width / 2);
          let c = -this.height / 2 + this.fontSize / 2 + 0.38 * this.fontSize;
          t.forEach((t, a) => {
            const r = this.__lineWidths[a],
              o = this.__lineHeights[a],
              i = c + a * o;
            let l = n;
            const s = this.width / 2 - r / 2;
            "center" === this.textAlign
              ? (l += s)
              : "right" === this.textAlign && (l += 2 * s);
            for (let n = this.glowRadius; n > 0; n -= 5)
              (e.fillStyle = this.neonColor),
                e.fillText(t, l, i),
                "same-color" == this.lightType
                  ? (e.shadowColor = Hr(this.neonColor, 0.8))
                  : (e.shadowColor = this.neonColor),
                (e.shadowBlur = n);
            (e.shadowBlur = 0), (e.shadowColor = "transparent");
          }),
            this.callSuper("_render", e),
            e.restore();
        },
        toObject: function () {
          return fabric.util.object.extend(this.callSuper("toObject"), {
            neonColor: this.neonColor,
            glowRadius: this.glowRadius,
            lightType: this.lightType,
          });
        },
      })),
        (fabric.NeonText.fromObject = function (e, t) {
          return t(new fabric.NeonText(e.text, e));
        }),
        (fabric.NeonSvg = fabric.util.createClass(fabric.Group, {
          type: "neon-Svg",
          initialize: function (e, t) {
            (t = t || {}),
              this.callSuper("initialize", e, t),
              this.set({
                neonColor: t.neonColor || "white",
                glowRadius: t.glowRadius || 20,
                lightType: t.lightType || "light-color",
                fill: t.fill || "transparent",
                stroke: t.stroke || "white",
                strokeWidth: t.strokeWidth || 1,
              });
          },
          _render: function (e) {
            e.save();
            for (let t = this.glowRadius; t > 0; t -= 5)
              (e.shadowColor =
                "same-color" === this.lightType
                  ? Hr(this.neonColor, 0.8)
                  : this.neonColor),
                (e.shadowBlur = t),
                (e.fillStyle = this.neonColor),
                (e.strokeStyle = this.neonColor),
                this.getObjects().forEach((t) => {
                  t.render(e);
                });
            (e.shadowBlur = 0),
              (e.shadowColor = "transparent"),
              e.restore(),
              this.callSuper("_render", e);
          },
          toObject: function () {
            return fabric.util.object.extend(this.callSuper("toObject"), {
              neonColor: this.neonColor,
              glowRadius: this.glowRadius,
              lightType: this.lightType,
              fill: this.fill,
              stroke: this.stroke,
              strokeWidth: this.strokeWidth,
            });
          },
        })),
        (fabric.NeonSvg.fromObject = function (e, t) {
          return t(new fabric.NeonSvg(e));
        });
      var Ka = "both",
        qa = "Arial",
        Va = "Arial",
        Ga = "Arial",
        Ya = "16 cm\n8 in",
        Za = "40 cm/ 15 in";
      function Ja(e, t, n) {
        (Ka = e.showHideMeasurements), (Va = t), (Ga = n);
      }
      function er(e, t) {
        (Ya = e),
          (Za = t),
          Na.getObjects().forEach((e) => {
            "ncpc-height-value" == e.name && e.set("text", Ya),
              "ncpc-width-value" == e.name && e.set("text", Za);
          }),
          Na.renderAll();
      }
      function tr(e, t) {
        (ur = e.autoResize),
          "desktop" == t
            ? ((dr = e.desktop.defaultFontSize),
              (fr = e.desktop.maxFontSize),
              (hr = e.desktop.minFontSize))
            : "mobile" == t &&
              ((dr = e.mobile.defaultFontSize),
              (fr = e.mobile.maxFontSize),
              (hr = e.mobile.minFontSize));
      }
      var nr = "",
        cr = "",
        ar = null,
        rr = "";
      async function or(e, t) {
        nr = await e;
        var n = t.font[0],
          c = t.glowEffect;
        t.color[0].codeHex[0];
        "light-color" == (cr = c)
          ? ((Yr = 40), (Jr = 40))
          : "same-color" == cr
          ? ((Yr = 30), (Jr = 30))
          : "text-color" == cr && ((Yr = 40), (Jr = 40)),
          (ar = t.color[0]),
          (_r = n),
          (rr = n.label.replaceAll(" ", "-").replaceAll("_", "-")),
          (zr = "custom" == _r.lineHeight.type ? _r.lineHeight.value : 1),
          t.backboard,
          (Cr = t.canSelectText),
          Ea(nr, t.selectable);
      }
      var ir = null,
        lr = null;
      async function sr(e, t) {
        nr = e;
        var n = t.font[0];
        if (
          ((_r = n),
          (rr = n.label.replaceAll(" ", "-").replaceAll("_", "-")),
          (zr = "custom" == _r.lineHeight.type ? _r.lineHeight.value : 1),
          (ir = t.letterType.letterParts),
          (lr = t.colors),
          (Nr = t.colors.face),
          (Qr = t.colors.trim),
          (Wr = t.colors.side),
          (Ur = t.colors.backLit),
          "metalic" == lr.face.visualEffect)
        )
          Mr = Pr([lr.face.codeHex, darkColor], channel);
        else if ("acrylic" == lr.face.visualEffect) Mr = lr.face.codeHex;
        else if ("wood" == lr.face.visualEffect)
          if ("" != lr.face.pattern) {
            let e = pr();
            Mr = await Xr(e, lr.face.pattern);
          } else Mr = lr.face.codeHex;
        (jr =
          ir[0].glowing && 1 == ir[0].glowing
            ? lr.face.codeHex
            : "transparent"),
          (Cr = t.canSelectText),
          Ea(nr, t.selectable);
      }
      function pr() {
        const e = [],
          t = [];
        Na.getObjects().forEach((t) => {
          t.lineNumber &&
            (e[t.lineNumber] ||
              (e[t.lineNumber] = { width: 0, height: 0, objects: [] }),
            "neon-text" === t.name || "ncpc-channel" === t.name
              ? (e[t.lineNumber].width += t.width || 0)
              : "neon-image" === t.name &&
                (e[t.lineNumber].width += t.width * t.scaleX || 0),
            ("neon-text" == t.name || "ncpc-channel" === t.name) &&
              t.height > e[t.lineNumber].height &&
              (e[t.lineNumber].height = t.height),
            "neon-image" == t.name &&
              t.height * t.scaleY > e[t.lineNumber].height &&
              (e[t.lineNumber].height = t.height * t.scaleY),
            e[t.lineNumber].objects.push(t));
        }),
          Na.getObjects().forEach((e) => {
            e.lineNumber &&
              (t[e.lineNumber] ||
                (t[e.lineNumber] = { width: 0, height: 0, objects: [] }),
              "neon-text" === e.name || "ncpc-channel" === e.name
                ? (t[e.lineNumber].width += e.width || 0)
                : "neon-image" === e.name &&
                  (t[e.lineNumber].width += e.width * e.scaleX || 0),
              ("neon-text" == e.name || "ncpc-channel" === e.name) &&
                e.height > t[e.lineNumber].height &&
                (t[e.lineNumber].height = e.height * zr),
              "neon-image" == e.name &&
                e.height * e.scaleY > t[e.lineNumber].height &&
                (t[e.lineNumber].height = e.height * e.scaleY),
              t[e.lineNumber].objects.push(e));
          });
        const n = e.filter((e) => e && "number" == typeof e.width),
          c = t.filter((e) => e && "number" == typeof e.width),
          a = Math.max(...n.map((e) => e.width)),
          r = Math.max(...n.map((e) => e.height)),
          o = Math.max(...c.map((e) => e.height));
        let i = n.reduce((e, t) => e + t.height, 0),
          l = c.reduce((e, t) => e + t.height, 0);
        var s = i;
        return (
          n.length > 1 && (s = 1 == zr ? i : l - (o - r)),
          { width: a, height: s }
        );
      }
      var ur = !0,
        dr = 100,
        fr = 90,
        hr = 20,
        mr = 10;
      function vr(e) {
        if ("neon" == nr) {
          let l = 0,
            s = 0;
          Na.getObjects().forEach((e) => {
            e.lineNumber &&
              ("neon-text" === e.name
                ? ((l += e.width), (s += e.height))
                : "neon-image" === e.name &&
                  ((l += e.width * e.scaleX), (s += e.height * e.scaleY)));
          });
          let p = Wa("ncpc-height-value"),
            u = Wa("ncpc-width-value"),
            d = (l + 70 + p.width) / Na.getWidth(),
            f = (s + 60 + u.height) / Na.getHeight(),
            h = fr;
          if (!e && ur) {
            for (; (d > 1 || f > 1) && h > hr; ) {
              h -= mr;
              let e = 60,
                t = 60;
              Na.getObjects().forEach((n) => {
                ("neon-text" != n.name &&
                  "ncpc-text-shape1" != n.name &&
                  "ncpc-text-shape2" != n.name &&
                  "ncpc-text-shape3" !== n.name) ||
                  (n.set("fontSize", h),
                  n.setCoords(),
                  (e = n.width),
                  (t = n.height)),
                  ("neon-image" != n.name &&
                    "ncpc-image-shape0" != n.name &&
                    "ncpc-image-shape1" != n.name &&
                    "ncpc-image-shape2" != n.name &&
                    "ncpc-image-shape3" != n.name) ||
                    n.scaleToHeight(h);
              }),
                (l = 0),
                (s = 0),
                Na.getObjects().forEach((e) => {
                  e.lineNumber &&
                    ("neon-text" === e.name
                      ? ((l += e.width), (s += e.height))
                      : "neon-image" === e.name &&
                        ((l += e.width * e.scaleX),
                        (s += e.height * e.scaleY)));
                }),
                (d = (l + 70 + p.width) / Na.getWidth()),
                (f = (s + 60 + u.height) / Na.getHeight());
            }
            for (; d < 0.5 && f < 0.5 && h < fr; ) {
              h += mr;
              let e = 60,
                t = 60;
              Na.getObjects().forEach((n) => {
                ("neon-text" != n.name &&
                  "ncpc-text-shape1" != n.name &&
                  "ncpc-text-shape2" != n.name &&
                  "ncpc-text-shape3" !== n.name) ||
                  (n.set("fontSize", h),
                  n.setCoords(),
                  (e = n.width),
                  (t = n.height)),
                  ("neon-image" != n.name &&
                    "ncpc-image-shape0" != n.name &&
                    "ncpc-image-shape1" != n.name &&
                    "ncpc-image-shape2" != n.name &&
                    "ncpc-image-shape3" != n.name) ||
                    n.scaleToHeight(h);
              }),
                (l = 0),
                (s = 0),
                Na.getObjects().forEach((e) => {
                  e.lineNumber &&
                    ("neon-text" === e.name
                      ? ((l += e.width), (s += e.height))
                      : ((l += e.width * e.scaleX),
                        (s += e.height * e.scaleY)));
                }),
                (d = (l + 70 + p.width) / Na.getWidth()),
                (f = (s + 60 + u.height) / Na.getHeight());
            }
          }
          var t = pr(),
            n = Wa("ncpc-board"),
            c = Wa("ncpc-box"),
            a = Wa("ncpc-cut-to-shape1"),
            r = Wa("ncpc-cut-to-shape2"),
            o = Wa("ncpc-cut-to-shape3"),
            i = Wa("ncpc-custom-shape1");
          if (
            (n.set("width", t.width + n.scaleDiff),
            n.set("height", t.height + n.scaleDiff),
            c.set("width", t.width + n.scaleDiff),
            c.set("height", t.height + n.scaleDiff),
            a)
          ) {
            let e = (t.width + a.scaleDiff) / a.width,
              n = (t.height + a.scaleDiff) / a.height;
            a.set("scaleX", e), a.set("scaleY", n);
          }
          if (r) {
            let e = (t.width + r.scaleDiff) / r.width,
              n = (t.height + r.scaleDiff) / r.height;
            r.set("scaleX", e), r.set("scaleY", n);
          }
          if (o) {
            let e = (t.width + o.scaleDiff) / o.width,
              n = (t.height + o.scaleDiff) / o.height;
            o.set("scaleX", e), o.set("scaleY", n);
          }
          if (i) {
            let e = (t.width + i.scaleDiff) / i.width,
              n = (t.height + i.scaleDiff) / i.height;
            i.set("scaleX", e), i.set("scaleY", n);
          }
          Wa("ncpc-height-line").set("height", t.height + 30),
            Wa("ncpc-width-line").set("width", t.width + 50);
        }
        if ("channel" == nr) {
          let e = 0,
            l = 0;
          Na.getObjects().forEach((t) => {
            t.lineNumber &&
              ("ncpc-channel" === t.name
                ? ((e += t.width), (l += t.height))
                : "neon-image" === t.name &&
                  ((e += t.width * t.scaleX), (l += t.height * t.scaleY)));
          });
          let s = Wa("ncpc-height-value"),
            p = Wa("ncpc-width-value"),
            u = (e + 70 + s.width) / Na.getWidth(),
            d = (l + 60 + p.height) / Na.getHeight(),
            f = fr;
          if (ur) {
            for (; (u > 1 || d > 1) && f > hr; )
              (f -= mr),
                Na.getObjects().forEach((e) => {
                  ("ncpc-channel" !== e.name &&
                    "ncpc-channel-side1" !== e.name &&
                    "ncpc-channel-side2" !== e.name &&
                    "ncpc-text-shape1" !== e.name &&
                    "ncpc-text-shape2" !== e.name &&
                    "ncpc-text-shape3" !== e.name) ||
                    (e.set("fontSize", f), e.setCoords()),
                    ("neon-image" != e.name &&
                      "ncpc-image-side1" !== e.name &&
                      "ncpc-image-side2" !== e.name &&
                      "ncpc-image-side3" !== e.name &&
                      "ncpc-image-shape0" != e.name &&
                      "ncpc-image-shape1" != e.name &&
                      "ncpc-image-shape2" != e.name &&
                      "ncpc-image-shape3" != e.name) ||
                      e.scaleToHeight(f);
                }),
                (e = 0),
                (l = 0),
                Na.getObjects().forEach((t) => {
                  t.lineNumber &&
                    ("ncpc-channel" == t.name
                      ? ((e += t.width), (l += t.height))
                      : "neon-image" === t.name &&
                        ((e += t.width * t.scaleX),
                        (l += t.height * t.scaleY)));
                }),
                (u = (e + 70 + s.width) / Na.getWidth()),
                (d = (l + 60 + p.height) / Na.getHeight());
            for (; u < 0.5 && d < 0.5 && f < fr; )
              (f += mr),
                Na.getObjects().forEach((e) => {
                  ("ncpc-channel" !== e.name &&
                    "ncpc-channel-side1" !== e.name &&
                    "ncpc-channel-side2" !== e.name &&
                    "ncpc-text-shape1" !== e.name &&
                    "ncpc-text-shape2" !== e.name &&
                    "ncpc-text-shape3" !== e.name) ||
                    (e.set("fontSize", f), e.setCoords()),
                    ("neon-image" != e.name &&
                      "ncpc-image-side1" !== e.name &&
                      "ncpc-image-side2" !== e.name &&
                      "ncpc-image-side3" !== e.name &&
                      "ncpc-image-shape0" != e.name &&
                      "ncpc-image-shape1" != e.name &&
                      "ncpc-image-shape2" != e.name &&
                      "ncpc-image-shape3" != e.name) ||
                      e.scaleToHeight(f);
                }),
                (e = 0),
                (l = 0),
                Na.getObjects().forEach((t) => {
                  t.lineNumber &&
                    ("ncpc-channel" == t.name
                      ? ((e += t.width), (l += t.height))
                      : "neon-image" === t.name &&
                        ((e += t.width * t.scaleX),
                        (l += t.height * t.scaleY)));
                }),
                (u = (e + 70 + s.width) / Na.getWidth()),
                (d = (l + 60 + p.height) / Na.getHeight());
          }
          (t = pr()),
            (n = Wa("ncpc-board")),
            (c = Wa("ncpc-box")),
            (a = Wa("ncpc-cut-to-shape1")),
            (r = Wa("ncpc-cut-to-shape2")),
            (o = Wa("ncpc-cut-to-shape3")),
            (i = Wa("ncpc-custom-shape1"));
          if (
            (n.set("width", t.width + n.scaleDiff),
            n.set("height", t.height + n.scaleDiff),
            c.set("width", t.width + n.scaleDiff),
            c.set("height", t.height + n.scaleDiff),
            a)
          ) {
            let e = (t.width + a.scaleDiff) / a.width,
              n = (t.height + a.scaleDiff) / a.height;
            a.set("scaleX", e), a.set("scaleY", n);
          }
          if (r) {
            let e = (t.width + r.scaleDiff) / r.width,
              n = (t.height + r.scaleDiff) / r.height;
            r.set("scaleX", e), r.set("scaleY", n);
          }
          if (o) {
            let e = (t.width + o.scaleDiff) / o.width,
              n = (t.height + o.scaleDiff) / o.height;
            o.set("scaleX", e), o.set("scaleY", n);
          }
          if (i) {
            let e = (t.width + i.scaleDiff) / i.width,
              n = (t.height + i.scaleDiff) / i.height;
            i.set("scaleX", e), i.set("scaleY", n);
          }
          Wa("ncpc-height-line").set("height", t.height + 30),
            Wa("ncpc-width-line").set("width", t.width + 50);
        }
        gr(), Na.renderAll();
      }
      function gr() {
        function e(e) {
          return e.sort((e, t) => e.wordNumber - t.wordNumber);
        }
        if ("neon" == nr) {
          const b = [];
          Na.getObjects().forEach((t) => {
            t.lineNumber &&
              (b[t.lineNumber] ||
                (b[t.lineNumber] = { width: 0, height: 0, objects: [] }),
              "neon-text" === t.name
                ? (b[t.lineNumber].width += t.width || 0)
                : "neon-image" === t.name &&
                  (b[t.lineNumber].width += t.width * t.scaleX || 0),
              "neon-text" == t.name &&
                t.height > b[t.lineNumber].height &&
                (b[t.lineNumber].height = t.height),
              "neon-image" == t.name &&
                t.height * t.scaleY > b[t.lineNumber].height &&
                (b[t.lineNumber].height = t.height * t.scaleY),
              b[t.lineNumber].objects.push(t),
              (b[t.lineNumber].objects = e(b[t.lineNumber].objects)));
          });
          const x = b.filter((e) => e && "number" == typeof e.width),
            w = Math.max(...x.map((e) => e.width)),
            y = x.reduce((e, t) => e + t.height, 0),
            k = { x: Na.getWidth() / 2, y: Na.getHeight() / 2 },
            C = k.x - w / 2,
            R = k.y - y / 2;
          let O = (x.length, R),
            $ = (x.length, R);
          var t = Wa("ncpc-board"),
            n = Wa("ncpc-box"),
            c = Wa("ncpc-stand1"),
            a = Wa("ncpc-stand2"),
            r = Wa("ncpc-cut-to-shape1"),
            o = Wa("ncpc-cut-to-shape2"),
            i = Wa("ncpc-cut-to-shape3"),
            l = Wa("ncpc-custom-shape1");
          t.set("left", C - t.scaleDiff / 2),
            t.set("top", $ - t.scaleDiff / 2),
            n.set("left", t.left - 10),
            n.set("top", t.top + 10),
            r &&
              (r.set("left", C - r.scaleDiff / 2),
              r.set("top", $ - r.scaleDiff / 2)),
            o &&
              (o.set("left", C - o.scaleDiff / 2),
              o.set("top", $ - o.scaleDiff / 2)),
            i &&
              (i.set("left", C - i.scaleDiff / 2),
              i.set("top", $ - i.scaleDiff / 2)),
            l &&
              (l.set("left", C - l.scaleDiff / 2),
              l.set("top", $ - l.scaleDiff / 2));
          var s = t.top + t.height - 10,
            p = t.left + t.width / 4 - 30,
            u = t.left + (t.width / 4) * 3 - 30;
          c.set("left", p), c.set("top", s), a.set("left", u), a.set("top", s);
          var d = Wa("ncpc-height-line"),
            f = n.left - 6;
          d.set("left", f),
            d.set("top", $ - 15),
            (v = Wa("ncpc-height-value")).set(
              "left",
              d.left - d.width - v.width - 5
            ),
            v.set("top", d.top + d.height / 2 - v.height / 2);
          var h = Wa("ncpc-width-line"),
            m = n.top + n.height;
          h.set("left", C - 25),
            h.set("top", m + 5),
            (g = Wa("ncpc-width-value")).set(
              "left",
              h.left + h.width / 2 - g.width / 2
            ),
            g.set("top", h.top + h.height + g.height / 2),
            x.forEach((e, t) => {
              let n = C;
              Na.getObjects().forEach((c) => {
                if (c.line == t) {
                  k.x, e.width, k.y, e.height;
                  c.set("left", n), c.set("top", O);
                }
              }),
                "center" === $r
                  ? (n += (w - e.width) / 2)
                  : "right" === $r && (n += w - e.width),
                e.objects.forEach((c) => {
                  var a = c.strokeWidth / 2,
                    r = n - a,
                    o = O - a;
                  "neon-text" === c.name
                    ? (c.set("left", r), c.set("top", o))
                    : "neon-image" === c.name &&
                      (c.set("left", n), c.set("top", O)),
                    c.setCoords(),
                    Na.getObjects().forEach((a) => {
                      if ("ncpc-raceway-double1" == a.name && a.line == t) {
                        var r = e.objects[0].left;
                        a.set("left", r),
                          a.set("top", O + (e.height / 4 - 7.5)),
                          a.set("width", e.width),
                          a.setCoords();
                      }
                      if ("ncpc-raceway-double2" == a.name && a.line == t) {
                        r = e.objects[0].left;
                        a.set("left", r),
                          a.set("top", O + ((e.height / 4) * 3 - 5)),
                          a.set("width", e.width),
                          a.setCoords();
                      }
                      if ("ncpc-raceway-one" == a.name && a.line == t) {
                        r = e.objects[0].left;
                        a.set("left", r),
                          a.set("top", O + (e.height / 2 - 5)),
                          a.set("width", e.width),
                          a.setCoords();
                      }
                      if (
                        ("ncpc-text-shape1" == a.name ||
                          "ncpc-text-shape2" === a.name ||
                          "ncpc-text-shape3" == a.name) &&
                        a.id == c.id
                      ) {
                        var o = a.strokeWidth;
                        a.set("left", c.left - o / 2),
                          a.set("top", c.top - o / 2),
                          a.setCoords();
                      }
                      if (
                        ("ncpc-image-shape1" == a.name ||
                          "ncpc-image-shape2" === a.name ||
                          "ncpc-image-shape3" == a.name) &&
                        a.id == c.id
                      ) {
                        var i = (o = a.strokeWidth || 0) / 2;
                        let e = c.getCenterPoint();
                        a.set({
                          left: e.x - (c.width * c.scaleX) / 2 - i,
                          top: e.y - (c.height * c.scaleY) / 2 - i,
                        }),
                          a.setCoords();
                      }
                      "ncpc-image-shape0" == a.name &&
                        a.id == c.id &&
                        (a.set("left", n), a.set("top", O), a.setCoords());
                    });
                  let i = 0;
                  "neon-text" == c.name
                    ? (i = c.width)
                    : "neon-image" == c.name && (i = c.width * c.scaleX),
                    (n += i);
                }),
                (O += e.height * zr);
            });
        } else if ("channel" == nr) {
          const b = [];
          Na.getObjects().forEach((t) => {
            t.lineNumber &&
              (b[t.lineNumber] ||
                (b[t.lineNumber] = { width: 0, height: 0, objects: [] }),
              "ncpc-channel" === t.name
                ? (b[t.lineNumber].width += t.width || 0)
                : "neon-image" === t.name &&
                  (b[t.lineNumber].width += t.width * t.scaleX || 0),
              "ncpc-channel" == t.name &&
                t.height > b[t.lineNumber].height &&
                (b[t.lineNumber].height = t.height),
              "neon-image" == t.name &&
                t.height * t.scaleY > b[t.lineNumber].height &&
                (b[t.lineNumber].height = t.height * t.scaleY),
              b[t.lineNumber].objects.push(t),
              (b[t.lineNumber].objects = e(b[t.lineNumber].objects)));
          });
          const x = b.filter((e) => e && "number" == typeof e.width),
            w = Math.max(...x.map((e) => e.width)),
            y = x.reduce((e, t) => e + t.height, 0),
            k = { x: Na.getWidth() / 2, y: Na.getHeight() / 2 },
            C = k.x - w / 2,
            R = k.y - y / 2;
          let O = (x.length, R),
            $ = (x.length, R);
          (t = Wa("ncpc-board")),
            (n = Wa("ncpc-box")),
            (c = Wa("ncpc-stand1")),
            (a = Wa("ncpc-stand2")),
            (r = Wa("ncpc-cut-to-shape1")),
            (o = Wa("ncpc-cut-to-shape2")),
            (i = Wa("ncpc-cut-to-shape3")),
            (l = Wa("ncpc-custom-shape1"));
          t.set("left", C - t.scaleDiff / 2),
            t.set("top", $ - t.scaleDiff / 2),
            n.set("left", t.left - 10),
            n.set("top", t.top + 10),
            r &&
              (r.set("left", C - r.scaleDiff / 2),
              r.set("top", $ - r.scaleDiff / 2)),
            o &&
              (o.set("left", C - o.scaleDiff / 2),
              o.set("top", $ - o.scaleDiff / 2)),
            i &&
              (i.set("left", C - i.scaleDiff / 2),
              i.set("top", $ - i.scaleDiff / 2)),
            l &&
              (l.set("left", C - l.scaleDiff / 2),
              l.set("top", $ - l.scaleDiff / 2));
          (s = t.top + t.height - 10),
            (p = t.left + t.width / 4 - 30),
            (u = t.left + (t.width / 4) * 3 - 30);
          c.set("left", p), c.set("top", s), a.set("left", u), a.set("top", s);
          var v;
          (d = Wa("ncpc-height-line")), (f = n.left - 6);
          d.set("left", f),
            d.set("top", $ - 15),
            (v = Wa("ncpc-height-value")).set(
              "left",
              d.left - d.width - v.width - 5
            ),
            v.set("top", d.top + d.height / 2 - v.height / 2);
          var g;
          (h = Wa("ncpc-width-line")), (m = n.top + n.height);
          h.set("left", C - 25),
            h.set("top", m + 5),
            (g = Wa("ncpc-width-value")).set(
              "left",
              h.left + h.width / 2 - g.width / 2
            ),
            g.set("top", h.top + h.height + g.height / 2),
            x.forEach((e, t) => {
              let n = C;
              Na.getObjects().forEach((c) => {
                if (c.line == t) {
                  k.x, e.width, k.y, e.height;
                  c.set("left", n), c.set("top", O);
                }
              }),
                "center" === $r
                  ? (n += (w - e.width) / 2)
                  : "right" === $r && (n += w - e.width),
                e.objects.forEach((c) => {
                  var a = c.strokeWidth / 2,
                    r = n - a,
                    o = O - a;
                  "ncpc-channel" === c.name
                    ? (c.set("left", r), c.set("top", o))
                    : "neon-image" === c.name &&
                      (c.set("left", n), c.set("top", O)),
                    c.setCoords(),
                    Na.getObjects().forEach((n) => {
                      let a = c.getCenterPoint(),
                        r = a.x - (c.width * c.scaleX) / 2,
                        o = a.y - (c.height * c.scaleY) / 2;
                      if ("ncpc-raceway-double1" == n.name && n.line == t) {
                        var i = e.objects[0].left;
                        n.set("left", i),
                          n.set("top", O + (e.height / 4 - 7.5)),
                          n.set("width", e.width),
                          n.setCoords();
                      }
                      if ("ncpc-raceway-double2" == n.name && n.line == t) {
                        i = e.objects[0].left;
                        n.set("left", i),
                          n.set("top", O + ((e.height / 4) * 3 - 5)),
                          n.set("width", e.width),
                          n.setCoords();
                      }
                      if ("ncpc-raceway-one" == n.name && n.line == t) {
                        i = e.objects[0].left;
                        n.set("left", i),
                          n.set("top", O + (e.height / 2 - 5)),
                          n.set("width", e.width),
                          n.setCoords();
                      }
                      if (
                        ("ncpc-channel-side1" === n.name &&
                          n.id == c.id &&
                          (n.set("left", c.left + 2.5),
                          n.set("top", c.top + 2.5),
                          n.setCoords()),
                        "ncpc-channel-side2" == n.name &&
                          n.id == c.id &&
                          (n.set("left", c.left + 4.5),
                          n.set("top", c.top + 4.5),
                          n.setCoords()),
                        "ncpc-image-side1" === n.name &&
                          n.id == c.id &&
                          (n.set("left", r + 2.5),
                          n.set("top", o + 2.5),
                          n.setCoords()),
                        "ncpc-image-side2" === n.name &&
                          n.id == c.id &&
                          (n.set("left", r + 3.5),
                          n.set("top", o + 3.5),
                          n.setCoords()),
                        "ncpc-image-side3" === n.name &&
                          n.id == c.id &&
                          (n.set("left", r + 4.5),
                          n.set("top", o + 4.5),
                          n.setCoords()),
                        ("ncpc-text-shape1" == n.name ||
                          "ncpc-text-shape2" == n.name ||
                          "ncpc-text-shape3" == n.name) &&
                          n.id == c.id)
                      ) {
                        var l = n.strokeWidth;
                        n.set("left", c.left - l / 2),
                          n.set("top", c.top - l / 2),
                          n.setCoords();
                      }
                      if (
                        ("ncpc-image-shape1" == n.name ||
                          "ncpc-image-shape2" === n.name ||
                          "ncpc-image-shape3" == n.name) &&
                        n.id == c.id
                      ) {
                        var s = (l = n.strokeWidth || 0) / 2;
                        let e = c.getCenterPoint();
                        n.set({
                          left: e.x - (c.width * c.scaleX) / 2 - s,
                          top: e.y - (c.height * c.scaleY) / 2 - s,
                        });
                      }
                    });
                  let i = 0;
                  "ncpc-channel" == c.name
                    ? (i = c.width)
                    : "neon-image" == c.name && (i = c.width * c.scaleX),
                    (n += i);
                }),
                (O += e.height * zr);
            });
        }
        Na.renderAll();
      }
      var br =
        '<svg id="eZRn7xIW5mE1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 483.48 483.48" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" project-id="f4c026ebc6da452aa2734f80831d4b8e" export-id="829b9958d45748e191160b8f7d77a746" cached="false" width="483.48" height="483.48"><path d="M402.187518,-20.139818l-.000003-.000019c0,0-35.511467,12.992438-52.383945,13.052382s-35.193365-13.108449-53.574489-13.052382-32.010138,13.052382-52.236017,13.052382-26.886339-13.052364-45.3886-13.052363-31.426421,13.052362-51.193401,13.052362-48.812313-13.052362-48.812313-13.052362l-13.997224.000001C15.406341,-21.935705,-1.274807,42.579686,-1.274806,79.865879c0,0,0,0,0,0s14.537404,34.364734,14.537405,50.002856-14.72909,34.364747-14.729089,50.002872s14.729089,34.364734,14.729089,50.002855-14.888611,34.886801-14.729089,50.002857s14.02146,29.192629,14.729089,46.369121-8.690865,6.95676-14.729089,64.289142s44.32085,100.496847,100.065236,100.496847v0c0,0,32.373088-15.298233,48.812317-15.444394s33.843973,15.19794,51.193401,15.444394s35.328195-16.283058,51.441901-15.444394s30.321057,14.713952,46.182716,15.444396s36.316611-15.513989,53.574489-15.444396s9.847809,6.725807,52.383945,15.444394s94.33849-55.77165,88.36882-100.496847-15.221624-47.229905-14.586203-64.289142s12.983666-31.3865,13.12711-46.369121-13.313378-34.443499-13.12711-50.002857s14.415113-34.391084,14.415114-50.002854-14.415115-34.391105-14.415114-50.002873s14.415114-50.00284,14.415114-50.00284c3.022444-60.240272-33.246231-100.062946-88.197722-100.005713" transform="matrix(.980438 0 0 0.945826 2.519928 19.048762)" fill="#595454" stroke="#020711" stroke-linecap="round" stroke-linejoin="round"/></svg>';
      async function xr(e) {
        try {
          if ("string" == typeof e && e.trim().startsWith("<svg")) {
            const t = btoa(unescape(encodeURIComponent(e)));
            return `data:image/svg+xml;base64,${t}`;
          }
          {
            const t = await fetch(e),
              n = await t.text(),
              c = btoa(unescape(encodeURIComponent(n)));
            return `data:image/svg+xml;base64,${c}`;
          }
        } catch (e) {
          return (
            console.error(
              "Erreur lors de la conversion du SVG en data URI :",
              e
            ),
            null
          );
        }
      }
      function wr(e, t, n, c, a, r, o) {
        return new Promise(async (i, l) => {
          var s = await xr(e);
          fabric.loadSVGFromURL(s, (e, s) => {
            try {
              var p = t / e[0].width + r,
                u = n / e[0].height + r;
              const l = fabric.util.groupSVGElements(e);
              l.set("fill", "black"),
                l.set("top", c),
                l.set("left", a),
                (l.scaleDiff = r),
                (l.scaleX = p),
                (l.scaleY = u),
                (l.name = o),
                (l.selectable = !1),
                (l.visible = !0),
                i(l);
            } catch (e) {
              l(e);
            }
          });
        });
      }
      function yr(e, t, n, c, a) {
        return new Promise(async (r, o) => {
          var i = await xr(c);
          fabric.loadSVGFromURL(i, (c, i) => {
            try {
              const o = fabric.util.groupSVGElements(c, i);
              o.set("fill", "rgba(237, 237, 237, 0.1)"),
                (o.lockMovementX = !0),
                (o.lockMovementY = !0),
                (o.lockRotation = !0),
                (o.lockScalingX = !0),
                (o.selectable = !1),
                (o.id = e),
                (o.lineNumber = t),
                (o.wordNumber = n),
                (o.name = a),
                r(o);
            } catch (e) {
              o(e);
            }
          });
        });
      }
      async function kr(e) {
        Na.getElement().style.opacity = 1 == e ? "0" : "1";
      }
      let Cr = !0;
      async function Rr(e, t, n = !1, c = !1) {
        var a, r;
        await ((a = rr),
        (r = _r.url),
        new Promise((e, t) => {
          new FontFace(a, `url(${r})`)
            .load()
            .then((t) => {
              document.fonts.add(t), e();
            })
            .catch((e) => {
              t(e);
            });
        })),
          await kr(!0);
        await (async function (e = []) {
          var t = e.length ? e : [];
          let n = 0 != e.length;
          const c = Na.getWidth() / 2,
            a = Na.getHeight() / 2;
          if ("neon" == nr) {
            Na.clear();
            const t = [];
            e.forEach((e, n) => {
              let c = 0;
              var a = 0;
              let r = [];
              e.forEach(async (e, t) => {
                if ("text" == e.type) {
                  const t = e.value.match(/\S+|\s+/g) || [];
                  let n = {};
                  t.forEach((e) => {
                    (n = new fabric.Text(e, { fontSize: 50 })),
                      (c += n.width),
                      (a = n.height),
                      r.push(e);
                  });
                } else "image" == e.type && (r.push(e), (c = dr), (a = dr));
              }),
                t.push({ width: c, height: a, words: r });
            });
            const R = Math.max(...t.map((e) => e.width)),
              O = t.reduce((e, t) => e + t.height, 0),
              $ = c - R / 2;
            let L = a - O / 2;
            var r = 25,
              o = new fabric.Rect({
                name: "ncpc-board",
                height: O + r,
                width: R + r,
                top: L - r,
                left: $ - r,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              }),
              i = new fabric.Rect({
                name: "ncpc-box",
                height: o.height,
                width: o.width,
                top: o.top + 20,
                left: o.left - 20,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              });
            if (0 !== e.length) {
              let e = await wr(br, R, O, L, $, r, "ncpc-cut-to-shape1"),
                t = await wr(br, R, O, L, $, r, "ncpc-cut-to-shape2"),
                n = await wr(br, R, O, L, $, r, "ncpc-cut-to-shape3");
              Na.add(n, t, e);
            }
            var l = o.top + o.height - 10,
              s = o.left + o.width / 4 - 30,
              p = o.left + (o.width / 4) * 3 - 30,
              u = new fabric.Rect({
                name: "ncpc-stand1",
                height: 20,
                width: 60,
                top: l,
                left: s,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              }),
              d = new fabric.Rect({
                name: "ncpc-stand2",
                height: 20,
                width: 60,
                top: l,
                left: p,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              });
            Na.add(i, o, u, d);
            var f = new fabric.Rect({
                name: "ncpc-height-line",
                left: 100,
                top: 100,
                width: 2,
                height: O,
                fill: Va,
                selectable: !1,
                visible: ("both" == Ka || "only-height" == Ka) && n,
              }),
              h = new fabric.Text(Ya, {
                name: "ncpc-height-value",
                left: 100,
                top: 100,
                fontSize: 14,
                fontFamily: qa,
                textAlign: "right",
                fill: Ga,
                selectable: !1,
                visible: ("both" == Ka || "only-height" == Ka) && n,
              }),
              m = new fabric.Rect({
                name: "ncpc-width-line",
                left: 100,
                top: 100,
                width: R,
                height: 2,
                fill: Va,
                selectable: !1,
                visible: ("both" == Ka || "only-width" == Ka) && n,
              }),
              v = new fabric.Text(Za, {
                name: "ncpc-width-value",
                left: 100,
                top: 100,
                fontSize: 14,
                fontFamily: qa,
                fill: Ga,
                selectable: !1,
                visible: ("both" == Ka || "only-width" == Ka) && n,
              });
            Na.add(h, v, f, m);
            let S = 0;
            for (const [e, n] of t.entries()) {
              let t = $;
              "center" === $r
                ? (t += (R - n.width) / 2)
                : "right" === $r && (t += R - n.width);
              var g = new fabric.Rect({
                  name: "ncpc-raceway-double1",
                  line: e,
                  height: 8,
                  width: n.width,
                  top: L + (n.height / 4 - 4),
                  left: t,
                  fill: "rgba(0, 0, 0, 0.2)",
                  selectable: !1,
                  visible: !1,
                }),
                b = new fabric.Rect({
                  name: "ncpc-raceway-double2",
                  line: e,
                  height: 8,
                  width: n.width,
                  top: L + ((n.height / 4) * 3 - 4),
                  left: t,
                  fill: "rgba(0, 0, 0, 0.2)",
                  selectable: !1,
                  visible: !1,
                }),
                x = new fabric.Rect({
                  name: "ncpc-raceway-one",
                  line: e,
                  height: 8,
                  width: n.width,
                  top: L + (n.height / 2 - 4),
                  left: t,
                  fill: "rgba(0, 0, 0, 0.2)",
                  selectable: !1,
                  visible: !1,
                });
              Na.add(b, g, x);
              for (const [c, a] of n.words.entries())
                if (a) {
                  if ("image" === a.type) {
                    let n = await yr(S, e + 1, c + 1, a.src, "neon-image"),
                      r = await yr(S, e + 1, c + 1, a.src, "ncpc-image-shape0"),
                      o = await yr(S, e + 1, c + 1, a.src, "ncpc-image-shape1"),
                      i = await yr(S, e + 1, c + 1, a.src, "ncpc-image-shape2"),
                      l = await yr(S, e + 1, c + 1, a.src, "ncpc-image-shape3");
                    n.set({
                      left: t,
                      top: L,
                      colorData: ar,
                      fill:
                        "text-color" == cr || "same-color" == cr
                          ? ar.codeHex[0]
                          : "white",
                      neonColor:
                        "light-color" == cr || "same-color" == cr
                          ? ar.codeHex[0]
                          : "white",
                    }),
                      r.set({ left: t, top: L }),
                      o.set({ left: t, top: L }),
                      i.set({ left: t, top: L }),
                      l.set({ left: t, top: L }),
                      n.scaleToHeight(dr),
                      r.scaleToHeight(dr),
                      o.scaleToHeight(dr),
                      i.scaleToHeight(dr),
                      l.scaleToHeight(dr),
                      (n.selectable = Cr),
                      n.setControlsVisibility({
                        mt: !1,
                        mb: !1,
                        ml: !1,
                        mr: !1,
                        mtr: !1,
                      }),
                      Na.add(l, i, o, r, n),
                      (t += n.width * n.scaleX);
                  } else {
                    var w = new fabric.NeonText(a, {
                        id: S,
                        name: "neon-text",
                        left: t,
                        top: L,
                        fontSize: dr,
                        fontFamily: rr,
                        fontFamilyData: _r,
                        fontFamilyUrl: _r.url,
                        colorData: ar,
                        fill:
                          "text-color" == cr || "same-color" == cr
                            ? ar.codeHex[0]
                            : "white",
                        neonColor:
                          "light-color" == cr || "same-color" == cr
                            ? ar.codeHex[0]
                            : "white",
                        glowRadius: Yr,
                        lightType: cr,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        lineNumber: e + 1,
                        wordNumber: c + 1,
                        selectable: !a.includes(" ") && Cr,
                      }),
                      y = new fabric.Text(a, {
                        id: S,
                        name: "ncpc-text-shape1",
                        selectable: !1,
                        left: t,
                        top: L,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: "white",
                        lineHeight: 2,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        selecteable: !1,
                      }),
                      k = new fabric.Text(a, {
                        id: S,
                        name: "ncpc-text-shape2",
                        selectable: !1,
                        left: t,
                        top: L,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: "white",
                        lineHeight: 2,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        selecteable: !1,
                      }),
                      C = new fabric.Text(a, {
                        id: S,
                        name: "ncpc-text-shape3",
                        selectable: !1,
                        left: t,
                        top: L,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: "white",
                        lineHeight: 2,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        selecteable: !1,
                      });
                    w.setControlsVisibility({
                      mt: !1,
                      mb: !1,
                      ml: !1,
                      mr: !1,
                      mtr: !1,
                    }),
                      Na.add(C, k, y, w),
                      (t += w.width);
                  }
                  S++;
                }
              L += n.height * zr;
            }
            Br(ar), Ua(nr);
          }
          if ("channel" == nr) {
            Na.clear();
            const E = [];
            e.forEach((e, t) => {
              let n = 0;
              var c = 0;
              let a = [];
              e.forEach(async (e, t) => {
                if ("text" == e.type) {
                  const t = e.value.match(/\S+|\s+/g) || [];
                  let r = {};
                  t.forEach((e) => {
                    (r = new fabric.Text(e, { fontSize: 50 })),
                      (n += r.width),
                      (c = r.height),
                      a.push(e);
                  });
                } else "image" == e.type && (a.push(e), (n = dr), (c = dr));
              }),
                E.push({ width: n, height: c, words: a });
            });
            const I = Math.max(...E.map((e) => e.width)),
              T = E.reduce((e, t) => e + t.height, 0),
              A = c - I / 2;
            let B = a - T / 2;
            (r = 25),
              (o = new fabric.Rect({
                name: "ncpc-board",
                height: T + r,
                width: I + r,
                top: B - r,
                left: A - r,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              })),
              (i = new fabric.Rect({
                name: "ncpc-box",
                height: o.height,
                width: o.width,
                top: o.top + 20,
                left: o.left - 20,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              }));
            if ("" != t) {
              let e = await wr(br, I, T, B, A, r, "ncpc-cut-to-shape1"),
                t = await wr(br, I, T, B, A, r, "ncpc-cut-to-shape2"),
                n = await wr(br, I, T, B, A, r, "ncpc-cut-to-shape3");
              Na.add(n, t, e);
            }
            (l = o.top + o.height - 10),
              (s = o.left + o.width / 4 - 30),
              (p = o.left + (o.width / 4) * 3 - 30),
              (u = new fabric.Rect({
                name: "ncpc-stand1",
                height: 20,
                width: 60,
                top: l,
                left: s,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              })),
              (d = new fabric.Rect({
                name: "ncpc-stand2",
                height: 20,
                width: 60,
                top: l,
                left: p,
                scaleDiff: r,
                visible: !1,
                selectable: !1,
              }));
            Na.add(i, o, u, d);
            (f = new fabric.Rect({
              name: "ncpc-height-line",
              left: 100,
              top: 100,
              width: 2,
              height: T,
              fill: Va,
              selectable: !1,
              visible: ("both" == Ka || "only-height" == Ka) && n,
            })),
              (h = new fabric.Text(Ya, {
                name: "ncpc-height-value",
                left: 100,
                top: 100,
                fontSize: 14,
                fontFamily: qa,
                textAlign: "right",
                fill: Ga,
                selectable: !1,
                visible: ("both" == Ka || "only-height" == Ka) && n,
              })),
              (m = new fabric.Rect({
                name: "ncpc-width-line",
                left: 100,
                top: 100,
                width: I,
                height: 2,
                fill: Va,
                selectable: !1,
                visible: ("both" == Ka || "only-width" == Ka) && n,
              })),
              (v = new fabric.Text(Za, {
                name: "ncpc-width-value",
                left: 100,
                top: 100,
                fontSize: 14,
                fontFamily: qa,
                fill: Ga,
                selectable: !1,
                visible: ("both" == Ka || "only-width" == Ka) && n,
              }));
            Na.add(h, v, f, m);
            var R = 0;
            for (const [e, t] of E.entries()) {
              let n = A;
              "center" === $r
                ? (n += (I - t.width) / 2)
                : "right" === $r && (n += I - t.width);
              (g = new fabric.Rect({
                name: "ncpc-raceway-double1",
                line: e,
                height: 8,
                width: t.width,
                top: B + (t.height / 4 - 4),
                left: n,
                fill: "rgba(0, 0, 0, 0.2)",
                selectable: !1,
                visible: !1,
              })),
                (b = new fabric.Rect({
                  name: "ncpc-raceway-double2",
                  line: e,
                  height: 8,
                  width: t.width,
                  top: B + ((t.height / 4) * 3 - 4),
                  left: n,
                  fill: "rgba(0, 0, 0, 0.2)",
                  selectable: !1,
                  visible: !1,
                })),
                (x = new fabric.Rect({
                  name: "ncpc-raceway-one",
                  line: e,
                  height: 8,
                  width: t.width,
                  top: B + (t.height / 2 - 4),
                  left: n,
                  fill: "rgba(0, 0, 0, 0.2)",
                  selectable: !1,
                  visible: !1,
                }));
              Na.add(b, g, x);
              for (const [c, a] of t.words.entries())
                if (a) {
                  let t = new fabric.Shadow({
                    color: jr,
                    blur: Yr ? 10 : 0,
                    offsetX: Yr ? 1 : 0,
                    offsetY: Yr ? 1 : 0,
                    isActive: !0,
                    affectStroke: !1,
                  });
                  var O = new fabric.Shadow({
                      color: lr.side.codeHex,
                      offsetX: 3,
                      offsetY: 3,
                      blur: 0,
                      isActive: !0,
                      affectStroke: !0,
                    }),
                    $ = new fabric.Shadow({
                      color: lr.side.codeHex,
                      offsetX: 1,
                      offsetY: 1,
                      blur: 0,
                      isActive: !0,
                      affectStroke: !0,
                    });
                  let r = new fabric.Shadow({
                    color: lr.backLit.codeHex,
                    blur: Yr ? 40 : 0,
                    offsetX: 1 == ir[3].activate ? 2 : 0,
                    offsetY: 1 == ir[3].activate ? 2 : 0,
                    isActive: !0,
                    affectStroke: !1,
                  });
                  if ("image" === a.type) {
                    let o = await yr(R, e + 1, c + 1, a.src, "neon-image"),
                      i = await yr(R, e + 1, c + 1, a.src, "ncpc-image-side1"),
                      l = await yr(R, e + 1, c + 1, a.src, "ncpc-image-side2"),
                      s = await yr(R, e + 1, c + 1, a.src, "ncpc-image-side3"),
                      p = await yr(R, e + 1, c + 1, a.src, "ncpc-image-shape1"),
                      u = await yr(R, e + 1, c + 1, a.src, "ncpc-image-shape2"),
                      d = await yr(R, e + 1, c + 1, a.src, "ncpc-image-shape3");
                    o.set({
                      left: n,
                      top: B,
                      colorData: ar,
                      faceColorData: Nr,
                      trimColorData: Qr,
                      sideColorData: Wr,
                      backLitColorData: Ur,
                      fill: lr.face.codeHex,
                      stroke: lr.trim.codeHex,
                      strokeWidth: 1 == ir[1].activate ? 3 : 0,
                      strokeLineJoin: "round",
                      paintFirst: "stroke",
                      strokeUniform: !0,
                      shadow: t,
                      selectable: Cr,
                    }),
                      i.set({
                        fill: lr.side.codeHex,
                        stroke: lr.side.codeHex,
                        strokeWidth: 2,
                        strokeUniform: !0,
                        shadow: $,
                        renderControls: !1,
                        visible: 1 == ir[2].activate,
                        selectable: !1,
                      }),
                      l.set({
                        fill: lr.side.codeHex,
                        stroke: lr.side.codeHex,
                        strokeWidth: 2,
                        strokeUniform: !0,
                        shadow: $,
                        renderControls: !1,
                        visible: 1 == ir[2].activate,
                        selectable: !1,
                      }),
                      s.set({
                        fill: lr.side.codeHex,
                        neonColor: lr.backLit.codeHex,
                        glowRadius: 1 == ir[3].activate ? Yr : 0,
                        activeLigth: 1 == ir[3].activate,
                        visible: 1 == ir[2].activate,
                        strokeLineJoin: "round",
                        paintFirst: "stroke",
                        strokeUniform: !0,
                        shadow: r,
                      }),
                      o.scaleToHeight(dr),
                      i.scaleToHeight(dr),
                      l.scaleToHeight(dr),
                      s.scaleToHeight(dr),
                      p.scaleToHeight(dr),
                      u.scaleToHeight(dr),
                      d.scaleToHeight(dr),
                      (o.selectable = Cr),
                      o.setControlsVisibility({
                        mt: !1,
                        mb: !1,
                        ml: !1,
                        mr: !1,
                        mtr: !1,
                      }),
                      Na.add(d, u, p),
                      Na.add(s, l, i, o),
                      (n += o.width * o.scaleX);
                  } else {
                    (w = new fabric.NeonText(a, {
                      id: R,
                      name: "ncpc-channel",
                      left: n,
                      top: B,
                      textAlign: $r,
                      fontSize: dr,
                      fontFamily: rr,
                      fontFamilyData: _r,
                      fontFamilyUrl: _r.url,
                      lineHeight:
                        "custom" == _r.lineHeight.type
                          ? _r.lineHeight.value
                          : 1,
                      fill: Mr,
                      uniScaleTransform: !0,
                      centeredScaling: !0,
                      centeredScaling: !0,
                      lockMovementX: !0,
                      lockMovementY: !0,
                      lockRotation: !0,
                      lockScalingX: !0,
                      lineNumber: e + 1,
                      wordNumber: c + 1,
                      neonColor: lr.backLit.codeHex,
                      glowRadius:
                        0 == ir[2].activate && 1 == ir[3].activate ? Yr : 0,
                      activeLigth: 0 == ir[2].activate && 1 == ir[3].activate,
                      colorData: lr,
                      faceColorData: Nr,
                      trimColorData: Qr,
                      sideColorData: Wr,
                      backLitColorData: Ur,
                      stroke: lr.trim.codeHex,
                      strokeWidth: 1 == ir[1].activate ? 3 : 0,
                      strokeLineJoin: "round",
                      paintFirst: "stroke",
                      strokeUniform: !0,
                      shadow: t,
                      renderControls: !1,
                      selectable: Cr && !a.includes(" "),
                    })).setControlsVisibility({
                      mt: !1,
                      mb: !1,
                      ml: !1,
                      mr: !1,
                      mtr: !1,
                    });
                    var L = new fabric.IText(a, {
                        id: R,
                        name: "ncpc-channel-side1",
                        left: n,
                        top: B,
                        textAlign: $r,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: lr.side.codeHex,
                        uniScaleTransform: !0,
                        centeredScaling: !0,
                        centeredScaling: !0,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        strokeUniform: !0,
                        shadow: O,
                        renderControls: !1,
                        visible: 1 == ir[2].activate,
                        selectable: !1,
                      }),
                      S = new fabric.NeonText(a, {
                        id: R,
                        name: "ncpc-channel-side2",
                        left: n,
                        top: B,
                        neonColor: lr.backLit.codeHex,
                        glowRadius: 1 == ir[3].activate ? Yr : 0,
                        activeLigth: 1 == ir[3].activate,
                        textAlign: $r,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: lr.side.codeHex,
                        uniScaleTransform: !0,
                        centeredScaling: !0,
                        centeredScaling: !0,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        shadow: O,
                        renderControls: !1,
                        visible: 1 == ir[2].activate,
                        selectable: !1,
                      });
                    (y = new fabric.Text(a, {
                      id: R,
                      name: "ncpc-text-shape1",
                      left: n,
                      top: B,
                      textAlign: $r,
                      fontSize: dr,
                      fontFamily: rr,
                      lineHeight:
                        "custom" == _r.lineHeight.type
                          ? _r.lineHeight.value
                          : 1,
                      fill: "white",
                      centeredScaling: !0,
                      lockMovementX: !0,
                      lockMovementY: !0,
                      lockRotation: !0,
                      lockScalingX: !0,
                      selectable: !1,
                    })),
                      (k = new fabric.Text(a, {
                        id: R,
                        name: "ncpc-text-shape2",
                        left: n,
                        top: B,
                        textAlign: $r,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: "white",
                        centeredScaling: !0,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        selectable: !1,
                      })),
                      (C = new fabric.Text(a, {
                        id: R,
                        name: "ncpc-text-shape3",
                        left: n,
                        top: B,
                        textAlign: $r,
                        fontSize: dr,
                        fontFamily: rr,
                        lineHeight:
                          "custom" == _r.lineHeight.type
                            ? _r.lineHeight.value
                            : 1,
                        fill: "white",
                        centeredScaling: !0,
                        lockMovementX: !0,
                        lockMovementY: !0,
                        lockRotation: !0,
                        lockScalingX: !0,
                        selectable: !1,
                      }));
                    Na.add(C, k, y), Na.add(S, L, w), (n += w.width);
                  }
                  R++;
                }
              B += t.height;
            }
            Ua(nr), Na.renderAll(), Kr();
          }
        })(t);
        await Ma(), await kr(!1);
      }
      async function Or() {
        return new Promise(async (e, t) => {
          try {
            var n = Na.getObjects(),
              c = [];
            if (
              ("neon" == nr &&
                n.forEach((e) => {
                  if (
                    "neon-image" == e.name ||
                    ("neon-text" == e.name && !e.text.includes(" "))
                  ) {
                    var t = {
                      type: "neon-text" === e.name ? "text" : "image",
                      lineNumber: e.lineNumber,
                      wordNumber: e.wordNumber,
                      text: "neon-text" === e.name ? e.text : null,
                      font: "neon-text" === e.name ? e.fontFamilyData : _r,
                      fontSize: "neon-text" === e.name ? e.fontSize : null,
                      fill: e.fill,
                      neonColor: e.neonColor,
                      colorData: e.colorData,
                      object: e,
                    };
                    c.push(t);
                  }
                }),
              "channel" == nr)
            ) {
              var a = n.filter(
                (e) =>
                  (e && "neon-image" === e.name) || "ncpc-channel" === e.name
              );
              n.forEach((e) => {
                a.forEach((t) => {
                  if (
                    "ncpc-channel" == t.name &&
                    !t.text.includes(" ") &&
                    t.id === e.id &&
                    "ncpc-channel-side2" == e.name
                  ) {
                    var n = {};
                    !1 === t.activeLigth
                      ? ((n = {
                          lineNumber: t.lineNumber,
                          wordNumber: t.wordNumber,
                          text: t.text,
                          font: t.fontFamilyData,
                          face: t.fill,
                          trim: {
                            active: 0 !== t.strokeWidth,
                            color: t.stroke,
                          },
                          side: { active: !0 === e.visible, color: e.fill },
                          backLit: {
                            active: e.activeLigth,
                            color: e.neonColor,
                          },
                          colorData: {
                            face: t.faceColorData,
                            trim: t.trimColorData,
                            side: t.sideColorData,
                            backLit: t.backLitColorData,
                          },
                          objects: { channel: t, object: e },
                        }),
                        c.push(n))
                      : ((n = {
                          lineNumber: t.lineNumber,
                          wordNumber: t.wordNumber,
                          text: t.text,
                          font: t.fontFamilyData,
                          face: t.fill,
                          trim: {
                            active: 0 !== t.strokeWidth,
                            color: t.stroke,
                          },
                          side: { active: !0 === e.visible, color: e.fill },
                          backLit: {
                            active: t.activeLigth,
                            color: t.neonColor,
                          },
                          colorData: {
                            face: t.faceColorData,
                            trim: t.trimColorData,
                            side: t.sideColorData,
                            backLit: t.backLitColorData,
                          },
                          objects: { channel: t, object: e },
                        }),
                        c.push(n));
                  }
                  if (
                    "neon-image" == t.name &&
                    t.id === e.id &&
                    "ncpc-channel-side2" == e.name
                  ) {
                    n = {};
                    !1 === t.activeLigth
                      ? ((n = {
                          lineNumber: t.lineNumber,
                          wordNumber: t.wordNumber,
                          text: null,
                          font: null,
                          face: t.fill,
                          trim: {
                            active: 0 !== t.strokeWidth,
                            color: t.stroke,
                          },
                          side: { active: !0 === e.visible, color: e.fill },
                          backLit: {
                            active: e.activeLigth,
                            color: e.neonColor,
                          },
                          colorData: {
                            face: t.faceColorData,
                            trim: t.trimColorData,
                            side: t.sideColorData,
                            backLit: t.backLitColorData,
                          },
                          objects: { channel: t, object: e },
                        }),
                        c.push(n))
                      : ((n = {
                          lineNumber: t.lineNumber,
                          wordNumber: t.wordNumber,
                          text: null,
                          font: null,
                          face: t.fill,
                          trim: {
                            active: 0 !== t.strokeWidth,
                            color: t.stroke,
                          },
                          side: { active: !0 === e.visible, color: e.fill },
                          backLit: {
                            active: t.activeLigth,
                            color: t.neonColor,
                          },
                          colorData: {
                            face: t.faceColorData,
                            trim: t.trimColorData,
                            side: t.sideColorData,
                            backLit: t.backLitColorData,
                          },
                          objects: { channel: t, object: e },
                        }),
                        c.push(n));
                  }
                });
              });
            }
            e(c);
          } catch (e) {
            t(e);
          }
        });
      }
      var $r = "left";
      function Lr(e) {
        if ((($r = e), "neon" == nr)) {
          const e = [];
          Na.getObjects().forEach((t) => {
            t.lineNumber &&
              (e[t.lineNumber] ||
                (e[t.lineNumber] = { width: 0, height: 0, objects: [] }),
              (e[t.lineNumber].width += t.width || 0),
              t.height > e[t.lineNumber].height &&
                (e[t.lineNumber].height = t.height),
              e[t.lineNumber].objects.push(t));
          });
          const t = e.filter((e) => e && "number" == typeof e.width),
            n = Math.max(...t.map((e) => e.width)),
            c = t.reduce((e, t) => e + t.height, 0);
          if (isNaN(n))
            return void console.warn(
              "Aucune ligne valide trouvée pour aligner le texte."
            );
          const a = { x: Na.getWidth() / 2, y: Na.getHeight() / 2 },
            r = a.x - n / 2;
          let o = a.y - c / 2;
          t.forEach((e) => {
            let t = r;
            "center" === $r
              ? (t += (n - e.width) / 2)
              : "right" === $r && (t += n - e.width),
              e.objects.forEach((e) => {
                e.set("left", t),
                  e.set("top", o),
                  e.setCoords(),
                  Na.getObjects().forEach((t) => {
                    if (
                      ("ncpc-text-shape1" == t.name ||
                        "ncpc-text-shape2" === t.name ||
                        "ncpc-text-shape3" == t.name) &&
                      t.id == e.id
                    ) {
                      var n = t.strokeWidth;
                      t.set("left", e.left - n / 2),
                        t.set("top", e.top - n / 2),
                        t.setCoords();
                    }
                  }),
                  (t += e.width);
              }),
              (o += e.height);
          });
        } else {
          const e = [];
          Na.getObjects().forEach((t) => {
            t.lineNumber &&
              (e[t.lineNumber] ||
                (e[t.lineNumber] = { width: 0, height: 0, objects: [] }),
              (e[t.lineNumber].width += t.width || 0),
              t.height > e[t.lineNumber].height &&
                (e[t.lineNumber].height = t.height),
              e[t.lineNumber].objects.push(t));
          });
          const t = e.filter((e) => e && "number" == typeof e.width),
            n = Math.max(...t.map((e) => e.width)),
            c = t.reduce((e, t) => e + t.height, 0);
          if (isNaN(n))
            return void console.warn(
              "Aucune ligne valide trouvée pour aligner le texte."
            );
          const a = { x: Na.getWidth() / 2, y: Na.getHeight() / 2 },
            r = a.x - n / 2;
          let o = a.y - c / 2;
          t.forEach((e) => {
            let t = r;
            "center" === $r
              ? (t += (n - e.width) / 2)
              : "right" === $r && (t += n - e.width),
              e.objects.forEach((e) => {
                e.set("left", t),
                  e.set("top", o),
                  e.setCoords(),
                  Na.getObjects().forEach((t) => {
                    if (
                      ("ncpc-channel-side1" === t.name &&
                        t.id == e.id &&
                        (t.set("left", e.left + 2.5),
                        t.set("top", e.top + 2.5),
                        t.setCoords()),
                      "ncpc-channel-side2" == t.name &&
                        t.id == e.id &&
                        (t.set("left", e.left + 4.5),
                        t.set("top", e.top + 4.5),
                        t.setCoords()),
                      ("ncpc-text-shape1" == t.name ||
                        "ncpc-text-shape2" == t.name ||
                        "ncpc-text-shape3" == t.name) &&
                        t.id == e.id)
                    ) {
                      var n = t.strokeWidth;
                      t.set("left", e.left - n / 2),
                        t.set("top", e.top - n / 2),
                        t.setCoords();
                    }
                  }),
                  (t += e.width);
              }),
              (o += e.height);
          });
        }
        gr(), Na.renderAll();
      }
      let Sr = [];
      let Er = [];
      function Ir(e) {
        "flow" == e &&
          Sr.forEach((e) => {
            e.animate && e.animate();
          }),
          "multi" == e &&
            Er.forEach((e) => {
              (e.isAnimating = !1), e.animate && e.animate();
            });
      }
      function Tr(e, t) {
        return Na.getObjects().find((n) => n.name === t && n.id === e);
      }
      function Ar(e, t, n, c) {
        var a = null;
        if ("simple" == t) {
          if (c)
            if (
              Er.some(
                (t) =>
                  t.wordNumber === e.wordNumber && t.lineNumber === e.lineNumber
              )
            ) {
              const t = Er.findIndex(
                  (t) =>
                    t.wordNumber === e.wordNumber &&
                    t.lineNumber === e.lineNumber
                ),
                n = Er[t];
              null != n.animate && n.animate();
            } else
              Er.push({
                lineNumber: e.lineNumber,
                wordNumber: e.wordNumber,
                animate: null,
                isAnimating: !1,
              });
          else Ir("multi");
          if (c)
            if (
              Sr.some(
                (t) =>
                  t.wordNumber === e.wordNumber && t.lineNumber === e.lineNumber
              )
            ) {
              const t = Sr.findIndex(
                  (t) =>
                    t.wordNumber === e.wordNumber &&
                    t.lineNumber === e.lineNumber
                ),
                n = Sr[t];
              null != n.animate && n.animate();
            } else
              Sr.push({
                lineNumber: e.lineNumber,
                wordNumber: e.wordNumber,
                animate: null,
                isAnimating: !1,
              });
          else Ir("flow");
        } else {
          if ("multi" == t)
            if (c) {
              const t = Er.findIndex(
                  (t) =>
                    t.wordNumber === e.wordNumber &&
                    t.lineNumber === e.lineNumber
                ),
                n = Sr.findIndex(
                  (t) =>
                    t.wordNumber === e.wordNumber &&
                    t.lineNumber === e.lineNumber
                );
              -1 != t
                ? (Er[t].isAnimating = !0)
                : Er.push({
                    lineNumber: e.lineNumber,
                    wordNumber: e.wordNumber,
                    animate: null,
                    isAnimating: !0,
                  }),
                -1 != n
                  ? (Sr[n].isAnimating = !1)
                  : Sr.push({
                      lineNumber: e.lineNumber,
                      wordNumber: e.wordNumber,
                      animate: null,
                      isAnimating: !1,
                    });
            } else
              Ir("flow"),
                Er.forEach((e) => {
                  (e.isAnimating = !0), e.animate;
                });
          if ("flow" == t)
            if (c) {
              const t = Sr.findIndex(
                  (t) =>
                    t.wordNumber === e.wordNumber &&
                    t.lineNumber === e.lineNumber
                ),
                n = Er.findIndex(
                  (t) =>
                    t.wordNumber === e.wordNumber &&
                    t.lineNumber === e.lineNumber
                );
              -1 != t
                ? (Sr[t].isAnimating = !0)
                : Sr.push({
                    lineNumber: e.lineNumber,
                    wordNumber: e.wordNumber,
                    animate: null,
                    isAnimating: !0,
                  }),
                -1 != n
                  ? (Er[n].isAnimating = !1)
                  : Er.push({
                      lineNumber: e.lineNumber,
                      wordNumber: e.wordNumber,
                      animate: null,
                      isAnimating: !1,
                    });
            } else
              Ir("multi"),
                Sr.forEach((e) => {
                  e.animate && (e.isAnimating = !0);
                });
        }
        if (
          ("multi" == t || "simple" == t
            ? (a = n)
            : "flow" == t &&
              (a = (function (e, t) {
                if (!Array.isArray(e) || 0 === e.length)
                  return (
                    console.error(
                      "Le tableau de couleurs doit contenir au moins une couleur."
                    ),
                    null
                  );
                const n = { x1: 0, y1: 0, x2: t.width, y2: t.height / 2 },
                  c = e.map((t, n) => ({
                    offset: n / (e.length - 1),
                    color: t,
                  }));
                return new fabric.Gradient({
                  type: "linear",
                  coords: n,
                  colorStops: c,
                });
              })(n, e)),
          "flow" != t)
        ) {
          if ("simple" == t)
            if ((e.set("lightType", cr), "neon-text" === e.name))
              "light-color" == cr
                ? (e.set("neonColor", ""),
                  e.set("fill", ""),
                  e.set("neonColor", a),
                  e.set("fill", "#ffffff"))
                : "same-color" == cr
                ? (e.set("neonColor", a), e.set("fill", a))
                : "text-color" == cr &&
                  (e.set("neonColor", "#ffffff"), e.set("fill", a));
            else if ("neon-image" === e.name) {
              const t = new fabric.Shadow({
                color: a,
                blur: Yr,
                offsetX: Zr,
                offsetY: Zr,
                isActive: !0,
                affectStroke: !1,
              });
              let n = Tr(e.id, "ncpc-image-shape0"),
                c = Tr(e.id, "ncpc-image-shape1"),
                r = Tr(e.id, "ncpc-image-shape2"),
                o = Tr(e.id, "ncpc-image-shape3");
              "light-color" === cr
                ? (e.set("neonColor", a),
                  e.set("fill", a),
                  e.set("neonColor", a),
                  e.set("shadow", t),
                  e.set("fill", "#ffffff"),
                  n.set("fill", "#ffffff"),
                  c.set("fill", "#ffffff"),
                  r.set("fill", "#ffffff"),
                  o.set("fill", "#ffffff"),
                  n.set("shadow", t),
                  c.set("shadow", t),
                  r.set("shadow", t),
                  o.set("shadow", t))
                : "same-color" === cr
                ? (e.set("neonColor", a),
                  e.set("fill", a),
                  e.set("shadow", t),
                  n.set("fill", a),
                  c.set("fill", a),
                  r.set("fill", a),
                  o.set("fill", a),
                  n.set("shadow", t),
                  c.set("shadow", t),
                  r.set("shadow", t),
                  o.set("shadow", t))
                : "text-color" === cr &&
                  (e.set("neonColor", "#ffffff"),
                  e.set("fill", a),
                  (t.color = "#ffffff"),
                  e.set("shadow", t),
                  n.set("fill", a),
                  c.set("fill", a),
                  r.set("fill", a),
                  o.set("fill", a),
                  n.set("shadow", t),
                  c.set("shadow", t),
                  r.set("shadow", t),
                  o.set("shadow", t));
            }
          "multi" == t &&
            (Er = (function (e, t, n, c) {
              if (c) {
                let a = Er.findIndex(
                    (t) =>
                      t.wordNumber === e.wordNumber &&
                      t.lineNumber === e.lineNumber
                  ),
                  r = null;
                -1 !== a && (r = Er[a]);
                let o = 0;
                function i() {
                  if (!r.isAnimating) return;
                  console.log(r.intervalId, "azz");
                  const n = t[o];
                  if ("neon-text" === e.name)
                    "light-color" === cr
                      ? (e.set("neonColor", n),
                        e.set("fill", n),
                        e.set("neonColor", n),
                        e.set("fill", "#ffffff"))
                      : "same-color" === cr
                      ? (e.set("neonColor", n), e.set("fill", n))
                      : "text-color" === cr &&
                        (e.set("neonColor", "#ffffff"), e.set("fill", n));
                  else if ("neon-image" === e.name) {
                    let t = new fabric.Shadow({
                        color: n,
                        blur: Yr,
                        offsetX: Zr,
                        offsetY: Zr,
                        isActive: !0,
                        affectStroke: !1,
                      }),
                      c = Tr(e.id, "ncpc-image-shape0"),
                      a = Tr(e.id, "ncpc-image-shape1"),
                      r = Tr(e.id, "ncpc-image-shape2"),
                      o = Tr(e.id, "ncpc-image-shape3");
                    "light-color" === cr
                      ? (e.set("neonColor", n),
                        e.set("fill", n),
                        e.set("neonColor", n),
                        e.set("shadow", t),
                        e.set("fill", "#ffffff"),
                        c.set("fill", "#ffffff"),
                        a.set("fill", "#ffffff"),
                        r.set("fill", "#ffffff"),
                        o.set("fill", "#ffffff"),
                        c.set("shadow", t),
                        a.set("shadow", t),
                        r.set("shadow", t),
                        o.set("shadow", t))
                      : "same-color" === cr
                      ? (e.set("neonColor", n),
                        e.set("shadow", t),
                        e.set("fill", n),
                        c.set("fill", n),
                        a.set("fill", n),
                        r.set("fill", n),
                        o.set("fill", n),
                        c.set("shadow", t),
                        a.set("shadow", t),
                        r.set("shadow", t),
                        o.set("shadow", t))
                      : "text-color" === cr &&
                        (e.set("neonColor", "#ffffff"),
                        (t.color = "#ffffff"),
                        e.set("shadow", t),
                        e.set("fill", n),
                        c.set("fill", n),
                        a.set("fill", n),
                        r.set("fill", n),
                        o.set("fill", n),
                        c.set("shadow", t),
                        a.set("shadow", t),
                        r.set("shadow", t),
                        o.set("shadow", t));
                  }
                  Na.renderAll(), (o = (o + 1) % t.length);
                }
                return (
                  r
                    ? (clearInterval(r.intervalId),
                      (r.intervalId = setInterval(i, n)),
                      (Er[a] = r))
                    : ((r = {
                        lineNumber: obj.lineNumber,
                        wordNumber: obj.wordNumber,
                        animate: function () {
                          r.isAnimating = !1;
                        },
                        isAnimating: !0,
                      }),
                      (r.intervalId = setInterval(i, n)),
                      Er.push(r)),
                  Er
                );
              }
              {
                let l;
                return (
                  (l = Cr
                    ? Na.getObjects().filter(
                        (e) =>
                          "neon-image" === e.name ||
                          ("neon-Text" === e.type && !e.text.includes(" "))
                      )
                    : Na.getObjects().filter(
                        (e) => "neon-image" === e.name || "neon-Text" === e.type
                      )),
                  l.forEach((e) => {
                    let c = Er.find(
                        (t) =>
                          t.wordNumber === e.wordNumber &&
                          t.lineNumber === e.lineNumber
                      ),
                      a = 0;
                    function r() {
                      if (!c.isAnimating) return;
                      const n = t[a];
                      if ("neon-text" === e.name)
                        "light-color" === cr
                          ? (e.set("neonColor", n),
                            e.set("fill", n),
                            e.set("neonColor", n),
                            e.set("fill", "#ffffff"))
                          : "same-color" === cr
                          ? (e.set("neonColor", n), e.set("fill", n))
                          : "text-color" === cr &&
                            (e.set("neonColor", "#ffffff"), e.set("fill", n));
                      else if ("neon-image" === e.name) {
                        const t = new fabric.Shadow({
                          color: n,
                          blur: Yr,
                          offsetX: Zr,
                          offsetY: Zr,
                          isActive: !0,
                          affectStroke: !1,
                        });
                        let c = Tr(e.id, "ncpc-image-shape0"),
                          a = Tr(e.id, "ncpc-image-shape1"),
                          r = Tr(e.id, "ncpc-image-shape2"),
                          o = Tr(e.id, "ncpc-image-shape3");
                        "light-color" === cr
                          ? (e.set("neonColor", n),
                            e.set("fill", n),
                            e.set("shadow", t),
                            e.set("neonColor", n),
                            e.set("fill", "#ffffff"),
                            c.set("fill", "#ffffff"),
                            a.set("fill", "#ffffff"),
                            r.set("fill", "#ffffff"),
                            o.set("fill", "#ffffff"),
                            c.set("shadow", t),
                            a.set("shadow", t),
                            r.set("shadow", t),
                            o.set("shadow", t))
                          : "same-color" === cr
                          ? (e.set("neonColor", n),
                            e.set("shadow", t),
                            e.set("fill", n),
                            c.set("fill", n),
                            a.set("fill", n),
                            r.set("fill", n),
                            o.set("fill", n),
                            c.set("shadow", t),
                            a.set("shadow", t),
                            r.set("shadow", t),
                            o.set("shadow", t))
                          : "text-color" === cr &&
                            ((t.color = "#ffffff"),
                            e.set("neonColor", "#ffffff"),
                            e.set("shadow", t),
                            e.set("fill", n),
                            c.set("fill", n),
                            a.set("fill", n),
                            r.set("fill", n),
                            o.set("fill", n),
                            c.set("shadow", t),
                            a.set("shadow", t),
                            r.set("shadow", t),
                            o.set("shadow", t));
                      }
                      Na.renderAll(), (a = (a + 1) % t.length);
                    }
                    c
                      ? (clearInterval(c.intervalId),
                        (c.intervalId = setInterval(r, n)))
                      : ((c = {
                          lineNumber: e.lineNumber,
                          wordNumber: e.wordNumber,
                          animate: function () {
                            c.isAnimating = !1;
                          },
                          isAnimating: !0,
                        }),
                        (c.intervalId = setInterval(r, n)),
                        Er.push(c));
                  }),
                  Er
                );
              }
            })(e, a, 800, c));
        } else {
          e.set("neonColor", "transparent");
          let t = new fabric.Shadow({
            color: "transparent",
            blur: Yr,
            offsetX: Zr,
            offsetY: Zr,
            isActive: !0,
            affectStroke: !1,
          });
          if ("neon-image" == e.name) {
            let n = Tr(e.id, "ncpc-image-shape0"),
              c = Tr(e.id, "ncpc-image-shape1"),
              a = Tr(e.id, "ncpc-image-shape2"),
              r = Tr(e.id, "ncpc-image-shape3");
            n.set("shadow", t),
              c.set("shadow", t),
              a.set("shadow", t),
              r.set("shadow", t);
          }
          Sr = (function (e, t, n = 1, c) {
            if (c) {
              let a = Sr.find(
                (t) =>
                  t.wordNumber === e.wordNumber && t.lineNumber === e.lineNumber
              );
              a ||
                ((a = {
                  lineNumber: e.lineNumber,
                  wordNumber: e.wordNumber,
                  animate: null,
                  isAnimating: !0,
                }),
                Sr.push(a));
              let r = 0;
              function o() {
                if (a.isAnimating) {
                  if (
                    ((r -= n),
                    r <= -e.getBoundingRect().width && (r = 0),
                    (t.coords.x1 = -r),
                    (t.coords.x2 = -e.getBoundingRect().width / 2 - r),
                    e.set("fill", ""),
                    e.set("fill", t),
                    "neon-image" === e.name && e.shadow)
                  ) {
                    e.shadow = "";
                    let t = Tr(e.id, "ncpc-image-shape0"),
                      n = Tr(e.id, "ncpc-image-shape1"),
                      c = Tr(e.id, "ncpc-image-shape2"),
                      a = Tr(e.id, "ncpc-image-shape3");
                    t.set("fill", "transparent"),
                      n.set("fill", "transparent"),
                      c.set("fill", "transparent"),
                      a.set("fill", "transparent");
                  }
                  Na.renderAll(), requestAnimationFrame(o);
                }
              }
              return (
                o(),
                (a.animate = function () {
                  a.isAnimating = !1;
                }),
                Sr
              );
            }
            if (!c) {
              let i;
              return (
                (i = Cr
                  ? Na.getObjects().filter(
                      (e) =>
                        "neon-image" === e.name ||
                        ("neon-Text" === e.type && !e.text.includes(" "))
                    )
                  : Na.getObjects().filter(
                      (e) => "neon-image" === e.name || "neon-Text" === e.type
                    )),
                i.forEach((e) => {
                  let c = Sr.find(
                    (t) =>
                      t.wordNumber === e.wordNumber &&
                      t.lineNumber === e.lineNumber
                  );
                  c ||
                    ((c = {
                      lineNumber: e.lineNumber,
                      wordNumber: e.wordNumber,
                      animate: null,
                      isAnimating: !0,
                    }),
                    Sr.push(c));
                  let a = 0;
                  !(function r() {
                    if (c.isAnimating) {
                      if (
                        ((a -= n),
                        a <= -e.getBoundingRect().width && (a = 0),
                        "neon-text" === e.name
                          ? ((t.coords.x1 = -a),
                            (t.coords.x2 = -e.getBoundingRect().width / 2 - a))
                          : "neon-image" === e.name &&
                            ((t.coords.x1 = -a),
                            (t.coords.x2 = -e.getBoundingRect().width - a)),
                        e.set("fill", ""),
                        e.set("fill", t),
                        "neon-image" === e.name && e.shadow)
                      ) {
                        e.shadow = "";
                        let t = Tr(e.id, "ncpc-image-shape0"),
                          n = Tr(e.id, "ncpc-image-shape1"),
                          c = Tr(e.id, "ncpc-image-shape2"),
                          a = Tr(e.id, "ncpc-image-shape3");
                        t.set("fill", "transparent"),
                          n.set("fill", "transparent"),
                          c.set("fill", "transparent"),
                          a.set("fill", "transparent");
                      }
                      Na.renderAll(), requestAnimationFrame(r);
                    }
                  })(),
                    (c.animate = function () {
                      c.isAnimating = !1;
                    });
                }),
                Sr
              );
            }
          })(e, a, 1, c);
        }
      }
      function Br(e) {
        ar = e;
        var t = null,
          n = e.type;
        "simple" == e.type ? (t = e.codeHex[0]) : (e.codeHex, (t = e.codeHex));
        var c = Na.getActiveObject();
        null != c
          ? (Ar(c, n, t, !0), c.set("colorData", e))
          : Na.getObjects().forEach((c) => {
              ("neon-text" !== c.name && "neon-image" !== c.name) ||
                (Ar(c, n, t, !1), c.set("colorData", e));
            });
        Na.renderAll();
      }
      var Mr,
        jr,
        _r = {},
        zr = 1;
      function Fr(e, t) {
        var n;
        ((_r = e),
        (rr = e.label.replaceAll(" ", "-").replaceAll("_", "-")),
        (zr = "custom" == _r.lineHeight.type ? _r.lineHeight.value : 1),
        "neon" == nr)
          ? null != (n = Na.getActiveObject())
            ? (n.set("fontFamily", rr),
              n.set("lineHeight", zr),
              n.set("fontFamilyData", e),
              n.set("fontFamilyUrl", e.url),
              n.setCoords(),
              Na.getObjects().forEach((t) => {
                ("ncpc-text-shape1" !== t.name &&
                  "ncpc-text-shape2" !== t.name &&
                  "ncpc-text-shape3" !== t.name) ||
                  t.id != n.id ||
                  (t.set("fontFamily", rr),
                  t.set("lineHeight", zr),
                  t.set("fontFamilyData", e),
                  t.set("fontFamilyUrl", e.url));
              }))
            : Na.getObjects().forEach((t) => {
                ("neon-text" !== t.name &&
                  "ncpc-text-shape1" !== t.name &&
                  "ncpc-text-shape2" !== t.name &&
                  "ncpc-text-shape3" !== t.name) ||
                  (t.set("fontFamily", rr),
                  t.set("lineHeight", zr),
                  t.set("fontFamilyData", e),
                  t.set("fontFamilyUrl", e.url),
                  t.setCoords());
              })
          : null != (n = Na.getActiveObject())
          ? (n.set("fontFamily", rr),
            n.set("lineHeight", zr),
            n.set("fontFamilyData", e),
            n.set("fontFamilyUrl", e.url),
            n.setCoords(),
            Na.getObjects().forEach((t) => {
              ("ncpc-channel-side1" !== t.name &&
                "ncpc-channel-side2" !== t.name &&
                "ncpc-text-shape1" !== t.name &&
                "ncpc-text-shape2" !== t.name &&
                "ncpc-text-shape3" !== t.name) ||
                t.id != n.id ||
                (t.set("fontFamily", rr),
                t.set("lineHeight", zr),
                t.set("fontFamilyData", e),
                t.set("fontFamilyUrl", e.url));
            }))
          : Na.getObjects().forEach((t) => {
              ("ncpc-channel" !== t.name &&
                "ncpc-channel-side1" !== t.name &&
                "ncpc-channel-side2" !== t.name &&
                "ncpc-text-shape1" !== t.name &&
                "ncpc-text-shape2" !== t.name &&
                "ncpc-text-shape3" !== t.name) ||
                (t.set("fontFamily", rr),
                t.set("fontFamilyUrl", e.url),
                t.set("lineHeight", zr),
                t.set("fontFamilyData", e),
                t.setCoords());
            });
        Ma(), Na.renderAll();
      }
      async function Dr(e, t) {
        let n;
        (ir = e.letterParts),
          (lr = t),
          (Nr = t.face),
          (Qr = t.trim),
          (Wr = t.side),
          (Ur = t.backLit);
        let c = Hr(lr.face.codeHex, 0.8);
        var a = Na.getActiveObject();
        if (null != a) {
          if ("metallic" == lr.face.visualEffect)
            n = Pr([lr.face.codeHex, c], a);
          else if ("acrylic" == lr.face.visualEffect) n = lr.face.codeHex;
          else if ("wood" == lr.face.visualEffect.visualEffect)
            if ((console.log(n, "color wood"), "" != lr.face.pattern)) {
              let e = pr();
              n = await Xr(e, lr.face.pattern);
            } else n = lr.face.codeHex;
          (Mr = n),
            a.set("fill", n),
            ir[0].glowing && 1 == ir[0].glowing
              ? ((jr = lr.face.codeHex), (a.shadow.color = jr))
              : ((jr = "transparent"), (a.shadow.color = "transparent")),
            a.set(
              "glowRadius",
              0 == ir[2].activate && 1 == ir[3].activate ? 30 : 0
            ),
            a.set("activeLigth", 0 == ir[2].activate && 1 == ir[3].activate),
            a.set("neonColor", lr.backLit.codeHex),
            a.set("strokeWidth", 1 == ir[1].activate ? 3 : 0),
            a.set("stroke", lr.trim.codeHex),
            a.set("colorData", lr),
            a.set("faceColorData", Nr),
            a.set("trimColorData", Qr),
            a.set("sideColorData", Wr),
            a.set("backLitColorData", Ur),
            (r = Na.getObjects()).forEach((e) => {
              e.id == a.id &&
                ("ncpc-channel-side1" === e.name &&
                  (e.set("fill", lr.side.codeHex),
                  (e.shadow.color = lr.side.codeHex),
                  e.set("visible", 1 == ir[2].activate)),
                ("ncpc-image-side1" !== e.name &&
                  "ncpc-image-side2" !== e.name) ||
                  (e.set("fill", lr.side.codeHex),
                  e.set("stroke", lr.side.codeHex),
                  (e.shadow.color = lr.side.codeHex),
                  e.set("visible", 1 == ir[2].activate)),
                "ncpc-channel-side2" === e.name &&
                  (e.set("neonColor", lr.backLit.codeHex),
                  e.set("glowRadius", 1 == ir[3].activate ? 30 : 0),
                  e.set("fill", lr.side.codeHex),
                  (e.shadow.color = lr.side.codeHex),
                  e.set("visible", 1 == ir[2].activate)),
                "ncpc-image-side3" === e.name &&
                  (e.set("neonColor", lr.backLit.codeHex),
                  e.set("glowRadius", 1 == ir[3].activate ? 30 : 0),
                  e.set("fill", lr.side.codeHex),
                  (e.shadow.color = lr.backLit.codeHex),
                  e.set("visible", 1 == ir[2].activate),
                  e.set("colorData", lr)));
            });
        } else {
          var r = Na.getObjects();
          for (const [e, t] of r.entries()) {
            if ("ncpc-channel" == t.name) {
              if ("metallic" == lr.face.visualEffect)
                n = Pr([lr.face.codeHex, c], t);
              else if ("acrylic" == lr.face.visualEffect) n = lr.face.codeHex;
              else if ("wood" == lr.face.visualEffect)
                if ("" != lr.face.pattern) {
                  let e = pr();
                  n = await Xr(e, lr.face.pattern);
                } else n = lr.face.codeHex;
              (Mr = n),
                t.set("fill", Mr),
                ir[0].glowing && 1 == ir[0].glowing
                  ? ((jr = lr.face.codeHex), (t.shadow.color = jr))
                  : ((jr = "transparent"), (t.shadow.color = "transparent")),
                t.set(
                  "glowRadius",
                  0 == ir[2].activate && 1 == ir[3].activate ? 30 : 0
                ),
                t.set(
                  "activeLigth",
                  0 == ir[2].activate && 1 == ir[3].activate
                ),
                t.set("neonColor", lr.backLit.codeHex),
                t.set("strokeWidth", 1 == ir[1].activate ? 3 : 0),
                t.set("stroke", lr.trim.codeHex),
                t.set("colorData", lr),
                t.set("faceColorData", Nr),
                t.set("trimColorData", Qr),
                t.set("sideColorData", Wr),
                t.set("backLitColorData", Ur);
            }
            if ("neon-image" == t.name) {
              if ("metallic" == lr.face.visualEffect)
                n = Pr([lr.face.codeHex, c], t);
              else if ("acrylic" == lr.face.visualEffect) n = lr.face.codeHex;
              else if ("wood" == lr.face.visualEffect)
                if ("" != lr.face.pattern) {
                  let e = pr();
                  n = await Xr(e, lr.face.pattern);
                } else n = lr.face.codeHex;
              (Mr = n),
                t.set("fill", Mr),
                ir[0].glowing && 1 == ir[0].glowing
                  ? ((jr = lr.face.codeHex),
                    (t.shadow.color = jr),
                    (t.shadow.offsetX =
                      0 == ir[2].activate && 1 == ir[3].activate ? 2 : 0),
                    (t.shadow.offsetY =
                      0 == ir[2].activate && 1 == ir[3].activate ? 2 : 0))
                  : ((jr = "transparent"), (t.shadow.color = "transparent")),
                t.set(
                  "glowRadius",
                  0 == ir[2].activate && 1 == ir[3].activate ? 30 : 0
                ),
                t.set(
                  "activeLigth",
                  0 == ir[2].activate && 1 == ir[3].activate
                ),
                t.set("neonColor", lr.backLit.codeHex),
                t.set("strokeWidth", 1 == ir[1].activate ? 3 : 0),
                t.set("stroke", lr.trim.codeHex),
                t.set("colorData", lr),
                t.set("faceColorData", Nr),
                t.set("trimColorData", Qr),
                t.set("sideColorData", Wr),
                t.set("backLitColorData", Ur);
            }
            "ncpc-channel-side1" === t.name &&
              (t.set("fill", lr.side.codeHex),
              (t.shadow.color = lr.side.codeHex),
              t.set("visible", 1 == ir[2].activate),
              t.set("colorData", lr)),
              "ncpc-channel-side2" === t.name &&
                (t.set("neonColor", lr.backLit.codeHex),
                t.set("glowRadius", 1 == ir[3].activate ? 30 : 0),
                t.set("fill", lr.side.codeHex),
                (t.shadow.color = lr.side.codeHex),
                t.set("visible", 1 == ir[2].activate),
                t.set("colorData", lr)),
              ("ncpc-image-side1" !== t.name &&
                "ncpc-image-side2" !== t.name) ||
                (t.set("fill", lr.side.codeHex),
                t.set("stroke", lr.side.codeHex),
                (t.shadow.color = lr.side.codeHex),
                t.set("visible", 1 == ir[2].activate),
                t.set("colorData", lr)),
              "ncpc-image-side3" === t.name &&
                (t.set("neonColor", lr.backLit.codeHex),
                t.set("glowRadius", 1 == ir[3].activate ? 30 : 0),
                t.set("fill", lr.side.codeHex),
                (t.shadow.color = lr.backLit.codeHex),
                t.set("visible", 1 == ir[2].activate),
                t.set("colorData", lr));
          }
        }
        Ma(), Na.renderAll();
      }
      function Pr(e, t) {
        if (!Array.isArray(e) || 0 === e.length)
          return (
            console.error(
              "Le tableau de couleurs doit contenir au moins une couleur."
            ),
            null
          );
        const n = { x1: 0, y1: 0, x2: 0, y2: t.height },
          c = e.map((t, n) => ({ offset: n / (e.length - 1), color: t }));
        return new fabric.Gradient({
          type: "linear",
          coords: n,
          colorStops: c,
        });
      }
      function Hr(e, t = 70) {
        let n = parseInt(e.substring(1, 3), 16),
          c = parseInt(e.substring(3, 5), 16),
          a = parseInt(e.substring(5, 7), 16),
          r = t / 100;
        return (
          (n = Math.round(n * (1 - r))),
          (c = Math.round(c * (1 - r))),
          (a = Math.round(a * (1 - r))),
          `#${n.toString(16).padStart(2, "0")}${c
            .toString(16)
            .padStart(2, "0")}${a.toString(16).padStart(2, "0")}`
        );
      }
      async function Xr(e, t) {
        return new Promise((n, c) => {
          try {
            (a = t),
              (r = function (t) {
                fabric.util.loadImage(
                  t,
                  function (t) {
                    var c = e.width / t.width,
                      a = e.height / t.height,
                      r = new fabric.Pattern({
                        source: t,
                        repeat: "repeat",
                        patternTransform: [c, 0, 0, a, 0, 0],
                      });
                    n(r);
                  },
                  { crossOrigin: "anonymous" }
                );
              }),
              ((o = new Image()).crossOrigin = "Anonymous"),
              (o.onload = function () {
                var e = document.createElement("canvas");
                (e.width = o.width),
                  (e.height = o.height),
                  e.getContext("2d").drawImage(o, 0, 0);
                var t = e.toDataURL("image/png");
                r(t);
              }),
              (o.onerror = function () {
                console.error("Failed to load image at " + a);
              }),
              (o.src = a);
          } catch {}
          var a, r, o;
        });
      }
      let Nr, Qr, Wr, Ur;
      async function Kr(e) {
        let t, n;
        (t = e || lr.face), (lr.face = t), (Nr = t);
        let c = Hr(t.codeHex, 65);
        var a = Na.getActiveObject();
        if (null != a) {
          if ("metallic" == t.visualEffect)
            (n = Pr([t.codeHex, c], a)), console.log(n, "goodColor");
          else if ("acrylic" == t.visualEffect) n = lr.face.codeHex;
          else if ("wood" == t.visualEffect)
            if ("" != t.pattern) {
              let e = pr();
              n = await Xr(e, t.pattern);
            } else n = lr.face.codeHex;
          (Mr = n),
            a.set("fill", n),
            (a.faceColorData = t),
            ir[0].glowing && 1 == ir[0].glowing
              ? ((jr = lr.face.codeHex), (a.shadow.color = jr))
              : ((jr = "transparent"), (a.shadow.color = "transparent"));
        } else {
          var r = Na.getObjects();
          for (const [e, a] of r.entries()) {
            if ("ncpc-channel" == a.name) {
              if ("metallic" == t.visualEffect) n = Pr([lr.face.codeHex, c], a);
              else if ("acrylic" == t.visualEffect) n = lr.face.codeHex;
              else if ("wood" == t.visualEffect)
                if ("" != t.pattern) {
                  let e = pr();
                  n = await Xr(e, t.pattern);
                } else n = lr.face.codeHex;
              (Mr = n),
                a.set("fill", n),
                a.set("faceColorData", Nr),
                ir[0].glowing && 1 == ir[0].glowing
                  ? ((jr = lr.face.codeHex), (a.shadow.color = jr))
                  : ((jr = "transparent"), (a.shadow.color = "transparent"));
            }
            if ("neon-image" == a.name) {
              if ("metallic" == t.visualEffect) n = Pr([lr.face.codeHex, c], a);
              else if ("acrylic" == t.visualEffect) n = lr.face.codeHex;
              else if ("wood" == t.visualEffect)
                if ("" != t.pattern) {
                  let e = pr();
                  n = await Xr(e, t.pattern);
                } else n = lr.face.codeHex;
              (Mr = n),
                a.set("fill", n),
                a.set("faceColorData", Nr),
                ir[0].glowing && 1 == ir[0].glowing
                  ? ((jr = lr.face.codeHex), (a.shadow.color = jr))
                  : ((jr = "transparent"), (a.shadow.color = "transparent"));
            }
          }
        }
        Na.renderAll();
      }
      function qr(e) {
        (lr.trim = e), (Qr = e);
        var t = Na.getActiveObject();
        null != t
          ? (t.set("trimColorData", Qr), t.set("stroke", e.codeHex))
          : Na.getObjects().forEach((t) => {
              "ncpc-channel" == t.name &&
                (t.set("trimColorData", Qr), t.set("stroke", e.codeHex)),
                "neon-image" == t.name &&
                  (t.set("trimColorData", Qr), t.set("stroke", e.codeHex));
            });
        Na.renderAll();
      }
      function Vr(e) {
        (lr.side = e), (Wr = e);
        var t = Na.getActiveObject();
        null != t
          ? ((t.sideColorData = e),
            Na.getObjects().forEach((n) => {
              n.id === t.id &&
                (("ncpc-channel-side1" != n.name &&
                  "ncpc-channel-side2" != n.name) ||
                  (n.set("fill", e.codeHex), (n.shadow.color = e.codeHex)),
                ("ncpc-image-side1" != n.name &&
                  "ncpc-image-side2" !== n.name) ||
                  (n.set("fill", e.codeHex),
                  n.set("stroke", e.codeHex),
                  (n.shadow.color = e.codeHex)),
                "ncpc-image-side3" == n.name && n.set("fill", e.codeHex));
            }))
          : Na.getObjects().forEach((t) => {
              ("ncpc-channel" != t.name && "neon-image" != t.name) ||
                (t.sideColorData = e),
                ("ncpc-channel-side1" != t.name &&
                  "ncpc-channel-side2" != t.name) ||
                  (t.set("fill", e.codeHex), (t.shadow.color = e.codeHex)),
                ("ncpc-image-side1" != t.name &&
                  "ncpc-image-side2" !== t.name) ||
                  (t.set("fill", e.codeHex),
                  t.set("stroke", e.codeHex),
                  (t.shadow.color = e.codeHex)),
                "ncpc-image-side3" == t.name && t.set("fill", e.codeHex);
            });
        Na.renderAll();
      }
      function Gr(e) {
        (lr.backLit = e), (Ur = e);
        var t = Na.getActiveObject();
        null != t
          ? (t.set("backLitColorData", Ur),
            Na.getObjects().forEach((e) => {
              e.id === t.id &&
                (("ncpc-channel" != e.name && "ncpc-channel-side2" != e.name) ||
                  (e.set("textAlign", ""),
                  e.set("textAlign", $r),
                  e.set("neonColor", lr.backLit.codeHex),
                  e.set("backLitColorData", Ur)),
                "ncpc-image-side3" == e.name &&
                  ((e.shadow.color = lr.backLit.codeHex),
                  e.set("colorData", lr),
                  e.set("backLitColorData", Ur)));
            }))
          : Na.getObjects().forEach((e) => {
              ("ncpc-channel" != e.name && "ncpc-channel-side2" != e.name) ||
                (e.set("textAlign", ""),
                e.set("textAlign", $r),
                e.set("neonColor", lr.backLit.codeHex),
                e.set("backLitColorData", Ur)),
                "neon-image" == e.name && e.set("backLitColorData", Ur),
                "ncpc-image-side3" == e.name &&
                  ((e.shadow.color = lr.backLit.codeHex),
                  e.set("colorData", lr),
                  e.set("backLitColorData", Ur));
            });
        Na.renderAll();
      }
      var Yr = 30,
        Zr = 2,
        Jr = 30;
      function eo(e) {
        var t = 1 == e ? Jr : 0;
        ((Zr = 1 == e ? 2 : 0), (Yr = t), "neon" == nr) &&
          Na.getObjects().forEach((e) => {
            "neon-Text" == e.type &&
              "neon-text" === e.name &&
              (e.set("textAlign", ""),
              e.set("textAlign", $r),
              e.set("glowRadius", t)),
              ("neon-image" !== e.name &&
                "ncpc-image-shape0" != e.name &&
                "ncpc-image-shape1" != e.name &&
                "ncpc-image-shape2" != e.name &&
                "ncpc-image-shape3" != e.name) ||
                ((e.shadow.blur = t ? 35 : 0),
                (e.shadow.offsetX = t ? Zr : 0),
                (e.shadow.offsetY = t ? Zr : 0));
          });
        "channel" == nr &&
          Na.getObjects().forEach((e) => {
            "ncpc-channel" == e.name &&
              ((e.shadow.blur = t ? 10 : 0),
              (e.shadow.offsetX = t ? 1 : 0),
              (e.shadow.offsetY = t ? 1 : 0)),
              "neon-image" == e.name &&
                ((e.shadow.blur = t ? 10 : 0),
                (e.shadow.offsetX = t ? 1 : 0),
                (e.shadow.offsetY = t ? 1 : 0)),
              "ncpc-channel" == e.name &&
                !0 === e.activeLigth &&
                (e.set("textAlign", ""),
                e.set("textAlign", $r),
                e.set("glowRadius", t)),
              "ncpc-channel-side2" == e.name &&
                1 == e.visible &&
                (e.set("textAlign", ""),
                e.set("textAlign", $r),
                e.set("glowRadius", t)),
              "ncpc-image-side2" == e.name &&
                1 == e.visible &&
                ((e.shadow.blur = t ? 35 : 0),
                (e.shadow.offsetX = t ? Zr : 0),
                (e.shadow.offsetY = t ? Zr : 0));
          });
        Na.renderAll();
      }
      async function to(e, t, n) {
        try {
          var c, a;
          t && n && (Na.setWidth(t), Na.setHeight(n), vr()),
            Na.getZoom(),
            Na.getObjects().forEach((e, t) => {
              ("ncpc-width-line" !== e.name && "ncpc-width-value" !== e.name) ||
                ((c = e.visible), e.set("visible", !1)),
                ("ncpc-height-line" !== e.name &&
                  "ncpc-height-value" !== e.name) ||
                  ((a = e.visible), e.set("visible", !1));
            });
          var r = "";
          switch (e) {
            case "png":
              r = Na.toDataURL({ format: "png", quality: 1 });
              break;
            case "jpeg":
              r = Na.toDataURL({ format: "jpeg", quality: 1 });
              break;
            case "webp":
              r = Na.toDataURL({ format: "webp", quality: 1 });
              break;
            case "svg":
              r = svgUrl;
          }
          if (
            (Na.setBackgroundColor("transparent", Na.renderAll.bind(Na)),
            Na.getObjects().forEach((e) => {
              ("ncpc-width-line" !== e.name && "ncpc-width-value" !== e.name) ||
                e.set("visible", c),
                ("ncpc-height-line" !== e.name &&
                  "ncpc-height-value" !== e.name) ||
                  e.set("visible", a);
            }),
            t && n)
          ) {
            var o = document.getElementById("ncpc-editor-container");
            if (o) {
              var i = o.clientWidth,
                l = o.clientHeight;
              Na.setWidth(i), Na.setHeight(l);
            }
            vr();
          }
          return Na.requestRenderAll(), r;
        } catch (e) {
          console.error("Une erreur est survenue:", e);
        }
      }
      async function no(e, t) {
        var n = await (function (e, t) {
          return new Promise((n, c) => {
            try {
              if (t)
                fabric.Image.fromURL(
                  t,
                  async function (c) {
                    var a = 1900 / c.width,
                      r = 1080 / c.height,
                      o = new fabric.Pattern({
                        source: t,
                        repeat: "no-repeat",
                        patternTransform: [a, 0, 0, r, 0, 0],
                      });
                    const i = document.createElement("canvas");
                    var l = new fabric.Canvas(i, {
                      width: 1900,
                      height: 1080,
                      interactive: !1,
                      backgroundColor: o,
                    });
                    fabric.Image.fromURL(e, async function (e) {
                      (e.scaleX = 1.5),
                        (e.scaleY = 1.5),
                        l.add(e),
                        l.centerObject(e);
                      let t = l.toDataURL({ format: "png", quality: 1 });
                      n(t);
                    });
                  },
                  { crossOrigin: "anonymous" }
                );
              else {
                const t = document.createElement("canvas");
                var a = new fabric.Canvas(t, {
                  width: 1900,
                  height: 1080,
                  interactive: !1,
                  backgroundColor: "#333747",
                });
                fabric.Image.fromURL(e, async function (e) {
                  (e.scaleX = 1.5),
                    (e.scaleY = 1.5),
                    a.add(e),
                    a.centerObject(e);
                  let t = a.toDataURL({ format: "png", quality: 1 });
                  n(t);
                });
              }
            } catch (e) {
              c(e);
            }
          });
        })(e, t);
        return n;
      }
      async function co() {
        try {
          Na.width, Na.height;
          const p = { width: "100%", height: "100%", encoding: "UTF-8" },
            u = { width: "1900px", height: "1080px", encoding: "UTF-8" };
          function d(e, t, n, c) {
            if ("string" != typeof e)
              return console.error("Text must be a string"), !1;
            const a = ["g", "j", "p", "q", "y"];
            for (let e of a)
              if (e.match(/[a-z]/)) {
                let a = t.getPath(e, 0, 0, c).getBoundingBox();
                if (0.9 * n > a.y2 - a.y1) return !0;
              }
            return !1;
          }
          async function f() {
            return new Promise((e, t) => {
              var n = Na.getObjects();
              let c = [];
              n.forEach((e, t) => {
                if (
                  ("neon-text" === e.name || "ncpc-channel" === e.name) &&
                  !e.fontFamily.endsWith(".woff2")
                )
                  if (Cr) {
                    let t = (async () => {
                      try {
                        var t = await fetch(e.fontFamilyUrl).then((e) =>
                            e.arrayBuffer()
                          ),
                          n = opentype.parse(t),
                          c = e.fontSize;
                        e.left;
                        let l = c;
                        const s = new fabric.Group([], {
                          left: e.left,
                          top: e.top,
                          name: "ncpc-svg-path",
                        });
                        var a = n.getPath(e.text, 0, l, c),
                          r = a.getBoundingBox(),
                          o = r.x2 - r.x1;
                        r.y2, r.y1;
                        var i;
                        switch (e.textAlign) {
                          case "center":
                            i = (e.width * e.scaleX - o) / 2;
                            break;
                          case "right":
                            i = e.width * e.scaleX - o;
                            break;
                          default:
                            i = 0;
                        }
                        a.commands.forEach((e) => {
                          void 0 !== e.x && (e.x += i),
                            void 0 !== e.x1 && (e.x1 += i),
                            void 0 !== e.x2 && (e.x2 += i);
                        });
                        const p = new fabric.Path(a.toPathData(20), {
                          top: e.top,
                          left: e.left,
                          fill: "black",
                          name: "ncpc-svg-path",
                        });
                        return Na.add(p), Na.renderAll(), s;
                      } catch (e) {
                        throw (
                          (console.error("Error in processing text:", e), e)
                        );
                      }
                    })();
                    c.push(t);
                  } else {
                    let n = (async () => {
                      try {
                        var n = await fetch(e.fontFamilyUrl).then((e) =>
                            e.arrayBuffer()
                          ),
                          c = opentype.parse(n),
                          a =
                            "string" == typeof e.text ? e.text.split("\n") : [],
                          r = e.fontSize;
                        e.left;
                        let o = r;
                        const i = new fabric.Group([], {
                          left: e.left,
                          top: e.top,
                          name: "ncpc-svg-path",
                        });
                        return (
                          a.forEach((t) => {
                            var n = c.getPath(t, 0, o, r),
                              a = n.getBoundingBox(),
                              l = a.x2 - a.x1;
                            let s = a.y2 - a.y1;
                            var p;
                            switch (e.textAlign) {
                              case "center":
                                p = (e.width * e.scaleX - l) / 2;
                                break;
                              case "right":
                                p = e.width * e.scaleX - l;
                                break;
                              default:
                                p = 0;
                            }
                            n.commands.forEach((e) => {
                              void 0 !== e.x && (e.x += p),
                                void 0 !== e.x1 && (e.x1 += p),
                                void 0 !== e.x2 && (e.x2 += p);
                            });
                            d(String(t), c, s, r * e.scaleX);
                            var u = new fabric.Group([], {});
                            const f = new fabric.Path(n.toPathData(20), {
                              strokeWidth: 2,
                              fill: "black",
                            });
                            u.addWithUpdate(f),
                              i.addWithUpdate(u),
                              Na.renderAll(),
                              (o += r);
                          }),
                          (i.left = e.left - i.width / 2),
                          (i.top = e.top - i.height / 2),
                          Na.add(i),
                          Na.centerObject(i),
                          i.moveTo(t),
                          i
                        );
                      } catch (e) {
                        throw (
                          (console.error("Error in processing text:", e), e)
                        );
                      }
                    })();
                    c.push(n);
                  }
              }),
                Promise.all(c)
                  .then((t) => e(t))
                  .catch((e) => t(e));
            });
          }
          var e, t, n, c, a, r, o, i, l, s;
          Na.getObjects().forEach((p, u) => {
            ("ncpc-width-line" !== p.name && "ncpc-width-value" !== p.name) ||
              ((e = p.visible), p.set("visible", !1)),
              ("ncpc-height-line" !== p.name &&
                "ncpc-height-value" !== p.name) ||
                ((t = p.visible), p.set("visible", !1)),
              ("neon-text" !== p.name && "ncpc-channel" !== p.name) ||
                p.set("visible", !1),
              ("ncpc-channel-side1" !== p.name &&
                "ncpc-channel-side2" !== p.name) ||
                ((n = p.visible), p.set("visible", !1)),
              "ncpc-board" === p.name &&
                ((c = p.visible), p.set("visible", !1)),
              "ncpc-box" === p.name && ((a = p.visible), p.set("visible", !1)),
              "ncpc-text-shape1" === p.name &&
                ((i = p.visible), p.set("visible", !1)),
              "ncpc-text-shape2" === p.name &&
                ((l = p.visible), p.set("visible", !1)),
              "ncpc-text-shape3" === p.name &&
                ((s = p.visible), p.set("visible", !1)),
              ("ncpc-stand1" !== p.name && "ncpc-stand2" !== p.name) ||
                ((r = p.visible), p.set("visible", !1)),
              ("ncpc-raceway-double1" !== p.name &&
                "ncpc-raceway-double2" !== p.name) ||
                ((o = p.visible), p.set("visible", !1));
          }),
            Na.renderAll(),
            await f();
          const h = Na.toSVG(u);
          Na.toSVG(p);
          document.getElementById("showPreview"),
            btoa(unescape(encodeURIComponent(h)));
          return (
            Na.setBackgroundColor("transparent", Na.renderAll.bind(Na)),
            Na.getObjects().forEach((p) => {
              ("ncpc-width-line" !== p.name && "ncpc-width-value" !== p.name) ||
                p.set("visible", e),
                ("ncpc-height-line" !== p.name &&
                  "ncpc-height-value" !== p.name) ||
                  p.set("visible", t),
                ("neon-text" !== p.name && "ncpc-channel" !== p.name) ||
                  p.set("visible", !0),
                ("ncpc-channel-side1" !== p.name &&
                  "ncpc-channel-side2" !== p.name) ||
                  p.set("visible", n),
                "ncpc-board" === p.name && p.set("visible", c),
                "ncpc-box" === p.name && p.set("visible", a),
                "ncpc-text-shape1" === p.name && p.set("visible", i),
                "ncpc-text-shape2" === p.name && p.set("visible", l),
                "ncpc-text-shape3" === p.name && p.set("visible", s),
                ("ncpc-stand1" !== p.name && "ncpc-stand2" !== p.name) ||
                  p.set("visible", r),
                ("ncpc-raceway-double1" !== p.name &&
                  "ncpc-raceway-double2" !== p.name) ||
                  p.set("visible", o),
                "ncpc-svg-path" === p.name && Na.remove(p);
            }),
            Na.renderAll(),
            h
          );
        } catch (m) {
          console.error("Une erreur est survenue:", m);
        }
      }
      function ao(e) {
        document.documentElement.style.setProperty("--ncpc-scrollColor", e);
      }
      const ro = {
          class:
            "ncpc-flex ncpc-space-x-3 lg:ncpc-space-x-0 lg:ncpc-flex-col ncpc-w-full ncpc-h-full ncpc-items-center ncpc-justify-start ncpc-overflow-auto ncpc-noScroll ncpc-px-4 lg:ncpc-px-0",
        },
        oo = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 30 30",
          fill: "none",
        },
        io = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        lo = ["src"],
        so = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        po = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 24 25",
          fill: "none",
        },
        uo = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        fo = ["src"],
        ho = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        mo = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 25 25",
          fill: "none",
        },
        vo = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        go = ["src"],
        bo = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        xo = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 25 25",
          fill: "none",
        },
        wo = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        yo = ["src"],
        ko = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        Co = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 25 25",
          fill: "none",
        },
        Ro = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        Oo = ["src"],
        $o = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        Lo = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          fill: "none",
          viewBox: "0 0 24 24",
          "stroke-width": "1.5",
          stroke: "currentColor",
          class: "ncpc-w-7 ncpc-h-7",
        },
        So = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        Eo = ["src"],
        Io = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        To = {
          key: 0,
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 24.00 24.00",
          fill: "none",
          xmlns: "http://www.w3.org/2000/svg",
        },
        Ao = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        Bo = ["src"],
        Mo = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        jo = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          fill: "none",
          viewBox: "0 0 24 24",
          "stroke-width": "1.5",
          stroke: "currentColor",
          class: "ncpc-w-7 ncpc-h-7",
        },
        _o = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        zo = ["src"],
        Fo = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        Do = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 25 25",
          fill: "none",
        },
        Po = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        Ho = ["src"],
        Xo = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        No = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          class: "ncpc-w-7 ncpc-h-7",
          viewBox: "0 0 25 25",
          fill: "none",
        },
        Qo = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        Wo = ["src"],
        Uo = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        Ko = {
          key: 0,
          xmlns: "http://www.w3.org/2000/svg",
          fill: "none",
          viewBox: "0 0 24 24",
          "stroke-width": "1.5",
          stroke: "currentColor",
          class: "ncpc-w-7 ncpc-h-7",
        },
        qo = {
          key: 1,
          class:
            "ncpc-h-7 ncpc-w-7 ncpc-relative ncpc-flex ncpc-justify-center",
        },
        Vo = ["src"],
        Go = { class: "m-0 ncpc-text-xs ncpc-text-center" },
        Yo = {
          class: "ncpc-h-[88%] lg:ncpc-w-[92%] lg:ncpc-h-full ncpc-relative",
        },
        Zo = { class: "ncpc-flex lg:ncpc-hidden" },
        Jo = {
          xmlns: "http://www.w3.org/2000/svg",
          fill: "none",
          viewBox: "0 0 24 24",
          "stroke-width": "1.5",
          stroke: "currentColor",
          class: "ncpc-w-7 ncpc-h-7",
        },
        ei = {
          xmlns: "http://www.w3.org/2000/svg",
          fill: "none",
          viewBox: "0 0 24 24",
          "stroke-width": "1.5",
          stroke: "currentColor",
          class: "ncpc-w-7 ncpc-h-7",
        },
        ti = {
          class:
            "ncpc-relative ncpc-h-full ncpc-flex ncpc-items-center ncpc-justify-center ncpc-space-x-2",
        },
        ni = {
          class:
            "ncpc-relative ncpc-h-full ncpc-flex ncpc-items-center ncpc-justify-center ncpc-space-x-3",
        },
        ci = {
          key: 0,
          class: "ncpc-w-10 ncpc-h-10",
          viewBox: "0 0 25 25",
          fill: "none",
          xmlns: "http://www.w3.org/2000/svg",
        },
        ai = {
          key: 1,
          class: "ncpc-w-10 ncpc-h-10",
          viewBox: "0 0 25.00 25.00",
          fill: "none",
          xmlns: "http://www.w3.org/2000/svg",
          stroke: "#000000",
          "stroke-width": "0.00025",
        },
        ri = {
          class:
            "ncpc-relative ncpc-right-0 ncpc-flex ncpc-w-full sm:ncpc-w-[60%] ncpc-h-full ncpc-items-center ncpc-justify-end ncpc-space-x-2",
        },
        oi = {
          class:
            "ncpc-space-x-1 ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        ii = ["disabled"],
        li = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-items-center ncpc-justify-center ncpc-text-[0.8em]",
        },
        si = { key: 0, class: "ncpc-flex" },
        pi = { key: 1, class: "ncpc-flex" },
        ui = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        di = { class: (0, c.C4)("") },
        fi = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        hi = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        mi = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        vi = ["src"],
        gi = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        bi = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        xi = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        wi = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        yi = ["src"],
        ki = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Ci = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Ri = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Oi = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        $i = ["src"],
        Li = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Si = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Ei = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ii = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Ti = ["src"],
        Ai = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Bi = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Mi = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        ji = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        _i = ["src"],
        zi = { class: "ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-gap-2" },
        Fi = ["onClick"],
        Di = ["onClick"],
        Pi = {
          class:
            "ncpc-w-full ncpc-h-[85px] ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        Hi = ["src"],
        Xi = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Ni = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        Qi = ["onClick"],
        Wi = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ui = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ki = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        qi = ["src"],
        Vi = {
          class: "ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-h-full",
        },
        Gi = {
          key: 0,
          class:
            "ncpc-letterParts-container ncpc-flex ncpc-flex-col ncpc-space-y-3 ncpc-px-1 ncpc-block ncpc-w-full",
        },
        Yi = { class: "ncpc-letterParts-container" },
        Zi = { key: 0, class: "ncpc-space-y-1 ncpc-relative" },
        Ji = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        el = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        tl = ["onClick"],
        nl = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        cl = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        al = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        rl = ["src"],
        ol = { key: 1, class: "ncpc-space-y-1 ncpc-relative" },
        il = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        ll = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        sl = ["onClick"],
        pl = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        ul = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        dl = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        fl = ["src"],
        hl = { key: 2, class: "ncpc-space-y-1 ncpc-relative" },
        ml = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        vl = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        gl = ["onClick"],
        bl = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        xl = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        wl = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        yl = ["src"],
        kl = { key: 3, class: "ncpc-space-y-1 ncpc-relative" },
        Cl = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Rl = ["onClick"],
        Ol = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        $l = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ll = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Sl = ["src"],
        El = { class: "ncpc-flex ncpc-items-center ncpc-justify-between" },
        Il = {
          key: 0,
          id: "ncpc-canvas-overlay",
          class:
            "ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-w-full ncpc-h-full ncpc-flex lg:ncpc-hidden ncpc-bg-transparent",
        },
        Tl = {
          id: "preview-scene",
          class:
            "ncpc-scrollDiv ncpc-flex ncpc-items-center ncpc-w-[90%] ncpc-h-fit ncpc-p-2 ncpc-overflow-auto lilScroll ncpc-transition-all ncpc-ease-in-out ncpc-duration-500",
        },
        Al = {
          key: 0,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        Bl = { class: "ncpc-text-[8px] ncpc-overflow-hidden" },
        Ml = {
          key: 1,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        jl = {
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        _l = ["onClick"],
        zl = ["src"],
        Fl = { class: "ncpc-h-full" },
        Dl = ["href"],
        Pl = {
          xmlns: "http://www.w3.org/2000/svg",
          viewBox: "0 0 100 100",
          preserveAspectRatio: "xMidYMid",
          class: "ncpc-w-[40%] ncpc-h-[30%]",
          style: {
            "shape-rendering": "auto",
            display: "block",
            background: "transparent",
          },
          "xmlns:xlink": "http://www.w3.org/1999/xlink",
        },
        Hl = ["fill"],
        Xl = {
          class:
            "ncpc-relative ncpc-p-4 ncpc-w-full ncpc-h-[80%] ncpc-max-w-2xl",
        },
        Nl = {
          class:
            "ncpc-flex ncpc-items-center ncpc-justify-between ncpc-p-4 ncpc-md:p-5",
        },
        Ql = {
          class:
            "ncpc-p-4 ncpc-pb-1 ncpc-px-2 ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between",
        },
        Wl = ["href"],
        Ul = ["disabled"],
        Kl = { key: 0, class: "ncpc-p-4 ncpc-md:p-5 ncpc-space-y-4" },
        ql = { class: "ncpc-flex ncpc-flex-col" },
        Vl = { key: 0, class: "ncpc-text-red-500 ncpc-w-full" },
        Gl = { class: "ncpc-flex ncpc-flex-col" },
        Yl = { class: "ncpc-flex ncpc-flex-col" },
        Zl = { class: "ncpc-flex ncpc-flex-col" },
        Jl = { class: "ncpc-flex ncpc-flex-col" },
        es = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-w-full ncpc-justify-center ncpc-items-center",
        },
        ts = ["disabled"],
        ns = { key: 0, class: "ncpc-p-0" },
        cs = { key: 1, class: "ncpc-p-4 ncpc-md:p-5 ncpc-space-y-4" },
        as = { class: "ncpc-text-center" },
        rs = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-w-full ncpc-justify-center ncpc-items-center",
        };
      var os = {
        __name: "index",
        props: { config: Object, productType: String, pricing: String },
        setup(e) {
          const t = e,
            n = (0, c.EW)(() => window.innerWidth <= 768);
          var a = (0, c.KR)("h2");
          const r = (0, c.KR)(!1),
            i = (0, c.KR)(!1),
            l = (0, c.KR)(""),
            s = (0, c.KR)({
              email: "",
              firstName: "",
              lastName: "",
              phone: "",
              message: "",
              files: [],
            }),
            p = (0, c.KR)(!1),
            u = () => {
              s.value.email.match(
                /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/
              )
                ? ((l.value = ""), (p.value = !0))
                : ((l.value =
                    X.languageImages.main.emailError ??
                    "Please enter a valid email address"),
                  (p.value = !1));
            },
            d = (0, c.KR)(!1),
            f = async () => {
              d.value = !0;
              var e = await C(
                ncpc_ajax.ajax_url,
                Oe.value,
                ncpc_ajax.nonce,
                X.generals.product.redirectToCheckOutPage ?? !1
              );
              e.success || (toastMessage(e.message, "error"), (d.value = !1));
            },
            h = (0, c.KR)(!1);
          function m() {
            h.value = !h.value;
          }
          const g = (e) => {
              s.value.files = e;
            },
            x = (0, c.KR)([]),
            $ = (0, c.KR)(!1);
          var L = (0, c.KR)("");
          (0, c.KR)(!1);
          const S = (0, c.KR)(!1);
          var E = (0, c.KR)("");
          const I = (0, c.KR)(!1);
          var T = (0, c.KR)("");
          const B = (0, c.KR)(!1);
          var M = (0, c.KR)("");
          const j = (0, c.KR)(!1);
          var _ = (0, c.KR)("");
          (0, c.KR)(!1),
            (0, c.KR)(!1),
            (0, c.KR)(!1),
            (0, c.KR)(!1),
            (0, c.KR)(!1);
          const z = (0, c.KR)(""),
            F = (0, c.KR)(!1),
            D = (0, c.KR)(!1),
            P = t.config.requiredOptions,
            H = t.config.additionalOptions,
            X = t.config.settings,
            N = X.generals.customizer.displayOptions,
            Q = X.themes.colors,
            W = X.sortOptions,
            U = (0, c.KR)("text-form"),
            K = (0, c.KR)(!1),
            q = X.generals.customizer.decimalFormatMeasurements,
            V = (0, c.KR)(!0),
            G = (0, c.KR)(!0),
            Y = ncpcData.currencySymbol,
            Z = (0, c.KR)(0),
            J = (0, c.KR)(
              k(
                0,
                ncpcData.currencySymbol,
                ncpcData.decimals,
                ncpcData.decimalSep,
                ncpcData.thousandSep,
                ncpcData.currency_pos
              )
            ),
            te = (0, c.KR)(
              k(
                0,
                ncpcData.currencySymbol,
                ncpcData.decimals,
                ncpcData.decimalSep,
                ncpcData.thousandSep,
                ncpcData.currency_pos
              )
            ),
            ne = (0, c.KR)(""),
            ce = (0, c.KR)(""),
            ae = (0, c.KR)([]),
            re = (0, c.KR)([]),
            oe = (0, c.KR)([]),
            ie = (0, c.KR)({
              cm: { width: 0, height: 0 },
              in: { width: 0, height: 0 },
            }),
            le = (0, c.KR)({
              cm: { width: 0, height: 0 },
              in: { width: 0, height: 0 },
            }),
            se = (0, c.KR)(
              (() => {
                let e = P.sizeOptions.sizes.findIndex((e) => e.isDefault);
                return (
                  (e = -1 === e ? 0 : e), { id: e, ...P.sizeOptions.sizes[e] }
                );
              })()
            ),
            pe = (0, c.KR)([]),
            ue = (0, c.KR)({}),
            de = (0, c.KR)({}),
            fe = (0, c.KR)({}),
            he = (0, c.KR)({}),
            ve = (0, c.KR)([]),
            ge = (0, c.KR)([]),
            be = (0, c.KR)([]),
            xe = (0, c.KR)([]),
            we = (0, c.KR)([]),
            ye = (0, c.KR)(
              (() => {
                let e = H.backboardOptions.backboards.findIndex(
                  (e) => e.isDefault
                );
                return (
                  (e = -1 === e ? 0 : e),
                  { id: e, ...H.backboardOptions.backboards[e] }
                );
              })()
            ),
            ke = (0, c.KR)([]),
            Ce = (0, c.KR)({}),
            Re = (0, c.KR)([]),
            Oe = (0, c.KR)({}),
            $e = (0, c.KR)(!1),
            Le = () => {
              ($e.value = !$e.value),
                $e.value ? (K.value = !1) : ((i.value = !1), (K.value = !0));
            },
            Se = (0, c.KR)(!1),
            Ee = (0, c.KR)(""),
            Ie = async () => {
              var e = ae.value.map((e) =>
                  e
                    .map((e) => {
                      if ("text" == e.type) return e.value;
                    })
                    .join("")
                ),
                n = ae.value.map((e) =>
                  e
                    .filter((e) => "image" === e.type)
                    .map((e) => e.title)
                    .join(", ")
                );
              (K.value = !1), (Se.value = !0);
              const c = await to("png"),
                a = await co();
              let r;
              (r =
                X.languageImages.images.manageImages.length > 0 &&
                "blue-gray" != ne.value &&
                "" != ne.value.trim()
                  ? await no(c, ne.value)
                  : "blue-gray" == ne.value
                  ? await no(c)
                  : c),
                (Se.value = !1),
                (Ee.value = c);
              const o =
                  ke.value.length > 0
                    ? ke.value
                        .map(
                          (e, t) =>
                            ye.value.backboardLength.layers.options[t].label +
                            ": " +
                            e?.label
                        )
                        .join(", ")
                    : Ce.value.label
                    ? Ce.value.label
                    : "",
                i =
                  ("" !== o.trim() && H.backboardColorsOptions.label?.trim(),
                  "" === X.languageImages.main.lineCount.trim()
                    ? "Line "
                    : X.languageImages.main.lineCount);
              if ("multi" == X.generals.mode.type) {
                if ("neon" == t.productType) {
                  const c =
                      P.fontOptions.label && "" != P.fontOptions.label.trim()
                        ? P.fontOptions.label
                        : "Font",
                    l =
                      P.colorOptions.label && "" != P.colorOptions.label.trim()
                        ? P.colorOptions.label
                        : "Color",
                    s = async () => {
                      const e = await Or();
                      let t = "";
                      return (
                        e.forEach((e, n) => {
                          e.text &&
                            (t += `\n                        ${e.text} (${
                              c + ": " + e.font.label
                            },  ${l + ": " + e.colorData.label} )`);
                        }),
                        t
                      );
                    };
                  Oe.value = {
                    variation_id: ncpcData.productID,
                    price: ncpcData.regularPrice,
                    recaps: {
                      text: {
                        label:
                          X.languageImages.main.sectionText &&
                          "" != X.languageImages.main.sectionText.trim()
                            ? X.languageImages.main.sectionText
                            : "Text",
                        value: e.map((e, t) => ({
                          label: i + " " + (t + 1),
                          value: e,
                        })),
                      },
                      ...(X.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                X.languageImages.icons.title &&
                                "" != X.languageImages.icons.title.trim()
                                  ? X.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      ...(X.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                X.languageImages.icons.title &&
                                "" != X.languageImages.icons.title.trim()
                                  ? X.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      textAlign: {
                        label:
                          X.languageImages.main.textAlignment &&
                          "" != X.languageImages.main.textAlignment.trim()
                            ? X.languageImages.main.textAlignment
                            : "Text Align",
                        value: Ge.value,
                      },
                      fontsColors: { label: c + "/" + l, value: await s() },
                      size:
                        "advanced" == t.pricing
                          ? {
                              label:
                                P.sizeOptions.label &&
                                "" != P.sizeOptions.label.trim()
                                  ? P.sizeOptions.label
                                  : "Size",
                              value:
                                se.value.label +
                                "/" +
                                st(se.value.scaleMultiplier, ie.value),
                            }
                          : {
                              label:
                                P.sizeOptions.label &&
                                "" != P.sizeOptions.label.trim()
                                  ? P.sizeOptions.label
                                  : "Size",
                              value: se.value.label,
                            },
                      ...(void 0 !== ue.value.label
                        ? {
                            material: {
                              label:
                                H.materialOptions.label &&
                                "" != H.materialOptions.label.trim()
                                  ? H.materialOptions.label
                                  : "Material",
                              value: ue.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== de.value.label
                        ? {
                            jacket: {
                              label:
                                H.jacketOptions.label &&
                                "" != H.jacketOptions.label.trim()
                                  ? H.jacketOptions.label
                                  : "Jacket",
                              value: de.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== fe.value.label
                        ? {
                            mounting: {
                              label:
                                H.mountingOptions.label &&
                                "" != H.mountingOptions.label.trim()
                                  ? H.mountingOptions.label
                                  : "Mounting",
                              value: fe.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== ye.value.label
                        ? {
                            backboard: {
                              label:
                                H.backboardOptions.label &&
                                "" != H.backboardOptions.label.trim()
                                  ? H.backboardOptions.label
                                  : "Backboard",
                              value: ye.value.label,
                            },
                          }
                        : {}),
                      backboardColors: {
                        label:
                          H.backboardColorsOptions.label &&
                          "" != H.backboardColorsOptions.label.trim()
                            ? H.backboardColorsOptions.label
                            : "Backboard Color",
                        value: o,
                      },
                      additionalOptions: we.value.map((e) => ({
                        label: e.label,
                        value: e.value,
                      })),
                      customPrice: Z.value,
                    },
                    previewImg: r,
                    svgData: a,
                    displayRecapsOnCheckout:
                      X.generals.product.displayRecapsOnCheckout ?? !1,
                    quantity: 1,
                  };
                } else if ("channel" == t.productType) {
                  const c = async () => {
                    const e = await Or();
                    let t = "";
                    const n =
                        P.fontOptions.label && "" != P.fontOptions.label.trim()
                          ? P.fontOptions.label
                          : "Font",
                      c =
                        he.value.letterParts[0].activate &&
                        "" != he.value.letterParts[0].label.trim()
                          ? he.value.letterParts[0].label
                          : "Face",
                      a = he.value.letterParts[1].activate
                        ? "" != he.value.letterParts[1].label.trim()
                          ? he.value.letterParts[1].label
                          : "Trim"
                        : null,
                      r = he.value.letterParts[2].activate
                        ? null != he.value.letterParts[2].label.trim()
                          ? he.value.letterParts[2].label
                          : "Side"
                        : null,
                      o = he.value.letterParts[3].activate
                        ? "" != he.value.letterParts[3].label.trim()
                          ? he.value.letterParts[3].label
                          : "Back Lit"
                        : null;
                    return (
                      e.forEach((e, i) => {
                        t += `\n                    ${e.text} (${
                          n + ": " + e.font.label
                        },  ${c + ": " + e.colorData.face.label} ${
                          null != a
                            ? ", " + a + ": " + e.colorData.trim.label
                            : ""
                        }, ${
                          null != r
                            ? ", " + r + ": " + e.colorData.side.label
                            : ""
                        }, ${
                          null != o
                            ? ", " + o + ": " + e.colorData.backLit.label
                            : ""
                        } )`;
                      }),
                      t
                    );
                  };
                  Oe.value = {
                    variation_id: ncpcData.productID,
                    price: ncpcData.regularPrice,
                    recaps: {
                      text: {
                        label:
                          X.languageImages.main.sectionText &&
                          "" != X.languageImages.main.sectionText.trim()
                            ? X.languageImages.main.sectionText
                            : "Text",
                        value: e.map((e, t) => ({
                          label: i + " " + (t + 1),
                          value: e,
                        })),
                      },
                      ...(X.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                X.languageImages.icons.title &&
                                "" != X.languageImages.icons.title.trim()
                                  ? X.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      textAlign: {
                        label:
                          X.languageImages.main.textAlignment &&
                          "" != X.languageImages.main.textAlignment.trim()
                            ? X.languageImages.main.textAlignment
                            : "Text Align",
                        value: Ge.value,
                      },
                      fontsColors: {
                        label:
                          P.fontOptions.label &&
                          "" != P.fontOptions.label.trim()
                            ? P.fontOptions.label
                            : "Font",
                        value: await c(),
                      },
                      size:
                        "advanced" == t.pricing
                          ? {
                              label:
                                P.sizeOptions.label &&
                                "" != P.sizeOptions.label.trim()
                                  ? P.sizeOptions.label
                                  : "Size",
                              value:
                                se.value.label +
                                "/" +
                                st(se.value.scaleMultiplier, ie.value),
                            }
                          : {
                              label:
                                P.sizeOptions.label &&
                                "" != P.sizeOptions.label.trim()
                                  ? P.sizeOptions.label
                                  : "Size",
                              value: se.value.label,
                            },
                      letterType: {
                        label:
                          P.letterTypesOptions.label &&
                          "" != P.letterTypesOptions.label.trim()
                            ? P.letterTypesOptions.label
                            : "Letter-Types",
                        value: he.value.label,
                      },
                      ...(void 0 !== fe.value.label
                        ? {
                            mounting: {
                              label:
                                H.mountingOptions.label &&
                                "" != H.mountingOptions.label.trim()
                                  ? H.mountingOptions.label
                                  : "Mounting",
                              value: fe.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== ye.value.label
                        ? {
                            backboard: {
                              label:
                                H.backboardOptions.label &&
                                "" != H.backboardOptions.label.trim()
                                  ? H.backboardOptions.label
                                  : "Backboard",
                              value: ye.value.label,
                            },
                          }
                        : {}),
                      backboardColors: {
                        label:
                          H.backboardColorsOptions.label &&
                          "" != H.backboardColorsOptions.label.trim()
                            ? H.backboardColorsOptions.label
                            : "Backboard Color",
                        value: o,
                      },
                      additionalOptions: we.value.map((e) => ({
                        label: e.label,
                        value: e.value,
                      })),
                      customPrice: Z.value,
                    },
                    previewImg: r,
                    svgData: a,
                    displayRecapsOnCheckout:
                      X.generals.product.displayRecapsOnCheckout ?? !1,
                    quantity: 1,
                  };
                }
              } else if ("neon" == t.productType)
                Oe.value = {
                  variation_id: ncpcData.productID,
                  price: ncpcData.regularPrice,
                  recaps: {
                    text: {
                      label:
                        X.languageImages.main.sectionText &&
                        "" != X.languageImages.main.sectionText.trim()
                          ? X.languageImages.main.sectionText
                          : "Text",
                      value: e.map((e, t) => ({
                        label: i + " " + (t + 1),
                        value: e,
                      })),
                    },
                    ...(X.languageImages?.icons?.listIcons?.length > 0
                      ? {
                          icons: {
                            label:
                              X.languageImages.icons.title &&
                              "" != X.languageImages.icons.title.trim()
                                ? X.languageImages.icons.title
                                : "Icons",
                            value: n.map((e, t) => ({
                              label: i + " " + (t + 1),
                              value: e,
                            })),
                          },
                        }
                      : {}),
                    textAlign: {
                      label:
                        X.languageImages.main.textAlignment &&
                        "" != X.languageImages.main.textAlignment.trim()
                          ? X.languageImages.main.textAlignment
                          : "Text Align",
                      value: Ge.value,
                    },
                    fonts: {
                      label:
                        P.fontOptions.label && "" != P.fontOptions.label.trim()
                          ? P.fontOptions.label
                          : "Font",
                      value: oe.value[0].label,
                    },
                    color: {
                      label:
                        P.colorOptions.label &&
                        "" != P.colorOptions.label.trim()
                          ? P.colorOptions.label
                          : "Color",
                      value: pe.value[0].label,
                    },
                    size:
                      "advanced" == t.pricing
                        ? {
                            label:
                              P.sizeOptions.label &&
                              "" != P.sizeOptions.label.trim()
                                ? P.sizeOptions.label
                                : "Size",
                            value:
                              se.value.label +
                              "/" +
                              st(se.value.scaleMultiplier, ie.value),
                          }
                        : {
                            label:
                              P.sizeOptions.label &&
                              "" != P.sizeOptions.label.trim()
                                ? P.sizeOptions.label
                                : "Size",
                            value: se.value.label,
                          },
                    ...(void 0 !== ue.value.label
                      ? {
                          material: {
                            label:
                              H.materialOptions.label &&
                              "" != H.materialOptions.label.trim()
                                ? H.materialOptions.label
                                : "Material",
                            value: ue.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== de.value.label
                      ? {
                          jacket: {
                            label:
                              H.jacketOptions.label &&
                              "" != H.jacketOptions.label.trim()
                                ? H.jacketOptions.label
                                : "Jacket",
                            value: de.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== fe.value.label
                      ? {
                          mounting: {
                            label:
                              H.mountingOptions.label &&
                              "" != H.mountingOptions.label.trim()
                                ? H.mountingOptions.label
                                : "Mounting",
                            value: fe.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== ye.value.label
                      ? {
                          backboard: {
                            label:
                              H.backboardOptions.label &&
                              "" != H.backboardOptions.label.trim()
                                ? H.backboardOptions.label
                                : "Backboard",
                            value: ye.value.label,
                          },
                        }
                      : {}),
                    backboardColors: {
                      label:
                        H.backboardColorsOptions.label &&
                        "" != H.backboardColorsOptions.label.trim()
                          ? H.backboardColorsOptions.label
                          : "Backboard Color",
                      value: o,
                    },
                    additionalOptions: we.value.map((e) => ({
                      label: e.label,
                      value: e.value,
                    })),
                    customPrice: Z.value,
                  },
                  previewImg: r,
                  svgData: a,
                  displayRecapsOnCheckout:
                    X.generals.product.displayRecapsOnCheckout ?? !1,
                  quantity: 1,
                };
              else if ("channel" == t.productType) {
                const c =
                    P.fontOptions.label && "" != P.fontOptions.label.trim()
                      ? P.fontOptions.label
                      : "Font",
                  l =
                    he.value.letterParts[0].activate &&
                    "" != he.value.letterParts[0].label.trim()
                      ? he.value.letterParts[0].label
                      : "Face",
                  s = he.value.letterParts[1].activate
                    ? "" != he.value.letterParts[1].label.trim()
                      ? he.value.letterParts[1].label
                      : "Trim"
                    : null,
                  p = he.value.letterParts[2].activate
                    ? null != he.value.letterParts[2].label.trim()
                      ? he.value.letterParts[2].label
                      : "Side"
                    : null,
                  u = he.value.letterParts[3].activate
                    ? "" != he.value.letterParts[3].label.trim()
                      ? he.value.letterParts[3].label
                      : "Back Lit"
                    : null;
                Oe.value = {
                  variation_id: ncpcData.productID,
                  price: ncpcData.regularPrice,
                  recaps: {
                    text: {
                      label:
                        X.languageImages.main.sectionText &&
                        "" != X.languageImages.main.sectionText.trim()
                          ? X.languageImages.main.sectionText
                          : "Text",
                      value: e.map((e, t) => ({
                        label: i + " " + (t + 1),
                        value: e,
                      })),
                    },
                    ...(X.languageImages?.icons?.listIcons?.length > 0
                      ? {
                          icons: {
                            label:
                              X.languageImages.icons.title &&
                              "" != X.languageImages.icons.title.trim()
                                ? X.languageImages.icons.title
                                : "Icons",
                            value: n.map((e, t) => ({
                              label: i + " " + (t + 1),
                              value: e,
                            })),
                          },
                        }
                      : {}),
                    textAlign: {
                      label:
                        X.languageImages.main.textAlignment &&
                        "" != X.languageImages.main.textAlignment.trim()
                          ? X.languageImages.main.textAlignment
                          : "Text Align",
                      value: Ge.value,
                    },
                    fonts: { label: c, value: oe.value[0].label },
                    size:
                      "advanced" == t.pricing
                        ? {
                            label:
                              P.sizeOptions.label &&
                              "" != P.sizeOptions.label.trim()
                                ? P.sizeOptions.label
                                : "Size",
                            value:
                              se.value.label +
                              "/" +
                              st(se.value.scaleMultiplier, ie.value),
                          }
                        : {
                            label:
                              P.sizeOptions.label &&
                              "" != P.sizeOptions.label.trim()
                                ? P.sizeOptions.label
                                : "Size",
                            value: se.value.label,
                          },
                    letterType: {
                      label:
                        P.letterTypesOptions.label &&
                        "" != P.letterTypesOptions.label.trim()
                          ? P.letterTypesOptions.label
                          : "Letter-Types",
                      value: he.value.label,
                    },
                    faceColor: { label: l, value: ve.value[0].label },
                    ...(null !== s
                      ? { trimColor: { label: s, value: ge.value[0].label } }
                      : {}),
                    ...(null !== p
                      ? { sideColor: { label: p, value: be.value[0].label } }
                      : {}),
                    ...(null !== u
                      ? { backLitColor: { label: u, value: xe.value[0].label } }
                      : {}),
                    ...(void 0 !== fe.value.label
                      ? {
                          mounting: {
                            label:
                              H.mountingOptions.label &&
                              "" != H.mountingOptions.label.trim()
                                ? H.mountingOptions.label
                                : "Mounting",
                            value: fe.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== ye.value.label
                      ? {
                          backboard: {
                            label:
                              H.backboardOptions.label &&
                              "" != H.backboardOptions.label.trim()
                                ? H.backboardOptions.label
                                : "Backboard",
                            value: ye.value.label,
                          },
                        }
                      : {}),
                    backboardColors: {
                      label:
                        H.backboardColorsOptions.label &&
                        "" != H.backboardColorsOptions.label.trim()
                          ? H.backboardColorsOptions.label
                          : "Backboard Color",
                      value: o,
                    },
                    additionalOptions: we.value.map((e) => ({
                      label: e.label,
                      value: e.value,
                    })),
                    customPrice: Z.value,
                  },
                  previewImg: r,
                  svgData: a,
                  displayRecapsOnCheckout:
                    X.generals.product.displayRecapsOnCheckout ?? !1,
                  quantity: 1,
                };
              }
              Le();
            },
            Te = (0, c.KR)(!1),
            Be = () => {
              V.value = !V.value;
            };
          var Me = null;
          const je = (0, c.KR)(null),
            _e = (0, c.KR)(null),
            ze = (e) => {
              var t = document.getElementById("ncpc-editor-container");
              if (t) {
                var n = t.clientWidth,
                  c = t.clientHeight;
                Me.setWidth(n), Me.setHeight(c);
              }
              e || vr();
            },
            Fe = (e) => {
              (z.value = e), (F.value = !0);
            },
            De = (0, c.KR)(1),
            Pe = async (e) => {
              (ne.value = e), (He.value = !1);
            },
            He = (0, c.KR)(!1),
            Xe = () => {
              const e = event.target.files[0];
              if (e && e.type.startsWith("image/")) {
                new FileReader().readAsDataURL(e),
                  (He.value = !0),
                  (ne.value = URL.createObjectURL(e));
              }
            },
            Ne = async (e) => {
              ce.value = e;
            };
          var Qe = (0, c.KR)();
          var We = (0, c.KR)([]);
          (0, c.KR)(0);
          const Ue = (0, c.KR)(!1),
            Ke = (0, c.KR)(!1),
            qe = (0, c.KR)("");
          (0, c.KR)(0);
          (0, c.KR)(""), (0, c.KR)([]);
          const Ve = async (e, n, c, a) => {
            (Ue.value = n),
              (ct.value = c.exceededSizeLines),
              (at.value = c.exceededSizeCharacters),
              (Ke.value = a.signExceedDimensionAlert),
              (qe.value = a.limitReachedMsg),
              "advanced" !== t.pricing && (se.value = c.localCurrentSize),
              (ae.value = e),
              await Rr(_t.value, e);
            const r = await Or();
            (We.value = r), await tt(!1, r);
          };
          var Ge = (0, c.KR)("left");
          function Ye(e) {
            (Ge.value = e), Lr(e);
          }
          var Ze = (0, c.KR)(!1);
          var Je = (0, c.KR)("");
          const et = async (e, t) => {
            Fr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                font: e.font,
              }));
              if (t.length > 1) {
                oe.value.includes(e) || oe.value.push(e);
                const n = oe.value,
                  c = new Set();
                t.forEach((e) => {
                  e.font && c.add(e.font);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                oe.value = Array.from(a);
              } else 1 == t.length && (oe.value = [e]);
              (Je.value = e), (We.value = n);
            } else (oe.value = [e]), (We.value = n);
            await tt();
          };
          async function tt(e = !1, n) {
            n && (We.value = await n);
            let c = [];
            ae.value.forEach((e, n) => {
              if (((c[n] = []), "simple" == X.generals.mode.type))
                e.forEach((e, a) => {
                  "text" == e.type
                    ? c[n].push({
                        text: e.value,
                        type: e.type,
                        font: {
                          fontFaceFamily: oe.value[0].label.replace(" ", "-"),
                          smallLetter:
                            "advanced" == t.pricing
                              ? oe.value[0].minHeightFontChar.smallLetter
                              : 0,
                          uppercaseLetter:
                            "advanced" == t.pricing
                              ? oe.value[0].minHeightFontChar.uppercaseLetter
                              : 0,
                          lineHeight: Number(oe.value[0].lineHeight) || 1.2,
                          fileTtf: oe.value[0].url,
                        },
                      })
                    : c[n].push({
                        text: e.src,
                        type: e.type,
                        minHeight: X.languageImages?.icons?.listIcons?.find(
                          (t) => t.file == e.src
                        ).minHeight,
                      });
                });
              else {
                const a = ((e) => {
                  const t = {};
                  return (
                    e.forEach((e) => {
                      const n = e.lineNumber;
                      t[n] || (t[n] = []), t[n].push(e);
                    }),
                    Object.values(t)
                  );
                })(We.value);
                e.forEach((e, r) => {
                  "text" == e.type
                    ? c[n].push({
                        text: e.value,
                        type: e.type,
                        font: {
                          fontFaceFamily: a[n][r].font.label.replace(" ", "-"),
                          smallLetter:
                            "advanced" == t.pricing
                              ? a[n][r].font.minHeightFontChar.smallLetter
                              : 0,
                          uppercaseLetter:
                            "advanced" == t.pricing
                              ? a[n][r].font.minHeightFontChar.uppercaseLetter
                              : 0,
                          lineHeight: Number(a[n][r].font.lineHeight) || 1.2,
                          fileTtf: a[n][r].font.url,
                        },
                      })
                    : c[n].push({
                        text: e.src,
                        type: e.type,
                        minHeight: X.languageImages?.icons?.listIcons?.find(
                          (t) => t.file == e.src
                        ).minHeight,
                      });
                });
              }
            }),
              (re.value = c);
            const a = await b(c, t.pricing, {
              maxHeight: "fixed-height" == t.pricing ? se.value.height : 0,
              maxWidth: "fixed-width" == t.pricing ? se.value.width : 0,
            });
            a.cm.width &&
              ((ie.value = a),
              (function () {
                let e = {
                  cm: { width: 0, height: 0 },
                  in: { width: 0, height: 0 },
                };
                (e =
                  "advanced" == t.pricing
                    ? "decimal" == q
                      ? {
                          cm: {
                            width: parseFloat(
                              ie.value.cm.width * se.value.scaleMultiplier
                            ).toFixed(3),
                            height: parseFloat(
                              ie.value.cm.height * se.value.scaleMultiplier
                            ).toFixed(3),
                          },
                          in: {
                            width: parseFloat(
                              ie.value.in.width * se.value.scaleMultiplier
                            ).toFixed(3),
                            height: parseFloat(
                              ie.value.in.height * se.value.scaleMultiplier
                            ).toFixed(3),
                          },
                        }
                      : {
                          cm: {
                            width: Math.round(
                              ie.value.cm.width * se.value.scaleMultiplier
                            ),
                            height: Math.round(
                              ie.value.cm.height * se.value.scaleMultiplier
                            ),
                          },
                          in: {
                            width: Math.round(
                              ie.value.in.width * se.value.scaleMultiplier
                            ),
                            height: Math.round(
                              ie.value.in.height * se.value.scaleMultiplier
                            ),
                          },
                        }
                    : "decimal" == q
                    ? {
                        cm: {
                          width: parseFloat(ie.value.cm.width).toFixed(3),
                          height: parseFloat(ie.value.cm.height).toFixed(3),
                        },
                        in: {
                          width: parseFloat(ie.value.in.width).toFixed(3),
                          height: parseFloat(ie.value.in.height).toFixed(3),
                        },
                      }
                    : {
                        cm: {
                          width: Math.round(ie.value.cm.width),
                          height: Math.round(ie.value.cm.height),
                        },
                        in: {
                          width: Math.round(ie.value.in.width),
                          height: Math.round(ie.value.in.height),
                        },
                      }),
                  (le.value = e),
                  jt(),
                  pt(e);
              })());
          }
          const nt = (e) => {
              (K.value = !0), (U.value = e);
            },
            ct = (0, c.KR)(!1),
            at = (0, c.KR)(!1),
            rt = (e, t, n) => {
              (Ue.value = e),
                (Ke.value = t.openSignExceedDimensionAlert),
                (qe.value = t.limitReachedMsg),
                (ct.value = n.localExceededSizeLines),
                (at.value = n.localExceededSizeCharacters);
            },
            it = async (e, n) => {
              "advanced" == t.pricing
                ? ("custom-size" != n
                    ? ((le.value = {
                        cm: {
                          width: e.scaleMultiplier * ie.value.cm.width,
                          height: e.scaleMultiplier * ie.value.cm.height,
                        },
                        in: {
                          width: e.scaleMultiplier * ie.value.in.width,
                          height: e.scaleMultiplier * ie.value.in.height,
                        },
                      }),
                      (se.value = { id: n, ...e }))
                    : (se.value = { ...se.value, id: n }),
                  jt(),
                  pt(le.value))
                : ((se.value = { id: n, ...e }),
                  (We.value = await Or()),
                  await tt(!1, We.value),
                  jt()),
                (Kt.value = se.value.resizeSettings
                  ? se.value.resizeSettings
                  : {
                      autoResize: !0,
                      desktop: {
                        defaultFontSize: 110,
                        maxFontSize: 110,
                        minFontSize: 30,
                      },
                      mobile: {
                        defaultFontSize: 60,
                        maxFontSize: 60,
                        minFontSize: 30,
                      },
                    }),
                qt();
            },
            lt = (e) => {
              const t =
                "decimal" == q
                  ? Number(parseFloat(e.target.value).toFixed(3))
                  : Math.round(e.target.value, 10) > 4
                  ? Math.ceil(e.target.value)
                  : Math.floor(e.target.value);
              (se.value.scaleMultiplier = t / ie.value.cm.width),
                (le.value = {
                  cm: {
                    width: t,
                    height:
                      "decimal" == q
                        ? parseFloat(
                            (
                              (ie.value.cm.height * t) /
                              ie.value.cm.width
                            ).toFixed(3)
                          )
                        : Math.round(
                            (ie.value.cm.height * t) / ie.value.cm.width
                          ),
                  },
                  in: {
                    width: "decimal" == q ? parseFloat(v(t)) : Math.round(v(t)),
                    height:
                      "decimal" == q
                        ? parseFloat(
                            (
                              (ie.value.in.height * v(t)) /
                              ie.value.in.width
                            ).toFixed(3)
                          )
                        : Math.round(
                            (ie.value.in.height * v(t)) / ie.value.in.width
                          ),
                  },
                }),
                pt(le.value),
                jt();
            },
            st = (e, t) => {
              switch (X.generals.customizer.measurementUnit) {
                case "cm":
                  switch (X.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == q
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm x " +
                            parseFloat(t.cm.height * e).toFixed(3) +
                            "cm "
                        : Math.round(t.cm.width * e) +
                            "cm x " +
                            Math.round(t.cm.height * e) +
                            "cm ";
                    case "only-width":
                      return "decimal" == q
                        ? parseFloat(t.cm.width * e).toFixed(3) + "cm"
                        : Math.round(t.cm.width * e) + "cm";
                    case "only-height":
                      return "decimal" == q
                        ? parseFloat(t.cm.height * e).toFixed(3) + "cm "
                        : Math.round(t.cm.height * e) + "cm ";
                  }
                  break;
                case "in":
                  switch (X.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == q
                        ? parseFloat(t.in.width * e).toFixed(3) +
                            "in x " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.in.width * e) +
                            "in x " +
                            Math.round(t.in.height * e) +
                            "in";
                    case "only-width":
                      return "decimal" == q
                        ? parseFloat(t.in.width * e).toFixed(3) + "in"
                        : Math.round(t.in.width * e) + "in";
                    case "only-height":
                      return "decimal" == q
                        ? parseFloat(t.in.height * e).toFixed(3) + "in"
                        : Math.round(t.in.height * e) + "in";
                  }
                  break;
                case "both":
                  switch (X.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == q
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm x " +
                            parseFloat(t.cm.height * e).toFixed(3) +
                            "cm / " +
                            parseFloat(t.in.width * e).toFixed(3) +
                            "in x " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.width * e) +
                            "cm x " +
                            Math.round(t.cm.height * e) +
                            "cm / " +
                            Math.round(t.in.width * e) +
                            "in x " +
                            Math.round(t.in.height * e) +
                            "in";
                    case "only-width":
                      return "decimal" == q
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm/ " +
                            parseFloat(t.in.width * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.width * e) +
                            "cm/ " +
                            Math.round(t.in.width * e) +
                            "in";
                    case "only-height":
                      return "decimal" == q
                        ? parseFloat(t.cm.height * e).toFixed(3) +
                            "cm / " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.height * e) +
                            "cm / " +
                            Math.round(t.in.height * e) +
                            "in";
                  }
              }
            },
            pt = (e) => {
              switch (X.generals.customizer.measurementUnit) {
                case "cm":
                  switch (X.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == q
                          ? parseFloat(e.cm.height).toFixed(3) + "cm"
                          : Math.round(e.cm.height) + "cm ",
                        "decimal" == q
                          ? parseFloat(e.cm.width).toFixed(3) + "cm "
                          : Math.round(e.cm.width) + "cm"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == q
                          ? parseFloat(e.cm.width).toFixed(3) + "cm"
                          : Math.round(e.cm.width) + "cm "
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == q
                          ? parseFloat(e.cm.height).toFixed(3) + "cm"
                          : Math.round(e.cm.height) + "cm ",
                        ""
                      );
                  }
                  break;
                case "in":
                  switch (X.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == q
                          ? parseFloat(e.in.height).toFixed(3) + "in"
                          : Math.round(e.in.height) + "in ",
                        "decimal" == q
                          ? parseFloat(e.in.width).toFixed(3) + "in "
                          : Math.round(e.in.width) + "in"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == q
                          ? parseFloat(e.in.width).toFixed(3) + "in"
                          : Math.round(e.in.width) + "in "
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == q
                          ? parseFloat(e.in.height).toFixed(3) + "in"
                          : Math.round(e.in.height) + "in ",
                        ""
                      );
                  }
                  break;
                case "both":
                  switch (X.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == q
                          ? parseFloat(e.cm.height).toFixed(3) +
                              "cm \n" +
                              parseFloat(e.in.height).toFixed(3) +
                              "in"
                          : Math.round(e.cm.height) +
                              "cm \n" +
                              Math.round(e.in.height) +
                              "in",
                        "decimal" == q
                          ? parseFloat(e.cm.width).toFixed(3) +
                              "cm /" +
                              parseFloat(e.in.width).toFixed(3) +
                              "in"
                          : Math.round(e.cm.width) +
                              "cm / " +
                              Math.round(e.in.width) +
                              "in"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == q
                          ? parseFloat(e.cm.width).toFixed(3) +
                              "cm / " +
                              parseFloat(e.in.width).toFixed(3) +
                              "in"
                          : Math.round(e.cm.width) +
                              "cm / " +
                              Math.round(e.in.width) +
                              "in"
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == q
                          ? parseFloat(e.cm.height).toFixed(3) +
                              "cm \n " +
                              parseFloat(e.in.height).toFixed(3) +
                              "in"
                          : Math.round(e.cm.height) +
                              "cm \n " +
                              Math.round(e.in.height) +
                              "in",
                        ""
                      );
                  }
              }
            };
          var ut = (0, c.KR)(!1),
            dt = (0, c.KR)();
          const ft = async (e, t) => {
              if (!t) {
                null != Me.getActiveObject() && Me.discardActiveObject();
              }
              Br(e), (L.value = e.popupImg), ($.value = !1);
              const n = await Or();
              if (t) {
                const t = n.map((e) => ({
                  wordNumber: e.wordNumber,
                  color: e.colorData,
                }));
                if (t.length > 1) {
                  pe.value.includes(e) || pe.value.push(e);
                  const n = pe.value,
                    c = new Set();
                  t.forEach((e) => {
                    e.color && c.add(e.color);
                  });
                  const a = new Set(n.filter((e) => c.has(e)));
                  pe.value = Array.from(a);
                } else 1 == t.length && (pe.value = [e]);
                dt.value = e;
              } else pe.value = [e];
              jt();
            },
            ht = async (e) => {
              null != Me.getActiveObject() && Me.discardActiveObject(),
                (We.value = await Or()),
                (he.value = e),
                e.letterParts[0].colors.length > 0
                  ? ((ve.value = [
                      e.letterParts[0].colors.find((e) => e.isDefault) ||
                        e.letterParts[0].colors[0],
                    ]),
                    (E.value = ve.value[0].popupImg))
                  : (ve.value = []),
                e.letterParts[1].activate && e.letterParts[1].colors.length > 0
                  ? ((ge.value = [
                      e.letterParts[1].colors.find((e) => e.isDefault) ||
                        e.letterParts[1].colors[0],
                    ]),
                    (T.value = ge.value[0].popupImg))
                  : (ge.value = []),
                e.letterParts[2].activate && e.letterParts[2].colors.length > 0
                  ? ((be.value = [
                      e.letterParts[2].colors.find((e) => e.isDefault) ||
                        e.letterParts[2].colors[0],
                    ]),
                    (M.value = be.value[0].popupImg))
                  : (be.value = []),
                e.letterParts[3].activate && e.letterParts[3].colors.length > 0
                  ? ((xe.value = [
                      e.letterParts[3].colors.find((e) => e.isDefault) ||
                        e.letterParts[3].colors[0],
                    ]),
                    (_.value = xe.value[0].popupImg))
                  : (xe.value = []);
              var t = {
                face: null != ve.value[0] ? ve.value[0] : {},
                trim: null != ge.value[0] ? ge.value[0] : {},
                side: null != be.value[0] ? be.value[0] : {},
                backLit: null != xe.value[0] ? xe.value[0] : {},
              };
              await Dr(he.value, t),
                (ve.value = null != ve.value[0] ? [ve.value[0]] : []),
                (ge.value = null != ge.value[0] ? [ge.value[0]] : []),
                (be.value = null != be.value[0] ? [be.value[0]] : []),
                (xe.value = null != xe.value[0] ? [xe.value[0]] : []),
                jt();
            };
          var mt = (0, c.KR)(!1),
            vt = (0, c.KR)();
          const gt = async (e, t) => {
            if (!t) {
              null != Me.getActiveObject() && Me.discardActiveObject();
            }
            await Kr(e), (E.value = e.popupImg), (S.value = !1);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.face,
              }));
              if (t.length > 1) {
                ve.value.includes(e) || ve.value.push(e);
                const n = ve.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                ve.value = Array.from(a);
              } else 1 == t.length && (ve.value = [colors]);
              vt.value = e;
            } else ve.value = [e];
            jt();
          };
          var bt = (0, c.KR)(!1),
            xt = (0, c.KR)();
          const wt = async (e, t) => {
            if (!t) {
              null != Me.getActiveObject() && Me.discardActiveObject();
            }
            qr(e), (T.value = e.popupImg), (I.value = !1);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.trim,
              }));
              if (t.length > 1) {
                ge.value.includes(e) || ge.value.push(e);
                const n = ge.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                ge.value = Array.from(a);
              } else 1 == t.length && (ge.value = [e]);
              xt.value = e;
            } else ge.value = [e];
            jt();
          };
          var yt = (0, c.KR)(!1),
            kt = (0, c.KR)();
          const Ct = async (e, t) => {
            if (!t) {
              null != Me.getActiveObject() && Me.discardActiveObject();
            }
            Vr(e), (M.value = e.popupImg), (B.value = !1);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.side,
              }));
              if (t.length > 1) {
                be.value.includes(e) || be.value.push(e);
                const n = be.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                be.value = Array.from(a);
              } else 1 == t.length && (be.value = [e]);
              kt.value = e;
            } else be.value = [e];
            jt();
          };
          var Rt = (0, c.KR)(!1),
            Ot = (0, c.KR)();
          const $t = async (e, t) => {
            if (!t) {
              null != Me.getActiveObject() && Me.discardActiveObject();
            }
            Gr(e), (_.value = e.popupImg), (j.value = !1);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.backLit,
              }));
              if (t.length > 1) {
                xe.value.includes(e) || xe.value.push(e);
                const n = xe.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                xe.value = Array.from(a);
              } else 1 == t.length && (xe.value = [e]);
              Ot.value = e;
            } else xe.value = [e];
            jt();
          };
          const Lt = async (e, t) => {
              (ye.value = { ...e, id: t }), await Ma(e);
              let n = [];
              H.backboardColorsOptions.backboardColors.forEach((e) => {
                e.backboards.includes(t) && n.push(e);
              }),
                (Re.value = n),
                e?.backboardLength?.layers?.activate
                  ? ((Ce.value = {}),
                    e.backboardLength.layers.options.forEach((e, c) => {
                      const a = n.filter(
                        (e) =>
                          e?.layers?.includes(`${t}/${c}`) &&
                          (("one-of-two" == e.visibilityRule &&
                            (le.value.cm.width >= parseFloat(e.minWidth) ||
                              le.value.cm.height >= parseFloat(e.minHeight))) ||
                            ("both" == e.visibilityRule &&
                              le.value.cm.width >= parseFloat(e.minWidth) &&
                              le.value.cm.height >= parseFloat(e.minHeight)))
                      );
                      a.length > 0 ? (ke.value[c] = a[0]) : (ke.value[c] = []),
                        Et(ke.value[c], c);
                    }))
                  : ((ke.value = []), St(Re.value[0] || {})),
                jt();
            },
            St = async (e) => {
              (Ce.value = e), await Ha(e), jt();
            },
            Et = (e, t) => {
              (ke.value[t] = e), Xa(e, t), jt();
            },
            It = (e) => {
              (ue.value = e), jt();
            },
            Tt = (e) => {
              (fe.value = e), jt();
            },
            At = (e) => {
              (de.value = e), jt();
            },
            Bt = (e, t, n, c, a = "") => {
              const r = we.value.findIndex((t) => t.id === e);
              -1 !== r
                ? ((we.value[r].label = t),
                  (we.value[r].value = n),
                  (we.value[r].price = c),
                  (we.value[r].popupImg = a))
                : (we.value.push({
                    id: e,
                    label: t,
                    value: n,
                    price: c,
                    popupImg: a,
                  }),
                  (x.value[`additional_${e}`] = !1)),
                jt();
            },
            Mt = () => {
              D.value = !D.value;
            },
            jt = () => {
              let e = le.value.cm.width,
                n = le.value.cm.height;
              if (ae.value.length && 0 != e && 0 != n) {
                let c = ncpcData.regularPrice;
                const a = Array.from(
                  new Set(oe.value.map((e) => P.priceOptions[e.pricing]))
                );
                let r = {};
                if (
                  (X.languageImages.icons?.listIcons?.length &&
                    -1 != X.languageImages.icons.pricing &&
                    (r = P.priceOptions[X.languageImages.icons.pricing]),
                  "advanced" == t.pricing)
                ) {
                  let t = 0;
                  a.forEach((c) => {
                    let a = y(
                      ae.value,
                      e,
                      n,
                      c,
                      r,
                      X.generals.customizer.measurementUnit
                    );
                    a > t && (t = a);
                  }),
                    (c = t);
                } else {
                  let e = 0;
                  a.forEach((t) => {
                    let n = w(ae.value, t, se.value, r);
                    n > e && (e = n);
                  }),
                    (c = e);
                }
                let o = 0,
                  i = 0;
                pe.value.length > 0 &&
                  pe.value.forEach((e) => {
                    "base" == e.price.type
                      ? (i += Number(e.price.value))
                      : "multiplier" == e.price.type &&
                        (o += Number(e.price.value));
                  }),
                  ve.value.length > 0 &&
                    ve.value.forEach((e) => {
                      "base" == e.price.type
                        ? (i += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (o += Number(e.price.value));
                    }),
                  ge.value.length > 0 &&
                    ge.value.forEach((e) => {
                      "base" == e.price.type
                        ? (i += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (o += Number(e.price.value));
                    }),
                  be.value.length > 0 &&
                    be.value.forEach((e) => {
                      "base" == e.price.type
                        ? (i += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (o += Number(e.price.value));
                    }),
                  xe.value.length > 0 &&
                    xe.value.forEach((e) => {
                      "base" == e.price.type
                        ? (i += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (o += Number(e.price.value));
                    }),
                  ue.value.price &&
                    ("base" == ue.value.price.type
                      ? (i += Number(ue.value.price.value))
                      : "multiplier" == ue.value.price.type &&
                        (o += Number(ue.value.price.value))),
                  de.value.price &&
                    ("base" == de.value.price.type
                      ? (i += Number(de.value.price.value))
                      : "multiplier" == de.value.price.type &&
                        (o += Number(de.value.price.value))),
                  fe.value.price &&
                    ("base" == fe.value.price.type
                      ? (i += Number(fe.value.price.value))
                      : "multiplier" == fe.value.price.type &&
                        (o += Number(fe.value.price.value))),
                  ye.value.price &&
                    ("base" == ye.value.price.type
                      ? (i += Number(ye.value.price.value))
                      : "multiplier" == ye.value.price.type &&
                        (o += Number(ye.value.price.value))),
                  ye.value?.backboardLength?.layers?.activate
                    ? ke.value.forEach((e) => {
                        "base" == e?.price?.type
                          ? (i += Number(e.price.value))
                          : "multiplier" == e?.price?.type &&
                            (o += Number(e.price.value));
                      })
                    : Ce.value.price &&
                      ("base" == Ce.value.price.type
                        ? (i += Number(Ce.value.price.value))
                        : "multiplier" == Ce.value.price.type &&
                          (o += Number(Ce.value.price.value))),
                  he.value.price &&
                    ("base" == he.value.price.type
                      ? (i += Number(he.value.price.value))
                      : "multiplier" == he.value.price.type &&
                        (o += Number(he.value.price.value))),
                  we.value.forEach((e, t) => {
                    e.price &&
                      ("base" == e.price.type
                        ? (i += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (o += Number(e.price.value)));
                  });
                let l = c + i + ((c + i) * o) / 100,
                  s = l;
                "percent" == X.generals.customizer.discount
                  ? (s -= (s * X.generals.customizer.discountValue) / 100)
                  : "fixed" == X.generals.customizer.discount &&
                    (s -= X.generals.customizer.discountValue),
                  (Z.value = isNaN(s) || s < 0 ? 0 : s),
                  (te.value = k(
                    s,
                    Y,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  )),
                  (J.value = k(
                    l,
                    Y,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  ));
              } else
                (Z.value = ncpcData.regularPrice),
                  (te.value = k(
                    ncpcData.regularPrice,
                    ncpcData.currencySymbol,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  )),
                  (J.value = k(
                    ncpcData.regularPrice,
                    ncpcData.currencySymbol,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  ));
            };
          var _t = (0, c.KR)(!0),
            zt = (0, c.KR)({ allowMultiFonts: !1, allowMultiColors: !1 }),
            Ft = (0, c.KR)(0),
            Pt = (0, c.KR)("text"),
            Ht = (0, c.KR)({
              colorData: {},
              faceColorData: {},
              trimColorData: {},
              sideColorData: {},
              backLitColorData: {},
            });
          function Xt(e) {
            Ht.value = e;
            var t = document.getElementById("ncpc-mini-options");
            if (e) {
              document
                .querySelector("#ncpc-selectableTextMessage-container")
                ?.remove(),
                (Pt.value =
                  "neon-text" === e.name || "ncpc-channel" === e.name
                    ? "text"
                    : "image"),
                (Ft.value = e.wordNumber),
                t.classList.remove("ncpc-hidden");
              var n = e.getBoundingRect(!1);
              (t.style.left = n.left + n.width / 2 - t.clientWidth / 2 + "px"),
                (t.style.top = n.top + 1.5 * n.height + "px");
            } else t.style.display = "none";
          }
          function Nt() {
            var e = document.getElementById("ncpc-mini-options");
            (ut.value = !1),
              (Ze.value = !1),
              (mt.value = !1),
              (bt.value = !1),
              (yt.value = !1),
              (Rt.value = !1),
              e.classList.add("ncpc-hidden"),
              (Ft.value = 0);
          }
          var Qt = (0, c.KR)(!1),
            Ut = (0, c.KR)(!1),
            Kt = (0, c.KR)({});
          function qt() {
            window.innerWidth < 1024
              ? ((Qt.value = window.innerWidth < 1024),
                (Ut.value = !0),
                window.innerWidth < 688 && tr(Kt.value, "mobile"))
              : ((Ut.value = !1), tr(Kt.value, "desktop"));
          }
          (0, c.KR)(0);
          var Vt = (0, c.KR)([]);
          const Gt = async () => {
              await Ma(ye.value, !0),
                ye.value?.backboardLength?.layers?.activate
                  ? ke.value.forEach((e, t) => {
                      Et(e, t);
                    })
                  : St(Re.value[0] || {});
            },
            Zt = (0, c.KR)(!1),
            Jt = (0, c.KR)(0),
            en = (0, c.KR)(0),
            tn = (0, c.KR)(0),
            nn = (0, c.KR)(!1);
          const an = (e) => {
            if (!e)
              return (
                console.error("Canvas element not found for touch detection"),
                null
              );
            const t = (e) => {
                (Jt.value = Date.now()),
                  (en.value = e.touches[0].clientY),
                  (tn.value = e.touches[0].clientX),
                  (nn.value = !1);
              },
              n = (e) => {
                const t = Date.now() - Jt.value,
                  n = Math.abs(e.touches[0].clientY - en.value),
                  c = Math.abs(e.touches[0].clientX - tn.value);
                if (
                  (t < 200 && n > 20 && n > 1.5 * c) ||
                  (n > 50 && n > c) ||
                  (t < 100 && n > 10 && n > c)
                ) {
                  return (
                    (nn.value = !0),
                    (function (e = 1e3, t = 10) {
                      const n = t;
                      let c = 0;
                      const a = Math.sign(e),
                        r = setInterval(() => {
                          window.scrollBy(0, 50 * a),
                            (c += 50),
                            Math.abs(c) >= Math.abs(e) && clearInterval(r);
                        }, n);
                    })(en.value - e.touches[0].clientY, 1),
                    e.stopImmediatePropagation(),
                    !0
                  );
                }
              },
              c = () => {
                nn.value = !1;
              };
            return (
              e.addEventListener("touchstart", t, { passive: !0 }),
              e.addEventListener("touchmove", n, { passive: !1 }),
              e.addEventListener("touchend", c, { passive: !0 }),
              () => {
                console.log("🧹 Cleaning up touch detection listeners"),
                  e.removeEventListener("touchstart", t),
                  e.removeEventListener("touchmove", n),
                  e.removeEventListener("touchend", c);
              }
            );
          };
          function rn() {
            const e = document.getElementById("ncpc-editor-container");
            _t.value && an(e), console.log("Initialized.");
          }
          return (
            (0, c.sV)(async () => {
              t.config.others.configuratorHeaderTag &&
              "" != t.config.others.configuratorHeaderTag.trim()
                ? (a.value = t.config.others.configuratorHeaderTag)
                : (a.value = "h2"),
                (() => {
                  if (P.fontOptions.fonts.length > 0) {
                    let e = P.fontOptions.fonts.find((e) => e.isDefault);
                    null == e && (e = P.fontOptions.fonts[0]), (oe.value = [e]);
                  }
                  if (
                    (P.sizeOptions.sizes.length > 0
                      ? ("advanced" == t.pricing &&
                          (De.value = P.sizeOptions.sizes.reduce(
                            (e, t) =>
                              t.scaleMultiplier < e ? t.scaleMultiplier : e,
                            1
                          )),
                        (Kt.value = se.value.resizeSettings
                          ? se.value.resizeSettings
                          : {
                              autoResize: !0,
                              desktop: {
                                defaultFontSize: 110,
                                maxFontSize: 110,
                                minFontSize: 30,
                              },
                              mobile: {
                                defaultFontSize: 60,
                                maxFontSize: 60,
                                minFontSize: 30,
                              },
                            }))
                      : ("advanced" == t.pricing &&
                          P.sizeOptions.customSize.activate &&
                          (se.value = {
                            id: "custom-size",
                            label:
                              "" != P.sizeOptions.customSize.customs.label
                                ? P.sizeOptions.customSize.customs.label
                                : "Custom",
                            scaleMultiplier: 1,
                            resizeSettings: {
                              autoResize: !0,
                              desktop: {
                                defaultFontSize: 110,
                                maxFontSize: 110,
                                minFontSize: 30,
                              },
                              mobile: {
                                defaultFontSize: 60,
                                maxFontSize: 60,
                                minFontSize: 30,
                              },
                            },
                          }),
                        (Kt.value = {
                          autoResize: !0,
                          desktop: {
                            defaultFontSize: 110,
                            maxFontSize: 110,
                            minFontSize: 30,
                          },
                          mobile: {
                            defaultFontSize: 60,
                            maxFontSize: 60,
                            minFontSize: 30,
                          },
                        })),
                    "neon" == t.productType && P.colorOptions.colors.length > 0)
                  ) {
                    let e = P.colorOptions.colors.find((e) => e.isDefault);
                    null == e && (e = P.colorOptions.colors[0]),
                      (pe.value = [e]),
                      (L.value = e.popupImg);
                  }
                  if (
                    "channel" == t.productType &&
                    P.letterTypesOptions.letterTypes.length > 0
                  ) {
                    let e = P.letterTypesOptions.letterTypes.find(
                      (e) => e.isDefault
                    );
                    null == e && (e = P.letterTypesOptions.letterTypes[0]),
                      (he.value = e),
                      e.letterParts[0].colors.length > 0
                        ? ((ve.value = [
                            e.letterParts[0].colors.find((e) => e.isDefault) ||
                              e.letterParts[0].colors[0],
                          ]),
                          (E.value = ve.value[0].popupImg))
                        : (ve.value = []),
                      e.letterParts[1].activate &&
                      e.letterParts[1].colors.length > 0
                        ? ((ge.value = [
                            e.letterParts[1].colors.find((e) => e.isDefault) ||
                              e.letterParts[1].colors[0],
                          ]),
                          (T.value = ge.value[0].popupImg))
                        : (ge.value = []),
                      e.letterParts[2].activate &&
                      e.letterParts[2].colors.length > 0
                        ? ((be.value = [
                            e.letterParts[2].colors.find((e) => e.isDefault) ||
                              e.letterParts[2].colors[0],
                          ]),
                          (M.value = be.value[0].popupImg))
                        : (be.value = []),
                      e.letterParts[3].activate &&
                      e.letterParts[3].colors.length > 0
                        ? ((xe.value = [
                            e.letterParts[3].colors.find((e) => e.isDefault) ||
                              e.letterParts[3].colors[0],
                          ]),
                          (_.value = xe.value[0].popupImg))
                        : (xe.value = []);
                  }
                  if (H.backboardOptions.backboards.length > 0) {
                    let e = ye.value.id,
                      t = [];
                    H.backboardColorsOptions.backboardColors.forEach((n) => {
                      n.backboards.includes(e) && t.push(n);
                    }),
                      (Re.value = t),
                      H.backboardOptions.backboards[e]?.backboardLength?.layers
                        ?.activate
                        ? ((Ce.value = {}),
                          H.backboardOptions.backboards[
                            e
                          ]?.backboardLength?.layers?.options.forEach(
                            (n, c) => {
                              const a = t.filter(
                                (t) =>
                                  t?.layers?.includes(`${e}/${c}`) &&
                                  (("one-of-two" == t.visibilityRule &&
                                    (le.value.cm.width >=
                                      parseFloat(t.minWidth) ||
                                      le.value.cm.height >=
                                        parseFloat(t.minHeight))) ||
                                    ("both" == t.visibilityRule &&
                                      le.value.cm.width >=
                                        parseFloat(t.minWidth) &&
                                      le.value.cm.height >=
                                        parseFloat(t.minHeight)))
                              );
                              a.length > 0
                                ? (ke.value[c] = a[0])
                                : (ke.value[c] = []);
                            }
                          ))
                        : ((ke.value = []),
                          t.length > 0 && (Ce.value = t[0]),
                          (Re.value = t));
                  }
                  H.materialOptions.materials.length > 0 &&
                    (ue.value =
                      H.materialOptions.materials.find((e) => e.isDefault) ||
                      H.materialOptions.materials[0]),
                    H.jacketOptions.jackets.length > 0 &&
                      (de.value =
                        H.jacketOptions.jackets.find((e) => e.isDefault) ||
                        H.jacketOptions.jackets[0]),
                    H.mountingOptions.mountings.length > 0 &&
                      (fe.value =
                        H.mountingOptions.mountings.find((e) => e.isDefault) ||
                        H.mountingOptions.mountings[0]),
                    t.config.additionalOptions.customAdditionalsOptions.length >
                      0 &&
                      t.config.additionalOptions.customAdditionalsOptions.forEach(
                        (e, t) => {
                          switch (e.type) {
                            case "yes/no":
                              "yes" == e.default
                                ? Bt(
                                    t,
                                    e.label,
                                    e.inputs.yes,
                                    e.price,
                                    e.popupImg
                                  )
                                : Bt(
                                    t,
                                    e.label,
                                    e.inputs.no,
                                    { type: "none", value: 0 },
                                    e.popupImg
                                  );
                              break;
                            case "image-input":
                            case "dropdown":
                              Bt(
                                t,
                                e.label,
                                e.options[0].value,
                                e.options[0].price,
                                e.options[0].popupImg
                              );
                          }
                        }
                      ),
                    X.languageImages.images.previewImage
                      .displayDefaultBackgroundImage
                      ? ((ne.value = "blue-gray"), (ce.value = "blue-gray"))
                      : X.languageImages.images.manageImages.length > 0 &&
                        ((ne.value = X.languageImages.images.manageImages[0]),
                        (ce.value = X.languageImages.images.manageImages[0])),
                    X.languageImages.images.reviewScreenImages
                      .displayDefaultBackgroundImage
                      ? (ce.value = "blue-gray")
                      : X.languageImages.images.manageImages.length > 0 &&
                        (ce.value = X.languageImages.images.manageImages[0]),
                    X.languageImages.images.enableReviewImage &&
                      (!1 === X.languageImages.images.enableReviewImage
                        ? (Te.value = !1)
                        : (Te.value = !0));
                })(),
                ao(Q.activeButtonColor);
              const e = je.value;
              var n = document.getElementById("ncpc-editor-container"),
                c = n.clientWidth,
                r = n.clientHeight;
              ((Me = new fabric.Canvas(e, {
                backgroundColor: "transparent",
                width: c,
                height: r,
                interactive: !0,
                name: "front-face",
              })).hoverCursor = "pointer"),
                (Me.selection = !1),
                (fabric.Object.prototype.transparentCorners = !1),
                (fabric.Object.prototype.cornerColor =
                  Q.selectedTextBorderCornerColor),
                (fabric.Object.prototype.borderColor =
                  Q.selectedTextBorderColor),
                (fabric.Object.prototype.borderScaleFactor = 3),
                (fabric.Object.prototype.padding = 5),
                (fabric.Object.prototype.cornerStyle = "circle"),
                (fabric.Object.prototype.cornerStrokeColor =
                  Q.selectedTextBorderColor),
                Me.on("selection:created", function (e) {
                  Xt(e.selected[0]);
                }),
                Me.on("selection:updated", function (e) {
                  var t = e.selected[0];
                  Nt(), Xt(t);
                }),
                Me.on("selection:cleared", Nt),
                ze("start"),
                Qa(Me),
                (_t.value = !(
                  !X.generals.mode || "multi" != X.generals.mode.type
                ));
              var o = {};
              let i;
              "neon" == t.productType
                ? ((o = {
                    type: t.productType,
                    canSelectText: _t.value,
                    font: oe.value,
                    glowEffect: P.colorOptions.glowEffect,
                    color: pe.value,
                    backboard: ye.value,
                  }),
                  await or(t.productType, o))
                : ((o = {
                    type: t.productType,
                    canSelectText: _t.value,
                    font: oe.value,
                    letterType: he.value,
                    colors: {
                      face: null != ve.value[0] ? ve.value[0] : {},
                      trim: null != ge.value[0] ? ge.value[0] : {},
                      side: null != be.value[0] ? be.value[0] : {},
                      backLit: null != xe.value[0] ? xe.value[0] : {},
                    },
                  }),
                  await sr(t.productType, o)),
                Ja(
                  X.generals.customizer,
                  Q.colorMeasuringBar,
                  Q.colorOfMeasuringBarText
                ),
                qt(),
                X.generals.mode && (zt.value = X.generals.mode),
                tr(Kt.value),
                (Zt.value = !0),
                (K.value = !0),
                X?.infos?.customAdditionalsOptions &&
                  (Vt.value = X?.infos?.customAdditionalsOptions),
                document.addEventListener("DOMContentLoaded", rn),
                window.addEventListener("resize", () => {
                  clearTimeout(i),
                    (i = setTimeout(() => {
                      ze(), qt();
                    }, 250));
                }),
                window.dispatchEvent(new Event("resize")),
                document.querySelector("#ncpc-configurator-loader") &&
                  document.querySelector("#ncpc-configurator-loader").remove();
            }),
            (v, b) => (
              (0, c.uX)(),
              (0, c.CE)(
                "div",
                {
                  id: "ncpc-config-container",
                  class: (0, c.C4)(
                    ("right" ==
                    (0, c.R1)(X).generals.customizer.destokColumnOrder
                      ? "lg:ncpc-flex-row-reverse"
                      : "lg:ncpc-flex-row") +
                      " ncpc-flex ncpc-flex-col-reverse ncpc-w-full ncpc-h-[100vh] ncpc-relative"
                  ),
                },
                [
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `${
                          D.value
                            ? `ncpc-bg-[${(0, c.R1)(Q).darkBackgroundColor}]`
                            : `ncpc-bg-[${
                                (0, c.R1)(Q).backgroundColor
                              }] ncpc-border-r`
                        } ${
                          "right" ==
                          (0, c.R1)(X).generals.customizer.destokColumnOrder
                            ? "ncpc-border-l"
                            : ""
                        } ncpc-h-[12%] lg:ncpc-w-[8%] lg:ncpc-h-[100%]`
                      ),
                    },
                    [
                      (0, c.Lk)("div", ro, [
                        ((0, c.uX)(!0),
                        (0, c.CE)(
                          c.FK,
                          null,
                          (0, c.pI)(
                            (0, c.R1)(W),
                            (e, n) => (
                              (0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  class: (0, c.C4)(
                                    (D.value
                                      ? `ncpc-text-[${
                                          (0, c.R1)(Q).darkButtonTextColor
                                        }]`
                                      : `ncpc-text-[${
                                          (0, c.R1)(Q).buttonTextColor
                                        }]`) + " ncpc-w-full"
                                  ),
                                },
                                [
                                  "text-form" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 0,
                                          onClick:
                                            b[0] ||
                                            (b[0] = (e) => nt("text-form")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.textIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.textIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    oo,
                                                    b[33] ||
                                                      (b[33] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M25.447 4.46547C26.2315 4.85247 26.8225 5.57247 27.214 6.66747C27.2702 6.80784 27.2976 6.95811 27.2945 7.1093C27.2913 7.26048 27.2577 7.40949 27.1957 7.5474C27.1337 7.68531 27.0445 7.8093 26.9334 7.91196C26.8224 8.01462 26.6918 8.09384 26.5495 8.14488C26.4071 8.19593 26.2559 8.21775 26.105 8.20905C25.954 8.20035 25.8063 8.1613 25.6708 8.09424C25.5353 8.02718 25.4146 7.93348 25.3161 7.81875C25.2176 7.70401 25.1433 7.5706 25.0975 7.42647C24.8455 6.72447 24.58 6.54597 24.4525 6.48447C24.2665 6.39147 24.0445 6.37497 23.578 6.37497C23.212 6.37497 22.9945 6.48747 22.837 6.62997C22.657 6.79047 22.498 7.04247 22.3765 7.37097C22.2311 7.77103 22.1472 8.19078 22.1275 8.61597C22.1262 8.64196 22.1252 8.66796 22.1245 8.69397V8.70897C22.1245 9.31797 22.1365 10.044 22.3705 10.6425C22.4785 10.9215 22.6225 11.1315 22.8055 11.283C22.9795 11.4285 23.251 11.568 23.7025 11.6175C23.8405 11.6325 24.1375 11.6325 24.427 11.5245C24.5855 11.4667 24.73 11.3762 24.8513 11.2589C24.9725 11.1415 25.0676 11 25.1305 10.8435C25.2584 10.5801 25.4839 10.377 25.7592 10.2772C26.0344 10.1775 26.3377 10.189 26.6047 10.3092C26.8716 10.4295 27.0811 10.6491 27.1887 10.9214C27.2963 11.1937 27.2936 11.4972 27.181 11.7675C26.227 13.884 24.13 13.929 23.4535 13.854C22.615 13.761 21.919 13.47 21.37 13.0155C20.8779 12.5992 20.5008 12.0637 20.275 11.46C19.8745 10.4355 19.8745 9.32247 19.8745 8.74947V8.63847L19.882 8.49747C19.9166 7.84459 20.0464 7.20027 20.2675 6.58497C20.467 6.04947 20.7925 5.43747 21.3385 4.94997C21.9552 4.40393 22.7545 4.10948 23.578 4.12497H23.6305C24.04 4.12497 24.7525 4.12347 25.447 4.46547ZM8.08899 4.87497C8.01241 4.65812 7.8712 4.46994 7.68439 4.3358C7.49758 4.20166 7.27415 4.12799 7.04419 4.12472C6.81423 4.12145 6.5888 4.18874 6.39825 4.31752C6.20771 4.4463 6.06121 4.63038 5.97849 4.84497L3.07599 12.345C2.96818 12.6232 2.97533 12.933 3.09587 13.206C3.21641 13.479 3.44046 13.6929 3.71874 13.8007C3.99702 13.9085 4.30673 13.9014 4.57973 13.7808C4.85274 13.6603 5.06668 13.4362 5.17449 13.158L5.33049 12.7515H8.49549L8.63049 13.1265C8.73812 13.3966 8.94614 13.6145 9.21095 13.7346C9.47575 13.8547 9.77677 13.8676 10.0509 13.7706C10.325 13.6736 10.5509 13.4743 10.6812 13.2144C10.8116 12.9544 10.8362 12.6542 10.75 12.3765L8.08899 4.87497ZM7.69749 10.5H6.20199L6.98199 8.48547L7.69749 10.5ZM11.9995 5.24997V12.75C11.9995 12.9132 12.035 13.0745 12.1036 13.2226C12.1721 13.3707 12.2721 13.5021 12.3966 13.6077C12.521 13.7133 12.667 13.7906 12.8243 13.8342C12.9816 13.8777 13.1464 13.8865 13.3075 13.86V13.875H15.7495C16.1065 13.875 16.849 13.8195 17.542 13.4175C18.322 12.963 18.9265 12.1275 18.9265 10.8615C18.9265 10.2315 18.7885 9.67047 18.502 9.20097C18.3845 9.00785 18.2417 8.83128 18.0775 8.67597C18.3055 8.25747 18.4405 7.74597 18.4405 7.13847C18.4405 6.52497 18.319 5.98047 18.0655 5.51847C17.837 5.0971 17.4937 4.74915 17.0755 4.51497C16.381 4.12497 15.6385 4.12497 15.3865 4.12497H13.1245C12.8261 4.12497 12.54 4.2435 12.329 4.45448C12.118 4.66545 11.9995 4.9516 11.9995 5.24997ZM15.7495 11.625H14.2495V10.125H15.6535C15.94 10.125 16.2235 10.14 16.429 10.2405C16.507 10.2795 16.549 10.32 16.5805 10.371C16.6135 10.4235 16.6765 10.5615 16.6765 10.8615C16.6868 11.0153 16.6557 11.1692 16.5865 11.307C16.5438 11.3767 16.4832 11.4337 16.411 11.472C16.2063 11.5748 15.98 11.6273 15.751 11.625H15.7495ZM14.4325 7.87497H14.2495V6.37497H15.3745C15.61 6.37497 15.826 6.39447 15.9715 6.47697C16.0227 6.50393 16.0645 6.54577 16.0915 6.59697C16.1275 6.66297 16.1905 6.82047 16.1905 7.13697C16.2004 7.2971 16.1695 7.45712 16.1005 7.60197C16.0669 7.662 16.0177 7.71177 15.958 7.74597C15.7927 7.83198 15.6088 7.87627 15.4225 7.87497H14.4325ZM20.9155 16.4625C21.0943 16.2307 21.1757 15.9384 21.1425 15.6476C21.1093 15.3568 20.964 15.0904 20.7376 14.9049C20.5111 14.7194 20.2213 14.6295 19.9296 14.6543C19.638 14.679 19.3675 14.8165 19.1755 15.0375L13.825 21.576L11.296 19.0455C11.0839 18.8404 10.7998 18.7269 10.5048 18.7293C10.2098 18.7318 9.92762 18.8499 9.71893 19.0584C9.51025 19.2669 9.3918 19.549 9.3891 19.844C9.3864 20.139 9.49966 20.4232 9.70449 20.6355L13.114 24.045C13.2251 24.1559 13.3582 24.2424 13.5047 24.2989C13.6512 24.3553 13.8079 24.3805 13.9648 24.3727C14.1216 24.3649 14.2751 24.3244 14.4153 24.2538C14.5555 24.1831 14.6794 24.0839 14.779 23.9625L20.9155 16.4625Z",
                                                            fill: "currentColor",
                                                            "fill-opacity": "1",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.textIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.textIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", io, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer.textIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      lo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                so,
                                                (0, c.v_)(
                                                  (0, c.R1)(X).languageImages
                                                    .main.sectionText ?? "Text"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "fonts" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 1,
                                          onClick:
                                            b[1] || (b[1] = (e) => nt("fonts")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.fontIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.fontIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    po,
                                                    b[34] ||
                                                      (b[34] = [
                                                        (0, c.Fv)(
                                                          '<g clip-path="url(#clip0_499_1358)"><path d="M6 12.1067V18.5H12.3933L11.06 17.1667H7.33333V13.44L6 12.1067Z" fill="currentColor" fill-opacity="1"></path><path d="M23.2454 22.0267L21.332 20.0867V21.8333H2.66538V19.0667H3.99871V18H2.66538V13.5667H3.99871V12.5H2.66538V8.23334H3.99871V7.16667H2.66538V3.44L13.292 14.0067V12.1267L2.47204 1.36C2.3788 1.26598 2.25966 1.20186 2.12983 1.17582C2 1.14977 1.86535 1.16298 1.74305 1.21376C1.62076 1.26453 1.51636 1.35058 1.44315 1.46093C1.36995 1.57127 1.33127 1.70092 1.33204 1.83334V22.5C1.33204 22.6768 1.40228 22.8464 1.5273 22.9714C1.65233 23.0964 1.8219 23.1667 1.99871 23.1667H22.772C22.9045 23.1674 23.0341 23.1288 23.1445 23.0556C23.2548 22.9824 23.3408 22.878 23.3916 22.7557C23.4424 22.6334 23.4556 22.4987 23.4296 22.3689C23.4035 22.2391 23.3394 22.1199 23.2454 22.0267Z" fill="currentColor" fill-opacity="1"></path><path d="M16.0013 20.5H18.668C19.0216 20.5 19.3607 20.3595 19.6108 20.1095C19.8608 19.8594 20.0013 19.5203 20.0013 19.1666V6.29998L18.468 3.47998C18.3494 3.27453 18.1781 3.10443 17.9719 2.98724C17.7656 2.87005 17.5318 2.81001 17.2946 2.81331C17.0521 2.81524 16.8146 2.8833 16.6079 3.01017C16.4011 3.13705 16.2329 3.31792 16.1213 3.53331L14.668 6.31331V19.1666C14.668 19.5203 14.8084 19.8594 15.0585 20.1095C15.3085 20.3595 15.6477 20.5 16.0013 20.5ZM16.0013 6.63331L17.2946 4.11998L18.668 6.63998V16.5H16.0013V6.63331ZM16.0013 17.5866H18.668V19.2133H16.0013V17.5866Z" fill="currentColor" fill-opacity="1"></path></g><defs><clipPath id="clip0_499_1358"><rect width="24" height="24" fill="currentColor" transform="translate(0 0.5)"></rect></clipPath></defs>',
                                                          2
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.fontIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.fontIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", uo, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer.fontIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      fo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                ho,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      P
                                                    ).fontOptions.label.trim()
                                                    ? (0, c.R1)(P).fontOptions
                                                        .label
                                                    : "Fonts"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "sizes" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 2,
                                          onClick:
                                            b[2] || (b[2] = (e) => nt("sizes")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.sizeIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.sizeIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    mo,
                                                    b[35] ||
                                                      (b[35] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M20.4996 20.38V22.5L18.6996 21.33L13.9096 12.33C14.5661 12.1243 15.1724 11.7836 15.6896 11.33M15.4996 7.5C15.4996 8.29565 15.1835 9.05871 14.6209 9.62132C14.0583 10.1839 13.2953 10.5 12.4996 10.5C12.3531 10.5099 12.2061 10.5099 12.0596 10.5L6.29961 21.33L4.49961 22.5V20.38L10.2896 9.5C9.90497 9.07 9.65247 8.53821 9.56238 7.96836C9.47229 7.3985 9.54842 6.81476 9.78166 6.28708C10.0149 5.75939 10.3953 5.31015 10.8774 4.99319C11.3595 4.67623 11.9227 4.50499 12.4996 4.5V2.5C12.7648 2.5 13.0192 2.60536 13.2067 2.79289C13.3943 2.98043 13.4996 3.23478 13.4996 3.5V4.68C14.0832 4.88631 14.5886 5.26807 14.9467 5.77293C15.3047 6.2778 15.4979 6.88106 15.4996 7.5ZM13.4996 7.5C13.4996 7.30222 13.441 7.10888 13.3311 6.94443C13.2212 6.77998 13.065 6.65181 12.8823 6.57612C12.6996 6.50043 12.4985 6.48063 12.3045 6.51921C12.1105 6.5578 11.9324 6.65304 11.7925 6.79289C11.6527 6.93275 11.5574 7.11093 11.5188 7.30491C11.4802 7.49889 11.5 7.69996 11.5757 7.88268C11.6514 8.06541 11.7796 8.22159 11.944 8.33147C12.1085 8.44135 12.3018 8.5 12.4996 8.5C12.7648 8.5 13.0192 8.39464 13.2067 8.20711C13.3943 8.01957 13.4996 7.76522 13.4996 7.5ZM4.71961 10.5L6.49961 12.3L5.05961 15.06L2.59961 12.6M12.4996 18.26L10.9996 16.75L9.49961 19.5L12.4996 22.5L15.4996 19.5L14.0296 16.73M20.2796 10.5L18.4996 12.3L19.9996 15.06L22.3996 12.6L20.2796 10.5Z",
                                                            fill: "currentColor",
                                                            "fill-opacity": "1",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.sizeIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.sizeIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", vo, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer.sizeIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      go
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                bo,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      P
                                                    ).sizeOptions.label.trim()
                                                    ? (0, c.R1)(P).sizeOptions
                                                        .label
                                                    : "Sizes"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "channel" == t.productType &&
                                  "letter-types" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 3,
                                          onClick:
                                            b[3] ||
                                            (b[3] = (e) => nt("letter-types")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.letterTypeIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.letterTypeIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    xo,
                                                    b[36] ||
                                                      (b[36] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M14.08 14.29C14.35 14.97 14.5 15.72 14.5 16.5C14.5 18.27 13.73 19.87 12.5 20.96C11.4053 21.9541 9.97871 22.5033 8.5 22.5C5.19 22.5 2.5 19.81 2.5 16.5C2.5 13.74 4.38 11.4 6.92 10.71",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M18.08 10.71C20.62 11.4 22.5 13.74 22.5 16.5C22.5 19.81 19.81 22.5 16.5 22.5C15.0213 22.5033 13.5947 21.9541 12.5 20.96",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M6.5 8.5C6.5 10.0913 7.13214 11.6174 8.25736 12.7426C9.38258 13.8679 10.9087 14.5 12.5 14.5C14.0913 14.5 15.6174 13.8679 16.7426 12.7426C17.8679 11.6174 18.5 10.0913 18.5 8.5C18.5 6.9087 17.8679 5.38258 16.7426 4.25736C15.6174 3.13214 14.0913 2.5 12.5 2.5C10.9087 2.5 9.38258 3.13214 8.25736 4.25736C7.13214 5.38258 6.5 6.9087 6.5 8.5Z",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.letterTypeIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.letterTypeIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", wo, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .letterTypeIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      yo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                ko,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      P
                                                    ).letterTypesOptions.label.trim()
                                                    ? (0, c.R1)(P)
                                                        .letterTypesOptions
                                                        .label
                                                    : "Letter Types"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "neon" == t.productType && "colors" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 4,
                                          onClick:
                                            b[4] ||
                                            (b[4] = (e) => nt("colors")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.colorIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.colorIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    Co,
                                                    b[37] ||
                                                      (b[37] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M14.08 14.29C14.35 14.97 14.5 15.72 14.5 16.5C14.5 18.27 13.73 19.87 12.5 20.96C11.4053 21.9541 9.97871 22.5033 8.5 22.5C5.19 22.5 2.5 19.81 2.5 16.5C2.5 13.74 4.38 11.4 6.92 10.71",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M18.08 10.71C20.62 11.4 22.5 13.74 22.5 16.5C22.5 19.81 19.81 22.5 16.5 22.5C15.0213 22.5033 13.5947 21.9541 12.5 20.96",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M6.5 8.5C6.5 10.0913 7.13214 11.6174 8.25736 12.7426C9.38258 13.8679 10.9087 14.5 12.5 14.5C14.0913 14.5 15.6174 13.8679 16.7426 12.7426C17.8679 11.6174 18.5 10.0913 18.5 8.5C18.5 6.9087 17.8679 5.38258 16.7426 4.25736C15.6174 3.13214 14.0913 2.5 12.5 2.5C10.9087 2.5 9.38258 3.13214 8.25736 4.25736C7.13214 5.38258 6.5 6.9087 6.5 8.5Z",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.colorIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.colorIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Ro, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer.colorIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      Oo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                $o,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      P
                                                    ).colorOptions.label.trim()
                                                    ? (0, c.R1)(P).colorOptions
                                                        .label
                                                    : "Colors"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "neon" == t.productType &&
                                  (0, c.R1)(H).jacketOptions.jackets.length >
                                    0 &&
                                  "jackets" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 5,
                                          onClick:
                                            b[5] ||
                                            (b[5] = (e) => nt("jackets")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.jacketIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.jacketIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    Lo,
                                                    b[38] ||
                                                      (b[38] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                            d: "M11.42 15.17L17.25 21A2.652 2.652 0 0021 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 11-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 004.486-6.336l-3.276 3.277a3.004 3.004 0 01-2.25-2.25l3.276-3.276a4.5 4.5 0 00-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437l1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008z",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.jacketIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.jacketIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", So, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .jacketIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      Eo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                Io,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      H
                                                    ).jacketOptions.label.trim()
                                                    ? (0, c.R1)(H).jacketOptions
                                                        .label
                                                    : "Jackets"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "neon" == t.productType &&
                                  (0, c.R1)(H).materialOptions.materials
                                    .length > 0 &&
                                  "materials" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 6,
                                          onClick:
                                            b[6] ||
                                            (b[6] = (e) => nt("materials")),
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.materialIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.materialIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    To,
                                                    b[39] ||
                                                      (b[39] = [
                                                        (0, c.Fv)(
                                                          '<g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M3 7L10 3L21 7M3 7V12L14 16L21 12V7M3 7L14 11L21 7" stroke="currentColor" stroke-width="1.248" stroke-linejoin="round"></path> <path d="M3 12V17L14 21L21 17V12" stroke="currentColor" stroke-width="1.248" stroke-linejoin="round"></path></g>',
                                                          3
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.materialIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.materialIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Ao, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .materialIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      Bo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                Mo,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      H
                                                    ).materialOptions.label.trim()
                                                    ? (0, c.R1)(H)
                                                        .materialOptions.label
                                                    : "Materials"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.R1)(H).mountingOptions.mountings
                                    .length > 0 && "mountings" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 7,
                                          onClick:
                                            b[7] ||
                                            (b[7] = (e) => nt("mountings")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.mountingIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.mountingIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    jo,
                                                    b[40] ||
                                                      (b[40] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                            d: "M11.42 15.17L17.25 21A2.652 2.652 0 0021 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 11-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 004.486-6.336l-3.276 3.277a3.004 3.004 0 01-2.25-2.25l3.276-3.276a4.5 4.5 0 00-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437l1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008z",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.mountingIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.mountingIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", _o, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .mountingIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      zo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                Fo,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      H
                                                    ).mountingOptions.label.trim()
                                                    ? (0, c.R1)(H)
                                                        .mountingOptions.label
                                                    : "Mountings"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.R1)(H).backboardOptions.backboards
                                    .length > 0 && "backboards" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 8,
                                          onClick:
                                            b[8] ||
                                            (b[8] = (e) => nt("backboards")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.backboardIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.backboardIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    Do,
                                                    b[41] ||
                                                      (b[41] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M17 7.25C17 7.54547 16.9418 7.83806 16.8287 8.11104C16.7157 8.38402 16.5499 8.63206 16.341 8.84099C16.1321 9.04992 15.884 9.21566 15.611 9.32873C15.3381 9.4418 15.0455 9.5 14.75 9.5C14.4545 9.5 14.1619 9.4418 13.889 9.32873C13.616 9.21566 13.3679 9.04992 13.159 8.84099C12.9501 8.63206 12.7843 8.38402 12.6713 8.11104C12.5582 7.83806 12.5 7.54547 12.5 7.25C12.5 6.65326 12.7371 6.08097 13.159 5.65901C13.581 5.23705 14.1533 5 14.75 5C15.3467 5 15.919 5.23705 16.341 5.65901C16.7629 6.08097 17 6.65326 17 7.25ZM15.5 7.25C15.5 7.05109 15.421 6.86032 15.2803 6.71967C15.1397 6.57902 14.9489 6.5 14.75 6.5C14.5511 6.5 14.3603 6.57902 14.2197 6.71967C14.079 6.86032 14 7.05109 14 7.25C14 7.44891 14.079 7.63968 14.2197 7.78033C14.3603 7.92098 14.5511 8 14.75 8C14.9489 8 15.1397 7.92098 15.2803 7.78033C15.421 7.63968 15.5 7.44891 15.5 7.25ZM0.5 5C0.5 3.80653 0.974106 2.66193 1.81802 1.81802C2.66193 0.974106 3.80653 0.5 5 0.5H17C18.1935 0.5 19.3381 0.974106 20.182 1.81802C21.0259 2.66193 21.5 3.80653 21.5 5V9.5045C20.9885 9.5285 20.48 9.6425 20 9.848V5C20 4.20435 19.6839 3.44129 19.1213 2.87868C18.5587 2.31607 17.7956 2 17 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V18.239C2.00024 18.298 2.01786 18.3556 2.05066 18.4046C2.08345 18.4536 2.12996 18.4919 2.18438 18.5146C2.2388 18.5373 2.29871 18.5435 2.35662 18.5324C2.41454 18.5212 2.46789 18.4933 2.51 18.452L3.7205 17.258L3.7175 17.2535L5.2895 15.7085L5.5985 15.4055L9.4235 11.648C9.84422 11.2348 10.4103 11.0034 11 11.0034C11.5897 11.0034 12.1558 11.2348 12.5765 11.648L15.194 14.219L14.1335 15.281L11.525 12.7175C11.3848 12.5801 11.1963 12.5031 11 12.5031C10.8037 12.5031 10.6152 12.5801 10.475 12.7175L6.341 16.778L3.5645 19.52C2.4275 20.642 0.5 19.835 0.5 18.239V5ZM1.1 21.5525C1.6535 21.8285 2.345 22.055 2.9255 21.9275C3.302 21.8435 3.791 21.638 4.34 21.407C5.6675 20.8475 7.3445 20.1425 8.633 20.6615C9.5885 21.0455 9.509 22.133 9.2405 22.6565C9.188 22.7555 9.2285 22.8965 9.338 22.922C9.88659 23.0335 10.4467 23.0778 11.006 23.054C11.0121 22.9832 11.0236 22.913 11.0405 22.844L11.603 20.597C11.7469 20.0174 12.0467 19.4883 12.47 19.067L19.715 11.822C19.9748 11.5583 20.2842 11.3486 20.6254 11.205C20.9666 11.0614 21.3328 10.9868 21.703 10.9854C22.0732 10.984 22.44 11.056 22.7823 11.197C23.1245 11.3381 23.4355 11.5455 23.6972 11.8073C23.9589 12.0691 24.1662 12.3802 24.3071 12.7225C24.4481 13.0648 24.5198 13.4316 24.5183 13.8018C24.5168 14.172 24.4421 14.5382 24.2984 14.8793C24.1546 15.2205 23.9448 15.5298 23.681 15.7895L16.436 23.033C16.0139 23.4553 15.4851 23.7549 14.906 23.9L13.073 24.3575C11.3915 24.8495 8.882 24.6905 8.1035 24.083C7.43 23.558 7.403 22.7525 7.6295 22.217C7.6805 22.097 7.5905 21.9425 7.463 21.962C6.7205 22.067 6.113 22.337 5.513 22.6025C4.6355 22.9925 3.779 23.372 2.549 23.219C1.4825 23.087 0.8885 22.5305 0.5615 21.9815C0.3785 21.6755 0.7805 21.3935 1.1 21.5525Z",
                                                            fill: "currentColor",
                                                            "fill-opacity": "1",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.backboardIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.backboardIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Po, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .backboardIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      Ho
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                Xo,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      H
                                                    ).backboardOptions.label.trim()
                                                    ? (0, c.R1)(H)
                                                        .backboardOptions.label
                                                    : "Backboards"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  Re.value.length > 0 && "backboard-colors" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 9,
                                          onClick:
                                            b[9] ||
                                            (b[9] = (e) =>
                                              nt("backboard-colors")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer
                                                .backboardColorIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.backboardColorIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    No,
                                                    b[42] ||
                                                      (b[42] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M14.08 14.29C14.35 14.97 14.5 15.72 14.5 16.5C14.5 18.27 13.73 19.87 12.5 20.96C11.4053 21.9541 9.97871 22.5033 8.5 22.5C5.19 22.5 2.5 19.81 2.5 16.5C2.5 13.74 4.38 11.4 6.92 10.71",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M18.08 10.71C20.62 11.4 22.5 13.74 22.5 16.5C22.5 19.81 19.81 22.5 16.5 22.5C15.0213 22.5033 13.5947 21.9541 12.5 20.96",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            d: "M6.5 8.5C6.5 10.0913 7.13214 11.6174 8.25736 12.7426C9.38258 13.8679 10.9087 14.5 12.5 14.5C14.0913 14.5 15.6174 13.8679 16.7426 12.7426C17.8679 11.6174 18.5 10.0913 18.5 8.5C18.5 6.9087 17.8679 5.38258 16.7426 4.25736C15.6174 3.13214 14.0913 2.5 12.5 2.5C10.9087 2.5 9.38258 3.13214 8.25736 4.25736C7.13214 5.38258 6.5 6.9087 6.5 8.5Z",
                                                            stroke:
                                                              "currentColor",
                                                            "stroke-opacity":
                                                              "1",
                                                            "stroke-width": "2",
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer
                                                .backboardColorIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.backboardColorIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Qo, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .backboardColorIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      Wo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                Uo,
                                                (0, c.v_)(
                                                  "" !=
                                                    (0, c.R1)(
                                                      H
                                                    ).backboardColorsOptions.label.trim()
                                                    ? (0, c.R1)(H)
                                                        .backboardColorsOptions
                                                        .label
                                                    : "Backboards Color"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  0 !=
                                    (0, c.R1)(H).customAdditionalsOptions
                                      .length && "additionals-options" == e
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "div",
                                        {
                                          key: 10,
                                          onClick:
                                            b[10] ||
                                            (b[10] = (e) =>
                                              nt("additionals-options")),
                                          class: "ncpc-w-full",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                (D.value
                                                  ? `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkButtonHoverColor
                                                    }]`
                                                  : `${
                                                      U.value == e
                                                        ? `ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonColor
                                                          }] ncpc-text-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonTextColor
                                                          }] hover:ncpc-bg-[${
                                                            (0, c.R1)(Q)
                                                              .activeButtonHoverColor
                                                          }]`
                                                        : ""
                                                    } hover:ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .buttonHoverColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-w-full ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                              ),
                                            },
                                            [
                                              (0, c.R1)(X).languageImages
                                                .visualizer.additionalIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.additionalIcon
                                                ? (0, c.Q3)("v-if", !0)
                                                : ((0, c.uX)(),
                                                  (0, c.CE)(
                                                    "svg",
                                                    Ko,
                                                    b[43] ||
                                                      (b[43] = [
                                                        (0, c.Lk)(
                                                          "path",
                                                          {
                                                            "stroke-linecap":
                                                              "round",
                                                            "stroke-linejoin":
                                                              "round",
                                                            d: "M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z",
                                                          },
                                                          null,
                                                          -1
                                                        ),
                                                      ])
                                                  )),
                                              (0, c.R1)(X).languageImages
                                                .visualizer.additionalIcon &&
                                              "" !=
                                                (0, c.R1)(X).languageImages
                                                  .visualizer.additionalIcon
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", qo, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: (0, c.R1)(X)
                                                          .languageImages
                                                          .visualizer
                                                          .additionalIcon,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-full ncpc-h-full",
                                                      },
                                                      null,
                                                      8,
                                                      Vo
                                                    ),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "p",
                                                Go,
                                                (0, c.v_)(
                                                  (0, c.R1)(X).languageImages
                                                    .main
                                                    .sectionAdditionalOptions ??
                                                    "Additional Options"
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ],
                                2
                              )
                            )
                          ),
                          256
                        )),
                      ]),
                    ],
                    2
                  ),
                  (0, c.Lk)("div", Yo, [
                    (0, c.Lk)(
                      "div",
                      {
                        class: (0, c.C4)(
                          (D.value
                            ? `ncpc-bg-[${(0, c.R1)(Q).darkBackgroundColor}]`
                            : `ncpc-bg-[${
                                (0, c.R1)(Q).backgroundColor
                              }] ncpc-border-r`) +
                            " ncpc-w-full ncpc-h-[50px] ncpc-relative ncpc-flex ncpc-items-center ncpc-justify-between"
                        ),
                      },
                      [
                        (0, c.Lk)("div", Zo, [
                          (0, c.Lk)(
                            "span",
                            {
                              onClick: b[11] || (b[11] = (e) => Mt()),
                              class:
                                "ncpc-cursor-pointer ncpc-flex ncpc-text-black hover:ncpc-text-cyan-700 ncpc-transition-all duraition-500 ncpc-ease-in-out ncpc-p-2 border",
                            },
                            [
                              (0, c.bo)(
                                ((0, c.uX)(),
                                (0, c.CE)(
                                  "svg",
                                  Jo,
                                  b[44] ||
                                    (b[44] = [
                                      (0, c.Lk)(
                                        "path",
                                        {
                                          "stroke-linecap": "round",
                                          "stroke-linejoin": "round",
                                          d: "M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z",
                                        },
                                        null,
                                        -1
                                      ),
                                    ]),
                                  512
                                )),
                                [[c.aG, D.value]]
                              ),
                              (0, c.bo)(
                                ((0, c.uX)(),
                                (0, c.CE)(
                                  "svg",
                                  ei,
                                  b[45] ||
                                    (b[45] = [
                                      (0, c.Lk)(
                                        "path",
                                        {
                                          "stroke-linecap": "round",
                                          "stroke-linejoin": "round",
                                          d: "M6 18L18 6M6 6l12 12",
                                        },
                                        null,
                                        -1
                                      ),
                                    ]),
                                  512
                                )),
                                [[c.aG, !D.value]]
                              ),
                            ]
                          ),
                        ]),
                        (0, c.Lk)(
                          "div",
                          {
                            class: (0, c.C4)(
                              (D.value
                                ? "ncpc-hidden lg:ncpc-flex"
                                : "ncpc-flex") +
                                " ncpc-absolute ncpc-top-16 ncpc-left-4 ncpc-z-10 lg:ncpc-top-0 lg:ncpc-relative lg:ncpc-w-1/2 ncpc-flex lg:ncpc-h-full ncpc-justify-between ncpc-items-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                            ),
                          },
                          [
                            (0, c.Lk)("div", ti, [
                              (0, c.Lk)(
                                "p",
                                {
                                  class: (0, c.C4)(
                                    (D.value
                                      ? "ncpc-text-white"
                                      : "ncpc-text-black") +
                                      " ncpc-text-sm ncpc-hidden lg:ncpc-flex"
                                  ),
                                },
                                (0, c.v_)(
                                  (0, c.R1)(X).languageImages.visualizer
                                    .visualizerLight &&
                                    "" !=
                                      (0, c.R1)(X).languageImages.visualizer
                                        .visualizerLight
                                    ? (0, c.R1)(X).languageImages.visualizer
                                        .visualizerLight
                                    : "Light"
                                ),
                                3
                              ),
                              (0, c.Lk)(
                                "div",
                                {
                                  onClick: b[12] || (b[12] = (e) => Mt()),
                                  class:
                                    "ncpc-switch ncpc-cursor-pointer ncpc-relative ncpc-h-[26px] lg:ncpc-h-[65%] ncpc-w-[120px] ncpc-border ncpc-border-black ncpc-bg-white ncpc-flex ncpc-justify-between ncpc-items-center ncpc-overflow-hidden",
                                },
                                [
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class: (0, c.C4)(
                                        (D.value
                                          ? `ncpc-translate-x-[100%] ncpc-bg-[${
                                              (0, c.R1)(Q).darkActiveButtonColor
                                            }]`
                                          : `ncpc-left-[0%] ncpc-bg-[${
                                              (0, c.R1)(Q).activeButtonColor
                                            }]`) +
                                          " ncpc-translate-x ncpc-absolute ncpc-w-[50%] ncpc-h-[100%] ncpc-transition-all ease-in ncpc-duration-200 ncpc-z-0"
                                      ),
                                    },
                                    null,
                                    2
                                  ),
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class: (0, c.C4)(
                                        `ncpc-py-1 ${
                                          D.value
                                            ? ""
                                            : `ncpc-text-[${
                                                (0, c.R1)(Q)
                                                  .activeButtonTextColor
                                              }]`
                                        } ncpc-px-4 ncpc-font-semibold ncpc-z-10 ncpc-flex ncpc-items-center ncpc-justify-center`
                                      ),
                                    },
                                    b[46] ||
                                      (b[46] = [
                                        (0, c.Lk)(
                                          "svg",
                                          {
                                            xmlns: "http://www.w3.org/2000/svg",
                                            fill: "none",
                                            viewBox: "0 0 24 24",
                                            "stroke-width": "1.5",
                                            stroke: "currentColor",
                                            class: "ncpc-w-5 ncpc-h-5",
                                          },
                                          [
                                            (0, c.Lk)("path", {
                                              "stroke-linecap": "round",
                                              "stroke-linejoin": "round",
                                              d: "M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z",
                                            }),
                                          ],
                                          -1
                                        ),
                                      ]),
                                    2
                                  ),
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class: (0, c.C4)(
                                        `ncpc-py-1 ${
                                          D.value
                                            ? `ncpc-text-[${
                                                (0, c.R1)(Q)
                                                  .activeButtonTextColor
                                              }]`
                                            : ""
                                        } ncpc-px-4 ncpc-font-semibold ncpc-z-10 ncpc-flex ncpc-items-center ncpc-justify-center`
                                      ),
                                    },
                                    b[47] ||
                                      (b[47] = [
                                        (0, c.Lk)(
                                          "svg",
                                          {
                                            xmlns: "http://www.w3.org/2000/svg",
                                            viewBox: "0 0 24 24",
                                            fill: "currentColor",
                                            class: "ncpc-w-5 ncpc-h-5",
                                          },
                                          [
                                            (0, c.Lk)("path", {
                                              "fill-rule": "evenodd",
                                              d: "M9.528 1.718a.75.75 0 01.162.819A8.97 8.97 0 009 6a9 9 0 009 9 8.97 8.97 0 003.463-.69.75.75 0 01.981.98 10.503 10.503 0 01-9.694 6.46c-5.799 0-10.5-4.701-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 01.818.162z",
                                              "clip-rule": "evenodd",
                                            }),
                                          ],
                                          -1
                                        ),
                                      ]),
                                    2
                                  ),
                                ]
                              ),
                              (0, c.Lk)(
                                "p",
                                {
                                  class: (0, c.C4)(
                                    (D.value
                                      ? "ncpc-text-white"
                                      : "ncpc-text-black") +
                                      " ncpc-text-sm ncpc-hidden lg:ncpc-flex ncpc-pl-2"
                                  ),
                                },
                                (0, c.v_)(
                                  (0, c.R1)(X).languageImages.visualizer
                                    .visualizerDark &&
                                    "" !=
                                      (0, c.R1)(X).languageImages.visualizer
                                        .visualizerDark
                                    ? (0, c.R1)(X).languageImages.visualizer
                                        .visualizerDark
                                    : "Dark"
                                ),
                                3
                              ),
                            ]),
                            (0, c.Lk)("div", ni, [
                              (0, c.Lk)(
                                "span",
                                {
                                  onClick:
                                    b[13] ||
                                    (b[13] = (e) => (
                                      (G.value = !G.value), void eo(G.value)
                                    )),
                                  class:
                                    "ncpc-switch ncpc-cursor-pointer ncpc-relative ncpc-h-[60%] ncpc-w-[120px] ncpc-border ncpc-border-black ncpc-bg-white ncpc-flex ncpc-justify-between ncpc-items-center ncpc-overflow-hidden",
                                },
                                [
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        `${
                                          D.value
                                            ? `ncpc-bg-[${
                                                (0, c.R1)(Q)
                                                  .darkActiveButtonColor
                                              }]`
                                            : `ncpc-bg-[${
                                                (0, c.R1)(Q).activeButtonColor
                                              }]`
                                        } ${
                                          G.value
                                            ? "ncpc-left-[0%]"
                                            : "ncpc-translate-x-[100%]"
                                        } ncpc-translate-x ncpc-absolute ncpc-w-[50%] ncpc-h-[100%] ncpc-transition-all ease-in ncpc-duration-200 ncpc-z-0`
                                      ),
                                    },
                                    null,
                                    2
                                  ),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (G.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(Q).activeButtonTextColor
                                            }]`
                                          : "") +
                                          " ncpc-px-4 ncpc-font-semibold ncpc-z-10"
                                      ),
                                    },
                                    (0, c.v_)(
                                      (0, c.R1)(X).languageImages.visualizer
                                        .visualizerOn
                                    ),
                                    3
                                  ),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (G.value
                                          ? ""
                                          : `ncpc-text-[${
                                              (0, c.R1)(Q).activeButtonTextColor
                                            }]`) +
                                          " ncpc-px-4 ncpc-font-semibold ncpc-z-10"
                                      ),
                                    },
                                    (0, c.v_)(
                                      (0, c.R1)(X).languageImages.visualizer
                                        .visualizerOff
                                    ),
                                    3
                                  ),
                                ]
                              ),
                              1 ==
                              (0, c.R1)(X).generals.customizer
                                .showDayNightButton
                                ? (0, c.bo)(
                                    ((0, c.uX)(),
                                    (0, c.CE)(
                                      "span",
                                      {
                                        key: 0,
                                        onClick: Be,
                                        class: (0, c.C4)(
                                          (D.value
                                            ? "ncpc-text-white"
                                            : "ncpc-text-black") +
                                            " ncpc-cursor-pointer hover:text-cyan-700 ncpc-transition-all duration-500 ncpc-ease-in-out ncpc-flex ncpc-items-center ncpc-justify-center"
                                        ),
                                      },
                                      [
                                        V.value
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "svg",
                                              ci,
                                              b[48] ||
                                                (b[48] = [
                                                  (0, c.Lk)(
                                                    "g",
                                                    {
                                                      id: "SVGRepo_bgCarrier",
                                                      "stroke-width": "0",
                                                    },
                                                    null,
                                                    -1
                                                  ),
                                                  (0, c.Lk)(
                                                    "g",
                                                    {
                                                      id: "SVGRepo_tracerCarrier",
                                                      "stroke-linecap": "round",
                                                      "stroke-linejoin":
                                                        "round",
                                                    },
                                                    null,
                                                    -1
                                                  ),
                                                  (0, c.Lk)(
                                                    "g",
                                                    {
                                                      id: "SVGRepo_iconCarrier",
                                                    },
                                                    [
                                                      (0, c.Lk)("path", {
                                                        d: "M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z",
                                                        stroke: "currentColor",
                                                        "stroke-width": "1.2",
                                                      }),
                                                    ],
                                                    -1
                                                  ),
                                                ])
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                        V.value
                                          ? (0, c.Q3)("v-if", !0)
                                          : ((0, c.uX)(),
                                            (0, c.CE)(
                                              "svg",
                                              ai,
                                              b[49] ||
                                                (b[49] = [
                                                  (0, c.Lk)(
                                                    "g",
                                                    {
                                                      id: "SVGRepo_bgCarrier",
                                                      "stroke-width": "0",
                                                    },
                                                    null,
                                                    -1
                                                  ),
                                                  (0, c.Lk)(
                                                    "g",
                                                    {
                                                      id: "SVGRepo_tracerCarrier",
                                                      "stroke-linecap": "round",
                                                      "stroke-linejoin":
                                                        "round",
                                                    },
                                                    null,
                                                    -1
                                                  ),
                                                  (0, c.Lk)(
                                                    "g",
                                                    {
                                                      id: "SVGRepo_iconCarrier",
                                                    },
                                                    [
                                                      (0, c.Lk)("path", {
                                                        "fill-rule": "evenodd",
                                                        "clip-rule": "evenodd",
                                                        d: "M4.9 5.9H5.5H19.5H20.1V6.5V11.4H18.9V7.1H6.1V11.4H4.9V6.5V5.9ZM18.9 13.7315V13.6H20.1V18.5V19.1H19.5H5.5H4.9V18.5V13.6H7.74853L6.1 15.2485V17.9H18.9V14.9685L15.8162 14.1975C15.6994 14.1683 15.5756 14.1933 15.4792 14.2656L14.5538 14.9596C13.9168 15.4374 13.0255 15.374 12.4625 14.811L11.2515 13.6H12.9485L13.311 13.9625C13.4518 14.1032 13.6746 14.1191 13.8338 13.9996L14.3667 13.6H18.3739L18.9 13.7315ZM12.9 10C12.9 10.6024 13.2329 11.1271 13.7248 11.4H15.2752C15.7671 11.1271 16.1 10.6024 16.1 10C16.1 9.11635 15.3837 8.4 14.5 8.4C13.6163 8.4 12.9 9.11635 12.9 10ZM8.25147 11.4H10.7485L10.6314 11.2828C10.0065 10.658 8.99347 10.658 8.36863 11.2828L8.25147 11.4ZM14.1 10C14.1 9.77909 14.2791 9.6 14.5 9.6C14.7209 9.6 14.9 9.77909 14.9 10C14.9 10.2209 14.7209 10.4 14.5 10.4C14.2791 10.4 14.1 10.2209 14.1 10ZM2 13.1H23V11.9H2V13.1Z",
                                                        fill: "currentColor",
                                                      }),
                                                    ],
                                                    -1
                                                  ),
                                                ])
                                            )),
                                      ],
                                      2
                                    )),
                                    [[c.aG, !v.isLoaded]]
                                  )
                                : (0, c.Q3)("v-if", !0),
                            ]),
                          ],
                          2
                        ),
                        (0, c.Lk)("div", ri, [
                          (0, c.Lk)("div", oi, [
                            (0, c.Lk)(
                              "p",
                              {
                                class: (0, c.C4)(
                                  `ncpc-m-0 ${
                                    D.value
                                      ? `ncpc-text-[${
                                          (0, c.R1)(Q).darkBeforePriceColor
                                        }]`
                                      : `ncpc-text-[${
                                          (0, c.R1)(Q).beforePriceColor
                                        }]`
                                  } ncpc-font-medium ncpc-text-sm ncpc-text-center`
                                ),
                              },
                              (0, c.v_)(
                                (0, c.R1)(X).languageImages.main
                                  .textBeforePriceValue
                              ),
                              3
                            ),
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)(
                                  (D.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(Q).darkPriceBackgroundColor
                                      }] `
                                    : `ncpc-bg-[${
                                        (0, c.R1)(Q).priceBackgroundColor
                                      }] `) +
                                    " ncpc-flex ncpc-justify-evenly ncpc-items-center ncpc-p-1  ncpc-h-full text-lg lg:ncpc-text-xl ncpc-font-semibold ncpc-bg-white ncpc-text-center ncpc-space-x-2"
                                ),
                              },
                              [
                                "none" !=
                                (0, c.R1)(X).generals.customizer.discount
                                  ? ((0, c.uX)(),
                                    (0, c.CE)(
                                      "del",
                                      {
                                        key: 0,
                                        class: (0, c.C4)(
                                          "" +
                                            (D.value
                                              ? `ncpc-text-[${
                                                  (0, c.R1)(Q)
                                                    .darkDiscountPriceColor
                                                }]`
                                              : `ncpc-text-[${
                                                  (0, c.R1)(Q)
                                                    .discountPriceColor
                                                }]`)
                                        ),
                                      },
                                      (0, c.v_)(J.value),
                                      3
                                    ))
                                  : (0, c.Q3)("v-if", !0),
                                (0, c.Lk)(
                                  "span",
                                  {
                                    class: (0, c.C4)(
                                      "" +
                                        (D.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(Q).darkPriceColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(Q).priceColor
                                            }]`)
                                    ),
                                  },
                                  (0, c.v_)(te.value),
                                  3
                                ),
                              ],
                              2
                            ),
                            (0, c.Lk)(
                              "p",
                              {
                                class: (0, c.C4)(
                                  `ncpc-m-0 ${
                                    D.value
                                      ? `ncpc-text-[${
                                          (0, c.R1)(Q).darkAfterPriceColor
                                        }]`
                                      : `ncpc-text-[${
                                          (0, c.R1)(Q).afterPriceColor
                                        }]`
                                  } ncpc-font-medium ncpc-text-sm ncpc-text-center ncpc-w-fit`
                                ),
                              },
                              (0, c.v_)(
                                (0, c.R1)(X).languageImages.main
                                  .textAfterPriceValue
                              ),
                              3
                            ),
                          ]),
                          (0, c.Lk)(
                            "button",
                            {
                              disabled: !Ue.value || 0 == Z.value,
                              class: (0, c.C4)([
                                D.value
                                  ? `ncpc-bg-[${
                                      (0, c.R1)(Q).darkActiveButtonColor
                                    }] ncpc-text-[${
                                      (0, c.R1)(Q).darkActiveButtonTextColor
                                    }] hover:ncpc-bg-[${
                                      (0, c.R1)(Q).darkActiveButtonHoverColor
                                    }]`
                                  : `ncpc-bg-[${
                                      (0, c.R1)(Q).activeButtonColor
                                    }] ncpc-text-[${
                                      (0, c.R1)(Q).activeButtonTextColor
                                    }] hover:ncpc-bg-[${
                                      (0, c.R1)(Q).activeButtonHoverColor
                                    }]`,
                                "ncpc-cursor-pointer disabled:ncpc-cursor-not-allowed ncpc-w-fit ncpc-h-full ncpc-text-xl ncpc-font-bold ncpc-px-4 ncpc-p-1 ncpc-text-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out",
                              ]),
                              onClick: Ie,
                            },
                            (0, c.v_)(
                              (0, c.R1)(X).languageImages.main.finishButton
                            ),
                            11,
                            ii
                          ),
                        ]),
                      ],
                      2
                    ),
                    (0, c.Lk)(
                      "div",
                      {
                        id: "ncpc-mini-options",
                        class: (0, c.C4)(
                          `ncpc-absolute ncpc-hidden ncpc-w-fit ncpc-h-fit ${
                            D.value
                              ? `ncpc-bg-[${
                                  (0, c.R1)(Q).darkOptionsSectionBackgroundColor
                                }] ncpc-text-white`
                              : `ncpc-bg-[${
                                  (0, c.R1)(Q).optionsSectionBackgroundColor
                                }] ncpc-text-black`
                          } ncpc-p-3 ncpc-rounded ncpc-z-10`
                        ),
                      },
                      [
                        (0, c.Lk)("div", li, [
                          (0, c.R1)(zt).allowMultiFonts &&
                          "text" == (0, c.R1)(Pt)
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 0,
                                  onClick:
                                    b[14] ||
                                    (b[14] = () => {
                                      !(function () {
                                        (Ze.value = !Ze.value),
                                          (ut.value =
                                            mt.value =
                                            bt.value =
                                            yt.value =
                                            Rt.value =
                                              !1);
                                        var e = Me.getActiveObject();
                                        Je.value = e.fontFamilyData;
                                      })();
                                    }),
                                  class: (0, c.C4)(
                                    `ncpc-relative ${
                                      D.value
                                        ? `ncpc-text-[${
                                            (0, c.R1)(Q).darkOptionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(Q)
                                              .darkActiveOptionTextColor
                                          }]`
                                        : `ncpc-text-[${
                                            (0, c.R1)(Q).optionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(Q).activeOptionTextColor
                                          }]`
                                    } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                  ),
                                  style: { "box-shadow": "1px 2px 6px grey" },
                                },
                                [
                                  (0, c.Lk)(
                                    "p",
                                    {
                                      class: (0, c.C4)(
                                        `ncpc-font-[${
                                          (0, c.R1)(Ht).fontFamily
                                        }]`
                                      ),
                                    },
                                    (0, c.v_)((0, c.R1)(Ht).fontFamily),
                                    3
                                  ),
                                  (0, c.R1)(Ze)
                                    ? (0, c.Q3)("v-if", !0)
                                    : ((0, c.uX)(),
                                      (0, c.CE)(
                                        "span",
                                        si,
                                        b[50] ||
                                          (b[50] = [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                viewBox: "0 0 20 20",
                                                fill: "currentColor",
                                                class: "ncpc-w-5 ncpc-h-5",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  "fill-rule": "evenodd",
                                                  d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
                                                  "clip-rule": "evenodd",
                                                }),
                                              ],
                                              -1
                                            ),
                                          ])
                                      )),
                                  (0, c.R1)(Ze)
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "span",
                                        pi,
                                        b[51] ||
                                          (b[51] = [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                viewBox: "0 0 20 20",
                                                fill: "currentColor",
                                                class: "ncpc-w-5 ncpc-h-5",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  "fill-rule": "evenodd",
                                                  d: "M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",
                                                  "clip-rule": "evenodd",
                                                }),
                                              ],
                                              -1
                                            ),
                                          ])
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (D.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(Q)
                                                .darkActiveOptionTextColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(Q).activeOptionTextColor
                                            }]`) +
                                          " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                      ),
                                    },
                                    (0, c.v_)(oe.value.length),
                                    3
                                  ),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "neon" == t.productType &&
                          (0, c.R1)(zt).allowMultiColors
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 1,
                                  onClick:
                                    b[15] ||
                                    (b[15] = () => {
                                      !(function () {
                                        (ut.value = !ut.value),
                                          (Ze.value =
                                            mt.value =
                                            bt.value =
                                            yt.value =
                                            Rt.value =
                                              !1);
                                        var e = Me.getActiveObject();
                                        dt.value = e.colorData;
                                      })();
                                    }),
                                  class: (0, c.C4)(
                                    `ncpc-relative ${
                                      D.value
                                        ? `ncpc-text-[${
                                            (0, c.R1)(Q).darkOptionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(Q)
                                              .darkActiveOptionTextColor
                                          }]`
                                        : `ncpc-text-[${
                                            (0, c.R1)(Q).optionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(Q).activeOptionTextColor
                                          }]`
                                    } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                  ),
                                  style: { "box-shadow": "1px 2px 6px grey" },
                                },
                                [
                                  (0, c.Q3)(
                                    " {{requiredOptions.colorOptions.label && requiredOptions.colorOptions.label.trim() !== '' ? requiredOptions.colorOptions.label : \"Colors\"}} "
                                  ),
                                  (0, c.R1)(Ht) != {}
                                    ? ((0, c.uX)(),
                                      (0, c.CE)("div", ui, [
                                        (0, c.Lk)(
                                          "p",
                                          di,
                                          (0, c.v_)(
                                            (0, c.R1)(Ht).colorData.label
                                          ),
                                          1
                                        ),
                                        (0, c.Lk)("div", fi, [
                                          "" ==
                                          (0, c.R1)(Ht).colorData.previewImg
                                            ? ((0, c.uX)(),
                                              (0, c.CE)("div", hi, [
                                                "simple" ==
                                                (0, c.R1)(Ht).colorData.type
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)(
                                                      "div",
                                                      {
                                                        key: 0,
                                                        class: (0, c.C4)(
                                                          `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                            (0, c.R1)(Ht)
                                                              .colorData.codeHex
                                                          }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                        ),
                                                      },
                                                      null,
                                                      2
                                                    ))
                                                  : (0, c.Q3)("v-if", !0),
                                                "multi" ==
                                                  (0, c.R1)(Ht).colorData
                                                    .type ||
                                                "flow" ==
                                                  (0, c.R1)(Ht).colorData.type
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)(
                                                      "div",
                                                      {
                                                        key: 1,
                                                        class: (0, c.C4)(
                                                          `ncpc-bg-gradient-to-br ncpc-from-[${
                                                            (0, c.R1)(Ht)
                                                              .colorData
                                                              .codeHex[0]
                                                          }] ncpc-via-[${
                                                            (0, c.R1)(Ht)
                                                              .colorData.codeHex
                                                          }]  ncpc-w-full ncpc-h-full`
                                                        ),
                                                      },
                                                      null,
                                                      2
                                                    ))
                                                  : (0, c.Q3)("v-if", !0),
                                              ]))
                                            : (0, c.Q3)("v-if", !0),
                                          "" !=
                                          (0, c.R1)(Ht).colorData.previewImg
                                            ? ((0, c.uX)(),
                                              (0, c.CE)("div", mi, [
                                                (0, c.Lk)(
                                                  "img",
                                                  {
                                                    src: (0, c.R1)(Ht).colorData
                                                      .previewImg,
                                                    class:
                                                      "ncpc-w-full ncpc-h-full",
                                                  },
                                                  null,
                                                  8,
                                                  vi
                                                ),
                                              ]))
                                            : (0, c.Q3)("v-if", !0),
                                        ]),
                                      ]))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (D.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(Q)
                                                .darkActiveOptionTextColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(Q).activeOptionTextColor
                                            }]`) +
                                          " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                      ),
                                    },
                                    (0, c.v_)(pe.value.length),
                                    3
                                  ),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "channel" == t.productType &&
                          (0, c.R1)(zt).allowMultiColors
                            ? ((0, c.uX)(!0),
                              (0, c.CE)(
                                c.FK,
                                { key: 2 },
                                (0, c.pI)(
                                  he.value.letterParts,
                                  (e, t) => (
                                    (0, c.uX)(),
                                    (0, c.CE)("div", null, [
                                      "face" == e.type && e.activate
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 0,
                                              onClick:
                                                b[16] ||
                                                (b[16] = () => {
                                                  !(function () {
                                                    (mt.value = !mt.value),
                                                      (Ze.value =
                                                        ut.value =
                                                        bt.value =
                                                        yt.value =
                                                        Rt.value =
                                                          !1);
                                                    var e =
                                                      Me.getActiveObject();
                                                    vt.value = e.faceColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  D.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(Ht) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", gi, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", bi, [
                                                      "" ==
                                                      (0, c.R1)(Ht)
                                                        .faceColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", xi, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      Ht
                                                                    )
                                                                      .faceColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(Ht)
                                                        .faceColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", wi, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  Ht
                                                                ).faceColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              yi
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (D.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(ve.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "trim" == e.type &&
                                      e.activate &&
                                      e.colors.length >= 1
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 1,
                                              onClick:
                                                b[17] ||
                                                (b[17] = () => {
                                                  !(function () {
                                                    (bt.value = !bt.value),
                                                      (Ze.value =
                                                        ut.value =
                                                        mt.value =
                                                        yt.value =
                                                        Rt.value =
                                                          !1);
                                                    var e =
                                                      Me.getActiveObject();
                                                    xt.value = e.trimColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  D.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(Ht) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", ki, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", Ci, [
                                                      "" ==
                                                      (0, c.R1)(Ht)
                                                        .trimColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Ri, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      Ht
                                                                    )
                                                                      .trimColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(Ht)
                                                        .trimColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Oi, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  Ht
                                                                ).trimColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              $i
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (D.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(ge.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "side" == e.type &&
                                      e.activate &&
                                      e.colors.length >= 1
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 2,
                                              onClick:
                                                b[18] ||
                                                (b[18] = () => {
                                                  !(function () {
                                                    (yt.value = !yt.value),
                                                      (Ze.value =
                                                        ut.value =
                                                        mt.value =
                                                        bt.value =
                                                        Rt.value =
                                                          !1);
                                                    var e =
                                                      Me.getActiveObject();
                                                    kt.value = e.sideColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  D.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(Ht) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Li, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", Si, [
                                                      "" ==
                                                      (0, c.R1)(Ht)
                                                        .sideColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Ei, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      Ht
                                                                    )
                                                                      .sideColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(Ht)
                                                        .sideColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Ii, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  Ht
                                                                ).sideColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              Ti
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (D.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(be.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "back-lit" == e.type &&
                                      e.activate &&
                                      e.colors.length >= 1
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 3,
                                              onClick:
                                                b[19] ||
                                                (b[19] = () => {
                                                  !(function () {
                                                    (Rt.value = !Rt.value),
                                                      (Ze.value =
                                                        ut.value =
                                                        mt.value =
                                                        bt.value =
                                                        yt.value =
                                                          !1);
                                                    var e =
                                                      Me.getActiveObject();
                                                    Ot.value =
                                                      e.backLitColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  D.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(Q)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(Ht) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Ai, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", Bi, [
                                                      "" ==
                                                      (0, c.R1)(Ht)
                                                        .backLitColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Mi, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      Ht
                                                                    )
                                                                      .backLitColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(Ht)
                                                        .backLitColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", ji, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  Ht
                                                                )
                                                                  .backLitColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              _i
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (D.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(xe.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ])
                                  )
                                ),
                                256
                              ))
                            : (0, c.Q3)("v-if", !0),
                          (0, c.Lk)(
                            "div",
                            {
                              onClick:
                                b[20] ||
                                (b[20] = () => {
                                  !(function () {
                                    if ("neon" == t.productType)
                                      ft(Ht.value.colorData),
                                        "text" == Pt.value &&
                                          et(Ht.value.fontFamilyData);
                                    else {
                                      let e = he.value.letterParts;
                                      gt(Ht.value.faceColorData),
                                        e[1].activate &&
                                          wt(Ht.value.trimColorData),
                                        e[2].activate &&
                                          Ct(Ht.value.sideColorData),
                                        e[3].activate &&
                                          $t(Ht.value.backLitColorData),
                                        "text" == Pt.value &&
                                          et(Ht.value.fontFamilyData);
                                    }
                                  })();
                                }),
                              class: (0, c.C4)(
                                `ncpc-relative ${
                                  D.value
                                    ? `ncpc-text-[${
                                        (0, c.R1)(Q).darkOptionTextColor
                                      }] hover:ncpc-text-[${
                                        (0, c.R1)(Q).darkActiveOptionTextColor
                                      }]`
                                    : `ncpc-text-[${
                                        (0, c.R1)(Q).optionTextColor
                                      }] hover:ncpc-text-[${
                                        (0, c.R1)(Q).activeOptionTextColor
                                      }]`
                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                              ),
                              style: { "box-shadow": "1px 2px 6px grey" },
                            },
                            [
                              (0, c.Lk)(
                                "p",
                                null,
                                (0, c.v_)(
                                  (0, c.R1)(X).languageImages.main.applyToAll ??
                                    "Apply to all"
                                ),
                                1
                              ),
                              b[52] ||
                                (b[52] = (0, c.Lk)(
                                  "span",
                                  { class: "ncpc-flex" },
                                  [
                                    (0, c.Lk)(
                                      "svg",
                                      {
                                        xmlns: "http://www.w3.org/2000/svg",
                                        fill: "none",
                                        viewBox: "0 0 24 24",
                                        "stroke-width": "1.5",
                                        stroke: "currentColor",
                                        class: "ncpc-w-5 ncpc-h-5",
                                      },
                                      [
                                        (0, c.Lk)("path", {
                                          "stroke-linecap": "round",
                                          "stroke-linejoin": "round",
                                          d: "M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6",
                                        }),
                                      ]
                                    ),
                                  ],
                                  -1
                                )),
                            ],
                            2
                          ),
                        ]),
                        (0, c.R1)(Ze) && "text" == (0, c.R1)(Pt)
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 0,
                                class: (0, c.C4)(
                                  `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                    D.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                ),
                              },
                              [
                                (0, c.Lk)("div", zi, [
                                  "both" != (0, c.R1)(N)
                                    ? ((0, c.uX)(!0),
                                      (0, c.CE)(
                                        c.FK,
                                        { key: 0 },
                                        (0, c.pI)(
                                          (0, c.R1)(P).fontOptions.fonts,
                                          (e, t) => (
                                            (0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                class:
                                                  "ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-center ncpc-w-fit ncpc-h-fit",
                                                onClick: (t) => et(e, !0),
                                              },
                                              [
                                                (0, c.Lk)(
                                                  "label",
                                                  {
                                                    class: (0, c.C4)(
                                                      `${
                                                        D.value
                                                          ? `${
                                                              (0, c.R1)(Je) ===
                                                              e
                                                                ? `ncpc-selected ncpc-text-[${
                                                                    (0, c.R1)(Q)
                                                                      .darkActiveOptionTextColor
                                                                  }] ncpc-bg-[${
                                                                    (0, c.R1)(Q)
                                                                      .darkActiveOptionBackgroundColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(Q)
                                                                      .darkActiveOptionBorderColor
                                                                  }]`
                                                                : `ncpc-text-[${
                                                                    (0, c.R1)(Q)
                                                                      .darkOptionTextColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(Q)
                                                                      .darkOptionBorderColor
                                                                  }]`
                                                            } hover:ncpc-text-[${
                                                              (0, c.R1)(Q)
                                                                .darkActiveOptionTextColor
                                                            }] hover:ncpc-border-[${
                                                              (0, c.R1)(Q)
                                                                .darkActiveOptionBorderColor
                                                            }]`
                                                          : `${
                                                              (0, c.R1)(Je) ===
                                                              e
                                                                ? `ncpc-text-[${
                                                                    (0, c.R1)(Q)
                                                                      .activeOptionTextColor
                                                                  }] ncpc-bg-[${
                                                                    (0, c.R1)(Q)
                                                                      .activeOptionBackgroundColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(Q)
                                                                      .activeOptionBorderColor
                                                                  }]`
                                                                : `ncpc-text-[${
                                                                    (0, c.R1)(Q)
                                                                      .optionTextColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(Q)
                                                                      .optionBorderColor
                                                                  }]`
                                                            } hover:ncpc-text-[${
                                                              (0, c.R1)(Q)
                                                                .activeOptionTextColor
                                                            }] hover:ncpc-border-[${
                                                              (0, c.R1)(Q)
                                                                .activeOptionBorderColor
                                                            }]`
                                                      } \n                                ncpc-font-[${e.label
                                                        .replaceAll(" ", "-")
                                                        .replaceAll(
                                                          "_",
                                                          "-"
                                                        )}] ncpc-justify-center ncpc-w-full ncpc-h-full ncpc-border ncpc-text-[17px] ncpc-rounded-md ncpc-p-2 ncpc-text-center ncpc-cursor-pointer ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-options-item`
                                                    ),
                                                  },
                                                  (0, c.v_)(e.label),
                                                  3
                                                ),
                                              ],
                                              8,
                                              Fi
                                            )
                                          )
                                        ),
                                        256
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "both" == (0, c.R1)(N)
                                    ? ((0, c.uX)(!0),
                                      (0, c.CE)(
                                        c.FK,
                                        { key: 1 },
                                        (0, c.pI)(
                                          (0, c.R1)(P).fontOptions.fonts,
                                          (e, t) => (
                                            (0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: t,
                                                class: (0, c.C4)([
                                                  "ncpc-options-item ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-between ncpc-w-[80px] ncpc-h-[100px] ncpc-gap-2 ncpc-border ncpc-rounded",
                                                  "" +
                                                    (D.value
                                                      ? `${
                                                          (0, c.R1)(Je) === e
                                                            ? `ncpc-text-[${
                                                                (0, c.R1)(Q)
                                                                  .darkActiveOptionTextColor
                                                              }] ncpc-bg-[${
                                                                (0, c.R1)(Q)
                                                                  .darkActiveOptionBackgroundColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(Q)
                                                                  .darkActiveOptionBorderColor
                                                              }]`
                                                            : `ncpc-text-[${
                                                                (0, c.R1)(Q)
                                                                  .darkOptionTextColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(Q)
                                                                  .darkOptionBorderColor
                                                              }]`
                                                        } hover:ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .darkActiveOptionTextColor
                                                        }] hover:ncpc-border-[${
                                                          (0, c.R1)(Q)
                                                            .darkActiveOptionBorderColor
                                                        }]`
                                                      : `${
                                                          (0, c.R1)(Je) === e
                                                            ? `ncpc-text-[${
                                                                (0, c.R1)(Q)
                                                                  .activeOptionTextColor
                                                              }] ncpc-bg-[${
                                                                (0, c.R1)(Q)
                                                                  .activeOptionBackgroundColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(Q)
                                                                  .activeOptionBorderColor
                                                              }]`
                                                            : `ncpc-text-[${
                                                                (0, c.R1)(Q)
                                                                  .optionTextColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(Q)
                                                                  .optionBorderColor
                                                              }]`
                                                        } hover:ncpc-text-[${
                                                          (0, c.R1)(Q)
                                                            .activeOptionTextColor
                                                        }] hover:ncpc-border-[${
                                                          (0, c.R1)(Q)
                                                            .activeOptionBorderColor
                                                        }]`),
                                                ]),
                                                onClick: (t) => et(e, !0),
                                              },
                                              [
                                                (0, c.Lk)("div", Pi, [
                                                  (0, c.Lk)(
                                                    "img",
                                                    {
                                                      src: e.previewImg,
                                                      class:
                                                        "ncpc-w-auto ncpc-h-full ncpc-object-contain",
                                                    },
                                                    null,
                                                    8,
                                                    Hi
                                                  ),
                                                ]),
                                                (0, c.Lk)(
                                                  "div",
                                                  {
                                                    class: (0, c.C4)([
                                                      "ncpc-fonts-label ncpc-w-full ncpc-text-center ncpc-text-sm ncpc-truncate",
                                                      `ncpc-font-[${e.label
                                                        .replaceAll(" ", "-")
                                                        .replaceAll(
                                                          "_",
                                                          "-"
                                                        )}]`,
                                                    ]),
                                                  },
                                                  [
                                                    (0, c.Lk)(
                                                      "span",
                                                      null,
                                                      (0, c.v_)(e.label),
                                                      1
                                                    ),
                                                  ],
                                                  2
                                                ),
                                              ],
                                              10,
                                              Di
                                            )
                                          )
                                        ),
                                        128
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "neon" == t.productType && (0, c.R1)(ut)
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 1,
                                class: (0, c.C4)(
                                  `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                    D.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                ),
                              },
                              [
                                (0, c.Lk)("div", Xi, [
                                  ((0, c.uX)(!0),
                                  (0, c.CE)(
                                    c.FK,
                                    null,
                                    (0, c.pI)(
                                      (0, c.R1)(P).colorOptions.colors,
                                      (e, t) => (
                                        (0, c.uX)(),
                                        (0, c.CE)("div", Ni, [
                                          ("one-of-two" == e.visibilityRule &&
                                            (le.value.cm.width >=
                                              parseFloat(e.minWidth) ||
                                              le.value.cm.height >=
                                                parseFloat(e.minHeight))) ||
                                          ("both" == e.visibilityRule &&
                                            le.value.cm.width >=
                                              parseFloat(e.minWidth) &&
                                            le.value.cm.height >=
                                              parseFloat(e.minHeight))
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                {
                                                  key: 0,
                                                  onClick: (t) => ft(e, !0),
                                                  class: (0, c.C4)(
                                                    `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                      pe.value.some(
                                                        (t) => t == e
                                                      )
                                                        ? "" +
                                                          (D.value
                                                            ? `ncpc-border-[${
                                                                (0, c.R1)(Q)
                                                                  .darkActiveOptionBorderColor
                                                              }]`
                                                            : `ncpc-border-[${
                                                                (0, c.R1)(Q)
                                                                  .activeOptionBorderColor
                                                              }]`)
                                                        : D.value
                                                        ? `ncpc-border-[${
                                                            (0, c.R1)(Q)
                                                              .darkActiveOptionBorderColor
                                                          }]`
                                                        : `ncpc-border-[${
                                                            (0, c.R1)(Q)
                                                              .activeOptionBorderColor
                                                          }]`
                                                    } ncpc-rounded-lg`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)(
                                                    "label",
                                                    {
                                                      class: (0, c.C4)(
                                                        `${
                                                          (0, c.R1)(dt) == e
                                                            ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                e.codeHex[0]
                                                              }] ${
                                                                D.value
                                                                  ? `ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        Q
                                                                      )
                                                                        .darkActiveOptionBorderColor
                                                                    }]`
                                                                  : `ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        Q
                                                                      )
                                                                        .activeOptionBorderColor
                                                                    }]`
                                                              }`
                                                            : ""
                                                        } ncpc-bg-[${
                                                          e.codeHex
                                                        }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                          e.codeHex[0]
                                                        }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                      ),
                                                    },
                                                    [
                                                      "" == e.previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Wi, [
                                                            "simple" == e.type
                                                              ? ((0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  Ui,
                                                                  b[53] ||
                                                                    (b[53] = [
                                                                      (0, c.Lk)(
                                                                        "svg",
                                                                        {
                                                                          xmlns:
                                                                            "http://www.w3.org/2000/svg",
                                                                          viewBox:
                                                                            "0 0 24 24",
                                                                          fill: "transparent",
                                                                          class:
                                                                            "w-9 h-9",
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "path",
                                                                            {
                                                                              d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                            }
                                                                          ),
                                                                          (0,
                                                                          c.Lk)(
                                                                            "path",
                                                                            {
                                                                              "fill-rule":
                                                                                "evenodd",
                                                                              d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                              "clip-rule":
                                                                                "evenodd",
                                                                            }
                                                                          ),
                                                                        ],
                                                                        -1
                                                                      ),
                                                                    ])
                                                                ))
                                                              : (0, c.Q3)(
                                                                  "v-if",
                                                                  !0
                                                                ),
                                                            "multi" == e.type ||
                                                            "flow" == e.type
                                                              ? ((0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  {
                                                                    key: 1,
                                                                    class: (0,
                                                                    c.C4)(
                                                                      `ncpc-bg-gradient-to-br ncpc-from-[${e.codeHex[0]}] ncpc-via-[${e.codeHex}]  ncpc-w-full ncpc-h-full ncpc-p-4`
                                                                    ),
                                                                  },
                                                                  null,
                                                                  2
                                                                ))
                                                              : (0, c.Q3)(
                                                                  "v-if",
                                                                  !0
                                                                ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" != e.previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Ki, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: e.previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              qi
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ],
                                                    2
                                                  ),
                                                ],
                                                10,
                                                Qi
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                        ])
                                      )
                                    ),
                                    256
                                  )),
                                ]),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "channel" == t.productType &&
                        ((0, c.R1)(mt) ||
                          (0, c.R1)(bt) ||
                          (0, c.R1)(yt) ||
                          (0, c.R1)(Rt))
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 2,
                                class: (0, c.C4)(
                                  `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                    D.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                ),
                              },
                              [
                                (0, c.Lk)("div", Vi, [
                                  he.value.letterParts
                                    ? ((0, c.uX)(),
                                      (0, c.CE)("div", Gi, [
                                        ((0, c.uX)(!0),
                                        (0, c.CE)(
                                          c.FK,
                                          null,
                                          (0, c.pI)(
                                            he.value.letterParts,
                                            (e, t) => (
                                              (0, c.uX)(),
                                              (0, c.CE)("div", Yi, [
                                                (0, c.R1)(mt) &&
                                                "face" == e.type &&
                                                e.activate
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", Zi, [
                                                      (0, c.Lk)("div", Ji, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                el,
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      le.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    le.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          onClick:
                                                                            (
                                                                              t
                                                                            ) =>
                                                                              gt(
                                                                                e,
                                                                                !0
                                                                              ),
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                ve.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      vt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          D.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    nl,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            cl,
                                                                                            b[54] ||
                                                                                              (b[54] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    al,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        rl
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        10,
                                                                        tl
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ]
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.R1)(bt) &&
                                                "trim" == e.type &&
                                                e.activate &&
                                                e.colors.length >= 1
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", ol, [
                                                      (0, c.Lk)("div", il, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                ll,
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      le.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    le.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          onClick:
                                                                            (
                                                                              t
                                                                            ) =>
                                                                              wt(
                                                                                e,
                                                                                !0
                                                                              ),
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                ge.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      xt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          D.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    pl,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            ul,
                                                                                            b[55] ||
                                                                                              (b[55] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    dl,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        fl
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        10,
                                                                        sl
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ]
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.R1)(yt) &&
                                                "side" == e.type &&
                                                e.activate &&
                                                e.colors.length >= 1
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", hl, [
                                                      (0, c.Lk)("div", ml, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                vl,
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      le.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    le.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          onClick:
                                                                            (
                                                                              t
                                                                            ) =>
                                                                              Ct(
                                                                                e,
                                                                                !0
                                                                              ),
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                be.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      kt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          D.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    bl,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            xl,
                                                                                            b[56] ||
                                                                                              (b[56] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    wl,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        yl
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        10,
                                                                        gl
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ]
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.R1)(Rt) &&
                                                "back-lit" == e.type &&
                                                e.activate &&
                                                e.colors.length >= 1
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", kl, [
                                                      (0, c.Lk)("div", Cl, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                {
                                                                  onClick: (
                                                                    t
                                                                  ) =>
                                                                    $t(e, !0),
                                                                  class:
                                                                    "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px] ncpc-cursor-pointer",
                                                                },
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      le.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    le.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    le.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                xe.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (D.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            Q
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      Ot
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          D.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  Q
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Ol,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            $l,
                                                                                            b[57] ||
                                                                                              (b[57] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Ll,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        Sl
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        2
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ],
                                                                8,
                                                                Rl
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                              ])
                                            )
                                          ),
                                          256
                                        )),
                                      ]))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ],
                      2
                    ),
                    "multi" == (0, c.R1)(X).generals.mode.type
                      ? ((0, c.uX)(),
                        (0, c.CE)(
                          "div",
                          {
                            key: 0,
                            id: "ncpc-selectableTextMessage-container",
                            class: (0, c.C4)([
                              "ncpc-absolute ncpc-z-10 ncpc-top-[100px] ncpc-left-[30%] ncpc-p-2 ncpc-w-fit ncpc-h-fit",
                              (D.value
                                ? `ncpc-bg-[${
                                    (0, c.R1)(Q).darkBackgroundColor
                                  }] ncpc-text-[${
                                    (0, c.R1)(Q).darkOptionTextColor
                                  }]`
                                : `ncpc-bg-[${
                                    (0, c.R1)(Q).backgroundColor
                                  }] ncpc-text-[${
                                    (0, c.R1)(Q).optionTextColor
                                  }]`) +
                                " ncpc-bg-white ncpc-rounded-lg ncpc-shadow",
                            ]),
                          },
                          [
                            (0, c.Lk)("div", El, [
                              (0, c.Lk)(
                                "span",
                                {
                                  class: (0, c.C4)([
                                    `ncpc-flex ncpc-text-[${
                                      (0, c.R1)(Q).activeButtonTextColor
                                    }] ${
                                      D.value
                                        ? `lg:ncpc-text-[${
                                            (0, c.R1)(Q)
                                              .darkActiveButtonTextColor
                                          }] `
                                        : `lg:ncpc-text-[${
                                            (0, c.R1)(Q).activeButtonColor
                                          }] `
                                    }`,
                                    "ncpc-cursor-pointer",
                                  ]),
                                  onClick:
                                    b[21] ||
                                    (b[21] = (e) =>
                                      Fe((0, c.R1)(X)?.infos?.sizes)),
                                },
                                b[58] ||
                                  (b[58] = [
                                    (0, c.Lk)(
                                      "svg",
                                      {
                                        xmlns: "http://www.w3.org/2000/svg",
                                        fill: "none",
                                        viewBox: "0 0 24 24",
                                        strokeWidth: "{1.5}",
                                        stroke: "currentColor",
                                        class: "ncpc-w-6 ncpc-h-6",
                                      },
                                      [
                                        (0, c.Lk)("path", {
                                          strokeLinecap: "round",
                                          strokeLinejoin: "round",
                                          d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                        }),
                                      ],
                                      -1
                                    ),
                                  ]),
                                2
                              ),
                              (0, c.Lk)(
                                "span",
                                null,
                                (0, c.v_)(
                                  (0, c.R1)(X).languageImages.main
                                    ?.selectableTextMessage ??
                                    "Click on a text to select and edit it."
                                ),
                                1
                              ),
                            ]),
                          ],
                          2
                        ))
                      : (0, c.Q3)("v-if", !0),
                    (0, c.Q3)(
                      ' <div class="ncpc-w-full ncpc-h-[calc(100%-50px)] ncpc-relative"> '
                    ),
                    (0, c.Lk)(
                      "div",
                      {
                        onClick: b[25] || (b[25] = (e) => (K.value = !1)),
                        class:
                          "ncpc-w-full ncpc-h-[calc(55%-50px)] lg:ncpc-h-[calc(100%-50px)] ncpc-relative",
                      },
                      [
                        (0, c.Lk)(
                          "div",
                          {
                            class:
                              "ncpc-relative ncpc-grow-0 ncpc-items-center ncpc-flex ncpc-bg-vis-bg ncpc-h-full ncpc-w-full",
                            ref_key: "EditorContainer",
                            ref: _e,
                            id: "ncpc-editor-container",
                          },
                          [
                            (0, c.bo)(
                              (0, c.Lk)(
                                "div",
                                {
                                  class: (0, c.C4)([
                                    "ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-w-full ncpc-h-full ncpc-bg-cover ncpc-bg-no-repeat ncpc-bg-center",
                                    "blue-gray" == ne.value
                                      ? "ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747]"
                                      : `ncpc-bg-[url('${ne.value}')]`,
                                  ]),
                                },
                                null,
                                2
                              ),
                              [[c.aG, V.value]]
                            ),
                            (0, c.Lk)(
                              "canvas",
                              {
                                ref_key: "EditorCanvas",
                                ref: je,
                                id: "ncpc-editor-canvas",
                                class: "ncpc-bg-[transparent]",
                              },
                              null,
                              512
                            ),
                            (0, c.R1)(_t)
                              ? (0, c.Q3)("v-if", !0)
                              : ((0, c.uX)(), (0, c.CE)("div", Il)),
                          ],
                          512
                        ),
                        1 ==
                        (0, c.R1)(X).languageImages.images.previewImage.activate
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 0,
                                id: "ncpc-preview-images",
                                class: (0, c.C4)([
                                  "right" ==
                                  (0, c.R1)(X).generals.customizer
                                    .destokColumnOrder
                                    ? "ncpc-left-4"
                                    : "ncpc-right-4",
                                  "ncpc-absolute ncpc-bottom-0 ncpc-p-2 ncpc-w-[40%] ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between",
                                ]),
                              },
                              [
                                (0, c.R1)(X).languageImages.images.manageImages
                                  .length > 2
                                  ? ((0, c.uX)(),
                                    (0, c.CE)(
                                      "span",
                                      {
                                        key: 0,
                                        onClick:
                                          b[22] ||
                                          (b[22] = (e) => {
                                            return (
                                              (t = "preview-scene"),
                                              (Qe.value =
                                                document.getElementById(t)),
                                              void (Qe.value.scrollLeft -= 150)
                                            );
                                            var t;
                                          }),
                                        class: (0, c.C4)(
                                          `ncpc-text-[${
                                            (0, c.R1)(Q).activeOptionBorderColor
                                          }] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex`
                                        ),
                                      },
                                      b[59] ||
                                        (b[59] = [
                                          (0, c.Lk)(
                                            "svg",
                                            {
                                              xmlns:
                                                "http://www.w3.org/2000/svg",
                                              fill: "none",
                                              viewBox: "0 0 24 24",
                                              "stroke-width": "2",
                                              stroke: "currentColor",
                                              class: "ncpc-w-6 ncpc-h-6",
                                            },
                                            [
                                              (0, c.Lk)("path", {
                                                "stroke-linecap": "round",
                                                "stroke-linejoin": "round",
                                                d: "M15.75 19.5L8.25 12l7.5-7.5",
                                              }),
                                            ],
                                            -1
                                          ),
                                        ]),
                                      2
                                    ))
                                  : (0, c.Q3)("v-if", !0),
                                (0, c.Lk)("div", Tl, [
                                  (0, c.R1)(X).languageImages.images
                                    .previewImage.allowUpload
                                    ? ((0, c.uX)(),
                                      (0, c.CE)("div", Al, [
                                        (0, c.Lk)(
                                          "label",
                                          {
                                            class: (0, c.C4)(
                                              `ncpc-text-center ncpc-p-2 ${
                                                D.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveOptionTextColor
                                                    }] ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveOptionBackgroundColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .activeOptionTextColor
                                                    }] ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .activeOptionBackgroundColor
                                                    }]`
                                              } ${
                                                He.value
                                                  ? `ncpc-border-[1px] ncpc-border-[${
                                                      (0, c.R1)(Q)
                                                        .activeOptionBorderColor
                                                    }] ncpc-h-[60px] ncpc-w-[60px]`
                                                  : `ncpc-border-[${
                                                      (0, c.R1)(Q)
                                                        .optionBorderColor
                                                    }]`
                                              } ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center ncpc-cursor-pointer ncpc-h-[60px] ncpc-w-[60px] ncpc-flex ncpc-border-[1px] hover:ncpc-border-[${
                                                (0, c.R1)(Q)
                                                  .activeOptionBorderColor
                                              }] hover:ncpc-h-[60px] hover:ncpc-w-[60px]  ncpc-rounded-lg ncpc-overflow-hidden ncpc-transition-all ncpc-duration-500 ncpc-ease-out`
                                            ),
                                          },
                                          [
                                            (0, c.Lk)(
                                              "input",
                                              {
                                                type: "file",
                                                class:
                                                  "ncpc-hidden ncpc-w-full ncpc-h-full",
                                                accept: "image/*",
                                                onChange: Xe,
                                              },
                                              null,
                                              32
                                            ),
                                            b[60] ||
                                              (b[60] = (0, c.Lk)(
                                                "svg",
                                                {
                                                  xmlns:
                                                    "http://www.w3.org/2000/svg",
                                                  fill: "none",
                                                  viewBox: "0 0 24 24",
                                                  "stroke-width": "1.5",
                                                  stroke: "currentColor",
                                                  class: "ncpc-w-6 ncpc-h-6",
                                                },
                                                [
                                                  (0, c.Lk)("path", {
                                                    "stroke-linecap": "round",
                                                    "stroke-linejoin": "round",
                                                    d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5",
                                                  }),
                                                ],
                                                -1
                                              )),
                                            (0, c.Lk)(
                                              "span",
                                              Bl,
                                              (0, c.v_)(
                                                (0, c.R1)(X).languageImages
                                                  .images.previewImage
                                                  .uploadText
                                              ),
                                              1
                                            ),
                                          ],
                                          2
                                        ),
                                      ]))
                                    : (0, c.Q3)("v-if", !0),
                                  1 ==
                                  (0, c.R1)(X).languageImages.images
                                    .previewImage.displayDefaultBackgroundImage
                                    ? ((0, c.uX)(),
                                      (0, c.CE)("div", Ml, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            class: (0, c.C4)(
                                              ("blue-gray" == ne.value
                                                ? `ncpc-border-[1px] ncpc-border-[${
                                                    (0, c.R1)(Q)
                                                      .activeOptionBorderColor
                                                  }]`
                                                : `ncpc-border-[${
                                                    (0, c.R1)(Q)
                                                      .optionBorderColor
                                                  }]`) +
                                                " ncpc-cursor-pointer ncpc-h-[60px] ncpc-w-[60px] ncpc-flex border ncpc-rounded-lg ncpc-overflow-hidden ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747]"
                                            ),
                                            onClick:
                                              b[23] ||
                                              (b[23] = () => Pe("blue-gray")),
                                          },
                                          null,
                                          2
                                        ),
                                      ]))
                                    : (0, c.Q3)("v-if", !0),
                                  ((0, c.uX)(!0),
                                  (0, c.CE)(
                                    c.FK,
                                    null,
                                    (0, c.pI)(
                                      (0, c.R1)(X).languageImages.images
                                        .manageImages,
                                      (e, t) => (
                                        (0, c.uX)(),
                                        (0, c.CE)("div", jl, [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                `${
                                                  ne.value == e
                                                    ? `ncpc-opacity-[1] ncpc-border-[1px] ncpc-border-[${
                                                        (0, c.R1)(Q)
                                                          .activeOptionBorderColor
                                                      }] ncpc-h-[60px] ncpc-w-[60px] ncpc-opacity-[1]`
                                                    : `ncpc-border-[${
                                                        (0, c.R1)(Q)
                                                          .optionBorderColor
                                                      }]`
                                                } ncpc-cursor-pointer ncpc-h-[60px] ncpc-w-[60px] ncpc-flex ncpc-border-[1px] hover:ncpc-border-[${
                                                  (0, c.R1)(Q)
                                                    .activeOptionBorderColor
                                                }] ncpc-opacity-[.7] hover:ncpc-opacity-[1] ncpc-rounded-lg ncpc-overflow-hidden`
                                              ),
                                              onClick: () => Pe(e),
                                            },
                                            [
                                              (0, c.Lk)(
                                                "img",
                                                {
                                                  src: e,
                                                  alt: "",
                                                  class: (0, c.C4)(
                                                    "ncpc-w-full ncpc-h-full ncpc-object-cover"
                                                  ),
                                                },
                                                null,
                                                8,
                                                zl
                                              ),
                                            ],
                                            10,
                                            _l
                                          ),
                                        ])
                                      )
                                    ),
                                    256
                                  )),
                                ]),
                                (0, c.R1)(X).languageImages.images.manageImages
                                  .length > 2
                                  ? ((0, c.uX)(),
                                    (0, c.CE)(
                                      "span",
                                      {
                                        key: 1,
                                        onClick:
                                          b[24] ||
                                          (b[24] = (e) => {
                                            return (
                                              (t = "preview-scene"),
                                              (Qe.value =
                                                document.getElementById(t)),
                                              void (Qe.value.scrollLeft += 150)
                                            );
                                            var t;
                                          }),
                                        class: (0, c.C4)(
                                          `ncpc-text-[${
                                            (0, c.R1)(Q).activeOptionBorderColor
                                          }] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex`
                                        ),
                                      },
                                      b[61] ||
                                        (b[61] = [
                                          (0, c.Lk)(
                                            "svg",
                                            {
                                              xmlns:
                                                "http://www.w3.org/2000/svg",
                                              fill: "none",
                                              viewBox: "0 0 24 24",
                                              "stroke-width": "2",
                                              stroke: "currentColor",
                                              class: "ncpc-w-6 ncpc-h-6",
                                            },
                                            [
                                              (0, c.Lk)("path", {
                                                "stroke-linecap": "round",
                                                "stroke-linejoin": "round",
                                                d: "M8.25 4.5l7.5 7.5-7.5 7.5",
                                              }),
                                            ],
                                            -1
                                          ),
                                        ]),
                                      2
                                    ))
                                  : (0, c.Q3)("v-if", !0),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ]
                    ),
                    (0, c.bF)(
                      c.eB,
                      {
                        "enter-active-class":
                          "ncpc-transition-all ncpc-duration-300 ncpc-ease-out",
                        "leave-active-class":
                          "ncpc-transition-all ncpc-duration-300 ncpc-ease-in",
                        "enter-from-class":
                          "" +
                          ("right" ==
                          (0, c.R1)(X).generals.customizer.destokColumnOrder
                            ? " ncpc-translate-x-[80%]"
                            : " -ncpc-translate-x-[80%]"),
                        "enter-to-class":
                          "" +
                          ((0, c.R1)(X).generals.customizer.destokColumnOrder,
                          "ncpc-translate-x-0"),
                        "leave-from-class":
                          "" +
                          ("right" ==
                          (0, c.R1)(X).generals.customizer.destokColumnOrder
                            ? " ncpc-translate-x-0"
                            : "ncpc-translate-x-0"),
                        "leave-to-class":
                          "" +
                          ("right" ==
                          (0, c.R1)(X).generals.customizer.destokColumnOrder
                            ? " ncpc-translate-x-[80%]"
                            : " -ncpc-translate-x-[80%]"),
                        persisted: "",
                      },
                      {
                        default: (0, c.k6)(() => [
                          (0, c.bo)(
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)([
                                  "ncpc-h-[45%] lg:ncpc-w-2/5 lg:ncpc-h-[calc(100%-50px)] lg:ncpc-absolute lg:ncpc-top-[50px] ncpc-z-50 ncpc-shadow-md",
                                  `${
                                    D.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-flex ncpc-flex-col ${
                                    "right" ==
                                    (0, c.R1)(X).generals.customizer
                                      .destokColumnOrder
                                      ? "ncpc-right-0"
                                      : "ncpc-left-0"
                                  } ncpc-py-3`,
                                ]),
                              },
                              [
                                (0, c.Lk)(
                                  "div",
                                  {
                                    class: (0, c.C4)([
                                      `ncpc-hidden lg:ncpc-flex ncpc-rounded-lg ${
                                        D.value
                                          ? `ncpc-bg-[${
                                              (0, c.R1)(Q)
                                                .optionsSectionBackgroundColor
                                            }] ncpc-text-black`
                                          : `ncpc-bg-[${
                                              (0, c.R1)(Q)
                                                .darkOptionsSectionBackgroundColor
                                            }] ncpc-text-white`
                                      } ${
                                        "right" ==
                                        (0, c.R1)(X).generals.customizer
                                          .destokColumnOrder
                                          ? "-ncpc-left-2 ncpc-rotate-180"
                                          : "-ncpc-right-2 ncpc-rotate-0"
                                      }`,
                                      "ncpc-absolute ncpc-top-[45%] ncpc-z-50 ncpc-cursor-pointer ncpc-py-2 ncpc-flex ncpc-justify-center ncpc-items-center",
                                    ]),
                                    onClick:
                                      b[26] || (b[26] = (e) => (K.value = !1)),
                                  },
                                  b[62] ||
                                    (b[62] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-4",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "M15.75 19.5 8.25 12l7.5-7.5",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ),
                                (0, c.bo)(
                                  (0, c.Lk)(
                                    "div",
                                    Fl,
                                    [
                                      (0, c.bo)(
                                        (0, c.bF)(
                                          ee,
                                          {
                                            config: t.config,
                                            renderText: Zt.value,
                                            pricing: t.pricing,
                                            isBelowLimit: (0, c.R1)(Ut),
                                            currentSize: se.value,
                                            currentBackboard: ye.value,
                                            currentSignSize: le.value,
                                            currentIndex: v.currentIndex,
                                            darkMode: D.value,
                                            sortOptions: (0, c.R1)(W),
                                            handleEditTexts: Ve,
                                            handleChangeTextAlignment: Ye,
                                            loadBackboardOnLoading: Gt,
                                            goToStep: v.goToStep,
                                            backToStart: v.backToStart,
                                            next: v.next,
                                            prec: v.prec,
                                            onOnSizeChanged: rt,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "renderText",
                                            "pricing",
                                            "isBelowLimit",
                                            "currentSize",
                                            "currentBackboard",
                                            "currentSignSize",
                                            "currentIndex",
                                            "darkMode",
                                            "sortOptions",
                                            "goToStep",
                                            "backToStart",
                                            "next",
                                            "prec",
                                          ]
                                        ),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Ut) &&
                                              "text-form" == U.value) ||
                                              !(0, c.R1)(Ut),
                                          ],
                                        ]
                                      ),
                                    ],
                                    512
                                  ),
                                  [[c.aG, "text-form" == U.value]]
                                ),
                                "fonts" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        me,
                                        {
                                          key: 0,
                                          config: t.config,
                                          fonts:
                                            t.config.requiredOptions.fontOptions
                                              .fonts,
                                          "selected-fonts": oe.value,
                                          title:
                                            t.config.requiredOptions.fontOptions
                                              .label,
                                          description:
                                            t.config.requiredOptions.fontOptions
                                              .description,
                                          "display-mode": (0, c.R1)(N),
                                          "dark-mode": D.value,
                                          theme: (0, c.R1)(Q),
                                          handleSelectFont: et,
                                          "show-mobile-nav": !0,
                                          onBack: v.prec,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "fonts",
                                          "selected-fonts",
                                          "title",
                                          "description",
                                          "display-mode",
                                          "dark-mode",
                                          "theme",
                                          "onBack",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "fonts" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                "sizes" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Ae,
                                        {
                                          key: 1,
                                          pricing: t.pricing,
                                          "themes-colors": (0, c.R1)(Q),
                                          "dark-mode": D.value,
                                          settings: (0, c.R1)(X),
                                          "required-options": (0, c.R1)(P),
                                          "current-size": se.value,
                                          "default-size": ie.value,
                                          "current-sign-size": le.value,
                                          "dimensions-format": (0, c.R1)(q),
                                          "custom-size-min-scale": De.value,
                                          onBackToStart: v.prec,
                                          onDisplayInfo: Fe,
                                          onChangeCurrentSize: it,
                                          onChangeSizeWithCustomSize: lt,
                                        },
                                        null,
                                        8,
                                        [
                                          "pricing",
                                          "themes-colors",
                                          "dark-mode",
                                          "settings",
                                          "required-options",
                                          "current-size",
                                          "default-size",
                                          "current-sign-size",
                                          "dimensions-format",
                                          "custom-size-min-scale",
                                          "onBackToStart",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "sizes" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                "neon" == t.productType && "colors" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        ot,
                                        {
                                          key: 2,
                                          config: t.config,
                                          themesColors: (0, c.R1)(Q),
                                          currencySymbol: (0, c.R1)(Y),
                                          currentsColors: pe.value,
                                          onChangeCurrentsColors: ft,
                                          onDisplayInfo: Fe,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "currencySymbol",
                                          "currentsColors",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "colors" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                "channel" == t.productType &&
                                "letter-types" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Dt,
                                        {
                                          key: 3,
                                          config: t.config,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          displayOptions: (0, c.R1)(N),
                                          currentLetterType: he.value,
                                          currentFaceColors: ve.value,
                                          currentTrimColors: ge.value,
                                          currentSideColors: be.value,
                                          currentBackLitColors: xe.value,
                                          currentSignSize: le.value,
                                          currencySymbol: (0, c.R1)(Y),
                                          onChangeCurrentLetterType: ht,
                                          onChangeCurrentsFaceColors: gt,
                                          onChangeCurrentsTrimColors: wt,
                                          onChangeCurrentsSideColors: Ct,
                                          onChangeCurrentsBackLitColors: $t,
                                          onDisplayInfo: Fe,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "darkMode",
                                          "displayOptions",
                                          "currentLetterType",
                                          "currentFaceColors",
                                          "currentTrimColors",
                                          "currentSideColors",
                                          "currentBackLitColors",
                                          "currentSignSize",
                                          "currencySymbol",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "letter-types" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                "neon" == t.productType &&
                                t.config.additionalOptions.materialOptions
                                  .materials.length > 0 &&
                                "materials" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Wt,
                                        {
                                          key: 4,
                                          config: t.config,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          currencySymbol: (0, c.R1)(Y),
                                          currentMaterial: ue.value,
                                          onChangeMaterial: It,
                                          onDisplayInfo: Fe,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "darkMode",
                                          "currencySymbol",
                                          "currentMaterial",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "materials" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                "neon" == t.productType &&
                                t.config.additionalOptions.jacketOptions.jackets
                                  .length > 0 &&
                                "jackets" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        cn,
                                        {
                                          key: 5,
                                          config: t.config,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          currencySymbol: (0, c.R1)(Y),
                                          currentJacket: de.value,
                                          currentsColors: pe.value,
                                          onChangeJacket: At,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "darkMode",
                                          "currencySymbol",
                                          "currentJacket",
                                          "currentsColors",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "jackets" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                t.config.additionalOptions.mountingOptions
                                  .mountings.length > 0 &&
                                "mountings" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Yt,
                                        {
                                          key: 6,
                                          config: t.config,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          currencySymbol: (0, c.R1)(Y),
                                          currentMounting: fe.value,
                                          onChangeMounting: Tt,
                                          onDisplayInfo: Fe,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "darkMode",
                                          "currencySymbol",
                                          "currentMounting",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "mountings" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                t.config.additionalOptions.backboardOptions
                                  .backboards.length > 0 &&
                                "backboards" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        un,
                                        {
                                          key: 7,
                                          config: t.config,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          currencySymbol: (0, c.R1)(Y),
                                          currentBackboard: ye.value,
                                          onChangeBackboard: Lt,
                                          onDisplayInfo: Fe,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "darkMode",
                                          "currencySymbol",
                                          "currentBackboard",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "backboards" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                t.config.additionalOptions
                                  .backboardColorsOptions.backboardColors
                                  .length > 0 && "backboard-colors" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Ln,
                                        {
                                          key: 8,
                                          config: t.config,
                                          currentBackboard: ye.value,
                                          currentBackboardColor: Ce.value,
                                          currentLayersColors: ke.value,
                                          currentSignSize: le.value,
                                          enableBackboardsColors: Re.value,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          currencySymbol: (0, c.R1)(Y),
                                          onChangeColor: St,
                                          onChangeLayerColor: Et,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "currentBackboard",
                                          "currentBackboardColor",
                                          "currentLayersColors",
                                          "currentSignSize",
                                          "enableBackboardsColors",
                                          "themesColors",
                                          "darkMode",
                                          "currencySymbol",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "backboard-colors" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                                0 !=
                                  t.config.additionalOptions
                                    .customAdditionalsOptions.length &&
                                "additionals-options" == U.value
                                  ? (0, c.bo)(
                                      ((0, c.uX)(),
                                      (0, c.Wv)(
                                        Lc,
                                        {
                                          key: 9,
                                          config: e.config,
                                          themesColors: (0, c.R1)(Q),
                                          darkMode: D.value,
                                          currentCustomsAdditionals: we.value,
                                          additionnalInfos: (0, c.R1)(Vt),
                                          currencySymbol: (0, c.R1)(Y),
                                          onSelectCustomAdditionalOnRow: Bt,
                                          onHandleDisplayInfo: Fe,
                                        },
                                        null,
                                        8,
                                        [
                                          "config",
                                          "themesColors",
                                          "darkMode",
                                          "currentCustomsAdditionals",
                                          "additionnalInfos",
                                          "currencySymbol",
                                        ]
                                      )),
                                      [
                                        [
                                          c.aG,
                                          ((0, c.R1)(Ut) &&
                                            "additionals-options" == U.value) ||
                                            !(0, c.R1)(Ut),
                                        ],
                                      ]
                                    )
                                  : (0, c.Q3)("v-if", !0),
                              ],
                              2
                            ),
                            [[c.aG, !!n.value || K.value]]
                          ),
                        ]),
                        _: 1,
                      },
                      8,
                      [
                        "enter-from-class",
                        "enter-to-class",
                        "leave-from-class",
                        "leave-to-class",
                      ]
                    ),
                  ]),
                  !Se.value && $e.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        Jc,
                        {
                          key: 0,
                          config: t.config,
                          "sign-recaps": Oe.value,
                          "themes-colors": (0, c.R1)(Q),
                          "dark-mode": D.value,
                          "enable-review-image": Te.value,
                          "sign-preview-img-without-bg": Ee.value,
                          "formated-price-without-reduce": J.value,
                          "formated-price-with-reduce": te.value,
                          currentReviewBackgroundScene: ce.value,
                          "adding-to-cart": d.value,
                          onChangeFinishBuildSign: Le,
                          onAddToCart: f,
                          onHandleGetAQuote: m,
                          onChangeReviewBackgroundScene: Ne,
                        },
                        null,
                        8,
                        [
                          "config",
                          "sign-recaps",
                          "themes-colors",
                          "dark-mode",
                          "enable-review-image",
                          "sign-preview-img-without-bg",
                          "formated-price-without-reduce",
                          "formated-price-with-reduce",
                          "currentReviewBackgroundScene",
                          "adding-to-cart",
                        ]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  Ke.value
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "div",
                        {
                          key: 1,
                          class: (0, c.C4)(
                            (D.value
                              ? `ncpc-bg-[${
                                  (0, c.R1)(Q).darkBackgroundColor
                                }] ncpc-text-[${
                                  (0, c.R1)(Q).darkOptionTextColor
                                }] ncpc-drop-shadow-[0px_1px_15px_${
                                  (0, c.R1)(Q).darkBackgroundColor
                                }] ncpc-border ncpc-border-[${
                                  (0, c.R1)(Q).darkActiveButtonColor
                                }]`
                              : `ncpc-bg-[${
                                  (0, c.R1)(Q).backgroundColor
                                }] ncpc-text-[${
                                  (0, c.R1)(Q).optionTextColor
                                }] ncpc-drop-shadow-[0px_1px_15px_${
                                  (0, c.R1)(Q).backgroundColor
                                }] ncpc-border ncpc-border-[${
                                  (0, c.R1)(Q).activeButtonColor
                                }]`) +
                              " ncpc-absolute ncpc-top-[50%] ncpc-left-[50%] ncpc-translate-x-[-50%] ncpc-translate-y-[-50%] ncpc-p-4 ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-center ncpc-space-y-2 ncpc-rounded-lg ncpc-z-20"
                          ),
                        },
                        [
                          (0, c.Lk)("p", null, (0, c.v_)(qe.value), 1),
                          t.config.settings.languageImages.customDesign.link
                            .activate
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "a",
                                {
                                  key: 0,
                                  href: t.config.settings.languageImages
                                    .customDesign.link.link,
                                  class: (0, c.C4)(
                                    (D.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(Q).darkActiveButtonColor
                                        }] ncpc-text-[${
                                          (0, c.R1)(Q).darkActiveButtonTextColor
                                        }]  hover:ncpc-bg-[${
                                          (0, c.R1)(Q)
                                            .darkActiveButtonHoverColor
                                        }]`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(Q).activeButtonColor
                                        }] ncpc-text-[${
                                          (0, c.R1)(Q).activeButtonTextColor
                                        }] hover:ncpc-bg-[${
                                          (0, c.R1)(Q).activeButtonHoverColor
                                        }]`) +
                                      " ncpc-text-sm ncpc-p-2 ncpc-rounded-lg"
                                  ),
                                  style: { "text-decoration": "none" },
                                },
                                (0, c.v_)(
                                  t.config.settings.languageImages.customDesign
                                    .link.phraseSubmitCustom
                                ),
                                11,
                                Dl
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ],
                        2
                      ))
                    : (0, c.Q3)("v-if", !0),
                  (0, c.Q3)(
                    " modal de chargement pour la generation de l'image "
                  ),
                  Se.value && $e.value
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "div",
                        {
                          key: 2,
                          class: (0, c.C4)(
                            (D.value
                              ? "" +
                                ((0, c.R1)(Q).darkFinishModalColor
                                  ? `ncpc-bg-[${
                                      (0, c.R1)(Q).darkFinishModalColor
                                    }]`
                                  : "ncpc-bg-black")
                              : "" +
                                ((0, c.R1)(Q).finishModalColor
                                  ? `ncpc-bg-[${(0, c.R1)(Q).finishModalColor}]`
                                  : "ncpc-bg-black")) +
                              " ncpc-absolute ncpc-w-full ncpc-h-full ncpc-bg-opacity-80 ncpc-flex ncpc-items-center ncpc-justify-center ncpc-z-20"
                          ),
                        },
                        [
                          ((0, c.uX)(),
                          (0, c.CE)("svg", Pl, [
                            (0, c.Lk)("g", null, [
                              (0, c.Lk)(
                                "path",
                                {
                                  d: "M11 50A39 39 0 0 0 89 50A39 42.6 0 0 1 11 50",
                                  fill: D.value
                                    ? (0, c.R1)(Q).darkFinishModalLoaderColor
                                      ? (0, c.R1)(Q).darkFinishModalLoaderColor
                                      : "#ece8e8"
                                    : (0, c.R1)(Q).finishModalLoaderColor
                                    ? (0, c.R1)(Q).finishModalLoaderColor
                                    : "#ece8e8",
                                  stroke: "none",
                                },
                                b[63] ||
                                  (b[63] = [
                                    (0, c.Lk)(
                                      "animateTransform",
                                      {
                                        attributeName: "transform",
                                        type: "rotate",
                                        dur: "1s",
                                        repeatCount: "indefinite",
                                        keyTimes: "0;1",
                                        values: "0 50 51.8;360 50 51.8",
                                      },
                                      null,
                                      -1
                                    ),
                                  ]),
                                8,
                                Hl
                              ),
                              b[64] || (b[64] = (0, c.Lk)("g", null, null, -1)),
                            ]),
                          ])),
                        ],
                        2
                      ))
                    : (0, c.Q3)("v-if", !0),
                  h.value
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "div",
                        {
                          key: 3,
                          onClick: (0, c.D$)(m, ["self"]),
                          class:
                            "ncpc-overflow-y-auto ncpc-overflow-x-hidden ncpc-absolute ncpc-top-0 ncpc-bg-gray-500 ncpc-bg-opacity-50 ncpc-right-0 ncpc-left-0 ncpc-z-[9999] ncpc-justify-center ncpc-items-center ncpc-w-full ncpc-md:inset-0 ncpc-h-[calc(100%)] ncpc-max-h-full ncpc-flex ncpc-justify-center ncpc-items-center sign-bazar-not-margin",
                        },
                        [
                          (0, c.Lk)("div", Xl, [
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)(
                                  (D.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(Q).darkBackgroundColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(Q).darkOptionTextColor
                                      }]`
                                    : `ncpc-bg-[${
                                        (0, c.R1)(Q).backgroundColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(Q).optionTextColor
                                      }]`) +
                                    " ncpc-relative ncpc-bg-white ncpc-rounded-lg ncpc-shadow"
                                ),
                              },
                              [
                                (0, c.Lk)("div", Nl, [
                                  (0, c.Lk)("div", Ql, [
                                    (0, c.Lk)(
                                      "div",
                                      {
                                        class: (0, c.C4)(
                                          "" +
                                            (D.value
                                              ? `ncpc-text-[${
                                                  (0, c.R1)(Q).darkTitleColor
                                                }]`
                                              : `ncpc-text-[${
                                                  (0, c.R1)(Q).titleColor
                                                }]`)
                                        ),
                                      },
                                      [
                                        (0, c.R1)(X).languageImages.main.header
                                          ? ((0, c.uX)(),
                                            (0, c.Wv)(
                                              (0, c.$y)((0, c.R1)(a)),
                                              {
                                                key: 0,
                                                class:
                                                  "ncpc-lowercase first-letter:ncpc-uppercase ncpc-font-semibold",
                                                style: { "font-size": "17px" },
                                              },
                                              {
                                                default: (0, c.k6)(() => [
                                                  (0, c.eW)(
                                                    (0, c.v_)(
                                                      t.config.settings
                                                        .languageImages.main
                                                        .quoteModalTitle ||
                                                        "Quote Request Submission"
                                                    ),
                                                    1
                                                  ),
                                                ]),
                                                _: 1,
                                              }
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                        (0, c.R1)(X).languageImages.main.header
                                          ? (0, c.Q3)("v-if", !0)
                                          : ((0, c.uX)(),
                                            (0, c.Wv)(
                                              (0, c.$y)((0, c.R1)(a)),
                                              {
                                                key: 1,
                                                class: "ncpc-font-semibold",
                                                style: { "font-size": "17px" },
                                              },
                                              {
                                                default: (0, c.k6)(() => [
                                                  (0, c.eW)(
                                                    (0, c.v_)(
                                                      t.config.settings
                                                        .languageImages.main
                                                        .quoteModalTitle ||
                                                        "Quote Request Submission"
                                                    ),
                                                    1
                                                  ),
                                                ]),
                                                _: 1,
                                              }
                                            )),
                                      ],
                                      2
                                    ),
                                    (0, c.R1)(X).languageImages.customDesign
                                      .link.activate
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "a",
                                          {
                                            key: 0,
                                            href: (0, c.R1)(X).languageImages
                                              .customDesign.link.link,
                                            class:
                                              "ncpc-text-sm text-cyan-600 underline",
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(X).languageImages
                                              .customDesign.link
                                              .phraseSubmitCustom
                                          ),
                                          9,
                                          Wl
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                  ]),
                                  (0, c.Lk)(
                                    "button",
                                    {
                                      disabled: r.value,
                                      onClick: m,
                                      class:
                                        "ncpc-bg-white ncpc-text-[#000000] hover:ncpc-bg-white focus:ncpc-bg-white hover:sygnstext-[#000000] hover:ncpc-text-[#000000] ncpc-shadow-none",
                                    },
                                    b[65] ||
                                      (b[65] = [
                                        (0, c.Lk)(
                                          "svg",
                                          {
                                            class: "ncpc-w-3 ncpc-h-3",
                                            "aria-hidden": "true",
                                            xmlns: "http://www.w3.org/2000/svg",
                                            fill: "none",
                                            viewBox: "0 0 14 14",
                                          },
                                          [
                                            (0, c.Lk)("path", {
                                              stroke: "currentColor",
                                              "stroke-linecap": "round",
                                              "stroke-linejoin": "round",
                                              "stroke-width": "2",
                                              d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6",
                                            }),
                                          ],
                                          -1
                                        ),
                                        (0, c.Lk)(
                                          "span",
                                          { class: "ncpc-sr-only" },
                                          "Close modal",
                                          -1
                                        ),
                                      ]),
                                    8,
                                    Ul
                                  ),
                                ]),
                                i.value
                                  ? (0, c.Q3)("v-if", !0)
                                  : ((0, c.uX)(),
                                    (0, c.CE)("div", Kl, [
                                      (0, c.Lk)("div", ql, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              (D.value
                                                ? `ncpc-text-[${
                                                    (0, c.R1)(Q).darkTitleColor
                                                  }]`
                                                : `ncpc-text-[${
                                                    (0, c.R1)(Q).titleColor
                                                  }]`) +
                                                " ncpc-flex ncpc-items-center"
                                            ),
                                          },
                                          [
                                            (0, c.eW)(
                                              (0, c.v_)(
                                                (0, c.R1)(X).languageImages.main
                                                  .email
                                              ),
                                              1
                                            ),
                                            b[66] ||
                                              (b[66] = (0, c.Lk)(
                                                "span",
                                                { class: "ncpc-text-red-500" },
                                                "*",
                                                -1
                                              )),
                                          ],
                                          2
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[27] ||
                                                (b[27] = (e) =>
                                                  (s.value.email = e)),
                                              onInput: u,
                                            },
                                            null,
                                            544
                                          ),
                                          [[c.Jo, s.value.email]]
                                        ),
                                        "" != l.value
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "p",
                                              Vl,
                                              (0, c.v_)(l.value),
                                              1
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                      ]),
                                      (0, c.Lk)("div", Gl, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (D.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(Q).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(X).languageImages.main
                                              .firstName
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[28] ||
                                                (b[28] = (e) =>
                                                  (s.value.firstName = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.firstName]]
                                        ),
                                      ]),
                                      (0, c.Lk)("div", Yl, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (D.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(Q).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(X).languageImages.main
                                              .lastName
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[29] ||
                                                (b[29] = (e) =>
                                                  (s.value.lastName = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.lastName]]
                                        ),
                                      ]),
                                      (0, c.Lk)("div", Zl, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (D.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(Q).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(X).languageImages.main
                                              .phone
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[30] ||
                                                (b[30] = (e) =>
                                                  (s.value.phone = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.phone]]
                                        ),
                                      ]),
                                      (0, c.R1)(X).generals.requestQuote
                                        .allowUploadFiles
                                        ? ((0, c.uX)(),
                                          (0, c.Wv)(
                                            Ra,
                                            {
                                              key: 0,
                                              darkMode: D.value,
                                              themesColors: (0, c.R1)(Q),
                                              settings: (0, c.R1)(X),
                                              quoteFiles: s.value.files,
                                              "change-files": g,
                                            },
                                            null,
                                            8,
                                            [
                                              "darkMode",
                                              "themesColors",
                                              "settings",
                                              "quoteFiles",
                                            ]
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      (0, c.Lk)("div", Jl, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (D.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(Q).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(X).languageImages.main
                                              .quoteAdditionalNotes
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "textarea",
                                            {
                                              class:
                                                "ncpc-resize-y ncpc-border ncpc-rounded ncpc-w-full",
                                              rows: "2",
                                              "onUpdate:modelValue":
                                                b[31] ||
                                                (b[31] = (e) =>
                                                  (s.value.message = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.message]]
                                        ),
                                      ]),
                                      (0, c.Lk)("div", es, [
                                        (0, c.Lk)(
                                          "button",
                                          {
                                            onClick:
                                              b[32] ||
                                              (b[32] = (e) =>
                                                (async function () {
                                                  r.value = !0;
                                                  const e = O({
                                                    firstName: {
                                                      label:
                                                        X.languageImages.main
                                                          .firstName,
                                                      value: s.value.firstName,
                                                    },
                                                    lastName: {
                                                      label:
                                                        X.languageImages.main
                                                          .lastName,
                                                      value: s.value.lastName,
                                                    },
                                                    email: {
                                                      label:
                                                        X.languageImages.main
                                                          .emailLabel ||
                                                        "Email",
                                                      value: s.value.email,
                                                    },
                                                    phone: {
                                                      label:
                                                        X.languageImages.main
                                                          .phone,
                                                      value: s.value.phone,
                                                    },
                                                    message: {
                                                      label:
                                                        X.languageImages.main
                                                          .quoteAdditionnalNotes ||
                                                        "Message",
                                                      value: s.value.message,
                                                    },
                                                    productType: {
                                                      label:
                                                        X.languageImages.main
                                                          .productType ||
                                                        "Product Type",
                                                      value: t.productType,
                                                    },
                                                    files: s.value.files,
                                                    recaps: {
                                                      ...Oe.value.recaps,
                                                    },
                                                    previewImg:
                                                      Oe.value.previewImg,
                                                    svgData: Oe.value.svgData,
                                                    configId:
                                                      ncpcData.currentConfig.id,
                                                    status: "pending",
                                                  });
                                                  (await R(e)).success
                                                    ? ((r.value = !1),
                                                      (i.value = !0))
                                                    : (r.value = !1);
                                                })()),
                                            disabled: r.value || !p.value,
                                            class: (0, c.C4)(
                                              `disabled:ncpc-cursor-not-allowed ${
                                                D.value
                                                  ? `ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveButtonTextColor
                                                    }]  hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveButtonHoverColor
                                                    }]`
                                                  : `ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .activeButtonHoverColor
                                                    }]`
                                              } ncpc-cursor-pointer ncpc-text-[15px] ncpc-w-fit ncpc-rounded-md ncpc-font-semibold ncpc-text-center ncpc-p-2 ncpc-px-4 ncpc-flex ncpc-space-x-2 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out`
                                            ),
                                          },
                                          [
                                            r.value
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "div",
                                                  ns,
                                                  b[67] ||
                                                    (b[67] = [
                                                      (0, c.Lk)(
                                                        "img",
                                                        {
                                                          src: o.A,
                                                          alt: "",
                                                          class:
                                                            "ncpc-w-6 ncpc-h-6",
                                                        },
                                                        null,
                                                        -1
                                                      ),
                                                    ])
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                            (0, c.Lk)(
                                              "p",
                                              null,
                                              (0, c.v_)(
                                                t.config.settings.languageImages
                                                  .main
                                                  .buttonSendAQuoteFormLabel
                                              ),
                                              1
                                            ),
                                          ],
                                          10,
                                          ts
                                        ),
                                      ]),
                                    ])),
                                i.value
                                  ? ((0, c.uX)(),
                                    (0, c.CE)("div", cs, [
                                      b[69] ||
                                        (b[69] = (0, c.Lk)(
                                          "div",
                                          {
                                            class:
                                              "ncpc-flex ncpc-justify-center",
                                          },
                                          [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                height: "150px",
                                                viewBox: "0 -960 960 960",
                                                width: "150px",
                                                fill: "#6ae2ce",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  d: "m421-298 283-283-46-45-237 237-120-120-45 45 165 166Zm59 218q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z",
                                                }),
                                              ]
                                            ),
                                          ],
                                          -1
                                        )),
                                      (0, c.Lk)(
                                        "p",
                                        as,
                                        (0, c.v_)(
                                          t.config.settings.languageImages.main
                                            .quoteThanksMessage ||
                                            "Your quote has been sent successfully"
                                        ),
                                        1
                                      ),
                                      (0, c.Lk)("div", rs, [
                                        (0, c.Lk)(
                                          "button",
                                          {
                                            onClick: m,
                                            class: (0, c.C4)(
                                              `disabled:ncpc-cursor-not-allowed ${
                                                D.value
                                                  ? `ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveButtonTextColor
                                                    }]  hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .darkActiveButtonHoverColor
                                                    }]`
                                                  : `ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(Q)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(Q)
                                                        .activeButtonHoverColor
                                                    }]`
                                              } ncpc-cursor-pointer ncpc-text-[15px] ncpc-w-fit ncpc-rounded-md ncpc-font-semibold ncpc-text-center ncpc-p-2 ncpc-px-4 ncpc-flex ncpc-space-x-2 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out`
                                            ),
                                          },
                                          b[68] ||
                                            (b[68] = [
                                              (0, c.Lk)("p", null, " OK ", -1),
                                            ]),
                                          2
                                        ),
                                      ]),
                                    ]))
                                  : (0, c.Q3)("v-if", !0),
                              ],
                              2
                            ),
                          ]),
                        ]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  F.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        A,
                        {
                          key: 4,
                          message: z.value,
                          close: () => {
                            F.value = !1;
                          },
                        },
                        null,
                        8,
                        ["message", "close"]
                      ))
                    : (0, c.Q3)("v-if", !0),
                ],
                2
              )
            )
          );
        },
      };
      n(5175);
      var is = os;
      const ls = {
          ref: "canvasContainer",
          id: "ncpc-azer",
          class: "ncpc-relative lg:ncpc-w-[65%] lg:ncpc-h-full ncpc-h-[40%]",
        },
        ss = {
          id: "ncpc-contain",
          class:
            "ncpc-h-full ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-center ncpc-overflow-hidden",
        },
        ps = {
          key: 0,
          id: "ncpc-canvas-overlay",
          class:
            "ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-w-full ncpc-h-full ncpc-flex lg:ncpc-hidden ncpc-bg-transparent",
        },
        us = { key: 0 },
        ds = {
          id: "preview-scene",
          class:
            "ncpc-scrollDiv ncpc-flex ncpc-items-center ncpc-w-[90%] ncpc-h-fit ncpc-p-2 ncpc-overflow-auto lilScroll ncpc-transition-all ncpc-ease-in-out ncpc-duration-500",
        },
        fs = {
          key: 0,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        hs = { class: "ncpc-text-[8px] ncpc-overflow-hidden" },
        ms = {
          key: 1,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        vs = {
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        gs = ["onClick"],
        bs = ["src"],
        xs = { class: "ncpc-flex ncpc-items-center ncpc-justify-between" },
        ws = { class: "ncpc-z-[1] ncpc-absolute ncpc-top-3 ncpc-left-3" },
        ys = {
          class:
            "ncpc-space-x-0 ncpc-flex lg:ncpc-flex-row ncpc-flex-col lg:ncpc-space-x-2",
        },
        ks = { class: "scene-mob ncpc-block lg:ncpc-hidden" },
        Cs = {
          class:
            "ncpc-absolute ncpc-top-2 ncpc-right-2 container-price ncpc-w-full",
        },
        Rs = {
          class:
            "ncpc-space-x-2 ncpc-flex ncpc-flex-col lg:ncpc-flex-row ncpc-items-end lg:ncpc-items-center ncpc-justify-end ncpc-pr-[8px] block-price",
        },
        Os = { class: "ncpc-z-20 ncpc-absolute ncpc-right-2 text-price" },
        $s = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-items-center ncpc-justify-center ncpc-text-[0.8em]",
        },
        Ls = { key: 0, class: "ncpc-flex" },
        Ss = { key: 1, class: "ncpc-flex" },
        Es = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Is = { class: (0, c.C4)("") },
        Ts = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        As = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Bs = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Ms = ["src"],
        js = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        _s = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        zs = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Fs = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Ds = ["src"],
        Ps = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Hs = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Xs = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ns = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Qs = ["src"],
        Ws = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Us = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Ks = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        qs = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Vs = ["src"],
        Gs = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Ys = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Zs = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Js = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        ep = ["src"],
        tp = { class: "ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-gap-2" },
        np = ["onClick"],
        cp = ["onClick"],
        ap = {
          class:
            "ncpc-w-full ncpc-h-[85px] ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        rp = ["src"],
        op = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        ip = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        lp = ["onClick"],
        sp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        pp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        up = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        dp = ["src"],
        fp = {
          class: "ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-h-full",
        },
        hp = {
          key: 0,
          class:
            "ncpc-letterParts-container ncpc-flex ncpc-flex-col ncpc-space-y-3 ncpc-px-1 ncpc-block ncpc-w-full",
        },
        mp = { class: "ncpc-letterParts-container" },
        vp = { key: 0, class: "ncpc-space-y-1 ncpc-relative" },
        gp = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        bp = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        xp = ["onClick"],
        wp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        yp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        kp = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Cp = ["src"],
        Rp = { key: 1, class: "ncpc-space-y-1 ncpc-relative" },
        Op = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        $p = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        Lp = ["onClick"],
        Sp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ep = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ip = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Tp = ["src"],
        Ap = { key: 2, class: "ncpc-space-y-1 ncpc-relative" },
        Bp = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Mp = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        jp = ["onClick"],
        _p = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        zp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Fp = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Dp = ["src"],
        Pp = { key: 3, class: "ncpc-space-y-1 ncpc-relative" },
        Hp = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Xp = ["onClick"],
        Np = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Qp = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Wp = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Up = ["src"],
        Kp = { class: "ncpc-relative ncpc-w-full ncpc-h-full" },
        qp = {
          key: 0,
          class: (0, c.C4)(
            "ncpc-px-2 ncpc-space-x-4 ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-justify-evenly ncpc-items-center"
          ),
        },
        Vp = { class: (0, c.C4)("ncpc-h-[50px] ncpc-w-full ncpc-px-2") },
        Gp = ["disabled"],
        Yp = {
          class:
            "ncpc-grid ncpc-grid-cols-2 ncpc-w-full ncpc-h-[10%] ncpc-border-t-2",
          style: { display: "none !important" },
        },
        Zp = { class: "ncpc-flex ncpc-items-center ncpc-justify-center" },
        Jp = ["disabled"],
        eu = { class: "m-0 ncpc-text-lg ncpc-font-medium ncpc-text-center" },
        tu = ["href"],
        nu = {
          xmlns: "http://www.w3.org/2000/svg",
          viewBox: "0 0 100 100",
          preserveAspectRatio: "xMidYMid",
          class: "ncpc-w-[40%] ncpc-h-[30%]",
          style: {
            "shape-rendering": "auto",
            display: "block",
            background: "transparent",
          },
          "xmlns:xlink": "http://www.w3.org/1999/xlink",
        },
        cu = ["fill"],
        au = {
          class:
            "ncpc-relative ncpc-p-4 ncpc-w-full ncpc-h-[80%] ncpc-max-w-2xl",
        },
        ru = {
          class:
            "ncpc-flex ncpc-items-center ncpc-justify-between ncpc-p-4 ncpc-md:p-5",
        },
        ou = {
          class:
            "ncpc-p-4 ncpc-pb-1 ncpc-px-2 ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between",
        },
        iu = ["href"],
        lu = ["disabled"],
        su = { key: 0, class: "ncpc-p-4 ncpc-md:p-5 ncpc-space-y-4" },
        pu = { class: "ncpc-flex ncpc-flex-col" },
        uu = { key: 0, class: "ncpc-text-red-500 ncpc-w-full" },
        du = { class: "ncpc-flex ncpc-flex-col" },
        fu = { class: "ncpc-flex ncpc-flex-col" },
        hu = { class: "ncpc-flex ncpc-flex-col" },
        mu = { class: "ncpc-flex ncpc-flex-col" },
        vu = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-w-full ncpc-justify-center ncpc-items-center",
        },
        gu = ["disabled"],
        bu = { key: 0, class: "ncpc-p-0" },
        xu = { key: 1, class: "ncpc-p-4 ncpc-md:p-5 ncpc-space-y-4" },
        wu = { class: "ncpc-text-center" },
        yu = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-w-full ncpc-justify-center ncpc-items-center",
        };
      var ku = {
        __name: "index",
        props: { config: Object, productType: String, pricing: String },
        setup(e) {
          const t = e,
            n = (0, c.KR)(!1);
          var a = (0, c.KR)("h2");
          const r = (0, c.KR)(!1),
            i = (0, c.KR)(!1),
            l = (0, c.KR)(""),
            s = (0, c.KR)({
              email: "",
              firstName: "",
              lastName: "",
              phone: "",
              message: "",
              files: [],
            }),
            p = (0, c.KR)(!1),
            u = () => {
              s.value.email.match(
                /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/
              )
                ? ((l.value = ""), (p.value = !0))
                : ((l.value =
                    B.languageImages.main.emailError ??
                    "Please enter a valid email address"),
                  (p.value = !1));
            },
            d = (0, c.KR)(!1),
            f = async () => {
              d.value = !0;
              var e = await C(
                ncpc_ajax.ajax_url,
                ke.value,
                ncpc_ajax.nonce,
                B.generals.product.redirectToCheckOutPage ?? !1
              );
              e.success || (toastMessage(e.message, "error"), (d.value = !1));
            },
            h = (0, c.KR)(!1);
          function m() {
            h.value = !h.value;
          }
          const g = (e) => {
              s.value.files = e;
            },
            x = (0, c.KR)(0),
            $ = (0, c.KR)([]),
            L = (0, c.KR)(""),
            S = (0, c.KR)(!1),
            E = (0, c.KR)(!1),
            I = t.config.requiredOptions,
            T = t.config.additionalOptions,
            B = t.config.settings,
            M = B.generals.customizer.displayOptions,
            j = B.themes.colors,
            _ = B.sortOptions,
            z = (0, c.KR)("text-form"),
            F = (0, c.KR)(!0),
            D = B.generals.customizer.decimalFormatMeasurements,
            P = (0, c.KR)(!0),
            H = (0, c.KR)(!0),
            X = ncpcData.currencySymbol,
            N = (0, c.KR)(0),
            Q = (0, c.KR)(
              k(
                0,
                ncpcData.currencySymbol,
                ncpcData.decimals,
                ncpcData.decimalSep,
                ncpcData.thousandSep,
                ncpcData.currency_pos
              )
            ),
            W = (0, c.KR)(
              k(
                0,
                ncpcData.currencySymbol,
                ncpcData.decimals,
                ncpcData.decimalSep,
                ncpcData.thousandSep,
                ncpcData.currency_pos
              )
            );
          var U = (0, c.KR)(-1);
          function K() {
            if (U.value >= G.value.length - 1) return console.log(!0);
            (U.value += 1), (z.value = G.value[U.value]);
          }
          function q() {
            U.value >= 1 && (U.value -= 1),
              "on" == t.config.settings.generals.mobile.showNavigatorMenu &&
                U.value < 0 &&
                ((z.value = "menu"), (U.value = -1)),
              (z.value = G.value[U.value]);
          }
          function V() {
            (U.value = -1), (z.value = "menu");
          }
          var G = (0, c.KR)();
          function Y(e, t) {
            (U.value = e), (z.value = t);
          }
          const Z = (0, c.KR)(""),
            J = (0, c.KR)(""),
            te = (0, c.KR)([]),
            ne = (0, c.KR)([]),
            ce = (0, c.KR)([]),
            ae = (0, c.KR)({
              cm: { width: 0, height: 0 },
              in: { width: 0, height: 0 },
            }),
            re = (0, c.KR)({
              cm: { width: 0, height: 0 },
              in: { width: 0, height: 0 },
            }),
            oe = (0, c.KR)(
              (() => {
                let e = I.sizeOptions.sizes.findIndex((e) => e.isDefault);
                return (
                  (e = -1 === e ? 0 : e), { id: e, ...I.sizeOptions.sizes[e] }
                );
              })()
            ),
            ie = (0, c.KR)([]),
            le = (0, c.KR)({}),
            se = (0, c.KR)({}),
            pe = (0, c.KR)({}),
            ue = (0, c.KR)({}),
            de = (0, c.KR)([]),
            fe = (0, c.KR)([]),
            he = (0, c.KR)([]),
            ve = (0, c.KR)([]),
            ge = (0, c.KR)([]),
            be = (0, c.KR)(
              (() => {
                let e = T.backboardOptions.backboards.findIndex(
                  (e) => e.isDefault
                );
                return (
                  (e = -1 === e ? 0 : e),
                  { id: e, ...T.backboardOptions.backboards[e] }
                );
              })()
            ),
            xe = (0, c.KR)([]),
            we = (0, c.KR)({}),
            ye = (0, c.KR)([]),
            ke = (0, c.KR)({}),
            Ce = (0, c.KR)(!1),
            Re = () => {
              (Ce.value = !Ce.value), Ce.value || (i.value = !1);
            },
            Oe = (0, c.KR)(!1),
            $e = (0, c.KR)(""),
            Le = async () => {
              var e = te.value.map((e) =>
                  e
                    .map((e) => {
                      if ("text" == e.type) return e.value;
                    })
                    .join("")
                ),
                n = te.value.map((e) =>
                  e
                    .map((e) => {
                      if ("image" == e.type) return e.title;
                    })
                    .join(", ")
                );
              (F.value = !1), (Oe.value = !0);
              const c = await to("png"),
                a = await co();
              let r;
              (r =
                B.languageImages.images.manageImages.length > 0 &&
                "blue-gray" != Z.value &&
                "" != Z.value.trim()
                  ? await no(c, Z.value)
                  : "blue-gray" == Z.value
                  ? await no(c)
                  : c),
                (Oe.value = !1),
                ($e.value = c);
              const o =
                  xe.value.length > 0
                    ? xe.value
                        .map(
                          (e, t) =>
                            be.value.backboardLength.layers.options[t].label +
                            ": " +
                            e?.label
                        )
                        .join(", ")
                    : we.value.label
                    ? we.value.label
                    : "",
                i =
                  ("" !== o.trim() && T.backboardColorsOptions.label?.trim(),
                  "" === B.languageImages.main.lineCount.trim()
                    ? "Line "
                    : B.languageImages.main.lineCount);
              if ("multi" == B.generals.mode.type) {
                if ("neon" == t.productType) {
                  const c =
                      I.fontOptions.label && "" != I.fontOptions.label.trim()
                        ? I.fontOptions.label
                        : "Font",
                    l =
                      I.colorOptions.label && "" != I.colorOptions.label.trim()
                        ? I.colorOptions.label
                        : "Color",
                    s = async () => {
                      const e = await Or();
                      let t = "";
                      return (
                        e.forEach((e, n) => {
                          t += `\n                    ${e.text} (${
                            c + ": " + e.font.label
                          },  ${l + ": " + e.colorData.label} )`;
                        }),
                        t
                      );
                    };
                  ke.value = {
                    variation_id: ncpcData.productID,
                    price: ncpcData.regularPrice,
                    recaps: {
                      text: {
                        label:
                          B.languageImages.main.sectionText &&
                          "" != B.languageImages.main.sectionText.trim()
                            ? B.languageImages.main.sectionText
                            : "Text",
                        value: e.map((e, t) => ({
                          label: i + " " + (t + 1),
                          value: e,
                        })),
                      },
                      ...(B.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                B.languageImages.icons.title &&
                                "" != B.languageImages.icons.title.trim()
                                  ? B.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      ...(B.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                B.languageImages.icons.title &&
                                "" != B.languageImages.icons.title.trim()
                                  ? B.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      textAlign: {
                        label:
                          B.languageImages.main.textAlignment &&
                          "" != B.languageImages.main.textAlignment.trim()
                            ? B.languageImages.main.textAlignment
                            : "Text Align",
                        value: Ke.value,
                      },
                      fontsColors: { label: c + "/" + l, value: await s() },
                      size:
                        "advanced" == t.pricing
                          ? {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value:
                                oe.value.label +
                                "/" +
                                at(oe.value.scaleMultiplier, ae.value),
                            }
                          : {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value: oe.value.label,
                            },
                      ...(void 0 !== le.value.label
                        ? {
                            material: {
                              label:
                                T.materialOptions.label &&
                                "" != T.materialOptions.label.trim()
                                  ? T.materialOptions.label
                                  : "Material",
                              value: le.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== se.value.label
                        ? {
                            jacket: {
                              label:
                                T.jacketOptions.label &&
                                "" != T.jacketOptions.label.trim()
                                  ? T.jacketOptions.label
                                  : "Jacket",
                              value: se.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== pe.value.label
                        ? {
                            mounting: {
                              label:
                                T.mountingOptions.label &&
                                "" != T.mountingOptions.label.trim()
                                  ? T.mountingOptions.label
                                  : "Mounting",
                              value: pe.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== be.value.label
                        ? {
                            backboard: {
                              label:
                                T.backboardOptions.label &&
                                "" != T.backboardOptions.label.trim()
                                  ? T.backboardOptions.label
                                  : "Backboard",
                              value: be.value.label,
                            },
                          }
                        : {}),
                      backboardColors: {
                        label:
                          T.backboardColorsOptions.label &&
                          "" != T.backboardColorsOptions.label.trim()
                            ? T.backboardColorsOptions.label
                            : "Backboard Color",
                        value: o,
                      },
                      additionalOptions: ge.value.map((e) => ({
                        label: e.label,
                        value: e.value,
                      })),
                      customPrice: N.value,
                    },
                    previewImg: r,
                    svgData: a,
                    displayRecapsOnCheckout:
                      B.generals.product.displayRecapsOnCheckout ?? !1,
                    quantity: 1,
                  };
                } else if ("channel" == t.productType) {
                  const c = async () => {
                    const e = await Or();
                    let t = "";
                    const n =
                        I.fontOptions.label && "" != I.fontOptions.label.trim()
                          ? I.fontOptions.label
                          : "Font",
                      c =
                        ue.value.letterParts[0].activate &&
                        "" != ue.value.letterParts[0].label.trim()
                          ? ue.value.letterParts[0].label
                          : "Face",
                      a = ue.value.letterParts[1].activate
                        ? "" != ue.value.letterParts[1].label.trim()
                          ? ue.value.letterParts[1].label
                          : "Trim"
                        : null,
                      r = ue.value.letterParts[2].activate
                        ? null != ue.value.letterParts[2].label.trim()
                          ? ue.value.letterParts[2].label
                          : "Side"
                        : null,
                      o = ue.value.letterParts[3].activate
                        ? "" != ue.value.letterParts[3].label.trim()
                          ? ue.value.letterParts[3].label
                          : "Back Lit"
                        : null;
                    return (
                      e.forEach((e, i) => {
                        t += `\n                    ${e.text} (${
                          n + ": " + e.font.label
                        },  ${c + ": " + e.colorData.face.label} ${
                          null != a
                            ? ", " + a + ": " + e.colorData.trim.label
                            : ""
                        }, ${
                          null != r
                            ? ", " + r + ": " + e.colorData.side.label
                            : ""
                        }, ${
                          null != o
                            ? ", " + o + ": " + e.colorData.backLit.label
                            : ""
                        } )`;
                      }),
                      t
                    );
                  };
                  ke.value = {
                    variation_id: ncpcData.productID,
                    price: ncpcData.regularPrice,
                    recaps: {
                      text: {
                        label:
                          B.languageImages.main.sectionText &&
                          "" != B.languageImages.main.sectionText.trim()
                            ? B.languageImages.main.sectionText
                            : "Text",
                        value: e.map((e, t) => ({
                          label: i + " " + (t + 1),
                          value: e,
                        })),
                      },
                      ...(B.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                B.languageImages.icons.title &&
                                "" != B.languageImages.icons.title.trim()
                                  ? B.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      textAlign: {
                        label:
                          B.languageImages.main.textAlignment &&
                          "" != B.languageImages.main.textAlignment.trim()
                            ? B.languageImages.main.textAlignment
                            : "Text Align",
                        value: Ke.value,
                      },
                      fontsColors: {
                        label:
                          I.fontOptions.label &&
                          "" != I.fontOptions.label.trim()
                            ? I.fontOptions.label
                            : "Font",
                        value: await c(),
                      },
                      size:
                        "advanced" == t.pricing
                          ? {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value:
                                oe.value.label +
                                "/" +
                                at(oe.value.scaleMultiplier, ae.value),
                            }
                          : {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value: oe.value.label,
                            },
                      letterType: {
                        label:
                          I.letterTypesOptions.label &&
                          "" != I.letterTypesOptions.label.trim()
                            ? I.letterTypesOptions.label
                            : "Letter-Types",
                        value: ue.value.label,
                      },
                      ...(void 0 !== pe.value.label
                        ? {
                            mounting: {
                              label:
                                T.mountingOptions.label &&
                                "" != T.mountingOptions.label.trim()
                                  ? T.mountingOptions.label
                                  : "Mounting",
                              value: pe.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== be.value.label
                        ? {
                            backboard: {
                              label:
                                T.backboardOptions.label &&
                                "" != T.backboardOptions.label.trim()
                                  ? T.backboardOptions.label
                                  : "Backboard",
                              value: be.value.label,
                            },
                          }
                        : {}),
                      backboardColors: {
                        label:
                          T.backboardColorsOptions.label &&
                          "" != T.backboardColorsOptions.label.trim()
                            ? T.backboardColorsOptions.label
                            : "Backboard Color",
                        value: o,
                      },
                      additionalOptions: ge.value.map((e) => ({
                        label: e.label,
                        value: e.value,
                      })),
                      customPrice: N.value,
                    },
                    previewImg: r,
                    svgData: a,
                    displayRecapsOnCheckout:
                      B.generals.product.displayRecapsOnCheckout ?? !1,
                    quantity: 1,
                  };
                }
              } else if ("neon" == t.productType)
                ke.value = {
                  variation_id: ncpcData.productID,
                  price: ncpcData.regularPrice,
                  recaps: {
                    text: {
                      label:
                        B.languageImages.main.sectionText &&
                        "" != B.languageImages.main.sectionText.trim()
                          ? B.languageImages.main.sectionText
                          : "Text",
                      value: e.map((e, t) => ({
                        label: i + " " + (t + 1),
                        value: e,
                      })),
                    },
                    ...(B.languageImages?.icons?.listIcons?.length > 0
                      ? {
                          icons: {
                            label:
                              B.languageImages.icons.title &&
                              "" != B.languageImages.icons.title.trim()
                                ? B.languageImages.icons.title
                                : "Icons",
                            value: n.map((e, t) => ({
                              label: i + " " + (t + 1),
                              value: e,
                            })),
                          },
                        }
                      : {}),
                    textAlign: {
                      label:
                        B.languageImages.main.textAlignment &&
                        "" != B.languageImages.main.textAlignment.trim()
                          ? B.languageImages.main.textAlignment
                          : "Text Align",
                      value: Ke.value,
                    },
                    fonts: {
                      label:
                        I.fontOptions.label && "" != I.fontOptions.label.trim()
                          ? I.fontOptions.label
                          : "Font",
                      value: ce.value[0].label,
                    },
                    color: {
                      label:
                        I.colorOptions.label &&
                        "" != I.colorOptions.label.trim()
                          ? I.colorOptions.label
                          : "Font",
                      value: ie.value[0].label,
                    },
                    size:
                      "advanced" == t.pricing
                        ? {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value:
                              oe.value.label +
                              "/" +
                              at(oe.value.scaleMultiplier, ae.value),
                          }
                        : {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value: oe.value.label,
                          },
                    ...(void 0 !== le.value.label
                      ? {
                          material: {
                            label:
                              T.materialOptions.label &&
                              "" != T.materialOptions.label.trim()
                                ? T.materialOptions.label
                                : "Material",
                            value: le.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== se.value.label
                      ? {
                          jacket: {
                            label:
                              T.jacketOptions.label &&
                              "" != T.jacketOptions.label.trim()
                                ? T.jacketOptions.label
                                : "Jacket",
                            value: se.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== pe.value.label
                      ? {
                          mounting: {
                            label:
                              T.mountingOptions.label &&
                              "" != T.mountingOptions.label.trim()
                                ? T.mountingOptions.label
                                : "Mounting",
                            value: pe.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== be.value.label
                      ? {
                          backboard: {
                            label:
                              T.backboardOptions.label &&
                              "" != T.backboardOptions.label.trim()
                                ? T.backboardOptions.label
                                : "Backboard",
                            value: be.value.label,
                          },
                        }
                      : {}),
                    backboardColors: {
                      label:
                        T.backboardColorsOptions.label &&
                        "" != T.backboardColorsOptions.label.trim()
                          ? T.backboardColorsOptions.label
                          : "Backboard Color",
                      value: o,
                    },
                    additionalOptions: ge.value.map((e) => ({
                      label: e.label,
                      value: e.value,
                    })),
                    customPrice: N.value,
                  },
                  previewImg: r,
                  svgData: a,
                  displayRecapsOnCheckout:
                    B.generals.product.displayRecapsOnCheckout ?? !1,
                  quantity: 1,
                };
              else if ("channel" == t.productType) {
                const c =
                    I.fontOptions.label && "" != I.fontOptions.label.trim()
                      ? I.fontOptions.label
                      : "Font",
                  l =
                    ue.value.letterParts[0].activate &&
                    "" != ue.value.letterParts[0].label.trim()
                      ? ue.value.letterParts[0].label
                      : "Face",
                  s = ue.value.letterParts[1].activate
                    ? "" != ue.value.letterParts[1].label.trim()
                      ? ue.value.letterParts[1].label
                      : "Trim"
                    : null,
                  p = ue.value.letterParts[2].activate
                    ? null != ue.value.letterParts[2].label.trim()
                      ? ue.value.letterParts[2].label
                      : "Side"
                    : null,
                  u = ue.value.letterParts[3].activate
                    ? "" != ue.value.letterParts[3].label.trim()
                      ? ue.value.letterParts[3].label
                      : "Back Lit"
                    : null;
                ke.value = {
                  variation_id: ncpcData.productID,
                  price: ncpcData.regularPrice,
                  recaps: {
                    text: {
                      label:
                        B.languageImages.main.sectionText &&
                        "" != B.languageImages.main.sectionText.trim()
                          ? B.languageImages.main.sectionText
                          : "Text",
                      value: e.map((e, t) => ({
                        label: i + " " + (t + 1),
                        value: e,
                      })),
                    },
                    ...(B.languageImages?.icons?.listIcons?.length > 0
                      ? {
                          icons: {
                            label:
                              B.languageImages.icons.title &&
                              "" != B.languageImages.icons.title.trim()
                                ? B.languageImages.icons.title
                                : "Icons",
                            value: n.map((e, t) => ({
                              label: i + " " + (t + 1),
                              value: e,
                            })),
                          },
                        }
                      : {}),
                    textAlign: {
                      label:
                        B.languageImages.main.textAlignment &&
                        "" != B.languageImages.main.textAlignment.trim()
                          ? B.languageImages.main.textAlignment
                          : "Text Align",
                      value: Ke.value,
                    },
                    fonts: { label: c, value: ce.value[0].label },
                    size:
                      "advanced" == t.pricing
                        ? {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value:
                              oe.value.label +
                              "/" +
                              at(oe.value.scaleMultiplier, ae.value),
                          }
                        : {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value: oe.value.label,
                          },
                    letterType: {
                      label:
                        I.letterTypesOptions.label &&
                        "" != I.letterTypesOptions.label.trim()
                          ? I.letterTypesOptions.label
                          : "Letter-Types",
                      value: ue.value.label,
                    },
                    faceColor: { label: l, value: de.value[0].label },
                    ...(null !== s
                      ? { trimColor: { label: s, value: fe.value[0].label } }
                      : {}),
                    ...(null !== p
                      ? { sideColor: { label: p, value: he.value[0].label } }
                      : {}),
                    ...(null !== u
                      ? { backLitColor: { label: u, value: ve.value[0].label } }
                      : {}),
                    ...(void 0 !== pe.value.label
                      ? {
                          mounting: {
                            label:
                              T.mountingOptions.label &&
                              "" != T.mountingOptions.label.trim()
                                ? T.mountingOptions.label
                                : "Mounting",
                            value: pe.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== be.value.label
                      ? {
                          backboard: {
                            label:
                              T.backboardOptions.label &&
                              "" != T.backboardOptions.label.trim()
                                ? T.backboardOptions.label
                                : "Backboard",
                            value: be.value.label,
                          },
                        }
                      : {}),
                    backboardColors: {
                      label:
                        T.backboardColorsOptions.label &&
                        "" != T.backboardColorsOptions.label.trim()
                          ? T.backboardColorsOptions.label
                          : "Backboard Color",
                      value: o,
                    },
                    additionalOptions: ge.value.map((e) => ({
                      label: e.label,
                      value: e.value,
                    })),
                    customPrice: N.value,
                  },
                  previewImg: r,
                  svgData: a,
                  displayRecapsOnCheckout:
                    B.generals.product.displayRecapsOnCheckout ?? !1,
                  quantity: 1,
                };
              }
              Re();
            },
            Se = (0, c.KR)(!1);
          var Ee = null;
          const Ie = (0, c.KR)(null),
            Te = (0, c.KR)(null),
            Be = (e) => {
              var t = document.getElementById("ncpc-editor-container");
              if (t) {
                var n = t.clientWidth,
                  c = t.clientHeight;
                Ee.setWidth(n), Ee.setHeight(c);
              }
              e || vr();
            },
            Me = (e) => {
              (L.value = e), (S.value = !0);
            },
            je = (0, c.KR)(1),
            _e = async (e) => {
              (Z.value = e), (ze.value = !1);
            },
            ze = (0, c.KR)(!1),
            Fe = () => {
              console.log("handleUploadBackgroundImage");
              const e = event.target.files[0];
              if (e && e.type.startsWith("image/")) {
                new FileReader().readAsDataURL(e),
                  (ze.value = !0),
                  (Z.value = URL.createObjectURL(e));
              }
            },
            De = async (e) => {
              J.value = e;
            };
          var Pe = (0, c.KR)();
          var He = (0, c.KR)([]);
          const Xe = (0, c.KR)(0),
            Ne = (0, c.KR)(!0),
            Qe = (0, c.KR)(!1),
            We = (0, c.KR)(""),
            Ue =
              ((0, c.KR)([]),
              async (e, n, c, a) => {
                (Ne.value = n),
                  (Je.value = c.exceededSizeLines),
                  (et.value = c.exceededSizeCharacters),
                  (Qe.value = a.signExceedDimensionAlert),
                  (We.value = a.limitReachedMsg),
                  "advanced" !== t.pricing && (oe.value = c.localCurrentSize),
                  (te.value = e),
                  await Rr(Tt.value, e);
                const r = await Or();
                (He.value = r), await Ze(!1, r);
              });
          var Ke = (0, c.KR)("left");
          function qe(e) {
            (Ke.value = e), Lr(e);
          }
          var Ve = (0, c.KR)(!1);
          var Ge = (0, c.KR)("");
          const Ye = async (e, t) => {
            Fr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                font: e.font,
              }));
              if (t.length > 1) {
                ce.value.includes(e) || ce.value.push(e);
                const n = ce.value,
                  c = new Set();
                t.forEach((e) => {
                  e.font && c.add(e.font);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                ce.value = Array.from(a);
              } else 1 == t.length && (ce.value = [e]);
              (Ge.value = e), (He.value = n);
            } else (ce.value = [e]), (He.value = n);
            Ze();
          };
          async function Ze(e = !1, n) {
            n && (He.value = await n);
            let c = [];
            te.value.forEach((e, n) => {
              if (((c[n] = []), "simple" == B.generals.mode.type))
                e.forEach((e, a) => {
                  "text" == e.type
                    ? c[n].push({
                        text: e.value,
                        type: e.type,
                        font: {
                          fontFaceFamily: ce.value[0].label.replace(" ", "-"),
                          smallLetter:
                            "advanced" == t.pricing
                              ? ce.value[0].minHeightFontChar.smallLetter
                              : 0,
                          uppercaseLetter:
                            "advanced" == t.pricing
                              ? ce.value[0].minHeightFontChar.uppercaseLetter
                              : 0,
                          lineHeight: Number(ce.value[0].lineHeight) || 1.2,
                          fileTtf: ce.value[0].url,
                        },
                      })
                    : c[n].push({
                        text: e.src,
                        type: e.type,
                        minHeight: B.languageImages?.icons?.listIcons?.find(
                          (t) => t.file == e.src
                        ).minHeight,
                      });
                });
              else {
                const a = ((e) => {
                  const t = {};
                  return (
                    e.forEach((e) => {
                      const n = e.lineNumber;
                      t[n] || (t[n] = []), t[n].push(e);
                    }),
                    Object.values(t)
                  );
                })(He.value);
                e.forEach((e, r) => {
                  "text" == e.type
                    ? c[n].push({
                        text: e.value,
                        type: e.type,
                        font: {
                          fontFaceFamily: a[n][r].font.label.replace(" ", "-"),
                          smallLetter:
                            "advanced" == t.pricing
                              ? a[n][r].font.minHeightFontChar.smallLetter
                              : 0,
                          uppercaseLetter:
                            "advanced" == t.pricing
                              ? a[n][r].font.minHeightFontChar.uppercaseLetter
                              : 0,
                          lineHeight: Number(a[n][r].font.lineHeight) || 1.2,
                          fileTtf: a[n][r].font.url,
                        },
                      })
                    : c[n].push({
                        text: e.src,
                        type: e.type,
                        minHeight: B.languageImages?.icons?.listIcons?.find(
                          (t) => t.file == e.src
                        ).minHeight,
                      });
                });
              }
            }),
              (ne.value = c);
            const a = await b(c, t.pricing, {
              maxHeight: "fixed-height" == t.pricing ? oe.value.height : 0,
              maxWidth: "fixed-width" == t.pricing ? oe.value.width : 0,
            });
            a.cm.width &&
              ((ae.value = a),
              (function () {
                let e = {
                  cm: { width: 0, height: 0 },
                  in: { width: 0, height: 0 },
                };
                (e =
                  "advanced" == t.pricing
                    ? "decimal" == D
                      ? {
                          cm: {
                            width: parseFloat(
                              ae.value.cm.width * oe.value.scaleMultiplier
                            ).toFixed(3),
                            height: parseFloat(
                              ae.value.cm.height * oe.value.scaleMultiplier
                            ).toFixed(3),
                          },
                          in: {
                            width: parseFloat(
                              ae.value.in.width * oe.value.scaleMultiplier
                            ).toFixed(3),
                            height: parseFloat(
                              ae.value.in.height * oe.value.scaleMultiplier
                            ).toFixed(3),
                          },
                        }
                      : {
                          cm: {
                            width: Math.round(
                              ae.value.cm.width * oe.value.scaleMultiplier
                            ),
                            height: Math.round(
                              ae.value.cm.height * oe.value.scaleMultiplier
                            ),
                          },
                          in: {
                            width: Math.round(
                              ae.value.in.width * oe.value.scaleMultiplier
                            ),
                            height: Math.round(
                              ae.value.in.height * oe.value.scaleMultiplier
                            ),
                          },
                        }
                    : "decimal" == D
                    ? {
                        cm: {
                          width: parseFloat(ae.value.cm.width).toFixed(3),
                          height: parseFloat(ae.value.cm.height).toFixed(3),
                        },
                        in: {
                          width: parseFloat(ae.value.in.width).toFixed(3),
                          height: parseFloat(ae.value.in.height).toFixed(3),
                        },
                      }
                    : {
                        cm: {
                          width: Math.round(ae.value.cm.width),
                          height: Math.round(ae.value.cm.height),
                        },
                        in: {
                          width: Math.round(ae.value.in.width),
                          height: Math.round(ae.value.in.height),
                        },
                      }),
                  (re.value = e),
                  It(),
                  rt(e);
              })());
          }
          const Je = (0, c.KR)(!1),
            et = (0, c.KR)(!1),
            tt = (e, t, n) => {
              (Ne.value = e),
                (Qe.value = t.openSignExceedDimensionAlert),
                (We.value = t.limitReachedMsg),
                (Je.value = n.localExceededSizeLines),
                (et.value = n.localExceededSizeCharacters);
            },
            nt = async (e, n) => {
              "advanced" == t.pricing
                ? ("custom-size" != n
                    ? ((re.value = {
                        cm: {
                          width: e.scaleMultiplier * ae.value.cm.width,
                          height: e.scaleMultiplier * ae.value.cm.height,
                        },
                        in: {
                          width: e.scaleMultiplier * ae.value.in.width,
                          height: e.scaleMultiplier * ae.value.in.height,
                        },
                      }),
                      (oe.value = { id: n, ...e }))
                    : (oe.value = { ...oe.value, id: n }),
                  It(),
                  rt(re.value))
                : ((oe.value = { id: n, ...e }),
                  (He.value = await Or()),
                  await Ze(!1, He.value),
                  It()),
                (Ht.value = oe.value.resizeSettings
                  ? oe.value.resizeSettings
                  : {
                      autoResize: !0,
                      desktop: {
                        defaultFontSize: 110,
                        maxFontSize: 110,
                        minFontSize: 30,
                      },
                      mobile: {
                        defaultFontSize: 60,
                        maxFontSize: 60,
                        minFontSize: 30,
                      },
                    }),
                Xt(!0);
            },
            ct = (e) => {
              const t =
                "decimal" == D
                  ? Number(parseFloat(e.target.value).toFixed(3))
                  : Math.round(e.target.value, 10) > 4
                  ? Math.ceil(e.target.value)
                  : Math.floor(e.target.value);
              (oe.value.scaleMultiplier = t / ae.value.cm.width),
                (re.value = {
                  cm: {
                    width: t,
                    height:
                      "decimal" == D
                        ? parseFloat(
                            (
                              (ae.value.cm.height * t) /
                              ae.value.cm.width
                            ).toFixed(3)
                          )
                        : Math.round(
                            (ae.value.cm.height * t) / ae.value.cm.width
                          ),
                  },
                  in: {
                    width: "decimal" == D ? parseFloat(v(t)) : Math.round(v(t)),
                    height:
                      "decimal" == D
                        ? parseFloat(
                            (
                              (ae.value.in.height * v(t)) /
                              ae.value.in.width
                            ).toFixed(3)
                          )
                        : Math.round(
                            (ae.value.in.height * v(t)) / ae.value.in.width
                          ),
                  },
                }),
                rt(re.value),
                It();
            },
            at = (e, t) => {
              switch (B.generals.customizer.measurementUnit) {
                case "cm":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm x " +
                            parseFloat(t.cm.height * e).toFixed(3) +
                            "cm "
                        : Math.round(t.cm.width * e) +
                            "cm x " +
                            Math.round(t.cm.height * e) +
                            "cm ";
                    case "only-width":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) + "cm"
                        : Math.round(t.cm.width * e) + "cm";
                    case "only-height":
                      return "decimal" == D
                        ? parseFloat(t.cm.height * e).toFixed(3) + "cm "
                        : Math.round(t.cm.height * e) + "cm ";
                  }
                  break;
                case "in":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == D
                        ? parseFloat(t.in.width * e).toFixed(3) +
                            "in x " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.in.width * e) +
                            "in x " +
                            Math.round(t.in.height * e) +
                            "in";
                    case "only-width":
                      return "decimal" == D
                        ? parseFloat(t.in.width * e).toFixed(3) + "in"
                        : Math.round(t.in.width * e) + "in";
                    case "only-height":
                      return "decimal" == D
                        ? parseFloat(t.in.height * e).toFixed(3) + "in"
                        : Math.round(t.in.height * e) + "in";
                  }
                  break;
                case "both":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm x " +
                            parseFloat(t.cm.height * e).toFixed(3) +
                            "cm / " +
                            parseFloat(t.in.width * e).toFixed(3) +
                            "in x " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.width * e) +
                            "cm x " +
                            Math.round(t.cm.height * e) +
                            "cm / " +
                            Math.round(t.in.width * e) +
                            "in x " +
                            Math.round(t.in.height * e) +
                            "in";
                    case "only-width":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm/ " +
                            parseFloat(t.in.width * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.width * e) +
                            "cm/ " +
                            Math.round(t.in.width * e) +
                            "in";
                    case "only-height":
                      return "decimal" == D
                        ? parseFloat(t.cm.height * e).toFixed(3) +
                            "cm / " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.height * e) +
                            "cm / " +
                            Math.round(t.in.height * e) +
                            "in";
                  }
              }
            },
            rt = (e) => {
              switch (B.generals.customizer.measurementUnit) {
                case "cm":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) + "cm"
                          : Math.round(e.cm.height) + "cm ",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) + "cm "
                          : Math.round(e.cm.width) + "cm"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) + "cm"
                          : Math.round(e.cm.width) + "cm "
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) + "cm"
                          : Math.round(e.cm.height) + "cm ",
                        ""
                      );
                  }
                  break;
                case "in":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == D
                          ? parseFloat(e.in.height).toFixed(3) + "in"
                          : Math.round(e.in.height) + "in ",
                        "decimal" == D
                          ? parseFloat(e.in.width).toFixed(3) + "in "
                          : Math.round(e.in.width) + "in"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == D
                          ? parseFloat(e.in.width).toFixed(3) + "in"
                          : Math.round(e.in.width) + "in "
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == D
                          ? parseFloat(e.in.height).toFixed(3) + "in"
                          : Math.round(e.in.height) + "in ",
                        ""
                      );
                  }
                  break;
                case "both":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) +
                              "cm \n" +
                              parseFloat(e.in.height).toFixed(3) +
                              "in"
                          : Math.round(e.cm.height) +
                              "cm \n" +
                              Math.round(e.in.height) +
                              "in",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) +
                              "cm /" +
                              parseFloat(e.in.width).toFixed(3) +
                              "in"
                          : Math.round(e.cm.width) +
                              "cm / " +
                              Math.round(e.in.width) +
                              "in"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) +
                              "cm / " +
                              parseFloat(e.in.width).toFixed(3) +
                              "in"
                          : Math.round(e.cm.width) +
                              "cm / " +
                              Math.round(e.in.width) +
                              "in"
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) +
                              "cm \n " +
                              parseFloat(e.in.height).toFixed(3) +
                              "in"
                          : Math.round(e.cm.height) +
                              "cm \n " +
                              Math.round(e.in.height) +
                              "in",
                        ""
                      );
                  }
              }
            };
          var it = (0, c.KR)(!1),
            lt = (0, c.KR)();
          const st = async (e, t) => {
              if (!t) {
                null != Ee.getActiveObject() && Ee.discardActiveObject();
              }
              Br(e);
              const n = await Or();
              if (t) {
                const t = n.map((e) => ({
                  wordNumber: e.wordNumber,
                  color: e.colorData,
                }));
                if (t.length > 1) {
                  ie.value.includes(e) || ie.value.push(e);
                  const n = ie.value,
                    c = new Set();
                  t.forEach((e) => {
                    e.color && c.add(e.color);
                  });
                  const a = new Set(n.filter((e) => c.has(e)));
                  ie.value = Array.from(a);
                } else 1 == t.length && (ie.value = [e]);
                lt.value = e;
              } else ie.value = [e];
              It();
            },
            pt = async (e) => {
              null != Ee.getActiveObject() && Ee.discardActiveObject(),
                (He.value = await Or()),
                (ue.value = e),
                e.letterParts[0].colors.length > 0
                  ? (de.value = [
                      e.letterParts[0].colors.find((e) => e.isDefault) ||
                        e.letterParts[0].colors[0],
                    ])
                  : (de.value = []),
                e.letterParts[1].activate && e.letterParts[1].colors.length > 0
                  ? (fe.value = [
                      e.letterParts[1].colors.find((e) => e.isDefault) ||
                        e.letterParts[1].colors[0],
                    ])
                  : (fe.value = []),
                e.letterParts[2].activate && e.letterParts[2].colors.length > 0
                  ? (he.value = [
                      e.letterParts[2].colors.find((e) => e.isDefault) ||
                        e.letterParts[2].colors[0],
                    ])
                  : (he.value = []),
                e.letterParts[3].activate && e.letterParts[3].colors.length > 0
                  ? (ve.value = [
                      e.letterParts[3].colors.find((e) => e.isDefault) ||
                        e.letterParts[3].colors[0],
                    ])
                  : (ve.value = []);
              var t = {
                face: null != de.value[0] ? de.value[0] : {},
                trim: null != fe.value[0] ? fe.value[0] : {},
                side: null != he.value[0] ? he.value[0] : {},
                backLit: null != ve.value[0] ? ve.value[0] : {},
              };
              await Dr(ue.value, t),
                (de.value = null != de.value[0] ? [de.value[0]] : []),
                (fe.value = null != fe.value[0] ? [fe.value[0]] : []),
                (he.value = null != he.value[0] ? [he.value[0]] : []),
                (ve.value = null != ve.value[0] ? [ve.value[0]] : []),
                It();
            };
          var ut = (0, c.KR)(!1),
            dt = (0, c.KR)();
          const ft = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            await Kr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.face,
              }));
              if (t.length > 1) {
                de.value.includes(e) || de.value.push(e);
                const n = de.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                de.value = Array.from(a);
              } else 1 == t.length && (de.value = [colors]);
              dt.value = e;
            } else de.value = [e];
            It();
          };
          var ht = (0, c.KR)(!1),
            mt = (0, c.KR)();
          const vt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            qr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.trim,
              }));
              if (t.length > 1) {
                fe.value.includes(e) || fe.value.push(e);
                const n = fe.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                fe.value = Array.from(a);
              } else 1 == t.length && (fe.value = [e]);
              mt.value = e;
            } else fe.value = [e];
            It();
          };
          var gt = (0, c.KR)(!1),
            bt = (0, c.KR)();
          const xt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            Vr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.side,
              }));
              if (t.length > 1) {
                he.value.includes(e) || he.value.push(e);
                const n = he.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                he.value = Array.from(a);
              } else 1 == t.length && (he.value = [e]);
              bt.value = e;
            } else he.value = [e];
            It();
          };
          var wt = (0, c.KR)(!1),
            yt = (0, c.KR)();
          const kt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            Gr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.backLit,
              }));
              if (t.length > 1) {
                ve.value.includes(e) || ve.value.push(e);
                const n = ve.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                ve.value = Array.from(a);
              } else 1 == t.length && (ve.value = [e]);
              yt.value = e;
            } else ve.value = [e];
            It();
          };
          const Ct = async (e, t) => {
              (be.value = { id: t, ...e }), await Ma(e);
              let n = [];
              T.backboardColorsOptions.backboardColors.forEach((e) => {
                e.backboards.includes(t) && n.push(e);
              }),
                (ye.value = n),
                e?.backboardLength?.layers?.activate
                  ? ((we.value = {}),
                    e.backboardLength.layers.options.forEach((e, c) => {
                      const a = n.filter(
                        (e) =>
                          e?.layers?.includes(`${t}/${c}`) &&
                          (("one-of-two" == e.visibilityRule &&
                            (re.value.cm.width >= parseFloat(e.minWidth) ||
                              re.value.cm.height >= parseFloat(e.minHeight))) ||
                            ("both" == e.visibilityRule &&
                              re.value.cm.width >= parseFloat(e.minWidth) &&
                              re.value.cm.height >= parseFloat(e.minHeight)))
                      );
                      a.length > 0 ? (xe.value[c] = a[0]) : (xe.value[c] = []),
                        Ot(xe.value[c], c);
                    }))
                  : ((xe.value = []), Rt(ye.value[0] || {})),
                It();
            },
            Rt = async (e) => {
              (we.value = e), await Ha(e), It();
            },
            Ot = (e, t) => {
              (xe.value[t] = e), Xa(e, t), It();
            },
            $t = (e) => {
              (le.value = e), It();
            },
            Lt = (e) => {
              (pe.value = e), It();
            },
            St = (e) => {
              (se.value = e), It();
            },
            Et = (e, t, n, c, a = "") => {
              const r = ge.value.findIndex((t) => t.id === e);
              -1 !== r
                ? ((ge.value[r].label = t),
                  (ge.value[r].value = n),
                  (ge.value[r].price = c),
                  (ge.value[r].popupImg = a))
                : (ge.value.push({
                    id: e,
                    label: t,
                    value: n,
                    price: c,
                    popupImg: a,
                  }),
                  ($.value[`additional_${e}`] = !1)),
                It();
            },
            It = () => {
              let e = re.value.cm.width,
                n = re.value.cm.height;
              if (te.value.length && 0 != e && 0 != n) {
                let c = ncpcData.regularPrice;
                const a = Array.from(
                  new Set(ce.value.map((e) => I.priceOptions[e.pricing]))
                );
                if ("advanced" == t.pricing) {
                  let t = 0;
                  a.forEach((c) => {
                    let a = y(
                      te.value,
                      e,
                      n,
                      c,
                      B.generals.customizer.measurementUnit
                    );
                    a > t && (t = a);
                  }),
                    (c = t);
                } else {
                  let e = 0;
                  a.forEach((t) => {
                    let n = w(te.value, t, oe.value);
                    n > e && (e = n);
                  }),
                    (c = e);
                }
                let r = 0,
                  o = 0;
                ie.value.length > 0 &&
                  ie.value.forEach((e) => {
                    "base" == e.price.type
                      ? (o += Number(e.price.value))
                      : "multiplier" == e.price.type &&
                        (r += Number(e.price.value));
                  }),
                  de.value.length > 0 &&
                    de.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  fe.value.length > 0 &&
                    fe.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  he.value.length > 0 &&
                    he.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  ve.value.length > 0 &&
                    ve.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  le.value.price &&
                    ("base" == le.value.price.type
                      ? (o += Number(le.value.price.value))
                      : "multiplier" == le.value.price.type &&
                        (r += Number(le.value.price.value))),
                  se.value.price &&
                    ("base" == se.value.price.type
                      ? (o += Number(se.value.price.value))
                      : "multiplier" == se.value.price.type &&
                        (r += Number(se.value.price.value))),
                  pe.value.price &&
                    ("base" == pe.value.price.type
                      ? (o += Number(pe.value.price.value))
                      : "multiplier" == pe.value.price.type &&
                        (r += Number(pe.value.price.value))),
                  be.value.price &&
                    ("base" == be.value.price.type
                      ? (o += Number(be.value.price.value))
                      : "multiplier" == be.value.price.type &&
                        (r += Number(be.value.price.value))),
                  be.value?.backboardLength?.layers?.activate
                    ? xe.value.forEach((e) => {
                        "base" == e?.price?.type
                          ? (o += Number(e.price.value))
                          : "multiplier" == e?.price?.type &&
                            (r += Number(e.price.value));
                      })
                    : we.value.price &&
                      ("base" == we.value.price.type
                        ? (o += Number(we.value.price.value))
                        : "multiplier" == we.value.price.type &&
                          (r += Number(we.value.price.value))),
                  ue.value.price &&
                    ("base" == ue.value.price.type
                      ? (o += Number(ue.value.price.value))
                      : "multiplier" == ue.value.price.type &&
                        (r += Number(ue.value.price.value))),
                  ge.value.forEach((e, t) => {
                    e.price &&
                      ("base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value)));
                  });
                let i = c + o + ((c + o) * r) / 100,
                  l = i;
                "percent" == B.generals.customizer.discount
                  ? (l -= (l * B.generals.customizer.discountValue) / 100)
                  : "fixed" == B.generals.customizer.discount &&
                    (l -= B.generals.customizer.discountValue),
                  (N.value = isNaN(l) || l < 0 ? 0 : l),
                  (W.value = k(
                    l,
                    X,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  )),
                  (Q.value = k(
                    i,
                    X,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  ));
              } else
                (N.value = ncpcData.regularPrice),
                  (W.value = k(
                    ncpcData.regularPrice,
                    ncpcData.currencySymbol,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  )),
                  (Q.value = k(
                    ncpcData.regularPrice,
                    ncpcData.currencySymbol,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  ));
            };
          var Tt = (0, c.KR)(!0),
            At = (0, c.KR)({ allowMultiFonts: !1, allowMultiColors: !1 }),
            Bt = (0, c.KR)(0),
            Mt = (0, c.KR)("text"),
            jt = (0, c.KR)({
              colorData: {},
              faceColorData: {},
              trimColorData: {},
              sideColorData: {},
              backLitColorData: {},
            });
          function _t(e) {
            jt.value = e;
            var t = document.getElementById("ncpc-mini-options");
            if (e) {
              document
                .querySelector("#ncpc-selectableTextMessage-container")
                ?.remove(),
                (Mt.value =
                  "neon-text" === e.name || "ncpc-channel" === e.name
                    ? "text"
                    : "image"),
                (Bt.value = e.wordNumber),
                t.classList.remove("ncpc-hidden");
              var n = e.getBoundingRect(!1);
              (t.style.left = n.left + n.width / 2 - t.clientWidth / 2 + "px"),
                (t.style.top = n.top + 1.2 * n.height + "px");
            } else t.style.display = "none";
          }
          function zt() {
            var e = document.getElementById("ncpc-mini-options");
            (it.value = !1),
              (Ve.value = !1),
              (ut.value = !1),
              (ht.value = !1),
              (gt.value = !1),
              (wt.value = !1),
              e.classList.add("ncpc-hidden"),
              (Bt.value = 0);
          }
          var Ft = (0, c.KR)(!1),
            Pt = (0, c.KR)(!1),
            Ht = (0, c.KR)({});
          function Xt(e = !1) {
            window.innerWidth < 1024
              ? ((Ft.value = window.innerWidth < 1024),
                (Pt.value = !0),
                window.innerWidth < 688 &&
                  (tr(Ht.value, "mobile"),
                  "on" == B.generals.mobile.showNavigatorMenu &&
                  "yes" == B.generals.mobile.showNavigationMenuFirst
                    ? (z.value = "menu")
                    : e || (U.value = 0)))
              : ((Pt.value = !1), tr(Ht.value, "desktop"));
          }
          (0, c.KR)(0);
          var Nt = (0, c.KR)([]);
          const Qt = async () => {
              await Ma(be.value, !0),
                be.value?.backboardLength?.layers?.activate
                  ? xe.value.forEach((e, t) => {
                      Ot(e, t);
                    })
                  : Rt(ye.value[0] || {});
            },
            Ut = (0, c.KR)(0),
            Kt = (0, c.KR)(0),
            qt = (0, c.KR)(0),
            Vt = (0, c.KR)(!1);
          const Gt = (e) => {
            if (!e)
              return (
                console.error("Canvas element not found for touch detection"),
                null
              );
            const t = (e) => {
                (Ut.value = Date.now()),
                  (Kt.value = e.touches[0].clientY),
                  (qt.value = e.touches[0].clientX),
                  (Vt.value = !1);
              },
              n = (e) => {
                const t = Date.now() - Ut.value,
                  n = Math.abs(e.touches[0].clientY - Kt.value),
                  c = Math.abs(e.touches[0].clientX - qt.value);
                if (
                  (t < 200 && n > 20 && n > 1.5 * c) ||
                  (n > 50 && n > c) ||
                  (t < 100 && n > 10 && n > c)
                ) {
                  return (
                    (Vt.value = !0),
                    (function (e = 1e3, t = 10) {
                      const n = t;
                      let c = 0;
                      const a = Math.sign(e),
                        r = setInterval(() => {
                          window.scrollBy(0, 50 * a),
                            (c += 50),
                            Math.abs(c) >= Math.abs(e) && clearInterval(r);
                        }, n);
                    })(Kt.value - e.touches[0].clientY, 1),
                    e.stopImmediatePropagation(),
                    !0
                  );
                }
              },
              c = () => {
                Vt.value = !1;
              };
            return (
              e.addEventListener("touchstart", t, { passive: !0 }),
              e.addEventListener("touchmove", n, { passive: !1 }),
              e.addEventListener("touchend", c, { passive: !0 }),
              () => {
                console.log("🧹 Cleaning up touch detection listeners"),
                  e.removeEventListener("touchstart", t),
                  e.removeEventListener("touchmove", n),
                  e.removeEventListener("touchend", c);
              }
            );
          };
          function Zt() {
            const e = document.getElementById("ncpc-editor-container");
            Tt.value && Gt(e), console.log("Initialized.");
          }
          (0, c.sV)(async () => {
            t.config.others.configuratorHeaderTag &&
            "" != t.config.others.configuratorHeaderTag.trim()
              ? (a.value = t.config.others.configuratorHeaderTag)
              : (a.value = "h2"),
              (() => {
                if (I.fontOptions.fonts.length > 0) {
                  let e = I.fontOptions.fonts.find((e) => e.isDefault);
                  null == e && (e = I.fontOptions.fonts[0]), (ce.value = [e]);
                }
                if (
                  (I.sizeOptions.sizes.length > 0
                    ? ("advanced" == t.pricing &&
                        (je.value = I.sizeOptions.sizes.reduce(
                          (e, t) =>
                            t.scaleMultiplier < e ? t.scaleMultiplier : e,
                          1
                        )),
                      (Ht.value = oe.value.resizeSettings
                        ? oe.value.resizeSettings
                        : {
                            autoResize: !0,
                            desktop: {
                              defaultFontSize: 110,
                              maxFontSize: 110,
                              minFontSize: 30,
                            },
                            mobile: {
                              defaultFontSize: 60,
                              maxFontSize: 60,
                              minFontSize: 30,
                            },
                          }))
                    : ("advanced" == t.pricing &&
                        I.sizeOptions.customSize.activate &&
                        (oe.value = {
                          id: "custom-size",
                          label:
                            "" != I.sizeOptions.customSize.customs.label
                              ? I.sizeOptions.customSize.customs.label
                              : "Custom",
                          scaleMultiplier: 1,
                          resizeSettings: {
                            autoResize: !0,
                            desktop: {
                              defaultFontSize: 110,
                              maxFontSize: 110,
                              minFontSize: 30,
                            },
                            mobile: {
                              defaultFontSize: 60,
                              maxFontSize: 60,
                              minFontSize: 30,
                            },
                          },
                        }),
                      (Ht.value = {
                        autoResize: !0,
                        desktop: {
                          defaultFontSize: 110,
                          maxFontSize: 110,
                          minFontSize: 30,
                        },
                        mobile: {
                          defaultFontSize: 60,
                          maxFontSize: 60,
                          minFontSize: 30,
                        },
                      })),
                  "neon" == t.productType && I.colorOptions.colors.length > 0)
                ) {
                  let e = I.colorOptions.colors.find((e) => e.isDefault);
                  null == e && (e = I.colorOptions.colors[0]), (ie.value = [e]);
                }
                if (
                  "channel" == t.productType &&
                  I.letterTypesOptions.letterTypes.length > 0
                ) {
                  let e = I.letterTypesOptions.letterTypes.find(
                    (e) => e.isDefault
                  );
                  null == e && (e = I.letterTypesOptions.letterTypes[0]),
                    (ue.value = e),
                    e.letterParts[0].colors.length > 0
                      ? (de.value = [
                          e.letterParts[0].colors.find((e) => e.isDefault) ||
                            e.letterParts[0].colors[0],
                        ])
                      : (de.value = []),
                    e.letterParts[1].activate &&
                    e.letterParts[1].colors.length > 0
                      ? (fe.value = [
                          e.letterParts[1].colors.find((e) => e.isDefault) ||
                            e.letterParts[1].colors[0],
                        ])
                      : (fe.value = []),
                    e.letterParts[2].activate &&
                    e.letterParts[2].colors.length > 0
                      ? (he.value = [
                          e.letterParts[2].colors.find((e) => e.isDefault) ||
                            e.letterParts[2].colors[0],
                        ])
                      : (he.value = []),
                    e.letterParts[3].activate &&
                    e.letterParts[3].colors.length > 0
                      ? (ve.value = [
                          e.letterParts[3].colors.find((e) => e.isDefault) ||
                            e.letterParts[3].colors[0],
                        ])
                      : (ve.value = []);
                }
                if (T.backboardOptions.backboards.length > 0) {
                  let e = be.value.id,
                    t = [];
                  T.backboardColorsOptions.backboardColors.forEach((n) => {
                    n.backboards.includes(e) && t.push(n);
                  }),
                    (ye.value = t),
                    T.backboardOptions.backboards[e]?.backboardLength?.layers
                      ?.activate
                      ? ((we.value = {}),
                        T.backboardOptions.backboards[
                          e
                        ]?.backboardLength?.layers?.options.forEach((n, c) => {
                          const a = t.filter(
                            (t) =>
                              t?.layers?.includes(`${e}/${c}`) &&
                              (("one-of-two" == t.visibilityRule &&
                                (re.value.cm.width >= parseFloat(t.minWidth) ||
                                  re.value.cm.height >=
                                    parseFloat(t.minHeight))) ||
                                ("both" == t.visibilityRule &&
                                  re.value.cm.width >= parseFloat(t.minWidth) &&
                                  re.value.cm.height >=
                                    parseFloat(t.minHeight)))
                          );
                          a.length > 0
                            ? (xe.value[c] = a[0])
                            : (xe.value[c] = []);
                        }))
                      : ((xe.value = []),
                        t.length > 0 && (we.value = t[0]),
                        (ye.value = t));
                }
                T.materialOptions.materials.length > 0 &&
                  (le.value =
                    T.materialOptions.materials.find((e) => e.isDefault) ||
                    T.materialOptions.materials[0]),
                  T.jacketOptions.jackets.length > 0 &&
                    (se.value =
                      T.jacketOptions.jackets.find((e) => e.isDefault) ||
                      T.jacketOptions.jackets[0]),
                  T.mountingOptions.mountings.length > 0 &&
                    (pe.value =
                      T.mountingOptions.mountings.find((e) => e.isDefault) ||
                      T.mountingOptions.mountings[0]),
                  t.config.additionalOptions.customAdditionalsOptions.length >
                    0 &&
                    t.config.additionalOptions.customAdditionalsOptions.forEach(
                      (e, t) => {
                        switch (e.type) {
                          case "yes/no":
                            "yes" == e.default
                              ? Et(
                                  t,
                                  e.label,
                                  e.inputs.yes,
                                  e.price,
                                  e.popupImg
                                )
                              : Et(
                                  t,
                                  e.label,
                                  e.inputs.no,
                                  { type: "none", value: 0 },
                                  e.popupImg
                                );
                            break;
                          case "image-input":
                          case "dropdown":
                            Et(
                              t,
                              e.label,
                              e.options[0].value,
                              e.options[0].price,
                              e.options[0].popupImg
                            );
                        }
                      }
                    ),
                  B.languageImages.images.previewImage
                    .displayDefaultBackgroundImage
                    ? ((Z.value = "blue-gray"), (J.value = "blue-gray"))
                    : B.languageImages.images.manageImages.length > 0 &&
                      ((Z.value = B.languageImages.images.manageImages[0]),
                      (J.value = B.languageImages.images.manageImages[0])),
                  B.languageImages.images.reviewScreenImages
                    .displayDefaultBackgroundImage
                    ? (J.value = "blue-gray")
                    : B.languageImages.images.manageImages.length > 0 &&
                      (J.value = B.languageImages.images.manageImages[0]),
                  B.languageImages.images.enableReviewImage &&
                    (!1 === B.languageImages.images.enableReviewImage
                      ? (Se.value = !1)
                      : (Se.value = !0));
              })(),
              ao(j.activeButtonColor),
              (G.value = _);
            for (let e = G.value.length - 1; e >= 0; e--)
              ((0 ==
                t.config.additionalOptions.backboardOptions.backboards.length &&
                "backboards" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.backboardColorsOptions
                    .backboardColors.length &&
                  "backboard-colors" === G.value[e]) ||
                (0 == t.config.additionalOptions.jacketOptions.jackets.length &&
                  "jackets" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.materialOptions.materials.length &&
                  "materials" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.mountingOptions.mountings.length &&
                  "mountings" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.customAdditionalsOptions.length &&
                  "additionals-options" === G.value[e])) &&
                G.value.splice(e, 1);
            const e = Ie.value;
            var c = document.getElementById("ncpc-editor-container"),
              r = c.clientWidth,
              o = c.clientHeight;
            ((Ee = new fabric.Canvas(e, {
              backgroundColor: "transparent",
              width: r,
              height: o,
              interactive: !0,
              name: "front-face",
            })).hoverCursor = "pointer"),
              (Ee.selection = !1),
              (fabric.Object.prototype.transparentCorners = !1),
              (fabric.Object.prototype.cornerColor =
                j.selectedTextBorderCornerColor),
              (fabric.Object.prototype.borderColor = j.selectedTextBorderColor),
              (fabric.Object.prototype.borderScaleFactor = 3),
              (fabric.Object.prototype.padding = 5),
              (fabric.Object.prototype.cornerStyle = "circle"),
              (fabric.Object.prototype.cornerStrokeColor =
                j.selectedTextBorderColor),
              Ee.on("selection:created", function (e) {
                _t(e.selected[0]);
              }),
              Ee.on("selection:updated", function (e) {
                var t = e.selected[0];
                zt(), _t(t);
              }),
              Ee.on("selection:cleared", zt),
              Be("start"),
              Qa(Ee),
              (Tt.value = !(
                !B.generals.mode || "multi" != B.generals.mode.type
              ));
            var i = {};
            "neon" == t.productType
              ? ((i = {
                  type: t.productType,
                  canSelectText: Tt.value,
                  font: ce.value,
                  glowEffect: I.colorOptions.glowEffect,
                  color: ie.value,
                  backboard: be.value,
                }),
                await or(t.productType, i))
              : ((i = {
                  type: t.productType,
                  canSelectText: Tt.value,
                  font: ce.value,
                  letterType: ue.value,
                  colors: {
                    face: null != de.value[0] ? de.value[0] : {},
                    trim: null != fe.value[0] ? fe.value[0] : {},
                    side: null != he.value[0] ? he.value[0] : {},
                    backLit: null != ve.value[0] ? ve.value[0] : {},
                  },
                }),
                await sr(t.productType, i)),
              Ja(
                B.generals.customizer,
                j.colorMeasuringBar,
                j.colorOfMeasuringBarText
              ),
              Xt(),
              B.generals.mode && (At.value = B.generals.mode),
              tr(Ht.value),
              (n.value = !0),
              (F.value = !0),
              B?.infos?.customAdditionalsOptions &&
                (Nt.value = B?.infos?.customAdditionalsOptions),
              document.addEventListener("DOMContentLoaded", Zt),
              (Jt.value = new ResizeObserver(nn));
            const l = document.getElementById("ncpc-finish-button-container");
            let s;
            l && Jt.value.observe(l),
              window.addEventListener("resize", () => {
                (en.value = !(window.innerWidth <= 768)),
                  clearTimeout(s),
                  (s = setTimeout(() => {
                    Be(), Xt();
                  }, 250));
              }),
              window.dispatchEvent(new Event("resize")),
              document.querySelector("#ncpc-configurator-loader") &&
                document.querySelector("#ncpc-configurator-loader").remove();
          });
          const Jt = (0, c.KR)(null);
          (0, c.xo)(() => {
            Jt && Jt.value.disconnect();
          });
          const en = (0, c.KR)(!(window.innerWidth <= 768)),
            tn = () => {
              en.value = !en.value;
            },
            nn = () => {
              const e = document.getElementById("ncpc-finish-button-container");
              x.value = e ? e.offsetHeight : 80;
            };
          return (v, b) => (
            (0, c.uX)(),
            (0, c.CE)(
              "div",
              {
                id: "ncpc-config-container",
                class: (0, c.C4)(
                  ("right" == (0, c.R1)(B).generals.customizer.destokColumnOrder
                    ? "lg:ncpc-flex-row"
                    : "lg:ncpc-flex-row-reverse") +
                    " ncpc-relative ncpc-flex ncpc-flex-col ncpc-h-[100vh] ncpc-overflow-scroll lg:ncpc-overflow-hidden"
                ),
              },
              [
                (0, c.Q3)(" section contenant le canvas "),
                (0, c.Lk)(
                  "div",
                  ls,
                  [
                    (0, c.Lk)("div", ss, [
                      (0, c.Lk)(
                        "div",
                        {
                          class:
                            "ncpc-relative ncpc-grow-0 ncpc-items-center ncpc-flex ncpc-bg-vis-bg ncpc-h-full ncpc-w-full",
                          ref_key: "EditorContainer",
                          ref: Te,
                          id: "ncpc-editor-container",
                        },
                        [
                          (0, c.bo)(
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)([
                                  "ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-w-full ncpc-h-full ncpc-bg-cover ncpc-bg-no-repeat ncpc-bg-center",
                                  "blue-gray" == Z.value
                                    ? "ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747]"
                                    : `ncpc-bg-[url('${Z.value}')]`,
                                ]),
                              },
                              null,
                              2
                            ),
                            [[c.aG, P.value]]
                          ),
                          (0, c.Lk)(
                            "canvas",
                            {
                              ref_key: "EditorCanvas",
                              ref: Ie,
                              id: "ncpc-editor-canvas",
                              class: "ncpc-bg-[transparent]",
                            },
                            null,
                            512
                          ),
                          (0, c.R1)(Tt)
                            ? (0, c.Q3)("v-if", !0)
                            : ((0, c.uX)(), (0, c.CE)("div", ps)),
                        ],
                        512
                      ),
                      en.value
                        ? ((0, c.uX)(),
                          (0, c.CE)("div", us, [
                            1 ==
                            (0, c.R1)(B).languageImages.images.previewImage
                              .activate
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "div",
                                  {
                                    key: 0,
                                    id: "ncpc-preview-images",
                                    class: (0, c.C4)([
                                      "right" ==
                                      (0, c.R1)(B).generals.customizer
                                        .destokColumnOrder
                                        ? "ncpc-right-0"
                                        : "ncpc-right-4",
                                      "ncpc-absolute ncpc-bottom-0 ncpc-p-2 ncpc-w-[100%] lg:ncpc-w-[62%] ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between",
                                    ]),
                                  },
                                  [
                                    (0, c.R1)(B).languageImages.images
                                      .manageImages.length > 2
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "span",
                                          {
                                            key: 0,
                                            onClick:
                                              b[0] ||
                                              (b[0] = (e) => {
                                                return (
                                                  (t = "preview-scene"),
                                                  (Pe.value =
                                                    document.getElementById(t)),
                                                  void (Pe.value.scrollLeft -= 150)
                                                );
                                                var t;
                                              }),
                                            class: (0, c.C4)(
                                              `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .activeOptionBorderColor
                                              }] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex icon-scroll`
                                            ),
                                          },
                                          b[22] ||
                                            (b[22] = [
                                              (0, c.Lk)(
                                                "svg",
                                                {
                                                  xmlns:
                                                    "http://www.w3.org/2000/svg",
                                                  fill: "none",
                                                  viewBox: "0 0 24 24",
                                                  "stroke-width": "2",
                                                  stroke: "currentColor",
                                                  class: "ncpc-w-6 ncpc-h-6",
                                                },
                                                [
                                                  (0, c.Lk)("path", {
                                                    "stroke-linecap": "round",
                                                    "stroke-linejoin": "round",
                                                    d: "M15.75 19.5L8.25 12l7.5-7.5",
                                                  }),
                                                ],
                                                -1
                                              ),
                                            ]),
                                          2
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                    (0, c.Lk)("div", ds, [
                                      (0, c.R1)(B).languageImages.images
                                        .previewImage.allowUpload
                                        ? ((0, c.uX)(),
                                          (0, c.CE)("div", fs, [
                                            (0, c.Lk)(
                                              "label",
                                              {
                                                class: (0, c.C4)(
                                                  `ncpc-text-center ncpc-h-[50px] ncpc-w-[50px] lg:ncpc-h-[60px] lg:ncpc-w-[60px] ncpc-p-2 ${
                                                    E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }] ncpc-bg-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionBackgroundColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }] ncpc-bg-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionBackgroundColor
                                                        }]`
                                                  } ${
                                                    ze.value
                                                      ? `ncpc-border-[3px] ncpc-border-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionBorderColor
                                                        }] `
                                                      : `ncpc-border-[${
                                                          (0, c.R1)(j)
                                                            .optionBorderColor
                                                        }]`
                                                  } ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center ncpc-cursor-pointer  ncpc-flex ncpc-border-[3px] hover:ncpc-border-[${
                                                    (0, c.R1)(j)
                                                      .activeOptionBorderColor
                                                  }] hover:ncpc-h-[55px] hover:ncpc-w-[55px]  ncpc-rounded-lg ncpc-overflow-hidden ncpc-transition-all ncpc-duration-500 ncpc-ease-out`
                                                ),
                                              },
                                              [
                                                (0, c.Lk)(
                                                  "input",
                                                  {
                                                    type: "file",
                                                    class:
                                                      "ncpc-hidden ncpc-w-full ncpc-h-full",
                                                    accept: "image/*",
                                                    onChange: Fe,
                                                  },
                                                  null,
                                                  32
                                                ),
                                                b[23] ||
                                                  (b[23] = (0, c.Lk)(
                                                    "svg",
                                                    {
                                                      xmlns:
                                                        "http://www.w3.org/2000/svg",
                                                      fill: "none",
                                                      viewBox: "0 0 24 24",
                                                      "stroke-width": "1.5",
                                                      stroke: "currentColor",
                                                      class:
                                                        "ncpc-w-6 ncpc-h-6",
                                                    },
                                                    [
                                                      (0, c.Lk)("path", {
                                                        "stroke-linecap":
                                                          "round",
                                                        "stroke-linejoin":
                                                          "round",
                                                        d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5",
                                                      }),
                                                    ],
                                                    -1
                                                  )),
                                                (0, c.Lk)(
                                                  "span",
                                                  hs,
                                                  (0, c.v_)(
                                                    (0, c.R1)(B).languageImages
                                                      .images.previewImage
                                                      .uploadText
                                                  ),
                                                  1
                                                ),
                                              ],
                                              2
                                            ),
                                          ]))
                                        : (0, c.Q3)("v-if", !0),
                                      1 ==
                                      (0, c.R1)(B).languageImages.images
                                        .previewImage
                                        .displayDefaultBackgroundImage
                                        ? ((0, c.uX)(),
                                          (0, c.CE)("div", ms, [
                                            (0, c.Lk)(
                                              "span",
                                              {
                                                class: (0, c.C4)(
                                                  ("blue-gray" == Z.value
                                                    ? `ncpc-border-[1px] ncpc-border-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionBorderColor
                                                      }]`
                                                    : `ncpc-border-[${
                                                        (0, c.R1)(j)
                                                          .optionBorderColor
                                                      }]`) +
                                                    " ncpc-cursor-pointer ncpc-h-[50px] ncpc-w-[50px] lg:ncpc-h-[60px] lg:ncpc-w-[60px] ncpc-flex border ncpc-rounded-lg ncpc-overflow-hidden ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747]"
                                                ),
                                                onClick:
                                                  b[1] ||
                                                  (b[1] = () =>
                                                    _e("blue-gray")),
                                              },
                                              null,
                                              2
                                            ),
                                          ]))
                                        : (0, c.Q3)("v-if", !0),
                                      ((0, c.uX)(!0),
                                      (0, c.CE)(
                                        c.FK,
                                        null,
                                        (0, c.pI)(
                                          (0, c.R1)(B).languageImages.images
                                            .manageImages,
                                          (e, t) => (
                                            (0, c.uX)(),
                                            (0, c.CE)("div", vs, [
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    `ncpc-h-[50px] ncpc-w-[50px] lg:ncpc-h-[60px] lg:ncpc-w-[60px] ${
                                                      Z.value == e
                                                        ? `ncpc-opacity-[1] ncpc-border-[1px] ncpc-border-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionBorderColor
                                                          }]`
                                                        : `ncpc-border-[${
                                                            (0, c.R1)(j)
                                                              .optionBorderColor
                                                          }]`
                                                    } ncpc-cursor-pointer ncpc-flex ncpc-border-[1px] hover:ncpc-border-[${
                                                      (0, c.R1)(j)
                                                        .activeOptionBorderColor
                                                    }] ncpc-opacity-[.5] hover:ncpc-opacity-[1] ncpc-rounded-lg ncpc-overflow-hidden`
                                                  ),
                                                  onClick: () => _e(e),
                                                },
                                                [
                                                  (0, c.Lk)(
                                                    "img",
                                                    {
                                                      src: e,
                                                      alt: "",
                                                      class: (0, c.C4)(
                                                        "ncpc-w-full ncpc-h-full ncpc-object-cover"
                                                      ),
                                                    },
                                                    null,
                                                    8,
                                                    bs
                                                  ),
                                                ],
                                                10,
                                                gs
                                              ),
                                            ])
                                          )
                                        ),
                                        256
                                      )),
                                    ]),
                                    (0, c.R1)(B).languageImages.images
                                      .manageImages.length > 2
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "span",
                                          {
                                            key: 1,
                                            onClick:
                                              b[2] ||
                                              (b[2] = (e) => {
                                                return (
                                                  (t = "preview-scene"),
                                                  (Pe.value =
                                                    document.getElementById(t)),
                                                  void (Pe.value.scrollLeft += 150)
                                                );
                                                var t;
                                              }),
                                            class: (0, c.C4)(
                                              `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .activeOptionBorderColor
                                              }] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex icon-scroll`
                                            ),
                                          },
                                          b[24] ||
                                            (b[24] = [
                                              (0, c.Lk)(
                                                "svg",
                                                {
                                                  xmlns:
                                                    "http://www.w3.org/2000/svg",
                                                  fill: "none",
                                                  viewBox: "0 0 24 24",
                                                  "stroke-width": "2",
                                                  stroke: "currentColor",
                                                  class: "ncpc-w-6 ncpc-h-6",
                                                },
                                                [
                                                  (0, c.Lk)("path", {
                                                    "stroke-linecap": "round",
                                                    "stroke-linejoin": "round",
                                                    d: "M8.25 4.5l7.5 7.5-7.5 7.5",
                                                  }),
                                                ],
                                                -1
                                              ),
                                            ]),
                                          2
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                  ],
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]))
                        : (0, c.Q3)("v-if", !0),
                    ]),
                    "multi" == (0, c.R1)(B).generals.mode.type
                      ? ((0, c.uX)(),
                        (0, c.CE)(
                          "div",
                          {
                            key: 0,
                            id: "ncpc-selectableTextMessage-container",
                            class: (0, c.C4)([
                              "ncpc-absolute ncpc-z-10 ncpc-top-8 ncpc-left-[30%] ncpc-p-2 ncpc-w-fit ncpc-h-fit",
                              (E.value
                                ? `ncpc-bg-[${
                                    (0, c.R1)(j).darkBackgroundColor
                                  }] ncpc-text-[${
                                    (0, c.R1)(j).darkOptionTextColor
                                  }]`
                                : `ncpc-bg-[${
                                    (0, c.R1)(j).backgroundColor
                                  }] ncpc-text-[${
                                    (0, c.R1)(j).optionTextColor
                                  }]`) +
                                " ncpc-bg-white ncpc-rounded-lg ncpc-shadow",
                            ]),
                          },
                          [
                            (0, c.Lk)("div", xs, [
                              (0, c.Lk)(
                                "span",
                                {
                                  class: (0, c.C4)([
                                    `ncpc-flex ncpc-text-[${
                                      (0, c.R1)(j).activeButtonTextColor
                                    }] ${
                                      E.value
                                        ? `lg:ncpc-text-[${
                                            (0, c.R1)(j)
                                              .darkActiveButtonTextColor
                                          }] `
                                        : `lg:ncpc-text-[${
                                            (0, c.R1)(j).activeButtonColor
                                          }] `
                                    }`,
                                    "ncpc-cursor-pointer",
                                  ]),
                                  onClick:
                                    b[3] ||
                                    (b[3] = (e) =>
                                      Me((0, c.R1)(B)?.infos?.sizes)),
                                },
                                b[25] ||
                                  (b[25] = [
                                    (0, c.Lk)(
                                      "svg",
                                      {
                                        xmlns: "http://www.w3.org/2000/svg",
                                        fill: "none",
                                        viewBox: "0 0 24 24",
                                        strokeWidth: "{1.5}",
                                        stroke: "currentColor",
                                        class: "ncpc-w-6 ncpc-h-6",
                                      },
                                      [
                                        (0, c.Lk)("path", {
                                          strokeLinecap: "round",
                                          strokeLinejoin: "round",
                                          d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                        }),
                                      ],
                                      -1
                                    ),
                                  ]),
                                2
                              ),
                              (0, c.Lk)(
                                "span",
                                null,
                                (0, c.v_)(
                                  (0, c.R1)(B).languageImages.main
                                    ?.selectableTextMessage ??
                                    "Click on a text to select and edit it."
                                ),
                                1
                              ),
                            ]),
                          ],
                          2
                        ))
                      : (0, c.Q3)("v-if", !0),
                    (0, c.Lk)("div", ws, [
                      (0, c.Lk)("div", ys, [
                        (0, c.Lk)("div", null, [
                          1 ==
                          (0, c.R1)(B).generals.customizer.showDayNightButton
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "span",
                                {
                                  key: 0,
                                  onClick:
                                    b[4] ||
                                    (b[4] = (e) => {
                                      P.value = !P.value;
                                    }),
                                  class:
                                    "ncpc-cursor-pointer ncpc-relative ncpc-h-[45px] ncpc-w-[90px] ncpc-bg-zinc-300 ncpc-border ncpc-flex ncpc-justify-between ncpc-items-center ncpc-rounded-lg ncpc-overflow-hidden ncpc-switch",
                                },
                                [
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        `${
                                          P.value
                                            ? "ncpc-left-0"
                                            : "ncpc-translate-x-[100%]"
                                        } ncpc-translate-x ncpc-absolute ncpc-w-[50%] ncpc-bg-[${
                                          (0, c.R1)(j).activeButtonColor
                                        }] ncpc-h-[90%] ncpc-transition-all ncpc-ease-in ncpc-duration-200 ncpc-z-0 ncpc-rounded-lg`
                                      ),
                                    },
                                    null,
                                    2
                                  ),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (P.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(j).activeButtonTextColor
                                            }]`
                                          : "") +
                                          " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                      ),
                                    },
                                    (0, c.v_)(
                                      (0, c.R1)(B).languageImages.visualizer
                                        .visualizerOn
                                    ),
                                    3
                                  ),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (P.value
                                          ? ""
                                          : `ncpc-text-[${
                                              (0, c.R1)(j).activeButtonTextColor
                                            }]`) +
                                          " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                      ),
                                    },
                                    (0, c.v_)(
                                      (0, c.R1)(B).languageImages.visualizer
                                        .visualizerOff
                                    ),
                                    3
                                  ),
                                ]
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                        (0, c.Lk)("div", null, [
                          1 == (0, c.R1)(B).generals.customizer.shadowSwitch
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "span",
                                {
                                  key: 0,
                                  onClick:
                                    b[5] ||
                                    (b[5] = (e) => (
                                      (H.value = !H.value), void eo(H.value)
                                    )),
                                  class:
                                    "ncpc-cursor-pointer ncpc-relative ncpc-h-[45px] ncpc-w-[90px] ncpc-bg-zinc-300 ncpc-border ncpc-flex ncpc-justify-between ncpc-items-center ncpc-rounded-lg ncpc-overflow-hidden ncpc-switch",
                                },
                                [
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        `${
                                          H.value
                                            ? "ncpc-left-0"
                                            : "ncpc-translate-x-[100%]"
                                        } ncpc-translate-x ncpc-absolute ncpc-w-[50%] ncpc-bg-[${
                                          (0, c.R1)(j).activeButtonColor
                                        }] ncpc-h-[90%] ncpc-transition-all ncpc-ease-in ncpc-duration-200 ncpc-z-0 ncpc-rounded-lg`
                                      ),
                                    },
                                    null,
                                    2
                                  ),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (H.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(j).activeButtonTextColor
                                            }]`
                                          : "") +
                                          " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                      ),
                                    },
                                    (0, c.v_)(
                                      (0, c.R1)(B).languageImages.visualizer
                                        .visualizerOn
                                    ),
                                    3
                                  ),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (H.value
                                          ? ""
                                          : `ncpc-text-[${
                                              (0, c.R1)(j).activeButtonTextColor
                                            }]`) +
                                          " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                      ),
                                    },
                                    (0, c.v_)(
                                      (0, c.R1)(B).languageImages.visualizer
                                        .visualizerOff
                                    ),
                                    3
                                  ),
                                ]
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                      ]),
                      (0, c.Lk)("div", ks, [
                        en.value
                          ? (0, c.Q3)("v-if", !0)
                          : ((0, c.uX)(),
                            (0, c.CE)(
                              "button",
                              {
                                key: 0,
                                onClick: tn,
                                type: "button",
                                class:
                                  "ncpc-bg-transparent ncpc-border-0 ncpc-border-[0.5px] ncpc-border-solid ncpc-border-[#afafaf] ncpc-rounded-[5px] ncpc-bottom-[35px] ncpc-flex ncpc-justify-center ncpc-items-center ncpc-transition-[bottom] ncpc-duration-300 ncpc-ease-ease ncpc-left-5 ncpc-min-w-[30px] ncpc-min-h-[30px] ncpc-mr-[5px] ncpc-text-white ncpc-p-1 hover:ncpc-bg-none",
                              },
                              b[26] ||
                                (b[26] = [
                                  (0, c.Fv)(
                                    '<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-image-plus"><path d="M16 5h6"></path><path d="M19 2v6"></path><path d="M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5"></path><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"></path><circle cx="9" cy="9" r="2"></circle></svg>',
                                    1
                                  ),
                                ])
                            )),
                        en.value
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "button",
                              {
                                key: 1,
                                onClick: tn,
                                type: "button",
                                class:
                                  "ncpc-bg-transparent ncpc-border-0 ncpc-border-[0.5px] ncpc-border-solid ncpc-border-[#afafaf] ncpc-rounded-[5px] ncpc-bottom-[35px] ncpc-flex ncpc-justify-center ncpc-items-center ncpc-transition-[bottom] ncpc-duration-300 ncpc-ease-ease ncpc-left-5 ncpc-min-w-[30px] ncpc-min-h-[30px] ncpc-mr-[5px] ncpc-text-white ncpc-p-1 ncpc-bottom-[85px] hover:ncpc-bg-none",
                              },
                              b[27] ||
                                (b[27] = [
                                  (0, c.Lk)(
                                    "svg",
                                    {
                                      width: "25",
                                      height: "25",
                                      viewBox: "0 0 14 13",
                                      fill: "none",
                                      xmlns: "http://www.w3.org/2000/svg",
                                    },
                                    [
                                      (0, c.Lk)("path", {
                                        d: "M9.50781 6.25L13.0234 2.73438C13.4805 2.3125 13.4805 1.60938 13.0234 1.1875L12.25 0.414062C11.8281 -0.0429688 11.125 -0.0429688 10.7031 0.414062L7.1875 3.92969L3.63672 0.414062C3.21484 -0.0429688 2.51172 -0.0429688 2.08984 0.414062L1.31641 1.1875C0.859375 1.60938 0.859375 2.3125 1.31641 2.73438L4.83203 6.25L1.31641 9.80078C0.859375 10.2227 0.859375 10.9258 1.31641 11.3477L2.08984 12.1211C2.51172 12.5781 3.21484 12.5781 3.63672 12.1211L7.1875 8.60547L10.7031 12.1211C11.125 12.5781 11.8281 12.5781 12.25 12.1211L13.0234 11.3477C13.4805 10.9258 13.4805 10.2227 13.0234 9.80078L9.50781 6.25Z",
                                        fill: "currentColor",
                                      }),
                                    ],
                                    -1
                                  ),
                                ])
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ]),
                    ]),
                    (0, c.Lk)("div", Cs, [
                      (0, c.Lk)("div", Rs, [
                        (0, c.Lk)(
                          "div",
                          {
                            class: (0, c.C4)(
                              `ncpc-text-[${(0, c.R1)(j).beforePriceColor}]'`
                            ),
                          },
                          (0, c.v_)(
                            (0, c.R1)(B).languageImages.main
                              .textBeforePriceValue
                          ),
                          3
                        ),
                        "none" != (0, c.R1)(B).generals.customizer.discount
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "del",
                              {
                                key: 0,
                                class: (0, c.C4)(
                                  "ncpc-text-2xl ncpc-font-bold lg:ncpc-text-[24px] " +
                                    (E.value
                                      ? `ncpc-text-[${
                                          (0, c.R1)(j).darkDiscountPriceColor
                                        }]`
                                      : `ncpc-text-[${
                                          (0, c.R1)(j).discountPriceColor
                                        }]`)
                                ),
                              },
                              (0, c.v_)(Q.value),
                              3
                            ))
                          : (0, c.Q3)("v-if", !0),
                        (0, c.Lk)(
                          "span",
                          {
                            class: (0, c.C4)([
                              "ncpc_total_price ncpc-text-2xl ncpc-font-bold lg:ncpc-text-[24px] ncpc-text-center ncpc-font-semibold text-shadow-xl",
                              `ncpc-text-[${
                                (0, c.R1)(j).priceColor
                              }] ncpc-font-bold ncpc-text-center`,
                            ]),
                          },
                          (0, c.v_)(W.value),
                          3
                        ),
                      ]),
                      (0, c.Lk)("div", Os, [
                        (0, c.Lk)(
                          "div",
                          {
                            class: (0, c.C4)(
                              `ncpc-text-[${
                                (0, c.R1)(j).afterPriceColor
                              }]' ncpc-font-semibold ncpc-text-white ncpc-text-[15px]`
                            ),
                          },
                          (0, c.v_)(
                            (0, c.R1)(B).languageImages.main.textAfterPriceValue
                          ),
                          3
                        ),
                      ]),
                    ]),
                    (0, c.Lk)(
                      "div",
                      {
                        id: "ncpc-mini-options",
                        class: (0, c.C4)(
                          `ncpc-absolute ncpc-hidden ncpc-w-fit ncpc-h-fit ${
                            E.value
                              ? `ncpc-bg-[${
                                  (0, c.R1)(j).darkOptionsSectionBackgroundColor
                                }] ncpc-text-white`
                              : `ncpc-bg-[${
                                  (0, c.R1)(j).optionsSectionBackgroundColor
                                }] ncpc-text-black`
                          } ncpc-p-3 ncpc-rounded ncpc-z-10`
                        ),
                      },
                      [
                        (0, c.Lk)("div", $s, [
                          (0, c.R1)(At).allowMultiFonts &&
                          "text" == (0, c.R1)(Mt)
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 0,
                                  onClick:
                                    b[6] ||
                                    (b[6] = () => {
                                      !(function () {
                                        (Ve.value = !Ve.value),
                                          (it.value =
                                            ut.value =
                                            ht.value =
                                            gt.value =
                                            wt.value =
                                              !1);
                                        var e = Ee.getActiveObject();
                                        Ge.value = e.fontFamilyData;
                                      })();
                                    }),
                                  class: (0, c.C4)(
                                    `ncpc-relative ${
                                      E.value
                                        ? `ncpc-text-[${
                                            (0, c.R1)(j).darkOptionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(j)
                                              .darkActiveOptionTextColor
                                          }]`
                                        : `ncpc-text-[${
                                            (0, c.R1)(j).optionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(j).activeOptionTextColor
                                          }]`
                                    } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                  ),
                                  style: { "box-shadow": "1px 2px 6px grey" },
                                },
                                [
                                  (0, c.Lk)(
                                    "p",
                                    {
                                      class: (0, c.C4)(
                                        `ncpc-font-[${
                                          (0, c.R1)(jt).fontFamily
                                        }]`
                                      ),
                                    },
                                    (0, c.v_)((0, c.R1)(jt).fontFamily),
                                    3
                                  ),
                                  (0, c.R1)(Ve)
                                    ? (0, c.Q3)("v-if", !0)
                                    : ((0, c.uX)(),
                                      (0, c.CE)(
                                        "span",
                                        Ls,
                                        b[28] ||
                                          (b[28] = [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                viewBox: "0 0 20 20",
                                                fill: "currentColor",
                                                class: "ncpc-w-5 ncpc-h-5",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  "fill-rule": "evenodd",
                                                  d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
                                                  "clip-rule": "evenodd",
                                                }),
                                              ],
                                              -1
                                            ),
                                          ])
                                      )),
                                  (0, c.R1)(Ve)
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "span",
                                        Ss,
                                        b[29] ||
                                          (b[29] = [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                viewBox: "0 0 20 20",
                                                fill: "currentColor",
                                                class: "ncpc-w-5 ncpc-h-5",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  "fill-rule": "evenodd",
                                                  d: "M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",
                                                  "clip-rule": "evenodd",
                                                }),
                                              ],
                                              -1
                                            ),
                                          ])
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (E.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(j)
                                                .darkActiveOptionTextColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(j).activeOptionTextColor
                                            }]`) +
                                          " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                      ),
                                    },
                                    (0, c.v_)(ce.value.length),
                                    3
                                  ),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "neon" == t.productType &&
                          (0, c.R1)(At).allowMultiColors
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 1,
                                  onClick:
                                    b[7] ||
                                    (b[7] = () => {
                                      !(function () {
                                        (it.value = !it.value),
                                          (Ve.value =
                                            ut.value =
                                            ht.value =
                                            gt.value =
                                            wt.value =
                                              !1);
                                        var e = Ee.getActiveObject();
                                        lt.value = e.colorData;
                                      })();
                                    }),
                                  class: (0, c.C4)(
                                    `ncpc-relative ${
                                      E.value
                                        ? `ncpc-text-[${
                                            (0, c.R1)(j).darkOptionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(j)
                                              .darkActiveOptionTextColor
                                          }]`
                                        : `ncpc-text-[${
                                            (0, c.R1)(j).optionTextColor
                                          }] hover:ncpc-text-[${
                                            (0, c.R1)(j).activeOptionTextColor
                                          }]`
                                    } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                  ),
                                  style: { "box-shadow": "1px 2px 6px grey" },
                                },
                                [
                                  (0, c.Q3)(
                                    " {{requiredOptions.colorOptions.label && requiredOptions.colorOptions.label.trim() !== '' ? requiredOptions.colorOptions.label : \"Colors\"}} "
                                  ),
                                  (0, c.R1)(jt) != {}
                                    ? ((0, c.uX)(),
                                      (0, c.CE)("div", Es, [
                                        (0, c.Lk)(
                                          "p",
                                          Is,
                                          (0, c.v_)(
                                            (0, c.R1)(jt).colorData.label
                                          ),
                                          1
                                        ),
                                        (0, c.Lk)("div", Ts, [
                                          "" ==
                                          (0, c.R1)(jt).colorData.previewImg
                                            ? ((0, c.uX)(),
                                              (0, c.CE)("div", As, [
                                                "simple" ==
                                                (0, c.R1)(jt).colorData.type
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)(
                                                      "div",
                                                      {
                                                        key: 0,
                                                        class: (0, c.C4)(
                                                          `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                            (0, c.R1)(jt)
                                                              .colorData.codeHex
                                                          }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                        ),
                                                      },
                                                      null,
                                                      2
                                                    ))
                                                  : (0, c.Q3)("v-if", !0),
                                                "multi" ==
                                                  (0, c.R1)(jt).colorData
                                                    .type ||
                                                "flow" ==
                                                  (0, c.R1)(jt).colorData.type
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)(
                                                      "div",
                                                      {
                                                        key: 1,
                                                        class: (0, c.C4)(
                                                          `ncpc-bg-gradient-to-br ncpc-from-[${
                                                            (0, c.R1)(jt)
                                                              .colorData
                                                              .codeHex[0]
                                                          }] ncpc-via-[${
                                                            (0, c.R1)(jt)
                                                              .colorData.codeHex
                                                          }]  ncpc-w-full ncpc-h-full`
                                                        ),
                                                      },
                                                      null,
                                                      2
                                                    ))
                                                  : (0, c.Q3)("v-if", !0),
                                              ]))
                                            : (0, c.Q3)("v-if", !0),
                                          "" !=
                                          (0, c.R1)(jt).colorData.previewImg
                                            ? ((0, c.uX)(),
                                              (0, c.CE)("div", Bs, [
                                                (0, c.Lk)(
                                                  "img",
                                                  {
                                                    src: (0, c.R1)(jt).colorData
                                                      .previewImg,
                                                    class:
                                                      "ncpc-w-full ncpc-h-full",
                                                  },
                                                  null,
                                                  8,
                                                  Ms
                                                ),
                                              ]))
                                            : (0, c.Q3)("v-if", !0),
                                        ]),
                                      ]))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.Lk)(
                                    "span",
                                    {
                                      class: (0, c.C4)(
                                        (E.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(j)
                                                .darkActiveOptionTextColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(j).activeOptionTextColor
                                            }]`) +
                                          " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                      ),
                                    },
                                    (0, c.v_)(ie.value.length),
                                    3
                                  ),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "channel" == t.productType &&
                          (0, c.R1)(At).allowMultiColors
                            ? ((0, c.uX)(!0),
                              (0, c.CE)(
                                c.FK,
                                { key: 2 },
                                (0, c.pI)(
                                  ue.value.letterParts,
                                  (e, t) => (
                                    (0, c.uX)(),
                                    (0, c.CE)("div", null, [
                                      "face" == e.type && e.activate
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 0,
                                              onClick:
                                                b[8] ||
                                                (b[8] = () => {
                                                  !(function () {
                                                    (ut.value = !ut.value),
                                                      (Ve.value =
                                                        it.value =
                                                        ht.value =
                                                        gt.value =
                                                        wt.value =
                                                          !1);
                                                    var e =
                                                      Ee.getActiveObject();
                                                    dt.value = e.faceColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  E.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(jt) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", js, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", _s, [
                                                      "" ==
                                                      (0, c.R1)(jt)
                                                        .faceColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", zs, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      jt
                                                                    )
                                                                      .faceColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(jt)
                                                        .faceColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Fs, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  jt
                                                                ).faceColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              Ds
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(de.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "trim" == e.type &&
                                      e.activate &&
                                      e.colors.length >= 1
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 1,
                                              onClick:
                                                b[9] ||
                                                (b[9] = () => {
                                                  !(function () {
                                                    (ht.value = !ht.value),
                                                      (Ve.value =
                                                        it.value =
                                                        ut.value =
                                                        gt.value =
                                                        wt.value =
                                                          !1);
                                                    var e =
                                                      Ee.getActiveObject();
                                                    mt.value = e.trimColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  E.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(jt) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Ps, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", Hs, [
                                                      "" ==
                                                      (0, c.R1)(jt)
                                                        .trimColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Xs, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      jt
                                                                    )
                                                                      .trimColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(jt)
                                                        .trimColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Ns, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  jt
                                                                ).trimColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              Qs
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(fe.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "side" == e.type &&
                                      e.activate &&
                                      e.colors.length >= 1
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 2,
                                              onClick:
                                                b[10] ||
                                                (b[10] = () => {
                                                  !(function () {
                                                    (gt.value = !gt.value),
                                                      (Ve.value =
                                                        it.value =
                                                        ut.value =
                                                        ht.value =
                                                        wt.value =
                                                          !1);
                                                    var e =
                                                      Ee.getActiveObject();
                                                    bt.value = e.sideColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  E.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(jt) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Ws, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", Us, [
                                                      "" ==
                                                      (0, c.R1)(jt)
                                                        .sideColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Ks, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      jt
                                                                    )
                                                                      .sideColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(jt)
                                                        .sideColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", qs, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  jt
                                                                ).sideColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              Vs
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(he.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "back-lit" == e.type &&
                                      e.activate &&
                                      e.colors.length >= 1
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "div",
                                            {
                                              key: 3,
                                              onClick:
                                                b[11] ||
                                                (b[11] = () => {
                                                  !(function () {
                                                    (wt.value = !wt.value),
                                                      (Ve.value =
                                                        it.value =
                                                        ut.value =
                                                        ht.value =
                                                        gt.value =
                                                          !1);
                                                    var e =
                                                      Ee.getActiveObject();
                                                    yt.value =
                                                      e.backLitColorData;
                                                  })();
                                                }),
                                              class: (0, c.C4)(
                                                `ncpc-relative ${
                                                  E.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkOptionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkActiveOptionTextColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .optionTextColor
                                                      }] hover:ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionTextColor
                                                      }]`
                                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                              ),
                                              style: {
                                                "box-shadow":
                                                  "1px 2px 6px grey",
                                              },
                                            },
                                            [
                                              (0, c.R1)(jt) != {}
                                                ? ((0, c.uX)(),
                                                  (0, c.CE)("div", Gs, [
                                                    (0, c.Q3)(
                                                      ' <p :class="``">{{ letterPart.label }}</p> '
                                                    ),
                                                    (0, c.Lk)("div", Ys, [
                                                      "" ==
                                                      (0, c.R1)(jt)
                                                        .backLitColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Zs, [
                                                            (0, c.Lk)(
                                                              "div",
                                                              {
                                                                class: (0,
                                                                c.C4)(
                                                                  `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                    (0, c.R1)(
                                                                      jt
                                                                    )
                                                                      .backLitColorData
                                                                      .codeHex
                                                                  }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                ),
                                                              },
                                                              null,
                                                              2
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" !=
                                                      (0, c.R1)(jt)
                                                        .backLitColorData
                                                        .previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", Js, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: (0, c.R1)(
                                                                  jt
                                                                )
                                                                  .backLitColorData
                                                                  .previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              ep
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ]),
                                                  ]))
                                                : (0, c.Q3)("v-if", !0),
                                              (0, c.Lk)(
                                                "span",
                                                {
                                                  class: (0, c.C4)(
                                                    (E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`) +
                                                      " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                  ),
                                                },
                                                (0, c.v_)(ve.value.length),
                                                3
                                              ),
                                            ],
                                            2
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ])
                                  )
                                ),
                                256
                              ))
                            : (0, c.Q3)("v-if", !0),
                          (0, c.Lk)(
                            "div",
                            {
                              onClick:
                                b[12] ||
                                (b[12] = () => {
                                  !(function () {
                                    if ("neon" == t.productType)
                                      st(jt.value.colorData),
                                        "text" == Mt.value &&
                                          Ye(jt.value.fontFamilyData);
                                    else {
                                      let e = ue.value.letterParts;
                                      ft(jt.value.faceColorData),
                                        e[1].activate &&
                                          vt(jt.value.trimColorData),
                                        e[2].activate &&
                                          xt(jt.value.sideColorData),
                                        e[3].activate &&
                                          kt(jt.value.backLitColorData),
                                        "text" == Mt.value &&
                                          Ye(jt.value.fontFamilyData);
                                    }
                                  })();
                                }),
                              class: (0, c.C4)(
                                `ncpc-relative ${
                                  E.value
                                    ? `ncpc-text-[${
                                        (0, c.R1)(j).darkOptionTextColor
                                      }] hover:ncpc-text-[${
                                        (0, c.R1)(j).darkActiveOptionTextColor
                                      }]`
                                    : `ncpc-text-[${
                                        (0, c.R1)(j).optionTextColor
                                      }] hover:ncpc-text-[${
                                        (0, c.R1)(j).activeOptionTextColor
                                      }]`
                                } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                              ),
                              style: { "box-shadow": "1px 2px 6px grey" },
                            },
                            [
                              (0, c.Lk)(
                                "p",
                                null,
                                (0, c.v_)(
                                  (0, c.R1)(B).languageImages.main.applyToAll ??
                                    "Apply to all"
                                ),
                                1
                              ),
                              b[30] ||
                                (b[30] = (0, c.Lk)(
                                  "span",
                                  { class: "ncpc-flex" },
                                  [
                                    (0, c.Lk)(
                                      "svg",
                                      {
                                        xmlns: "http://www.w3.org/2000/svg",
                                        fill: "none",
                                        viewBox: "0 0 24 24",
                                        "stroke-width": "1.5",
                                        stroke: "currentColor",
                                        class: "ncpc-w-5 ncpc-h-5",
                                      },
                                      [
                                        (0, c.Lk)("path", {
                                          "stroke-linecap": "round",
                                          "stroke-linejoin": "round",
                                          d: "M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6",
                                        }),
                                      ]
                                    ),
                                  ],
                                  -1
                                )),
                            ],
                            2
                          ),
                        ]),
                        (0, c.R1)(Ve) && "text" == (0, c.R1)(Mt)
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 0,
                                class: (0, c.C4)(
                                  `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                    E.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                ),
                              },
                              [
                                (0, c.Lk)("div", tp, [
                                  "both" != (0, c.R1)(M)
                                    ? ((0, c.uX)(!0),
                                      (0, c.CE)(
                                        c.FK,
                                        { key: 0 },
                                        (0, c.pI)(
                                          (0, c.R1)(I).fontOptions.fonts,
                                          (e, t) => (
                                            (0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                class:
                                                  "ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-center ncpc-w-fit ncpc-h-fit",
                                                onClick: (t) => Ye(e, !0),
                                              },
                                              [
                                                (0, c.Lk)(
                                                  "label",
                                                  {
                                                    class: (0, c.C4)(
                                                      `${
                                                        E.value
                                                          ? `${
                                                              (0, c.R1)(Ge) ===
                                                              e
                                                                ? `ncpc-selected ncpc-text-[${
                                                                    (0, c.R1)(j)
                                                                      .darkActiveOptionTextColor
                                                                  }] ncpc-bg-[${
                                                                    (0, c.R1)(j)
                                                                      .darkActiveOptionBackgroundColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(j)
                                                                      .darkActiveOptionBorderColor
                                                                  }]`
                                                                : `ncpc-text-[${
                                                                    (0, c.R1)(j)
                                                                      .darkOptionTextColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(j)
                                                                      .darkOptionBorderColor
                                                                  }]`
                                                            } hover:ncpc-text-[${
                                                              (0, c.R1)(j)
                                                                .darkActiveOptionTextColor
                                                            }] hover:ncpc-border-[${
                                                              (0, c.R1)(j)
                                                                .darkActiveOptionBorderColor
                                                            }]`
                                                          : `${
                                                              (0, c.R1)(Ge) ===
                                                              e
                                                                ? `ncpc-text-[${
                                                                    (0, c.R1)(j)
                                                                      .activeOptionTextColor
                                                                  }] ncpc-bg-[${
                                                                    (0, c.R1)(j)
                                                                      .activeOptionBackgroundColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(j)
                                                                      .activeOptionBorderColor
                                                                  }]`
                                                                : `ncpc-text-[${
                                                                    (0, c.R1)(j)
                                                                      .optionTextColor
                                                                  }] ncpc-border-[${
                                                                    (0, c.R1)(j)
                                                                      .optionBorderColor
                                                                  }]`
                                                            } hover:ncpc-text-[${
                                                              (0, c.R1)(j)
                                                                .activeOptionTextColor
                                                            }] hover:ncpc-border-[${
                                                              (0, c.R1)(j)
                                                                .activeOptionBorderColor
                                                            }]`
                                                      } \n                                    ncpc-font-[${e.label
                                                        .replaceAll(" ", "-")
                                                        .replaceAll(
                                                          "_",
                                                          "-"
                                                        )}] ncpc-justify-center ncpc-w-full ncpc-h-full ncpc-border ncpc-text-[17px] ncpc-rounded-md ncpc-p-2 ncpc-text-center ncpc-cursor-pointer ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-options-item`
                                                    ),
                                                  },
                                                  (0, c.v_)(e.label),
                                                  3
                                                ),
                                              ],
                                              8,
                                              np
                                            )
                                          )
                                        ),
                                        256
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  "both" == (0, c.R1)(M)
                                    ? ((0, c.uX)(!0),
                                      (0, c.CE)(
                                        c.FK,
                                        { key: 1 },
                                        (0, c.pI)(
                                          (0, c.R1)(I).fontOptions.fonts,
                                          (e, t) => (
                                            (0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: t,
                                                class: (0, c.C4)([
                                                  "ncpc-options-item ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-between ncpc-w-[80px] ncpc-h-[100px] ncpc-gap-2 ncpc-border ncpc-rounded",
                                                  "" +
                                                    (E.value
                                                      ? `${
                                                          (0, c.R1)(Ge) === e
                                                            ? `ncpc-text-[${
                                                                (0, c.R1)(j)
                                                                  .darkActiveOptionTextColor
                                                              }] ncpc-bg-[${
                                                                (0, c.R1)(j)
                                                                  .darkActiveOptionBackgroundColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .darkActiveOptionBorderColor
                                                              }]`
                                                            : `ncpc-text-[${
                                                                (0, c.R1)(j)
                                                                  .darkOptionTextColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .darkOptionBorderColor
                                                              }]`
                                                        } hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }] hover:ncpc-border-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionBorderColor
                                                        }]`
                                                      : `${
                                                          (0, c.R1)(Ge) === e
                                                            ? `ncpc-text-[${
                                                                (0, c.R1)(j)
                                                                  .activeOptionTextColor
                                                              }] ncpc-bg-[${
                                                                (0, c.R1)(j)
                                                                  .activeOptionBackgroundColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .activeOptionBorderColor
                                                              }]`
                                                            : `ncpc-text-[${
                                                                (0, c.R1)(j)
                                                                  .optionTextColor
                                                              }] ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .optionBorderColor
                                                              }]`
                                                        } hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }] hover:ncpc-border-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionBorderColor
                                                        }]`),
                                                ]),
                                                onClick: (t) => Ye(e, !0),
                                              },
                                              [
                                                (0, c.Lk)("div", ap, [
                                                  (0, c.Lk)(
                                                    "img",
                                                    {
                                                      src: e.previewImg,
                                                      class:
                                                        "ncpc-w-auto ncpc-h-full ncpc-object-contain",
                                                    },
                                                    null,
                                                    8,
                                                    rp
                                                  ),
                                                ]),
                                                (0, c.Lk)(
                                                  "div",
                                                  {
                                                    class: (0, c.C4)([
                                                      "ncpc-fonts-label ncpc-w-full ncpc-text-center ncpc-text-sm ncpc-truncate",
                                                      `ncpc-font-[${e.label
                                                        .replaceAll(" ", "-")
                                                        .replaceAll(
                                                          "_",
                                                          "-"
                                                        )}]`,
                                                    ]),
                                                  },
                                                  [
                                                    (0, c.Lk)(
                                                      "span",
                                                      null,
                                                      (0, c.v_)(e.label),
                                                      1
                                                    ),
                                                  ],
                                                  2
                                                ),
                                              ],
                                              10,
                                              cp
                                            )
                                          )
                                        ),
                                        128
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "neon" == t.productType && (0, c.R1)(it)
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 1,
                                class: (0, c.C4)(
                                  `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                    E.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                ),
                              },
                              [
                                (0, c.Lk)("div", op, [
                                  ((0, c.uX)(!0),
                                  (0, c.CE)(
                                    c.FK,
                                    null,
                                    (0, c.pI)(
                                      (0, c.R1)(I).colorOptions.colors,
                                      (e, t) => (
                                        (0, c.uX)(),
                                        (0, c.CE)("div", ip, [
                                          ("one-of-two" == e.visibilityRule &&
                                            (re.value.cm.width >=
                                              parseFloat(e.minWidth) ||
                                              re.value.cm.height >=
                                                parseFloat(e.minHeight))) ||
                                          ("both" == e.visibilityRule &&
                                            re.value.cm.width >=
                                              parseFloat(e.minWidth) &&
                                            re.value.cm.height >=
                                              parseFloat(e.minHeight))
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                {
                                                  key: 0,
                                                  onClick: (t) => st(e, !0),
                                                  class: (0, c.C4)(
                                                    `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                      ie.value.some(
                                                        (t) => t == e
                                                      )
                                                        ? "" +
                                                          (E.value
                                                            ? `ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .darkActiveOptionBorderColor
                                                              }]`
                                                            : `ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .activeOptionBorderColor
                                                              }]`)
                                                        : E.value
                                                        ? `ncpc-border-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionBorderColor
                                                          }]`
                                                        : `ncpc-border-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionBorderColor
                                                          }]`
                                                    } ncpc-rounded-lg`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)(
                                                    "label",
                                                    {
                                                      class: (0, c.C4)(
                                                        `${
                                                          (0, c.R1)(lt) == e
                                                            ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                e.codeHex[0]
                                                              }] ${
                                                                E.value
                                                                  ? `ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .darkActiveOptionBorderColor
                                                                    }]`
                                                                  : `ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .activeOptionBorderColor
                                                                    }]`
                                                              }`
                                                            : ""
                                                        } ncpc-bg-[${
                                                          e.codeHex
                                                        }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                          e.codeHex[0]
                                                        }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                      ),
                                                    },
                                                    [
                                                      "" == e.previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", sp, [
                                                            "simple" == e.type
                                                              ? ((0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  pp,
                                                                  b[31] ||
                                                                    (b[31] = [
                                                                      (0, c.Lk)(
                                                                        "svg",
                                                                        {
                                                                          xmlns:
                                                                            "http://www.w3.org/2000/svg",
                                                                          viewBox:
                                                                            "0 0 24 24",
                                                                          fill: "transparent",
                                                                          class:
                                                                            "w-9 h-9",
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "path",
                                                                            {
                                                                              d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                            }
                                                                          ),
                                                                          (0,
                                                                          c.Lk)(
                                                                            "path",
                                                                            {
                                                                              "fill-rule":
                                                                                "evenodd",
                                                                              d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                              "clip-rule":
                                                                                "evenodd",
                                                                            }
                                                                          ),
                                                                        ],
                                                                        -1
                                                                      ),
                                                                    ])
                                                                ))
                                                              : (0, c.Q3)(
                                                                  "v-if",
                                                                  !0
                                                                ),
                                                            "multi" == e.type ||
                                                            "flow" == e.type
                                                              ? ((0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  {
                                                                    key: 1,
                                                                    class: (0,
                                                                    c.C4)(
                                                                      `ncpc-bg-gradient-to-br ncpc-from-[${e.codeHex[0]}] ncpc-via-[${e.codeHex}]  ncpc-w-full ncpc-h-full ncpc-p-4`
                                                                    ),
                                                                  },
                                                                  null,
                                                                  2
                                                                ))
                                                              : (0, c.Q3)(
                                                                  "v-if",
                                                                  !0
                                                                ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                      "" != e.previewImg
                                                        ? ((0, c.uX)(),
                                                          (0, c.CE)("div", up, [
                                                            (0, c.Lk)(
                                                              "img",
                                                              {
                                                                src: e.previewImg,
                                                                class:
                                                                  "ncpc-w-full ncpc-h-full",
                                                              },
                                                              null,
                                                              8,
                                                              dp
                                                            ),
                                                          ]))
                                                        : (0, c.Q3)("v-if", !0),
                                                    ],
                                                    2
                                                  ),
                                                ],
                                                10,
                                                lp
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                        ])
                                      )
                                    ),
                                    256
                                  )),
                                ]),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                        "channel" == t.productType &&
                        ((0, c.R1)(ut) ||
                          (0, c.R1)(ht) ||
                          (0, c.R1)(gt) ||
                          (0, c.R1)(wt))
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "div",
                              {
                                key: 2,
                                class: (0, c.C4)(
                                  `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                    E.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .darkOptionsSectionBackgroundColor
                                        }] ncpc-text-white`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .optionsSectionBackgroundColor
                                        }] ncpc-text-black`
                                  } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                ),
                              },
                              [
                                (0, c.Lk)("div", fp, [
                                  ue.value.letterParts
                                    ? ((0, c.uX)(),
                                      (0, c.CE)("div", hp, [
                                        ((0, c.uX)(!0),
                                        (0, c.CE)(
                                          c.FK,
                                          null,
                                          (0, c.pI)(
                                            ue.value.letterParts,
                                            (e, t) => (
                                              (0, c.uX)(),
                                              (0, c.CE)("div", mp, [
                                                (0, c.R1)(ut) &&
                                                "face" == e.type &&
                                                e.activate
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", vp, [
                                                      (0, c.Lk)("div", gp, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                bp,
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    re.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          onClick:
                                                                            (
                                                                              t
                                                                            ) =>
                                                                              ft(
                                                                                e,
                                                                                !0
                                                                              ),
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                de.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      dt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          E.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    wp,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            yp,
                                                                                            b[32] ||
                                                                                              (b[32] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    kp,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        Cp
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        10,
                                                                        xp
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ]
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.R1)(ht) &&
                                                "trim" == e.type &&
                                                e.activate &&
                                                e.colors.length >= 1
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", Rp, [
                                                      (0, c.Lk)("div", Op, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                $p,
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    re.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          onClick:
                                                                            (
                                                                              t
                                                                            ) =>
                                                                              vt(
                                                                                e,
                                                                                !0
                                                                              ),
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                fe.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      mt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          E.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Sp,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            Ep,
                                                                                            b[33] ||
                                                                                              (b[33] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Ip,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        Tp
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        10,
                                                                        Lp
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ]
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.R1)(gt) &&
                                                "side" == e.type &&
                                                e.activate &&
                                                e.colors.length >= 1
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", Ap, [
                                                      (0, c.Lk)("div", Bp, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                Mp,
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    re.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          onClick:
                                                                            (
                                                                              t
                                                                            ) =>
                                                                              xt(
                                                                                e,
                                                                                !0
                                                                              ),
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                he.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      bt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          E.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    _p,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            zp,
                                                                                            b[34] ||
                                                                                              (b[34] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Fp,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        Dp
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        10,
                                                                        jp
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ]
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.R1)(wt) &&
                                                "back-lit" == e.type &&
                                                e.activate &&
                                                e.colors.length >= 1
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", Pp, [
                                                      (0, c.Lk)("div", Hp, [
                                                        ((0, c.uX)(!0),
                                                        (0, c.CE)(
                                                          c.FK,
                                                          null,
                                                          (0, c.pI)(
                                                            e.colors,
                                                            (e, t) => (
                                                              (0, c.uX)(),
                                                              (0, c.CE)(
                                                                "div",
                                                                {
                                                                  onClick: (
                                                                    t
                                                                  ) =>
                                                                    kt(e, !0),
                                                                  class:
                                                                    "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px] ncpc-cursor-pointer",
                                                                },
                                                                [
                                                                  ("one-of-two" ==
                                                                    e.visibilityRule &&
                                                                    (re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) ||
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))) ||
                                                                  ("both" ==
                                                                    e.visibilityRule &&
                                                                    re.value.cm
                                                                      .width >=
                                                                      parseFloat(
                                                                        e.minWidth
                                                                      ) &&
                                                                    re.value.cm
                                                                      .height >=
                                                                      parseFloat(
                                                                        e.minHeight
                                                                      ))
                                                                    ? ((0,
                                                                      c.uX)(),
                                                                      (0, c.CE)(
                                                                        "div",
                                                                        {
                                                                          key: 0,
                                                                          class:
                                                                            (0,
                                                                            c.C4)(
                                                                              `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                ve.value.includes(
                                                                                  e
                                                                                )
                                                                                  ? "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkActiveOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .activeOptionBorderColor
                                                                                        }]`)
                                                                                  : "" +
                                                                                    (E.value
                                                                                      ? `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .darkOptionBorderColor
                                                                                        }]`
                                                                                      : `ncpc-border-[${
                                                                                          (0,
                                                                                          c.R1)(
                                                                                            j
                                                                                          )
                                                                                            .optionBorderColor
                                                                                        }]`)
                                                                              } ncpc-rounded-lg`
                                                                            ),
                                                                        },
                                                                        [
                                                                          (0,
                                                                          c.Lk)(
                                                                            "label",
                                                                            {
                                                                              class:
                                                                                (0,
                                                                                c.C4)(
                                                                                  `${
                                                                                    (0,
                                                                                    c.R1)(
                                                                                      yt
                                                                                    ) ==
                                                                                    e
                                                                                      ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                          e.codeHex
                                                                                        }] ${
                                                                                          E.value
                                                                                            ? `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .darkActiveOptionBorderColor
                                                                                              }]`
                                                                                            : `ncpc-border-[${
                                                                                                (0,
                                                                                                c.R1)(
                                                                                                  j
                                                                                                )
                                                                                                  .activeOptionBorderColor
                                                                                              }]`
                                                                                        }`
                                                                                      : ""
                                                                                  } ncpc-bg-[${
                                                                                    e.codeHex
                                                                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                    e.codeHex
                                                                                  }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                ),
                                                                            },
                                                                            [
                                                                              "" ==
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Np,
                                                                                    [
                                                                                      "simple" ==
                                                                                      e.type
                                                                                        ? ((0,
                                                                                          c.uX)(),
                                                                                          (0,
                                                                                          c.CE)(
                                                                                            "div",
                                                                                            Qp,
                                                                                            b[35] ||
                                                                                              (b[35] =
                                                                                                [
                                                                                                  (0,
                                                                                                  c.Lk)(
                                                                                                    "svg",
                                                                                                    {
                                                                                                      xmlns:
                                                                                                        "http://www.w3.org/2000/svg",
                                                                                                      viewBox:
                                                                                                        "0 0 24 24",
                                                                                                      fill: "transparent",
                                                                                                      class:
                                                                                                        "w-9 h-9",
                                                                                                    },
                                                                                                    [
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                        }
                                                                                                      ),
                                                                                                      (0,
                                                                                                      c.Lk)(
                                                                                                        "path",
                                                                                                        {
                                                                                                          "fill-rule":
                                                                                                            "evenodd",
                                                                                                          d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                          "clip-rule":
                                                                                                            "evenodd",
                                                                                                        }
                                                                                                      ),
                                                                                                    ],
                                                                                                    -1
                                                                                                  ),
                                                                                                ])
                                                                                          ))
                                                                                        : (0,
                                                                                          c.Q3)(
                                                                                            "v-if",
                                                                                            !0
                                                                                          ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                              "" !=
                                                                              e.previewImg
                                                                                ? ((0,
                                                                                  c.uX)(),
                                                                                  (0,
                                                                                  c.CE)(
                                                                                    "div",
                                                                                    Wp,
                                                                                    [
                                                                                      (0,
                                                                                      c.Lk)(
                                                                                        "img",
                                                                                        {
                                                                                          src: e.previewImg,
                                                                                          class:
                                                                                            "ncpc-w-full ncpc-h-full",
                                                                                        },
                                                                                        null,
                                                                                        8,
                                                                                        Up
                                                                                      ),
                                                                                    ]
                                                                                  ))
                                                                                : (0,
                                                                                  c.Q3)(
                                                                                    "v-if",
                                                                                    !0
                                                                                  ),
                                                                            ],
                                                                            2
                                                                          ),
                                                                        ],
                                                                        2
                                                                      ))
                                                                    : (0, c.Q3)(
                                                                        "v-if",
                                                                        !0
                                                                      ),
                                                                ],
                                                                8,
                                                                Xp
                                                              )
                                                            )
                                                          ),
                                                          256
                                                        )),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                              ])
                                            )
                                          ),
                                          256
                                        )),
                                      ]))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                              ],
                              2
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ],
                      2
                    ),
                  ],
                  512
                ),
                (0, c.Lk)(
                  "div",
                  {
                    class: (0, c.C4)(
                      `${
                        Se.value ? "ncpc-relative" : ""
                      } ncpc-overflow-scroll lg:ncpc-overflow-hidden lg:ncpc-w-[35%] ncpc-h-[60%] lg:ncpc-h-[100%] ncpc-bg-[${
                        (0, c.R1)(j).backgroundColor
                      }]`
                    ),
                  },
                  [
                    (0, c.Lk)("div", Kp, [
                      (0, c.Lk)(
                        "div",
                        {
                          id: "options-container",
                          class: (0, c.C4)(
                            `ncpc-w-full ncpc-h-[calc(100%-${x.value}px)] ncpc-space-y-2 ncpc-overflow-y-scroll ncpc-noScroll`
                          ),
                        },
                        [
                          ((0, c.uX)(!0),
                          (0, c.CE)(
                            c.FK,
                            null,
                            (0, c.pI)(
                              (0, c.R1)(_),
                              (a, r) => (
                                (0, c.uX)(),
                                (0, c.CE)("div", { key: r }, [
                                  "text-form" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          ee,
                                          {
                                            key: 0,
                                            config: t.config,
                                            renderText: n.value,
                                            pricing: t.pricing,
                                            isBelowLimit: (0, c.R1)(Pt),
                                            currentSize: oe.value,
                                            currentBackboard: be.value,
                                            currentSignSize: re.value,
                                            currentIndex: (0, c.R1)(U),
                                            darkMode: E.value,
                                            sortOptions: (0, c.R1)(_),
                                            handleEditTexts: Ue,
                                            handleChangeTextAlignment: qe,
                                            loadBackboardOnLoading: Qt,
                                            goToStep: Y,
                                            backToStart: V,
                                            next: K,
                                            prec: q,
                                            onOnSizeChanged: tt,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "renderText",
                                            "pricing",
                                            "isBelowLimit",
                                            "currentSize",
                                            "currentBackboard",
                                            "currentSignSize",
                                            "currentIndex",
                                            "darkMode",
                                            "sortOptions",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "text-form" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  "fonts" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          me,
                                          {
                                            key: 1,
                                            config: t.config,
                                            fonts:
                                              t.config.requiredOptions
                                                .fontOptions.fonts,
                                            "selected-fonts": ce.value,
                                            title:
                                              t.config.requiredOptions
                                                .fontOptions.label,
                                            description:
                                              t.config.requiredOptions
                                                .fontOptions.description,
                                            "display-mode": (0, c.R1)(M),
                                            "dark-mode": E.value,
                                            theme: (0, c.R1)(j),
                                            handleSelectFont: Ye,
                                            "show-mobile-nav": !0,
                                            onBack: q,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "fonts",
                                            "selected-fonts",
                                            "title",
                                            "description",
                                            "display-mode",
                                            "dark-mode",
                                            "theme",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "fonts" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  "sizes" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Ae,
                                          {
                                            key: 2,
                                            pricing: t.pricing,
                                            "themes-colors": (0, c.R1)(j),
                                            "dark-mode": E.value,
                                            settings: (0, c.R1)(B),
                                            "required-options": (0, c.R1)(I),
                                            "current-size": oe.value,
                                            "default-size": ae.value,
                                            "current-sign-size": re.value,
                                            "dimensions-format": (0, c.R1)(D),
                                            "custom-size-min-scale": je.value,
                                            onBackToStart: q,
                                            onDisplayInfo: Me,
                                            onChangeCurrentSize: nt,
                                            onChangeSizeWithCustomSize: ct,
                                          },
                                          null,
                                          8,
                                          [
                                            "pricing",
                                            "themes-colors",
                                            "dark-mode",
                                            "settings",
                                            "required-options",
                                            "current-size",
                                            "default-size",
                                            "current-sign-size",
                                            "dimensions-format",
                                            "custom-size-min-scale",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "sizes" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  "neon" == t.productType && "colors" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          ot,
                                          {
                                            key: 3,
                                            config: t.config,
                                            themesColors: (0, c.R1)(j),
                                            currencySymbol: (0, c.R1)(X),
                                            currentsColors: ie.value,
                                            onChangeCurrentsColors: st,
                                            onDisplayInfo: Me,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "currencySymbol",
                                            "currentsColors",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "colors" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  "channel" == t.productType &&
                                  "letter-types" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Dt,
                                          {
                                            key: 4,
                                            config: t.config,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            displayOptions: (0, c.R1)(M),
                                            currentLetterType: ue.value,
                                            currentFaceColors: de.value,
                                            currentTrimColors: fe.value,
                                            currentSideColors: he.value,
                                            currentBackLitColors: ve.value,
                                            currentSignSize: re.value,
                                            currencySymbol: (0, c.R1)(X),
                                            onChangeCurrentLetterType: pt,
                                            onChangeCurrentsFaceColors: ft,
                                            onChangeCurrentsTrimColors: vt,
                                            onChangeCurrentsSideColors: xt,
                                            onChangeCurrentsBackLitColors: kt,
                                            onDisplayInfo: Me,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "darkMode",
                                            "displayOptions",
                                            "currentLetterType",
                                            "currentFaceColors",
                                            "currentTrimColors",
                                            "currentSideColors",
                                            "currentBackLitColors",
                                            "currentSignSize",
                                            "currencySymbol",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "letter-types" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  "neon" == t.productType &&
                                  t.config.additionalOptions.materialOptions
                                    .materials.length > 0 &&
                                  "materials" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Wt,
                                          {
                                            key: 5,
                                            config: t.config,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            currencySymbol: (0, c.R1)(X),
                                            currentMaterial: le.value,
                                            onChangeMaterial: $t,
                                            onDisplayInfo: Me,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "darkMode",
                                            "currencySymbol",
                                            "currentMaterial",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "materials" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  "neon" == t.productType &&
                                  t.config.additionalOptions.jacketOptions
                                    .jackets.length > 0 &&
                                  "jackets" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          cn,
                                          {
                                            key: 6,
                                            config: t.config,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            currencySymbol: (0, c.R1)(X),
                                            currentJacket: se.value,
                                            currentsColors: ie.value,
                                            onChangeJacket: St,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "darkMode",
                                            "currencySymbol",
                                            "currentJacket",
                                            "currentsColors",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "jackets" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  t.config.additionalOptions.mountingOptions
                                    .mountings.length > 0 && "mountings" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Yt,
                                          {
                                            key: 7,
                                            config: t.config,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            currencySymbol: (0, c.R1)(X),
                                            currentMounting: pe.value,
                                            onChangeMounting: Lt,
                                            onDisplayInfo: Me,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "darkMode",
                                            "currencySymbol",
                                            "currentMounting",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "mountings" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  t.config.additionalOptions.backboardOptions
                                    .backboards.length > 0 && "backboards" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          un,
                                          {
                                            key: 8,
                                            config: t.config,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            currencySymbol: (0, c.R1)(X),
                                            currentBackboard: be.value,
                                            onChangeBackboard: Ct,
                                            onDisplayInfo: Me,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "darkMode",
                                            "currencySymbol",
                                            "currentBackboard",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "backboards" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  t.config.additionalOptions
                                    .backboardColorsOptions.backboardColors
                                    .length > 0 && "backboard-colors" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Ln,
                                          {
                                            key: 9,
                                            config: t.config,
                                            currentBackboard: be.value,
                                            currentBackboardColor: we.value,
                                            currentLayersColors: xe.value,
                                            currentSignSize: re.value,
                                            enableBackboardsColors: ye.value,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            currencySymbol: (0, c.R1)(X),
                                            onChangeColor: Rt,
                                            onChangeLayerColor: Ot,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "currentBackboard",
                                            "currentBackboardColor",
                                            "currentLayersColors",
                                            "currentSignSize",
                                            "enableBackboardsColors",
                                            "themesColors",
                                            "darkMode",
                                            "currencySymbol",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "backboard-colors" == z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                  0 !=
                                    t.config.additionalOptions
                                      .customAdditionalsOptions.length &&
                                  "additionals-options" == a
                                    ? (0, c.bo)(
                                        ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Lc,
                                          {
                                            key: 10,
                                            config: e.config,
                                            themesColors: (0, c.R1)(j),
                                            darkMode: E.value,
                                            currentCustomsAdditionals: ge.value,
                                            additionnalInfos: (0, c.R1)(Nt),
                                            currencySymbol: (0, c.R1)(X),
                                            onSelectCustomAdditionalOnRow: Et,
                                            onHandleDisplayInfo: Me,
                                          },
                                          null,
                                          8,
                                          [
                                            "config",
                                            "themesColors",
                                            "darkMode",
                                            "currentCustomsAdditionals",
                                            "additionnalInfos",
                                            "currencySymbol",
                                          ]
                                        )),
                                        [
                                          [
                                            c.aG,
                                            ((0, c.R1)(Pt) &&
                                              "additionals-options" ==
                                                z.value) ||
                                              !(0, c.R1)(Pt),
                                          ],
                                        ]
                                      )
                                    : (0, c.Q3)("v-if", !0),
                                ])
                              )
                            ),
                            128
                          )),
                        ],
                        2
                      ),
                      (0, c.Q3)(" boutton pour terminer une config "),
                      (0, c.Lk)(
                        "div",
                        {
                          id: "ncpc-finish-button-container",
                          class: (0, c.C4)([
                            "ncpc-w-full lg:ncpc-flex ncpc-justify-center ncpc-items-center ncpc-flex-col ncpc-shadow-xl ncpc-shadow-black ncpc-py-2 ncpc-space-y-2",
                            `ncpc-bg-[${
                              (0, c.R1)(j)?.finishButtonContainerColor
                            }] `,
                          ]),
                        },
                        [
                          "show" ==
                          (0, c.R1)(B).generals.customizer
                            .displayPriceBeforeFinishBotton
                            ? ((0, c.uX)(),
                              (0, c.CE)("div", qp, [
                                "none" !=
                                (0, c.R1)(B).generals.customizer.discount
                                  ? ((0, c.uX)(),
                                    (0, c.CE)(
                                      "del",
                                      {
                                        key: 0,
                                        class: (0, c.C4)(
                                          "ncpc-text-lg ncpc-font-bold " +
                                            (E.value
                                              ? `ncpc-text-[${
                                                  (0, c.R1)(j)
                                                    .darkDiscountPriceColor
                                                }]`
                                              : `ncpc-text-[${
                                                  (0, c.R1)(j)
                                                    .finishButtonContainerDiscountPriceColor
                                                }]`)
                                        ),
                                      },
                                      (0, c.v_)(Q.value),
                                      3
                                    ))
                                  : (0, c.Q3)("v-if", !0),
                                (0, c.Lk)(
                                  "p",
                                  {
                                    class: (0, c.C4)(
                                      `ncpc-text-lg ncpc-text-[${
                                        (0, c.R1)(j)
                                          .finishButtonContainerPriceColor
                                      }] ncpc-font-bold ncpc-text-center ncpc_total_price`
                                    ),
                                  },
                                  (0, c.v_)(W.value),
                                  3
                                ),
                              ]))
                            : (0, c.Q3)("v-if", !0),
                          "advanced" !== t.pricing && Je.value
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 1,
                                  class: (0, c.C4)(
                                    `ncpc-px-2 ncpc-text-[${
                                      (0, c.R1)(j).formErrorBg ?? "#FF0000"
                                    }] ncpc-text-xs lg:ncpc-text-sm`
                                  ),
                                },
                                (0, c.v_)(
                                  (0, c.R1)(B).languageImages.main.lines ??
                                    "Your sign has exceeded the maximum number of lines"
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "advanced" !== t.pricing && et.value
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 2,
                                  class: (0, c.C4)(
                                    `ncpc-px-2 ncpc-text-[${
                                      (0, c.R1)(j).formErrorBg ?? "#FF0000"
                                    }] ncpc-text-xs lg:ncpc-text-sm`
                                  ),
                                },
                                (0, c.v_)(
                                  (0, c.R1)(B).languageImages.main.characters ??
                                    "Your sign has exceeded the maximum number of characters"
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                          (0, c.Lk)("div", Vp, [
                            (0, c.Lk)(
                              "button",
                              {
                                disabled: !Ne.value || 0 == N.value,
                                class: (0, c.C4)(
                                  (E.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).darkActiveButtonTextColor
                                      }] disabled:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }]`
                                    : `ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).activeButtonTextColor
                                      }] disabled:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }]`) +
                                    "\n                                ncpc-cursor-pointer disabled:ncpc-cursor-not-allowed ncpc-w-full ncpc-h-full ncpc-text-xl ncpc-font-bold ncpc-px-4 ncpc-p-1 ncpc-text-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                ),
                                onClick: Le,
                              },
                              (0, c.v_)(
                                (0, c.R1)(B).languageImages.main.finishButton
                              ),
                              11,
                              Gp
                            ),
                          ]),
                        ],
                        2
                      ),
                      (0, c.Q3)(" bouttons de navigation sous petits écrans "),
                      (0, c.Lk)("div", Yp, [
                        (0, c.Lk)(
                          "span",
                          {
                            class: (0, c.C4)(
                              `ncpc-bg-[${
                                (0, c.R1)(j).buttonColor
                              }] ncpc-text-[${
                                (0, c.R1)(j).buttonTextColor
                              }] hover:ncpc-bg-[${
                                (0, c.R1)(j).buttonHoverColor
                              }] ncpc-flex  ncpc-items-center ncpc-justify-center`
                            ),
                            onClick: b[13] || (b[13] = (e) => q()),
                          },
                          b[36] ||
                            (b[36] = [
                              (0, c.Lk)(
                                "svg",
                                {
                                  xmlns: "http://www.w3.org/2000/svg",
                                  fill: "none",
                                  viewBox: "0 0 24 24",
                                  "stroke-width": "1.5",
                                  stroke: "currentColor",
                                  class: "ncpc-w-6 ncpc-h-6",
                                },
                                [
                                  (0, c.Lk)("path", {
                                    "stroke-linecap": "round",
                                    "stroke-linejoin": "round",
                                    d: "M6.75 15.75L3 12m0 0l3.75-3.75M3 12h18",
                                  }),
                                ],
                                -1
                              ),
                            ]),
                          2
                        ),
                        (0, c.Lk)("span", Zp, [
                          (0, c.bo)(
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)(
                                  `ncpc-bg-[${
                                    (0, c.R1)(j).buttonColor
                                  }] ncpc-text-[${
                                    (0, c.R1)(j).buttonTextColor
                                  }] hover:ncpc-bg-[${
                                    (0, c.R1)(j).buttonHoverColor
                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-center`
                                ),
                                onClick: b[14] || (b[14] = (e) => K()),
                              },
                              b[37] ||
                                (b[37] = [
                                  (0, c.Lk)(
                                    "svg",
                                    {
                                      xmlns: "http://www.w3.org/2000/svg",
                                      fill: "none",
                                      viewBox: "0 0 24 24",
                                      "stroke-width": "1.5",
                                      stroke: "currentColor",
                                      class: "ncpc-w-6 ncpc-h-6",
                                    },
                                    [
                                      (0, c.Lk)("path", {
                                        "stroke-linecap": "round",
                                        "stroke-linejoin": "round",
                                        d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3",
                                      }),
                                    ],
                                    -1
                                  ),
                                ]),
                              2
                            ),
                            [[c.aG, (0, c.R1)(U) + 1 != (0, c.R1)(_).length]]
                          ),
                          (0, c.bo)(
                            (0, c.Lk)(
                              "button",
                              {
                                disabled:
                                  Xe.value <
                                    t.config.requiredOptions.sizeOptions
                                      .minTextChar || 1 == v.limitReached,
                                class: (0, c.C4)(
                                  `ncpc-bg-[${
                                    (0, c.R1)(j).activeButtonColor
                                  }] ncpc-text-[${
                                    (0, c.R1)(j).activeButtonTextColor
                                  }] hover:ncpc-bg-[${
                                    (0, c.R1)(j).activeButtonHoverColor
                                  }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-center ncpc-p-0`
                                ),
                                onClick: b[15] || (b[15] = (e) => Le()),
                              },
                              [
                                (0, c.Lk)(
                                  "p",
                                  eu,
                                  (0, c.v_)(
                                    (0, c.R1)(B).languageImages.main
                                      .finishButton
                                  ),
                                  1
                                ),
                              ],
                              10,
                              Jp
                            ),
                            [[c.aG, (0, c.R1)(U) + 1 == (0, c.R1)(_).length]]
                          ),
                        ]),
                      ]),
                    ]),
                  ],
                  2
                ),
                !Oe.value && Ce.value
                  ? ((0, c.uX)(),
                    (0, c.Wv)(
                      Jc,
                      {
                        key: 0,
                        config: t.config,
                        "sign-recaps": ke.value,
                        "themes-colors": (0, c.R1)(j),
                        "dark-mode": E.value,
                        "enable-review-image": Se.value,
                        "sign-preview-img-without-bg": $e.value,
                        "formated-price-without-reduce": Q.value,
                        "formated-price-with-reduce": W.value,
                        currentReviewBackgroundScene: J.value,
                        "adding-to-cart": d.value,
                        onChangeFinishBuildSign: Re,
                        onAddToCart: f,
                        onHandleGetAQuote: m,
                        onChangeReviewBackgroundScene: De,
                      },
                      null,
                      8,
                      [
                        "config",
                        "sign-recaps",
                        "themes-colors",
                        "dark-mode",
                        "enable-review-image",
                        "sign-preview-img-without-bg",
                        "formated-price-without-reduce",
                        "formated-price-with-reduce",
                        "currentReviewBackgroundScene",
                        "adding-to-cart",
                      ]
                    ))
                  : (0, c.Q3)("v-if", !0),
                Qe.value
                  ? ((0, c.uX)(),
                    (0, c.CE)(
                      "div",
                      {
                        key: 1,
                        class: (0, c.C4)(
                          (E.value
                            ? `ncpc-bg-[${
                                (0, c.R1)(j).darkBackgroundColor
                              }] ncpc-text-[${
                                (0, c.R1)(j).darkOptionTextColor
                              }] ncpc-drop-shadow-[0px_1px_15px_${
                                (0, c.R1)(j).darkBackgroundColor
                              }] ncpc-border ncpc-border-[${
                                (0, c.R1)(j).darkActiveButtonColor
                              }]`
                            : `ncpc-bg-[${
                                (0, c.R1)(j).backgroundColor
                              }] ncpc-text-[${
                                (0, c.R1)(j).optionTextColor
                              }] ncpc-drop-shadow-[0px_1px_15px_${
                                (0, c.R1)(j).backgroundColor
                              }] ncpc-border ncpc-border-[${
                                (0, c.R1)(j).activeButtonColor
                              }]`) +
                            " ncpc-absolute ncpc-top-[50%] ncpc-left-[50%] ncpc-translate-x-[-50%] ncpc-translate-y-[-50%] ncpc-p-4 ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-center ncpc-space-y-2 ncpc-rounded-lg ncpc-z-20"
                        ),
                      },
                      [
                        (0, c.Lk)("p", null, (0, c.v_)(We.value), 1),
                        t.config.settings.languageImages.customDesign.link
                          .activate
                          ? ((0, c.uX)(),
                            (0, c.CE)(
                              "a",
                              {
                                key: 0,
                                href: t.config.settings.languageImages
                                  .customDesign.link.link,
                                class: (0, c.C4)(
                                  (E.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).darkActiveButtonTextColor
                                      }]  hover:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }]`
                                    : `ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).activeButtonTextColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }]`) +
                                    " ncpc-text-sm ncpc-p-2 ncpc-rounded-lg"
                                ),
                                style: { "text-decoration": "none" },
                              },
                              (0, c.v_)(
                                t.config.settings.languageImages.customDesign
                                  .link.phraseSubmitCustom
                              ),
                              11,
                              tu
                            ))
                          : (0, c.Q3)("v-if", !0),
                      ],
                      2
                    ))
                  : (0, c.Q3)("v-if", !0),
                (0, c.Q3)(
                  " modal de chargement pour la generation de l'image "
                ),
                Oe.value && Ce.value
                  ? ((0, c.uX)(),
                    (0, c.CE)(
                      "div",
                      {
                        key: 2,
                        class: (0, c.C4)(
                          (E.value
                            ? "" +
                              ((0, c.R1)(j).darkFinishModalColor
                                ? `ncpc-bg-[${
                                    (0, c.R1)(j).darkFinishModalColor
                                  }]`
                                : "ncpc-bg-black")
                            : "" +
                              ((0, c.R1)(j).finishModalColor
                                ? `ncpc-bg-[${(0, c.R1)(j).finishModalColor}]`
                                : "ncpc-bg-black")) +
                            " ncpc-absolute ncpc-w-full ncpc-h-full ncpc-bg-opacity-80 ncpc-flex ncpc-items-center ncpc-justify-center ncpc-z-20"
                        ),
                      },
                      [
                        ((0, c.uX)(),
                        (0, c.CE)("svg", nu, [
                          (0, c.Lk)("g", null, [
                            (0, c.Lk)(
                              "path",
                              {
                                d: "M11 50A39 39 0 0 0 89 50A39 42.6 0 0 1 11 50",
                                fill: E.value
                                  ? (0, c.R1)(j).darkFinishModalLoaderColor
                                    ? (0, c.R1)(j).darkFinishModalLoaderColor
                                    : "#ece8e8"
                                  : (0, c.R1)(j).finishModalLoaderColor
                                  ? (0, c.R1)(j).finishModalLoaderColor
                                  : "#ece8e8",
                                stroke: "none",
                              },
                              b[38] ||
                                (b[38] = [
                                  (0, c.Lk)(
                                    "animateTransform",
                                    {
                                      attributeName: "transform",
                                      type: "rotate",
                                      dur: "1s",
                                      repeatCount: "indefinite",
                                      keyTimes: "0;1",
                                      values: "0 50 51.8;360 50 51.8",
                                    },
                                    null,
                                    -1
                                  ),
                                ]),
                              8,
                              cu
                            ),
                            b[39] || (b[39] = (0, c.Lk)("g", null, null, -1)),
                          ]),
                        ])),
                      ],
                      2
                    ))
                  : (0, c.Q3)("v-if", !0),
                h.value
                  ? ((0, c.uX)(),
                    (0, c.CE)(
                      "div",
                      {
                        key: 3,
                        onClick: (0, c.D$)(m, ["self"]),
                        class:
                          "ncpc-overflow-y-auto ncpc-overflow-x-hidden ncpc-absolute ncpc-top-0 ncpc-bg-gray-500 ncpc-bg-opacity-50 ncpc-right-0 ncpc-left-0 ncpc-z-[9999] ncpc-justify-center ncpc-items-center ncpc-w-full ncpc-md:inset-0 ncpc-h-[calc(100%)] ncpc-max-h-full ncpc-flex ncpc-justify-center ncpc-items-center sign-bazar-not-margin",
                      },
                      [
                        (0, c.Lk)("div", au, [
                          (0, c.Lk)(
                            "div",
                            {
                              class: (0, c.C4)(
                                (E.value
                                  ? `ncpc-bg-[${
                                      (0, c.R1)(j).darkBackgroundColor
                                    }] ncpc-text-[${
                                      (0, c.R1)(j).darkOptionTextColor
                                    }]`
                                  : `ncpc-bg-[${
                                      (0, c.R1)(j).backgroundColor
                                    }] ncpc-text-[${
                                      (0, c.R1)(j).optionTextColor
                                    }]`) +
                                  " ncpc-relative ncpc-bg-white ncpc-rounded-lg ncpc-shadow"
                              ),
                            },
                            [
                              (0, c.Lk)("div", ru, [
                                (0, c.Lk)("div", ou, [
                                  (0, c.Lk)(
                                    "div",
                                    {
                                      class: (0, c.C4)(
                                        "" +
                                          (E.value
                                            ? `ncpc-text-[${
                                                (0, c.R1)(j).darkTitleColor
                                              }]`
                                            : `ncpc-text-[${
                                                (0, c.R1)(j).titleColor
                                              }]`)
                                      ),
                                    },
                                    [
                                      (0, c.R1)(B).languageImages.main.header
                                        ? ((0, c.uX)(),
                                          (0, c.Wv)(
                                            (0, c.$y)((0, c.R1)(a)),
                                            {
                                              key: 0,
                                              class:
                                                "ncpc-lowercase first-letter:ncpc-uppercase ncpc-font-semibold",
                                              style: { "font-size": "17px" },
                                            },
                                            {
                                              default: (0, c.k6)(() => [
                                                (0, c.eW)(
                                                  (0, c.v_)(
                                                    t.config.settings
                                                      .languageImages.main
                                                      .quoteModalTitle ||
                                                      "Quote Request Submission"
                                                  ),
                                                  1
                                                ),
                                              ]),
                                              _: 1,
                                            }
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      (0, c.R1)(B).languageImages.main.header
                                        ? (0, c.Q3)("v-if", !0)
                                        : ((0, c.uX)(),
                                          (0, c.Wv)(
                                            (0, c.$y)((0, c.R1)(a)),
                                            {
                                              key: 1,
                                              class: "ncpc-font-semibold",
                                              style: { "font-size": "17px" },
                                            },
                                            {
                                              default: (0, c.k6)(() => [
                                                (0, c.eW)(
                                                  (0, c.v_)(
                                                    t.config.settings
                                                      .languageImages.main
                                                      .quoteModalTitle ||
                                                      "Quote Request Submission"
                                                  ),
                                                  1
                                                ),
                                              ]),
                                              _: 1,
                                            }
                                          )),
                                    ],
                                    2
                                  ),
                                  (0, c.R1)(B).languageImages.customDesign.link
                                    .activate
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "a",
                                        {
                                          key: 0,
                                          href: (0, c.R1)(B).languageImages
                                            .customDesign.link.link,
                                          class:
                                            "ncpc-text-sm text-cyan-600 underline",
                                        },
                                        (0, c.v_)(
                                          (0, c.R1)(B).languageImages
                                            .customDesign.link
                                            .phraseSubmitCustom
                                        ),
                                        9,
                                        iu
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ]),
                                (0, c.Lk)(
                                  "button",
                                  {
                                    disabled: r.value,
                                    onClick: m,
                                    class:
                                      "ncpc-bg-white ncpc-text-[#000000] hover:ncpc-bg-white focus:ncpc-bg-white hover:sygnstext-[#000000] hover:ncpc-text-[#000000] ncpc-shadow-none",
                                  },
                                  b[40] ||
                                    (b[40] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          class: "ncpc-w-3 ncpc-h-3",
                                          "aria-hidden": "true",
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 14 14",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            stroke: "currentColor",
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            "stroke-width": "2",
                                            d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6",
                                          }),
                                        ],
                                        -1
                                      ),
                                      (0, c.Lk)(
                                        "span",
                                        { class: "ncpc-sr-only" },
                                        "Close modal",
                                        -1
                                      ),
                                    ]),
                                  8,
                                  lu
                                ),
                              ]),
                              i.value
                                ? (0, c.Q3)("v-if", !0)
                                : ((0, c.uX)(),
                                  (0, c.CE)("div", su, [
                                    (0, c.Lk)("div", pu, [
                                      (0, c.Lk)(
                                        "span",
                                        {
                                          for: "",
                                          class: (0, c.C4)(
                                            (E.value
                                              ? `ncpc-text-[${
                                                  (0, c.R1)(j).darkTitleColor
                                                }]`
                                              : `ncpc-text-[${
                                                  (0, c.R1)(j).titleColor
                                                }]`) +
                                              " ncpc-flex ncpc-items-center"
                                          ),
                                        },
                                        [
                                          (0, c.eW)(
                                            (0, c.v_)(
                                              (0, c.R1)(B).languageImages.main
                                                .email
                                            ),
                                            1
                                          ),
                                          b[41] ||
                                            (b[41] = (0, c.Lk)(
                                              "span",
                                              { class: "ncpc-text-red-500" },
                                              "*",
                                              -1
                                            )),
                                        ],
                                        2
                                      ),
                                      (0, c.bo)(
                                        (0, c.Lk)(
                                          "input",
                                          {
                                            type: "text",
                                            class:
                                              "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                            "onUpdate:modelValue":
                                              b[16] ||
                                              (b[16] = (e) =>
                                                (s.value.email = e)),
                                            onInput: u,
                                          },
                                          null,
                                          544
                                        ),
                                        [[c.Jo, s.value.email]]
                                      ),
                                      "" != l.value
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            "p",
                                            uu,
                                            (0, c.v_)(l.value),
                                            1
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ]),
                                    (0, c.Lk)("div", du, [
                                      (0, c.Lk)(
                                        "span",
                                        {
                                          for: "",
                                          class: (0, c.C4)(
                                            "" +
                                              (E.value
                                                ? `ncpc-text-[${
                                                    (0, c.R1)(j).darkTitleColor
                                                  }]`
                                                : `ncpc-text-[${
                                                    (0, c.R1)(j).titleColor
                                                  }]`)
                                          ),
                                        },
                                        (0, c.v_)(
                                          (0, c.R1)(B).languageImages.main
                                            .firstName
                                        ),
                                        3
                                      ),
                                      (0, c.bo)(
                                        (0, c.Lk)(
                                          "input",
                                          {
                                            type: "text",
                                            class:
                                              "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                            "onUpdate:modelValue":
                                              b[17] ||
                                              (b[17] = (e) =>
                                                (s.value.firstName = e)),
                                          },
                                          null,
                                          512
                                        ),
                                        [[c.Jo, s.value.firstName]]
                                      ),
                                    ]),
                                    (0, c.Lk)("div", fu, [
                                      (0, c.Lk)(
                                        "span",
                                        {
                                          for: "",
                                          class: (0, c.C4)(
                                            "" +
                                              (E.value
                                                ? `ncpc-text-[${
                                                    (0, c.R1)(j).darkTitleColor
                                                  }]`
                                                : `ncpc-text-[${
                                                    (0, c.R1)(j).titleColor
                                                  }]`)
                                          ),
                                        },
                                        (0, c.v_)(
                                          (0, c.R1)(B).languageImages.main
                                            .lastName
                                        ),
                                        3
                                      ),
                                      (0, c.bo)(
                                        (0, c.Lk)(
                                          "input",
                                          {
                                            type: "text",
                                            class:
                                              "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                            "onUpdate:modelValue":
                                              b[18] ||
                                              (b[18] = (e) =>
                                                (s.value.lastName = e)),
                                          },
                                          null,
                                          512
                                        ),
                                        [[c.Jo, s.value.lastName]]
                                      ),
                                    ]),
                                    (0, c.Lk)("div", hu, [
                                      (0, c.Lk)(
                                        "span",
                                        {
                                          for: "",
                                          class: (0, c.C4)(
                                            "" +
                                              (E.value
                                                ? `ncpc-text-[${
                                                    (0, c.R1)(j).darkTitleColor
                                                  }]`
                                                : `ncpc-text-[${
                                                    (0, c.R1)(j).titleColor
                                                  }]`)
                                          ),
                                        },
                                        (0, c.v_)(
                                          (0, c.R1)(B).languageImages.main.phone
                                        ),
                                        3
                                      ),
                                      (0, c.bo)(
                                        (0, c.Lk)(
                                          "input",
                                          {
                                            type: "text",
                                            class:
                                              "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                            "onUpdate:modelValue":
                                              b[19] ||
                                              (b[19] = (e) =>
                                                (s.value.phone = e)),
                                          },
                                          null,
                                          512
                                        ),
                                        [[c.Jo, s.value.phone]]
                                      ),
                                    ]),
                                    (0, c.R1)(B).generals.requestQuote
                                      .allowUploadFiles
                                      ? ((0, c.uX)(),
                                        (0, c.Wv)(
                                          Ra,
                                          {
                                            key: 0,
                                            darkMode: E.value,
                                            themesColors: (0, c.R1)(j),
                                            settings: (0, c.R1)(B),
                                            quoteFiles: s.value.files,
                                            "change-files": g,
                                          },
                                          null,
                                          8,
                                          [
                                            "darkMode",
                                            "themesColors",
                                            "settings",
                                            "quoteFiles",
                                          ]
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                    (0, c.Lk)("div", mu, [
                                      (0, c.Lk)(
                                        "span",
                                        {
                                          for: "",
                                          class: (0, c.C4)(
                                            "" +
                                              (E.value
                                                ? `ncpc-text-[${
                                                    (0, c.R1)(j).darkTitleColor
                                                  }]`
                                                : `ncpc-text-[${
                                                    (0, c.R1)(j).titleColor
                                                  }]`)
                                          ),
                                        },
                                        (0, c.v_)(
                                          (0, c.R1)(B).languageImages.main
                                            .quoteAdditionalNotes
                                        ),
                                        3
                                      ),
                                      (0, c.bo)(
                                        (0, c.Lk)(
                                          "textarea",
                                          {
                                            class:
                                              "ncpc-resize-y ncpc-border ncpc-rounded ncpc-w-full",
                                            rows: "10",
                                            "onUpdate:modelValue":
                                              b[20] ||
                                              (b[20] = (e) =>
                                                (s.value.message = e)),
                                          },
                                          null,
                                          512
                                        ),
                                        [[c.Jo, s.value.message]]
                                      ),
                                    ]),
                                    (0, c.Lk)("div", vu, [
                                      (0, c.Lk)(
                                        "button",
                                        {
                                          onClick:
                                            b[21] ||
                                            (b[21] = (e) =>
                                              (async function () {
                                                r.value = !0;
                                                const e = O({
                                                  firstName: {
                                                    label:
                                                      B.languageImages.main
                                                        .firstName,
                                                    value: s.value.firstName,
                                                  },
                                                  lastName: {
                                                    label:
                                                      B.languageImages.main
                                                        .lastName,
                                                    value: s.value.lastName,
                                                  },
                                                  email: {
                                                    label:
                                                      B.languageImages.main
                                                        .emailLabel || "Email",
                                                    value: s.value.email,
                                                  },
                                                  phone: {
                                                    label:
                                                      B.languageImages.main
                                                        .phone,
                                                    value: s.value.phone,
                                                  },
                                                  message: {
                                                    label:
                                                      B.languageImages.main
                                                        .quoteAdditionnalNotes ||
                                                      "Message",
                                                    value: s.value.message,
                                                  },
                                                  productType: {
                                                    label:
                                                      B.languageImages.main
                                                        .productType ||
                                                      "Product Type",
                                                    value: t.productType,
                                                  },
                                                  files: s.value.files,
                                                  recaps: {
                                                    ...ke.value.recaps,
                                                  },
                                                  previewImg:
                                                    ke.value.previewImg,
                                                  svgData: ke.value.svgData,
                                                  configId:
                                                    ncpcData.currentConfig.id,
                                                  status: "pending",
                                                });
                                                (await R(e)).success
                                                  ? ((r.value = !1),
                                                    (i.value = !0))
                                                  : (r.value = !1);
                                              })()),
                                          disabled: r.value || !p.value,
                                          class: (0, c.C4)(
                                            `disabled:ncpc-cursor-not-allowed ${
                                              E.value
                                                ? `ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .darkActiveButtonColor
                                                  }] ncpc-text-[${
                                                    (0, c.R1)(j)
                                                      .darkActiveButtonTextColor
                                                  }]  hover:ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .darkActiveButtonHoverColor
                                                  }]`
                                                : `ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .activeButtonColor
                                                  }] ncpc-text-[${
                                                    (0, c.R1)(j)
                                                      .activeButtonTextColor
                                                  }] hover:ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .activeButtonHoverColor
                                                  }]`
                                            } ncpc-cursor-pointer ncpc-text-[15px] ncpc-w-fit ncpc-rounded-md ncpc-font-semibold ncpc-text-center ncpc-p-2 ncpc-px-4 ncpc-flex ncpc-space-x-2 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out`
                                          ),
                                        },
                                        [
                                          r.value
                                            ? ((0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                bu,
                                                b[42] ||
                                                  (b[42] = [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: o.A,
                                                        alt: "",
                                                        class:
                                                          "ncpc-w-6 ncpc-h-6",
                                                      },
                                                      null,
                                                      -1
                                                    ),
                                                  ])
                                              ))
                                            : (0, c.Q3)("v-if", !0),
                                          (0, c.Lk)(
                                            "p",
                                            null,
                                            (0, c.v_)(
                                              t.config.settings.languageImages
                                                .main.buttonSendAQuoteFormLabel
                                            ),
                                            1
                                          ),
                                        ],
                                        10,
                                        gu
                                      ),
                                    ]),
                                  ])),
                              i.value
                                ? ((0, c.uX)(),
                                  (0, c.CE)("div", xu, [
                                    b[44] ||
                                      (b[44] = (0, c.Lk)(
                                        "div",
                                        {
                                          class:
                                            "ncpc-flex ncpc-justify-center",
                                        },
                                        [
                                          (0, c.Lk)(
                                            "svg",
                                            {
                                              xmlns:
                                                "http://www.w3.org/2000/svg",
                                              height: "150px",
                                              viewBox: "0 -960 960 960",
                                              width: "150px",
                                              fill: "#6ae2ce",
                                            },
                                            [
                                              (0, c.Lk)("path", {
                                                d: "m421-298 283-283-46-45-237 237-120-120-45 45 165 166Zm59 218q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z",
                                              }),
                                            ]
                                          ),
                                        ],
                                        -1
                                      )),
                                    (0, c.Lk)(
                                      "p",
                                      wu,
                                      (0, c.v_)(
                                        t.config.settings.languageImages.main
                                          .quoteThanksMessage ||
                                          "Your quote has been sent successfully"
                                      ),
                                      1
                                    ),
                                    (0, c.Lk)("div", yu, [
                                      (0, c.Lk)(
                                        "button",
                                        {
                                          onClick: m,
                                          class: (0, c.C4)(
                                            `disabled:ncpc-cursor-not-allowed ${
                                              E.value
                                                ? `ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .darkActiveButtonColor
                                                  }] ncpc-text-[${
                                                    (0, c.R1)(j)
                                                      .darkActiveButtonTextColor
                                                  }]  hover:ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .darkActiveButtonHoverColor
                                                  }]`
                                                : `ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .activeButtonColor
                                                  }] ncpc-text-[${
                                                    (0, c.R1)(j)
                                                      .activeButtonTextColor
                                                  }] hover:ncpc-bg-[${
                                                    (0, c.R1)(j)
                                                      .activeButtonHoverColor
                                                  }]`
                                            } ncpc-cursor-pointer ncpc-text-[15px] ncpc-w-fit ncpc-rounded-md ncpc-font-semibold ncpc-text-center ncpc-p-2 ncpc-px-4 ncpc-flex ncpc-space-x-2 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out`
                                          ),
                                        },
                                        b[43] ||
                                          (b[43] = [
                                            (0, c.Lk)("p", null, " OK ", -1),
                                          ]),
                                        2
                                      ),
                                    ]),
                                  ]))
                                : (0, c.Q3)("v-if", !0),
                            ],
                            2
                          ),
                        ]),
                      ]
                    ))
                  : (0, c.Q3)("v-if", !0),
                S.value
                  ? ((0, c.uX)(),
                    (0, c.Wv)(
                      A,
                      {
                        key: 4,
                        message: L.value,
                        close: () => {
                          S.value = !1;
                        },
                      },
                      null,
                      8,
                      ["message", "close"]
                    ))
                  : (0, c.Q3)("v-if", !0),
              ],
              2
            )
          );
        },
      };
      n(9435);
      var Cu = ku;
      const Ru = {
          ref: "canvasContainer",
          id: "ncpc-azer",
          class:
            "ncpc-relative lg:ncpc-w-[70%] lg:ncpc-h-full xl:ncpc-w-[64%] ncpc-h-[40%] lg:ncpc-h-[100%] ncpc-overflow-hidden ncpc-rounded-lg",
        },
        Ou = {
          id: "ncpc-contain",
          class:
            "ncpc-border-2 ncpc-h-full ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-center ncpc-overflow-hidden",
        },
        $u = {
          key: 0,
          id: "ncpc-canvas-overlay",
          class:
            "ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-w-full ncpc-h-full ncpc-flex lg:ncpc-hidden ncpc-bg-transparent",
        },
        Lu = {
          class:
            "ncpc-absolute ncpc-bottom-0 ncpc-w-full ncpc-flex ncpc-items-center ncpc-justify-between ncpc-px-2",
        },
        Su = { class: "ncpc-w-[70%] ncpc-h-fit" },
        Eu = {
          id: "preview-scene",
          class:
            "ncpc-scrollDiv ncpc-flex ncpc-items-center ncpc-w-[90%] ncpc-h-fit ncpc-p-2 ncpc-overflow-auto lilScroll ncpc-transition-all ncpc-ease-in-out ncpc-duration-500",
        },
        Iu = {
          key: 0,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        Tu = { class: "ncpc-text-[8px] ncpc-overflow-hidden" },
        Au = {
          key: 1,
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        Bu = {
          class:
            "ncpc-cardDiv ncpc-flex ncpc-items-end ncpc-mx-[2.5px] ncpc-justify-center ncpc-w-fit ncpc-h-fit",
        },
        Mu = ["onClick"],
        ju = ["src"],
        _u = { class: "ncpc-w-fit ncpc-h-auto ncpc-hidden lg:ncpc-flex" },
        zu = { class: "ncpc-w-full" },
        Fu = ["disabled"],
        Du = { class: "ncpc-flex ncpc-items-center ncpc-justify-between" },
        Pu = { class: "ncpc-absolute ncpc-top-3 ncpc-left-3" },
        Hu = { class: "ncpc-flex ncpc-space-x-2" },
        Xu = { class: "ncpc-absolute ncpc-top-2 ncpc-right-2" },
        Nu = {
          class:
            "ncpc-space-x-2 ncpc-flex ncpc-flex-col lg:ncpc-flex-row ncpc-items-end lg:ncpc-items-center ncpc-justify-center",
        },
        Qu = { class: "ncpc-text-white" },
        Wu = {
          class:
            "ncpc_total_price ncpc-text-2xl lg:ncpc-text-3xl ncpc-text-center ncpc-font-semibold ncpc-text-white text-shadow-xl",
        },
        Uu = { class: "ncpc-text-white" },
        Ku = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-items-center ncpc-justify-center ncpc-text-[0.8em]",
        },
        qu = { key: 0, class: "ncpc-flex" },
        Vu = { key: 1, class: "ncpc-flex" },
        Gu = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        Yu = { class: (0, c.C4)("") },
        Zu = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        Ju = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        ed = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        td = ["src"],
        nd = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        cd = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        ad = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        rd = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        od = ["src"],
        id = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        ld = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        sd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        pd = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        ud = ["src"],
        dd = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        fd = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        hd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        md = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        vd = ["src"],
        gd = {
          key: 0,
          class:
            "ncpc-flex ncpc-justify-center ncpc-items-center ncpc-space-x-1",
        },
        bd = {
          class: (0, c.C4)(
            "ncpc-w-[20px] ncpc-h-[20px] ncpc-rounded-sm ncpc-overflow-hidden"
          ),
        },
        xd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        wd = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        yd = ["src"],
        kd = { class: "ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-gap-2" },
        Cd = ["onClick"],
        Rd = ["onClick"],
        Od = {
          class:
            "ncpc-w-full ncpc-h-[85px] ncpc-flex ncpc-items-center ncpc-justify-center",
        },
        $d = ["src"],
        Ld = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Sd = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        Ed = ["onClick"],
        Id = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Td = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Ad = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Bd = ["src"],
        Md = {
          class: "ncpc-p-2 ncpc-flex ncpc-flex-col ncpc-space-y-2 ncpc-h-full",
        },
        jd = {
          key: 0,
          class:
            "ncpc-letterParts-container ncpc-flex ncpc-flex-col ncpc-space-y-3 ncpc-px-1 ncpc-block ncpc-w-full",
        },
        _d = { class: "ncpc-letterParts-container" },
        zd = { key: 0, class: "ncpc-space-y-1 ncpc-relative" },
        Fd = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Dd = {
          class:
            "ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        Pd = ["onClick"],
        Hd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Xd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Nd = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Qd = ["src"],
        Wd = { key: 1, class: "ncpc-space-y-1 ncpc-relative" },
        Ud = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        Kd = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        qd = ["onClick"],
        Vd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Gd = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        Yd = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        Zd = ["src"],
        Jd = { key: 2, class: "ncpc-space-y-1 ncpc-relative" },
        ef = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        tf = {
          class:
            "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px]",
        },
        nf = ["onClick"],
        cf = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        af = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        rf = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        of = ["src"],
        lf = { key: 3, class: "ncpc-space-y-1 ncpc-relative" },
        sf = {
          class: "ncpc-flex ncpc-flex-wrap ncpc-gap-1 ncpc-justify-start",
        },
        pf = ["onClick"],
        uf = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        df = {
          key: 0,
          class:
            "ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center",
        },
        ff = { key: 1, class: "ncpc-w-full ncpc-h-full" },
        hf = ["src"],
        mf = {
          id: "options-container",
          class: (0, c.C4)(
            "ncpc-py-[5px] lg:ncpc-py-[25px] ncpc-w-full ncpc-h-full lg:ncpc-space-y-2 ncpc-overflow-y-scroll ncpc-noScroll"
          ),
        },
        vf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        gf = { key: 0 },
        bf = { key: 1 },
        xf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        wf = { key: 0 },
        yf = { key: 1 },
        kf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        Cf = { key: 0 },
        Rf = { key: 1 },
        Of = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        $f = { key: 0 },
        Lf = { key: 1 },
        Sf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        Ef = { key: 0 },
        If = { key: 1 },
        Tf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        Af = { key: 0 },
        Bf = { key: 1 },
        Mf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        jf = { key: 0 },
        _f = { key: 1 },
        zf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        Ff = { key: 0 },
        Df = { key: 1 },
        Pf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        Hf = { key: 0 },
        Xf = { key: 1 },
        Nf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-center ncpc-px-2",
        },
        Qf = { key: 0 },
        Wf = { key: 1 },
        Uf = {
          class:
            "ncpc-flex lg:ncpc-flex-col ncpc-justify-between ncpc-items-center ncpc-items-start ncpc-px-2",
        },
        Kf = {
          key: 0,
          class: (0, c.C4)(
            "ncpc-px-2 ncpc-space-x-4 ncpc-w-full ncpc-flex ncpc-flex-wrap ncpc-justify-evenly ncpc-items-center"
          ),
        },
        qf = { class: (0, c.C4)("ncpc-h-[50px] ncpc-w-full ncpc-px-2") },
        Vf = ["disabled"],
        Gf = ["href"],
        Yf = {
          xmlns: "http://www.w3.org/2000/svg",
          viewBox: "0 0 100 100",
          preserveAspectRatio: "xMidYMid",
          class: "ncpc-w-[40%] ncpc-h-[30%]",
          style: {
            "shape-rendering": "auto",
            display: "block",
            background: "transparent",
          },
          "xmlns:xlink": "http://www.w3.org/1999/xlink",
        },
        Zf = ["fill"],
        Jf = {
          class:
            "ncpc-relative ncpc-p-4 ncpc-w-full ncpc-h-[80%] ncpc-max-w-2xl",
        },
        eh = {
          class:
            "ncpc-flex ncpc-items-center ncpc-justify-between ncpc-p-4 ncpc-md:p-5",
        },
        th = {
          class:
            "ncpc-p-4 ncpc-pb-1 ncpc-px-2 ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between",
        },
        nh = ["href"],
        ch = ["disabled"],
        ah = { key: 0, class: "ncpc-p-4 ncpc-md:p-5 ncpc-space-y-4" },
        rh = { class: "ncpc-flex ncpc-flex-col" },
        oh = { key: 0, class: "ncpc-text-red-500 ncpc-w-full" },
        ih = { class: "ncpc-flex ncpc-flex-col" },
        lh = { class: "ncpc-flex ncpc-flex-col" },
        sh = { class: "ncpc-flex ncpc-flex-col" },
        ph = { class: "ncpc-flex ncpc-flex-col" },
        uh = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-w-full ncpc-justify-center ncpc-items-center",
        },
        dh = ["disabled"],
        fh = { key: 0, class: "ncpc-p-0" },
        hh = { key: 1, class: "ncpc-p-4 ncpc-md:p-5 ncpc-space-y-4" },
        mh = { class: "ncpc-text-center" },
        vh = {
          class:
            "ncpc-flex ncpc-space-x-3 ncpc-w-full ncpc-justify-center ncpc-items-center",
        };
      var gh = {
        __name: "index",
        props: { config: Object, productType: String, pricing: String },
        setup(e) {
          const t = e,
            n = (0, c.KR)(!1);
          var a = (0, c.KR)("h2");
          const r = (0, c.KR)(!1),
            i = (0, c.KR)(!1),
            l = (0, c.KR)(""),
            s = (0, c.KR)({
              email: "",
              firstName: "",
              lastName: "",
              phone: "",
              message: "",
              files: [],
            }),
            p = (0, c.KR)(!1),
            u = () => {
              s.value.email.match(
                /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/
              )
                ? ((l.value = ""), (p.value = !0))
                : ((l.value =
                    B.languageImages.main.emailError ??
                    "Please enter a valid email address"),
                  (p.value = !1));
            },
            d = (0, c.KR)(!1),
            f = async () => {
              d.value = !0;
              var e = await C(
                ncpc_ajax.ajax_url,
                ke.value,
                ncpc_ajax.nonce,
                B.generals.product.redirectToCheckOutPage ?? !1
              );
              e.success || (toastMessage(e.message, "error"), (d.value = !1));
            },
            h = (0, c.KR)(!1);
          function m() {
            h.value = !h.value;
          }
          const g = (e) => {
              s.value.files = e;
            },
            x = (0, c.KR)(0),
            $ = (0, c.KR)([]),
            L = (0, c.KR)(""),
            S = (0, c.KR)(!1),
            E = (0, c.KR)(!1),
            I = t.config.requiredOptions,
            T = t.config.additionalOptions,
            B = t.config.settings,
            M = B.generals.customizer.displayOptions,
            j = B.themes.colors,
            _ = B.sortOptions,
            z = (0, c.KR)("text-form"),
            F = (0, c.KR)(!0),
            D = B.generals.customizer.decimalFormatMeasurements,
            P = (0, c.KR)(!0),
            H = (0, c.KR)(!0),
            X = ncpcData.currencySymbol,
            N = (0, c.KR)(0),
            Q = (0, c.KR)(
              k(
                0,
                ncpcData.currencySymbol,
                ncpcData.decimals,
                ncpcData.decimalSep,
                ncpcData.thousandSep,
                ncpcData.currency_pos
              )
            ),
            W = (0, c.KR)(
              k(
                0,
                ncpcData.currencySymbol,
                ncpcData.decimals,
                ncpcData.decimalSep,
                ncpcData.thousandSep,
                ncpcData.currency_pos
              )
            );
          var U = (0, c.KR)(-1);
          function K() {
            if (U.value >= G.value.length - 1) return console.log(!0);
            (U.value += 1), (z.value = G.value[U.value]);
          }
          function q() {
            U.value >= 1 && (U.value -= 1),
              "on" == t.config.settings.generals.mobile.showNavigatorMenu &&
                U.value < 0 &&
                ((z.value = "menu"), (U.value = -1)),
              (z.value = G.value[U.value]);
          }
          function V() {
            (U.value = -1), (z.value = "menu");
          }
          var G = (0, c.KR)();
          function Y(e, t) {
            (U.value = e), (z.value = t);
          }
          const Z = (0, c.KR)(""),
            J = (0, c.KR)(""),
            te = (0, c.KR)([]),
            ne = (0, c.KR)([]),
            ce = (0, c.KR)([]),
            ae = (0, c.KR)({
              cm: { width: 0, height: 0 },
              in: { width: 0, height: 0 },
            }),
            re = (0, c.KR)({
              cm: { width: 0, height: 0 },
              in: { width: 0, height: 0 },
            }),
            oe = (0, c.KR)(
              (() => {
                let e = I.sizeOptions.sizes.findIndex((e) => e.isDefault);
                return (
                  (e = -1 === e ? 0 : e), { id: e, ...I.sizeOptions.sizes[e] }
                );
              })()
            ),
            ie = (0, c.KR)([]),
            le = (0, c.KR)({}),
            se = (0, c.KR)({}),
            pe = (0, c.KR)({}),
            ue = (0, c.KR)({}),
            de = (0, c.KR)([]),
            fe = (0, c.KR)([]),
            he = (0, c.KR)([]),
            ve = (0, c.KR)([]),
            ge = (0, c.KR)([]),
            be = (0, c.KR)(
              (() => {
                let e = T.backboardOptions.backboards.findIndex(
                  (e) => e.isDefault
                );
                return (
                  (e = -1 === e ? 0 : e),
                  { id: e, ...T.backboardOptions.backboards[e] }
                );
              })()
            ),
            xe = (0, c.KR)([]),
            we = (0, c.KR)({}),
            ye = (0, c.KR)([]),
            ke = (0, c.KR)({}),
            Ce = (0, c.KR)(!1),
            Re = () => {
              (Ce.value = !Ce.value), Ce.value || (i.value = !1);
            },
            Oe = (0, c.KR)(!1),
            $e = (0, c.KR)(""),
            Le = async () => {
              var e = te.value.map((e) =>
                  e
                    .map((e) => {
                      if ("text" == e.type) return e.value;
                    })
                    .join("")
                ),
                n = te.value.map((e) =>
                  e
                    .filter((e) => "image" === e.type)
                    .map((e) => e.title)
                    .join(", ")
                );
              (F.value = !1), (Oe.value = !0);
              const c = await to("png"),
                a = await co();
              let r;
              (r =
                B.languageImages.images.manageImages.length > 0 &&
                "blue-gray" != Z.value &&
                "" != Z.value.trim()
                  ? await no(c, Z.value)
                  : "blue-gray" == Z.value
                  ? await no(c)
                  : c),
                (Oe.value = !1),
                ($e.value = c);
              const o =
                  xe.value.length > 0
                    ? xe.value
                        .map(
                          (e, t) =>
                            be.value.backboardLength.layers.options[t].label +
                            ": " +
                            e?.label
                        )
                        .join(", ")
                    : we.value.label
                    ? we.value.label
                    : "",
                i =
                  ("" !== o.trim() && T.backboardColorsOptions.label?.trim(),
                  "" === B.languageImages.main.lineCount.trim()
                    ? "Line "
                    : B.languageImages.main.lineCount);
              if ("multi" == B.generals.mode.type) {
                if ("neon" == t.productType) {
                  const c =
                      I.fontOptions.label && "" != I.fontOptions.label.trim()
                        ? I.fontOptions.label
                        : "Font",
                    l =
                      I.colorOptions.label && "" != I.colorOptions.label.trim()
                        ? I.colorOptions.label
                        : "Color",
                    s = async () => {
                      const e = await Or();
                      let t = "";
                      return (
                        e.forEach((e, n) => {
                          e.text &&
                            (t += `\n                        ${e.text} (${
                              c + ": " + e.font.label
                            },  ${l + ": " + e.colorData.label} )`);
                        }),
                        t
                      );
                    };
                  ke.value = {
                    variation_id: ncpcData.productID,
                    price: ncpcData.regularPrice,
                    recaps: {
                      text: {
                        label:
                          B.languageImages.main.sectionText &&
                          "" != B.languageImages.main.sectionText.trim()
                            ? B.languageImages.main.sectionText
                            : "Text",
                        value: e.map((e, t) => ({
                          label: i + " " + (t + 1),
                          value: e,
                        })),
                      },
                      ...(B.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                B.languageImages.icons.title &&
                                "" != B.languageImages.icons.title.trim()
                                  ? B.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      ...(B.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                B.languageImages.icons.title &&
                                "" != B.languageImages.icons.title.trim()
                                  ? B.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      textAlign: {
                        label:
                          B.languageImages.main.textAlignment &&
                          "" != B.languageImages.main.textAlignment.trim()
                            ? B.languageImages.main.textAlignment
                            : "Text Align",
                        value: Ue.value,
                      },
                      fontsColors: { label: c + "/" + l, value: await s() },
                      size:
                        "advanced" == t.pricing
                          ? {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value:
                                oe.value.label +
                                "/" +
                                ct(oe.value.scaleMultiplier, ae.value),
                            }
                          : {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value: oe.value.label,
                            },
                      ...(void 0 !== le.value.label
                        ? {
                            material: {
                              label:
                                T.materialOptions.label &&
                                "" != T.materialOptions.label.trim()
                                  ? T.materialOptions.label
                                  : "Material",
                              value: le.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== se.value.label
                        ? {
                            jacket: {
                              label:
                                T.jacketOptions.label &&
                                "" != T.jacketOptions.label.trim()
                                  ? T.jacketOptions.label
                                  : "Jacket",
                              value: se.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== pe.value.label
                        ? {
                            mounting: {
                              label:
                                T.mountingOptions.label &&
                                "" != T.mountingOptions.label.trim()
                                  ? T.mountingOptions.label
                                  : "Mounting",
                              value: pe.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== be.value.label
                        ? {
                            backboard: {
                              label:
                                T.backboardOptions.label &&
                                "" != T.backboardOptions.label.trim()
                                  ? T.backboardOptions.label
                                  : "Backboard",
                              value: be.value.label,
                            },
                          }
                        : {}),
                      backboardColors: {
                        label:
                          T.backboardColorsOptions.label &&
                          "" != T.backboardColorsOptions.label.trim()
                            ? T.backboardColorsOptions.label
                            : "Backboard Color",
                        value: o,
                      },
                      additionalOptions: ge.value.map((e) => ({
                        label: e.label,
                        value: e.value,
                      })),
                      customPrice: N.value,
                    },
                    previewImg: r,
                    svgData: a,
                    displayRecapsOnCheckout:
                      B.generals.product.displayRecapsOnCheckout ?? !1,
                    quantity: 1,
                  };
                } else if ("channel" == t.productType) {
                  const c = async () => {
                    const e = await Or();
                    let t = "";
                    const n =
                        I.fontOptions.label && "" != I.fontOptions.label.trim()
                          ? I.fontOptions.label
                          : "Font",
                      c =
                        ue.value.letterParts[0].activate &&
                        "" != ue.value.letterParts[0].label.trim()
                          ? ue.value.letterParts[0].label
                          : "Face",
                      a = ue.value.letterParts[1].activate
                        ? "" != ue.value.letterParts[1].label.trim()
                          ? ue.value.letterParts[1].label
                          : "Trim"
                        : null,
                      r = ue.value.letterParts[2].activate
                        ? null != ue.value.letterParts[2].label.trim()
                          ? ue.value.letterParts[2].label
                          : "Side"
                        : null,
                      o = ue.value.letterParts[3].activate
                        ? "" != ue.value.letterParts[3].label.trim()
                          ? ue.value.letterParts[3].label
                          : "Back Lit"
                        : null;
                    return (
                      e.forEach((e, i) => {
                        t += `\n                    ${e.text} (${
                          n + ": " + e.font.label
                        },  ${c + ": " + e.colorData.face.label} ${
                          null != a
                            ? ", " + a + ": " + e.colorData.trim.label
                            : ""
                        }, ${
                          null != r
                            ? ", " + r + ": " + e.colorData.side.label
                            : ""
                        }, ${
                          null != o
                            ? ", " + o + ": " + e.colorData.backLit.label
                            : ""
                        } )`;
                      }),
                      t
                    );
                  };
                  ke.value = {
                    variation_id: ncpcData.productID,
                    price: ncpcData.regularPrice,
                    recaps: {
                      text: {
                        label:
                          B.languageImages.main.sectionText &&
                          "" != B.languageImages.main.sectionText.trim()
                            ? B.languageImages.main.sectionText
                            : "Text",
                        value: e.map((e, t) => ({
                          label: i + " " + (t + 1),
                          value: e,
                        })),
                      },
                      ...(B.languageImages?.icons?.listIcons?.length > 0
                        ? {
                            icons: {
                              label:
                                B.languageImages.icons.title &&
                                "" != B.languageImages.icons.title.trim()
                                  ? B.languageImages.icons.title
                                  : "Icons",
                              value: n.map((e, t) => ({
                                label: i + " " + (t + 1),
                                value: e,
                              })),
                            },
                          }
                        : {}),
                      textAlign: {
                        label:
                          B.languageImages.main.textAlignment &&
                          "" != B.languageImages.main.textAlignment.trim()
                            ? B.languageImages.main.textAlignment
                            : "Text Align",
                        value: Ue.value,
                      },
                      fontsColors: {
                        label:
                          I.fontOptions.label &&
                          "" != I.fontOptions.label.trim()
                            ? I.fontOptions.label
                            : "Font",
                        value: await c(),
                      },
                      size:
                        "advanced" == t.pricing
                          ? {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value:
                                oe.value.label +
                                "/" +
                                ct(oe.value.scaleMultiplier, ae.value),
                            }
                          : {
                              label:
                                I.sizeOptions.label &&
                                "" != I.sizeOptions.label.trim()
                                  ? I.sizeOptions.label
                                  : "Size",
                              value: oe.value.label,
                            },
                      letterType: {
                        label:
                          I.letterTypesOptions.label &&
                          "" != I.letterTypesOptions.label.trim()
                            ? I.letterTypesOptions.label
                            : "Letter-Types",
                        value: ue.value.label,
                      },
                      ...(void 0 !== pe.value.label
                        ? {
                            mounting: {
                              label:
                                T.mountingOptions.label &&
                                "" != T.mountingOptions.label.trim()
                                  ? T.mountingOptions.label
                                  : "Mounting",
                              value: pe.value.label,
                            },
                          }
                        : {}),
                      ...(void 0 !== be.value.label
                        ? {
                            backboard: {
                              label:
                                T.backboardOptions.label &&
                                "" != T.backboardOptions.label.trim()
                                  ? T.backboardOptions.label
                                  : "Backboard",
                              value: be.value.label,
                            },
                          }
                        : {}),
                      backboardColors: {
                        label:
                          T.backboardColorsOptions.label &&
                          "" != T.backboardColorsOptions.label.trim()
                            ? T.backboardColorsOptions.label
                            : "Backboard Color",
                        value: o,
                      },
                      additionalOptions: ge.value.map((e) => ({
                        label: e.label,
                        value: e.value,
                      })),
                      customPrice: N.value,
                    },
                    previewImg: r,
                    svgData: a,
                    displayRecapsOnCheckout:
                      B.generals.product.displayRecapsOnCheckout ?? !1,
                    quantity: 1,
                  };
                }
              } else if ("neon" == t.productType)
                ke.value = {
                  variation_id: ncpcData.productID,
                  price: ncpcData.regularPrice,
                  recaps: {
                    text: {
                      label:
                        B.languageImages.main.sectionText &&
                        "" != B.languageImages.main.sectionText.trim()
                          ? B.languageImages.main.sectionText
                          : "Text",
                      value: e.map((e, t) => ({
                        label: i + " " + (t + 1),
                        value: e,
                      })),
                    },
                    ...(B.languageImages?.icons?.listIcons?.length > 0
                      ? {
                          icons: {
                            label:
                              B.languageImages.icons.title &&
                              "" != B.languageImages.icons.title.trim()
                                ? B.languageImages.icons.title
                                : "Icons",
                            value: n.map((e, t) => ({
                              label: i + " " + (t + 1),
                              value: e,
                            })),
                          },
                        }
                      : {}),
                    textAlign: {
                      label:
                        B.languageImages.main.textAlignment &&
                        "" != B.languageImages.main.textAlignment.trim()
                          ? B.languageImages.main.textAlignment
                          : "Text Align",
                      value: Ue.value,
                    },
                    fonts: {
                      label:
                        I.fontOptions.label && "" != I.fontOptions.label.trim()
                          ? I.fontOptions.label
                          : "Font",
                      value: ce.value[0].label,
                    },
                    color: {
                      label:
                        I.colorOptions.label &&
                        "" != I.colorOptions.label.trim()
                          ? I.colorOptions.label
                          : "Color",
                      value: ie.value[0].label,
                    },
                    size:
                      "advanced" == t.pricing
                        ? {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value:
                              oe.value.label +
                              "/" +
                              ct(oe.value.scaleMultiplier, ae.value),
                          }
                        : {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value: oe.value.label,
                          },
                    ...(void 0 !== le.value.label
                      ? {
                          material: {
                            label:
                              T.materialOptions.label &&
                              "" != T.materialOptions.label.trim()
                                ? T.materialOptions.label
                                : "Material",
                            value: le.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== se.value.label
                      ? {
                          jacket: {
                            label:
                              T.jacketOptions.label &&
                              "" != T.jacketOptions.label.trim()
                                ? T.jacketOptions.label
                                : "Jacket",
                            value: se.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== pe.value.label
                      ? {
                          mounting: {
                            label:
                              T.mountingOptions.label &&
                              "" != T.mountingOptions.label.trim()
                                ? T.mountingOptions.label
                                : "Mounting",
                            value: pe.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== be.value.label
                      ? {
                          backboard: {
                            label:
                              T.backboardOptions.label &&
                              "" != T.backboardOptions.label.trim()
                                ? T.backboardOptions.label
                                : "Backboard",
                            value: be.value.label,
                          },
                        }
                      : {}),
                    backboardColors: {
                      label:
                        T.backboardColorsOptions.label &&
                        "" != T.backboardColorsOptions.label.trim()
                          ? T.backboardColorsOptions.label
                          : "Backboard Color",
                      value: o,
                    },
                    additionalOptions: ge.value.map((e) => ({
                      label: e.label,
                      value: e.value,
                    })),
                    customPrice: N.value,
                  },
                  previewImg: r,
                  svgData: a,
                  displayRecapsOnCheckout:
                    B.generals.product.displayRecapsOnCheckout ?? !1,
                  quantity: 1,
                };
              else if ("channel" == t.productType) {
                const c =
                    I.fontOptions.label && "" != I.fontOptions.label.trim()
                      ? I.fontOptions.label
                      : "Font",
                  l =
                    ue.value.letterParts[0].activate &&
                    "" != ue.value.letterParts[0].label.trim()
                      ? ue.value.letterParts[0].label
                      : "Face",
                  s = ue.value.letterParts[1].activate
                    ? "" != ue.value.letterParts[1].label.trim()
                      ? ue.value.letterParts[1].label
                      : "Trim"
                    : null,
                  p = ue.value.letterParts[2].activate
                    ? null != ue.value.letterParts[2].label.trim()
                      ? ue.value.letterParts[2].label
                      : "Side"
                    : null,
                  u = ue.value.letterParts[3].activate
                    ? "" != ue.value.letterParts[3].label.trim()
                      ? ue.value.letterParts[3].label
                      : "Back Lit"
                    : null;
                ke.value = {
                  variation_id: ncpcData.productID,
                  price: ncpcData.regularPrice,
                  recaps: {
                    text: {
                      label:
                        B.languageImages.main.sectionText &&
                        "" != B.languageImages.main.sectionText.trim()
                          ? B.languageImages.main.sectionText
                          : "Text",
                      value: e.map((e, t) => ({
                        label: i + " " + (t + 1),
                        value: e,
                      })),
                    },
                    ...(B.languageImages?.icons?.listIcons?.length > 0
                      ? {
                          icons: {
                            label:
                              B.languageImages.icons.title &&
                              "" != B.languageImages.icons.title.trim()
                                ? B.languageImages.icons.title
                                : "Icons",
                            value: n.map((e, t) => ({
                              label: i + " " + (t + 1),
                              value: e,
                            })),
                          },
                        }
                      : {}),
                    textAlign: {
                      label:
                        B.languageImages.main.textAlignment &&
                        "" != B.languageImages.main.textAlignment.trim()
                          ? B.languageImages.main.textAlignment
                          : "Text Align",
                      value: Ue.value,
                    },
                    fonts: { label: c, value: ce.value[0].label },
                    size:
                      "advanced" == t.pricing
                        ? {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value:
                              oe.value.label +
                              "/" +
                              ct(oe.value.scaleMultiplier, ae.value),
                          }
                        : {
                            label:
                              I.sizeOptions.label &&
                              "" != I.sizeOptions.label.trim()
                                ? I.sizeOptions.label
                                : "Size",
                            value: oe.value.label,
                          },
                    letterType: {
                      label:
                        I.letterTypesOptions.label &&
                        "" != I.letterTypesOptions.label.trim()
                          ? I.letterTypesOptions.label
                          : "Letter-Types",
                      value: ue.value.label,
                    },
                    faceColor: { label: l, value: de.value[0].label },
                    ...(null !== s
                      ? { trimColor: { label: s, value: fe.value[0].label } }
                      : {}),
                    ...(null !== p
                      ? { sideColor: { label: p, value: he.value[0].label } }
                      : {}),
                    ...(null !== u
                      ? { backLitColor: { label: u, value: ve.value[0].label } }
                      : {}),
                    ...(void 0 !== pe.value.label
                      ? {
                          mounting: {
                            label:
                              T.mountingOptions.label &&
                              "" != T.mountingOptions.label.trim()
                                ? T.mountingOptions.label
                                : "Mounting",
                            value: pe.value.label,
                          },
                        }
                      : {}),
                    ...(void 0 !== be.value.label
                      ? {
                          backboard: {
                            label:
                              T.backboardOptions.label &&
                              "" != T.backboardOptions.label.trim()
                                ? T.backboardOptions.label
                                : "Backboard",
                            value: be.value.label,
                          },
                        }
                      : {}),
                    backboardColors: {
                      label:
                        T.backboardColorsOptions.label &&
                        "" != T.backboardColorsOptions.label.trim()
                          ? T.backboardColorsOptions.label
                          : "Backboard Color",
                      value: o,
                    },
                    additionalOptions: ge.value.map((e) => ({
                      label: e.label,
                      value: e.value,
                    })),
                    customPrice: N.value,
                  },
                  previewImg: r,
                  svgData: a,
                  displayRecapsOnCheckout:
                    B.generals.product.displayRecapsOnCheckout ?? !1,
                  quantity: 1,
                };
              }
              Re();
            },
            Se = (0, c.KR)(!1);
          var Ee = null;
          const Ie = (0, c.KR)(null),
            Te = (0, c.KR)(null),
            Be = (e) => {
              var t = document.getElementById("ncpc-editor-container");
              if (t) {
                var n = t.clientWidth,
                  c = t.clientHeight;
                Ee.setWidth(n), Ee.setHeight(c);
              }
              e || vr();
            },
            Me = (e) => {
              (L.value = e), (S.value = !0);
            },
            je = (0, c.KR)(1),
            _e = async (e) => {
              (Z.value = e), (ze.value = !1);
            },
            ze = (0, c.KR)(!1),
            Fe = () => {
              console.log("handleUploadBackgroundImage");
              const e = event.target.files[0];
              if (e && e.type.startsWith("image/")) {
                new FileReader().readAsDataURL(e),
                  (ze.value = !0),
                  (Z.value = URL.createObjectURL(e));
              }
            },
            De = async (e) => {
              J.value = e;
            };
          var Pe = (0, c.KR)();
          var He = (0, c.KR)([]);
          (0, c.KR)(0);
          const Xe = (0, c.KR)(!0),
            Ne = (0, c.KR)(!1),
            Qe = (0, c.KR)(""),
            We =
              ((0, c.KR)([]),
              async (e, n, c, a) => {
                (Xe.value = n),
                  (Ze.value = c.exceededSizeLines),
                  (Je.value = c.exceededSizeCharacters),
                  (Ne.value = a.signExceedDimensionAlert),
                  (Qe.value = a.limitReachedMsg),
                  "advanced" !== t.pricing && (oe.value = c.localCurrentSize),
                  (te.value = e),
                  await Rr(It.value, e);
                const r = await Or();
                (He.value = r), await Ye(!1, r);
              });
          var Ue = (0, c.KR)("left");
          function Ke(e) {
            (Ue.value = e), Lr(e);
          }
          var qe = (0, c.KR)(!1);
          var Ve = (0, c.KR)("");
          const Ge = async (e, t) => {
            Fr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                font: e.font,
              }));
              if (t.length > 1) {
                ce.value.includes(e) || ce.value.push(e);
                const n = ce.value,
                  c = new Set();
                t.forEach((e) => {
                  e.font && c.add(e.font);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                ce.value = Array.from(a);
              } else 1 == t.length && (ce.value = [e]);
              (Ve.value = e), (He.value = n);
            } else (ce.value = [e]), (He.value = n);
            Ye();
          };
          async function Ye(e = !1, n) {
            n && (He.value = await n);
            let c = [];
            te.value.forEach((e, n) => {
              if (((c[n] = []), "simple" == B.generals.mode.type))
                e.forEach((e, a) => {
                  "text" == e.type
                    ? c[n].push({
                        text: e.value,
                        type: e.type,
                        font: {
                          fontFaceFamily: ce.value[0].label.replace(" ", "-"),
                          smallLetter:
                            "advanced" == t.pricing
                              ? ce.value[0].minHeightFontChar.smallLetter
                              : 0,
                          uppercaseLetter:
                            "advanced" == t.pricing
                              ? ce.value[0].minHeightFontChar.uppercaseLetter
                              : 0,
                          lineHeight: Number(ce.value[0].lineHeight) || 1.2,
                          fileTtf: ce.value[0].url,
                        },
                      })
                    : c[n].push({
                        text: e.src,
                        type: e.type,
                        minHeight: B.languageImages?.icons?.listIcons?.find(
                          (t) => t.file == e.src
                        ).minHeight,
                      });
                });
              else {
                const a = ((e) => {
                  const t = {};
                  return (
                    e.forEach((e) => {
                      const n = e.lineNumber;
                      t[n] || (t[n] = []), t[n].push(e);
                    }),
                    Object.values(t)
                  );
                })(He.value);
                e.forEach((e, r) => {
                  "text" == e.type
                    ? c[n].push({
                        text: e.value,
                        type: e.type,
                        font: {
                          fontFaceFamily: a[n][r].font.label.replace(" ", "-"),
                          smallLetter:
                            "advanced" == t.pricing
                              ? a[n][r].font.minHeightFontChar.smallLetter
                              : 0,
                          uppercaseLetter:
                            "advanced" == t.pricing
                              ? a[n][r].font.minHeightFontChar.uppercaseLetter
                              : 0,
                          lineHeight: Number(a[n][r].font.lineHeight) || 1.2,
                          fileTtf: a[n][r].font.url,
                        },
                      })
                    : c[n].push({
                        text: e.src,
                        type: e.type,
                        minHeight: B.languageImages?.icons?.listIcons?.find(
                          (t) => t.file == e.src
                        ).minHeight,
                      });
                });
              }
            }),
              (ne.value = c);
            const a = await b(c, t.pricing, {
              maxHeight: "fixed-height" == t.pricing ? oe.value.height : 0,
              maxWidth: "fixed-width" == t.pricing ? oe.value.width : 0,
            });
            a.cm.width &&
              ((ae.value = a),
              (function () {
                let e = {
                  cm: { width: 0, height: 0 },
                  in: { width: 0, height: 0 },
                };
                (e =
                  "advanced" == t.pricing
                    ? "decimal" == D
                      ? {
                          cm: {
                            width: parseFloat(
                              ae.value.cm.width * oe.value.scaleMultiplier
                            ).toFixed(3),
                            height: parseFloat(
                              ae.value.cm.height * oe.value.scaleMultiplier
                            ).toFixed(3),
                          },
                          in: {
                            width: parseFloat(
                              ae.value.in.width * oe.value.scaleMultiplier
                            ).toFixed(3),
                            height: parseFloat(
                              ae.value.in.height * oe.value.scaleMultiplier
                            ).toFixed(3),
                          },
                        }
                      : {
                          cm: {
                            width: Math.round(
                              ae.value.cm.width * oe.value.scaleMultiplier
                            ),
                            height: Math.round(
                              ae.value.cm.height * oe.value.scaleMultiplier
                            ),
                          },
                          in: {
                            width: Math.round(
                              ae.value.in.width * oe.value.scaleMultiplier
                            ),
                            height: Math.round(
                              ae.value.in.height * oe.value.scaleMultiplier
                            ),
                          },
                        }
                    : "decimal" == D
                    ? {
                        cm: {
                          width: parseFloat(ae.value.cm.width).toFixed(3),
                          height: parseFloat(ae.value.cm.height).toFixed(3),
                        },
                        in: {
                          width: parseFloat(ae.value.in.width).toFixed(3),
                          height: parseFloat(ae.value.in.height).toFixed(3),
                        },
                      }
                    : {
                        cm: {
                          width: Math.round(ae.value.cm.width),
                          height: Math.round(ae.value.cm.height),
                        },
                        in: {
                          width: Math.round(ae.value.in.width),
                          height: Math.round(ae.value.in.height),
                        },
                      }),
                  (re.value = e),
                  Et(),
                  at(e);
              })());
          }
          const Ze = (0, c.KR)(!1),
            Je = (0, c.KR)(!1),
            et = (e, t, n) => {
              (Xe.value = e),
                (Ne.value = t.openSignExceedDimensionAlert),
                (Qe.value = t.limitReachedMsg),
                (Ze.value = n.localExceededSizeLines),
                (Je.value = n.localExceededSizeCharacters);
            },
            tt = async (e, n) => {
              "advanced" == t.pricing
                ? ("custom-size" != n
                    ? ((re.value = {
                        cm: {
                          width: e.scaleMultiplier * ae.value.cm.width,
                          height: e.scaleMultiplier * ae.value.cm.height,
                        },
                        in: {
                          width: e.scaleMultiplier * ae.value.in.width,
                          height: e.scaleMultiplier * ae.value.in.height,
                        },
                      }),
                      (oe.value = { id: n, ...e }))
                    : (oe.value = { ...oe.value, id: n }),
                  Et(),
                  at(re.value))
                : ((oe.value = { id: n, ...e }),
                  (He.value = await Or()),
                  await Ye(!1, He.value),
                  Et()),
                (Pt.value = oe.value.resizeSettings
                  ? oe.value.resizeSettings
                  : {
                      autoResize: !0,
                      desktop: {
                        defaultFontSize: 110,
                        maxFontSize: 110,
                        minFontSize: 30,
                      },
                      mobile: {
                        defaultFontSize: 60,
                        maxFontSize: 60,
                        minFontSize: 30,
                      },
                    }),
                Ht(!0);
            },
            nt = (e) => {
              const t =
                "decimal" == D
                  ? Number(parseFloat(e.target.value).toFixed(3))
                  : Math.round(e.target.value, 10) > 4
                  ? Math.ceil(e.target.value)
                  : Math.floor(e.target.value);
              (oe.value.scaleMultiplier = t / ae.value.cm.width),
                (re.value = {
                  cm: {
                    width: t,
                    height:
                      "decimal" == D
                        ? parseFloat(
                            (
                              (ae.value.cm.height * t) /
                              ae.value.cm.width
                            ).toFixed(3)
                          )
                        : Math.round(
                            (ae.value.cm.height * t) / ae.value.cm.width
                          ),
                  },
                  in: {
                    width: "decimal" == D ? parseFloat(v(t)) : Math.round(v(t)),
                    height:
                      "decimal" == D
                        ? parseFloat(
                            (
                              (ae.value.in.height * v(t)) /
                              ae.value.in.width
                            ).toFixed(3)
                          )
                        : Math.round(
                            (ae.value.in.height * v(t)) / ae.value.in.width
                          ),
                  },
                }),
                at(re.value),
                Et();
            },
            ct = (e, t) => {
              switch (B.generals.customizer.measurementUnit) {
                case "cm":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm x " +
                            parseFloat(t.cm.height * e).toFixed(3) +
                            "cm "
                        : Math.round(t.cm.width * e) +
                            "cm x " +
                            Math.round(t.cm.height * e) +
                            "cm ";
                    case "only-width":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) + "cm"
                        : Math.round(t.cm.width * e) + "cm";
                    case "only-height":
                      return "decimal" == D
                        ? parseFloat(t.cm.height * e).toFixed(3) + "cm "
                        : Math.round(t.cm.height * e) + "cm ";
                  }
                  break;
                case "in":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == D
                        ? parseFloat(t.in.width * e).toFixed(3) +
                            "in x " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.in.width * e) +
                            "in x " +
                            Math.round(t.in.height * e) +
                            "in";
                    case "only-width":
                      return "decimal" == D
                        ? parseFloat(t.in.width * e).toFixed(3) + "in"
                        : Math.round(t.in.width * e) + "in";
                    case "only-height":
                      return "decimal" == D
                        ? parseFloat(t.in.height * e).toFixed(3) + "in"
                        : Math.round(t.in.height * e) + "in";
                  }
                  break;
                case "both":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm x " +
                            parseFloat(t.cm.height * e).toFixed(3) +
                            "cm / " +
                            parseFloat(t.in.width * e).toFixed(3) +
                            "in x " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.width * e) +
                            "cm x " +
                            Math.round(t.cm.height * e) +
                            "cm / " +
                            Math.round(t.in.width * e) +
                            "in x " +
                            Math.round(t.in.height * e) +
                            "in";
                    case "only-width":
                      return "decimal" == D
                        ? parseFloat(t.cm.width * e).toFixed(3) +
                            "cm/ " +
                            parseFloat(t.in.width * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.width * e) +
                            "cm/ " +
                            Math.round(t.in.width * e) +
                            "in";
                    case "only-height":
                      return "decimal" == D
                        ? parseFloat(t.cm.height * e).toFixed(3) +
                            "cm / " +
                            parseFloat(t.in.height * e).toFixed(3) +
                            "in"
                        : Math.round(t.cm.height * e) +
                            "cm / " +
                            Math.round(t.in.height * e) +
                            "in";
                  }
              }
            },
            at = (e) => {
              switch (B.generals.customizer.measurementUnit) {
                case "cm":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) + "cm"
                          : Math.round(e.cm.height) + "cm ",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) + "cm "
                          : Math.round(e.cm.width) + "cm"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) + "cm"
                          : Math.round(e.cm.width) + "cm "
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) + "cm"
                          : Math.round(e.cm.height) + "cm ",
                        ""
                      );
                  }
                  break;
                case "in":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == D
                          ? parseFloat(e.in.height).toFixed(3) + "in"
                          : Math.round(e.in.height) + "in ",
                        "decimal" == D
                          ? parseFloat(e.in.width).toFixed(3) + "in "
                          : Math.round(e.in.width) + "in"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == D
                          ? parseFloat(e.in.width).toFixed(3) + "in"
                          : Math.round(e.in.width) + "in "
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == D
                          ? parseFloat(e.in.height).toFixed(3) + "in"
                          : Math.round(e.in.height) + "in ",
                        ""
                      );
                  }
                  break;
                case "both":
                  switch (B.generals.customizer.showHideMeasurements) {
                    case "both":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) +
                              "cm \n" +
                              parseFloat(e.in.height).toFixed(3) +
                              "in"
                          : Math.round(e.cm.height) +
                              "cm \n" +
                              Math.round(e.in.height) +
                              "in",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) +
                              "cm /" +
                              parseFloat(e.in.width).toFixed(3) +
                              "in"
                          : Math.round(e.cm.width) +
                              "cm / " +
                              Math.round(e.in.width) +
                              "in"
                      );
                      break;
                    case "only-width":
                      er(
                        "",
                        "decimal" == D
                          ? parseFloat(e.cm.width).toFixed(3) +
                              "cm / " +
                              parseFloat(e.in.width).toFixed(3) +
                              "in"
                          : Math.round(e.cm.width) +
                              "cm / " +
                              Math.round(e.in.width) +
                              "in"
                      );
                      break;
                    case "only-height":
                      er(
                        "decimal" == D
                          ? parseFloat(e.cm.height).toFixed(3) +
                              "cm \n " +
                              parseFloat(e.in.height).toFixed(3) +
                              "in"
                          : Math.round(e.cm.height) +
                              "cm \n " +
                              Math.round(e.in.height) +
                              "in",
                        ""
                      );
                  }
              }
            };
          var rt = (0, c.KR)(!1),
            it = (0, c.KR)();
          const lt = async (e, t) => {
              if (!t) {
                null != Ee.getActiveObject() && Ee.discardActiveObject();
              }
              Br(e);
              const n = await Or();
              if (t) {
                const t = n.map((e) => ({
                  wordNumber: e.wordNumber,
                  color: e.colorData,
                }));
                if (t.length > 1) {
                  ie.value.includes(e) || ie.value.push(e);
                  const n = ie.value,
                    c = new Set();
                  t.forEach((e) => {
                    e.color && c.add(e.color);
                  });
                  const a = new Set(n.filter((e) => c.has(e)));
                  ie.value = Array.from(a);
                } else 1 == t.length && (ie.value = [e]);
                it.value = e;
              } else ie.value = [e];
              Et();
            },
            st = async (e) => {
              null != Ee.getActiveObject() && Ee.discardActiveObject(),
                (He.value = await Or()),
                (ue.value = e),
                e.letterParts[0].colors.length > 0
                  ? (de.value = [
                      e.letterParts[0].colors.find((e) => e.isDefault) ||
                        e.letterParts[0].colors[0],
                    ])
                  : (de.value = []),
                e.letterParts[1].activate && e.letterParts[1].colors.length > 0
                  ? (fe.value = [
                      e.letterParts[1].colors.find((e) => e.isDefault) ||
                        e.letterParts[1].colors[0],
                    ])
                  : (fe.value = []),
                e.letterParts[2].activate && e.letterParts[2].colors.length > 0
                  ? (he.value = [
                      e.letterParts[2].colors.find((e) => e.isDefault) ||
                        e.letterParts[2].colors[0],
                    ])
                  : (he.value = []),
                e.letterParts[3].activate && e.letterParts[3].colors.length > 0
                  ? (ve.value = [
                      e.letterParts[3].colors.find((e) => e.isDefault) ||
                        e.letterParts[3].colors[0],
                    ])
                  : (ve.value = []);
              var t = {
                face: null != de.value[0] ? de.value[0] : {},
                trim: null != fe.value[0] ? fe.value[0] : {},
                side: null != he.value[0] ? he.value[0] : {},
                backLit: null != ve.value[0] ? ve.value[0] : {},
              };
              await Dr(ue.value, t),
                (de.value = null != de.value[0] ? [de.value[0]] : []),
                (fe.value = null != fe.value[0] ? [fe.value[0]] : []),
                (he.value = null != he.value[0] ? [he.value[0]] : []),
                (ve.value = null != ve.value[0] ? [ve.value[0]] : []),
                Et();
            };
          var pt = (0, c.KR)(!1),
            ut = (0, c.KR)();
          const dt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            await Kr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.face,
              }));
              if (t.length > 1) {
                de.value.includes(e) || de.value.push(e);
                const n = de.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                de.value = Array.from(a);
              } else 1 == t.length && (de.value = [colors]);
              ut.value = e;
            } else de.value = [e];
            Et();
          };
          var ft = (0, c.KR)(!1),
            ht = (0, c.KR)();
          const mt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            qr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.trim,
              }));
              if (t.length > 1) {
                fe.value.includes(e) || fe.value.push(e);
                const n = fe.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                fe.value = Array.from(a);
              } else 1 == t.length && (fe.value = [e]);
              ht.value = e;
            } else fe.value = [e];
            Et();
          };
          var vt = (0, c.KR)(!1),
            gt = (0, c.KR)();
          const bt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            Vr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.side,
              }));
              if (t.length > 1) {
                he.value.includes(e) || he.value.push(e);
                const n = he.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                he.value = Array.from(a);
              } else 1 == t.length && (he.value = [e]);
              gt.value = e;
            } else he.value = [e];
            Et();
          };
          var xt = (0, c.KR)(!1),
            wt = (0, c.KR)();
          const yt = async (e, t) => {
            if (!t) {
              null != Ee.getActiveObject() && Ee.discardActiveObject();
            }
            Gr(e);
            const n = await Or();
            if (t) {
              const t = n.map((e) => ({
                wordNumber: e.wordNumber,
                color: e.colorData.backLit,
              }));
              if (t.length > 1) {
                ve.value.includes(e) || ve.value.push(e);
                const n = ve.value,
                  c = new Set();
                t.forEach((e) => {
                  e.color && c.add(e.color);
                });
                const a = new Set(n.filter((e) => c.has(e)));
                ve.value = Array.from(a);
              } else 1 == t.length && (ve.value = [e]);
              wt.value = e;
            } else ve.value = [e];
            Et();
          };
          const kt = async (e, t) => {
              (be.value = { id: t, ...e }), await Ma(e);
              let n = [];
              T.backboardColorsOptions.backboardColors.forEach((e) => {
                e.backboards.includes(t) && n.push(e);
              }),
                (ye.value = n),
                e?.backboardLength?.layers?.activate
                  ? ((we.value = {}),
                    e.backboardLength.layers.options.forEach((e, c) => {
                      const a = n.filter(
                        (e) =>
                          e?.layers?.includes(`${t}/${c}`) &&
                          (("one-of-two" == e.visibilityRule &&
                            (re.value.cm.width >= parseFloat(e.minWidth) ||
                              re.value.cm.height >= parseFloat(e.minHeight))) ||
                            ("both" == e.visibilityRule &&
                              re.value.cm.width >= parseFloat(e.minWidth) &&
                              re.value.cm.height >= parseFloat(e.minHeight)))
                      );
                      a.length > 0 ? (xe.value[c] = a[0]) : (xe.value[c] = []),
                        Rt(xe.value[c], c);
                    }))
                  : ((xe.value = []), Ct(ye.value[0] || {})),
                Et();
            },
            Ct = async (e) => {
              (we.value = e), await Ha(e), Et();
            },
            Rt = (e, t) => {
              (xe.value[t] = e), Xa(e, t), Et();
            },
            Ot = (e) => {
              (le.value = e), Et();
            },
            $t = (e) => {
              (pe.value = e), Et();
            },
            Lt = (e) => {
              (se.value = e), Et();
            },
            St = (e, t, n, c, a = "") => {
              const r = ge.value.findIndex((t) => t.id === e);
              -1 !== r
                ? ((ge.value[r].label = t),
                  (ge.value[r].value = n),
                  (ge.value[r].price = c),
                  (ge.value[r].popupImg = a))
                : (ge.value.push({
                    id: e,
                    label: t,
                    value: n,
                    price: c,
                    popupImg: a,
                  }),
                  ($.value[`additional_${e}`] = !1)),
                Et();
            },
            Et = () => {
              let e = re.value.cm.width,
                n = re.value.cm.height;
              if (te.value.length && 0 != e && 0 != n) {
                let c = ncpcData.regularPrice;
                const a = Array.from(
                  new Set(ce.value.map((e) => I.priceOptions[e.pricing]))
                );
                if ("advanced" == t.pricing) {
                  let t = 0;
                  a.forEach((c) => {
                    let a = y(
                      te.value,
                      e,
                      n,
                      c,
                      B.generals.customizer.measurementUnit
                    );
                    a > t && (t = a);
                  }),
                    (c = t);
                } else {
                  let e = 0;
                  a.forEach((t) => {
                    let n = w(te.value, t, oe.value);
                    n > e && (e = n);
                  }),
                    (c = e);
                }
                let r = 0,
                  o = 0;
                ie.value.length > 0 &&
                  ie.value.forEach((e) => {
                    "base" == e.price.type
                      ? (o += Number(e.price.value))
                      : "multiplier" == e.price.type &&
                        (r += Number(e.price.value));
                  }),
                  de.value.length > 0 &&
                    de.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  fe.value.length > 0 &&
                    fe.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  he.value.length > 0 &&
                    he.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  ve.value.length > 0 &&
                    ve.value.forEach((e) => {
                      "base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value));
                    }),
                  le.value.price &&
                    ("base" == le.value.price.type
                      ? (o += Number(le.value.price.value))
                      : "multiplier" == le.value.price.type &&
                        (r += Number(le.value.price.value))),
                  se.value.price &&
                    ("base" == se.value.price.type
                      ? (o += Number(se.value.price.value))
                      : "multiplier" == se.value.price.type &&
                        (r += Number(se.value.price.value))),
                  pe.value.price &&
                    ("base" == pe.value.price.type
                      ? (o += Number(pe.value.price.value))
                      : "multiplier" == pe.value.price.type &&
                        (r += Number(pe.value.price.value))),
                  be.value.price &&
                    ("base" == be.value.price.type
                      ? (o += Number(be.value.price.value))
                      : "multiplier" == be.value.price.type &&
                        (r += Number(be.value.price.value))),
                  be.value?.backboardLength?.layers?.activate
                    ? xe.value.forEach((e) => {
                        "base" == e?.price?.type
                          ? (o += Number(e.price.value))
                          : "multiplier" == e?.price?.type &&
                            (r += Number(e.price.value));
                      })
                    : we.value.price &&
                      ("base" == we.value.price.type
                        ? (o += Number(we.value.price.value))
                        : "multiplier" == we.value.price.type &&
                          (r += Number(we.value.price.value))),
                  ue.value.price &&
                    ("base" == ue.value.price.type
                      ? (o += Number(ue.value.price.value))
                      : "multiplier" == ue.value.price.type &&
                        (r += Number(ue.value.price.value))),
                  ge.value.forEach((e, t) => {
                    e.price &&
                      ("base" == e.price.type
                        ? (o += Number(e.price.value))
                        : "multiplier" == e.price.type &&
                          (r += Number(e.price.value)));
                  });
                let i = c + o + ((c + o) * r) / 100,
                  l = i;
                "percent" == B.generals.customizer.discount
                  ? (l -= (l * B.generals.customizer.discountValue) / 100)
                  : "fixed" == B.generals.customizer.discount &&
                    (l -= B.generals.customizer.discountValue),
                  (N.value = isNaN(l) || l < 0 ? 0 : l),
                  (W.value = k(
                    l,
                    X,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  )),
                  (Q.value = k(
                    i,
                    X,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  ));
              } else
                (N.value = ncpcData.regularPrice),
                  (W.value = k(
                    ncpcData.regularPrice,
                    ncpcData.currencySymbol,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  )),
                  (Q.value = k(
                    ncpcData.regularPrice,
                    ncpcData.currencySymbol,
                    ncpcData.decimals,
                    ncpcData.decimalSep,
                    ncpcData.thousandSep,
                    ncpcData.currency_pos
                  ));
            };
          var It = (0, c.KR)(!0),
            Tt = (0, c.KR)({ allowMultiFonts: !1, allowMultiColors: !1 }),
            At = (0, c.KR)(0),
            Bt = (0, c.KR)("text"),
            Mt = (0, c.KR)({
              colorData: {},
              faceColorData: {},
              trimColorData: {},
              sideColorData: {},
              backLitColorData: {},
            });
          function jt(e) {
            Mt.value = e;
            var t = document.getElementById("ncpc-mini-options");
            if (e) {
              document
                .querySelector("#ncpc-selectableTextMessage-container")
                ?.remove(),
                (Bt.value =
                  "neon-text" === e.name || "ncpc-channel" === e.name
                    ? "text"
                    : "image"),
                (At.value = e.wordNumber),
                t.classList.remove("ncpc-hidden");
              var n = e.getBoundingRect(!1);
              (t.style.left = n.left + n.width / 2 - t.clientWidth / 2 + "px"),
                (t.style.top = n.top + 1.2 * n.height + "px");
            } else t.style.display = "none";
          }
          function _t() {
            var e = document.getElementById("ncpc-mini-options");
            (rt.value = !1),
              (qe.value = !1),
              (pt.value = !1),
              (ft.value = !1),
              (vt.value = !1),
              (xt.value = !1),
              e.classList.add("ncpc-hidden"),
              (At.value = 0);
          }
          var zt = (0, c.KR)(!1),
            Ft = (0, c.KR)(!1),
            Pt = (0, c.KR)({});
          function Ht(e = !1) {
            window.innerWidth < 1024
              ? ((zt.value = window.innerWidth < 1024),
                (Ft.value = !0),
                window.innerWidth < 688 &&
                  (tr(Pt.value, "mobile"),
                  "on" == B.generals.mobile.showNavigatorMenu &&
                  "yes" == B.generals.mobile.showNavigationMenuFirst
                    ? (z.value = "menu")
                    : e || (U.value = 0)),
                (Xt.value = {
                  text: !0,
                  font: !0,
                  size: !0,
                  color: !0,
                  letterType: !0,
                  material: !0,
                  jacket: !0,
                  mounting: !0,
                  backboard: !0,
                  backboardColor: !0,
                  additionalOptions: !0,
                }))
              : ((Ft.value = !1), tr(Pt.value, "desktop"));
          }
          var Xt = (0, c.KR)({
            text: !0,
            font: !1,
            size: !1,
            color: !1,
            letterType: !1,
            material: !1,
            jacket: !1,
            mounting: !1,
            backboard: !1,
            backboardColor: !1,
            additionalOptions: !1,
          });
          function Nt(e) {
            if (!Ft.value)
              switch (e) {
                case "text-form":
                  Xt.value.text = !Xt.value.text;
                  break;
                case "fonts":
                  Xt.value.font = !Xt.value.font;
                  break;
                case "sizes":
                  Xt.value.size = !Xt.value.size;
                  break;
                case "colors":
                  Xt.value.color = !Xt.value.color;
                  break;
                case "letter-types":
                  Xt.value.letterType = !Xt.value.letterType;
                  break;
                case "materials":
                  Xt.value.material = !Xt.value.material;
                  break;
                case "jackets":
                  Xt.value.jacket = !Xt.value.jacket;
                  break;
                case "mountings":
                  Xt.value.mounting = !Xt.value.mounting;
                  break;
                case "backboards":
                  Xt.value.backboard = !Xt.value.backboard;
                  break;
                case "backboard-colors":
                  Xt.value.backboardColor = !Xt.value.backboardColor;
                  break;
                case "additionals-options":
                  Xt.value.additionalOptions = !Xt.value.additionalOptions;
              }
          }
          (0, c.KR)(0);
          var Qt = (0, c.KR)([]);
          const Ut = async () => {
              await Ma(be.value, !0),
                be.value?.backboardLength?.layers?.activate
                  ? xe.value.forEach((e, t) => {
                      Rt(e, t);
                    })
                  : Ct(ye.value[0] || {});
            },
            Kt = (0, c.KR)(0),
            qt = (0, c.KR)(0),
            Vt = (0, c.KR)(0),
            Gt = (0, c.KR)(!1);
          const Zt = (e) => {
            if (!e)
              return (
                console.error("Canvas element not found for touch detection"),
                null
              );
            const t = (e) => {
                (Kt.value = Date.now()),
                  (qt.value = e.touches[0].clientY),
                  (Vt.value = e.touches[0].clientX),
                  (Gt.value = !1);
              },
              n = (e) => {
                const t = Date.now() - Kt.value,
                  n = Math.abs(e.touches[0].clientY - qt.value),
                  c = Math.abs(e.touches[0].clientX - Vt.value);
                if (
                  (t < 200 && n > 20 && n > 1.5 * c) ||
                  (n > 50 && n > c) ||
                  (t < 100 && n > 10 && n > c)
                ) {
                  return (
                    (Gt.value = !0),
                    (function (e = 1e3, t = 10) {
                      const n = t;
                      let c = 0;
                      const a = Math.sign(e),
                        r = setInterval(() => {
                          window.scrollBy(0, 50 * a),
                            (c += 50),
                            Math.abs(c) >= Math.abs(e) && clearInterval(r);
                        }, n);
                    })(qt.value - e.touches[0].clientY, 1),
                    e.stopImmediatePropagation(),
                    !0
                  );
                }
              },
              c = () => {
                Gt.value = !1;
              };
            return (
              e.addEventListener("touchstart", t, { passive: !0 }),
              e.addEventListener("touchmove", n, { passive: !1 }),
              e.addEventListener("touchend", c, { passive: !0 }),
              () => {
                console.log("🧹 Cleaning up touch detection listeners"),
                  e.removeEventListener("touchstart", t),
                  e.removeEventListener("touchmove", n),
                  e.removeEventListener("touchend", c);
              }
            );
          };
          function Jt() {
            const e = document.getElementById("ncpc-editor-container");
            It.value && Zt(e), console.log("Initialized.");
          }
          (0, c.sV)(async () => {
            t.config.others.configuratorHeaderTag &&
            "" != t.config.others.configuratorHeaderTag.trim()
              ? (a.value = t.config.others.configuratorHeaderTag)
              : (a.value = "h2"),
              (() => {
                if (I.fontOptions.fonts.length > 0) {
                  let e = I.fontOptions.fonts.find((e) => e.isDefault);
                  null == e && (e = I.fontOptions.fonts[0]), (ce.value = [e]);
                }
                if (
                  (I.sizeOptions.sizes.length > 0
                    ? ("advanced" == t.pricing &&
                        (je.value = I.sizeOptions.sizes.reduce(
                          (e, t) =>
                            t.scaleMultiplier < e ? t.scaleMultiplier : e,
                          1
                        )),
                      (Pt.value = oe.value.resizeSettings
                        ? oe.value.resizeSettings
                        : {
                            autoResize: !0,
                            desktop: {
                              defaultFontSize: 110,
                              maxFontSize: 110,
                              minFontSize: 30,
                            },
                            mobile: {
                              defaultFontSize: 60,
                              maxFontSize: 60,
                              minFontSize: 30,
                            },
                          }))
                    : ("advanced" == t.pricing &&
                        I.sizeOptions.customSize.activate &&
                        (oe.value = {
                          id: "custom-size",
                          label:
                            "" != I.sizeOptions.customSize.customs.label
                              ? I.sizeOptions.customSize.customs.label
                              : "Custom",
                          scaleMultiplier: 1,
                          resizeSettings: {
                            autoResize: !0,
                            desktop: {
                              defaultFontSize: 110,
                              maxFontSize: 110,
                              minFontSize: 30,
                            },
                            mobile: {
                              defaultFontSize: 60,
                              maxFontSize: 60,
                              minFontSize: 30,
                            },
                          },
                        }),
                      (Pt.value = {
                        autoResize: !0,
                        desktop: {
                          defaultFontSize: 110,
                          maxFontSize: 110,
                          minFontSize: 30,
                        },
                        mobile: {
                          defaultFontSize: 60,
                          maxFontSize: 60,
                          minFontSize: 30,
                        },
                      })),
                  "neon" == t.productType && I.colorOptions.colors.length > 0)
                ) {
                  let e = I.colorOptions.colors.find((e) => e.isDefault);
                  null == e && (e = I.colorOptions.colors[0]), (ie.value = [e]);
                }
                if (
                  "channel" == t.productType &&
                  I.letterTypesOptions.letterTypes.length > 0
                ) {
                  let e = I.letterTypesOptions.letterTypes.find(
                    (e) => e.isDefault
                  );
                  null == e && (e = I.letterTypesOptions.letterTypes[0]),
                    (ue.value = e),
                    e.letterParts[0].colors.length > 0
                      ? (de.value = [
                          e.letterParts[0].colors.find((e) => e.isDefault) ||
                            e.letterParts[0].colors[0],
                        ])
                      : (de.value = []),
                    e.letterParts[1].activate &&
                    e.letterParts[1].colors.length > 0
                      ? (fe.value = [
                          e.letterParts[1].colors.find((e) => e.isDefault) ||
                            e.letterParts[1].colors[0],
                        ])
                      : (fe.value = []),
                    e.letterParts[2].activate &&
                    e.letterParts[2].colors.length > 0
                      ? (he.value = [
                          e.letterParts[2].colors.find((e) => e.isDefault) ||
                            e.letterParts[2].colors[0],
                        ])
                      : (he.value = []),
                    e.letterParts[3].activate &&
                    e.letterParts[3].colors.length > 0
                      ? (ve.value = [
                          e.letterParts[3].colors.find((e) => e.isDefault) ||
                            e.letterParts[3].colors[0],
                        ])
                      : (ve.value = []);
                }
                if (T.backboardOptions.backboards.length > 0) {
                  let e = be.value.id,
                    t = [];
                  T.backboardColorsOptions.backboardColors.forEach((n) => {
                    n.backboards.includes(e) && t.push(n);
                  }),
                    (ye.value = t),
                    T.backboardOptions.backboards[e]?.backboardLength?.layers
                      ?.activate
                      ? ((we.value = {}),
                        T.backboardOptions.backboards[
                          e
                        ]?.backboardLength?.layers?.options.forEach((n, c) => {
                          const a = t.filter(
                            (t) =>
                              t?.layers?.includes(`${e}/${c}`) &&
                              (("one-of-two" == t.visibilityRule &&
                                (re.value.cm.width >= parseFloat(t.minWidth) ||
                                  re.value.cm.height >=
                                    parseFloat(t.minHeight))) ||
                                ("both" == t.visibilityRule &&
                                  re.value.cm.width >= parseFloat(t.minWidth) &&
                                  re.value.cm.height >=
                                    parseFloat(t.minHeight)))
                          );
                          a.length > 0
                            ? (xe.value[c] = a[0])
                            : (xe.value[c] = []);
                        }))
                      : ((xe.value = []),
                        t.length > 0 && (we.value = t[0]),
                        (ye.value = t));
                }
                T.materialOptions.materials.length > 0 &&
                  (le.value =
                    T.materialOptions.materials.find((e) => e.isDefault) ||
                    T.materialOptions.materials[0]),
                  T.jacketOptions.jackets.length > 0 &&
                    (se.value =
                      T.jacketOptions.jackets.find((e) => e.isDefault) ||
                      T.jacketOptions.jackets[0]),
                  T.mountingOptions.mountings.length > 0 &&
                    (pe.value =
                      T.mountingOptions.mountings.find((e) => e.isDefault) ||
                      T.mountingOptions.mountings[0]),
                  t.config.additionalOptions.customAdditionalsOptions.length >
                    0 &&
                    t.config.additionalOptions.customAdditionalsOptions.forEach(
                      (e, t) => {
                        switch (e.type) {
                          case "yes/no":
                            "yes" == e.default
                              ? St(
                                  t,
                                  e.label,
                                  e.inputs.yes,
                                  e.price,
                                  e.popupImg
                                )
                              : St(
                                  t,
                                  e.label,
                                  e.inputs.no,
                                  { type: "none", value: 0 },
                                  e.popupImg
                                );
                            break;
                          case "image-input":
                          case "dropdown":
                            St(
                              t,
                              e.label,
                              e.options[0].value,
                              e.options[0].price,
                              e.options[0].popupImg
                            );
                        }
                      }
                    ),
                  B.languageImages.images.previewImage
                    .displayDefaultBackgroundImage
                    ? ((Z.value = "blue-gray"), (J.value = "blue-gray"))
                    : B.languageImages.images.manageImages.length > 0 &&
                      ((Z.value = B.languageImages.images.manageImages[0]),
                      (J.value = B.languageImages.images.manageImages[0])),
                  B.languageImages.images.reviewScreenImages
                    .displayDefaultBackgroundImage
                    ? (J.value = "blue-gray")
                    : B.languageImages.images.manageImages.length > 0 &&
                      (J.value = B.languageImages.images.manageImages[0]),
                  B.languageImages.images.enableReviewImage &&
                    (!1 === B.languageImages.images.enableReviewImage
                      ? (Se.value = !1)
                      : (Se.value = !0));
              })(),
              ao(j.activeButtonColor),
              (G.value = _);
            for (let e = G.value.length - 1; e >= 0; e--)
              ((0 ==
                t.config.additionalOptions.backboardOptions.backboards.length &&
                "backboards" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.backboardColorsOptions
                    .backboardColors.length &&
                  "backboard-colors" === G.value[e]) ||
                (0 == t.config.additionalOptions.jacketOptions.jackets.length &&
                  "jackets" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.materialOptions.materials.length &&
                  "materials" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.mountingOptions.mountings.length &&
                  "mountings" === G.value[e]) ||
                (0 ==
                  t.config.additionalOptions.customAdditionalsOptions.length &&
                  "additionals-options" === G.value[e])) &&
                G.value.splice(e, 1);
            const e = Ie.value;
            var c = document.getElementById("ncpc-editor-container"),
              r = c.clientWidth,
              o = c.clientHeight;
            ((Ee = new fabric.Canvas(e, {
              backgroundColor: "transparent",
              width: r,
              height: o,
              interactive: !0,
              name: "front-face",
            })).hoverCursor = "pointer"),
              (Ee.selection = !1),
              (fabric.Object.prototype.transparentCorners = !1),
              (fabric.Object.prototype.cornerColor =
                j.selectedTextBorderCornerColor),
              (fabric.Object.prototype.borderColor = j.selectedTextBorderColor),
              (fabric.Object.prototype.borderScaleFactor = 3),
              (fabric.Object.prototype.padding = 5),
              (fabric.Object.prototype.cornerStyle = "circle"),
              (fabric.Object.prototype.cornerStrokeColor =
                j.selectedTextBorderColor),
              Ee.on("selection:created", function (e) {
                jt(e.selected[0]);
              }),
              Ee.on("selection:updated", function (e) {
                var t = e.selected[0];
                _t(), jt(t);
              }),
              Ee.on("selection:cleared", _t),
              Be("start"),
              Qa(Ee),
              (It.value = !(
                !B.generals.mode || "multi" != B.generals.mode.type
              ));
            var i = {};
            "neon" == t.productType
              ? ((i = {
                  type: t.productType,
                  canSelectText: It.value,
                  font: ce.value,
                  glowEffect: I.colorOptions.glowEffect,
                  color: ie.value,
                  backboard: be.value,
                }),
                await or(t.productType, i))
              : ((i = {
                  type: t.productType,
                  canSelectText: It.value,
                  font: ce.value,
                  letterType: ue.value,
                  colors: {
                    face: null != de.value[0] ? de.value[0] : {},
                    trim: null != fe.value[0] ? fe.value[0] : {},
                    side: null != he.value[0] ? he.value[0] : {},
                    backLit: null != ve.value[0] ? ve.value[0] : {},
                  },
                }),
                await sr(t.productType, i)),
              Ja(
                B.generals.customizer,
                j.colorMeasuringBar,
                j.colorOfMeasuringBarText
              ),
              Ht(),
              B.generals.mode && (Tt.value = B.generals.mode),
              tr(Pt.value),
              (n.value = !0),
              (F.value = !0),
              B?.infos?.customAdditionalsOptions &&
                (Qt.value = B?.infos?.customAdditionalsOptions),
              document.addEventListener("DOMContentLoaded", Jt),
              (en.value = new ResizeObserver(tn));
            const l = document.getElementById("ncpc-finish-button-container");
            let s;
            l && en.value.observe(l),
              t.config.settings.themes?.settings?.openOptions &&
                (Xt.value = {
                  text: !0,
                  font: !0,
                  size: !0,
                  color: !0,
                  letterType: !0,
                  material: !0,
                  jacket: !0,
                  mounting: !0,
                  backboard: !0,
                  backboardColor: !0,
                  additionalOptions: !0,
                }),
              window.addEventListener("resize", () => {
                clearTimeout(s),
                  (s = setTimeout(() => {
                    Be(), Ht();
                  }, 250));
              }),
              window.dispatchEvent(new Event("resize")),
              document.querySelector("#ncpc-configurator-loader") &&
                document.querySelector("#ncpc-configurator-loader").remove();
          });
          const en = (0, c.KR)(null);
          (0, c.xo)(() => {
            en && en.value.disconnect();
          });
          (0, c.KR)(!1);
          const tn = () => {
            const e = document.getElementById("ncpc-finish-button-container");
            x.value = e ? e.offsetHeight : 80;
          };
          return (v, b) => (
            (0, c.uX)(),
            (0, c.CE)("div", null, [
              (0, c.Lk)(
                "div",
                {
                  id: "ncpc-config-container",
                  class: (0, c.C4)(
                    ("right" ==
                    t.config.settings.generals.customizer.destokColumnOrder
                      ? "lg:ncpc-flex-row"
                      : "lg:ncpc-flex-row-reverse") +
                      " ncpc-relative ncpc-flex ncpc-flex-col ncpc-h-[100vh] ncpc-overflow-scroll lg:ncpc-overflow-auto ncpc-justify-between"
                  ),
                },
                [
                  (0, c.Q3)(" section contenant le canvas "),
                  (0, c.Lk)(
                    "div",
                    Ru,
                    [
                      (0, c.Lk)("div", Ou, [
                        (0, c.Lk)(
                          "div",
                          {
                            class:
                              "ncpc-relative ncpc-grow-0 ncpc-items-center ncpc-flex ncpc-bg-vis-bg ncpc-h-full ncpc-w-full",
                            ref_key: "EditorContainer",
                            ref: Te,
                            id: "ncpc-editor-container",
                          },
                          [
                            (0, c.bo)(
                              (0, c.Lk)(
                                "div",
                                {
                                  class: (0, c.C4)([
                                    "ncpc-absolute ncpc-top-0 ncpc-left-0 ncpc-w-full ncpc-h-full ncpc-bg-cover ncpc-bg-no-repeat ncpc-bg-center",
                                    "blue-gray" == Z.value
                                      ? "ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747]"
                                      : `ncpc-bg-[url('${Z.value}')]`,
                                  ]),
                                },
                                null,
                                2
                              ),
                              [[c.aG, P.value]]
                            ),
                            (0, c.Lk)(
                              "canvas",
                              {
                                ref_key: "EditorCanvas",
                                ref: Ie,
                                id: "ncpc-editor-canvas",
                                class: "ncpc-bg-[transparent]",
                              },
                              null,
                              512
                            ),
                            (0, c.R1)(It)
                              ? (0, c.Q3)("v-if", !0)
                              : ((0, c.uX)(), (0, c.CE)("div", $u)),
                          ],
                          512
                        ),
                      ]),
                      (0, c.Lk)("div", Lu, [
                        (0, c.Lk)("div", Su, [
                          1 ==
                          (0, c.R1)(B).languageImages.images.previewImage
                            .activate
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 0,
                                  id: "ncpc-preview-images",
                                  class: (0, c.C4)([
                                    "right" ==
                                    (0, c.R1)(B).generals.customizer
                                      .destokColumnOrder
                                      ? "ncpc-left-4"
                                      : "ncpc-right-4",
                                    "ncpc-p-2 ncpc-w-[70%] ncpc-h-fit ncpc-flex ncpc-items-center ncpc-justify-between",
                                  ]),
                                },
                                [
                                  (0, c.R1)(B).languageImages.images
                                    .manageImages.length > 2
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "span",
                                        {
                                          key: 0,
                                          onClick:
                                            b[0] ||
                                            (b[0] = (e) => {
                                              return (
                                                (t = "preview-scene"),
                                                (Pe.value =
                                                  document.getElementById(t)),
                                                void (Pe.value.scrollLeft -= 150)
                                              );
                                              var t;
                                            }),
                                          class: (0, c.C4)(
                                            `ncpc-text-[${
                                              (0, c.R1)(j)
                                                .activeOptionBorderColor
                                            }] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex`
                                          ),
                                        },
                                        b[30] ||
                                          (b[30] = [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                fill: "none",
                                                viewBox: "0 0 24 24",
                                                "stroke-width": "2",
                                                stroke: "currentColor",
                                                class: "ncpc-w-6 ncpc-h-6",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  "stroke-linecap": "round",
                                                  "stroke-linejoin": "round",
                                                  d: "M15.75 19.5L8.25 12l7.5-7.5",
                                                }),
                                              ],
                                              -1
                                            ),
                                          ]),
                                        2
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                  (0, c.Lk)("div", Eu, [
                                    (0, c.R1)(B).languageImages.images
                                      .previewImage.allowUpload
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", Iu, [
                                          (0, c.Lk)(
                                            "label",
                                            {
                                              class: (0, c.C4)(
                                                `ncpc-text-center ncpc-p-2 ${
                                                  E.value
                                                    ? `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .darkActiveOptionTextColor
                                                      }] ncpc-bg-[${
                                                        (0, c.R1)(j)
                                                          .darkActiveOptionBackgroundColor
                                                      }]`
                                                    : `ncpc-text-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionTextColor
                                                      }] ncpc-bg-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionBackgroundColor
                                                      }]`
                                                } ${
                                                  ze.value
                                                    ? `ncpc-border-[1px] ncpc-border-[${
                                                        (0, c.R1)(j)
                                                          .activeOptionBorderColor
                                                      }] ncpc-h-[60px] ncpc-w-[60px]`
                                                    : `ncpc-border-[${
                                                        (0, c.R1)(j)
                                                          .optionBorderColor
                                                      }]`
                                                } ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center ncpc-cursor-pointer ncpc-h-[60px] ncpc-w-[60px] ncpc-flex ncpc-border-[1px] hover:ncpc-border-[${
                                                  (0, c.R1)(j)
                                                    .activeOptionBorderColor
                                                }] hover:ncpc-h-[60px] hover:ncpc-w-[60px]  ncpc-rounded-lg ncpc-overflow-hidden ncpc-transition-all ncpc-duration-500 ncpc-ease-out`
                                              ),
                                            },
                                            [
                                              (0, c.Lk)(
                                                "input",
                                                {
                                                  type: "file",
                                                  class:
                                                    "ncpc-hidden ncpc-w-full ncpc-h-full",
                                                  accept: "image/*",
                                                  onChange: Fe,
                                                },
                                                null,
                                                32
                                              ),
                                              b[31] ||
                                                (b[31] = (0, c.Lk)(
                                                  "svg",
                                                  {
                                                    xmlns:
                                                      "http://www.w3.org/2000/svg",
                                                    fill: "none",
                                                    viewBox: "0 0 24 24",
                                                    "stroke-width": "1.5",
                                                    stroke: "currentColor",
                                                    class: "ncpc-w-6 ncpc-h-6",
                                                  },
                                                  [
                                                    (0, c.Lk)("path", {
                                                      "stroke-linecap": "round",
                                                      "stroke-linejoin":
                                                        "round",
                                                      d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5",
                                                    }),
                                                  ],
                                                  -1
                                                )),
                                              (0, c.Lk)(
                                                "span",
                                                Tu,
                                                (0, c.v_)(
                                                  (0, c.R1)(B).languageImages
                                                    .images.previewImage
                                                    .uploadText
                                                ),
                                                1
                                              ),
                                            ],
                                            2
                                          ),
                                        ]))
                                      : (0, c.Q3)("v-if", !0),
                                    1 ==
                                    (0, c.R1)(B).languageImages.images
                                      .previewImage
                                      .displayDefaultBackgroundImage
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", Au, [
                                          (0, c.Lk)(
                                            "span",
                                            {
                                              class: (0, c.C4)(
                                                ("blue-gray" == Z.value
                                                  ? `ncpc-border-[1px] ncpc-border-[${
                                                      (0, c.R1)(j)
                                                        .activeOptionBorderColor
                                                    }]`
                                                  : `ncpc-border-[${
                                                      (0, c.R1)(j)
                                                        .optionBorderColor
                                                    }]`) +
                                                  " ncpc-cursor-pointer ncpc-h-[60px] ncpc-w-[60px] ncpc-flex border ncpc-rounded-lg ncpc-overflow-hidden ncpc-bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] ncpc-from-[#3d4566] ncpc-to-[#333747]"
                                              ),
                                              onClick:
                                                b[1] ||
                                                (b[1] = () => _e("blue-gray")),
                                            },
                                            null,
                                            2
                                          ),
                                        ]))
                                      : (0, c.Q3)("v-if", !0),
                                    ((0, c.uX)(!0),
                                    (0, c.CE)(
                                      c.FK,
                                      null,
                                      (0, c.pI)(
                                        (0, c.R1)(B).languageImages.images
                                          .manageImages,
                                        (e, t) => (
                                          (0, c.uX)(),
                                          (0, c.CE)("div", Bu, [
                                            (0, c.Lk)(
                                              "span",
                                              {
                                                class: (0, c.C4)(
                                                  `${
                                                    Z.value == e
                                                      ? `ncpc-opacity-[1] ncpc-border-[1px] ncpc-border-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionBorderColor
                                                        }] ncpc-h-[60px] ncpc-w-[60px] ncpc-opacity-[1]`
                                                      : `ncpc-border-[${
                                                          (0, c.R1)(j)
                                                            .optionBorderColor
                                                        }]`
                                                  } ncpc-cursor-pointer ncpc-h-[60px] ncpc-w-[60px] ncpc-flex ncpc-border-[1px] hover:ncpc-border-[${
                                                    (0, c.R1)(j)
                                                      .activeOptionBorderColor
                                                  }] ncpc-opacity-[.7] hover:ncpc-opacity-[1] ncpc-rounded-lg ncpc-overflow-hidden`
                                                ),
                                                onClick: () => _e(e),
                                              },
                                              [
                                                (0, c.Lk)(
                                                  "img",
                                                  {
                                                    src: e,
                                                    alt: "",
                                                    class: (0, c.C4)(
                                                      "ncpc-w-full ncpc-h-full ncpc-object-cover"
                                                    ),
                                                  },
                                                  null,
                                                  8,
                                                  ju
                                                ),
                                              ],
                                              10,
                                              Mu
                                            ),
                                          ])
                                        )
                                      ),
                                      256
                                    )),
                                  ]),
                                  (0, c.R1)(B).languageImages.images
                                    .manageImages.length > 2
                                    ? ((0, c.uX)(),
                                      (0, c.CE)(
                                        "span",
                                        {
                                          key: 1,
                                          onClick:
                                            b[2] ||
                                            (b[2] = (e) => {
                                              return (
                                                (t = "preview-scene"),
                                                (Pe.value =
                                                  document.getElementById(t)),
                                                void (Pe.value.scrollLeft += 150)
                                              );
                                              var t;
                                            }),
                                          class: (0, c.C4)(
                                            `ncpc-text-[${
                                              (0, c.R1)(j)
                                                .activeOptionBorderColor
                                            }] ncpc-cursor-pointer ncpc-hidden lg:ncpc-flex`
                                          ),
                                        },
                                        b[32] ||
                                          (b[32] = [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                fill: "none",
                                                viewBox: "0 0 24 24",
                                                "stroke-width": "2",
                                                stroke: "currentColor",
                                                class: "ncpc-w-6 ncpc-h-6",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  "stroke-linecap": "round",
                                                  "stroke-linejoin": "round",
                                                  d: "M8.25 4.5l7.5 7.5-7.5 7.5",
                                                }),
                                              ],
                                              -1
                                            ),
                                          ]),
                                        2
                                      ))
                                    : (0, c.Q3)("v-if", !0),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ]),
                        (0, c.Q3)(" boutton pour terminer une config "),
                        (0, c.Lk)("div", _u, [
                          (0, c.Lk)("div", zu, [
                            (0, c.Lk)(
                              "button",
                              {
                                disabled: !Xe.value || 0 == N.value,
                                class: (0, c.C4)(
                                  (E.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).darkActiveButtonTextColor
                                      }] disabled:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }]`
                                    : `ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).activeButtonTextColor
                                      }] disabled:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }]`) +
                                    "\n                                ncpc-cursor-pointer disabled:ncpc-cursor-not-allowed ncpc-w-full ncpc-h-full ncpc-text-xl ncpc-font-bold ncpc-px-4 ncpc-p-1 ncpc-text-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                ),
                                onClick: Le,
                              },
                              (0, c.v_)(
                                (0, c.R1)(B).languageImages.main.finishButton
                              ),
                              11,
                              Fu
                            ),
                          ]),
                        ]),
                      ]),
                      "multi" == (0, c.R1)(B).generals.mode.type
                        ? ((0, c.uX)(),
                          (0, c.CE)(
                            "div",
                            {
                              key: 0,
                              id: "ncpc-selectableTextMessage-container",
                              class: (0, c.C4)([
                                "ncpc-absolute ncpc-z-10 ncpc-top-8 ncpc-left-[30%] ncpc-p-2 ncpc-w-fit ncpc-h-fit",
                                (E.value
                                  ? `ncpc-bg-[${
                                      (0, c.R1)(j).darkBackgroundColor
                                    }] ncpc-text-[${
                                      (0, c.R1)(j).darkOptionTextColor
                                    }]`
                                  : `ncpc-bg-[${
                                      (0, c.R1)(j).backgroundColor
                                    }] ncpc-text-[${
                                      (0, c.R1)(j).optionTextColor
                                    }]`) +
                                  " ncpc-bg-white ncpc-rounded-lg ncpc-shadow",
                              ]),
                            },
                            [
                              (0, c.Lk)("div", Du, [
                                (0, c.Lk)(
                                  "span",
                                  {
                                    class: (0, c.C4)([
                                      `ncpc-flex ncpc-text-[${
                                        (0, c.R1)(j).activeButtonTextColor
                                      }] ${
                                        E.value
                                          ? `lg:ncpc-text-[${
                                              (0, c.R1)(j)
                                                .darkActiveButtonTextColor
                                            }] `
                                          : `lg:ncpc-text-[${
                                              (0, c.R1)(j).activeButtonColor
                                            }] `
                                      }`,
                                      "ncpc-cursor-pointer",
                                    ]),
                                    onClick:
                                      b[3] ||
                                      (b[3] = (e) =>
                                        Me((0, c.R1)(B)?.infos?.sizes)),
                                  },
                                  b[33] ||
                                    (b[33] = [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          strokeWidth: "{1.5}",
                                          stroke: "currentColor",
                                          class: "ncpc-w-6 ncpc-h-6",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            strokeLinecap: "round",
                                            strokeLinejoin: "round",
                                            d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",
                                          }),
                                        ],
                                        -1
                                      ),
                                    ]),
                                  2
                                ),
                                (0, c.Lk)(
                                  "span",
                                  null,
                                  (0, c.v_)(
                                    (0, c.R1)(B).languageImages.main
                                      ?.selectableTextMessage ??
                                      "Click on a text to select and edit it."
                                  ),
                                  1
                                ),
                              ]),
                            ],
                            2
                          ))
                        : (0, c.Q3)("v-if", !0),
                      (0, c.Lk)("div", Pu, [
                        (0, c.Lk)("div", Hu, [
                          (0, c.Lk)("div", null, [
                            1 ==
                            (0, c.R1)(B).generals.customizer.showDayNightButton
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "span",
                                  {
                                    key: 0,
                                    onClick:
                                      b[4] ||
                                      (b[4] = (e) => {
                                        P.value = !P.value;
                                      }),
                                    class:
                                      "ncpc-cursor-pointer ncpc-relative ncpc-h-[45px] ncpc-w-[90px] ncpc-bg-zinc-300 ncpc-border ncpc-flex ncpc-justify-between ncpc-items-center ncpc-rounded-lg ncpc-overflow-hidden",
                                  },
                                  [
                                    (0, c.Lk)(
                                      "span",
                                      {
                                        class: (0, c.C4)(
                                          `${
                                            P.value
                                              ? "ncpc-left-0"
                                              : "ncpc-translate-x-[100%]"
                                          } ncpc-translate-x ncpc-absolute ncpc-w-[50%] ncpc-bg-[${
                                            (0, c.R1)(j).activeButtonColor
                                          }] ncpc-h-[90%] ncpc-transition-all ncpc-ease-in ncpc-duration-200 ncpc-z-0 ncpc-rounded-lg`
                                        ),
                                      },
                                      null,
                                      2
                                    ),
                                    (0, c.Lk)(
                                      "span",
                                      {
                                        class: (0, c.C4)(
                                          (P.value
                                            ? `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .activeButtonTextColor
                                              }]`
                                            : "") +
                                            " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                        ),
                                      },
                                      (0, c.v_)(
                                        (0, c.R1)(B).languageImages.visualizer
                                          .visualizerOn
                                      ),
                                      3
                                    ),
                                    (0, c.Lk)(
                                      "span",
                                      {
                                        class: (0, c.C4)(
                                          (P.value
                                            ? ""
                                            : `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .activeButtonTextColor
                                              }]`) +
                                            " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                        ),
                                      },
                                      (0, c.v_)(
                                        (0, c.R1)(B).languageImages.visualizer
                                          .visualizerOff
                                      ),
                                      3
                                    ),
                                  ]
                                ))
                              : (0, c.Q3)("v-if", !0),
                          ]),
                          (0, c.Lk)("div", null, [
                            (0, c.Lk)(
                              "span",
                              {
                                onClick:
                                  b[5] ||
                                  (b[5] = (e) => (
                                    (H.value = !H.value), void eo(H.value)
                                  )),
                                class:
                                  "ncpc-cursor-pointer ncpc-relative ncpc-h-[45px] ncpc-w-[90px] ncpc-bg-zinc-300 ncpc-border ncpc-flex ncpc-justify-between ncpc-items-center ncpc-rounded-lg ncpc-overflow-hidden",
                              },
                              [
                                (0, c.Lk)(
                                  "span",
                                  {
                                    class: (0, c.C4)(
                                      `${
                                        H.value
                                          ? "ncpc-left-0"
                                          : "ncpc-translate-x-[100%]"
                                      } ncpc-translate-x ncpc-absolute ncpc-w-[50%] ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonColor
                                      }] ncpc-h-[90%] ncpc-transition-all ncpc-ease-in ncpc-duration-200 ncpc-z-0 ncpc-rounded-lg`
                                    ),
                                  },
                                  null,
                                  2
                                ),
                                (0, c.Lk)(
                                  "span",
                                  {
                                    class: (0, c.C4)(
                                      (H.value
                                        ? `ncpc-text-[${
                                            (0, c.R1)(j).activeButtonTextColor
                                          }]`
                                        : "") +
                                        " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                    ),
                                  },
                                  (0, c.v_)(
                                    (0, c.R1)(B).languageImages.visualizer
                                      .visualizerOn
                                  ),
                                  3
                                ),
                                (0, c.Lk)(
                                  "span",
                                  {
                                    class: (0, c.C4)(
                                      (H.value
                                        ? ""
                                        : `ncpc-text-[${
                                            (0, c.R1)(j).activeButtonTextColor
                                          }]`) +
                                        " ncpc-px-2 ncpc-font-bold ncpc-z-10"
                                    ),
                                  },
                                  (0, c.v_)(
                                    (0, c.R1)(B).languageImages.visualizer
                                      .visualizerOff
                                  ),
                                  3
                                ),
                              ]
                            ),
                          ]),
                        ]),
                      ]),
                      (0, c.Lk)("div", Xu, [
                        (0, c.Lk)("div", Nu, [
                          (0, c.Lk)(
                            "div",
                            Qu,
                            (0, c.v_)(
                              (0, c.R1)(B).languageImages.main
                                .textBeforePriceValue
                            ),
                            1
                          ),
                          "none" != (0, c.R1)(B).generals.customizer.discount
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "del",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    "ncpc-text-2xl lg:ncpc-text-3xl " +
                                      (E.value
                                        ? `ncpc-text-[${
                                            (0, c.R1)(j).darkDiscountPriceColor
                                          }]`
                                        : `ncpc-text-[${
                                            (0, c.R1)(j).discountPriceColor
                                          }]`)
                                  ),
                                },
                                (0, c.v_)(Q.value),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                          (0, c.Lk)("span", Wu, (0, c.v_)(W.value), 1),
                          (0, c.Lk)(
                            "div",
                            Uu,
                            (0, c.v_)(
                              (0, c.R1)(B).languageImages.main
                                .textAfterPriceValue
                            ),
                            1
                          ),
                        ]),
                      ]),
                      (0, c.Lk)(
                        "div",
                        {
                          id: "ncpc-mini-options",
                          class: (0, c.C4)(
                            `ncpc-absolute ncpc-hidden ncpc-w-fit ncpc-h-fit ${
                              E.value
                                ? `ncpc-bg-[${
                                    (0, c.R1)(j)
                                      .darkOptionsSectionBackgroundColor
                                  }] ncpc-text-white`
                                : `ncpc-bg-[${
                                    (0, c.R1)(j).optionsSectionBackgroundColor
                                  }] ncpc-text-black`
                            } ncpc-p-3 ncpc-rounded ncpc-z-10`
                          ),
                        },
                        [
                          (0, c.Lk)("div", Ku, [
                            (0, c.R1)(Tt).allowMultiFonts &&
                            "text" == (0, c.R1)(Bt)
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "div",
                                  {
                                    key: 0,
                                    onClick:
                                      b[6] ||
                                      (b[6] = () => {
                                        !(function () {
                                          (qe.value = !qe.value),
                                            (rt.value =
                                              pt.value =
                                              ft.value =
                                              vt.value =
                                              xt.value =
                                                !1);
                                          var e = Ee.getActiveObject();
                                          Ve.value = e.fontFamilyData;
                                        })();
                                      }),
                                    class: (0, c.C4)(
                                      `ncpc-relative ${
                                        E.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(j).darkOptionTextColor
                                            }] hover:ncpc-text-[${
                                              (0, c.R1)(j)
                                                .darkActiveOptionTextColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(j).optionTextColor
                                            }] hover:ncpc-text-[${
                                              (0, c.R1)(j).activeOptionTextColor
                                            }]`
                                      } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                    ),
                                    style: { "box-shadow": "1px 2px 6px grey" },
                                  },
                                  [
                                    (0, c.Lk)(
                                      "p",
                                      {
                                        class: (0, c.C4)(
                                          `ncpc-font-[${
                                            (0, c.R1)(Mt).fontFamily
                                          }]`
                                        ),
                                      },
                                      (0, c.v_)((0, c.R1)(Mt).fontFamily),
                                      3
                                    ),
                                    (0, c.R1)(qe)
                                      ? (0, c.Q3)("v-if", !0)
                                      : ((0, c.uX)(),
                                        (0, c.CE)(
                                          "span",
                                          qu,
                                          b[34] ||
                                            (b[34] = [
                                              (0, c.Lk)(
                                                "svg",
                                                {
                                                  xmlns:
                                                    "http://www.w3.org/2000/svg",
                                                  viewBox: "0 0 20 20",
                                                  fill: "currentColor",
                                                  class: "ncpc-w-5 ncpc-h-5",
                                                },
                                                [
                                                  (0, c.Lk)("path", {
                                                    "fill-rule": "evenodd",
                                                    d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
                                                    "clip-rule": "evenodd",
                                                  }),
                                                ],
                                                -1
                                              ),
                                            ])
                                        )),
                                    (0, c.R1)(qe)
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "span",
                                          Vu,
                                          b[35] ||
                                            (b[35] = [
                                              (0, c.Lk)(
                                                "svg",
                                                {
                                                  xmlns:
                                                    "http://www.w3.org/2000/svg",
                                                  viewBox: "0 0 20 20",
                                                  fill: "currentColor",
                                                  class: "ncpc-w-5 ncpc-h-5",
                                                },
                                                [
                                                  (0, c.Lk)("path", {
                                                    "fill-rule": "evenodd",
                                                    d: "M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",
                                                    "clip-rule": "evenodd",
                                                  }),
                                                ],
                                                -1
                                              ),
                                            ])
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                    (0, c.Lk)(
                                      "span",
                                      {
                                        class: (0, c.C4)(
                                          (E.value
                                            ? `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .darkActiveOptionTextColor
                                              }]`
                                            : `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .activeOptionTextColor
                                              }]`) +
                                            " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                        ),
                                      },
                                      (0, c.v_)(ce.value.length),
                                      3
                                    ),
                                  ],
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                            "neon" == t.productType &&
                            (0, c.R1)(Tt).allowMultiColors
                              ? ((0, c.uX)(),
                                (0, c.CE)(
                                  "div",
                                  {
                                    key: 1,
                                    onClick:
                                      b[7] ||
                                      (b[7] = () => {
                                        !(function () {
                                          (rt.value = !rt.value),
                                            (qe.value =
                                              pt.value =
                                              ft.value =
                                              vt.value =
                                              xt.value =
                                                !1);
                                          var e = Ee.getActiveObject();
                                          it.value = e.colorData;
                                        })();
                                      }),
                                    class: (0, c.C4)(
                                      `ncpc-relative ${
                                        E.value
                                          ? `ncpc-text-[${
                                              (0, c.R1)(j).darkOptionTextColor
                                            }] hover:ncpc-text-[${
                                              (0, c.R1)(j)
                                                .darkActiveOptionTextColor
                                            }]`
                                          : `ncpc-text-[${
                                              (0, c.R1)(j).optionTextColor
                                            }] hover:ncpc-text-[${
                                              (0, c.R1)(j).activeOptionTextColor
                                            }]`
                                      } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                    ),
                                    style: { "box-shadow": "1px 2px 6px grey" },
                                  },
                                  [
                                    (0, c.Q3)(
                                      " {{requiredOptions.colorOptions.label && requiredOptions.colorOptions.label.trim() !== '' ? requiredOptions.colorOptions.label : \"Colors\"}} "
                                    ),
                                    (0, c.R1)(Mt) != {}
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", Gu, [
                                          (0, c.Lk)(
                                            "p",
                                            Yu,
                                            (0, c.v_)(
                                              (0, c.R1)(Mt).colorData.label
                                            ),
                                            1
                                          ),
                                          (0, c.Lk)("div", Zu, [
                                            "" ==
                                            (0, c.R1)(Mt).colorData.previewImg
                                              ? ((0, c.uX)(),
                                                (0, c.CE)("div", Ju, [
                                                  "simple" ==
                                                  (0, c.R1)(Mt).colorData.type
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)(
                                                        "div",
                                                        {
                                                          key: 0,
                                                          class: (0, c.C4)(
                                                            `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                              (0, c.R1)(Mt)
                                                                .colorData
                                                                .codeHex
                                                            }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                          ),
                                                        },
                                                        null,
                                                        2
                                                      ))
                                                    : (0, c.Q3)("v-if", !0),
                                                  "multi" ==
                                                    (0, c.R1)(Mt).colorData
                                                      .type ||
                                                  "flow" ==
                                                    (0, c.R1)(Mt).colorData.type
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)(
                                                        "div",
                                                        {
                                                          key: 1,
                                                          class: (0, c.C4)(
                                                            `ncpc-bg-gradient-to-br ncpc-from-[${
                                                              (0, c.R1)(Mt)
                                                                .colorData
                                                                .codeHex[0]
                                                            }] ncpc-via-[${
                                                              (0, c.R1)(Mt)
                                                                .colorData
                                                                .codeHex
                                                            }]  ncpc-w-full ncpc-h-full`
                                                          ),
                                                        },
                                                        null,
                                                        2
                                                      ))
                                                    : (0, c.Q3)("v-if", !0),
                                                ]))
                                              : (0, c.Q3)("v-if", !0),
                                            "" !=
                                            (0, c.R1)(Mt).colorData.previewImg
                                              ? ((0, c.uX)(),
                                                (0, c.CE)("div", ed, [
                                                  (0, c.Lk)(
                                                    "img",
                                                    {
                                                      src: (0, c.R1)(Mt)
                                                        .colorData.previewImg,
                                                      class:
                                                        "ncpc-w-full ncpc-h-full",
                                                    },
                                                    null,
                                                    8,
                                                    td
                                                  ),
                                                ]))
                                              : (0, c.Q3)("v-if", !0),
                                          ]),
                                        ]))
                                      : (0, c.Q3)("v-if", !0),
                                    (0, c.Lk)(
                                      "span",
                                      {
                                        class: (0, c.C4)(
                                          (E.value
                                            ? `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .darkActiveOptionTextColor
                                              }]`
                                            : `ncpc-text-[${
                                                (0, c.R1)(j)
                                                  .activeOptionTextColor
                                              }]`) +
                                            " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                        ),
                                      },
                                      (0, c.v_)(ie.value.length),
                                      3
                                    ),
                                  ],
                                  2
                                ))
                              : (0, c.Q3)("v-if", !0),
                            "channel" == t.productType &&
                            (0, c.R1)(Tt).allowMultiColors
                              ? ((0, c.uX)(!0),
                                (0, c.CE)(
                                  c.FK,
                                  { key: 2 },
                                  (0, c.pI)(
                                    ue.value.letterParts,
                                    (e, t) => (
                                      (0, c.uX)(),
                                      (0, c.CE)("div", null, [
                                        "face" == e.type && e.activate
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: 0,
                                                onClick:
                                                  b[8] ||
                                                  (b[8] = () => {
                                                    !(function () {
                                                      (pt.value = !pt.value),
                                                        (qe.value =
                                                          rt.value =
                                                          ft.value =
                                                          vt.value =
                                                          xt.value =
                                                            !1);
                                                      var e =
                                                        Ee.getActiveObject();
                                                      ut.value =
                                                        e.faceColorData;
                                                    })();
                                                  }),
                                                class: (0, c.C4)(
                                                  `ncpc-relative ${
                                                    E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkOptionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .optionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`
                                                  } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                                ),
                                                style: {
                                                  "box-shadow":
                                                    "1px 2px 6px grey",
                                                },
                                              },
                                              [
                                                (0, c.R1)(Mt) != {}
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", nd, [
                                                      (0, c.Q3)(
                                                        ' <p :class="``">{{ letterPart.label }}</p> '
                                                      ),
                                                      (0, c.Lk)("div", cd, [
                                                        "" ==
                                                        (0, c.R1)(Mt)
                                                          .faceColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              ad,
                                                              [
                                                                (0, c.Lk)(
                                                                  "div",
                                                                  {
                                                                    class: (0,
                                                                    c.C4)(
                                                                      `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                        (0,
                                                                        c.R1)(
                                                                          Mt
                                                                        )
                                                                          .faceColorData
                                                                          .codeHex
                                                                      }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                    ),
                                                                  },
                                                                  null,
                                                                  2
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                        "" !=
                                                        (0, c.R1)(Mt)
                                                          .faceColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              rd,
                                                              [
                                                                (0, c.Lk)(
                                                                  "img",
                                                                  {
                                                                    src: (0,
                                                                    c.R1)(Mt)
                                                                      .faceColorData
                                                                      .previewImg,
                                                                    class:
                                                                      "ncpc-w-full ncpc-h-full",
                                                                  },
                                                                  null,
                                                                  8,
                                                                  od
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.Lk)(
                                                  "span",
                                                  {
                                                    class: (0, c.C4)(
                                                      (E.value
                                                        ? `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionTextColor
                                                          }]`
                                                        : `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionTextColor
                                                          }]`) +
                                                        " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                    ),
                                                  },
                                                  (0, c.v_)(de.value.length),
                                                  3
                                                ),
                                              ],
                                              2
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                        "trim" == e.type &&
                                        e.activate &&
                                        e.colors.length >= 1
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: 1,
                                                onClick:
                                                  b[9] ||
                                                  (b[9] = () => {
                                                    !(function () {
                                                      (ft.value = !ft.value),
                                                        (qe.value =
                                                          rt.value =
                                                          pt.value =
                                                          vt.value =
                                                          xt.value =
                                                            !1);
                                                      var e =
                                                        Ee.getActiveObject();
                                                      ht.value =
                                                        e.trimColorData;
                                                    })();
                                                  }),
                                                class: (0, c.C4)(
                                                  `ncpc-relative ${
                                                    E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkOptionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .optionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`
                                                  } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                                ),
                                                style: {
                                                  "box-shadow":
                                                    "1px 2px 6px grey",
                                                },
                                              },
                                              [
                                                (0, c.R1)(Mt) != {}
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", id, [
                                                      (0, c.Q3)(
                                                        ' <p :class="``">{{ letterPart.label }}</p> '
                                                      ),
                                                      (0, c.Lk)("div", ld, [
                                                        "" ==
                                                        (0, c.R1)(Mt)
                                                          .trimColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              sd,
                                                              [
                                                                (0, c.Lk)(
                                                                  "div",
                                                                  {
                                                                    class: (0,
                                                                    c.C4)(
                                                                      `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                        (0,
                                                                        c.R1)(
                                                                          Mt
                                                                        )
                                                                          .trimColorData
                                                                          .codeHex
                                                                      }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                    ),
                                                                  },
                                                                  null,
                                                                  2
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                        "" !=
                                                        (0, c.R1)(Mt)
                                                          .trimColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              pd,
                                                              [
                                                                (0, c.Lk)(
                                                                  "img",
                                                                  {
                                                                    src: (0,
                                                                    c.R1)(Mt)
                                                                      .trimColorData
                                                                      .previewImg,
                                                                    class:
                                                                      "ncpc-w-full ncpc-h-full",
                                                                  },
                                                                  null,
                                                                  8,
                                                                  ud
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.Lk)(
                                                  "span",
                                                  {
                                                    class: (0, c.C4)(
                                                      (E.value
                                                        ? `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionTextColor
                                                          }]`
                                                        : `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionTextColor
                                                          }]`) +
                                                        " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                    ),
                                                  },
                                                  (0, c.v_)(fe.value.length),
                                                  3
                                                ),
                                              ],
                                              2
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                        "side" == e.type &&
                                        e.activate &&
                                        e.colors.length >= 1
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: 2,
                                                onClick:
                                                  b[10] ||
                                                  (b[10] = () => {
                                                    !(function () {
                                                      (vt.value = !vt.value),
                                                        (qe.value =
                                                          rt.value =
                                                          pt.value =
                                                          ft.value =
                                                          xt.value =
                                                            !1);
                                                      var e =
                                                        Ee.getActiveObject();
                                                      gt.value =
                                                        e.sideColorData;
                                                    })();
                                                  }),
                                                class: (0, c.C4)(
                                                  `ncpc-relative ${
                                                    E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkOptionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .optionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`
                                                  } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                                ),
                                                style: {
                                                  "box-shadow":
                                                    "1px 2px 6px grey",
                                                },
                                              },
                                              [
                                                (0, c.R1)(Mt) != {}
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", dd, [
                                                      (0, c.Q3)(
                                                        ' <p :class="``">{{ letterPart.label }}</p> '
                                                      ),
                                                      (0, c.Lk)("div", fd, [
                                                        "" ==
                                                        (0, c.R1)(Mt)
                                                          .sideColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              hd,
                                                              [
                                                                (0, c.Lk)(
                                                                  "div",
                                                                  {
                                                                    class: (0,
                                                                    c.C4)(
                                                                      `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                        (0,
                                                                        c.R1)(
                                                                          Mt
                                                                        )
                                                                          .sideColorData
                                                                          .codeHex
                                                                      }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                    ),
                                                                  },
                                                                  null,
                                                                  2
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                        "" !=
                                                        (0, c.R1)(Mt)
                                                          .sideColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              md,
                                                              [
                                                                (0, c.Lk)(
                                                                  "img",
                                                                  {
                                                                    src: (0,
                                                                    c.R1)(Mt)
                                                                      .sideColorData
                                                                      .previewImg,
                                                                    class:
                                                                      "ncpc-w-full ncpc-h-full",
                                                                  },
                                                                  null,
                                                                  8,
                                                                  vd
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.Lk)(
                                                  "span",
                                                  {
                                                    class: (0, c.C4)(
                                                      (E.value
                                                        ? `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionTextColor
                                                          }]`
                                                        : `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionTextColor
                                                          }]`) +
                                                        " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                    ),
                                                  },
                                                  (0, c.v_)(he.value.length),
                                                  3
                                                ),
                                              ],
                                              2
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                        "back-lit" == e.type &&
                                        e.activate &&
                                        e.colors.length >= 1
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "div",
                                              {
                                                key: 3,
                                                onClick:
                                                  b[11] ||
                                                  (b[11] = () => {
                                                    !(function () {
                                                      (xt.value = !xt.value),
                                                        (qe.value =
                                                          rt.value =
                                                          pt.value =
                                                          ft.value =
                                                          vt.value =
                                                            !1);
                                                      var e =
                                                        Ee.getActiveObject();
                                                      wt.value =
                                                        e.backLitColorData;
                                                    })();
                                                  }),
                                                class: (0, c.C4)(
                                                  `ncpc-relative ${
                                                    E.value
                                                      ? `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkOptionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .darkActiveOptionTextColor
                                                        }]`
                                                      : `ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .optionTextColor
                                                        }] hover:ncpc-text-[${
                                                          (0, c.R1)(j)
                                                            .activeOptionTextColor
                                                        }]`
                                                  } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                                ),
                                                style: {
                                                  "box-shadow":
                                                    "1px 2px 6px grey",
                                                },
                                              },
                                              [
                                                (0, c.R1)(Mt) != {}
                                                  ? ((0, c.uX)(),
                                                    (0, c.CE)("div", gd, [
                                                      (0, c.Q3)(
                                                        ' <p :class="``">{{ letterPart.label }}</p> '
                                                      ),
                                                      (0, c.Lk)("div", bd, [
                                                        "" ==
                                                        (0, c.R1)(Mt)
                                                          .backLitColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              xd,
                                                              [
                                                                (0, c.Lk)(
                                                                  "div",
                                                                  {
                                                                    class: (0,
                                                                    c.C4)(
                                                                      `ncpc-w-full ncpc-h-full ncpc-bg-[${
                                                                        (0,
                                                                        c.R1)(
                                                                          Mt
                                                                        )
                                                                          .backLitColorData
                                                                          .codeHex
                                                                      }] ncpc-flex ncpc-justify-center ncpc-items-center`
                                                                    ),
                                                                  },
                                                                  null,
                                                                  2
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                        "" !=
                                                        (0, c.R1)(Mt)
                                                          .backLitColorData
                                                          .previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              wd,
                                                              [
                                                                (0, c.Lk)(
                                                                  "img",
                                                                  {
                                                                    src: (0,
                                                                    c.R1)(Mt)
                                                                      .backLitColorData
                                                                      .previewImg,
                                                                    class:
                                                                      "ncpc-w-full ncpc-h-full",
                                                                  },
                                                                  null,
                                                                  8,
                                                                  yd
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                      ]),
                                                    ]))
                                                  : (0, c.Q3)("v-if", !0),
                                                (0, c.Lk)(
                                                  "span",
                                                  {
                                                    class: (0, c.C4)(
                                                      (E.value
                                                        ? `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionTextColor
                                                          }]`
                                                        : `ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionTextColor
                                                          }]`) +
                                                        " ncpc-absolute ncpc-top-0 ncpc-right-0 ncpc-translate-y-[-50%] ncpc-translate-x-[90%] ncpc-flex ncpc-text-sm ncpc-font-semibold ncpc-px-1"
                                                    ),
                                                  },
                                                  (0, c.v_)(ve.value.length),
                                                  3
                                                ),
                                              ],
                                              2
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                      ])
                                    )
                                  ),
                                  256
                                ))
                              : (0, c.Q3)("v-if", !0),
                            (0, c.Lk)(
                              "div",
                              {
                                onClick:
                                  b[12] ||
                                  (b[12] = () => {
                                    !(function () {
                                      if ("neon" == t.productType)
                                        lt(Mt.value.colorData),
                                          "text" == Bt.value &&
                                            Ge(Mt.value.fontFamilyData);
                                      else {
                                        let e = ue.value.letterParts;
                                        dt(Mt.value.faceColorData),
                                          e[1].activate &&
                                            mt(Mt.value.trimColorData),
                                          e[2].activate &&
                                            bt(Mt.value.sideColorData),
                                          e[3].activate &&
                                            yt(Mt.value.backLitColorData),
                                          "text" == Bt.value &&
                                            Ge(Mt.value.fontFamilyData);
                                      }
                                    })();
                                  }),
                                class: (0, c.C4)(
                                  `ncpc-relative ${
                                    E.value
                                      ? `ncpc-text-[${
                                          (0, c.R1)(j).darkOptionTextColor
                                        }] hover:ncpc-text-[${
                                          (0, c.R1)(j).darkActiveOptionTextColor
                                        }]`
                                      : `ncpc-text-[${
                                          (0, c.R1)(j).optionTextColor
                                        }] hover:ncpc-text-[${
                                          (0, c.R1)(j).activeOptionTextColor
                                        }]`
                                  } ncpc-flex ncpc-space-x-1 ncpc-justify-between ncpc-items-center ncpc-cursor-pointer ncpc-p-1 ncpc-px-2 ncpc-drop-shadow-[0px_1px_10px_#000000}] ncpc-rounded`
                                ),
                                style: { "box-shadow": "1px 2px 6px grey" },
                              },
                              [
                                (0, c.Lk)(
                                  "p",
                                  null,
                                  (0, c.v_)(
                                    (0, c.R1)(B).languageImages.main
                                      .applyToAll ?? "Apply to all"
                                  ),
                                  1
                                ),
                                b[36] ||
                                  (b[36] = (0, c.Lk)(
                                    "span",
                                    { class: "ncpc-flex" },
                                    [
                                      (0, c.Lk)(
                                        "svg",
                                        {
                                          xmlns: "http://www.w3.org/2000/svg",
                                          fill: "none",
                                          viewBox: "0 0 24 24",
                                          "stroke-width": "1.5",
                                          stroke: "currentColor",
                                          class: "ncpc-w-5 ncpc-h-5",
                                        },
                                        [
                                          (0, c.Lk)("path", {
                                            "stroke-linecap": "round",
                                            "stroke-linejoin": "round",
                                            d: "M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6",
                                          }),
                                        ]
                                      ),
                                    ],
                                    -1
                                  )),
                              ],
                              2
                            ),
                          ]),
                          (0, c.R1)(qe) && "text" == (0, c.R1)(Bt)
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 0,
                                  class: (0, c.C4)(
                                    `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                      E.value
                                        ? `ncpc-bg-[${
                                            (0, c.R1)(j)
                                              .darkOptionsSectionBackgroundColor
                                          }] ncpc-text-white`
                                        : `ncpc-bg-[${
                                            (0, c.R1)(j)
                                              .optionsSectionBackgroundColor
                                          }] ncpc-text-black`
                                    } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                  ),
                                },
                                [
                                  (0, c.Lk)("div", kd, [
                                    "both" != (0, c.R1)(M)
                                      ? ((0, c.uX)(!0),
                                        (0, c.CE)(
                                          c.FK,
                                          { key: 0 },
                                          (0, c.pI)(
                                            (0, c.R1)(I).fontOptions.fonts,
                                            (e, t) => (
                                              (0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                {
                                                  class:
                                                    "ncpc-cursor-pointer ncpc-flex ncpc-items-center ncpc-justify-center ncpc-w-fit ncpc-h-fit",
                                                  onClick: (t) => Ge(e, !0),
                                                },
                                                [
                                                  (0, c.Lk)(
                                                    "label",
                                                    {
                                                      class: (0, c.C4)(
                                                        `${
                                                          E.value
                                                            ? `${
                                                                (0, c.R1)(
                                                                  Ve
                                                                ) === e
                                                                  ? `ncpc-selected ncpc-text-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .darkActiveOptionTextColor
                                                                    }] ncpc-bg-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .darkActiveOptionBackgroundColor
                                                                    }] ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .darkActiveOptionBorderColor
                                                                    }]`
                                                                  : `ncpc-text-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .darkOptionTextColor
                                                                    }] ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .darkOptionBorderColor
                                                                    }]`
                                                              } hover:ncpc-text-[${
                                                                (0, c.R1)(j)
                                                                  .darkActiveOptionTextColor
                                                              }] hover:ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .darkActiveOptionBorderColor
                                                              }]`
                                                            : `${
                                                                (0, c.R1)(
                                                                  Ve
                                                                ) === e
                                                                  ? `ncpc-text-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .activeOptionTextColor
                                                                    }] ncpc-bg-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .activeOptionBackgroundColor
                                                                    }] ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .activeOptionBorderColor
                                                                    }]`
                                                                  : `ncpc-text-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .optionTextColor
                                                                    }] ncpc-border-[${
                                                                      (0, c.R1)(
                                                                        j
                                                                      )
                                                                        .optionBorderColor
                                                                    }]`
                                                              } hover:ncpc-text-[${
                                                                (0, c.R1)(j)
                                                                  .activeOptionTextColor
                                                              }] hover:ncpc-border-[${
                                                                (0, c.R1)(j)
                                                                  .activeOptionBorderColor
                                                              }]`
                                                        } \n                                    ncpc-font-[${e.label
                                                          .replaceAll(" ", "-")
                                                          .replaceAll(
                                                            "_",
                                                            "-"
                                                          )}] ncpc-justify-center ncpc-w-full ncpc-h-full ncpc-border ncpc-text-[17px] ncpc-rounded-md ncpc-p-2 ncpc-text-center ncpc-cursor-pointer ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-options-item`
                                                      ),
                                                    },
                                                    (0, c.v_)(e.label),
                                                    3
                                                  ),
                                                ],
                                                8,
                                                Cd
                                              )
                                            )
                                          ),
                                          256
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                    "both" == (0, c.R1)(M)
                                      ? ((0, c.uX)(!0),
                                        (0, c.CE)(
                                          c.FK,
                                          { key: 1 },
                                          (0, c.pI)(
                                            (0, c.R1)(I).fontOptions.fonts,
                                            (e, t) => (
                                              (0, c.uX)(),
                                              (0, c.CE)(
                                                "div",
                                                {
                                                  key: t,
                                                  class: (0, c.C4)([
                                                    "ncpc-options-item ncpc-cursor-pointer ncpc-fonts-option ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-between ncpc-w-[80px] ncpc-h-[100px] ncpc-gap-2 ncpc-border ncpc-rounded",
                                                    "" +
                                                      (E.value
                                                        ? `${
                                                            (0, c.R1)(Ve) === e
                                                              ? `ncpc-text-[${
                                                                  (0, c.R1)(j)
                                                                    .darkActiveOptionTextColor
                                                                }] ncpc-bg-[${
                                                                  (0, c.R1)(j)
                                                                    .darkActiveOptionBackgroundColor
                                                                }] ncpc-border-[${
                                                                  (0, c.R1)(j)
                                                                    .darkActiveOptionBorderColor
                                                                }]`
                                                              : `ncpc-text-[${
                                                                  (0, c.R1)(j)
                                                                    .darkOptionTextColor
                                                                }] ncpc-border-[${
                                                                  (0, c.R1)(j)
                                                                    .darkOptionBorderColor
                                                                }]`
                                                          } hover:ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionTextColor
                                                          }] hover:ncpc-border-[${
                                                            (0, c.R1)(j)
                                                              .darkActiveOptionBorderColor
                                                          }]`
                                                        : `${
                                                            (0, c.R1)(Ve) === e
                                                              ? `ncpc-text-[${
                                                                  (0, c.R1)(j)
                                                                    .activeOptionTextColor
                                                                }] ncpc-bg-[${
                                                                  (0, c.R1)(j)
                                                                    .activeOptionBackgroundColor
                                                                }] ncpc-border-[${
                                                                  (0, c.R1)(j)
                                                                    .activeOptionBorderColor
                                                                }]`
                                                              : `ncpc-text-[${
                                                                  (0, c.R1)(j)
                                                                    .optionTextColor
                                                                }] ncpc-border-[${
                                                                  (0, c.R1)(j)
                                                                    .optionBorderColor
                                                                }]`
                                                          } hover:ncpc-text-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionTextColor
                                                          }] hover:ncpc-border-[${
                                                            (0, c.R1)(j)
                                                              .activeOptionBorderColor
                                                          }]`),
                                                  ]),
                                                  onClick: (t) => Ge(e, !0),
                                                },
                                                [
                                                  (0, c.Lk)("div", Od, [
                                                    (0, c.Lk)(
                                                      "img",
                                                      {
                                                        src: e.previewImg,
                                                        class:
                                                          "ncpc-w-auto ncpc-h-full ncpc-object-contain",
                                                      },
                                                      null,
                                                      8,
                                                      $d
                                                    ),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-fonts-label ncpc-w-full ncpc-text-center ncpc-text-sm ncpc-truncate",
                                                        `ncpc-font-[${e.label
                                                          .replaceAll(" ", "-")
                                                          .replaceAll(
                                                            "_",
                                                            "-"
                                                          )}]`,
                                                      ]),
                                                    },
                                                    [
                                                      (0, c.Lk)(
                                                        "span",
                                                        null,
                                                        (0, c.v_)(e.label),
                                                        1
                                                      ),
                                                    ],
                                                    2
                                                  ),
                                                ],
                                                10,
                                                Rd
                                              )
                                            )
                                          ),
                                          128
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                  ]),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "neon" == t.productType && (0, c.R1)(rt)
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 1,
                                  class: (0, c.C4)(
                                    `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                      E.value
                                        ? `ncpc-bg-[${
                                            (0, c.R1)(j)
                                              .darkOptionsSectionBackgroundColor
                                          }] ncpc-text-white`
                                        : `ncpc-bg-[${
                                            (0, c.R1)(j)
                                              .optionsSectionBackgroundColor
                                          }] ncpc-text-black`
                                    } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                  ),
                                },
                                [
                                  (0, c.Lk)("div", Ld, [
                                    ((0, c.uX)(!0),
                                    (0, c.CE)(
                                      c.FK,
                                      null,
                                      (0, c.pI)(
                                        (0, c.R1)(I).colorOptions.colors,
                                        (e, t) => (
                                          (0, c.uX)(),
                                          (0, c.CE)("div", Sd, [
                                            ("one-of-two" == e.visibilityRule &&
                                              (re.value.cm.width >=
                                                parseFloat(e.minWidth) ||
                                                re.value.cm.height >=
                                                  parseFloat(e.minHeight))) ||
                                            ("both" == e.visibilityRule &&
                                              re.value.cm.width >=
                                                parseFloat(e.minWidth) &&
                                              re.value.cm.height >=
                                                parseFloat(e.minHeight))
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "div",
                                                  {
                                                    key: 0,
                                                    onClick: (t) => lt(e, !0),
                                                    class: (0, c.C4)(
                                                      `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                        ie.value.some(
                                                          (t) => t == e
                                                        )
                                                          ? "" +
                                                            (E.value
                                                              ? `ncpc-border-[${
                                                                  (0, c.R1)(j)
                                                                    .darkActiveOptionBorderColor
                                                                }]`
                                                              : `ncpc-border-[${
                                                                  (0, c.R1)(j)
                                                                    .activeOptionBorderColor
                                                                }]`)
                                                          : E.value
                                                          ? `ncpc-border-[${
                                                              (0, c.R1)(j)
                                                                .darkActiveOptionBorderColor
                                                            }]`
                                                          : `ncpc-border-[${
                                                              (0, c.R1)(j)
                                                                .activeOptionBorderColor
                                                            }]`
                                                      } ncpc-rounded-lg`
                                                    ),
                                                  },
                                                  [
                                                    (0, c.Lk)(
                                                      "label",
                                                      {
                                                        class: (0, c.C4)(
                                                          `${
                                                            (0, c.R1)(it) == e
                                                              ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                  e.codeHex[0]
                                                                }] ${
                                                                  E.value
                                                                    ? `ncpc-border-[${
                                                                        (0,
                                                                        c.R1)(j)
                                                                          .darkActiveOptionBorderColor
                                                                      }]`
                                                                    : `ncpc-border-[${
                                                                        (0,
                                                                        c.R1)(j)
                                                                          .activeOptionBorderColor
                                                                      }]`
                                                                }`
                                                              : ""
                                                          } ncpc-bg-[${
                                                            e.codeHex
                                                          }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                            e.codeHex[0]
                                                          }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                        ),
                                                      },
                                                      [
                                                        "" == e.previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              Id,
                                                              [
                                                                "simple" ==
                                                                e.type
                                                                  ? ((0,
                                                                    c.uX)(),
                                                                    (0, c.CE)(
                                                                      "div",
                                                                      Td,
                                                                      b[37] ||
                                                                        (b[37] =
                                                                          [
                                                                            (0,
                                                                            c.Lk)(
                                                                              "svg",
                                                                              {
                                                                                xmlns:
                                                                                  "http://www.w3.org/2000/svg",
                                                                                viewBox:
                                                                                  "0 0 24 24",
                                                                                fill: "transparent",
                                                                                class:
                                                                                  "w-9 h-9",
                                                                              },
                                                                              [
                                                                                (0,
                                                                                c.Lk)(
                                                                                  "path",
                                                                                  {
                                                                                    d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                  }
                                                                                ),
                                                                                (0,
                                                                                c.Lk)(
                                                                                  "path",
                                                                                  {
                                                                                    "fill-rule":
                                                                                      "evenodd",
                                                                                    d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                    "clip-rule":
                                                                                      "evenodd",
                                                                                  }
                                                                                ),
                                                                              ],
                                                                              -1
                                                                            ),
                                                                          ])
                                                                    ))
                                                                  : (0, c.Q3)(
                                                                      "v-if",
                                                                      !0
                                                                    ),
                                                                "multi" ==
                                                                  e.type ||
                                                                "flow" == e.type
                                                                  ? ((0,
                                                                    c.uX)(),
                                                                    (0, c.CE)(
                                                                      "div",
                                                                      {
                                                                        key: 1,
                                                                        class:
                                                                          (0,
                                                                          c.C4)(
                                                                            `ncpc-bg-gradient-to-br ncpc-from-[${e.codeHex[0]}] ncpc-via-[${e.codeHex}]  ncpc-w-full ncpc-h-full ncpc-p-4`
                                                                          ),
                                                                      },
                                                                      null,
                                                                      2
                                                                    ))
                                                                  : (0, c.Q3)(
                                                                      "v-if",
                                                                      !0
                                                                    ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                        "" != e.previewImg
                                                          ? ((0, c.uX)(),
                                                            (0, c.CE)(
                                                              "div",
                                                              Ad,
                                                              [
                                                                (0, c.Lk)(
                                                                  "img",
                                                                  {
                                                                    src: e.previewImg,
                                                                    class:
                                                                      "ncpc-w-full ncpc-h-full",
                                                                  },
                                                                  null,
                                                                  8,
                                                                  Bd
                                                                ),
                                                              ]
                                                            ))
                                                          : (0, c.Q3)(
                                                              "v-if",
                                                              !0
                                                            ),
                                                      ],
                                                      2
                                                    ),
                                                  ],
                                                  10,
                                                  Ed
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                          ])
                                        )
                                      ),
                                      256
                                    )),
                                  ]),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "channel" == t.productType &&
                          ((0, c.R1)(pt) ||
                            (0, c.R1)(ft) ||
                            (0, c.R1)(vt) ||
                            (0, c.R1)(xt))
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "div",
                                {
                                  key: 2,
                                  class: (0, c.C4)(
                                    `ncpc-absolute ncpc-top-[103%] ncpc-left-[0%] ncpc-w-[400px] ncpc-h-[100px] ${
                                      E.value
                                        ? `ncpc-bg-[${
                                            (0, c.R1)(j)
                                              .darkOptionsSectionBackgroundColor
                                          }] ncpc-text-white`
                                        : `ncpc-bg-[${
                                            (0, c.R1)(j)
                                              .optionsSectionBackgroundColor
                                          }] ncpc-text-black`
                                    } ncpc-p-2 ncpc-overflow-y-auto ncpc-rounded ncpc-noScroll`
                                  ),
                                },
                                [
                                  (0, c.Lk)("div", Md, [
                                    ue.value.letterParts
                                      ? ((0, c.uX)(),
                                        (0, c.CE)("div", jd, [
                                          ((0, c.uX)(!0),
                                          (0, c.CE)(
                                            c.FK,
                                            null,
                                            (0, c.pI)(
                                              ue.value.letterParts,
                                              (e, t) => (
                                                (0, c.uX)(),
                                                (0, c.CE)("div", _d, [
                                                  (0, c.R1)(pt) &&
                                                  "face" == e.type &&
                                                  e.activate
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)("div", zd, [
                                                        (0, c.Lk)("div", Fd, [
                                                          ((0, c.uX)(!0),
                                                          (0, c.CE)(
                                                            c.FK,
                                                            null,
                                                            (0, c.pI)(
                                                              e.colors,
                                                              (e, t) => (
                                                                (0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  Dd,
                                                                  [
                                                                    ("one-of-two" ==
                                                                      e.visibilityRule &&
                                                                      (re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) ||
                                                                        re.value
                                                                          .cm
                                                                          .height >=
                                                                          parseFloat(
                                                                            e.minHeight
                                                                          ))) ||
                                                                    ("both" ==
                                                                      e.visibilityRule &&
                                                                      re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) &&
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))
                                                                      ? ((0,
                                                                        c.uX)(),
                                                                        (0,
                                                                        c.CE)(
                                                                          "div",
                                                                          {
                                                                            key: 0,
                                                                            onClick:
                                                                              (
                                                                                t
                                                                              ) =>
                                                                                dt(
                                                                                  e,
                                                                                  !0
                                                                                ),
                                                                            class:
                                                                              (0,
                                                                              c.C4)(
                                                                                `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                  de.value.includes(
                                                                                    e
                                                                                  )
                                                                                    ? "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkActiveOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .activeOptionBorderColor
                                                                                          }]`)
                                                                                    : "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .optionBorderColor
                                                                                          }]`)
                                                                                } ncpc-rounded-lg`
                                                                              ),
                                                                          },
                                                                          [
                                                                            (0,
                                                                            c.Lk)(
                                                                              "label",
                                                                              {
                                                                                class:
                                                                                  (0,
                                                                                  c.C4)(
                                                                                    `${
                                                                                      (0,
                                                                                      c.R1)(
                                                                                        ut
                                                                                      ) ==
                                                                                      e
                                                                                        ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                            e.codeHex
                                                                                          }] ${
                                                                                            E.value
                                                                                              ? `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .darkActiveOptionBorderColor
                                                                                                }]`
                                                                                              : `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .activeOptionBorderColor
                                                                                                }]`
                                                                                          }`
                                                                                        : ""
                                                                                    } ncpc-bg-[${
                                                                                      e.codeHex
                                                                                    }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                      e.codeHex
                                                                                    }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                  ),
                                                                              },
                                                                              [
                                                                                "" ==
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      Hd,
                                                                                      [
                                                                                        "simple" ==
                                                                                        e.type
                                                                                          ? ((0,
                                                                                            c.uX)(),
                                                                                            (0,
                                                                                            c.CE)(
                                                                                              "div",
                                                                                              Xd,
                                                                                              b[38] ||
                                                                                                (b[38] =
                                                                                                  [
                                                                                                    (0,
                                                                                                    c.Lk)(
                                                                                                      "svg",
                                                                                                      {
                                                                                                        xmlns:
                                                                                                          "http://www.w3.org/2000/svg",
                                                                                                        viewBox:
                                                                                                          "0 0 24 24",
                                                                                                        fill: "transparent",
                                                                                                        class:
                                                                                                          "w-9 h-9",
                                                                                                      },
                                                                                                      [
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                          }
                                                                                                        ),
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            "fill-rule":
                                                                                                              "evenodd",
                                                                                                            d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                            "clip-rule":
                                                                                                              "evenodd",
                                                                                                          }
                                                                                                        ),
                                                                                                      ],
                                                                                                      -1
                                                                                                    ),
                                                                                                  ])
                                                                                            ))
                                                                                          : (0,
                                                                                            c.Q3)(
                                                                                              "v-if",
                                                                                              !0
                                                                                            ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                                "" !=
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      Nd,
                                                                                      [
                                                                                        (0,
                                                                                        c.Lk)(
                                                                                          "img",
                                                                                          {
                                                                                            src: e.previewImg,
                                                                                            class:
                                                                                              "ncpc-w-full ncpc-h-full",
                                                                                          },
                                                                                          null,
                                                                                          8,
                                                                                          Qd
                                                                                        ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                              ],
                                                                              2
                                                                            ),
                                                                          ],
                                                                          10,
                                                                          Pd
                                                                        ))
                                                                      : (0,
                                                                        c.Q3)(
                                                                          "v-if",
                                                                          !0
                                                                        ),
                                                                  ]
                                                                )
                                                              )
                                                            ),
                                                            256
                                                          )),
                                                        ]),
                                                      ]))
                                                    : (0, c.Q3)("v-if", !0),
                                                  (0, c.R1)(ft) &&
                                                  "trim" == e.type &&
                                                  e.activate &&
                                                  e.colors.length >= 1
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)("div", Wd, [
                                                        (0, c.Lk)("div", Ud, [
                                                          ((0, c.uX)(!0),
                                                          (0, c.CE)(
                                                            c.FK,
                                                            null,
                                                            (0, c.pI)(
                                                              e.colors,
                                                              (e, t) => (
                                                                (0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  Kd,
                                                                  [
                                                                    ("one-of-two" ==
                                                                      e.visibilityRule &&
                                                                      (re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) ||
                                                                        re.value
                                                                          .cm
                                                                          .height >=
                                                                          parseFloat(
                                                                            e.minHeight
                                                                          ))) ||
                                                                    ("both" ==
                                                                      e.visibilityRule &&
                                                                      re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) &&
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))
                                                                      ? ((0,
                                                                        c.uX)(),
                                                                        (0,
                                                                        c.CE)(
                                                                          "div",
                                                                          {
                                                                            key: 0,
                                                                            onClick:
                                                                              (
                                                                                t
                                                                              ) =>
                                                                                mt(
                                                                                  e,
                                                                                  !0
                                                                                ),
                                                                            class:
                                                                              (0,
                                                                              c.C4)(
                                                                                `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                  fe.value.includes(
                                                                                    e
                                                                                  )
                                                                                    ? "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkActiveOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .activeOptionBorderColor
                                                                                          }]`)
                                                                                    : "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .optionBorderColor
                                                                                          }]`)
                                                                                } ncpc-rounded-lg`
                                                                              ),
                                                                          },
                                                                          [
                                                                            (0,
                                                                            c.Lk)(
                                                                              "label",
                                                                              {
                                                                                class:
                                                                                  (0,
                                                                                  c.C4)(
                                                                                    `${
                                                                                      (0,
                                                                                      c.R1)(
                                                                                        ht
                                                                                      ) ==
                                                                                      e
                                                                                        ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                            e.codeHex
                                                                                          }] ${
                                                                                            E.value
                                                                                              ? `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .darkActiveOptionBorderColor
                                                                                                }]`
                                                                                              : `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .activeOptionBorderColor
                                                                                                }]`
                                                                                          }`
                                                                                        : ""
                                                                                    } ncpc-bg-[${
                                                                                      e.codeHex
                                                                                    }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                      e.codeHex
                                                                                    }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                  ),
                                                                              },
                                                                              [
                                                                                "" ==
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      Vd,
                                                                                      [
                                                                                        "simple" ==
                                                                                        e.type
                                                                                          ? ((0,
                                                                                            c.uX)(),
                                                                                            (0,
                                                                                            c.CE)(
                                                                                              "div",
                                                                                              Gd,
                                                                                              b[39] ||
                                                                                                (b[39] =
                                                                                                  [
                                                                                                    (0,
                                                                                                    c.Lk)(
                                                                                                      "svg",
                                                                                                      {
                                                                                                        xmlns:
                                                                                                          "http://www.w3.org/2000/svg",
                                                                                                        viewBox:
                                                                                                          "0 0 24 24",
                                                                                                        fill: "transparent",
                                                                                                        class:
                                                                                                          "w-9 h-9",
                                                                                                      },
                                                                                                      [
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                          }
                                                                                                        ),
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            "fill-rule":
                                                                                                              "evenodd",
                                                                                                            d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                            "clip-rule":
                                                                                                              "evenodd",
                                                                                                          }
                                                                                                        ),
                                                                                                      ],
                                                                                                      -1
                                                                                                    ),
                                                                                                  ])
                                                                                            ))
                                                                                          : (0,
                                                                                            c.Q3)(
                                                                                              "v-if",
                                                                                              !0
                                                                                            ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                                "" !=
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      Yd,
                                                                                      [
                                                                                        (0,
                                                                                        c.Lk)(
                                                                                          "img",
                                                                                          {
                                                                                            src: e.previewImg,
                                                                                            class:
                                                                                              "ncpc-w-full ncpc-h-full",
                                                                                          },
                                                                                          null,
                                                                                          8,
                                                                                          Zd
                                                                                        ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                              ],
                                                                              2
                                                                            ),
                                                                          ],
                                                                          10,
                                                                          qd
                                                                        ))
                                                                      : (0,
                                                                        c.Q3)(
                                                                          "v-if",
                                                                          !0
                                                                        ),
                                                                  ]
                                                                )
                                                              )
                                                            ),
                                                            256
                                                          )),
                                                        ]),
                                                      ]))
                                                    : (0, c.Q3)("v-if", !0),
                                                  (0, c.R1)(vt) &&
                                                  "side" == e.type &&
                                                  e.activate &&
                                                  e.colors.length >= 1
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)("div", Jd, [
                                                        (0, c.Lk)("div", ef, [
                                                          ((0, c.uX)(!0),
                                                          (0, c.CE)(
                                                            c.FK,
                                                            null,
                                                            (0, c.pI)(
                                                              e.colors,
                                                              (e, t) => (
                                                                (0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  tf,
                                                                  [
                                                                    ("one-of-two" ==
                                                                      e.visibilityRule &&
                                                                      (re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) ||
                                                                        re.value
                                                                          .cm
                                                                          .height >=
                                                                          parseFloat(
                                                                            e.minHeight
                                                                          ))) ||
                                                                    ("both" ==
                                                                      e.visibilityRule &&
                                                                      re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) &&
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))
                                                                      ? ((0,
                                                                        c.uX)(),
                                                                        (0,
                                                                        c.CE)(
                                                                          "div",
                                                                          {
                                                                            key: 0,
                                                                            onClick:
                                                                              (
                                                                                t
                                                                              ) =>
                                                                                bt(
                                                                                  e,
                                                                                  !0
                                                                                ),
                                                                            class:
                                                                              (0,
                                                                              c.C4)(
                                                                                `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                  he.value.includes(
                                                                                    e
                                                                                  )
                                                                                    ? "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkActiveOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .activeOptionBorderColor
                                                                                          }]`)
                                                                                    : "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .optionBorderColor
                                                                                          }]`)
                                                                                } ncpc-rounded-lg`
                                                                              ),
                                                                          },
                                                                          [
                                                                            (0,
                                                                            c.Lk)(
                                                                              "label",
                                                                              {
                                                                                class:
                                                                                  (0,
                                                                                  c.C4)(
                                                                                    `${
                                                                                      (0,
                                                                                      c.R1)(
                                                                                        gt
                                                                                      ) ==
                                                                                      e
                                                                                        ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                            e.codeHex
                                                                                          }] ${
                                                                                            E.value
                                                                                              ? `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .darkActiveOptionBorderColor
                                                                                                }]`
                                                                                              : `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .activeOptionBorderColor
                                                                                                }]`
                                                                                          }`
                                                                                        : ""
                                                                                    } ncpc-bg-[${
                                                                                      e.codeHex
                                                                                    }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                      e.codeHex
                                                                                    }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                  ),
                                                                              },
                                                                              [
                                                                                "" ==
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      cf,
                                                                                      [
                                                                                        "simple" ==
                                                                                        e.type
                                                                                          ? ((0,
                                                                                            c.uX)(),
                                                                                            (0,
                                                                                            c.CE)(
                                                                                              "div",
                                                                                              af,
                                                                                              b[40] ||
                                                                                                (b[40] =
                                                                                                  [
                                                                                                    (0,
                                                                                                    c.Lk)(
                                                                                                      "svg",
                                                                                                      {
                                                                                                        xmlns:
                                                                                                          "http://www.w3.org/2000/svg",
                                                                                                        viewBox:
                                                                                                          "0 0 24 24",
                                                                                                        fill: "transparent",
                                                                                                        class:
                                                                                                          "w-9 h-9",
                                                                                                      },
                                                                                                      [
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                          }
                                                                                                        ),
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            "fill-rule":
                                                                                                              "evenodd",
                                                                                                            d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                            "clip-rule":
                                                                                                              "evenodd",
                                                                                                          }
                                                                                                        ),
                                                                                                      ],
                                                                                                      -1
                                                                                                    ),
                                                                                                  ])
                                                                                            ))
                                                                                          : (0,
                                                                                            c.Q3)(
                                                                                              "v-if",
                                                                                              !0
                                                                                            ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                                "" !=
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      rf,
                                                                                      [
                                                                                        (0,
                                                                                        c.Lk)(
                                                                                          "img",
                                                                                          {
                                                                                            src: e.previewImg,
                                                                                            class:
                                                                                              "ncpc-w-full ncpc-h-full",
                                                                                          },
                                                                                          null,
                                                                                          8,
                                                                                          of
                                                                                        ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                              ],
                                                                              2
                                                                            ),
                                                                          ],
                                                                          10,
                                                                          nf
                                                                        ))
                                                                      : (0,
                                                                        c.Q3)(
                                                                          "v-if",
                                                                          !0
                                                                        ),
                                                                  ]
                                                                )
                                                              )
                                                            ),
                                                            256
                                                          )),
                                                        ]),
                                                      ]))
                                                    : (0, c.Q3)("v-if", !0),
                                                  (0, c.R1)(xt) &&
                                                  "back-lit" == e.type &&
                                                  e.activate &&
                                                  e.colors.length >= 1
                                                    ? ((0, c.uX)(),
                                                      (0, c.CE)("div", lf, [
                                                        (0, c.Lk)("div", sf, [
                                                          ((0, c.uX)(!0),
                                                          (0, c.CE)(
                                                            c.FK,
                                                            null,
                                                            (0, c.pI)(
                                                              e.colors,
                                                              (e, t) => (
                                                                (0, c.uX)(),
                                                                (0, c.CE)(
                                                                  "div",
                                                                  {
                                                                    onClick: (
                                                                      t
                                                                    ) =>
                                                                      yt(e, !0),
                                                                    class:
                                                                      "ncpc-options-item ncpc-flex ncpc-flex-col ncpc-space-y-1 ncpc-justify-center ncpc-items-center ncpc-text-xs xl:ncpc-text-sm ncpc-w-[50px] ncpc-h-[50px] ncpc-cursor-pointer",
                                                                  },
                                                                  [
                                                                    ("one-of-two" ==
                                                                      e.visibilityRule &&
                                                                      (re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) ||
                                                                        re.value
                                                                          .cm
                                                                          .height >=
                                                                          parseFloat(
                                                                            e.minHeight
                                                                          ))) ||
                                                                    ("both" ==
                                                                      e.visibilityRule &&
                                                                      re.value
                                                                        .cm
                                                                        .width >=
                                                                        parseFloat(
                                                                          e.minWidth
                                                                        ) &&
                                                                      re.value
                                                                        .cm
                                                                        .height >=
                                                                        parseFloat(
                                                                          e.minHeight
                                                                        ))
                                                                      ? ((0,
                                                                        c.uX)(),
                                                                        (0,
                                                                        c.CE)(
                                                                          "div",
                                                                          {
                                                                            key: 0,
                                                                            class:
                                                                              (0,
                                                                              c.C4)(
                                                                                `ncpc-w-full ncpc-h-full ncpc-flex ncpc-justify-center ncpc-items-center ncpc-p-0.5 ncpc-border ${
                                                                                  ve.value.includes(
                                                                                    e
                                                                                  )
                                                                                    ? "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkActiveOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .activeOptionBorderColor
                                                                                          }]`)
                                                                                    : "" +
                                                                                      (E.value
                                                                                        ? `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .darkOptionBorderColor
                                                                                          }]`
                                                                                        : `ncpc-border-[${
                                                                                            (0,
                                                                                            c.R1)(
                                                                                              j
                                                                                            )
                                                                                              .optionBorderColor
                                                                                          }]`)
                                                                                } ncpc-rounded-lg`
                                                                              ),
                                                                          },
                                                                          [
                                                                            (0,
                                                                            c.Lk)(
                                                                              "label",
                                                                              {
                                                                                class:
                                                                                  (0,
                                                                                  c.C4)(
                                                                                    `${
                                                                                      (0,
                                                                                      c.R1)(
                                                                                        wt
                                                                                      ) ==
                                                                                      e
                                                                                        ? `ncpc-selected ncpc-drop-shadow-[0px_1px_15px_${
                                                                                            e.codeHex
                                                                                          }] ${
                                                                                            E.value
                                                                                              ? `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .darkActiveOptionBorderColor
                                                                                                }]`
                                                                                              : `ncpc-border-[${
                                                                                                  (0,
                                                                                                  c.R1)(
                                                                                                    j
                                                                                                  )
                                                                                                    .activeOptionBorderColor
                                                                                                }]`
                                                                                          }`
                                                                                        : ""
                                                                                    } ncpc-bg-[${
                                                                                      e.codeHex
                                                                                    }] ncpc-w-full ncpc-h-full ncpc-cursor-pointer ncpc-flex ncpc-flex-col ncpc-justify-center ncpc-items-center hover:ncpc-drop-shadow-[0px_1px_15px_${
                                                                                      e.codeHex
                                                                                    }] ncpc-rounded-md ncpc-transition-all ncpc-ease-in-out ncpc-duration-500 ncpc-overflow-hidden `
                                                                                  ),
                                                                              },
                                                                              [
                                                                                "" ==
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      uf,
                                                                                      [
                                                                                        "simple" ==
                                                                                        e.type
                                                                                          ? ((0,
                                                                                            c.uX)(),
                                                                                            (0,
                                                                                            c.CE)(
                                                                                              "div",
                                                                                              df,
                                                                                              b[41] ||
                                                                                                (b[41] =
                                                                                                  [
                                                                                                    (0,
                                                                                                    c.Lk)(
                                                                                                      "svg",
                                                                                                      {
                                                                                                        xmlns:
                                                                                                          "http://www.w3.org/2000/svg",
                                                                                                        viewBox:
                                                                                                          "0 0 24 24",
                                                                                                        fill: "transparent",
                                                                                                        class:
                                                                                                          "w-9 h-9",
                                                                                                      },
                                                                                                      [
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            d: "M12 .75a8.25 8.25 0 00-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 00.577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 01-.937-.171.75.75 0 11.374-1.453 5.261 5.261 0 002.626 0 .75.75 0 11.374 1.452 6.712 6.712 0 01-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 00.577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0012 .75z",
                                                                                                          }
                                                                                                        ),
                                                                                                        (0,
                                                                                                        c.Lk)(
                                                                                                          "path",
                                                                                                          {
                                                                                                            "fill-rule":
                                                                                                              "evenodd",
                                                                                                            d: "M9.013 19.9a.75.75 0 01.877-.597 11.319 11.319 0 004.22 0 .75.75 0 11.28 1.473 12.819 12.819 0 01-4.78 0 .75.75 0 01-.597-.876zM9.754 22.344a.75.75 0 01.824-.668 13.682 13.682 0 002.844 0 .75.75 0 11.156 1.492 15.156 15.156 0 01-3.156 0 .75.75 0 01-.668-.824z",
                                                                                                            "clip-rule":
                                                                                                              "evenodd",
                                                                                                          }
                                                                                                        ),
                                                                                                      ],
                                                                                                      -1
                                                                                                    ),
                                                                                                  ])
                                                                                            ))
                                                                                          : (0,
                                                                                            c.Q3)(
                                                                                              "v-if",
                                                                                              !0
                                                                                            ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                                "" !=
                                                                                e.previewImg
                                                                                  ? ((0,
                                                                                    c.uX)(),
                                                                                    (0,
                                                                                    c.CE)(
                                                                                      "div",
                                                                                      ff,
                                                                                      [
                                                                                        (0,
                                                                                        c.Lk)(
                                                                                          "img",
                                                                                          {
                                                                                            src: e.previewImg,
                                                                                            class:
                                                                                              "ncpc-w-full ncpc-h-full",
                                                                                          },
                                                                                          null,
                                                                                          8,
                                                                                          hf
                                                                                        ),
                                                                                      ]
                                                                                    ))
                                                                                  : (0,
                                                                                    c.Q3)(
                                                                                      "v-if",
                                                                                      !0
                                                                                    ),
                                                                              ],
                                                                              2
                                                                            ),
                                                                          ],
                                                                          2
                                                                        ))
                                                                      : (0,
                                                                        c.Q3)(
                                                                          "v-if",
                                                                          !0
                                                                        ),
                                                                  ],
                                                                  8,
                                                                  pf
                                                                )
                                                              )
                                                            ),
                                                            256
                                                          )),
                                                        ]),
                                                      ]))
                                                    : (0, c.Q3)("v-if", !0),
                                                ])
                                              )
                                            ),
                                            256
                                          )),
                                        ]))
                                      : (0, c.Q3)("v-if", !0),
                                  ]),
                                ],
                                2
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ],
                        2
                      ),
                    ],
                    512
                  ),
                  (0, c.Lk)(
                    "div",
                    {
                      class: (0, c.C4)(
                        `${
                          Se.value ? "ncpc-relative" : ""
                        } lg:ncpc-overflow-hidden lg:ncpc-w-[35%] ncpc-h-[60%] lg:ncpc-h-[100%] ncpc-bg-[${
                          (0, c.R1)(j).optionsSectionBackgroundColor
                        }] ncpc-rounded-lg`
                      ),
                    },
                    [
                      (0, c.Lk)(
                        "div",
                        {
                          class: (0, c.C4)(
                            `ncpc-relative ncpc-w-full ncpc-h-[calc(100%-${x.value}px)] lg:ncpc-h-full`
                          ),
                        },
                        [
                          (0, c.Lk)("div", mf, [
                            ((0, c.uX)(!0),
                            (0, c.CE)(
                              c.FK,
                              null,
                              (0, c.pI)(
                                (0, c.R1)(_),
                                (a, r) => (
                                  (0, c.uX)(),
                                  (0, c.CE)(
                                    "div",
                                    { key: r, class: "ncpc-px-2" },
                                    [
                                      "text-form" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 0 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[13] ||
                                                    (b[13] = (e) =>
                                                      Nt("text-form")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", vf, [
                                                    t.config.settings
                                                      .languageImages.main
                                                      .textBoxLabel
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          gf,
                                                          (0, c.v_)(
                                                            t.config.settings
                                                              .languageImages
                                                              .main.textBoxLabel
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.settings
                                                      .languageImages.main
                                                      .textBoxLabel
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          bf,
                                                          "Text"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).text
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[42] ||
                                                      (b[42] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  ee,
                                                  {
                                                    config: t.config,
                                                    renderText: n.value,
                                                    pricing: t.pricing,
                                                    isBelowLimit: (0, c.R1)(Ft),
                                                    currentSize: oe.value,
                                                    currentBackboard: be.value,
                                                    currentSignSize: re.value,
                                                    currentIndex: (0, c.R1)(U),
                                                    darkMode: E.value,
                                                    sortOptions: (0, c.R1)(_),
                                                    handleEditTexts: We,
                                                    handleChangeTextAlignment:
                                                      Ke,
                                                    loadBackboardOnLoading: Ut,
                                                    goToStep: Y,
                                                    backToStart: V,
                                                    next: K,
                                                    prec: q,
                                                    onOnSizeChanged: et,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "renderText",
                                                    "pricing",
                                                    "isBelowLimit",
                                                    "currentSize",
                                                    "currentBackboard",
                                                    "currentSignSize",
                                                    "currentIndex",
                                                    "darkMode",
                                                    "sortOptions",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).text]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "fonts" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 1 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[14] ||
                                                    (b[14] = (e) =>
                                                      Nt("fonts")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", xf, [
                                                    t.config.requiredOptions
                                                      .fontOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          wf,
                                                          (0, c.v_)(
                                                            t.config
                                                              .requiredOptions
                                                              .fontOptions.label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.requiredOptions
                                                      .fontOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          yf,
                                                          "Font"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).font
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[43] ||
                                                      (b[43] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  me,
                                                  {
                                                    config: t.config,
                                                    fonts:
                                                      t.config.requiredOptions
                                                        .fontOptions.fonts,
                                                    "selected-fonts": ce.value,
                                                    title:
                                                      t.config.requiredOptions
                                                        .fontOptions.label,
                                                    description:
                                                      t.config.requiredOptions
                                                        .fontOptions
                                                        .description,
                                                    "display-mode": (0, c.R1)(
                                                      M
                                                    ),
                                                    "dark-mode": E.value,
                                                    theme: (0, c.R1)(j),
                                                    handleSelectFont: Ge,
                                                    "show-mobile-nav": !0,
                                                    onBack: q,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "fonts",
                                                    "selected-fonts",
                                                    "title",
                                                    "description",
                                                    "display-mode",
                                                    "dark-mode",
                                                    "theme",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).font]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "sizes" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 2 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[15] ||
                                                    (b[15] = (e) =>
                                                      Nt("sizes")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", kf, [
                                                    t.config.requiredOptions
                                                      .sizeOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Cf,
                                                          (0, c.v_)(
                                                            t.config
                                                              .requiredOptions
                                                              .sizeOptions.label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.requiredOptions
                                                      .sizeOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Rf,
                                                          "Sizes"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).size
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[44] ||
                                                      (b[44] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  Ae,
                                                  {
                                                    pricing: t.pricing,
                                                    "themes-colors": (0, c.R1)(
                                                      j
                                                    ),
                                                    "dark-mode": E.value,
                                                    settings: (0, c.R1)(B),
                                                    "required-options": (0,
                                                    c.R1)(I),
                                                    "current-size": oe.value,
                                                    "default-size": ae.value,
                                                    "current-sign-size":
                                                      re.value,
                                                    "dimensions-format": (0,
                                                    c.R1)(D),
                                                    "custom-size-min-scale":
                                                      je.value,
                                                    onBackToStart: q,
                                                    onDisplayInfo: Me,
                                                    onChangeCurrentSize: tt,
                                                    onChangeSizeWithCustomSize:
                                                      nt,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "pricing",
                                                    "themes-colors",
                                                    "dark-mode",
                                                    "settings",
                                                    "required-options",
                                                    "current-size",
                                                    "default-size",
                                                    "current-sign-size",
                                                    "dimensions-format",
                                                    "custom-size-min-scale",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).size]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "neon" == t.productType && "colors" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 3 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[16] ||
                                                    (b[16] = (e) =>
                                                      Nt("colors")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Of, [
                                                    t.config.requiredOptions
                                                      .colorOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          $f,
                                                          (0, c.v_)(
                                                            t.config
                                                              .requiredOptions
                                                              .colorOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.requiredOptions
                                                      .colorOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Lf,
                                                          "Colors"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).color
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[45] ||
                                                      (b[45] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  ot,
                                                  {
                                                    config: t.config,
                                                    themesColors: (0, c.R1)(j),
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    currentsColors: ie.value,
                                                    onChangeCurrentsColors: lt,
                                                    onDisplayInfo: Me,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "currencySymbol",
                                                    "currentsColors",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).color]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "channel" == t.productType &&
                                      "letter-types" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 4 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[17] ||
                                                    (b[17] = (e) =>
                                                      Nt("letter-types")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Sf, [
                                                    t.config.requiredOptions
                                                      .letterTypesOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Ef,
                                                          (0, c.v_)(
                                                            t.config
                                                              .requiredOptions
                                                              .letterTypesOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.requiredOptions
                                                      .letterTypesOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          If,
                                                          "Letter Types"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).letterType
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[46] ||
                                                      (b[46] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  Dt,
                                                  {
                                                    config: t.config,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    displayOptions: (0, c.R1)(
                                                      M
                                                    ),
                                                    currentLetterType: ue.value,
                                                    currentFaceColors: de.value,
                                                    currentTrimColors: fe.value,
                                                    currentSideColors: he.value,
                                                    currentBackLitColors:
                                                      ve.value,
                                                    currentSignSize: re.value,
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    onChangeCurrentLetterType:
                                                      st,
                                                    onChangeCurrentsFaceColors:
                                                      dt,
                                                    onChangeCurrentsTrimColors:
                                                      mt,
                                                    onChangeCurrentsSideColors:
                                                      bt,
                                                    onChangeCurrentsBackLitColors:
                                                      yt,
                                                    onDisplayInfo: Me,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "darkMode",
                                                    "displayOptions",
                                                    "currentLetterType",
                                                    "currentFaceColors",
                                                    "currentTrimColors",
                                                    "currentSideColors",
                                                    "currentBackLitColors",
                                                    "currentSignSize",
                                                    "currencySymbol",
                                                  ]
                                                ),
                                                [
                                                  [
                                                    c.aG,
                                                    (0, c.R1)(Xt).letterType,
                                                  ],
                                                ]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "neon" == t.productType &&
                                      t.config.additionalOptions.materialOptions
                                        .materials.length > 0 &&
                                      "materials" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 5 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[18] ||
                                                    (b[18] = (e) =>
                                                      Nt("materials")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Tf, [
                                                    t.config.additionalOptions
                                                      .materialOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Af,
                                                          (0, c.v_)(
                                                            t.config
                                                              .additionalOptions
                                                              .materialOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.additionalOptions
                                                      .materialOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Bf,
                                                          "Materials"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).material
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[47] ||
                                                      (b[47] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  Wt,
                                                  {
                                                    config: t.config,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    currentMaterial: le.value,
                                                    onChangeMaterial: Ot,
                                                    onDisplayInfo: Me,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "darkMode",
                                                    "currencySymbol",
                                                    "currentMaterial",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).material]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      "neon" == t.productType &&
                                      t.config.additionalOptions.jacketOptions
                                        .jackets.length > 0 &&
                                      "jackets" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 6 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[19] ||
                                                    (b[19] = (e) =>
                                                      Nt("jackets")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Mf, [
                                                    t.config.additionalOptions
                                                      .jacketOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          jf,
                                                          (0, c.v_)(
                                                            t.config
                                                              .additionalOptions
                                                              .jacketOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.additionalOptions
                                                      .jacketOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          _f,
                                                          "Jackets"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).jacket
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[48] ||
                                                      (b[48] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  cn,
                                                  {
                                                    config: t.config,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    currentJacket: se.value,
                                                    currentsColors: ie.value,
                                                    onChangeJacket: Lt,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "darkMode",
                                                    "currencySymbol",
                                                    "currentJacket",
                                                    "currentsColors",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).jacket]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      t.config.additionalOptions.mountingOptions
                                        .mountings.length > 0 &&
                                      "mountings" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 7 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[20] ||
                                                    (b[20] = (e) =>
                                                      Nt("mountings")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", zf, [
                                                    t.config.additionalOptions
                                                      .mountingOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Ff,
                                                          (0, c.v_)(
                                                            t.config
                                                              .additionalOptions
                                                              .mountingOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.additionalOptions
                                                      .mountingOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Df,
                                                          "Mountings"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).mounting
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[49] ||
                                                      (b[49] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  Yt,
                                                  {
                                                    config: t.config,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    currentMounting: pe.value,
                                                    onChangeMounting: $t,
                                                    onDisplayInfo: Me,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "darkMode",
                                                    "currencySymbol",
                                                    "currentMounting",
                                                  ]
                                                ),
                                                [[c.aG, (0, c.R1)(Xt).mounting]]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      t.config.additionalOptions
                                        .backboardOptions.backboards.length >
                                        0 && "backboards" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 8 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[21] ||
                                                    (b[21] = (e) =>
                                                      Nt("backboards")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Pf, [
                                                    t.config.additionalOptions
                                                      .backboardOptions.label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Hf,
                                                          (0, c.v_)(
                                                            t.config
                                                              .additionalOptions
                                                              .backboardOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.additionalOptions
                                                      .backboardOptions.label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Xf,
                                                          "Backboards"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt).backboard
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[50] ||
                                                      (b[50] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  un,
                                                  {
                                                    config: t.config,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    currentBackboard: be.value,
                                                    onChangeBackboard: kt,
                                                    onDisplayInfo: Me,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "darkMode",
                                                    "currencySymbol",
                                                    "currentBackboard",
                                                  ]
                                                ),
                                                [
                                                  [
                                                    c.aG,
                                                    (0, c.R1)(Xt).backboard,
                                                  ],
                                                ]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      (ye.value.length > 0 ||
                                        (be.value?.backboardLength?.layers
                                          ?.activate &&
                                          be.value.backboardLength.layers
                                            .options.length > 0 &&
                                          xe.value.length > 0)) &&
                                      "backboard-colors" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 9 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[22] ||
                                                    (b[22] = (e) =>
                                                      Nt("backboard-colors")),
                                                  class: (0, c.C4)(
                                                    `ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-1.5 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer ncpc-base-animation`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Nf, [
                                                    t.config.additionalOptions
                                                      .backboardColorsOptions
                                                      .label
                                                      ? ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Qf,
                                                          (0, c.v_)(
                                                            t.config
                                                              .additionalOptions
                                                              .backboardColorsOptions
                                                              .label
                                                          ),
                                                          1
                                                        ))
                                                      : (0, c.Q3)("v-if", !0),
                                                    t.config.additionalOptions
                                                      .backboardColorsOptions
                                                      .label
                                                      ? (0, c.Q3)("v-if", !0)
                                                      : ((0, c.uX)(),
                                                        (0, c.CE)(
                                                          "p",
                                                          Wf,
                                                          "Materials"
                                                        )),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt)
                                                          .backboardColor
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[51] ||
                                                      (b[51] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  Ln,
                                                  {
                                                    config: t.config,
                                                    currentBackboard: be.value,
                                                    currentBackboardColor:
                                                      we.value,
                                                    currentLayersColors:
                                                      xe.value,
                                                    currentSignSize: re.value,
                                                    enableBackboardsColors:
                                                      ye.value,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    onChangeColor: Ct,
                                                    onChangeLayerColor: Rt,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "currentBackboard",
                                                    "currentBackboardColor",
                                                    "currentLayersColors",
                                                    "currentSignSize",
                                                    "enableBackboardsColors",
                                                    "themesColors",
                                                    "darkMode",
                                                    "currencySymbol",
                                                  ]
                                                ),
                                                [
                                                  [
                                                    c.aG,
                                                    (0, c.R1)(Xt)
                                                      .backboardColor,
                                                  ],
                                                ]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      0 !=
                                        t.config.additionalOptions
                                          .customAdditionalsOptions.length &&
                                      "additionals-options" == a
                                        ? ((0, c.uX)(),
                                          (0, c.CE)(
                                            c.FK,
                                            { key: 10 },
                                            [
                                              (0, c.Lk)(
                                                "div",
                                                {
                                                  onClick:
                                                    b[23] ||
                                                    (b[23] = (e) =>
                                                      Nt(
                                                        "additionals-options"
                                                      )),
                                                  class: (0, c.C4)(
                                                    ` ncpc-hidden lg:ncpc-flex ncpc-items-center ncpc-justify-between ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }] ncpc-text-lg ncpc-font-medium ncpc-p-2 ncpc-px-3 ncpc-rounded-md ncpc-cursor-pointer`
                                                  ),
                                                },
                                                [
                                                  (0, c.Lk)("div", Uf, [
                                                    (0, c.Lk)(
                                                      "p",
                                                      null,
                                                      (0, c.v_)(
                                                        t.config.settings
                                                          .languageImages.main
                                                          .sectionAdditionalOptions ??
                                                          "Additional Options"
                                                      ),
                                                      1
                                                    ),
                                                  ]),
                                                  (0, c.Lk)(
                                                    "div",
                                                    {
                                                      class: (0, c.C4)([
                                                        "ncpc-flex",
                                                        (0, c.R1)(Xt)
                                                          .additionalOptions
                                                          ? " ncpc-rotate-180 "
                                                          : "",
                                                      ]),
                                                    },
                                                    b[52] ||
                                                      (b[52] = [
                                                        (0, c.Lk)(
                                                          "svg",
                                                          {
                                                            xmlns:
                                                              "http://www.w3.org/2000/svg",
                                                            fill: "none",
                                                            viewBox:
                                                              "0 0 24 24",
                                                            "stroke-width": "2",
                                                            stroke:
                                                              "currentColor",
                                                            class:
                                                              "ncpc-w-5 ncpc-h-5",
                                                          },
                                                          [
                                                            (0, c.Lk)("path", {
                                                              "stroke-linecap":
                                                                "round",
                                                              "stroke-linejoin":
                                                                "round",
                                                              d: "m19.5 8.25-7.5 7.5-7.5-7.5",
                                                            }),
                                                          ],
                                                          -1
                                                        ),
                                                      ]),
                                                    2
                                                  ),
                                                ],
                                                2
                                              ),
                                              (0, c.bo)(
                                                (0, c.bF)(
                                                  Lc,
                                                  {
                                                    config: e.config,
                                                    themesColors: (0, c.R1)(j),
                                                    darkMode: E.value,
                                                    currentCustomsAdditionals:
                                                      ge.value,
                                                    additionnalInfos: (0, c.R1)(
                                                      Qt
                                                    ),
                                                    currencySymbol: (0, c.R1)(
                                                      X
                                                    ),
                                                    onSelectCustomAdditionalOnRow:
                                                      St,
                                                    onHandleDisplayInfo: Me,
                                                  },
                                                  null,
                                                  8,
                                                  [
                                                    "config",
                                                    "themesColors",
                                                    "darkMode",
                                                    "currentCustomsAdditionals",
                                                    "additionnalInfos",
                                                    "currencySymbol",
                                                  ]
                                                ),
                                                [
                                                  [
                                                    c.aG,
                                                    (0, c.R1)(Xt)
                                                      .additionalOptions,
                                                  ],
                                                ]
                                              ),
                                            ],
                                            64
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                    ]
                                  )
                                )
                              ),
                              128
                            )),
                          ]),
                        ],
                        2
                      ),
                      (0, c.Lk)(
                        "div",
                        {
                          id: "ncpc-finish-button-container",
                          class: (0, c.C4)([
                            "ncpc-w-full lg:ncpc-hidden ncpc-flex ncpc-justify-center ncpc-items-center ncpc-flex-col ncpc-shadow-xl ncpc-shadow-black ncpc-py-2 ncpc-space-y-2",
                            `ncpc-bg-[${
                              (0, c.R1)(j)?.finishButtonContainerColor
                            }] `,
                          ]),
                        },
                        [
                          "show" ==
                          (0, c.R1)(B).generals.customizer
                            .displayPriceBeforeFinishBotton
                            ? ((0, c.uX)(),
                              (0, c.CE)("div", Kf, [
                                "none" !=
                                (0, c.R1)(B).generals.customizer.discount
                                  ? ((0, c.uX)(),
                                    (0, c.CE)(
                                      "del",
                                      {
                                        key: 0,
                                        class: (0, c.C4)(
                                          "ncpc-text-lg ncpc-font-bold " +
                                            (E.value
                                              ? `ncpc-text-[${
                                                  (0, c.R1)(j)
                                                    .darkDiscountPriceColor
                                                }]`
                                              : `ncpc-text-[${
                                                  (0, c.R1)(j)
                                                    .finishButtonContainerDiscountPriceColor
                                                }]`)
                                        ),
                                      },
                                      (0, c.v_)(Q.value),
                                      3
                                    ))
                                  : (0, c.Q3)("v-if", !0),
                                (0, c.Lk)(
                                  "p",
                                  {
                                    class: (0, c.C4)(
                                      `ncpc-text-lg ncpc-text-[${
                                        (0, c.R1)(j)
                                          .finishButtonContainerPriceColor
                                      }] ncpc-font-bold ncpc-text-center ncpc_total_price`
                                    ),
                                  },
                                  (0, c.v_)(W.value),
                                  3
                                ),
                              ]))
                            : (0, c.Q3)("v-if", !0),
                          "advanced" !== t.pricing && Ze.value
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 1,
                                  class: (0, c.C4)(
                                    `ncpc-px-2 ncpc-text-[${
                                      (0, c.R1)(j).formErrorBg ?? "#FF0000"
                                    }] ncpc-text-xs lg:ncpc-text-sm`
                                  ),
                                },
                                (0, c.v_)(
                                  (0, c.R1)(B).languageImages.main.lines ??
                                    "Your sign has exceeded the maximum number of lines"
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                          "advanced" !== t.pricing && Je.value
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "p",
                                {
                                  key: 2,
                                  class: (0, c.C4)(
                                    `ncpc-px-2 ncpc-text-[${
                                      (0, c.R1)(j).formErrorBg ?? "#FF0000"
                                    }] ncpc-text-xs lg:ncpc-text-sm`
                                  ),
                                },
                                (0, c.v_)(
                                  (0, c.R1)(B).languageImages.main.characters ??
                                    "Your sign has exceeded the maximum number of characters"
                                ),
                                3
                              ))
                            : (0, c.Q3)("v-if", !0),
                          (0, c.Lk)("div", qf, [
                            (0, c.Lk)(
                              "button",
                              {
                                disabled: !Xe.value || 0 == N.value,
                                class: (0, c.C4)(
                                  (E.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).darkActiveButtonTextColor
                                      }] disabled:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).darkActiveButtonHoverColor
                                      }]`
                                    : `ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).activeButtonTextColor
                                      }] disabled:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }] hover:ncpc-bg-[${
                                        (0, c.R1)(j).activeButtonHoverColor
                                      }]`) +
                                    "\n                            ncpc-cursor-pointer disabled:ncpc-cursor-not-allowed ncpc-w-full ncpc-h-full ncpc-text-xl ncpc-font-bold ncpc-px-4 ncpc-p-1 ncpc-text-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out"
                                ),
                                onClick: Le,
                              },
                              (0, c.v_)(
                                (0, c.R1)(B).languageImages.main.finishButton
                              ),
                              11,
                              Vf
                            ),
                          ]),
                        ],
                        2
                      ),
                    ],
                    2
                  ),
                  (0, c.Q3)(
                    " modal de chargement pour la generation de l'image "
                  ),
                  !Oe.value && Ce.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        Jc,
                        {
                          key: 0,
                          config: t.config,
                          "sign-recaps": ke.value,
                          "themes-colors": (0, c.R1)(j),
                          "dark-mode": E.value,
                          "enable-review-image": Se.value,
                          "sign-preview-img-without-bg": $e.value,
                          "formated-price-without-reduce": Q.value,
                          "formated-price-with-reduce": W.value,
                          currentReviewBackgroundScene: J.value,
                          "adding-to-cart": d.value,
                          onChangeFinishBuildSign: Re,
                          onAddToCart: f,
                          onHandleGetAQuote: m,
                          onChangeReviewBackgroundScene: De,
                        },
                        null,
                        8,
                        [
                          "config",
                          "sign-recaps",
                          "themes-colors",
                          "dark-mode",
                          "enable-review-image",
                          "sign-preview-img-without-bg",
                          "formated-price-without-reduce",
                          "formated-price-with-reduce",
                          "currentReviewBackgroundScene",
                          "adding-to-cart",
                        ]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  Ne.value
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "div",
                        {
                          key: 1,
                          class: (0, c.C4)(
                            (E.value
                              ? `ncpc-bg-[${
                                  (0, c.R1)(j).darkBackgroundColor
                                }] ncpc-text-[${
                                  (0, c.R1)(j).darkOptionTextColor
                                }] ncpc-drop-shadow-[0px_1px_15px_${
                                  (0, c.R1)(j).darkBackgroundColor
                                }] ncpc-border ncpc-border-[${
                                  (0, c.R1)(j).darkActiveButtonColor
                                }]`
                              : `ncpc-bg-[${
                                  (0, c.R1)(j).backgroundColor
                                }] ncpc-text-[${
                                  (0, c.R1)(j).optionTextColor
                                }] ncpc-drop-shadow-[0px_1px_15px_${
                                  (0, c.R1)(j).backgroundColor
                                }] ncpc-border ncpc-border-[${
                                  (0, c.R1)(j).activeButtonColor
                                }]`) +
                              " ncpc-absolute ncpc-top-[50%] ncpc-left-[50%] ncpc-translate-x-[-50%] ncpc-translate-y-[-50%] ncpc-p-4 ncpc-flex ncpc-flex-col ncpc-items-center ncpc-justify-center ncpc-space-y-2 ncpc-rounded-lg ncpc-z-20"
                          ),
                        },
                        [
                          (0, c.Lk)("p", null, (0, c.v_)(Qe.value), 1),
                          t.config.settings.languageImages.customDesign.link
                            .activate
                            ? ((0, c.uX)(),
                              (0, c.CE)(
                                "a",
                                {
                                  key: 0,
                                  href: t.config.settings.languageImages
                                    .customDesign.link.link,
                                  class: (0, c.C4)(
                                    (E.value
                                      ? `ncpc-bg-[${
                                          (0, c.R1)(j).darkActiveButtonColor
                                        }] ncpc-text-[${
                                          (0, c.R1)(j).darkActiveButtonTextColor
                                        }]  hover:ncpc-bg-[${
                                          (0, c.R1)(j)
                                            .darkActiveButtonHoverColor
                                        }]`
                                      : `ncpc-bg-[${
                                          (0, c.R1)(j).activeButtonColor
                                        }] ncpc-text-[${
                                          (0, c.R1)(j).activeButtonTextColor
                                        }] hover:ncpc-bg-[${
                                          (0, c.R1)(j).activeButtonHoverColor
                                        }]`) +
                                      " ncpc-text-sm ncpc-p-2 ncpc-rounded-lg"
                                  ),
                                  style: { "text-decoration": "none" },
                                },
                                (0, c.v_)(
                                  t.config.settings.languageImages.customDesign
                                    .link.phraseSubmitCustom
                                ),
                                11,
                                Gf
                              ))
                            : (0, c.Q3)("v-if", !0),
                        ],
                        2
                      ))
                    : (0, c.Q3)("v-if", !0),
                  (0, c.Q3)(
                    " modal de chargement pour la generation de l'image "
                  ),
                  Oe.value && Ce.value
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "div",
                        {
                          key: 2,
                          class: (0, c.C4)(
                            (E.value
                              ? "" +
                                ((0, c.R1)(j).darkFinishModalColor
                                  ? `ncpc-bg-[${
                                      (0, c.R1)(j).darkFinishModalColor
                                    }]`
                                  : "ncpc-bg-black")
                              : "" +
                                ((0, c.R1)(j).finishModalColor
                                  ? `ncpc-bg-[${(0, c.R1)(j).finishModalColor}]`
                                  : "ncpc-bg-black")) +
                              " ncpc-absolute ncpc-w-full ncpc-h-full ncpc-bg-opacity-80 ncpc-flex ncpc-items-center ncpc-justify-center ncpc-z-20"
                          ),
                        },
                        [
                          ((0, c.uX)(),
                          (0, c.CE)("svg", Yf, [
                            (0, c.Lk)("g", null, [
                              (0, c.Lk)(
                                "path",
                                {
                                  d: "M11 50A39 39 0 0 0 89 50A39 42.6 0 0 1 11 50",
                                  fill: E.value
                                    ? (0, c.R1)(j).darkFinishModalLoaderColor
                                      ? (0, c.R1)(j).darkFinishModalLoaderColor
                                      : "#ece8e8"
                                    : (0, c.R1)(j).finishModalLoaderColor
                                    ? (0, c.R1)(j).finishModalLoaderColor
                                    : "#ece8e8",
                                  stroke: "none",
                                },
                                b[53] ||
                                  (b[53] = [
                                    (0, c.Lk)(
                                      "animateTransform",
                                      {
                                        attributeName: "transform",
                                        type: "rotate",
                                        dur: "1s",
                                        repeatCount: "indefinite",
                                        keyTimes: "0;1",
                                        values: "0 50 51.8;360 50 51.8",
                                      },
                                      null,
                                      -1
                                    ),
                                  ]),
                                8,
                                Zf
                              ),
                              b[54] || (b[54] = (0, c.Lk)("g", null, null, -1)),
                            ]),
                          ])),
                        ],
                        2
                      ))
                    : (0, c.Q3)("v-if", !0),
                  h.value
                    ? ((0, c.uX)(),
                      (0, c.CE)(
                        "div",
                        {
                          key: 3,
                          onClick: (0, c.D$)(m, ["self"]),
                          class:
                            "ncpc-overflow-y-auto ncpc-overflow-x-hidden ncpc-absolute ncpc-top-0 ncpc-bg-gray-500 ncpc-bg-opacity-50 ncpc-right-0 ncpc-left-0 ncpc-z-[9999] ncpc-justify-center ncpc-items-center ncpc-w-full ncpc-md:inset-0 ncpc-h-[calc(100%)] ncpc-max-h-full ncpc-flex ncpc-justify-center ncpc-items-center sign-bazar-not-margin",
                        },
                        [
                          (0, c.Lk)("div", Jf, [
                            (0, c.Lk)(
                              "div",
                              {
                                class: (0, c.C4)(
                                  (E.value
                                    ? `ncpc-bg-[${
                                        (0, c.R1)(j).darkBackgroundColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).darkOptionTextColor
                                      }]`
                                    : `ncpc-bg-[${
                                        (0, c.R1)(j).backgroundColor
                                      }] ncpc-text-[${
                                        (0, c.R1)(j).optionTextColor
                                      }]`) +
                                    " ncpc-relative ncpc-bg-white ncpc-rounded-lg ncpc-shadow"
                                ),
                              },
                              [
                                (0, c.Lk)("div", eh, [
                                  (0, c.Lk)("div", th, [
                                    (0, c.Lk)(
                                      "div",
                                      {
                                        class: (0, c.C4)(
                                          "" +
                                            (E.value
                                              ? `ncpc-text-[${
                                                  (0, c.R1)(j).darkTitleColor
                                                }]`
                                              : `ncpc-text-[${
                                                  (0, c.R1)(j).titleColor
                                                }]`)
                                        ),
                                      },
                                      [
                                        (0, c.R1)(B).languageImages.main.header
                                          ? ((0, c.uX)(),
                                            (0, c.Wv)(
                                              (0, c.$y)((0, c.R1)(a)),
                                              {
                                                key: 0,
                                                class:
                                                  "ncpc-lowercase first-letter:ncpc-uppercase ncpc-font-semibold",
                                                style: { "font-size": "17px" },
                                              },
                                              {
                                                default: (0, c.k6)(() => [
                                                  (0, c.eW)(
                                                    (0, c.v_)(
                                                      t.config.settings
                                                        .languageImages.main
                                                        .quoteModalTitle ||
                                                        "Quote Request Submission"
                                                    ),
                                                    1
                                                  ),
                                                ]),
                                                _: 1,
                                              }
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                        (0, c.R1)(B).languageImages.main.header
                                          ? (0, c.Q3)("v-if", !0)
                                          : ((0, c.uX)(),
                                            (0, c.Wv)(
                                              (0, c.$y)((0, c.R1)(a)),
                                              {
                                                key: 1,
                                                class: "ncpc-font-semibold",
                                                style: { "font-size": "17px" },
                                              },
                                              {
                                                default: (0, c.k6)(() => [
                                                  (0, c.eW)(
                                                    (0, c.v_)(
                                                      t.config.settings
                                                        .languageImages.main
                                                        .quoteModalTitle ||
                                                        "Quote Request Submission"
                                                    ),
                                                    1
                                                  ),
                                                ]),
                                                _: 1,
                                              }
                                            )),
                                      ],
                                      2
                                    ),
                                    (0, c.R1)(B).languageImages.customDesign
                                      .link.activate
                                      ? ((0, c.uX)(),
                                        (0, c.CE)(
                                          "a",
                                          {
                                            key: 0,
                                            href: (0, c.R1)(B).languageImages
                                              .customDesign.link.link,
                                            class:
                                              "ncpc-text-sm text-cyan-600 underline",
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(B).languageImages
                                              .customDesign.link
                                              .phraseSubmitCustom
                                          ),
                                          9,
                                          nh
                                        ))
                                      : (0, c.Q3)("v-if", !0),
                                  ]),
                                  (0, c.Lk)(
                                    "button",
                                    {
                                      disabled: r.value,
                                      onClick: m,
                                      class:
                                        "ncpc-bg-white ncpc-text-[#000000] hover:ncpc-bg-white focus:ncpc-bg-white hover:sygnstext-[#000000] hover:ncpc-text-[#000000] ncpc-shadow-none",
                                    },
                                    b[55] ||
                                      (b[55] = [
                                        (0, c.Lk)(
                                          "svg",
                                          {
                                            class: "ncpc-w-3 ncpc-h-3",
                                            "aria-hidden": "true",
                                            xmlns: "http://www.w3.org/2000/svg",
                                            fill: "none",
                                            viewBox: "0 0 14 14",
                                          },
                                          [
                                            (0, c.Lk)("path", {
                                              stroke: "currentColor",
                                              "stroke-linecap": "round",
                                              "stroke-linejoin": "round",
                                              "stroke-width": "2",
                                              d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6",
                                            }),
                                          ],
                                          -1
                                        ),
                                        (0, c.Lk)(
                                          "span",
                                          { class: "ncpc-sr-only" },
                                          "Close modal",
                                          -1
                                        ),
                                      ]),
                                    8,
                                    ch
                                  ),
                                ]),
                                i.value
                                  ? (0, c.Q3)("v-if", !0)
                                  : ((0, c.uX)(),
                                    (0, c.CE)("div", ah, [
                                      (0, c.Lk)("div", rh, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              (E.value
                                                ? `ncpc-text-[${
                                                    (0, c.R1)(j).darkTitleColor
                                                  }]`
                                                : `ncpc-text-[${
                                                    (0, c.R1)(j).titleColor
                                                  }]`) +
                                                " ncpc-flex ncpc-items-center"
                                            ),
                                          },
                                          [
                                            (0, c.eW)(
                                              (0, c.v_)(
                                                (0, c.R1)(B).languageImages.main
                                                  .email
                                              ),
                                              1
                                            ),
                                            b[56] ||
                                              (b[56] = (0, c.Lk)(
                                                "span",
                                                { class: "ncpc-text-red-500" },
                                                "*",
                                                -1
                                              )),
                                          ],
                                          2
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[24] ||
                                                (b[24] = (e) =>
                                                  (s.value.email = e)),
                                              onInput: u,
                                            },
                                            null,
                                            544
                                          ),
                                          [[c.Jo, s.value.email]]
                                        ),
                                        "" != l.value
                                          ? ((0, c.uX)(),
                                            (0, c.CE)(
                                              "p",
                                              oh,
                                              (0, c.v_)(l.value),
                                              1
                                            ))
                                          : (0, c.Q3)("v-if", !0),
                                      ]),
                                      (0, c.Lk)("div", ih, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (E.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(j).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(B).languageImages.main
                                              .firstName
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[25] ||
                                                (b[25] = (e) =>
                                                  (s.value.firstName = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.firstName]]
                                        ),
                                      ]),
                                      (0, c.Lk)("div", lh, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (E.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(j).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(B).languageImages.main
                                              .lastName
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[26] ||
                                                (b[26] = (e) =>
                                                  (s.value.lastName = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.lastName]]
                                        ),
                                      ]),
                                      (0, c.Lk)("div", sh, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (E.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(j).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(B).languageImages.main
                                              .phone
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "input",
                                            {
                                              type: "text",
                                              class:
                                                "ncpc-border ncpc-rounded ncpc-h-[35px] ncpc-w-full",
                                              "onUpdate:modelValue":
                                                b[27] ||
                                                (b[27] = (e) =>
                                                  (s.value.phone = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.phone]]
                                        ),
                                      ]),
                                      (0, c.R1)(B).generals.requestQuote
                                        .allowUploadFiles
                                        ? ((0, c.uX)(),
                                          (0, c.Wv)(
                                            Ra,
                                            {
                                              key: 0,
                                              darkMode: E.value,
                                              themesColors: (0, c.R1)(j),
                                              settings: (0, c.R1)(B),
                                              quoteFiles: s.value.files,
                                              "change-files": g,
                                            },
                                            null,
                                            8,
                                            [
                                              "darkMode",
                                              "themesColors",
                                              "settings",
                                              "quoteFiles",
                                            ]
                                          ))
                                        : (0, c.Q3)("v-if", !0),
                                      (0, c.Lk)("div", ph, [
                                        (0, c.Lk)(
                                          "span",
                                          {
                                            for: "",
                                            class: (0, c.C4)(
                                              "" +
                                                (E.value
                                                  ? `ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .darkTitleColor
                                                    }]`
                                                  : `ncpc-text-[${
                                                      (0, c.R1)(j).titleColor
                                                    }]`)
                                            ),
                                          },
                                          (0, c.v_)(
                                            (0, c.R1)(B).languageImages.main
                                              .quoteAdditionalNotes
                                          ),
                                          3
                                        ),
                                        (0, c.bo)(
                                          (0, c.Lk)(
                                            "textarea",
                                            {
                                              class:
                                                "ncpc-resize-y ncpc-border ncpc-rounded ncpc-w-full",
                                              rows: "2",
                                              "onUpdate:modelValue":
                                                b[28] ||
                                                (b[28] = (e) =>
                                                  (s.value.message = e)),
                                            },
                                            null,
                                            512
                                          ),
                                          [[c.Jo, s.value.message]]
                                        ),
                                      ]),
                                      (0, c.Lk)("div", uh, [
                                        (0, c.Lk)(
                                          "button",
                                          {
                                            onClick:
                                              b[29] ||
                                              (b[29] = (e) =>
                                                (async function () {
                                                  r.value = !0;
                                                  const e = O({
                                                    firstName: {
                                                      label:
                                                        B.languageImages.main
                                                          .firstName,
                                                      value: s.value.firstName,
                                                    },
                                                    lastName: {
                                                      label:
                                                        B.languageImages.main
                                                          .lastName,
                                                      value: s.value.lastName,
                                                    },
                                                    email: {
                                                      label:
                                                        B.languageImages.main
                                                          .emailLabel ||
                                                        "Email",
                                                      value: s.value.email,
                                                    },
                                                    phone: {
                                                      label:
                                                        B.languageImages.main
                                                          .phone,
                                                      value: s.value.phone,
                                                    },
                                                    message: {
                                                      label:
                                                        B.languageImages.main
                                                          .quoteAdditionnalNotes ||
                                                        "Message",
                                                      value: s.value.message,
                                                    },
                                                    productType: {
                                                      label:
                                                        B.languageImages.main
                                                          .productType ||
                                                        "Product Type",
                                                      value: t.productType,
                                                    },
                                                    files: s.value.files,
                                                    recaps: {
                                                      ...ke.value.recaps,
                                                    },
                                                    previewImg:
                                                      ke.value.previewImg,
                                                    svgData: ke.value.svgData,
                                                    configId:
                                                      ncpcData.currentConfig.id,
                                                    status: "pending",
                                                  });
                                                  (await R(e)).success
                                                    ? ((r.value = !1),
                                                      (i.value = !0))
                                                    : (r.value = !1);
                                                })()),
                                            disabled: r.value || !p.value,
                                            class: (0, c.C4)(
                                              `disabled:ncpc-cursor-not-allowed ${
                                                E.value
                                                  ? `ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .darkActiveButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .darkActiveButtonTextColor
                                                    }]  hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .darkActiveButtonHoverColor
                                                    }]`
                                                  : `ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }]`
                                              } ncpc-cursor-pointer ncpc-text-[15px] ncpc-w-fit ncpc-rounded-md ncpc-font-semibold ncpc-text-center ncpc-p-2 ncpc-px-4 ncpc-flex ncpc-space-x-2 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out`
                                            ),
                                          },
                                          [
                                            r.value
                                              ? ((0, c.uX)(),
                                                (0, c.CE)(
                                                  "div",
                                                  fh,
                                                  b[57] ||
                                                    (b[57] = [
                                                      (0, c.Lk)(
                                                        "img",
                                                        {
                                                          src: o.A,
                                                          alt: "",
                                                          class:
                                                            "ncpc-w-6 ncpc-h-6",
                                                        },
                                                        null,
                                                        -1
                                                      ),
                                                    ])
                                                ))
                                              : (0, c.Q3)("v-if", !0),
                                            (0, c.Lk)(
                                              "p",
                                              null,
                                              (0, c.v_)(
                                                t.config.settings.languageImages
                                                  .main
                                                  .buttonSendAQuoteFormLabel
                                              ),
                                              1
                                            ),
                                          ],
                                          10,
                                          dh
                                        ),
                                      ]),
                                    ])),
                                i.value
                                  ? ((0, c.uX)(),
                                    (0, c.CE)("div", hh, [
                                      b[59] ||
                                        (b[59] = (0, c.Lk)(
                                          "div",
                                          {
                                            class:
                                              "ncpc-flex ncpc-justify-center",
                                          },
                                          [
                                            (0, c.Lk)(
                                              "svg",
                                              {
                                                xmlns:
                                                  "http://www.w3.org/2000/svg",
                                                height: "150px",
                                                viewBox: "0 -960 960 960",
                                                width: "150px",
                                                fill: "#6ae2ce",
                                              },
                                              [
                                                (0, c.Lk)("path", {
                                                  d: "m421-298 283-283-46-45-237 237-120-120-45 45 165 166Zm59 218q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z",
                                                }),
                                              ]
                                            ),
                                          ],
                                          -1
                                        )),
                                      (0, c.Lk)(
                                        "p",
                                        mh,
                                        (0, c.v_)(
                                          t.config.settings.languageImages.main
                                            .quoteThanksMessage ||
                                            "Your quote has been sent successfully"
                                        ),
                                        1
                                      ),
                                      (0, c.Lk)("div", vh, [
                                        (0, c.Lk)(
                                          "button",
                                          {
                                            onClick: m,
                                            class: (0, c.C4)(
                                              `disabled:ncpc-cursor-not-allowed ${
                                                E.value
                                                  ? `ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .darkActiveButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .darkActiveButtonTextColor
                                                    }]  hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .darkActiveButtonHoverColor
                                                    }]`
                                                  : `ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonColor
                                                    }] ncpc-text-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonTextColor
                                                    }] hover:ncpc-bg-[${
                                                      (0, c.R1)(j)
                                                        .activeButtonHoverColor
                                                    }]`
                                              } ncpc-cursor-pointer ncpc-text-[15px] ncpc-w-fit ncpc-rounded-md ncpc-font-semibold ncpc-text-center ncpc-p-2 ncpc-px-4 ncpc-flex ncpc-space-x-2 ncpc-items-center ncpc-justify-center ncpc-transition-all ncpc-duration-500 ncpc-ease-in-out`
                                            ),
                                          },
                                          b[58] ||
                                            (b[58] = [
                                              (0, c.Lk)("p", null, " OK ", -1),
                                            ]),
                                          2
                                        ),
                                      ]),
                                    ]))
                                  : (0, c.Q3)("v-if", !0),
                              ],
                              2
                            ),
                          ]),
                        ]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  S.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        A,
                        {
                          key: 4,
                          message: L.value,
                          close: () => {
                            S.value = !1;
                          },
                        },
                        null,
                        8,
                        ["message", "close"]
                      ))
                    : (0, c.Q3)("v-if", !0),
                ],
                2
              ),
            ])
          );
        },
      };
      n(9291);
      var bh = gh,
        xh = n(6925),
        wh = {
          __name: "index",
          setup(e) {
            const t = (0, c.KR)(""),
              n = (0, c.KR)(""),
              a = (0, c.KR)(),
              r = (0, c.KR)("");
            (0, c.sV)(async () => {
              if ("preview-back" == Ch.currentRoute.value.name) {
                const e = Ch.currentRoute.value.params.configId,
                  c = await xh.A.getconfig(e);
                (a.value = o(c)),
                  (n.value = c.productType),
                  (r.value = c.pricingMode),
                  (t.value = c.data.settings.themes.skin);
              } else
                (t.value = ncpcData.skin),
                  (r.value = ncpcData.currentConfig.pricingMode),
                  (a.value = o(
                    ncpcData.currentConfig.data,
                    ncpcData.currentConfig.pricingMode
                  )),
                  (n.value = ncpcData.currentConfig.productType);
            });
            const o = (e, t) => {
              if ("advanced" !== t) {
                for (
                  let t = 0;
                  t < e.requiredOptions.sizeOptions.sizes.length;
                  t++
                ) {
                  const n = e.requiredOptions.sizeOptions.sizes[t];
                  n.resizeSettings ||
                    ((n.resizeSettings = {
                      autoResize: !0,
                      desktop: {
                        defaultFontSize: 110,
                        maxFontSize: 110,
                        minFontSize: 30,
                      },
                      mobile: {
                        defaultFontSize: 60,
                        maxFontSize: 60,
                        minFontSize: 30,
                      },
                    }),
                    (e.requiredOptions.sizeOptions.sizes[t] = n));
                }
                return (
                  e.requiredOptions.sizeOptions.sizes.length > 0 &&
                    -1 ==
                      e.requiredOptions.sizeOptions.sizes.findIndex(
                        (e) => e.isDefault
                      ) &&
                    (e.requiredOptions.sizeOptions.sizes[0].isDefault = !0),
                  e.requiredOptions.fontOptions.fonts.length > 0 &&
                    -1 ==
                      e.requiredOptions.fontOptions.fonts.findIndex(
                        (e) => e.isDefault
                      ) &&
                    (e.requiredOptions.fontOptions.fonts[0].isDefault = !0),
                  e.requiredOptions.sizeOptions.sizes.splice(3),
                  e.requiredOptions.colorOptions.colors.splice(10),
                  e.requiredOptions.fontOptions.fonts.splice(10),
                  e.additionalOptions.jacketOptions.jackets.splice(0),
                  e.additionalOptions.materialOptions.materials.splice(0),
                  e.additionalOptions.mountingOptions.mountings.splice(0),
                  e.additionalOptions.backboardOptions.backboards.splice(2),
                  e.additionalOptions.backboardColorsOptions.backboardColors.splice(
                    2
                  ),
                  (e.settings.generals.mode = {
                    type: "simple",
                    allowMultiFonts: !0,
                    allowMultiColors: !0,
                  }),
                  e
                );
              }
              return {};
            };
            return (e, o) => (
              (0, c.uX)(),
              (0, c.CE)(
                c.FK,
                null,
                [
                  "default" == t.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        is,
                        {
                          key: 0,
                          pricing: r.value,
                          config: a.value,
                          productType: n.value,
                        },
                        null,
                        8,
                        ["pricing", "config", "productType"]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  "mono" == t.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        Cu,
                        {
                          key: 1,
                          pricing: r.value,
                          config: a.value,
                          productType: n.value,
                        },
                        null,
                        8,
                        ["pricing", "config", "productType"]
                      ))
                    : (0, c.Q3)("v-if", !0),
                  "zou" == t.value
                    ? ((0, c.uX)(),
                      (0, c.Wv)(
                        bh,
                        {
                          key: 2,
                          pricing: r.value,
                          config: a.value,
                          productType: n.value,
                        },
                        null,
                        8,
                        ["pricing", "config", "productType"]
                      ))
                    : (0, c.Q3)("v-if", !0),
                ],
                64
              )
            );
          },
        };
      var yh = wh,
        kh = n(5220);
      var Ch = (0, kh.aE)({
        history: (0, kh.Bt)(),
        routes: [
          { path: "/", name: "Index", component: yh },
          { path: "/preview/:configId", name: "preview-back", component: yh },
        ],
      });
      const Rh = (0, c.Ef)(a);
      Rh.directive("click-outside", {
        beforeMount(e, t) {
          (e.clickOutsideEvent = function (n) {
            e === n.target || e.contains(n.target) || t.value(n);
          }),
            document.body.addEventListener("click", e.clickOutsideEvent);
        },
        unmounted(e) {
          document.body.removeEventListener("click", e.clickOutsideEvent);
        },
      }),
        Rh.use(Ch),
        Rh.use(r.A),
        Rh.mount("#ncpc-frontend-app"),
        setTimeout(() => {
          if ("#/" === window.location.hash) {
            const e = window.location.href.split("#")[0];
            window.history.replaceState(null, null, e);
          }
        }, 100);
    },
    6471: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    6925: function (e, t, n) {
      "use strict";
      const c = n(1083).A.create({
          baseURL: ncpcData.wpApiSettings.root + "ncpc/v2",
          headers: {
            "Cache-Control": "no-cache, no-store, must-revalidate",
            Pragma: "no-cache",
            Expires: "0",
            "X-WP-Nonce": ncpcData.wpApiSettings.nonce,
            "X-WP-Cache-Control": "no-cache",
          },
        }),
        a = {
          getconfigs: async (e = "") => (await c.get("/configs/" + e)).data,
          getconfig: async (e) => (await c.get("/configs/" + e)).data,
          editConfig: async (e) =>
            (await c.put("/configs/" + e.id, { title: e.title })).data,
          deleteConfig: async (e) => (await c.delete("/configs/" + e)).data,
          addConfig: async (e) => (await c.post("/configs", e)).data,
          duplicateConfig: async (e, t) =>
            (await c.post("/configs/" + e + "/duplicate", { title: t })).data,
          googleFonts: async () => (await c.get("/google-fonts")).data,
          getSizes: async (e) => (await c.get("/configs/" + e + "/sizes")).data,
          UpdateSizesSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/sizes", t)).data,
          addSize: async (e, t) =>
            (await c.post("/configs/" + e + "/sizes/new", t)).data,
          updateSize: async (e, t, n) =>
            (await c.post("/configs/" + e + "/sizes/" + t, n)).data,
          getSize: async (e, t) =>
            (await c.get("/configs/" + e + "/sizes/" + t)).data,
          deleteSize: async (e, t) =>
            (await c.delete("/configs/" + e + "/sizes/" + t)).data,
          getColors: async (e) =>
            (await c.get("/configs/" + e + "/colors")).data,
          updateColorsSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/colors", t)).data,
          addColor: async (e, t) =>
            (await c.post("/configs/" + e + "/colors/new", t)).data,
          updateColor: async (e, t, n) =>
            (await c.post("/configs/" + e + "/colors/" + t, n)).data,
          getColor: async (e, t) =>
            (await c.get("/configs/" + e + "/colors/" + t)).data,
          deletecolor: async (e, t) =>
            (await c.delete("/configs/" + e + "/colors/" + t)).data,
          getPrices: async (e) =>
            (await c.get("/configs/" + e + "/prices")).data,
          addPrice: async (e, t) =>
            (await c.post("/configs/" + e + "/prices", t)).data,
          updatePrice: async (e, t, n) =>
            (await c.post("/configs/" + e + "/prices/" + t, n)).data,
          getPrice: async (e, t) =>
            (await c.get("/configs/" + e + "/prices/" + t)).data,
          deletePrice: async (e, t) =>
            (await c.delete("/configs/" + e + "/prices/" + t)).data,
          getFonts: async (e) => (await c.get("/configs/" + e + "/fonts")).data,
          updateFontsSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/fonts", t)).data,
          addFont: async (e, t) =>
            (await c.post("/configs/" + e + "/fonts/new", t)).data,
          updateFont: async (e, t, n) =>
            (await c.post("/configs/" + e + "/fonts/" + t, n)).data,
          getFont: async (e, t) =>
            (await c.get("/configs/" + e + "/fonts/" + t)).data,
          deleteFont: async (e, t) =>
            (await c.delete("/configs/" + e + "/fonts/" + t)).data,
          getLetterTypes: async (e) =>
            (await c.get("/configs/" + e + "/letter-types")).data,
          getLetterTypeColors: async (e, t) =>
            (await c.get("/configs/" + e + "/letter-types/" + t + "/colors"))
              .data,
          addLetterTypeColor: async (e, t, n, a) =>
            (
              await c.post(
                "/configs/" +
                  e +
                  "/letter-types/" +
                  t +
                  "/parts/" +
                  n +
                  "/colors/new",
                a
              )
            ).data,
          updateLetterPartSettings: async (e, t, n, a) =>
            (
              await c.post(
                "/configs/" + e + "/letter-types/" + t + "/parts/" + n,
                a
              )
            ).data,
          updateLetterTypeColor: async (e, t, n, a, r) =>
            (
              await c.post(
                "/configs/" +
                  e +
                  "/letter-types/" +
                  t +
                  "/parts/" +
                  n +
                  "/colors/" +
                  a,
                r
              )
            ).data,
          deleteLetterTypeColor: async (e, t, n, a) =>
            (
              await c.delete(
                "/configs/" +
                  e +
                  "/letter-types/" +
                  t +
                  "/parts/" +
                  n +
                  "/colors/" +
                  a
              )
            ).data,
          updateLetterTypesSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/letter-types", t)).data,
          addLetterType: async (e, t) =>
            (await c.post("/configs/" + e + "/letter-types/new", t)).data,
          updateLetterType: async (e, t, n) =>
            (await c.post("/configs/" + e + "/letter-types/" + t, n)).data,
          deleteLetterType: async (e, t) =>
            (await c.delete("/configs/" + e + "/letter-types/" + t)).data,
          getMaterials: async (e) =>
            (await c.get("/configs/" + e + "/materials")).data,
          updateMaterialsSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/materials", t)).data,
          addMaterial: async (e, t) =>
            (await c.post("/configs/" + e + "/materials/new", t)).data,
          updateMaterial: async (e, t, n) =>
            (await c.post("/configs/" + e + "/materials/" + t, n)).data,
          getMaterial: async (e, t) =>
            (await c.get("/configs/" + e + "/materials/" + t)).data,
          deleteMaterial: async (e, t) =>
            (await c.delete("/configs/" + e + "/materials/" + t)).data,
          getJackets: async (e) =>
            (await c.get("/configs/" + e + "/jackets")).data,
          updateJacketsSettings: async (e, t) =>
            (await c.post("/configs/" + e + "/jackets", t)).data,
          addJacket: async (e, t) =>
            (await c.post("/configs/" + e + "/jackets/new", t)).data,
          updateJacket: async (e, t, n) =>
            (await c.post("/configs/" + e + "/jackets/" + t, n)).data,
          getJacket: async (e, t) =>
            (await c.get("/configs/" + e + "/jackets/" + t)).data,
          deleteJacket: async (e, t) =>
            (await c.delete("/configs/" + e + "/jackets/" + t)).data,
          getBackboards: async (e) =>
            (await c.get("/configs/" + e + "/backboards")).data,
          updateBackboardsSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/backboards", t)).data,
          addBackboard: async (e, t) =>
            (await c.post("/configs/" + e + "/backboards/new", t)).data,
          updateBackboard: async (e, t, n) =>
            (await c.post("/configs/" + e + "/backboards/" + t, n)).data,
          getBackboard: async (e, t) =>
            (await c.get("/configs/" + e + "/backboards/" + t)).data,
          deleteBackboard: async (e, t) =>
            (await c.delete("/configs/" + e + "/backboards/" + t)).data,
          getBackboardColors: async (e) =>
            (await c.get("/configs/" + e + "/backboard-colors")).data,
          updateBackboardColorsSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/backboard-colors", t)).data,
          addBackboardColor: async (e, t) =>
            (await c.post("/configs/" + e + "/backboard-colors/new", t)).data,
          updateBackboardColor: async (e, t, n) =>
            (await c.post("/configs/" + e + "/backboard-colors/" + t, n)).data,
          getBackboardColor: async (e, t) =>
            (await c.get("/configs/" + e + "/backboard-colors/" + t)).data,
          deleteBackboardColor: async (e, t) =>
            (await c.delete("/configs/" + e + "/backboard-colors/" + t)).data,
          getMountings: async (e) =>
            (await c.get("/configs/" + e + "/mountings")).data,
          updateMountingsSetting: async (e, t) =>
            (await c.post("/configs/" + e + "/mountings", t)).data,
          addMounting: async (e, t) =>
            (await c.post("/configs/" + e + "/mountings/new", t)).data,
          updateMounting: async (e, t, n) =>
            (await c.post("/configs/" + e + "/mountings/" + t, n)).data,
          getMounting: async (e, t) =>
            (await c.get("/configs/" + e + "/mountings/" + t)).data,
          deleteMounting: async (e, t) =>
            (await c.delete("/configs/" + e + "/mountings/" + t)).data,
          getCustomAdditionals: async (e) =>
            (await c.get("/configs/" + e + "/custom-additionals")).data,
          updateCustomAdditionals: async (e, t) =>
            (await c.post("/configs/" + e + "/custom-additionals/update", t))
              .data,
          addCustomAdditional: async (e, t) =>
            (await c.post("/configs/" + e + "/custom-additionals", t)).data,
          updateCustomAdditional: async (e, t, n) =>
            (await c.post("/configs/" + e + "/custom-additionals/" + t, n))
              .data,
          getCustomAdditional: async (e, t) =>
            (await c.get("/configs/" + e + "/custom-additionals/" + t)).data,
          deleteCustomAdditional: async (e, t) =>
            (await c.delete("/configs/" + e + "/custom-additionals/" + t)).data,
          getGeneralSettings: async (e) =>
            (await c.get("/configs/" + e + "/settings/generals")).data,
          updateGeneralCustomizer: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/generals/customizer", t))
              .data,
          updateGeneralMobile: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/generals/mobile", t))
              .data,
          updateGeneralMode: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/generals/mode", t)).data,
          updateGeneralProduct: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/generals/product", t))
              .data,
          updateGeneralOuputFile: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/generals/output-file",
                t
              )
            ).data,
          getLanguageImagesSettings: async (e) =>
            (await c.get("/configs/" + e + "/settings/language-images")).data,
          updateLanguageImagesMain: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/main",
                t
              )
            ).data,
          updateLanguageImagesCustomDesign: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/custom-design",
                t
              )
            ).data,
          updateLanguageImagesProduct: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/product",
                t
              )
            ).data,
          updateLanguageImagesVisualizer: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/visualizer",
                t
              )
            ).data,
          updateLanguageImagesImgs: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/images",
                t
              )
            ).data,
          updateLanguageImagesIcons: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/icons",
                t
              )
            ).data,
          uploadLanguageImagesIconConvert: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/icons/upload",
                t
              )
            ).data,
          deleteLanguageImagesIconConvert: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/icons/delete",
                t
              )
            ).data,
          updateLanguageImagesNotifications: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/notifications",
                t
              )
            ).data,
          updateLanguageImagesReviewScreen: async (e, t) =>
            (
              await c.post(
                "/configs/" + e + "/settings/language-images/review-screen",
                t
              )
            ).data,
          getInfosSettings: async (e) =>
            (await c.get("/configs/" + e + "/settings/infos")).data,
          updateInfos: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/infos", t)).data,
          getThemesSettings: async (e) =>
            (await c.get("/configs/" + e + "/settings/themes")).data,
          updateThemes: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/themes", t)).data,
          getSortOptions: async (e) =>
            (await c.get("/configs/" + e + "/settings/sort-options")).data,
          updateSortOptions: async (e, t) =>
            (await c.post("/configs/" + e + "/settings/sort-options", t)).data,
          getGlobalSettings: async () =>
            (await c.get("/globals-settings")).data,
          saveGlobalSettingsProduct: async (e) =>
            (await c.post("/globals-settings/product", e)).data,
          getGlobalSettingsProduct: async () =>
            (await c.get("/globals-settings/product/")).data,
          saveConfigPage: async (e) =>
            (await c.post("/globals-settings/config-page", e)).data,
          addPage: async (e) =>
            (await c.post("/globals-settings/pages", e)).data,
        };
      t.A = a;
    },
    7835: function (e) {
      function t(e) {
        var t = new Error("Cannot find module '" + e + "'");
        throw ((t.code = "MODULE_NOT_FOUND"), t);
      }
      (t.keys = function () {
        return [];
      }),
        (t.resolve = t),
        (t.id = 7835),
        (e.exports = t);
    },
    9225: function (e, t, n) {
      "use strict";
      t.A = n.p + "2f015ef95ddc25c20bba917f1335142c.svg";
    },
    9291: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
    9435: function (e, t, n) {
      "use strict";
      var c, a;
      (c = void 0),
        (a = n(9140)(e.id, {})),
        e.hot.data && e.hot.data.value && e.hot.data.value !== c
          ? e.hot.invalidate()
          : e.hot.accept(),
        e.hot.dispose(function (e) {
          (e.value = c), a();
        });
    },
  },
  function (e) {
    var t = function (t) {
      return e((e.s = t));
    };
    e.O(0, [96], function () {
      return t(6393), t(4015);
    });
    e.O();
  },
]);
