@bedrock-layout/solid 0.12.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.m.js CHANGED
@@ -1,61 +1,259 @@
1
- import { splitProps, createMemo, sharedConfig, untrack, createRenderEffect, createComponent, mergeProps, createContext, useContext, createSignal, onMount, createEffect, onCleanup, children, Switch, Match } from "solid-js";
2
- import { init, registerCallback } from "@bedrock-layout/register-resize-callback";
3
- function checkIsCSSLength(str) {
4
- if (typeof str !== "string")
5
- return false;
6
- return [
7
- /^[0-9]{0,10000}\.?[0-9]{1,10000}(vmin|vmax|vh|vw|%|ch|ex|em|rem|in|cm|mm|pt|pc|px)$/,
8
- /^var\(--\D{1,100}\)$/
9
- ].some((regex) => regex.test(str));
10
- }
11
- const spacing = {
12
- none: "0px",
13
- xxs: "0.0625rem",
14
- xs: "0.125rem",
15
- sm: "0.25rem",
16
- md: "0.5rem",
17
- mdLg: "0.75rem",
18
- lg: "1rem",
19
- lgXl: "1.5rem",
20
- xl: "2rem",
21
- xlXXl: "3rem",
22
- xxl: "4rem"
23
- };
24
- function fromEntries(entries) {
25
- return entries.reduce((acc, [key, value]) => {
26
- return { ...acc, [key]: value };
27
- }, {});
1
+ import { splitProps as G, createMemo as B, sharedConfig as h, untrack as ie, createRenderEffect as C, createComponent as se, mergeProps as g, createContext as re, useContext as oe, createSignal as $, onMount as V, createEffect as _, onCleanup as U, children as le } from "solid-js";
2
+ import { init as Q, registerCallback as J } from "@bedrock-layout/register-resize-callback";
3
+ function j() {
4
+ return j = Object.assign || function(e) {
5
+ for (var t = 1; t < arguments.length; t++) {
6
+ var n = arguments[t];
7
+ for (var i in n)
8
+ Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
9
+ }
10
+ return e;
11
+ }, j.apply(this, arguments);
28
12
  }
29
- const getSpacingValue = (spacingKey, theme) => {
30
- var _a, _b;
31
- const maybeSpaceingOrDefault = (_b = (_a = theme == null ? void 0 : theme.space) != null ? _a : theme == null ? void 0 : theme.spacing) != null ? _b : spacing;
32
- const safeSpacings = fromEntries(
33
- Object.entries(maybeSpaceingOrDefault).map(([spaceKey, value]) => [
34
- spaceKey,
35
- typeof value === "number" ? `${value}px` : value
36
- ])
37
- );
38
- const spacingVal = safeSpacings[spacingKey];
39
- const isCSSLength = checkIsCSSLength(spacingVal);
40
- return isCSSLength ? spacingVal : void 0;
41
- };
42
- const booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
43
- const Properties = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
44
- const ChildProperties = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]);
45
- const Aliases = {
13
+ var ce = j({}, { "--gray-0": "#f8f9fa", "--gray-1": "#f1f3f5", "--gray-2": "#e9ecef", "--gray-3": "#dee2e6", "--gray-4": "#ced4da", "--gray-5": "#adb5bd", "--gray-6": "#868e96", "--gray-7": "#495057", "--gray-8": "#343a40", "--gray-9": "#212529", "--gray-10": "#16191d", "--gray-11": "#0d0f12", "--gray-12": "#030507" }, { "--stone-0": "#f8fafb", "--stone-1": "#f2f4f6", "--stone-2": "#ebedef", "--stone-3": "#e0e4e5", "--stone-4": "#d1d6d8", "--stone-5": "#b1b6b9", "--stone-6": "#979b9d", "--stone-7": "#7e8282", "--stone-8": "#666968", "--stone-9": "#50514f", "--stone-10": "#3a3a37", "--stone-11": "#252521", "--stone-12": "#121210" }, { "--red-0": "#fff5f5", "--red-1": "#ffe3e3", "--red-2": "#ffc9c9", "--red-3": "#ffa8a8", "--red-4": "#ff8787", "--red-5": "#ff6b6b", "--red-6": "#fa5252", "--red-7": "#f03e3e", "--red-8": "#e03131", "--red-9": "#c92a2a", "--red-10": "#b02525", "--red-11": "#962020", "--red-12": "#7d1a1a" }, { "--pink-0": "#fff0f6", "--pink-1": "#ffdeeb", "--pink-2": "#fcc2d7", "--pink-3": "#faa2c1", "--pink-4": "#f783ac", "--pink-5": "#f06595", "--pink-6": "#e64980", "--pink-7": "#d6336c", "--pink-8": "#c2255c", "--pink-9": "#a61e4d", "--pink-10": "#8c1941", "--pink-11": "#731536", "--pink-12": "#59102a" }, { "--purple-0": "#f8f0fc", "--purple-1": "#f3d9fa", "--purple-2": "#eebefa", "--purple-3": "#e599f7", "--purple-4": "#da77f2", "--purple-5": "#cc5de8", "--purple-6": "#be4bdb", "--purple-7": "#ae3ec9", "--purple-8": "#9c36b5", "--purple-9": "#862e9c", "--purple-10": "#702682", "--purple-11": "#5a1e69", "--purple-12": "#44174f" }, { "--violet-0": "#f3f0ff", "--violet-1": "#e5dbff", "--violet-2": "#d0bfff", "--violet-3": "#b197fc", "--violet-4": "#9775fa", "--violet-5": "#845ef7", "--violet-6": "#7950f2", "--violet-7": "#7048e8", "--violet-8": "#6741d9", "--violet-9": "#5f3dc4", "--violet-10": "#5235ab", "--violet-11": "#462d91", "--violet-12": "#3a2578" }, { "--indigo-0": "#edf2ff", "--indigo-1": "#dbe4ff", "--indigo-2": "#bac8ff", "--indigo-3": "#91a7ff", "--indigo-4": "#748ffc", "--indigo-5": "#5c7cfa", "--indigo-6": "#4c6ef5", "--indigo-7": "#4263eb", "--indigo-8": "#3b5bdb", "--indigo-9": "#364fc7", "--indigo-10": "#2f44ad", "--indigo-11": "#283a94", "--indigo-12": "#21307a" }, { "--blue-0": "#e7f5ff", "--blue-1": "#d0ebff", "--blue-2": "#a5d8ff", "--blue-3": "#74c0fc", "--blue-4": "#4dabf7", "--blue-5": "#339af0", "--blue-6": "#228be6", "--blue-7": "#1c7ed6", "--blue-8": "#1971c2", "--blue-9": "#1864ab", "--blue-10": "#145591", "--blue-11": "#114678", "--blue-12": "#0d375e" }, { "--cyan-0": "#e3fafc", "--cyan-1": "#c5f6fa", "--cyan-2": "#99e9f2", "--cyan-3": "#66d9e8", "--cyan-4": "#3bc9db", "--cyan-5": "#22b8cf", "--cyan-6": "#15aabf", "--cyan-7": "#1098ad", "--cyan-8": "#0c8599", "--cyan-9": "#0b7285", "--cyan-10": "#095c6b", "--cyan-11": "#074652", "--cyan-12": "#053038" }, { "--teal-0": "#e6fcf5", "--teal-1": "#c3fae8", "--teal-2": "#96f2d7", "--teal-3": "#63e6be", "--teal-4": "#38d9a9", "--teal-5": "#20c997", "--teal-6": "#12b886", "--teal-7": "#0ca678", "--teal-8": "#099268", "--teal-9": "#087f5b", "--teal-10": "#066649", "--teal-11": "#054d37", "--teal-12": "#033325" }, { "--green-0": "#ebfbee", "--green-1": "#d3f9d8", "--green-2": "#b2f2bb", "--green-3": "#8ce99a", "--green-4": "#69db7c", "--green-5": "#51cf66", "--green-6": "#40c057", "--green-7": "#37b24d", "--green-8": "#2f9e44", "--green-9": "#2b8a3e", "--green-10": "#237032", "--green-11": "#1b5727", "--green-12": "#133d1b" }, { "--lime-0": "#f4fce3", "--lime-1": "#e9fac8", "--lime-2": "#d8f5a2", "--lime-3": "#c0eb75", "--lime-4": "#a9e34b", "--lime-5": "#94d82d", "--lime-6": "#82c91e", "--lime-7": "#74b816", "--lime-8": "#66a80f", "--lime-9": "#5c940d", "--lime-10": "#4c7a0b", "--lime-11": "#3c6109", "--lime-12": "#2c4706" }, { "--yellow-0": "#fff9db", "--yellow-1": "#fff3bf", "--yellow-2": "#ffec99", "--yellow-3": "#ffe066", "--yellow-4": "#ffd43b", "--yellow-5": "#fcc419", "--yellow-6": "#fab005", "--yellow-7": "#f59f00", "--yellow-8": "#f08c00", "--yellow-9": "#e67700", "--yellow-10": "#b35c00", "--yellow-11": "#804200", "--yellow-12": "#663500" }, { "--orange-0": "#fff4e6", "--orange-1": "#ffe8cc", "--orange-2": "#ffd8a8", "--orange-3": "#ffc078", "--orange-4": "#ffa94d", "--orange-5": "#ff922b", "--orange-6": "#fd7e14", "--orange-7": "#f76707", "--orange-8": "#e8590c", "--orange-9": "#d9480f", "--orange-10": "#bf400d", "--orange-11": "#99330b", "--orange-12": "#802b09" }, { "--choco-0": "#fff8dc", "--choco-1": "#fce1bc", "--choco-2": "#f7ca9e", "--choco-3": "#f1b280", "--choco-4": "#e99b62", "--choco-5": "#df8545", "--choco-6": "#d46e25", "--choco-7": "#bd5f1b", "--choco-8": "#a45117", "--choco-9": "#8a4513", "--choco-10": "#703a13", "--choco-11": "#572f12", "--choco-12": "#3d210d" }, { "--brown-0": "#faf4eb", "--brown-1": "#ede0d1", "--brown-2": "#e0cab7", "--brown-3": "#d3b79e", "--brown-4": "#c5a285", "--brown-5": "#b78f6d", "--brown-6": "#a87c56", "--brown-7": "#956b47", "--brown-8": "#825b3a", "--brown-9": "#6f4b2d", "--brown-10": "#5e3a21", "--brown-11": "#4e2b15", "--brown-12": "#422412" }, { "--sand-0": "#f8fafb", "--sand-1": "#e6e4dc", "--sand-2": "#d5cfbd", "--sand-3": "#c2b9a0", "--sand-4": "#aea58c", "--sand-5": "#9a9178", "--sand-6": "#867c65", "--sand-7": "#736a53", "--sand-8": "#5f5746", "--sand-9": "#4b4639", "--sand-10": "#38352d", "--sand-11": "#252521", "--sand-12": "#121210" }, { "--camo-0": "#f9fbe7", "--camo-1": "#e8ed9c", "--camo-2": "#d2df4e", "--camo-3": "#c2ce34", "--camo-4": "#b5bb2e", "--camo-5": "#a7a827", "--camo-6": "#999621", "--camo-7": "#8c851c", "--camo-8": "#7e7416", "--camo-9": "#6d6414", "--camo-10": "#5d5411", "--camo-11": "#4d460e", "--camo-12": "#36300a" }, { "--jungle-0": "#ecfeb0", "--jungle-1": "#def39a", "--jungle-2": "#d0e884", "--jungle-3": "#c2dd6e", "--jungle-4": "#b5d15b", "--jungle-5": "#a8c648", "--jungle-6": "#9bbb36", "--jungle-7": "#8fb024", "--jungle-8": "#84a513", "--jungle-9": "#7a9908", "--jungle-10": "#658006", "--jungle-11": "#516605", "--jungle-12": "#3d4d04" }), de = j({}, { "--gray-0-hsl": "210 17% 98%", "--gray-1-hsl": "210 17% 95%", "--gray-2-hsl": "210 16% 93%", "--gray-3-hsl": "210 14% 89%", "--gray-4-hsl": "210 14% 83%", "--gray-5-hsl": "210 11% 71%", "--gray-6-hsl": "210 7% 56%", "--gray-7-hsl": "210 9% 31%", "--gray-8-hsl": "210 10% 23%", "--gray-9-hsl": "210 11% 15%", "--gray-10-hsl": "214 14% 10%", "--gray-11-hsl": "216 16% 6%", "--gray-12-hsl": "210 40% 2%" }, { "--stone-0-hsl": "200 27% 98%", "--stone-1-hsl": "210 18% 96%", "--stone-2-hsl": "210 11% 93%", "--stone-3-hsl": "192 9% 89%", "--stone-4-hsl": "197 8% 83%", "--stone-5-hsl": "202 5% 71%", "--stone-6-hsl": "200 3% 60%", "--stone-7-hsl": "180 2% 50%", "--stone-8-hsl": "160 1% 41%", "--stone-9-hsl": "90 1% 31%", "--stone-10-hsl": "60 3% 22%", "--stone-11-hsl": "60 6% 14%", "--stone-12-hsl": "60 6% 7%" }, { "--red-0-hsl": "0 100% 98%", "--red-1-hsl": "0 100% 95%", "--red-2-hsl": "0 100% 89%", "--red-3-hsl": "0 100% 83%", "--red-4-hsl": "0 100% 76%", "--red-5-hsl": "0 100% 71%", "--red-6-hsl": "0 94% 65%", "--red-7-hsl": "0 86% 59%", "--red-8-hsl": "0 74% 54%", "--red-9-hsl": "0 65% 48%", "--red-10-hsl": "0 65% 42%", "--red-11-hsl": "0 65% 36%", "--red-12-hsl": "0 66% 30%" }, { "--pink-0-hsl": "336 100% 97%", "--pink-1-hsl": "336 100% 94%", "--pink-2-hsl": "338 91% 87%", "--pink-3-hsl": "339 90% 81%", "--pink-4-hsl": "339 88% 74%", "--pink-5-hsl": "339 82% 67%", "--pink-6-hsl": "339 76% 59%", "--pink-7-hsl": "339 67% 52%", "--pink-8-hsl": "339 68% 45%", "--pink-9-hsl": "339 69% 38%", "--pink-10-hsl": "339 70% 32%", "--pink-11-hsl": "339 69% 27%", "--pink-12-hsl": "339 70% 21%" }, { "--purple-0-hsl": "280 67% 96%", "--purple-1-hsl": "287 77% 92%", "--purple-2-hsl": "288 86% 86%", "--purple-3-hsl": "289 85% 78%", "--purple-4-hsl": "288 83% 71%", "--purple-5-hsl": "288 75% 64%", "--purple-6-hsl": "288 67% 58%", "--purple-7-hsl": "288 56% 52%", "--purple-8-hsl": "288 54% 46%", "--purple-9-hsl": "288 54% 40%", "--purple-10-hsl": "288 55% 33%", "--purple-11-hsl": "288 56% 26%", "--purple-12-hsl": "288 55% 20%" }, { "--violet-0-hsl": "252 100% 97%", "--violet-1-hsl": "257 100% 93%", "--violet-2-hsl": "256 100% 87%", "--violet-3-hsl": "255 94% 79%", "--violet-4-hsl": "255 93% 72%", "--violet-5-hsl": "255 91% 67%", "--violet-6-hsl": "255 86% 63%", "--violet-7-hsl": "255 78% 60%", "--violet-8-hsl": "255 67% 55%", "--violet-9-hsl": "255 53% 50%", "--violet-10-hsl": "255 53% 44%", "--violet-11-hsl": "255 53% 37%", "--violet-12-hsl": "255 53% 31%" }, { "--indigo-0-hsl": "223 100% 96%", "--indigo-1-hsl": "225 100% 93%", "--indigo-2-hsl": "228 100% 86%", "--indigo-3-hsl": "228 100% 78%", "--indigo-4-hsl": "228 96% 72%", "--indigo-5-hsl": "228 94% 67%", "--indigo-6-hsl": "228 89% 63%", "--indigo-7-hsl": "228 81% 59%", "--indigo-8-hsl": "228 69% 55%", "--indigo-9-hsl": "230 57% 50%", "--indigo-10-hsl": "230 57% 43%", "--indigo-11-hsl": "230 57% 37%", "--indigo-12-hsl": "230 57% 30%" }, { "--blue-0-hsl": "205 100% 95%", "--blue-1-hsl": "206 100% 91%", "--blue-2-hsl": "206 100% 82%", "--blue-3-hsl": "206 96% 72%", "--blue-4-hsl": "207 91% 64%", "--blue-5-hsl": "207 86% 57%", "--blue-6-hsl": "208 80% 52%", "--blue-7-hsl": "208 77% 47%", "--blue-8-hsl": "209 77% 43%", "--blue-9-hsl": "209 75% 38%", "--blue-10-hsl": "209 76% 32%", "--blue-11-hsl": "209 75% 27%", "--blue-12-hsl": "209 76% 21%" }, { "--cyan-0-hsl": "185 81% 94%", "--cyan-1-hsl": "185 84% 88%", "--cyan-2-hsl": "186 77% 77%", "--cyan-3-hsl": "187 74% 65%", "--cyan-4-hsl": "187 69% 55%", "--cyan-5-hsl": "188 72% 47%", "--cyan-6-hsl": "187 80% 42%", "--cyan-7-hsl": "188 83% 37%", "--cyan-8-hsl": "189 85% 32%", "--cyan-9-hsl": "189 85% 28%", "--cyan-10-hsl": "189 84% 23%", "--cyan-11-hsl": "190 84% 17%", "--cyan-12-hsl": "189 84% 12%" }, { "--teal-0-hsl": "161 79% 95%", "--teal-1-hsl": "160 85% 87%", "--teal-2-hsl": "162 78% 77%", "--teal-3-hsl": "162 72% 65%", "--teal-4-hsl": "162 68% 54%", "--teal-5-hsl": "162 73% 46%", "--teal-6-hsl": "162 82% 40%", "--teal-7-hsl": "162 87% 35%", "--teal-8-hsl": "162 88% 30%", "--teal-9-hsl": "162 88% 26%", "--teal-10-hsl": "162 89% 21%", "--teal-11-hsl": "162 88% 16%", "--teal-12-hsl": "163 89% 11%" }, { "--green-0-hsl": "131 67% 95%", "--green-1-hsl": "128 76% 90%", "--green-2-hsl": "128 71% 82%", "--green-3-hsl": "129 68% 73%", "--green-4-hsl": "130 61% 64%", "--green-5-hsl": "130 57% 56%", "--green-6-hsl": "131 50% 50%", "--green-7-hsl": "131 53% 46%", "--green-8-hsl": "131 54% 40%", "--green-9-hsl": "132 52% 35%", "--green-10-hsl": "132 52% 29%", "--green-11-hsl": "132 53% 22%", "--green-12-hsl": "131 53% 16%" }, { "--lime-0-hsl": "79 81% 94%", "--lime-1-hsl": "80 83% 88%", "--lime-2-hsl": "81 81% 80%", "--lime-3-hsl": "82 75% 69%", "--lime-4-hsl": "83 73% 59%", "--lime-5-hsl": "84 69% 51%", "--lime-6-hsl": "85 74% 45%", "--lime-7-hsl": "85 79% 40%", "--lime-8-hsl": "86 84% 36%", "--lime-9-hsl": "85 84% 32%", "--lime-10-hsl": "85 83% 26%", "--lime-11-hsl": "85 83% 21%", "--lime-12-hsl": "85 84% 15%" }, { "--yellow-0-hsl": "50 100% 93%", "--yellow-1-hsl": "49 100% 87%", "--yellow-2-hsl": "49 100% 80%", "--yellow-3-hsl": "48 100% 70%", "--yellow-4-hsl": "47 100% 62%", "--yellow-5-hsl": "45 97% 54%", "--yellow-6-hsl": "42 96% 50%", "--yellow-7-hsl": "39 100% 48%", "--yellow-8-hsl": "35 100% 47%", "--yellow-9-hsl": "31 100% 45%", "--yellow-10-hsl": "31 100% 35%", "--yellow-11-hsl": "31 100% 25%", "--yellow-12-hsl": "31 100% 20%" }, { "--orange-0-hsl": "34 100% 95%", "--orange-1-hsl": "33 100% 90%", "--orange-2-hsl": "33 100% 83%", "--orange-3-hsl": "32 100% 74%", "--orange-4-hsl": "31 100% 65%", "--orange-5-hsl": "29 100% 58%", "--orange-6-hsl": "27 98% 54%", "--orange-7-hsl": "24 94% 50%", "--orange-8-hsl": "21 90% 48%", "--orange-9-hsl": "17 87% 45%", "--orange-10-hsl": "17 87% 40%", "--orange-11-hsl": "17 87% 32%", "--orange-12-hsl": "17 87% 27%" }, { "--choco-0-hsl": "48 100% 93%", "--choco-1-hsl": "35 91% 86%", "--choco-2-hsl": "30 85% 79%", "--choco-3-hsl": "27 80% 72%", "--choco-4-hsl": "25 75% 65%", "--choco-5-hsl": "25 71% 57%", "--choco-6-hsl": "25 70% 49%", "--choco-7-hsl": "25 75% 42%", "--choco-8-hsl": "25 75% 37%", "--choco-9-hsl": "25 76% 31%", "--choco-10-hsl": "25 71% 26%", "--choco-11-hsl": "25 66% 21%", "--choco-12-hsl": "25 65% 15%" }, { "--brown-0-hsl": "36 60% 95%", "--brown-1-hsl": "32 44% 87%", "--brown-2-hsl": "28 40% 80%", "--brown-3-hsl": "28 38% 72%", "--brown-4-hsl": "27 36% 65%", "--brown-5-hsl": "28 34% 57%", "--brown-6-hsl": "28 32% 50%", "--brown-7-hsl": "28 35% 43%", "--brown-8-hsl": "28 38% 37%", "--brown-9-hsl": "27 42% 31%", "--brown-10-hsl": "25 48% 25%", "--brown-11-hsl": "23 58% 19%", "--brown-12-hsl": "22 57% 16%" }, { "--sand-0-hsl": "200 27% 98%", "--sand-1-hsl": "48 17% 88%", "--sand-2-hsl": "45 22% 79%", "--sand-3-hsl": "44 22% 69%", "--sand-4-hsl": "44 17% 62%", "--sand-5-hsl": "44 14% 54%", "--sand-6-hsl": "42 14% 46%", "--sand-7-hsl": "43 16% 39%", "--sand-8-hsl": "41 15% 32%", "--sand-9-hsl": "43 14% 26%", "--sand-10-hsl": "44 11% 20%", "--sand-11-hsl": "60 6% 14%", "--sand-12-hsl": "60 6% 7%" }, { "--camo-0-hsl": "66 71% 95%", "--camo-1-hsl": "64 69% 77%", "--camo-2-hsl": "65 69% 59%", "--camo-3-hsl": "65 61% 51%", "--camo-4-hsl": "63 61% 46%", "--camo-5-hsl": "60 62% 41%", "--camo-6-hsl": "59 65% 36%", "--camo-7-hsl": "56 67% 33%", "--camo-8-hsl": "54 70% 29%", "--camo-9-hsl": "54 69% 25%", "--camo-10-hsl": "53 69% 22%", "--camo-11-hsl": "53 69% 18%", "--camo-12-hsl": "52 69% 13%" }, { "--jungle-0-hsl": "74 98% 84%", "--jungle-1-hsl": "74 79% 78%", "--jungle-2-hsl": "74 68% 71%", "--jungle-3-hsl": "75 62% 65%", "--jungle-4-hsl": "74 56% 59%", "--jungle-5-hsl": "74 53% 53%", "--jungle-6-hsl": "74 55% 47%", "--jungle-7-hsl": "74 66% 42%", "--jungle-8-hsl": "74 79% 36%", "--jungle-9-hsl": "73 90% 32%", "--jungle-10-hsl": "73 91% 26%", "--jungle-11-hsl": "73 91% 21%", "--jungle-12-hsl": "73 90% 16%" }), E = { "--shadow-color": "220 3% 15%", "--shadow-strength": "1%", "--shadow-color-@media:dark": "220 40% 2%", "--shadow-strength-@media:dark": "25%", "--shadow-1": "0 1px 2px -1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--shadow-2": `
14
+ 0 3px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
15
+ 0 7px 14px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%))`, "--shadow-3": `
16
+ 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
17
+ 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
18
+ 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
19
+ 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
20
+ 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`, "--shadow-4": `
21
+ 0 -2px 5px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
22
+ 0 1px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
23
+ 0 2px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
24
+ 0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
25
+ 0 9px 9px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
26
+ 0 16px 16px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%))`, "--shadow-5": `
27
+ 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
28
+ 0 2px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
29
+ 0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
30
+ 0 10px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
31
+ 0 20px 20px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
32
+ 0 40px 40px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`, "--shadow-6": `
33
+ 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
34
+ 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
35
+ 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
36
+ 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
37
+ 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
38
+ 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)),
39
+ 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`, "--inner-shadow-0": "inset 0 0 0 1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-1": "inset 0 1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-2": "inset 0 1px 4px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-3": "inset 0 2px 8px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-4": "inset 0 2px 14px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))" };
40
+ Object.fromEntries(Object.entries(E).map(function(e) {
41
+ var t = e[1];
42
+ return [e[0], t = (t = t.replace(/var(--shadow-color)/g, E["--shadow-color"])).replace(/var(--shadow-strength)/g, E["--shadow-strength"])];
43
+ }).filter(function(e) {
44
+ return !["--shadow-color", "--shadow-strength"].includes(e[0]);
45
+ }));
46
+ var fe = function(e) {
47
+ for (var t in e)
48
+ e[n = t, (n = n.replace(/[-]+(.)?/g, function(i, s) {
49
+ return s ? s.toUpperCase() : "";
50
+ })).substr(0, 1).toLowerCase() + n.substr(1)] = e[t];
51
+ var n;
52
+ return e;
53
+ }(j({}, { "--animation-fade-in": "fade-in .5s var(--ease-3)", "--animation-fade-in-@": `
54
+ @keyframes fade-in {
55
+ to { opacity: 1 }
56
+ }`, "--animation-fade-in-bloom": "fade-in-bloom 2s var(--ease-3)", "--animation-fade-in-bloom-@": `
57
+ @keyframes fade-in-bloom {
58
+ 0% { opacity: 0; filter: brightness(1) blur(20px) }
59
+ 10% { opacity: 1; filter: brightness(2) blur(10px) }
60
+ 100% { opacity: 1; filter: brightness(1) blur(0) }
61
+ }`, "--animation-fade-in-bloom-@media:dark": `
62
+ @keyframes fade-in-bloom {
63
+ 0% { opacity: 0; filter: brightness(1) blur(20px) }
64
+ 10% { opacity: 1; filter: brightness(0.5) blur(10px) }
65
+ 100% { opacity: 1; filter: brightness(1) blur(0) }
66
+ }`, "--animation-fade-out": "fade-out .5s var(--ease-3)", "--animation-fade-out-@": `
67
+ @keyframes fade-out {
68
+ to { opacity: 0 }
69
+ }`, "--animation-fade-out-bloom": "fade-out-bloom 2s var(--ease-3)", "--animation-fade-out-bloom-@": `
70
+ @keyframes fade-out-bloom {
71
+ 100% { opacity: 0; filter: brightness(1) blur(20px) }
72
+ 10% { opacity: 1; filter: brightness(2) blur(10px) }
73
+ 0% { opacity: 1; filter: brightness(1) blur(0) }
74
+ }`, "--animation-fade-out-bloom-@media:dark": `
75
+ @keyframes fade-out-bloom {
76
+ 100% { opacity: 0; filter: brightness(1) blur(20px) }
77
+ 10% { opacity: 1; filter: brightness(0.5) blur(10px) }
78
+ 0% { opacity: 1; filter: brightness(1) blur(0) }
79
+ }`, "--animation-scale-up": "scale-up .5s var(--ease-3)", "--animation-scale-up-@": `
80
+ @keyframes scale-up {
81
+ to { transform: scale(1.25) }
82
+ }`, "--animation-scale-down": "scale-down .5s var(--ease-3)", "--animation-scale-down-@": `
83
+ @keyframes scale-down {
84
+ to { transform: scale(.75) }
85
+ }`, "--animation-slide-out-up": "slide-out-up .5s var(--ease-3)", "--animation-slide-out-up-@": `
86
+ @keyframes slide-out-up {
87
+ to { transform: translateY(-100%) }
88
+ }`, "--animation-slide-out-down": "slide-out-down .5s var(--ease-3)", "--animation-slide-out-down-@": `
89
+ @keyframes slide-out-down {
90
+ to { transform: translateY(100%) }
91
+ }`, "--animation-slide-out-right": "slide-out-right .5s var(--ease-3)", "--animation-slide-out-right-@": `
92
+ @keyframes slide-out-right {
93
+ to { transform: translateX(100%) }
94
+ }`, "--animation-slide-out-left": "slide-out-left .5s var(--ease-3)", "--animation-slide-out-left-@": `
95
+ @keyframes slide-out-left {
96
+ to { transform: translateX(-100%) }
97
+ }`, "--animation-slide-in-up": "slide-in-up .5s var(--ease-3)", "--animation-slide-in-up-@": `
98
+ @keyframes slide-in-up {
99
+ from { transform: translateY(100%) }
100
+ }`, "--animation-slide-in-down": "slide-in-down .5s var(--ease-3)", "--animation-slide-in-down-@": `
101
+ @keyframes slide-in-down {
102
+ from { transform: translateY(-100%) }
103
+ }`, "--animation-slide-in-right": "slide-in-right .5s var(--ease-3)", "--animation-slide-in-right-@": `
104
+ @keyframes slide-in-right {
105
+ from { transform: translateX(-100%) }
106
+ }`, "--animation-slide-in-left": "slide-in-left .5s var(--ease-3)", "--animation-slide-in-left-@": `
107
+ @keyframes slide-in-left {
108
+ from { transform: translateX(100%) }
109
+ }`, "--animation-shake-x": "shake-x .75s var(--ease-out-5)", "--animation-shake-x-@": `
110
+ @keyframes shake-x {
111
+ 0%, 100% { transform: translateX(0%) }
112
+ 20% { transform: translateX(-5%) }
113
+ 40% { transform: translateX(5%) }
114
+ 60% { transform: translateX(-5%) }
115
+ 80% { transform: translateX(5%) }
116
+ }`, "--animation-shake-y": "shake-y .75s var(--ease-out-5)", "--animation-shake-y-@": `
117
+ @keyframes shake-y {
118
+ 0%, 100% { transform: translateY(0%) }
119
+ 20% { transform: translateY(-5%) }
120
+ 40% { transform: translateY(5%) }
121
+ 60% { transform: translateY(-5%) }
122
+ 80% { transform: translateY(5%) }
123
+ }`, "--animation-spin": "spin 2s linear infinite", "--animation-spin-@": `
124
+ @keyframes spin {
125
+ to { transform: rotate(1turn) }
126
+ }`, "--animation-ping": "ping 5s var(--ease-out-3) infinite", "--animation-ping-@": `
127
+ @keyframes ping {
128
+ 90%, 100% {
129
+ transform: scale(2);
130
+ opacity: 0;
131
+ }
132
+ }`, "--animation-blink": "blink 1s var(--ease-out-3) infinite", "--animation-blink-@": `
133
+ @keyframes blink {
134
+ 0%, 100% {
135
+ opacity: 1
136
+ }
137
+ 50% {
138
+ opacity: .5
139
+ }
140
+ }`, "--animation-float": "float 3s var(--ease-in-out-3) infinite", "--animation-float-@": `
141
+ @keyframes float {
142
+ 50% { transform: translateY(-25%) }
143
+ }`, "--animation-bounce": "bounce 2s var(--ease-squish-2) infinite", "--animation-bounce-@": `
144
+ @keyframes bounce {
145
+ 25% { transform: translateY(-20%) }
146
+ 40% { transform: translateY(-3%) }
147
+ 0%, 60%, 100% { transform: translateY(0) }
148
+ }`, "--animation-pulse": "pulse 2s var(--ease-out-3) infinite", "--animation-pulse-@": `
149
+ @keyframes pulse {
150
+ 50% { transform: scale(.9,.9) }
151
+ }` }, { "--size-000": "-.5rem", "--size-00": "-.25rem", "--size-1": ".25rem", "--size-2": ".5rem", "--size-3": "1rem", "--size-4": "1.25rem", "--size-5": "1.5rem", "--size-6": "1.75rem", "--size-7": "2rem", "--size-8": "3rem", "--size-9": "4rem", "--size-10": "5rem", "--size-11": "7.5rem", "--size-12": "10rem", "--size-13": "15rem", "--size-14": "20rem", "--size-15": "30rem", "--size-fluid-1": "clamp(.5rem, 1vw, 1rem)", "--size-fluid-2": "clamp(1rem, 2vw, 1.5rem)", "--size-fluid-3": "clamp(1.5rem, 3vw, 2rem)", "--size-fluid-4": "clamp(2rem, 4vw, 3rem)", "--size-fluid-5": "clamp(4rem, 5vw, 5rem)", "--size-fluid-6": "clamp(5rem, 7vw, 7.5rem)", "--size-fluid-7": "clamp(7.5rem, 10vw, 10rem)", "--size-fluid-8": "clamp(10rem, 20vw, 15rem)", "--size-fluid-9": "clamp(15rem, 30vw, 20rem)", "--size-fluid-10": "clamp(20rem, 40vw, 30rem)", "--size-content-1": "20ch", "--size-content-2": "45ch", "--size-content-3": "60ch", "--size-header-1": "20ch", "--size-header-2": "25ch", "--size-header-3": "35ch", "--size-xxs": "240px", "--size-xs": "360px", "--size-sm": "480px", "--size-md": "768px", "--size-lg": "1024px", "--size-xl": "1440px", "--size-xxl": "1920px" }, ce, de, { "--font-sans": "system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif", "--font-serif": "ui-serif,serif", "--font-mono": "Dank Mono,Operator Mono,Inconsolata,Fira Mono,ui-monospace,SF Mono,Monaco,Droid Sans Mono,Source Code Pro,monospace", "--font-weight-1": "100", "--font-weight-2": "200", "--font-weight-3": "300", "--font-weight-4": "400", "--font-weight-5": "500", "--font-weight-6": "600", "--font-weight-7": "700", "--font-weight-8": "800", "--font-weight-9": "900", "--font-lineheight-00": ".95", "--font-lineheight-0": "1.1", "--font-lineheight-1": "1.25", "--font-lineheight-2": "1.375", "--font-lineheight-3": "1.5", "--font-lineheight-4": "1.75", "--font-lineheight-5": "2", "--font-letterspacing-0": "-.05em", "--font-letterspacing-1": ".025em", "--font-letterspacing-2": ".050em", "--font-letterspacing-3": ".075em", "--font-letterspacing-4": ".150em", "--font-letterspacing-5": ".500em", "--font-letterspacing-6": ".750em", "--font-letterspacing-7": "1em", "--font-size-00": ".5rem", "--font-size-0": ".75rem", "--font-size-1": "1rem", "--font-size-2": "1.1rem", "--font-size-3": "1.25rem", "--font-size-4": "1.5rem", "--font-size-5": "2rem", "--font-size-6": "2.5rem", "--font-size-7": "3rem", "--font-size-8": "3.5rem", "--font-size-fluid-0": "clamp(.75rem, 2vw, 1rem)", "--font-size-fluid-1": "clamp(1rem, 4vw, 1.5rem)", "--font-size-fluid-2": "clamp(1.5rem, 6vw, 2.5rem)", "--font-size-fluid-3": "clamp(2rem, 9vw, 3.5rem)" }, { "--border-size-1": "1px", "--border-size-2": "2px", "--border-size-3": "5px", "--border-size-4": "10px", "--border-size-5": "25px", "--radius-1": "2px", "--radius-2": "5px", "--radius-3": "1rem", "--radius-4": "2rem", "--radius-5": "4rem", "--radius-6": "8rem", "--radius-round": "1e5px", "--radius-blob-1": "30% 70% 70% 30% / 53% 30% 70% 47%", "--radius-blob-2": "53% 47% 34% 66% / 63% 46% 54% 37%", "--radius-blob-3": "37% 63% 56% 44% / 49% 56% 44% 51%", "--radius-blob-4": "63% 37% 37% 63% / 43% 37% 63% 57%", "--radius-blob-5": "49% 51% 48% 52% / 57% 44% 56% 43%", "--radius-conditional-1": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-1))", "--radius-conditional-2": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-2))", "--radius-conditional-3": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-3))", "--radius-conditional-4": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-4))", "--radius-conditional-5": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-5))", "--radius-conditional-6": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-6))" }, { "--ratio-square": "1", "--ratio-landscape": "4/3", "--ratio-portrait": "3/4", "--ratio-widescreen": "16/9", "--ratio-ultrawide": "18/5", "--ratio-golden": "1.6180/1" }, { "--ease-1": "cubic-bezier(.25, 0, .5, 1)", "--ease-2": "cubic-bezier(.25, 0, .4, 1)", "--ease-3": "cubic-bezier(.25, 0, .3, 1)", "--ease-4": "cubic-bezier(.25, 0, .2, 1)", "--ease-5": "cubic-bezier(.25, 0, .1, 1)", "--ease-in-1": "cubic-bezier(.25, 0, 1, 1)", "--ease-in-2": "cubic-bezier(.50, 0, 1, 1)", "--ease-in-3": "cubic-bezier(.70, 0, 1, 1)", "--ease-in-4": "cubic-bezier(.90, 0, 1, 1)", "--ease-in-5": "cubic-bezier(1, 0, 1, 1)", "--ease-out-1": "cubic-bezier(0, 0, .75, 1)", "--ease-out-2": "cubic-bezier(0, 0, .50, 1)", "--ease-out-3": "cubic-bezier(0, 0, .3, 1)", "--ease-out-4": "cubic-bezier(0, 0, .1, 1)", "--ease-out-5": "cubic-bezier(0, 0, 0, 1)", "--ease-in-out-1": "cubic-bezier(.1, 0, .9, 1)", "--ease-in-out-2": "cubic-bezier(.3, 0, .7, 1)", "--ease-in-out-3": "cubic-bezier(.5, 0, .5, 1)", "--ease-in-out-4": "cubic-bezier(.7, 0, .3, 1)", "--ease-in-out-5": "cubic-bezier(.9, 0, .1, 1)", "--ease-elastic-1": "cubic-bezier(.5, .75, .75, 1.25)", "--ease-elastic-2": "cubic-bezier(.5, 1, .75, 1.25)", "--ease-elastic-3": "cubic-bezier(.5, 1.25, .75, 1.25)", "--ease-elastic-4": "cubic-bezier(.5, 1.5, .75, 1.25)", "--ease-elastic-5": "cubic-bezier(.5, 1.75, .75, 1.25)", "--ease-squish-1": "cubic-bezier(.5, -.1, .1, 1.5)", "--ease-squish-2": "cubic-bezier(.5, -.3, .1, 1.5)", "--ease-squish-3": "cubic-bezier(.5, -.5, .1, 1.5)", "--ease-squish-4": "cubic-bezier(.5, -.7, .1, 1.5)", "--ease-squish-5": "cubic-bezier(.5, -.9, .1, 1.5)", "--ease-step-1": "steps(2)", "--ease-step-2": "steps(3)", "--ease-step-3": "steps(4)", "--ease-step-4": "steps(7)", "--ease-step-5": "steps(10)" }, { "--squircle-1": `url("data:image/svg+xml,%3Csvg viewbox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d=' M 0, 75 C 0, 18.75 18.75, 0 75, 0 S 150, 18.75 150, 75 131.25, 150 75, 150 0, 131.25 0, 75 ' fill='%23FADB5F' transform='rotate( 0, 100, 100 ) translate( 25 25 )'%3E%3C/path%3E%3C/svg%3E")`, "--squircle-2": `url("data:image/svg+xml,%3Csvg viewbox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d=' M 0, 75 C 0, 13.500000000000004 13.500000000000004, 0 75, 0 S 150, 13.500000000000004 150, 75 136.5, 150 75, 150 0, 136.5 0, 75 ' fill='%23FADB5F' transform='rotate( 0, 100, 100 ) translate( 25 25 )'%3E%3C/path%3E%3C/svg%3E")`, "--squircle-3": `url("data:image/svg+xml,%3Csvg viewbox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d=' M 0, 75 C 0, 5.999999999999997 5.999999999999997, 0 75, 0 S 150, 5.999999999999997 150, 75 144, 150 75, 150 0, 144 0, 75 ' fill='%23FADB5F' transform='rotate( 0, 100, 100 ) translate( 25 25 )'%3E%3C/path%3E%3C/svg%3E")` }, { "--gradient-1": "linear-gradient(to bottom right,#1f005c, #5b0060, #870160, #ac255e, #ca485c, #e16b5c, #f39060, #ffb56b)", "--gradient-2": "linear-gradient(to bottom right,#48005c, #8300e2, #a269ff)", "--gradient-3": `
152
+ radial-gradient(
153
+ circle at top right,
154
+ hsl(180 100% 50%), hsl(180 100% 50% / 0%)
155
+ ),
156
+ radial-gradient(
157
+ circle at bottom left,
158
+ hsl(328 100% 54%), hsl(328 100% 54% / 0%)
159
+ )`, "--gradient-4": "linear-gradient(to bottom right,#00F5A0,#00D9F5)", "--gradient-5": "conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite)", "--gradient-6": "conic-gradient(from -90deg at top left, black, white)", "--gradient-7": "linear-gradient(to bottom right,#72C6EF,#004E8F)", "--gradient-8": "conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111)", "--gradient-9": "conic-gradient(from .5turn at bottom center, lightblue, white)", "--gradient-10": "conic-gradient(from 90deg at 40% -25%, #ffd700, #f79d03, #ee6907, #e6390a, #de0d0d, #d61039, #cf1261, #c71585, #cf1261, #d61039, #de0d0d, #ee6907, #f79d03, #ffd700, #ffd700, #ffd700)", "--gradient-11": "conic-gradient(at bottom left, deeppink, cyan)", "--gradient-12": "conic-gradient(from 90deg at 25% -10%, #ff4500, #d3f340, #7bee85, #afeeee, #7bee85)", "--gradient-13": "radial-gradient(circle at 50% 200%, #000142, #3b0083, #b300c3, #ff059f, #ff4661, #ffad86, #fff3c7)", "--gradient-14": "conic-gradient(at top right, lime, cyan)", "--gradient-15": "linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7)", "--gradient-16": "radial-gradient(circle at 50% -250%, #374151, #111827, #000)", "--gradient-17": "conic-gradient(from -90deg at 50% -25%, blue, blueviolet)", "--gradient-18": `
160
+ linear-gradient(0deg, hsla(0 100% 50% / 80%), hsla(0 100% 50% / 0) 75%),
161
+ linear-gradient(60deg, hsla(60 100% 50% / 80%), hsla(60 100% 50% / 0) 75%),
162
+ linear-gradient(120deg, hsla(120 100% 50% / 80%), hsla(120 100% 50% / 0) 75%),
163
+ linear-gradient(180deg, hsla(180 100% 50% / 80%), hsla(180 100% 50% / 0) 75%),
164
+ linear-gradient(240deg, hsla(240 100% 50% / 80%), hsla(240 100% 50% / 0) 75%),
165
+ linear-gradient(300deg, hsla(300 100% 50% / 80%), hsla(300 100% 50% / 0) 75%)
166
+ `, "--gradient-19": "linear-gradient(to bottom right,#ffe259,#ffa751)", "--gradient-20": "conic-gradient(from -135deg at -10% center, #ffa500, #ff7715, #ff522a, #ff3f47, #ff5482, #ff69b4)", "--gradient-21": "conic-gradient(from -90deg at 25% 115%, #ff0000, #ff0066, #ff00cc, #cc00ff, #6600ff, #0000ff, #0000ff, #0000ff, #0000ff)", "--gradient-22": "linear-gradient(to bottom right,#acb6e5,#86fde8)", "--gradient-23": "linear-gradient(to bottom right,#536976,#292E49)", "--gradient-24": "conic-gradient(from .5turn at 0% 0%, #00c476, 10%, #82b0ff, 90%, #00c476)", "--gradient-25": "conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7)", "--gradient-26": "linear-gradient(to bottom right,#9796f0,#fbc7d4)", "--gradient-27": "conic-gradient(from .5turn at bottom left, deeppink, rebeccapurple)", "--gradient-28": "conic-gradient(from -90deg at 50% 105%, white, orchid)", "--gradient-29": `
167
+ radial-gradient(
168
+ circle at top right,
169
+ hsl(250 100% 85%), hsl(250 100% 85% / 0%)
170
+ ),
171
+ radial-gradient(
172
+ circle at bottom left,
173
+ hsl(220 90% 75%), hsl(220 90% 75% / 0%)
174
+ )`, "--gradient-30": `radial-gradient(
175
+ circle at top right,
176
+ hsl(150 100% 50%), hsl(150 100% 50% / 0%)
177
+ ),
178
+ radial-gradient(
179
+ circle at bottom left,
180
+ hsl(150 100% 84%), hsl(150 100% 84% / 0%)
181
+ )`, "--noise-1": `url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-2": `url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-3": `url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-4": `url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-5": `url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-filter-1": "contrast(300%) brightness(100%)", "--noise-filter-2": "contrast(200%) brightness(150%)", "--noise-filter-3": "contrast(200%) brightness(250%)", "--noise-filter-4": "contrast(200%) brightness(500%)", "--noise-filter-5": "contrast(200%) brightness(1000%)" }, E, { "--layer-1": 1, "--layer-2": 2, "--layer-3": 3, "--layer-4": 4, "--layer-5": 5, "--layer-important": 2147483647 }, { "--mask-edge-scoop-bottom": "radial-gradient(20px at 50% 100%,#0000 97%,#000) 50% / calc(1.9 * 20px) 100%", "--mask-edge-scoop-top": "radial-gradient(20px at 50% 0,#0000 97%,#000) 50% / calc(1.9 * 20px) 100%", "--mask-edge-scoop-vertical": "radial-gradient(20px at 50% 20px,#0000 97%,#000) 50% -20px/ calc(1.9 * 20px) 100%", "--mask-edge-scoop-left": "radial-gradient(20px at 0 50%,#0000 97%,#000) 50%/ 100% calc(1.9 * 20px)", "--mask-edge-scoop-right": "radial-gradient(20px at 100% 50%,#0000 97%,#000) 50%/ 100% calc(1.9 * 20px)", "--mask-edge-scoop-horizontal": "radial-gradient(20px at 20px 50%,#0000 97%,#000) -20px/ 100% calc(1.9 * 20px)", "--mask-edge-scalloped": `
182
+ radial-gradient(farthest-side,#000 97%,#0000) 0 0 / 20px 20px round,
183
+ linear-gradient(#000 0 0) 50%/calc(100% - 20px) calc(100% - 20px) no-repeat
184
+ `, "--mask-edge-scalloped-bottom": `
185
+ linear-gradient(to top,#0000 20px,#000 0),
186
+ radial-gradient(20px at top,#000 97%,#0000) bottom / calc(1.9 * 20px) 20px
187
+ `, "--mask-edge-scalloped-top": `
188
+ linear-gradient(to bottom,#0000 20px,#000 0),
189
+ radial-gradient(20px at bottom,#000 97%,#0000) top / calc(1.9 * 20px) 20px
190
+ `, "--mask-edge-scalloped-vertical": `
191
+ linear-gradient(0deg,#0000 calc(2 * 20px),#000 0) 0 20px,
192
+ radial-gradient(20px,#000 97%,#0000) 50% / calc(1.9 * 20px) calc(2 * 20px) repeat space
193
+ `, "--mask-edge-scalloped-left": `
194
+ linear-gradient(to right,#0000 20px,#000 0),
195
+ radial-gradient(20px at right,#000 97%,#0000) left / 20px calc(1.9 * 20px)
196
+ `, "--mask-edge-scalloped-right": `
197
+ linear-gradient(to left,#0000 20px,#000 0),
198
+ radial-gradient(20px at left,#000 97%,#0000) right / 20px calc(1.9 * 20px)
199
+ `, "--mask-edge-scalloped-horizontal": `
200
+ linear-gradient(-90deg,#0000 calc(2 * 20px),#000 0) 20px,
201
+ radial-gradient(20px,#000 97%,#0000) 50% / calc(2 * 20px) calc(1.9 * 20px) space repeat
202
+ `, "--mask-edge-drip-bottom": `
203
+ radial-gradient(20px at bottom,#0000 97%,#000) 50% calc(100% - 20px) / calc(2 * 20px) 100% repeat-x,
204
+ radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 99% / calc(4 * 20px) calc(2 * 20px) repeat-x
205
+ `, "--mask-edge-drip-top": `
206
+ radial-gradient(20px at top,#0000 97%,#000) 50% 20px / calc(2 * 20px) 100% repeat-x,
207
+ radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 1% / calc(4 * 20px) calc(2 * 20px) repeat-x
208
+ `, "--mask-edge-drip-vertical": `
209
+ radial-gradient(20px at top ,#0000 97%,#000) 50% 20px / calc(2 * 20px) 51% repeat-x,
210
+ radial-gradient(20px at bottom,#0000 97%,#000) 50% calc(100% - 20px) / calc(2 * 20px) 51% repeat-x,
211
+ radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 1% / calc(4 * 20px) calc(2 * 20px) repeat-x,
212
+ radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 3*20px) 99% / calc(4 * 20px) calc(2 * 20px) repeat-x
213
+ `, "--mask-edge-drip-left": `
214
+ radial-gradient(20px at left,#0000 97%,#000) 20px 50% / 100% calc(2 * 20px) repeat-y,
215
+ radial-gradient(20px at 50% 25%,#000 97%,#0000) 1% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
216
+ `, "--mask-edge-drip-right": `
217
+ radial-gradient(20px at right,#0000 97%,#000) calc(100% - 20px) 50% / 100% calc(2 * 20px) repeat-y,
218
+ radial-gradient(20px at 50% 25%,#000 97%,#0000) 99% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
219
+ `, "--mask-edge-drip-horizontal": `
220
+ radial-gradient(20px at left ,#0000 97%,#000) 20px 50% / 51% calc(2 * 20px) repeat-y,
221
+ radial-gradient(20px at right,#0000 97%,#000) calc(100% - 20px) 50% / 51% calc(2 * 20px) repeat-y,
222
+ radial-gradient(20px at 50% 25%,#000 97%,#0000) 1% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y,
223
+ radial-gradient(20px at 50% 25%,#000 97%,#0000) 99% calc(50% - 3*20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
224
+ `, "--mask-edge-zig-zag-top": "conic-gradient(from 135deg at top,#0000,#000 1deg 90deg,#0000 91deg) 50% / calc(2 * 20px) 100%", "--mask-edge-zig-zag-bottom": "conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) 50% / calc(2 * 20px) 100%", "--mask-edge-zig-zag-left": "conic-gradient(from 45deg at left,#0000,#000 1deg 90deg,#0000 91deg) 50% / 100% calc(2 * 20px)", "--mask-edge-zig-zag-right": "conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) 50% / 100% calc(2 * 20px)", "--mask-edge-zig-zag-horizontal": `
225
+ conic-gradient(from 45deg at left ,#0000,#000 1deg 90deg,#0000 91deg) left / 51% calc(2 * 20px) repeat-y,
226
+ conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) right / 51% calc(2 * 20px) repeat-y
227
+ `, "--mask-edge-zig-zag-vertical": `
228
+ conic-gradient(from 135deg at top ,#0000,#000 1deg 90deg,#0000 91deg) top / calc(2 * 20px) 51% repeat-x,
229
+ conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) bottom / calc(2 * 20px) 51% repeat-x
230
+ ` }, { "--mask-corner-cut-circles-1": "radial-gradient(1rem at 1rem 1rem,#0000 99%,#000) -1rem -1rem", "--mask-corner-cut-circles-2": "radial-gradient(2rem at 2rem 2rem,#0000 99%,#000) -2rem -2rem", "--mask-corner-cut-circles-3": "radial-gradient(4rem at 4rem 4rem,#0000 99%,#000) -4rem -4rem", "--mask-corner-cut-squares-1": "conic-gradient(at calc(2*1rem) calc(2*1rem),#000 75%,#0000 0) -1rem -1rem", "--mask-corner-cut-squares-2": "conic-gradient(at calc(2*2rem) calc(2*2rem),#000 75%,#0000 0) -2rem -2rem", "--mask-corner-cut-squares-3": "conic-gradient(at calc(2*4rem) calc(2*4rem),#000 75%,#0000 0) -4rem -4rem", "--mask-corner-cut-angles-1": `
231
+ conic-gradient(from -45deg at 1rem 1rem,#0000 25%,#000 0)
232
+ -1rem 0 /100% 51% repeat-x,
233
+ conic-gradient(from 135deg at 1rem calc(100% - 1rem),#0000 25%,#000 0)
234
+ -1rem 100%/100% 51% repeat-x
235
+ `, "--mask-corner-cut-angles-2": `
236
+ conic-gradient(from -45deg at 2rem 2rem,#0000 25%,#000 0)
237
+ -2rem 0 /100% 51% repeat-x,
238
+ conic-gradient(from 135deg at 2rem calc(100% - 2rem),#0000 25%,#000 0)
239
+ -2rem 100%/100% 51% repeat-x
240
+ `, "--mask-corner-cut-angles-3": `
241
+ conic-gradient(from -45deg at 4rem 4rem,#0000 25%,#000 0)
242
+ -4rem 0 /100% 51% repeat-x,
243
+ conic-gradient(from 135deg at 4rem calc(100% - 4rem),#0000 25%,#000 0)
244
+ -4rem 100%/100% 51% repeat-x
245
+ ` }));
246
+ const he = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], ge = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...he]), me = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ue = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
46
247
  className: "class",
47
248
  htmlFor: "for"
48
- };
49
- const PropAliases = {
249
+ }), W = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
50
250
  class: "className",
51
251
  formnovalidate: "formNoValidate",
52
252
  ismap: "isMap",
53
253
  nomodule: "noModule",
54
254
  playsinline: "playsInline",
55
255
  readonly: "readOnly"
56
- };
57
- const DelegatedEvents = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
58
- const SVGElements = /* @__PURE__ */ new Set([
256
+ }), pe = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), be = /* @__PURE__ */ new Set([
59
257
  "altGlyph",
60
258
  "altGlyphDef",
61
259
  "altGlyphItem",
@@ -132,874 +330,766 @@ const SVGElements = /* @__PURE__ */ new Set([
132
330
  "use",
133
331
  "view",
134
332
  "vkern"
135
- ]);
136
- const SVGNamespace = {
333
+ ]), ye = {
137
334
  xlink: "http://www.w3.org/1999/xlink",
138
335
  xml: "http://www.w3.org/XML/1998/namespace"
139
336
  };
140
- function reconcileArrays(parentNode, a, b) {
141
- let bLength = b.length, aEnd = a.length, bEnd = bLength, aStart = 0, bStart = 0, after = a[aEnd - 1].nextSibling, map = null;
142
- while (aStart < aEnd || bStart < bEnd) {
143
- if (a[aStart] === b[bStart]) {
144
- aStart++;
145
- bStart++;
337
+ function xe(e, t, n) {
338
+ let i = n.length, s = t.length, o = i, r = 0, a = 0, l = t[s - 1].nextSibling, c = null;
339
+ for (; r < s || a < o; ) {
340
+ if (t[r] === n[a]) {
341
+ r++, a++;
146
342
  continue;
147
343
  }
148
- while (a[aEnd - 1] === b[bEnd - 1]) {
149
- aEnd--;
150
- bEnd--;
151
- }
152
- if (aEnd === aStart) {
153
- const node = bEnd < bLength ? bStart ? b[bStart - 1].nextSibling : b[bEnd - bStart] : after;
154
- while (bStart < bEnd)
155
- parentNode.insertBefore(b[bStart++], node);
156
- } else if (bEnd === bStart) {
157
- while (aStart < aEnd) {
158
- if (!map || !map.has(a[aStart]))
159
- a[aStart].remove();
160
- aStart++;
161
- }
162
- } else if (a[aStart] === b[bEnd - 1] && b[bStart] === a[aEnd - 1]) {
163
- const node = a[--aEnd].nextSibling;
164
- parentNode.insertBefore(b[bStart++], a[aStart++].nextSibling);
165
- parentNode.insertBefore(b[--bEnd], node);
166
- a[aEnd] = b[bEnd];
344
+ for (; t[s - 1] === n[o - 1]; )
345
+ s--, o--;
346
+ if (s === r) {
347
+ const d = o < i ? a ? n[a - 1].nextSibling : n[o - a] : l;
348
+ for (; a < o; )
349
+ e.insertBefore(n[a++], d);
350
+ } else if (o === a)
351
+ for (; r < s; )
352
+ (!c || !c.has(t[r])) && t[r].remove(), r++;
353
+ else if (t[r] === n[o - 1] && n[a] === t[s - 1]) {
354
+ const d = t[--s].nextSibling;
355
+ e.insertBefore(n[a++], t[r++].nextSibling), e.insertBefore(n[--o], d), t[s] = n[o];
167
356
  } else {
168
- if (!map) {
169
- map = /* @__PURE__ */ new Map();
170
- let i = bStart;
171
- while (i < bEnd)
172
- map.set(b[i], i++);
357
+ if (!c) {
358
+ c = /* @__PURE__ */ new Map();
359
+ let f = a;
360
+ for (; f < o; )
361
+ c.set(n[f], f++);
173
362
  }
174
- const index = map.get(a[aStart]);
175
- if (index != null) {
176
- if (bStart < index && index < bEnd) {
177
- let i = aStart, sequence = 1, t;
178
- while (++i < aEnd && i < bEnd) {
179
- if ((t = map.get(a[i])) == null || t !== index + sequence)
180
- break;
181
- sequence++;
182
- }
183
- if (sequence > index - bStart) {
184
- const node = a[aStart];
185
- while (bStart < index)
186
- parentNode.insertBefore(b[bStart++], node);
363
+ const d = c.get(t[r]);
364
+ if (d != null)
365
+ if (a < d && d < o) {
366
+ let f = r, x = 1, w;
367
+ for (; ++f < s && f < o && !((w = c.get(t[f])) == null || w !== d + x); )
368
+ x++;
369
+ if (x > d - a) {
370
+ const z = t[r];
371
+ for (; a < d; )
372
+ e.insertBefore(n[a++], z);
187
373
  } else
188
- parentNode.replaceChild(b[bStart++], a[aStart++]);
374
+ e.replaceChild(n[a++], t[r++]);
189
375
  } else
190
- aStart++;
191
- } else
192
- a[aStart++].remove();
376
+ r++;
377
+ else
378
+ t[r++].remove();
193
379
  }
194
380
  }
195
381
  }
196
- const $$EVENTS = "_$DX_DELEGATE";
197
- function delegateEvents(eventNames, document2 = window.document) {
198
- const e = document2[$$EVENTS] || (document2[$$EVENTS] = /* @__PURE__ */ new Set());
199
- for (let i = 0, l = eventNames.length; i < l; i++) {
200
- const name = eventNames[i];
201
- if (!e.has(name)) {
202
- e.add(name);
203
- document2.addEventListener(name, eventHandler);
204
- }
382
+ const R = "_$DX_DELEGATE";
383
+ function we(e, t = window.document) {
384
+ const n = t[R] || (t[R] = /* @__PURE__ */ new Set());
385
+ for (let i = 0, s = e.length; i < s; i++) {
386
+ const o = e[i];
387
+ n.has(o) || (n.add(o), t.addEventListener(o, Oe));
205
388
  }
206
389
  }
207
- function setAttribute(node, name, value) {
208
- if (value == null)
209
- node.removeAttribute(name);
210
- else
211
- node.setAttribute(name, value);
390
+ function Z(e, t, n) {
391
+ n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
212
392
  }
213
- function setAttributeNS(node, namespace, name, value) {
214
- if (value == null)
215
- node.removeAttributeNS(namespace, name);
216
- else
217
- node.setAttributeNS(namespace, name, value);
393
+ function ve(e, t, n, i) {
394
+ i == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, i);
218
395
  }
219
- function className(node, value) {
220
- if (value == null)
221
- node.removeAttribute("class");
222
- else
223
- node.className = value;
396
+ function ze(e, t) {
397
+ t == null ? e.removeAttribute("class") : e.className = t;
224
398
  }
225
- function addEventListener(node, name, handler, delegate) {
226
- if (delegate) {
227
- if (Array.isArray(handler)) {
228
- node[`$$${name}`] = handler[0];
229
- node[`$$${name}Data`] = handler[1];
230
- } else
231
- node[`$$${name}`] = handler;
232
- } else if (Array.isArray(handler)) {
233
- const handlerFn = handler[0];
234
- node.addEventListener(name, handler[0] = (e) => handlerFn.call(node, handler[1], e));
399
+ function ke(e, t, n, i) {
400
+ if (i)
401
+ Array.isArray(n) ? (e[`$$${t}`] = n[0], e[`$$${t}Data`] = n[1]) : e[`$$${t}`] = n;
402
+ else if (Array.isArray(n)) {
403
+ const s = n[0];
404
+ e.addEventListener(t, n[0] = (o) => s.call(e, n[1], o));
235
405
  } else
236
- node.addEventListener(name, handler);
406
+ e.addEventListener(t, n);
237
407
  }
238
- function classList(node, value, prev = {}) {
239
- const classKeys = Object.keys(value || {}), prevKeys = Object.keys(prev);
240
- let i, len;
241
- for (i = 0, len = prevKeys.length; i < len; i++) {
242
- const key = prevKeys[i];
243
- if (!key || key === "undefined" || value[key])
244
- continue;
245
- toggleClassKey(node, key, false);
246
- delete prev[key];
408
+ function Ce(e, t, n = {}) {
409
+ const i = Object.keys(t || {}), s = Object.keys(n);
410
+ let o, r;
411
+ for (o = 0, r = s.length; o < r; o++) {
412
+ const a = s[o];
413
+ !a || a === "undefined" || t[a] || (D(e, a, !1), delete n[a]);
247
414
  }
248
- for (i = 0, len = classKeys.length; i < len; i++) {
249
- const key = classKeys[i], classValue = !!value[key];
250
- if (!key || key === "undefined" || prev[key] === classValue || !classValue)
251
- continue;
252
- toggleClassKey(node, key, true);
253
- prev[key] = classValue;
415
+ for (o = 0, r = i.length; o < r; o++) {
416
+ const a = i[o], l = !!t[a];
417
+ !a || a === "undefined" || n[a] === l || !l || (D(e, a, !0), n[a] = l);
254
418
  }
255
- return prev;
419
+ return n;
256
420
  }
257
- function style(node, value, prev = {}) {
258
- const nodeStyle = node.style;
259
- const prevString = typeof prev === "string";
260
- if (value == null && prevString || typeof value === "string")
261
- return nodeStyle.cssText = value;
262
- prevString && (nodeStyle.cssText = void 0, prev = {});
263
- value || (value = {});
264
- let v, s;
265
- for (s in prev) {
266
- value[s] == null && nodeStyle.removeProperty(s);
267
- delete prev[s];
268
- }
269
- for (s in value) {
270
- v = value[s];
271
- if (v !== prev[s]) {
272
- nodeStyle.setProperty(s, v);
273
- prev[s] = v;
274
- }
275
- }
276
- return prev;
421
+ function je(e, t, n) {
422
+ if (!t)
423
+ return n ? Z(e, "style") : t;
424
+ const i = e.style;
425
+ if (typeof t == "string")
426
+ return i.cssText = t;
427
+ typeof n == "string" && (i.cssText = n = void 0), n || (n = {}), t || (t = {});
428
+ let s, o;
429
+ for (o in n)
430
+ t[o] == null && i.removeProperty(o), delete n[o];
431
+ for (o in t)
432
+ s = t[o], s !== n[o] && (i.setProperty(o, s), n[o] = s);
433
+ return n;
277
434
  }
278
- function spread(node, accessor, isSVG, skipChildren) {
279
- if (typeof accessor === "function") {
280
- createRenderEffect((current) => spreadExpression(node, accessor(), current, isSVG, skipChildren));
281
- } else
282
- spreadExpression(node, accessor, void 0, isSVG, skipChildren);
435
+ function Ee(e, t = {}, n, i) {
436
+ const s = {};
437
+ return i || C(() => s.children = S(e, t.children, s.children)), C(() => t.ref && t.ref(e)), C(() => $e(e, t, n, !0, s, !0)), s;
283
438
  }
284
- function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
285
- props || (props = {});
286
- for (const prop in prevProps) {
287
- if (!(prop in props)) {
288
- if (prop === "children")
439
+ function $e(e, t, n, i, s = {}, o = !1) {
440
+ t || (t = {});
441
+ for (const r in s)
442
+ if (!(r in t)) {
443
+ if (r === "children")
289
444
  continue;
290
- assignProp(node, prop, null, prevProps[prop], isSVG, skipRef);
445
+ s[r] = q(e, r, null, s[r], n, o);
291
446
  }
292
- }
293
- for (const prop in props) {
294
- if (prop === "children") {
295
- if (!skipChildren)
296
- insertExpression(node, props.children);
447
+ for (const r in t) {
448
+ if (r === "children") {
449
+ i || S(e, t.children);
297
450
  continue;
298
451
  }
299
- const value = props[prop];
300
- prevProps[prop] = assignProp(node, prop, value, prevProps[prop], isSVG, skipRef);
452
+ const a = t[r];
453
+ s[r] = q(e, r, a, s[r], n, o);
301
454
  }
302
455
  }
303
- function getNextElement(template) {
304
- let node, key;
305
- if (!sharedConfig.context || !(node = sharedConfig.registry.get(key = getHydrationKey()))) {
306
- return template.cloneNode(true);
307
- }
308
- if (sharedConfig.completed)
309
- sharedConfig.completed.add(node);
310
- sharedConfig.registry.delete(key);
311
- return node;
456
+ function Se(e) {
457
+ let t, n;
458
+ return !h.context || !(t = h.registry.get(n = Me())) ? e.cloneNode(!0) : (h.completed && h.completed.add(t), h.registry.delete(n), t);
312
459
  }
313
- function toPropertyName(name) {
314
- return name.toLowerCase().replace(/-([a-z])/g, (_, w) => w.toUpperCase());
460
+ function Ae(e) {
461
+ return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
315
462
  }
316
- function toggleClassKey(node, key, value) {
317
- const classNames = key.trim().split(/\s+/);
318
- for (let i = 0, nameLen = classNames.length; i < nameLen; i++)
319
- node.classList.toggle(classNames[i], value);
463
+ function D(e, t, n) {
464
+ const i = t.trim().split(/\s+/);
465
+ for (let s = 0, o = i.length; s < o; s++)
466
+ e.classList.toggle(i[s], n);
320
467
  }
321
- function assignProp(node, prop, value, prev, isSVG, skipRef) {
322
- let isCE, isProp, isChildProp;
323
- if (prop === "style")
324
- return style(node, value, prev);
325
- if (prop === "classList")
326
- return classList(node, value, prev);
327
- if (value === prev)
328
- return prev;
329
- if (prop === "ref") {
330
- if (!skipRef) {
331
- value(node);
332
- }
333
- } else if (prop.slice(0, 3) === "on:") {
334
- const e = prop.slice(3);
335
- prev && node.removeEventListener(e, prev);
336
- value && node.addEventListener(e, value);
337
- } else if (prop.slice(0, 10) === "oncapture:") {
338
- const e = prop.slice(10);
339
- prev && node.removeEventListener(e, prev, true);
340
- value && node.addEventListener(e, value, true);
341
- } else if (prop.slice(0, 2) === "on") {
342
- const name = prop.slice(2).toLowerCase();
343
- const delegate = DelegatedEvents.has(name);
344
- if (!delegate && prev) {
345
- const h = Array.isArray(prev) ? prev[0] : prev;
346
- node.removeEventListener(name, h);
468
+ function q(e, t, n, i, s, o) {
469
+ let r, a, l;
470
+ if (t === "style")
471
+ return je(e, n, i);
472
+ if (t === "classList")
473
+ return Ce(e, n, i);
474
+ if (n === i)
475
+ return i;
476
+ if (t === "ref")
477
+ o || n(e);
478
+ else if (t.slice(0, 3) === "on:") {
479
+ const c = t.slice(3);
480
+ i && e.removeEventListener(c, i), n && e.addEventListener(c, n);
481
+ } else if (t.slice(0, 10) === "oncapture:") {
482
+ const c = t.slice(10);
483
+ i && e.removeEventListener(c, i, !0), n && e.addEventListener(c, n, !0);
484
+ } else if (t.slice(0, 2) === "on") {
485
+ const c = t.slice(2).toLowerCase(), d = pe.has(c);
486
+ if (!d && i) {
487
+ const f = Array.isArray(i) ? i[0] : i;
488
+ e.removeEventListener(c, f);
347
489
  }
348
- if (delegate || value) {
349
- addEventListener(node, name, value, delegate);
350
- delegate && delegateEvents([name]);
351
- }
352
- } else if ((isChildProp = ChildProperties.has(prop)) || !isSVG && (PropAliases[prop] || (isProp = Properties.has(prop))) || (isCE = node.nodeName.includes("-"))) {
353
- if (prop === "class" || prop === "className")
354
- className(node, value);
355
- else if (isCE && !isProp && !isChildProp)
356
- node[toPropertyName(prop)] = value;
357
- else
358
- node[PropAliases[prop] || prop] = value;
359
- } else {
360
- const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
361
- if (ns)
362
- setAttributeNS(node, ns, prop, value);
363
- else
364
- setAttribute(node, Aliases[prop] || prop, value);
490
+ (d || n) && (ke(e, c, n, d), d && we([c]));
491
+ } else if ((l = me.has(t)) || !s && (W[t] || (a = ge.has(t))) || (r = e.nodeName.includes("-")))
492
+ t === "class" || t === "className" ? ze(e, n) : r && !a && !l ? e[Ae(t)] = n : e[W[t] || t] = n;
493
+ else {
494
+ const c = s && t.indexOf(":") > -1 && ye[t.split(":")[0]];
495
+ c ? ve(e, c, t, n) : Z(e, ue[t] || t, n);
365
496
  }
366
- return value;
497
+ return n;
367
498
  }
368
- function eventHandler(e) {
369
- const key = `$$${e.type}`;
370
- let node = e.composedPath && e.composedPath()[0] || e.target;
371
- if (e.target !== node) {
372
- Object.defineProperty(e, "target", {
373
- configurable: true,
374
- value: node
375
- });
376
- }
377
- Object.defineProperty(e, "currentTarget", {
378
- configurable: true,
499
+ function Oe(e) {
500
+ const t = `$$${e.type}`;
501
+ let n = e.composedPath && e.composedPath()[0] || e.target;
502
+ for (e.target !== n && Object.defineProperty(e, "target", {
503
+ configurable: !0,
504
+ value: n
505
+ }), Object.defineProperty(e, "currentTarget", {
506
+ configurable: !0,
379
507
  get() {
380
- return node || document;
508
+ return n || document;
381
509
  }
382
- });
383
- if (sharedConfig.registry && !sharedConfig.done) {
384
- sharedConfig.done = true;
385
- document.querySelectorAll("[id^=pl-]").forEach((elem) => elem.remove());
386
- }
387
- while (node !== null) {
388
- const handler = node[key];
389
- if (handler && !node.disabled) {
390
- const data = node[`${key}Data`];
391
- data !== void 0 ? handler.call(node, data, e) : handler.call(node, e);
392
- if (e.cancelBubble)
510
+ }), h.registry && !h.done && (h.done = !0, document.querySelectorAll("[id^=pl-]").forEach((i) => {
511
+ for (; i && i.nodeType !== 8 && i.nodeValue !== "pl-" + e; ) {
512
+ let s = i.nextSibling;
513
+ i.remove(), i = s;
514
+ }
515
+ i && i.remove();
516
+ })); n; ) {
517
+ const i = n[t];
518
+ if (i && !n.disabled) {
519
+ const s = n[`${t}Data`];
520
+ if (s !== void 0 ? i.call(n, s, e) : i.call(n, e), e.cancelBubble)
393
521
  return;
394
522
  }
395
- node = node.host && node.host !== node && node.host instanceof Node ? node.host : node.parentNode;
523
+ n = n._$host || n.parentNode || n.host;
396
524
  }
397
525
  }
398
- function spreadExpression(node, props, prevProps = {}, isSVG, skipChildren) {
399
- props || (props = {});
400
- if (!skipChildren && "children" in props) {
401
- createRenderEffect(() => prevProps.children = insertExpression(node, props.children, prevProps.children));
402
- }
403
- props.ref && props.ref(node);
404
- createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
405
- return prevProps;
406
- }
407
- function insertExpression(parent, value, current, marker, unwrapArray) {
408
- if (sharedConfig.context && !current)
409
- current = [...parent.childNodes];
410
- while (typeof current === "function")
411
- current = current();
412
- if (value === current)
413
- return current;
414
- const t = typeof value, multi = marker !== void 0;
415
- parent = multi && current[0] && current[0].parentNode || parent;
416
- if (t === "string" || t === "number") {
417
- if (sharedConfig.context)
418
- return current;
419
- if (t === "number")
420
- value = value.toString();
421
- if (multi) {
422
- let node = current[0];
423
- if (node && node.nodeType === 3) {
424
- node.data = value;
425
- } else
426
- node = document.createTextNode(value);
427
- current = cleanChildren(parent, current, marker, node);
428
- } else {
429
- if (current !== "" && typeof current === "string") {
430
- current = parent.firstChild.data = value;
431
- } else
432
- current = parent.textContent = value;
433
- }
434
- } else if (value == null || t === "boolean") {
435
- if (sharedConfig.context)
436
- return current;
437
- current = cleanChildren(parent, current, marker);
438
- } else if (t === "function") {
439
- createRenderEffect(() => {
440
- let v = value();
441
- while (typeof v === "function")
442
- v = v();
443
- current = insertExpression(parent, v, current, marker);
444
- });
445
- return () => current;
446
- } else if (Array.isArray(value)) {
447
- const array = [];
448
- const currentArray = current && Array.isArray(current);
449
- if (normalizeIncomingArray(array, value, current, unwrapArray)) {
450
- createRenderEffect(() => current = insertExpression(parent, array, current, marker, true));
451
- return () => current;
452
- }
453
- if (sharedConfig.context) {
454
- if (!array.length)
455
- return current;
456
- for (let i = 0; i < array.length; i++) {
457
- if (array[i].parentNode)
458
- return current = array;
526
+ function S(e, t, n, i, s) {
527
+ for (h.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
528
+ n = n();
529
+ if (t === n)
530
+ return n;
531
+ const o = typeof t, r = i !== void 0;
532
+ if (e = r && n[0] && n[0].parentNode || e, o === "string" || o === "number") {
533
+ if (h.context)
534
+ return n;
535
+ if (o === "number" && (t = t.toString()), r) {
536
+ let a = n[0];
537
+ a && a.nodeType === 3 ? a.data = t : a = document.createTextNode(t), n = v(e, n, i, a);
538
+ } else
539
+ n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
540
+ } else if (t == null || o === "boolean") {
541
+ if (h.context)
542
+ return n;
543
+ n = v(e, n, i);
544
+ } else {
545
+ if (o === "function")
546
+ return C(() => {
547
+ let a = t();
548
+ for (; typeof a == "function"; )
549
+ a = a();
550
+ n = S(e, a, n, i);
551
+ }), () => n;
552
+ if (Array.isArray(t)) {
553
+ const a = [], l = n && Array.isArray(n);
554
+ if (I(a, t, n, s))
555
+ return C(() => n = S(e, a, n, i, !0)), () => n;
556
+ if (h.context) {
557
+ if (!a.length)
558
+ return n;
559
+ for (let c = 0; c < a.length; c++)
560
+ if (a[c].parentNode)
561
+ return n = a;
459
562
  }
460
- }
461
- if (array.length === 0) {
462
- current = cleanChildren(parent, current, marker);
463
- if (multi)
464
- return current;
465
- } else if (currentArray) {
466
- if (current.length === 0) {
467
- appendNodes(parent, array, marker);
563
+ if (a.length === 0) {
564
+ if (n = v(e, n, i), r)
565
+ return n;
468
566
  } else
469
- reconcileArrays(parent, current, array);
470
- } else {
471
- current && cleanChildren(parent);
472
- appendNodes(parent, array);
567
+ l ? n.length === 0 ? X(e, a, i) : xe(e, n, a) : (n && v(e), X(e, a));
568
+ n = a;
569
+ } else if (t instanceof Node) {
570
+ if (h.context && t.parentNode)
571
+ return n = r ? [t] : t;
572
+ if (Array.isArray(n)) {
573
+ if (r)
574
+ return n = v(e, n, i, t);
575
+ v(e, n, null, t);
576
+ } else
577
+ n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
578
+ n = t;
473
579
  }
474
- current = array;
475
- } else if (value instanceof Node) {
476
- if (sharedConfig.context && value.parentNode)
477
- return current = multi ? [value] : value;
478
- if (Array.isArray(current)) {
479
- if (multi)
480
- return current = cleanChildren(parent, current, marker, value);
481
- cleanChildren(parent, current, null, value);
482
- } else if (current == null || current === "" || !parent.firstChild) {
483
- parent.appendChild(value);
484
- } else
485
- parent.replaceChild(value, parent.firstChild);
486
- current = value;
487
- } else
488
- ;
489
- return current;
580
+ }
581
+ return n;
490
582
  }
491
- function normalizeIncomingArray(normalized, array, current, unwrap) {
492
- let dynamic = false;
493
- for (let i = 0, len = array.length; i < len; i++) {
494
- let item = array[i], prev = current && current[i];
495
- if (item instanceof Node) {
496
- normalized.push(item);
497
- } else if (item == null || item === true || item === false)
498
- ;
499
- else if (Array.isArray(item)) {
500
- dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
501
- } else if (typeof item === "function") {
502
- if (unwrap) {
503
- while (typeof item === "function")
504
- item = item();
505
- dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev) ? prev : [prev]) || dynamic;
506
- } else {
507
- normalized.push(item);
508
- dynamic = true;
583
+ function I(e, t, n, i) {
584
+ let s = !1;
585
+ for (let o = 0, r = t.length; o < r; o++) {
586
+ let a = t[o], l = n && n[o];
587
+ if (a instanceof Node)
588
+ e.push(a);
589
+ else if (!(a == null || a === !0 || a === !1))
590
+ if (Array.isArray(a))
591
+ s = I(e, a, l) || s;
592
+ else if (typeof a == "function")
593
+ if (i) {
594
+ for (; typeof a == "function"; )
595
+ a = a();
596
+ s = I(e, Array.isArray(a) ? a : [a], Array.isArray(l) ? l : [l]) || s;
597
+ } else
598
+ e.push(a), s = !0;
599
+ else {
600
+ const c = String(a);
601
+ l && l.nodeType === 3 && l.data === c ? e.push(l) : e.push(document.createTextNode(c));
509
602
  }
510
- } else {
511
- const value = String(item);
512
- if (prev && prev.nodeType === 3 && prev.data === value) {
513
- normalized.push(prev);
514
- } else
515
- normalized.push(document.createTextNode(value));
516
- }
517
603
  }
518
- return dynamic;
604
+ return s;
519
605
  }
520
- function appendNodes(parent, array, marker) {
521
- for (let i = 0, len = array.length; i < len; i++)
522
- parent.insertBefore(array[i], marker);
606
+ function X(e, t, n = null) {
607
+ for (let i = 0, s = t.length; i < s; i++)
608
+ e.insertBefore(t[i], n);
523
609
  }
524
- function cleanChildren(parent, current, marker, replacement) {
525
- if (marker === void 0)
526
- return parent.textContent = "";
527
- const node = replacement || document.createTextNode("");
528
- if (current.length) {
529
- let inserted = false;
530
- for (let i = current.length - 1; i >= 0; i--) {
531
- const el = current[i];
532
- if (node !== el) {
533
- const isParent = el.parentNode === parent;
534
- if (!inserted && !i)
535
- isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
536
- else
537
- isParent && el.remove();
610
+ function v(e, t, n, i) {
611
+ if (n === void 0)
612
+ return e.textContent = "";
613
+ const s = i || document.createTextNode("");
614
+ if (t.length) {
615
+ let o = !1;
616
+ for (let r = t.length - 1; r >= 0; r--) {
617
+ const a = t[r];
618
+ if (s !== a) {
619
+ const l = a.parentNode === e;
620
+ !o && !r ? l ? e.replaceChild(s, a) : e.insertBefore(s, n) : l && a.remove();
538
621
  } else
539
- inserted = true;
622
+ o = !0;
540
623
  }
541
624
  } else
542
- parent.insertBefore(node, marker);
543
- return [node];
625
+ e.insertBefore(s, n);
626
+ return [s];
544
627
  }
545
- function getHydrationKey() {
546
- const hydrate = sharedConfig.context;
547
- return `${hydrate.id}${hydrate.count++}`;
628
+ function Me() {
629
+ const e = h.context;
630
+ return `${e.id}${e.count++}`;
548
631
  }
549
- const SVG_NAMESPACE = "http://www.w3.org/2000/svg";
550
- function createElement(tagName, isSVG = false) {
551
- return isSVG ? document.createElementNS(SVG_NAMESPACE, tagName) : document.createElement(tagName);
632
+ const Te = "http://www.w3.org/2000/svg";
633
+ function Ie(e, t = !1) {
634
+ return t ? document.createElementNS(Te, e) : document.createElement(e);
552
635
  }
553
- function Dynamic(props) {
554
- const [p, others] = splitProps(props, ["component"]);
555
- const cached = createMemo(() => p.component);
556
- return createMemo(() => {
557
- const component = cached();
558
- switch (typeof component) {
636
+ function Pe(e) {
637
+ const [t, n] = G(e, ["component"]), i = B(() => t.component);
638
+ return B(() => {
639
+ const s = i();
640
+ switch (typeof s) {
559
641
  case "function":
560
- return untrack(() => component(others));
642
+ return ie(() => s(n));
561
643
  case "string":
562
- const isSvg = SVGElements.has(component);
563
- const el = sharedConfig.context ? getNextElement() : createElement(component, isSvg);
564
- spread(el, others, isSvg);
565
- return el;
644
+ const o = be.has(s), r = h.context ? Se() : Ie(s, o);
645
+ return Ee(r, n, o), r;
566
646
  }
567
647
  });
568
648
  }
569
- function convertToMaybe(value) {
570
- return value != null ? value : void 0;
649
+ function A(e) {
650
+ return e != null ? e : void 0;
571
651
  }
572
- function omitProps(value, keys) {
573
- return Object.keys(value).filter((k) => !keys.includes(k)).reduce((newObject, k) => {
574
- Object.defineProperty(newObject, k, {
575
- get() {
576
- return value[k];
577
- },
578
- configurable: true,
579
- enumerable: true
580
- });
581
- return newObject;
582
- }, {});
652
+ function m(e, t) {
653
+ return Object.keys(e).filter((n) => !t.includes(n)).reduce((n, i) => (Object.defineProperty(n, i, {
654
+ get() {
655
+ return e[i];
656
+ },
657
+ configurable: !0,
658
+ enumerable: !0
659
+ }), n), {});
583
660
  }
584
- function createDynamic(source, props) {
585
- return createComponent(
586
- Dynamic,
587
- mergeProps(
661
+ function u(e, t) {
662
+ return se(
663
+ Pe,
664
+ g(
588
665
  {
589
666
  get component() {
590
- return source();
667
+ return e();
591
668
  }
592
669
  },
593
- props
670
+ t
594
671
  )
595
672
  );
596
673
  }
597
- function createPropsFromAccessors(props) {
598
- if (!Object.values(props).every((x) => typeof x === "function"))
674
+ function p(e) {
675
+ if (!Object.values(e).every((t) => typeof t == "function"))
599
676
  throw new Error("Please provide an object with accessor values only.");
600
- return Object.keys(props).reduce((getterObj, key) => {
601
- const accessor = props[key];
602
- Object.defineProperty(getterObj, key, {
677
+ return Object.keys(e).reduce((t, n) => {
678
+ const i = e[n];
679
+ return Object.defineProperty(t, n, {
603
680
  get() {
604
- return accessor();
681
+ return i();
605
682
  },
606
- configurable: true,
607
- enumerable: true
608
- });
609
- return getterObj;
683
+ configurable: !0,
684
+ enumerable: !0
685
+ }), t;
610
686
  }, {});
611
687
  }
612
- function getSafeMaxWidth(maxWidth) {
613
- if (maxWidth === void 0)
614
- return "100%";
615
- if (typeof maxWidth === "number")
616
- return `${maxWidth}px`;
617
- return maxWidth;
688
+ const K = /^--\D{1}.{0,100}$/;
689
+ function ee(e) {
690
+ return K.test(e);
691
+ }
692
+ function F(e) {
693
+ return typeof e != "string" ? !1 : [
694
+ /^[0-9]{0,10000}\.?[0-9]{1,10000}(vmin|vmax|vh|vw|%|ch|ex|em|rem|in|cm|mm|pt|pc|px)$/,
695
+ /^var\(--\D{1}.{0,100}\)$/,
696
+ K
697
+ ].some((t) => t.test(e));
698
+ }
699
+ const {
700
+ sizeXxs: Fe,
701
+ sizeXs: Ne,
702
+ sizeSm: Le,
703
+ sizeMd: Be,
704
+ sizeLg: We,
705
+ sizeXl: Re,
706
+ sizeXxl: De,
707
+ sizeContent1: qe,
708
+ sizeContent2: Xe,
709
+ sizeContent3: He,
710
+ sizeHeader1: Ye,
711
+ sizeHeader2: Ge,
712
+ sizeHeader3: Ve,
713
+ size000: _e,
714
+ size00: Ue,
715
+ size1: Qe,
716
+ size2: Je,
717
+ size3: Ze,
718
+ size4: Ke,
719
+ size5: et,
720
+ size6: tt,
721
+ size7: nt,
722
+ size8: at,
723
+ size9: it,
724
+ size10: st,
725
+ size11: rt,
726
+ size12: ot,
727
+ size13: lt,
728
+ size14: ct,
729
+ size15: dt
730
+ } = fe, ft = {
731
+ size000: _e,
732
+ size00: Ue,
733
+ size1: Qe,
734
+ size2: Je,
735
+ size3: Ze,
736
+ size4: Ke,
737
+ size5: et,
738
+ size6: tt,
739
+ size7: nt,
740
+ size8: at,
741
+ size9: it,
742
+ size10: st,
743
+ size11: rt,
744
+ size12: ot,
745
+ size13: lt,
746
+ size14: ct,
747
+ size15: dt
748
+ }, ht = {
749
+ sizeXxs: Fe,
750
+ sizeXs: Ne,
751
+ sizeSm: Le,
752
+ sizeMd: Be,
753
+ sizeLg: We,
754
+ sizeXl: Re,
755
+ sizeXxl: De,
756
+ sizeContent1: qe,
757
+ sizeContent2: Xe,
758
+ sizeContent3: He,
759
+ sizeHeader1: Ye,
760
+ sizeHeader2: Ge,
761
+ sizeHeader3: Ve
762
+ }, gt = ft, mt = ht;
763
+ function te(e) {
764
+ return e.reduce((t, [n, i]) => ({ ...t, [n]: i }), {});
765
+ }
766
+ function H(e, t) {
767
+ if (t !== void 0)
768
+ return typeof t == "number" && t >= 0 ? `${t}px` : typeof t == "string" && F(t) ? ee(t) ? `var(${t})` : t : A(b(e, t));
769
+ }
770
+ function b(e, t) {
771
+ var s;
772
+ const n = (s = e.space) != null ? s : gt, i = te(
773
+ Object.entries(n).map(([o, r]) => [
774
+ o,
775
+ typeof r == "number" ? `${r}px` : r
776
+ ])
777
+ );
778
+ return A(i[t]);
779
+ }
780
+ function O(e, t) {
781
+ var s;
782
+ if (t === void 0)
783
+ return;
784
+ if (typeof t == "number" && t >= 0)
785
+ return `${t}px`;
786
+ if (typeof t == "string" && F(t))
787
+ return ee(t) ? `var(${t})` : t;
788
+ const n = (s = e.sizes) != null ? s : mt, i = te(
789
+ Object.entries(n).map(([o, r]) => [
790
+ o,
791
+ typeof r == "number" ? `${r}px` : r
792
+ ])
793
+ );
794
+ return A(i[t]);
618
795
  }
619
- function Center(props) {
620
- const propsStyle = () => {
621
- var _a;
622
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
623
- (str, [key, value]) => str + `${key}:${value};`,
796
+ function ut(e) {
797
+ return e === void 0 ? "100%" : typeof e == "number" ? `${e}px` : e;
798
+ }
799
+ function Nt(e) {
800
+ const t = () => {
801
+ var a;
802
+ return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
803
+ (l, [c, d]) => l + `${c}:${d};`,
624
804
  ""
625
805
  );
626
- };
627
- const maxWidth = () => `--maxWidth: ${getSafeMaxWidth(props.maxWidth)};`;
628
- const centerText = () => props.centerText ? "center-text" : "";
629
- const centerChildren = () => props.centerChildren ? "center-children" : "";
630
- const attrString = () => [centerText(), centerChildren()].filter(Boolean).join(" ");
631
- const style2 = () => [propsStyle(), maxWidth()].join("; ");
632
- return createDynamic(
806
+ }, n = () => `--maxWidth: ${ut(e.maxWidth)};`, i = () => e.centerText ? "center-text" : "", s = () => e.centerChildren ? "center-children" : "", o = () => [i(), s()].filter(Boolean).join(" "), r = () => [t(), n()].join("; ");
807
+ return u(
633
808
  () => {
634
- var _a;
635
- return (_a = props.as) != null ? _a : "div";
809
+ var a;
810
+ return (a = e.as) != null ? a : "div";
636
811
  },
637
- mergeProps(
638
- omitProps(props, ["as", "maxWidth", "centerText", "centerChildren"]),
639
- createPropsFromAccessors({
640
- style: style2,
641
- "data-bedrock-center": attrString
812
+ g(
813
+ m(e, ["as", "maxWidth", "centerText", "centerChildren"]),
814
+ p({
815
+ style: r,
816
+ "data-bedrock-center": o
642
817
  })
643
818
  )
644
819
  );
645
820
  }
646
- const ThemeContext = createContext({});
647
- function ThemeProvider(props) {
648
- return /* @__PURE__ */ React.createElement(ThemeContext.Provider, {
649
- value: props.theme
650
- }, props.children);
821
+ const ne = re({});
822
+ function Lt(e) {
823
+ return /* @__PURE__ */ React.createElement(ne.Provider, { value: e.theme }, e.children);
651
824
  }
652
- function useTheme() {
825
+ function y() {
653
826
  try {
654
- return useContext(ThemeContext);
655
- } catch (e) {
827
+ return oe(ne);
828
+ } catch {
656
829
  return {};
657
830
  }
658
831
  }
659
- function getSafeMinItemWidth(minItemWidth) {
660
- if (minItemWidth === void 0)
661
- return "159px";
662
- if (typeof minItemWidth === "number")
663
- return `${minItemWidth}px`;
664
- return minItemWidth;
832
+ function pt(e, t) {
833
+ return O(e, t);
665
834
  }
666
- function ColumnDrop(props) {
667
- const theme = useTheme();
668
- const propsStyle = () => {
669
- var _a;
670
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
671
- (str, [key, value]) => str + `${key}:${value};`,
835
+ function Bt(e) {
836
+ const t = y(), n = () => {
837
+ var a;
838
+ return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
839
+ (l, [c, d]) => l + `${c}:${d};`,
672
840
  ""
673
841
  );
674
- };
675
- const gutter = () => {
676
- var _a, _b;
677
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"}`;
678
- };
679
- const minItemWidth = () => `--minItemWidth: ${getSafeMinItemWidth(props.minItemWidth)}`;
680
- const noStretchedColumns = () => props.noStretchedColumns === true ? "no-stretched-columns" : "";
681
- const style2 = () => [propsStyle(), gutter(), minItemWidth()].join("; ");
682
- return createDynamic(
842
+ }, i = () => {
843
+ var a, l;
844
+ return `--gutter: ${(l = b(t, (a = e.gutter) != null ? a : "size00")) != null ? l : "0px"}`;
845
+ }, s = () => `--minItemWidth: ${pt(t, e.minItemWidth)}`, o = () => e.noStretchedColumns === !0 ? "no-stretched-columns" : "", r = () => [n(), i(), s()].join("; ");
846
+ return u(
683
847
  () => {
684
- var _a;
685
- return (_a = props.as) != null ? _a : "div";
848
+ var a;
849
+ return (a = e.as) != null ? a : "div";
686
850
  },
687
- mergeProps(
688
- omitProps(props, ["as", "gutter", "minItemWidth", "noStretchedColumns"]),
689
- createPropsFromAccessors({
690
- style: style2,
691
- "data-bedrock-column-drop": noStretchedColumns
851
+ g(
852
+ m(e, ["as", "gutter", "minItemWidth", "noStretchedColumns"]),
853
+ p({
854
+ style: r,
855
+ "data-bedrock-column-drop": o
692
856
  })
693
857
  )
694
858
  );
695
859
  }
696
- function fail(msg) {
697
- throw new Error(msg);
860
+ function M(e) {
861
+ throw new Error(e);
698
862
  }
699
- function assertIsValidWidth(width) {
700
- if (typeof width !== "number" && !Array.isArray(width)) {
701
- fail("width must be a number or an array of two numbers");
702
- }
703
- if (Array().concat(width).some((w) => w < 0)) {
704
- fail("width value(s) must be 0 or greater");
705
- }
706
- const isInvalidArray = Array.isArray(width) && (width.length !== 2 || width[0] > width[1]);
707
- if (isInvalidArray) {
708
- fail(
709
- `The second width value, ${width[1]}, is not larger than ${width[0]}. Please provide a value greater than first width value`
710
- );
711
- }
863
+ function bt(e) {
864
+ typeof e != "number" && !Array.isArray(e) && M("width must be a number or an array of two numbers"), Array().concat(e).some((n) => n < 0) && M("width value(s) must be 0 or greater"), Array.isArray(e) && (e.length !== 2 || e[0] > e[1]) && M(
865
+ `The second width value, ${e[1]}, is not larger than ${e[0]}. Please provide a value greater than first width value`
866
+ );
712
867
  }
713
- function createContainerQuery(width, maybeRef) {
714
- assertIsValidWidth(width);
715
- const [matches, setMatch] = createSignal(false);
716
- const [node, nodeRef] = createSignal();
717
- onMount(() => {
718
- init();
719
- });
720
- createEffect(() => {
721
- if (node() === void 0 || node() === null)
868
+ function Wt(e, t) {
869
+ bt(e);
870
+ const [n, i] = $(!1), [s, o] = $();
871
+ return V(() => {
872
+ Q();
873
+ }), _(() => {
874
+ if (s() === void 0 || s() === null)
722
875
  return;
723
- if (maybeRef) {
724
- maybeRef(node());
725
- }
726
- const cleanup = registerCallback(node(), (entry) => {
727
- var _a, _b;
728
- const nodeWidth = (_b = (_a = entry.borderBoxSize) == null ? void 0 : _a.inlineSize) != null ? _b : entry.contentRect.width;
729
- if (nodeWidth > 0) {
730
- const newMatch = Array.isArray(width) ? nodeWidth >= width[0] && nodeWidth <= width[1] : nodeWidth <= width;
731
- setMatch(newMatch);
876
+ t && t(s());
877
+ const r = J(s(), (a) => {
878
+ var c, d;
879
+ const l = (d = (c = a.borderBoxSize) == null ? void 0 : c.inlineSize) != null ? d : a.contentRect.width;
880
+ if (l > 0) {
881
+ const f = Array.isArray(e) ? l >= e[0] && l <= e[1] : l <= e;
882
+ i(f);
732
883
  }
733
884
  });
734
- onCleanup(cleanup);
735
- });
736
- return [matches, nodeRef];
885
+ U(r);
886
+ }), [n, o];
737
887
  }
738
- function checkIsRatio(ratio) {
739
- const isCorrectArray = Array.isArray(ratio) && ratio.length === 2 && ratio.every(Number.isFinite);
740
- return isCorrectArray || typeof ratio === "string" && /^\d{1,1000} {0,1}\/ {0,1}\d{1,1000}$/.test(ratio);
888
+ function yt(e) {
889
+ return Array.isArray(e) && e.length === 2 && e.every(Number.isFinite) || typeof e == "string" && /^\d{1,1000} {0,1}\/ {0,1}\d{1,1000}$/.test(e);
741
890
  }
742
- function getRatioString(ratio) {
743
- return Array.isArray(ratio) ? ratio.join("/") : ratio;
891
+ function xt(e) {
892
+ return Array.isArray(e) ? e.join("/") : e;
744
893
  }
745
- function getSafeRatio(ratio) {
746
- const isRatio = checkIsRatio(ratio);
747
- return isRatio ? getRatioString(ratio) : void 0;
894
+ function wt(e) {
895
+ return yt(e) ? xt(e) : void 0;
748
896
  }
749
- function Frame(props) {
750
- const propsStyle = () => {
751
- var _a;
752
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
753
- (str, [key, value]) => str + `${key}:${value};`,
897
+ function Rt(e) {
898
+ const t = () => {
899
+ var r;
900
+ return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
901
+ (a, [l, c]) => a + `${l}:${c};`,
754
902
  ""
755
903
  );
756
- };
757
- const maybeRatioAssesor = () => getSafeRatio(props.ratio);
758
- const ratio = () => maybeRatioAssesor() ? `--ratio: ${maybeRatioAssesor()}` : "";
759
- const position = () => typeof props.position === "string" ? `--position: ${props.position}` : "50%";
760
- const style2 = () => [propsStyle(), ratio(), position()].join("; ");
761
- return createDynamic(
904
+ }, n = () => wt(e.ratio), i = () => n() ? `--ratio: ${n()}` : "", s = () => typeof e.position == "string" ? `--position: ${e.position}` : "50%", o = () => [t(), i(), s()].join("; ");
905
+ return u(
762
906
  () => {
763
- var _a;
764
- return (_a = props.as) != null ? _a : "div";
907
+ var r;
908
+ return (r = e.as) != null ? r : "div";
765
909
  },
766
- mergeProps(
767
- omitProps(props, ["as", "ratio", "position"]),
768
- createPropsFromAccessors({
769
- style: style2,
910
+ g(
911
+ m(e, ["as", "ratio", "position"]),
912
+ p({
913
+ style: o,
770
914
  "data-bedrock-frame": () => ""
771
915
  })
772
916
  )
773
917
  );
774
918
  }
775
- function Grid(props) {
776
- const theme = useTheme();
777
- const propsStyle = () => {
778
- var _a;
779
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
780
- (str, [key, value]) => str + `${key}:${value};`,
919
+ function vt(e) {
920
+ const t = y(), n = () => {
921
+ var r;
922
+ return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
923
+ (a, [l, c]) => a + `${l}:${c};`,
781
924
  ""
782
925
  );
783
- };
784
- const gutter = () => {
785
- var _a, _b;
786
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
787
- };
788
- const minItemWidth = () => {
789
- var _a;
790
- return `--minItemWidth: ${typeof props.minItemWidth === "string" ? props.minItemWidth : `${(_a = props.minItemWidth) != null ? _a : 0}px`};`;
791
- };
792
- const style2 = () => [propsStyle(), gutter(), minItemWidth()].join("; ");
793
- return createDynamic(
926
+ }, i = () => {
927
+ var r, a;
928
+ return `--gutter: ${(a = b(t, (r = e.gutter) != null ? r : "size00")) != null ? a : "0px"};`;
929
+ }, s = () => {
930
+ var r;
931
+ return `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${(r = e.minItemWidth) != null ? r : 0}px`};`;
932
+ }, o = () => [n(), i(), s()].join("; ");
933
+ return u(
794
934
  () => {
795
- var _a;
796
- return (_a = props.as) != null ? _a : "div";
935
+ var r;
936
+ return (r = e.as) != null ? r : "div";
797
937
  },
798
- mergeProps(
799
- omitProps(props, ["as", "gutter", "minItemWidth"]),
800
- createPropsFromAccessors({
801
- style: style2,
938
+ g(
939
+ m(e, ["as", "gutter", "minItemWidth"]),
940
+ p({
941
+ style: o,
802
942
  "data-bedrock-grid": () => ""
803
943
  })
804
944
  )
805
945
  );
806
946
  }
807
- const PIXELS_PER_INCH = 96;
808
- function parseUnit(str) {
809
- var _a;
810
- str = String(str);
811
- const num = parseFloat(str);
812
- const [, unit] = (_a = str.match(/[\d.\-+]*\s*(.*)/)) != null ? _a : ["", ""];
813
- return [num, unit];
947
+ const k = 96;
948
+ function ae(e) {
949
+ var i;
950
+ e = String(e);
951
+ const t = parseFloat(e), [, n] = (i = e.match(/[\d.\-+]*\s*(.*)/)) != null ? i : ["", ""];
952
+ return [t, n];
814
953
  }
815
- function toPX(str, element) {
816
- if (!str)
817
- return void 0;
818
- const elementOrBody = element != null ? element : document.body;
819
- const safeStr = (str != null ? str : "px").trim().toLowerCase();
820
- switch (safeStr) {
954
+ function N(e, t) {
955
+ if (!e)
956
+ return;
957
+ const n = t != null ? t : document.body, i = (e != null ? e : "px").trim().toLowerCase();
958
+ switch (i) {
821
959
  case "vmin":
822
960
  case "vmax":
823
961
  case "vh":
824
962
  case "vw":
825
963
  case "%":
826
- return void 0;
964
+ return;
827
965
  case "ch":
828
966
  case "ex":
829
- return getSizeBrutal(safeStr, elementOrBody);
967
+ return zt(i, n);
830
968
  case "em":
831
- return getPropertyInPX(elementOrBody, "font-size");
969
+ return P(n, "font-size");
832
970
  case "rem":
833
- return getPropertyInPX(document.body, "font-size");
971
+ return P(document.body, "font-size");
834
972
  case "in":
835
- return PIXELS_PER_INCH;
973
+ return k;
836
974
  case "cm":
837
- return PIXELS_PER_INCH / 2.54;
975
+ return k / 2.54;
838
976
  case "mm":
839
- return PIXELS_PER_INCH / 25.4;
977
+ return k / 25.4;
840
978
  case "pt":
841
- return PIXELS_PER_INCH / 72;
979
+ return k / 72;
842
980
  case "pc":
843
- return PIXELS_PER_INCH / 6;
981
+ return k / 6;
844
982
  case "px":
845
983
  return 1;
846
984
  default: {
847
- const [value, units] = parseUnit(safeStr);
848
- if (isNaN(value))
849
- return void 0;
850
- if (!units)
851
- return value;
852
- const px = toPX(units, element);
853
- return typeof px === "number" ? value * px : void 0;
985
+ const [s, o] = ae(i);
986
+ if (isNaN(s))
987
+ return;
988
+ if (!o)
989
+ return s;
990
+ const r = N(o, t);
991
+ return typeof r == "number" ? s * r : void 0;
854
992
  }
855
993
  }
856
994
  }
857
- function getPropertyInPX(element, prop) {
858
- var _a;
859
- const [value, units] = parseUnit(
860
- getComputedStyle(element).getPropertyValue(prop)
995
+ function P(e, t) {
996
+ var s;
997
+ const [n, i] = ae(
998
+ getComputedStyle(e).getPropertyValue(t)
861
999
  );
862
- return value * ((_a = toPX(units, element)) != null ? _a : 1);
1000
+ return n * ((s = N(i, e)) != null ? s : 1);
863
1001
  }
864
- function getSizeBrutal(unit, element) {
865
- const testDIV = document.createElement("div");
866
- testDIV.style["height"] = "128" + unit;
867
- element.appendChild(testDIV);
868
- const size = getPropertyInPX(testDIV, "height") / 128;
869
- element.removeChild(testDIV);
870
- return size;
1002
+ function zt(e, t) {
1003
+ const n = document.createElement("div");
1004
+ n.style.height = "128" + e, t.appendChild(n);
1005
+ const i = P(n, "height") / 128;
1006
+ return t.removeChild(n), i;
871
1007
  }
872
- const MIN_HEIGHT = 1;
873
- const isBrowser = typeof window === "object" && typeof document === "object" && document.nodeType === 9;
874
- const Resizer = (props) => {
875
- const [rowSpan, setRowSpan] = createSignal(1);
876
- const [node, nodeRef] = createSignal();
877
- const theme = useTheme();
878
- onMount(() => {
879
- init();
880
- });
881
- createEffect(() => {
882
- const ref = convertToMaybe(node());
883
- if (ref === void 0)
1008
+ const T = 1, kt = typeof window == "object" && typeof document == "object" && document.nodeType === 9, Ct = (e) => {
1009
+ const [t, n] = $(1), [i, s] = $(), o = y();
1010
+ return V(() => {
1011
+ Q();
1012
+ }), _(() => {
1013
+ const r = A(i());
1014
+ if (r === void 0)
884
1015
  return;
885
- const cleanup = registerCallback(ref, ({ target }) => {
886
- var _a;
887
- setRowSpan(1);
888
- const gapString = props.gutter ? (_a = getSpacingValue(props.gutter, theme)) != null ? _a : "1px" : "1px";
889
- const maybeGap = isBrowser ? toPX(gapString, target) : void 0;
890
- const gap = Math.max(maybeGap != null ? maybeGap : MIN_HEIGHT, MIN_HEIGHT);
891
- const [child] = Array.from(target.children);
892
- const height = 1 + Math.min(target.scrollHeight, child.scrollHeight);
893
- const rowHeight = Math.max(Math.ceil(height / gap), MIN_HEIGHT);
894
- setRowSpan(rowHeight);
1016
+ const a = J(r, ({ target: l }) => {
1017
+ var L;
1018
+ n(1);
1019
+ const c = e.gutter && (L = b(o, e.gutter)) != null ? L : "1px", d = kt ? N(c, l) : void 0, f = Math.max(d != null ? d : T, T), [x] = Array.from(l.children), w = 1 + Math.min(l.scrollHeight, x.scrollHeight), z = Math.max(Math.ceil(w / f), T);
1020
+ n(z);
895
1021
  });
896
- onCleanup(cleanup);
897
- });
898
- return /* @__PURE__ */ React.createElement("div", {
899
- style: `grid-row: span ${rowSpan()};`,
900
- ref: nodeRef
901
- }, props.children);
902
- };
903
- const MasonryGrid = (props) => {
904
- const childrenMemo = children(() => props.children);
905
- const emptyResolvedChildren = [];
906
- const wrappedChildren = emptyResolvedChildren.concat(childrenMemo()).filter(Boolean).map((child) => /* @__PURE__ */ React.createElement(Resizer, {
907
- gutter: props.gutter
908
- }, child));
909
- return /* @__PURE__ */ React.createElement(Grid, {
910
- style: "grid-template-rows: 1px;",
911
- ...props
912
- }, wrappedChildren);
913
- };
914
- const justifyMap$1 = {
1022
+ U(a);
1023
+ }), /* @__PURE__ */ React.createElement("div", { style: `grid-row: span ${t()};`, ref: s }, e.children);
1024
+ }, Dt = (e) => {
1025
+ const t = le(() => e.children), i = [].concat(t()).filter(Boolean).map((s) => /* @__PURE__ */ React.createElement(Ct, { gutter: e.gutter }, s));
1026
+ return /* @__PURE__ */ React.createElement(vt, { style: "grid-template-rows: 1px;", ...e }, i);
1027
+ }, jt = {
915
1028
  start: "justify:start",
916
1029
  end: "justify:end",
917
1030
  center: "justify:center"
918
- };
919
- const alignMap$1 = {
1031
+ }, Et = {
920
1032
  start: "align:start",
921
1033
  end: "align:end",
922
1034
  center: "align:center",
923
1035
  stretch: "align:stretch"
924
1036
  };
925
- function InlineCluster(props) {
926
- const theme = useTheme();
927
- const propsStyle = () => {
928
- var _a;
929
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
930
- (str, [key, value]) => str + `${key}:${value};`,
1037
+ function qt(e) {
1038
+ const t = y(), n = () => {
1039
+ var l;
1040
+ return typeof e.style == "string" ? e.style : Object.entries((l = e.style) != null ? l : {}).reduce(
1041
+ (c, [d, f]) => c + `${d}:${f};`,
931
1042
  ""
932
1043
  );
933
- };
934
- const gutter = () => {
935
- var _a, _b;
936
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
937
- };
938
- const justify = () => props.justify !== void 0 ? justifyMap$1[props.justify] : void 0;
939
- const align = () => props.align !== void 0 ? alignMap$1[props.align] : void 0;
940
- const style2 = () => [propsStyle(), gutter()].join("; ");
941
- const attrAssesor = () => [justify(), align()].filter(Boolean).join(" ");
942
- return createDynamic(
1044
+ }, i = () => {
1045
+ var l, c;
1046
+ return `--gutter: ${(c = b(t, (l = e.gutter) != null ? l : "size00")) != null ? c : "0px"};`;
1047
+ }, s = () => e.justify !== void 0 ? jt[e.justify] : void 0, o = () => e.align !== void 0 ? Et[e.align] : void 0, r = () => [n(), i()].join("; "), a = () => [s(), o()].filter(Boolean).join(" ");
1048
+ return u(
943
1049
  () => {
944
- var _a;
945
- return (_a = props.as) != null ? _a : "div";
1050
+ var l;
1051
+ return (l = e.as) != null ? l : "div";
946
1052
  },
947
- mergeProps(
948
- omitProps(props, ["as", "gutter", "justify", "align"]),
949
- createPropsFromAccessors({
950
- style: style2,
951
- "data-bedrock-inline-cluster": attrAssesor
1053
+ g(
1054
+ m(e, ["as", "gutter", "justify", "align"]),
1055
+ p({
1056
+ style: r,
1057
+ "data-bedrock-inline-cluster": a
952
1058
  })
953
1059
  )
954
1060
  );
955
1061
  }
956
- const justifyMap = {
1062
+ const $t = {
957
1063
  start: "justify:start",
958
1064
  end: "justify:end",
959
1065
  center: "justify:center"
960
- };
961
- const alignMap = {
1066
+ }, St = {
962
1067
  start: "align:start",
963
1068
  end: "align:end",
964
1069
  center: "align:center",
965
1070
  stretch: "align:stretch"
966
1071
  };
967
- function shouldUseSwitch(switchAt) {
968
- if (typeof switchAt === "number" && switchAt > -1) {
969
- return true;
970
- }
971
- if (typeof switchAt === "string" && typeof CSS !== void 0) {
972
- return CSS.supports(`height: ${switchAt}`);
973
- }
974
- return false;
975
- }
976
- function Inline(props) {
977
- const theme = useTheme();
978
- const propsStyle = () => {
979
- var _a;
980
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
981
- (str, [key, value]) => str + `${key}:${value};`,
1072
+ function Xt(e) {
1073
+ const t = y(), n = () => {
1074
+ var f;
1075
+ return typeof e.style == "string" ? e.style : Object.entries((f = e.style) != null ? f : {}).reduce(
1076
+ (x, [w, z]) => x + `${w}:${z};`,
982
1077
  ""
983
1078
  );
984
- };
985
- const gutter = () => {
986
- var _a, _b;
987
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
988
- };
989
- const minItemWidth = () => props.minItemWidth ? `--minItemWidth: ${typeof props.minItemWidth === "string" ? props.minItemWidth : `${props.minItemWidth}px`};` : void 0;
990
- const switchAt = () => shouldUseSwitch(props.switchAt) ? `--switchAt: ${typeof props.switchAt === "string" ? props.switchAt : `${props.switchAt}px`};` : void 0;
991
- const justify = () => props.justify !== void 0 ? justifyMap[props.justify] : void 0;
992
- const align = () => props.align !== void 0 ? alignMap[props.align] : void 0;
993
- const stretch = () => props.stretch ? `stretch:${props.stretch}` : void 0;
994
- const style2 = () => [propsStyle(), gutter(), switchAt(), minItemWidth()].join("; ");
995
- const attrAssesor = () => [justify(), align(), stretch()].filter(Boolean).join(" ");
996
- return createDynamic(
1079
+ }, i = () => {
1080
+ var f, x;
1081
+ return `--gutter: ${(x = b(t, (f = e.gutter) != null ? f : "size00")) != null ? x : "0px"};`;
1082
+ }, s = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, o = () => {
1083
+ var f;
1084
+ return e.switchAt ? `--switchAt: ${(f = O(t, e.switchAt)) != null ? f : "0px"};` : "";
1085
+ }, r = () => e.justify !== void 0 ? $t[e.justify] : void 0, a = () => e.align !== void 0 ? St[e.align] : void 0, l = () => e.stretch ? `stretch:${e.stretch}` : void 0, c = () => [n(), i(), o(), s()].join("; "), d = () => [r(), a(), l()].filter(Boolean).join(" ");
1086
+ return u(
997
1087
  () => {
998
- var _a;
999
- return (_a = props.as) != null ? _a : "div";
1088
+ var f;
1089
+ return (f = e.as) != null ? f : "div";
1000
1090
  },
1001
- mergeProps(
1002
- omitProps(props, [
1091
+ g(
1092
+ m(e, [
1003
1093
  "as",
1004
1094
  "gutter",
1005
1095
  "justify",
@@ -1007,341 +1097,264 @@ function Inline(props) {
1007
1097
  "stretch",
1008
1098
  "switchAt"
1009
1099
  ]),
1010
- createPropsFromAccessors({
1011
- style: style2,
1012
- "data-bedrock-inline": attrAssesor
1100
+ p({
1101
+ style: c,
1102
+ "data-bedrock-inline": d
1013
1103
  })
1014
1104
  )
1015
1105
  );
1016
1106
  }
1017
- const validKeys = /* @__PURE__ */ new Set([
1018
- "left",
1019
- "right",
1020
- "top",
1021
- "bottom",
1022
- "inlineStart",
1023
- "inlineEnd",
1024
- "blockStart",
1025
- "blockEnd"
1026
- ]);
1027
- const keyToProperty = (key, val) => {
1028
- const modernMap = {
1029
- left: `padding-inline-start:${val};`,
1030
- right: `padding-inline-end:${val};`,
1031
- top: `padding-block-start:${val};`,
1032
- bottom: `padding-block-end:${val};`,
1033
- inlineStart: `padding-inline-start:${val};`,
1034
- inlineEnd: `padding-inline-end:${val};`,
1035
- blockStart: `padding-block-start:${val};`,
1036
- blockEnd: `padding-block-end:${val};`
1037
- };
1038
- return modernMap[key];
1039
- };
1040
- function paddingOrDefault(theme) {
1041
- return (key) => {
1042
- const maybePadding = getSpacingValue(key, theme);
1043
- return maybePadding != null ? maybePadding : "0px";
1044
- };
1045
- }
1046
- function paddingToString(theme, padding) {
1047
- var _a;
1048
- if (Array.isArray(padding) && padding.length > 4) {
1107
+ const At = (e) => ({
1108
+ left: "padding-inline-start",
1109
+ right: "padding-inline-end",
1110
+ top: "padding-block-start",
1111
+ bottom: "padding-block-end",
1112
+ inlineStart: "padding-inline-start",
1113
+ inlineEnd: "padding-inline-end",
1114
+ blockStart: "padding-block-start",
1115
+ blockEnd: "padding-block-end"
1116
+ })[e], Ot = (e, t) => {
1117
+ if (Array.isArray(t) && t.length > 4)
1049
1118
  throw new Error("padding arrays can only be 4 or less in length");
1050
- }
1051
- const validSpacings = new Set(Object.keys((_a = theme == null ? void 0 : theme.spacing) != null ? _a : spacing));
1052
- const isValidPadding = () => {
1053
- if (typeof padding === "string")
1054
- return true;
1055
- if (Array.isArray(padding)) {
1056
- return padding.every((val) => validSpacings.has(val));
1057
- }
1058
- return padding && Object.keys(padding).every((key) => validKeys.has(key)) && Object.values(padding).every((val) => validSpacings.has(val));
1119
+ const n = typeof t == "object" && !Array.isArray(t) ? Object.entries(t).reduce(
1120
+ (i, [s, o]) => {
1121
+ var r;
1122
+ return {
1123
+ ...i,
1124
+ [At(s)]: (r = H(e, o)) != null ? r : "0px"
1125
+ };
1126
+ },
1127
+ {}
1128
+ ) : {
1129
+ padding: Array.from(Array.isArray(t) ? t : [t]).map((i) => {
1130
+ var s;
1131
+ return (s = H(e, i)) != null ? s : "0px";
1132
+ }).join(" ")
1059
1133
  };
1060
- if (!isValidPadding()) {
1061
- console.error("Invalid padding Type");
1062
- }
1063
- const getPadding = paddingOrDefault(theme);
1064
- return typeof padding === "object" && !Array.isArray(padding) ? Object.entries(padding).reduce(
1065
- (acc, [key, val]) => validKeys.has(key) ? acc + keyToProperty(key, getPadding(val)) : acc,
1066
- ""
1067
- ) : padding !== void 0 ? `padding: ${Array.from(Array.isArray(padding) ? padding : [padding]).map((pad) => getPadding(pad)).join(" ")};` : "";
1068
- }
1069
- function PadBox(props) {
1070
- const theme = useTheme();
1071
- const propsStyle = () => {
1072
- var _a;
1073
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1074
- (str, [key, value]) => str + `${key}:${value};`,
1134
+ return Object.entries(n).reduce((i, [s, o]) => i + `${s}:${o};`, "");
1135
+ };
1136
+ function Ht(e) {
1137
+ const t = y(), n = () => {
1138
+ var o;
1139
+ return typeof e.style == "string" ? e.style : Object.entries((o = e.style) != null ? o : {}).reduce(
1140
+ (r, [a, l]) => r + `${a}:${l};`,
1075
1141
  ""
1076
1142
  );
1077
- };
1078
- const padding = () => paddingToString(theme, props.padding);
1079
- const style2 = () => [propsStyle(), padding()].join("; ");
1080
- return createDynamic(
1143
+ }, i = () => Ot(t, e.padding), s = () => [n(), i()].join("; ");
1144
+ return u(
1081
1145
  () => {
1082
- var _a;
1083
- return (_a = props.as) != null ? _a : "div";
1146
+ var o;
1147
+ return (o = e.as) != null ? o : "div";
1084
1148
  },
1085
- mergeProps(
1086
- omitProps(props, ["as", "padding"]),
1087
- createPropsFromAccessors({
1088
- style: style2,
1149
+ g(
1150
+ m(e, ["as", "padding"]),
1151
+ p({
1152
+ style: s,
1089
1153
  "data-bedrock-padbox": () => ""
1090
1154
  })
1091
1155
  )
1092
1156
  );
1093
1157
  }
1094
- function Reel(props) {
1095
- const theme = useTheme();
1096
- const propsStyle = () => {
1097
- var _a;
1098
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1099
- (str, [key, value]) => str + `${key}:${value};`,
1158
+ function Yt(e) {
1159
+ const t = y(), n = () => {
1160
+ var r;
1161
+ return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
1162
+ (a, [l, c]) => a + `${l}:${c};`,
1100
1163
  ""
1101
1164
  );
1102
- };
1103
- const gutter = () => {
1104
- var _a, _b;
1105
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
1106
- };
1107
- const snapType = () => {
1108
- switch (props.snapType) {
1109
- case "none": {
1165
+ }, i = () => {
1166
+ var r, a;
1167
+ return `--gutter: ${(a = b(t, (r = e.gutter) != null ? r : "size00")) != null ? a : "0px"};`;
1168
+ }, s = () => {
1169
+ switch (e.snapType) {
1170
+ case "none":
1110
1171
  return "snapType:none";
1111
- }
1112
- case "proximity": {
1172
+ case "proximity":
1113
1173
  return "snapType:proximity";
1114
- }
1115
- case "mandatory": {
1174
+ case "mandatory":
1116
1175
  return "snapType:mandatory";
1117
- }
1118
- default: {
1176
+ default:
1119
1177
  return "snapType:none";
1120
- }
1121
1178
  }
1122
- };
1123
- const style2 = () => [propsStyle(), gutter()].join("; ");
1124
- return createDynamic(
1179
+ }, o = () => [n(), i()].join("; ");
1180
+ return u(
1125
1181
  () => {
1126
- var _a;
1127
- return (_a = props.as) != null ? _a : "div";
1182
+ var r;
1183
+ return (r = e.as) != null ? r : "div";
1128
1184
  },
1129
- mergeProps(
1130
- omitProps(props, ["as", "gutter"]),
1131
- createPropsFromAccessors({ style: style2, "data-bedrock-reel": snapType })
1185
+ g(
1186
+ m(e, ["as", "gutter"]),
1187
+ p({ style: o, "data-bedrock-reel": s })
1132
1188
  )
1133
1189
  );
1134
1190
  }
1135
- function Stack(props) {
1136
- const theme = useTheme();
1137
- const propsStyle = () => {
1138
- var _a;
1139
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1140
- (str, [key, value]) => str + `${key}:${value};`,
1141
- ""
1142
- );
1143
- };
1144
- const gutter = () => {
1145
- var _a, _b;
1146
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
1147
- };
1148
- const style2 = () => [propsStyle(), gutter()].join("; ");
1149
- return createDynamic(
1150
- () => {
1151
- var _a;
1152
- return (_a = props.as) != null ? _a : "div";
1153
- },
1154
- mergeProps(
1155
- omitProps(props, ["as", "gutter"]),
1156
- createPropsFromAccessors({ style: style2, "data-bedrock-stack": () => "" })
1157
- )
1158
- );
1159
- }
1160
- const fractions = {
1191
+ const Y = {
1161
1192
  "1/4": "fraction:1/4",
1162
1193
  "1/3": "fraction:1/3",
1163
1194
  "1/2": "fraction:1/2",
1164
1195
  "2/3": "fraction:2/3",
1165
1196
  "3/4": "fraction:3/4",
1166
- "auto-start": `fraction:auto-start`,
1167
- "auto-end": `fraction:auto-end`
1197
+ "auto-start": "fraction:auto-start",
1198
+ "auto-end": "fraction:auto-end"
1168
1199
  };
1169
- function SplitBase(props) {
1170
- const theme = useTheme();
1171
- const propsStyle = () => {
1172
- var _a;
1173
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1174
- (str, [key, value]) => str + `${key}:${value};`,
1200
+ function Gt(e) {
1201
+ const t = y(), n = () => {
1202
+ var l;
1203
+ return typeof e.style == "string" ? e.style : Object.entries((l = e.style) != null ? l : {}).reduce(
1204
+ (c, [d, f]) => c + `${d}:${f};`,
1175
1205
  ""
1176
1206
  );
1177
- };
1178
- const gutter = () => {
1179
- var _a, _b;
1180
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
1181
- };
1182
- const fraction = () => {
1183
- var _a, _b;
1184
- return (_b = fractions[(_a = props.fraction) != null ? _a : "1/2"]) != null ? _b : fractions["1/2"];
1185
- };
1186
- const style2 = () => [propsStyle(), gutter()].join("; ");
1187
- return createDynamic(
1207
+ }, i = () => {
1208
+ var l;
1209
+ return e.switchAt ? `--switchAt: ${(l = O(t, e.switchAt)) != null ? l : "0px"};` : "";
1210
+ }, s = () => {
1211
+ var l, c;
1212
+ return `--gutter: ${(c = b(t, (l = e.gutter) != null ? l : "size00")) != null ? c : "0px"};`;
1213
+ }, o = () => {
1214
+ var l, c;
1215
+ return (c = Y[(l = e.fraction) != null ? l : "1/2"]) != null ? c : Y["1/2"];
1216
+ }, r = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, a = () => [n(), s(), i(), r()].join("; ");
1217
+ return u(
1188
1218
  () => {
1189
- var _a;
1190
- return (_a = props.as) != null ? _a : "div";
1219
+ var l;
1220
+ return (l = e.as) != null ? l : "div";
1191
1221
  },
1192
- mergeProps(
1193
- omitProps(props, ["as", "gutter", "fraction"]),
1194
- createPropsFromAccessors({
1195
- style: style2,
1196
- "data-bedrock-split": fraction
1222
+ g(
1223
+ m(e, ["as", "gutter", "fraction"]),
1224
+ p({
1225
+ style: a,
1226
+ "data-bedrock-split": o
1197
1227
  })
1198
1228
  )
1199
1229
  );
1200
1230
  }
1201
- const Split = (props) => {
1202
- const [local, rest] = splitProps(props, ["switchAt", "fraction"]);
1203
- const maybePx = typeof local.switchAt === "string" ? toPX(local.switchAt) : local.switchAt;
1204
- const widthToSwitchAt = Math.max(maybePx != null ? maybePx : 0, 0);
1205
- const [shouldSwitch, nodeRef] = createContainerQuery(
1206
- widthToSwitchAt,
1207
- props.ref
1231
+ function Vt(e) {
1232
+ const t = y(), n = () => {
1233
+ var o;
1234
+ return typeof e.style == "string" ? e.style : Object.entries((o = e.style) != null ? o : {}).reduce(
1235
+ (r, [a, l]) => r + `${a}:${l};`,
1236
+ ""
1237
+ );
1238
+ }, i = () => {
1239
+ var o, r;
1240
+ return `--gutter: ${(r = b(t, (o = e.gutter) != null ? o : "size00")) != null ? r : "0px"};`;
1241
+ }, s = () => [n(), i()].join("; ");
1242
+ return u(
1243
+ () => {
1244
+ var o;
1245
+ return (o = e.as) != null ? o : "div";
1246
+ },
1247
+ g(
1248
+ m(e, ["as", "gutter"]),
1249
+ p({ style: s, "data-bedrock-stack": () => "" })
1250
+ )
1208
1251
  );
1209
- return /* @__PURE__ */ React.createElement(Switch, null, /* @__PURE__ */ React.createElement(Match, {
1210
- when: shouldSwitch() === false
1211
- }, /* @__PURE__ */ React.createElement(SplitBase, {
1212
- fraction: local.fraction,
1213
- ...rest,
1214
- ref: nodeRef
1215
- })), /* @__PURE__ */ React.createElement(Match, {
1216
- when: shouldSwitch() === true
1217
- }, /* @__PURE__ */ React.createElement(Stack, {
1218
- ...rest,
1219
- ref: nodeRef
1220
- })));
1221
- };
1222
- function getSafeMinHeight(minHeight) {
1223
- if (typeof minHeight === "number")
1224
- return `${minHeight}px`;
1225
- return minHeight && checkIsCSSLength(minHeight) ? minHeight : "100vh";
1226
1252
  }
1227
- function CoverWrapper(props) {
1228
- const theme = useTheme();
1229
- const propsStyle = () => {
1230
- var _a;
1231
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1232
- (str, [key, value]) => str + `${key}:${value};`,
1253
+ function Mt(e) {
1254
+ return typeof e == "number" ? `${e}px` : e && F(e) ? e : "100vh";
1255
+ }
1256
+ function Tt(e) {
1257
+ const t = y(), n = () => {
1258
+ var a;
1259
+ return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
1260
+ (l, [c, d]) => l + `${c}:${d};`,
1233
1261
  ""
1234
1262
  );
1235
- };
1236
- const gutter = () => {
1237
- var _a, _b;
1238
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
1239
- };
1240
- const minHeight = () => `--minHeight: ${getSafeMinHeight(props.minHeight)};`;
1241
- const stretchContent = () => props.stretchContent === true ? "stretch-content" : "";
1242
- const style2 = () => [propsStyle(), gutter(), minHeight()].join("; ");
1243
- return createDynamic(
1263
+ }, i = () => {
1264
+ var a, l;
1265
+ return `--gutter: ${(l = b(t, (a = e.gutter) != null ? a : "size00")) != null ? l : "0px"};`;
1266
+ }, s = () => `--minHeight: ${Mt(e.minHeight)};`, o = () => e.stretchContent === !0 ? "stretch-content" : "", r = () => [n(), i(), s()].join("; ");
1267
+ return u(
1244
1268
  () => {
1245
- var _a;
1246
- return (_a = props.as) != null ? _a : "div";
1269
+ var a;
1270
+ return (a = e.as) != null ? a : "div";
1247
1271
  },
1248
- mergeProps(
1249
- omitProps(props, ["as", "minHeight", "stretchContent"]),
1250
- createPropsFromAccessors({
1251
- style: style2,
1252
- "data-bedrock-cover": stretchContent
1272
+ g(
1273
+ m(e, ["as", "minHeight", "stretchContent"]),
1274
+ p({
1275
+ style: r,
1276
+ "data-bedrock-cover": o
1253
1277
  })
1254
1278
  )
1255
1279
  );
1256
1280
  }
1257
- const Cover = (props) => {
1258
- return /* @__PURE__ */ React.createElement(CoverWrapper, {
1259
- ...props
1260
- }, props.top, /* @__PURE__ */ React.createElement("div", {
1261
- "data-bedrock-cover-centered": true
1262
- }, props.children), props.bottom);
1263
- };
1264
- function ColumnsBase(props) {
1265
- const theme = useTheme();
1266
- const propsStyle = () => {
1267
- var _a;
1268
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1269
- (str, [key, value]) => str + `${key}:${value};`,
1281
+ function _t(e) {
1282
+ const [t, n] = G(e, ["children", "top", "bottom"]);
1283
+ return /* @__PURE__ */ React.createElement(Tt, { ...n }, t.top, /* @__PURE__ */ React.createElement("div", { "data-bedrock-cover-centered": !0 }, t.children), t.bottom);
1284
+ }
1285
+ function Ut(e) {
1286
+ const t = y(), n = () => {
1287
+ var a;
1288
+ return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
1289
+ (l, [c, d]) => l + `${c}:${d};`,
1270
1290
  ""
1271
1291
  );
1272
- };
1273
- const gutter = () => {
1274
- var _a, _b;
1275
- return `--gutter: ${(_b = getSpacingValue((_a = props.gutter) != null ? _a : "none", theme)) != null ? _b : "0px"};`;
1276
- };
1277
- const columns = () => `--columns: ${props.columns && props.columns > 0 ? props.columns : 1};`;
1278
- const dense = () => props.dense ? "dense" : "";
1279
- const style2 = () => [propsStyle(), gutter(), columns()].join("; ");
1280
- return createDynamic(
1292
+ }, i = () => {
1293
+ var a, l;
1294
+ return `--gutter: ${(l = b(t, (a = e.gutter) != null ? a : "size00")) != null ? l : "0px"};`;
1295
+ }, s = () => `--columns: ${e.columns && e.columns > 0 ? e.columns : 1};`, o = () => {
1296
+ var a;
1297
+ return e.switchAt ? `--switchAt: ${(a = O(t, e.switchAt)) != null ? a : "0px"};` : "";
1298
+ }, r = () => [n(), i(), s(), o()].join("; ");
1299
+ return u(
1281
1300
  () => {
1282
- var _a;
1283
- return (_a = props.as) != null ? _a : "div";
1301
+ var a;
1302
+ return (a = e.as) != null ? a : "div";
1284
1303
  },
1285
- mergeProps(
1286
- omitProps(props, ["as", "gutter", "columns", "dense"]),
1287
- createPropsFromAccessors({
1288
- style: style2,
1289
- "data-bedrock-columns": dense
1304
+ g(
1305
+ m(e, ["as", "gutter", "columns", "switchAt"]),
1306
+ p({
1307
+ style: r,
1308
+ "data-bedrock-columns": () => ""
1290
1309
  })
1291
1310
  )
1292
1311
  );
1293
1312
  }
1294
- const Columns = (props) => {
1295
- const [local, rest] = splitProps(props, ["switchAt", "columns", "dense"]);
1296
- const maybePx = typeof local.switchAt === "string" ? toPX(local.switchAt) : local.switchAt;
1297
- const widthToSwitchAt = Math.max(maybePx != null ? maybePx : 0, 0);
1298
- const [shouldSwitch, nodeRef] = createContainerQuery(widthToSwitchAt);
1299
- const combineRef = (ref) => {
1300
- var _a;
1301
- nodeRef(ref);
1302
- (_a = rest.ref) == null ? void 0 : _a.call(rest, ref);
1303
- };
1304
- return /* @__PURE__ */ React.createElement(Switch, null, /* @__PURE__ */ React.createElement(Match, {
1305
- when: shouldSwitch() === false
1306
- }, /* @__PURE__ */ React.createElement(ColumnsBase, {
1307
- columns: local.columns,
1308
- dense: local.dense,
1309
- ...rest,
1310
- ref: combineRef
1311
- })), /* @__PURE__ */ React.createElement(Match, {
1312
- when: shouldSwitch() === true
1313
- }, /* @__PURE__ */ React.createElement(Stack, {
1314
- ...rest,
1315
- ref: combineRef
1316
- })));
1317
- };
1318
- const safeSpan = (span) => {
1319
- return typeof span === "number" ? span : 1;
1320
- };
1321
- function Column(props) {
1322
- const propsStyle = () => {
1323
- var _a;
1324
- return typeof props.style === "string" ? props.style : Object.entries((_a = props.style) != null ? _a : {}).reduce(
1325
- (str, [key, value]) => str + `${key}:${value};`,
1313
+ const It = (e) => typeof e == "number" ? e : 1;
1314
+ function Qt(e) {
1315
+ const t = () => {
1316
+ var r;
1317
+ return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
1318
+ (a, [l, c]) => a + `${l}:${c};`,
1326
1319
  ""
1327
1320
  );
1328
- };
1329
- const span = () => `--span: ${safeSpan(props.span)};`;
1330
- const offsetStart = () => props.offsetStart && props.offsetStart > 0 ? `--offsetStart: ${props.offsetStart};` : "";
1331
- const offsetEnd = () => props.offsetEnd && props.offsetEnd > 0 ? `--offsetEnd: ${props.offsetEnd};` : "";
1332
- const style2 = () => [propsStyle(), span(), offsetStart(), offsetEnd()].join("; ");
1333
- return createDynamic(
1321
+ }, n = () => `--span: ${It(e.span)};`, i = () => e.offsetStart && e.offsetStart > 0 ? `--offsetStart: ${e.offsetStart};` : "", s = () => e.offsetEnd && e.offsetEnd > 0 ? `--offsetEnd: ${e.offsetEnd};` : "", o = () => [t(), n(), i(), s()].join("; ");
1322
+ return u(
1334
1323
  () => {
1335
- var _a;
1336
- return (_a = props.as) != null ? _a : "div";
1324
+ var r;
1325
+ return (r = e.as) != null ? r : "div";
1337
1326
  },
1338
- mergeProps(
1339
- omitProps(props, ["as", "span", "offsetStart", "offsetEnd"]),
1340
- createPropsFromAccessors({
1341
- style: style2,
1327
+ g(
1328
+ m(e, ["as", "span", "offsetStart", "offsetEnd"]),
1329
+ p({
1330
+ style: o,
1342
1331
  "data-bedrock-column": () => ""
1343
1332
  })
1344
1333
  )
1345
1334
  );
1346
1335
  }
1347
- export { Center, Column, ColumnDrop, Columns, ColumnsBase, Cover, Frame, Grid, Inline, InlineCluster, MasonryGrid, PadBox, Reel, Split, SplitBase, Stack, ThemeProvider, checkIsCSSLength, createContainerQuery, getSpacingValue, spacing, useTheme };
1336
+ export {
1337
+ Nt as Center,
1338
+ Qt as Column,
1339
+ Bt as ColumnDrop,
1340
+ Ut as Columns,
1341
+ _t as Cover,
1342
+ Rt as Frame,
1343
+ vt as Grid,
1344
+ Xt as Inline,
1345
+ qt as InlineCluster,
1346
+ Dt as MasonryGrid,
1347
+ Ht as PadBox,
1348
+ Yt as Reel,
1349
+ Gt as Split,
1350
+ Vt as Stack,
1351
+ Lt as ThemeProvider,
1352
+ F as checkIsCSSLength,
1353
+ Wt as createContainerQuery,
1354
+ H as getSafeGutter,
1355
+ O as getSizeValue,
1356
+ b as getSpacingValue,
1357
+ mt as sizes,
1358
+ gt as spacing,
1359
+ y as useTheme
1360
+ };