@bedrock-layout/solid 1.1.0 → 1.1.3

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,259 +1,39 @@
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);
12
- }
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), {
1
+ import oe from "open-props";
2
+ import { createRenderEffect as A, sharedConfig as d, splitProps as X, createMemo as I, $DEVCOMP as re, untrack as v, createComponent as E, mergeProps as y, createContext as ce, useContext as le, createSignal as T, onMount as U, createEffect as q, onCleanup as Q, children as fe } from "solid-js";
3
+ import { init as Y, registerCallback as J } from "@bedrock-layout/register-resize-callback";
4
+ const ae = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], ue = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...ae]), de = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ye = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
247
5
  className: "class",
248
6
  htmlFor: "for"
249
- }), W = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
7
+ }), me = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
250
8
  class: "className",
251
- formnovalidate: "formNoValidate",
252
- ismap: "isMap",
253
- nomodule: "noModule",
254
- playsinline: "playsInline",
255
- readonly: "readOnly"
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([
9
+ formnovalidate: {
10
+ $: "formNoValidate",
11
+ BUTTON: 1,
12
+ INPUT: 1
13
+ },
14
+ ismap: {
15
+ $: "isMap",
16
+ IMG: 1
17
+ },
18
+ nomodule: {
19
+ $: "noModule",
20
+ SCRIPT: 1
21
+ },
22
+ playsinline: {
23
+ $: "playsInline",
24
+ VIDEO: 1
25
+ },
26
+ readonly: {
27
+ $: "readOnly",
28
+ INPUT: 1,
29
+ TEXTAREA: 1
30
+ }
31
+ });
32
+ function he(e, t) {
33
+ const n = me[e];
34
+ return typeof n == "object" ? n[t] ? n.$ : void 0 : n;
35
+ }
36
+ const ge = /* @__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([
257
37
  "altGlyph",
258
38
  "altGlyphDef",
259
39
  "altGlyphItem",
@@ -330,173 +110,196 @@ const he = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "con
330
110
  "use",
331
111
  "view",
332
112
  "vkern"
333
- ]), ye = {
113
+ ]), $e = {
334
114
  xlink: "http://www.w3.org/1999/xlink",
335
115
  xml: "http://www.w3.org/XML/1998/namespace"
336
116
  };
337
117
  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++;
118
+ let i = n.length, s = t.length, r = i, c = 0, o = 0, l = t[s - 1].nextSibling, f = null;
119
+ for (; c < s || o < r; ) {
120
+ if (t[c] === n[o]) {
121
+ c++, o++;
342
122
  continue;
343
123
  }
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];
124
+ for (; t[s - 1] === n[r - 1]; )
125
+ s--, r--;
126
+ if (s === c) {
127
+ const a = r < i ? o ? n[o - 1].nextSibling : n[r - o] : l;
128
+ for (; o < r; )
129
+ e.insertBefore(n[o++], a);
130
+ } else if (r === o)
131
+ for (; c < s; )
132
+ (!f || !f.has(t[c])) && t[c].remove(), c++;
133
+ else if (t[c] === n[r - 1] && n[o] === t[s - 1]) {
134
+ const a = t[--s].nextSibling;
135
+ e.insertBefore(n[o++], t[c++].nextSibling), e.insertBefore(n[--r], a), t[s] = n[r];
356
136
  } else {
357
- if (!c) {
358
- c = /* @__PURE__ */ new Map();
359
- let f = a;
360
- for (; f < o; )
361
- c.set(n[f], f++);
137
+ if (!f) {
138
+ f = /* @__PURE__ */ new Map();
139
+ let u = o;
140
+ for (; u < r; )
141
+ f.set(n[u], u++);
362
142
  }
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);
143
+ const a = f.get(t[c]);
144
+ if (a != null)
145
+ if (o < a && a < r) {
146
+ let u = c, b = 1, S;
147
+ for (; ++u < s && u < r && !((S = f.get(t[u])) == null || S !== a + b); )
148
+ b++;
149
+ if (b > a - o) {
150
+ const M = t[c];
151
+ for (; o < a; )
152
+ e.insertBefore(n[o++], M);
373
153
  } else
374
- e.replaceChild(n[a++], t[r++]);
154
+ e.replaceChild(n[o++], t[c++]);
375
155
  } else
376
- r++;
156
+ c++;
377
157
  else
378
- t[r++].remove();
158
+ t[c++].remove();
379
159
  }
380
160
  }
381
161
  }
382
162
  const R = "_$DX_DELEGATE";
383
- function we(e, t = window.document) {
163
+ function Z(e, t, n) {
164
+ let i;
165
+ const s = () => {
166
+ const c = document.createElement("template");
167
+ return c.innerHTML = e, n ? c.content.firstChild.firstChild : c.content.firstChild;
168
+ }, r = t ? () => v(() => document.importNode(i || (i = s()), !0)) : () => (i || (i = s())).cloneNode(!0);
169
+ return r.cloneNode = r, r;
170
+ }
171
+ function Se(e, t = window.document) {
384
172
  const n = t[R] || (t[R] = /* @__PURE__ */ new Set());
385
173
  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));
174
+ const r = e[i];
175
+ n.has(r) || (n.add(r), t.addEventListener(r, Me));
388
176
  }
389
177
  }
390
- function Z(e, t, n) {
178
+ function N(e, t, n) {
391
179
  n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
392
180
  }
393
- function ve(e, t, n, i) {
181
+ function Ae(e, t, n, i) {
394
182
  i == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, i);
395
183
  }
396
- function ze(e, t) {
184
+ function we(e, t) {
397
185
  t == null ? e.removeAttribute("class") : e.className = t;
398
186
  }
399
- function ke(e, t, n, i) {
187
+ function je(e, t, n, i) {
400
188
  if (i)
401
189
  Array.isArray(n) ? (e[`$$${t}`] = n[0], e[`$$${t}Data`] = n[1]) : e[`$$${t}`] = n;
402
190
  else if (Array.isArray(n)) {
403
191
  const s = n[0];
404
- e.addEventListener(t, n[0] = (o) => s.call(e, n[1], o));
192
+ e.addEventListener(t, n[0] = (r) => s.call(e, n[1], r));
405
193
  } else
406
194
  e.addEventListener(t, n);
407
195
  }
408
196
  function Ce(e, t, n = {}) {
409
197
  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]);
198
+ let r, c;
199
+ for (r = 0, c = s.length; r < c; r++) {
200
+ const o = s[r];
201
+ !o || o === "undefined" || t[o] || (H(e, o, !1), delete n[o]);
414
202
  }
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);
203
+ for (r = 0, c = i.length; r < c; r++) {
204
+ const o = i[r], l = !!t[o];
205
+ !o || o === "undefined" || n[o] === l || !l || (H(e, o, !0), n[o] = l);
418
206
  }
419
207
  return n;
420
208
  }
421
- function je(e, t, n) {
209
+ function K(e, t, n) {
422
210
  if (!t)
423
- return n ? Z(e, "style") : t;
211
+ return n ? N(e, "style") : t;
424
212
  const i = e.style;
425
213
  if (typeof t == "string")
426
214
  return i.cssText = t;
427
215
  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);
216
+ let s, r;
217
+ for (r in n)
218
+ t[r] == null && i.removeProperty(r), delete n[r];
219
+ for (r in t)
220
+ s = t[r], s !== n[r] && (i.setProperty(r, s), n[r] = s);
433
221
  return n;
434
222
  }
435
223
  function Ee(e, t = {}, n, i) {
436
224
  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;
225
+ return i || A(() => s.children = j(e, t.children, s.children)), A(() => t.ref && t.ref(e)), A(() => Te(e, t, n, !0, s, !0)), s;
226
+ }
227
+ function Ie(e, t, n) {
228
+ return v(() => e(t, n));
438
229
  }
439
- function $e(e, t, n, i, s = {}, o = !1) {
230
+ function p(e, t, n, i) {
231
+ if (n !== void 0 && !i && (i = []), typeof t != "function")
232
+ return j(e, t, i, n);
233
+ A((s) => j(e, t(), s, n), i);
234
+ }
235
+ function Te(e, t, n, i, s = {}, r = !1) {
440
236
  t || (t = {});
441
- for (const r in s)
442
- if (!(r in t)) {
443
- if (r === "children")
237
+ for (const c in s)
238
+ if (!(c in t)) {
239
+ if (c === "children")
444
240
  continue;
445
- s[r] = q(e, r, null, s[r], n, o);
241
+ s[c] = G(e, c, null, s[c], n, r);
446
242
  }
447
- for (const r in t) {
448
- if (r === "children") {
449
- i || S(e, t.children);
243
+ for (const c in t) {
244
+ if (c === "children") {
245
+ i || j(e, t.children);
450
246
  continue;
451
247
  }
452
- const a = t[r];
453
- s[r] = q(e, r, a, s[r], n, o);
248
+ const o = t[c];
249
+ s[c] = G(e, c, o, s[c], n, r);
454
250
  }
455
251
  }
456
- function Se(e) {
252
+ function Pe(e) {
457
253
  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);
254
+ if (!d.context || !(t = d.registry.get(n = ze()))) {
255
+ if (d.context && console.warn("Unable to find DOM nodes for hydration key:", n), !e)
256
+ throw new Error("Unrecoverable Hydration Mismatch. No template for key: " + n);
257
+ return e();
258
+ }
259
+ return d.completed && d.completed.add(t), d.registry.delete(n), t;
459
260
  }
460
- function Ae(e) {
261
+ function Oe(e) {
461
262
  return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
462
263
  }
463
- function D(e, t, n) {
264
+ function H(e, t, n) {
464
265
  const i = t.trim().split(/\s+/);
465
- for (let s = 0, o = i.length; s < o; s++)
266
+ for (let s = 0, r = i.length; s < r; s++)
466
267
  e.classList.toggle(i[s], n);
467
268
  }
468
- function q(e, t, n, i, s, o) {
469
- let r, a, l;
269
+ function G(e, t, n, i, s, r) {
270
+ let c, o, l, f, a;
470
271
  if (t === "style")
471
- return je(e, n, i);
272
+ return K(e, n, i);
472
273
  if (t === "classList")
473
274
  return Ce(e, n, i);
474
275
  if (n === i)
475
276
  return i;
476
277
  if (t === "ref")
477
- o || n(e);
278
+ r || n(e);
478
279
  else if (t.slice(0, 3) === "on:") {
479
- const c = t.slice(3);
480
- i && e.removeEventListener(c, i), n && e.addEventListener(c, n);
280
+ const u = t.slice(3);
281
+ i && e.removeEventListener(u, i), n && e.addEventListener(u, n);
481
282
  } 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);
283
+ const u = t.slice(10);
284
+ i && e.removeEventListener(u, i, !0), n && e.addEventListener(u, n, !0);
484
285
  } 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);
286
+ const u = t.slice(2).toLowerCase(), b = ge.has(u);
287
+ if (!b && i) {
288
+ const S = Array.isArray(i) ? i[0] : i;
289
+ e.removeEventListener(u, S);
489
290
  }
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;
291
+ (b || n) && (je(e, u, n, b), b && Se([u]));
292
+ } else if (t.slice(0, 5) === "attr:")
293
+ N(e, t.slice(5), n);
294
+ else if ((a = t.slice(0, 5) === "prop:") || (l = de.has(t)) || !s && ((f = he(t, e.tagName)) || (o = ue.has(t))) || (c = e.nodeName.includes("-")))
295
+ a && (t = t.slice(5), o = !0), t === "class" || t === "className" ? we(e, n) : c && !o && !l ? e[Oe(t)] = n : e[f || t] = n;
493
296
  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);
297
+ const u = s && t.indexOf(":") > -1 && $e[t.split(":")[0]];
298
+ u ? Ae(e, u, t, n) : N(e, ye[t] || t, n);
496
299
  }
497
300
  return n;
498
301
  }
499
- function Oe(e) {
302
+ function Me(e) {
500
303
  const t = `$$${e.type}`;
501
304
  let n = e.composedPath && e.composedPath()[0] || e.target;
502
305
  for (e.target !== n && Object.defineProperty(e, "target", {
@@ -507,13 +310,7 @@ function Oe(e) {
507
310
  get() {
508
311
  return n || document;
509
312
  }
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; ) {
313
+ }), d.registry && !d.done && (d.done = _$HY.done = !0); n; ) {
517
314
  const i = n[t];
518
315
  if (i && !n.disabled) {
519
316
  const s = n[`${t}Data`];
@@ -523,131 +320,143 @@ function Oe(e) {
523
320
  n = n._$host || n.parentNode || n.host;
524
321
  }
525
322
  }
526
- function S(e, t, n, i, s) {
527
- for (h.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
323
+ function j(e, t, n, i, s) {
324
+ if (d.context) {
325
+ !n && (n = [...e.childNodes]);
326
+ let o = [];
327
+ for (let l = 0; l < n.length; l++) {
328
+ const f = n[l];
329
+ f.nodeType === 8 && f.data.slice(0, 2) === "!$" ? f.remove() : o.push(f);
330
+ }
331
+ n = o;
332
+ }
333
+ for (; typeof n == "function"; )
528
334
  n = n();
529
335
  if (t === n)
530
336
  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)
337
+ const r = typeof t, c = i !== void 0;
338
+ if (e = c && n[0] && n[0].parentNode || e, r === "string" || r === "number") {
339
+ if (d.context)
534
340
  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);
341
+ if (r === "number" && (t = t.toString()), c) {
342
+ let o = n[0];
343
+ o && o.nodeType === 3 ? o.data = t : o = document.createTextNode(t), n = w(e, n, i, o);
538
344
  } else
539
345
  n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
540
- } else if (t == null || o === "boolean") {
541
- if (h.context)
346
+ } else if (t == null || r === "boolean") {
347
+ if (d.context)
542
348
  return n;
543
- n = v(e, n, i);
349
+ n = w(e, n, i);
544
350
  } 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);
351
+ if (r === "function")
352
+ return A(() => {
353
+ let o = t();
354
+ for (; typeof o == "function"; )
355
+ o = o();
356
+ n = j(e, o, n, i);
551
357
  }), () => n;
552
358
  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)
359
+ const o = [], l = n && Array.isArray(n);
360
+ if (L(o, t, n, s))
361
+ return A(() => n = j(e, o, n, i, !0)), () => n;
362
+ if (d.context) {
363
+ if (!o.length)
558
364
  return n;
559
- for (let c = 0; c < a.length; c++)
560
- if (a[c].parentNode)
561
- return n = a;
365
+ for (let f = 0; f < o.length; f++)
366
+ if (o[f].parentNode)
367
+ return n = o;
562
368
  }
563
- if (a.length === 0) {
564
- if (n = v(e, n, i), r)
369
+ if (o.length === 0) {
370
+ if (n = w(e, n, i), c)
565
371
  return n;
566
372
  } else
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;
373
+ l ? n.length === 0 ? _(e, o, i) : xe(e, n, o) : (n && w(e), _(e, o));
374
+ n = o;
375
+ } else if (t.nodeType) {
376
+ if (d.context && t.parentNode)
377
+ return n = c ? [t] : t;
572
378
  if (Array.isArray(n)) {
573
- if (r)
574
- return n = v(e, n, i, t);
575
- v(e, n, null, t);
379
+ if (c)
380
+ return n = w(e, n, i, t);
381
+ w(e, n, null, t);
576
382
  } else
577
383
  n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
578
384
  n = t;
579
- }
385
+ } else
386
+ console.warn("Unrecognized value. Skipped inserting", t);
580
387
  }
581
388
  return n;
582
389
  }
583
- function I(e, t, n, i) {
390
+ function L(e, t, n, i) {
584
391
  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")
392
+ for (let r = 0, c = t.length; r < c; r++) {
393
+ let o = t[r], l = n && n[r], f;
394
+ if (!(o == null || o === !0 || o === !1))
395
+ if ((f = typeof o) == "object" && o.nodeType)
396
+ e.push(o);
397
+ else if (Array.isArray(o))
398
+ s = L(e, o, l) || s;
399
+ else if (f === "function")
593
400
  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;
401
+ for (; typeof o == "function"; )
402
+ o = o();
403
+ s = L(e, Array.isArray(o) ? o : [o], Array.isArray(l) ? l : [l]) || s;
597
404
  } else
598
- e.push(a), s = !0;
405
+ e.push(o), s = !0;
599
406
  else {
600
- const c = String(a);
601
- l && l.nodeType === 3 && l.data === c ? e.push(l) : e.push(document.createTextNode(c));
407
+ const a = String(o);
408
+ l && l.nodeType === 3 && l.data === a ? e.push(l) : e.push(document.createTextNode(a));
602
409
  }
603
410
  }
604
411
  return s;
605
412
  }
606
- function X(e, t, n = null) {
413
+ function _(e, t, n = null) {
607
414
  for (let i = 0, s = t.length; i < s; i++)
608
415
  e.insertBefore(t[i], n);
609
416
  }
610
- function v(e, t, n, i) {
417
+ function w(e, t, n, i) {
611
418
  if (n === void 0)
612
419
  return e.textContent = "";
613
420
  const s = i || document.createTextNode("");
614
421
  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();
422
+ let r = !1;
423
+ for (let c = t.length - 1; c >= 0; c--) {
424
+ const o = t[c];
425
+ if (s !== o) {
426
+ const l = o.parentNode === e;
427
+ !r && !c ? l ? e.replaceChild(s, o) : e.insertBefore(s, n) : l && o.remove();
621
428
  } else
622
- o = !0;
429
+ r = !0;
623
430
  }
624
431
  } else
625
432
  e.insertBefore(s, n);
626
433
  return [s];
627
434
  }
628
- function Me() {
629
- const e = h.context;
435
+ function ze() {
436
+ const e = d.context;
630
437
  return `${e.id}${e.count++}`;
631
438
  }
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);
439
+ const ke = "http://www.w3.org/2000/svg";
440
+ function Ne(e, t = !1) {
441
+ return t ? document.createElementNS(ke, e) : document.createElement(e);
635
442
  }
636
- function Pe(e) {
637
- const [t, n] = G(e, ["component"]), i = B(() => t.component);
638
- return B(() => {
443
+ function Le(e) {
444
+ const [t, n] = X(e, ["component"]), i = I(() => t.component);
445
+ return I(() => {
639
446
  const s = i();
640
447
  switch (typeof s) {
641
448
  case "function":
642
- return ie(() => s(n));
449
+ return Object.assign(s, {
450
+ [re]: !0
451
+ }), v(() => s(n));
643
452
  case "string":
644
- const o = be.has(s), r = h.context ? Se() : Ie(s, o);
645
- return Ee(r, n, o), r;
453
+ const r = be.has(s), c = d.context ? Pe() : Ne(s, r);
454
+ return Ee(c, n, r), c;
646
455
  }
647
456
  });
648
457
  }
649
- function A(e) {
650
- return e != null ? e : void 0;
458
+ function P(e) {
459
+ return e ?? void 0;
651
460
  }
652
461
  function m(e, t) {
653
462
  return Object.keys(e).filter((n) => !t.includes(n)).reduce((n, i) => (Object.defineProperty(n, i, {
@@ -658,20 +467,14 @@ function m(e, t) {
658
467
  enumerable: !0
659
468
  }), n), {});
660
469
  }
661
- function u(e, t) {
662
- return se(
663
- Pe,
664
- g(
665
- {
666
- get component() {
667
- return e();
668
- }
669
- },
670
- t
671
- )
672
- );
470
+ function h(e, t) {
471
+ return E(Le, y({
472
+ get component() {
473
+ return e();
474
+ }
475
+ }, t));
673
476
  }
674
- function p(e) {
477
+ function g(e) {
675
478
  if (!Object.values(e).every((t) => typeof t == "function"))
676
479
  throw new Error("Please provide an object with accessor values only.");
677
480
  return Object.keys(e).reduce((t, n) => {
@@ -685,276 +488,198 @@ function p(e) {
685
488
  }), t;
686
489
  }, {});
687
490
  }
688
- const K = /^--\D{1}.{0,100}$/;
689
- function ee(e) {
690
- return K.test(e);
491
+ const ee = /^--\D{1}.{0,100}$/;
492
+ function te(e) {
493
+ return ee.test(e);
691
494
  }
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));
495
+ function B(e) {
496
+ return typeof e != "string" ? !1 : [/^[0-9]{0,10000}\.?[0-9]{1,10000}(vmin|vmax|vh|vw|%|ch|ex|em|rem|in|cm|mm|pt|pc|px)$/, /^var\(--\D{1}.{0,100}\)$/, ee].some((t) => t.test(e));
698
497
  }
699
498
  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,
499
+ sizeXxs: We,
500
+ sizeXs: ve,
501
+ sizeSm: Be,
502
+ sizeMd: De,
503
+ sizeLg: Re,
504
+ sizeXl: He,
505
+ sizeXxl: Ge,
506
+ sizeContent1: _e,
507
+ sizeContent2: Ve,
508
+ sizeContent3: Fe,
509
+ sizeHeader1: Xe,
510
+ sizeHeader2: Ue,
511
+ sizeHeader3: qe,
512
+ size000: Qe,
513
+ size00: Ye,
514
+ size1: Je,
515
+ size2: Ze,
516
+ size3: Ke,
517
+ size4: pe,
719
518
  size5: et,
720
519
  size6: tt,
721
520
  size7: nt,
722
- size8: at,
723
- size9: it,
724
- size10: st,
521
+ size8: it,
522
+ size9: st,
523
+ size10: ot,
725
524
  size11: rt,
726
- size12: ot,
525
+ size12: ct,
727
526
  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,
527
+ size14: ft,
528
+ size15: at
529
+ } = oe, ut = {
530
+ size000: Qe,
531
+ size00: Ye,
532
+ size1: Je,
533
+ size2: Ze,
534
+ size3: Ke,
535
+ size4: pe,
737
536
  size5: et,
738
537
  size6: tt,
739
538
  size7: nt,
740
- size8: at,
741
- size9: it,
742
- size10: st,
539
+ size8: it,
540
+ size9: st,
541
+ size10: ot,
743
542
  size11: rt,
744
- size12: ot,
543
+ size12: ct,
745
544
  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) {
545
+ size14: ft,
546
+ size15: at
547
+ }, dt = {
548
+ sizeXxs: We,
549
+ sizeXs: ve,
550
+ sizeSm: Be,
551
+ sizeMd: De,
552
+ sizeLg: Re,
553
+ sizeXl: He,
554
+ sizeXxl: Ge,
555
+ sizeContent1: _e,
556
+ sizeContent2: Ve,
557
+ sizeContent3: Fe,
558
+ sizeHeader1: Xe,
559
+ sizeHeader2: Ue,
560
+ sizeHeader3: qe
561
+ }, yt = ut, mt = dt;
562
+ function ne(e) {
563
+ return e.reduce((t, [n, i]) => ({
564
+ ...t,
565
+ [n]: i
566
+ }), {});
567
+ }
568
+ function V(e, t) {
767
569
  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]);
570
+ return typeof t == "number" && t >= 0 ? `${t}px` : typeof t == "string" && B(t) ? te(t) ? `var(${t})` : t : P($(e, t));
571
+ }
572
+ function $(e, t) {
573
+ const n = e.space ?? yt, i = ne(Object.entries(n).map(([s, r]) => [s, typeof r == "number" ? `${r}px` : r]));
574
+ return P(i[t]);
779
575
  }
780
576
  function O(e, t) {
781
- var s;
782
577
  if (t === void 0)
783
578
  return;
784
579
  if (typeof t == "number" && t >= 0)
785
580
  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]);
581
+ if (typeof t == "string" && B(t))
582
+ return te(t) ? `var(${t})` : t;
583
+ const n = e.sizes ?? mt, i = ne(Object.entries(n).map(([s, r]) => [s, typeof r == "number" ? `${r}px` : r]));
584
+ return P(i[t]);
795
585
  }
796
- function ut(e) {
586
+ function ht(e) {
797
587
  return e === void 0 ? "100%" : typeof e == "number" ? `${e}px` : e;
798
588
  }
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};`,
804
- ""
805
- );
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(
808
- () => {
809
- var a;
810
- return (a = e.as) != null ? a : "div";
811
- },
812
- g(
813
- m(e, ["as", "maxWidth", "centerText", "centerChildren"]),
814
- p({
815
- style: r,
816
- "data-bedrock-center": o
817
- })
818
- )
819
- );
589
+ function Rt(e) {
590
+ const t = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), n = () => `--maxWidth: ${ht(e.maxWidth)};`, i = () => e.centerText ? "center-text" : "", s = () => e.centerChildren ? "center-children" : "", r = () => [i(), s()].filter(Boolean).join(" "), c = () => [t(), n()].join("; ");
591
+ return h(() => e.as ?? "div", y(m(e, ["as", "maxWidth", "centerText", "centerChildren"]), g({
592
+ style: c,
593
+ "data-bedrock-center": r
594
+ })));
820
595
  }
821
- const ne = re({});
822
- function Lt(e) {
823
- return /* @__PURE__ */ React.createElement(ne.Provider, { value: e.theme }, e.children);
596
+ const ie = ce({});
597
+ function Ht(e) {
598
+ return E(ie.Provider, {
599
+ get value() {
600
+ return e.theme;
601
+ },
602
+ get children() {
603
+ return e.children;
604
+ }
605
+ });
824
606
  }
825
- function y() {
607
+ function x() {
826
608
  try {
827
- return oe(ne);
609
+ return le(ie);
828
610
  } catch {
829
611
  return {};
830
612
  }
831
613
  }
832
- function pt(e, t) {
614
+ function gt(e, t) {
833
615
  return O(e, t);
834
616
  }
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};`,
840
- ""
841
- );
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(
847
- () => {
848
- var a;
849
- return (a = e.as) != null ? a : "div";
850
- },
851
- g(
852
- m(e, ["as", "gutter", "minItemWidth", "noStretchedColumns"]),
853
- p({
854
- style: r,
855
- "data-bedrock-column-drop": o
856
- })
857
- )
858
- );
617
+ function Gt(e) {
618
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"}`, s = () => `--minItemWidth: ${gt(t, e.minItemWidth)}`, r = () => e.noStretchedColumns === !0 ? "no-stretched-columns" : "", c = () => [n(), i(), s()].join("; ");
619
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter", "minItemWidth", "noStretchedColumns"]), g({
620
+ style: c,
621
+ "data-bedrock-column-drop": r
622
+ })));
859
623
  }
860
- function M(e) {
624
+ function z(e) {
861
625
  throw new Error(e);
862
626
  }
863
627
  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
- );
628
+ typeof e != "number" && !Array.isArray(e) && z("width must be a number or an array of two numbers"), Array().concat(e).some((n) => n < 0) && z("width value(s) must be 0 or greater"), Array.isArray(e) && (e.length !== 2 || e[0] > e[1]) && z(`The second width value, ${e[1]}, is not larger than ${e[0]}. Please provide a value greater than first width value`);
867
629
  }
868
- function Wt(e, t) {
630
+ function _t(e, t) {
869
631
  bt(e);
870
- const [n, i] = $(!1), [s, o] = $();
871
- return V(() => {
872
- Q();
873
- }), _(() => {
632
+ const [n, i] = T(!1), [s, r] = T();
633
+ return U(() => {
634
+ Y();
635
+ }), q(() => {
874
636
  if (s() === void 0 || s() === null)
875
637
  return;
876
638
  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;
639
+ const c = J(s(), (o) => {
640
+ var f;
641
+ const l = ((f = o.borderBoxSize) == null ? void 0 : f.inlineSize) ?? o.contentRect.width;
880
642
  if (l > 0) {
881
- const f = Array.isArray(e) ? l >= e[0] && l <= e[1] : l <= e;
882
- i(f);
643
+ const a = Array.isArray(e) ? l >= e[0] && l <= e[1] : l <= e;
644
+ i(a);
883
645
  }
884
646
  });
885
- U(r);
886
- }), [n, o];
647
+ Q(c);
648
+ }), [n, r];
887
649
  }
888
- function yt(e) {
650
+ function $t(e) {
889
651
  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);
890
652
  }
891
653
  function xt(e) {
892
654
  return Array.isArray(e) ? e.join("/") : e;
893
655
  }
894
- function wt(e) {
895
- return yt(e) ? xt(e) : void 0;
896
- }
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};`,
902
- ""
903
- );
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(
906
- () => {
907
- var r;
908
- return (r = e.as) != null ? r : "div";
909
- },
910
- g(
911
- m(e, ["as", "ratio", "position"]),
912
- p({
913
- style: o,
914
- "data-bedrock-frame": () => ""
915
- })
916
- )
917
- );
656
+ function St(e) {
657
+ return $t(e) ? xt(e) : void 0;
918
658
  }
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};`,
924
- ""
925
- );
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(
934
- () => {
935
- var r;
936
- return (r = e.as) != null ? r : "div";
937
- },
938
- g(
939
- m(e, ["as", "gutter", "minItemWidth"]),
940
- p({
941
- style: o,
942
- "data-bedrock-grid": () => ""
943
- })
944
- )
945
- );
946
- }
947
- const k = 96;
948
- function ae(e) {
949
- var i;
659
+ function Vt(e) {
660
+ const t = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), n = () => St(e.ratio), i = () => n() ? `--ratio: ${n()}` : "", s = () => typeof e.position == "string" ? `--position: ${e.position}` : "50%", r = () => [t(), i(), s()].join("; ");
661
+ return h(() => e.as ?? "div", y(m(e, ["as", "ratio", "position"]), g({
662
+ style: r,
663
+ "data-bedrock-frame": () => ""
664
+ })));
665
+ }
666
+ function At(e) {
667
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth ?? 0}px`};`, r = () => [n(), i(), s()].join("; ");
668
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter", "minItemWidth"]), g({
669
+ style: r,
670
+ "data-bedrock-grid": () => ""
671
+ })));
672
+ }
673
+ const C = 96;
674
+ function se(e) {
950
675
  e = String(e);
951
- const t = parseFloat(e), [, n] = (i = e.match(/[\d.\-+]*\s*(.*)/)) != null ? i : ["", ""];
676
+ const t = parseFloat(e), [, n] = e.match(/[\d.\-+]*\s*(.*)/) ?? ["", ""];
952
677
  return [t, n];
953
678
  }
954
- function N(e, t) {
679
+ function D(e, t) {
955
680
  if (!e)
956
681
  return;
957
- const n = t != null ? t : document.body, i = (e != null ? e : "px").trim().toLowerCase();
682
+ const n = t ?? document.body, i = (e ?? "px").trim().toLowerCase();
958
683
  switch (i) {
959
684
  case "vmin":
960
685
  case "vmax":
@@ -964,147 +689,113 @@ function N(e, t) {
964
689
  return;
965
690
  case "ch":
966
691
  case "ex":
967
- return zt(i, n);
692
+ return wt(i, n);
968
693
  case "em":
969
- return P(n, "font-size");
694
+ return W(n, "font-size");
970
695
  case "rem":
971
- return P(document.body, "font-size");
696
+ return W(document.body, "font-size");
972
697
  case "in":
973
- return k;
698
+ return C;
974
699
  case "cm":
975
- return k / 2.54;
700
+ return C / 2.54;
976
701
  case "mm":
977
- return k / 25.4;
702
+ return C / 25.4;
978
703
  case "pt":
979
- return k / 72;
704
+ return C / 72;
980
705
  case "pc":
981
- return k / 6;
706
+ return C / 6;
982
707
  case "px":
983
708
  return 1;
984
709
  default: {
985
- const [s, o] = ae(i);
710
+ const [s, r] = se(i);
986
711
  if (isNaN(s))
987
712
  return;
988
- if (!o)
713
+ if (!r)
989
714
  return s;
990
- const r = N(o, t);
991
- return typeof r == "number" ? s * r : void 0;
715
+ const c = D(r, t);
716
+ return typeof c == "number" ? s * c : void 0;
992
717
  }
993
718
  }
994
719
  }
995
- function P(e, t) {
996
- var s;
997
- const [n, i] = ae(
720
+ function W(e, t) {
721
+ const [n, i] = se(
998
722
  getComputedStyle(e).getPropertyValue(t)
999
723
  );
1000
- return n * ((s = N(i, e)) != null ? s : 1);
724
+ return n * (D(i, e) ?? 1);
1001
725
  }
1002
- function zt(e, t) {
726
+ function wt(e, t) {
1003
727
  const n = document.createElement("div");
1004
728
  n.style.height = "128" + e, t.appendChild(n);
1005
- const i = P(n, "height") / 128;
729
+ const i = W(n, "height") / 128;
1006
730
  return t.removeChild(n), i;
1007
731
  }
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)
732
+ const jt = /* @__PURE__ */ Z("<div>"), k = 1, Ct = typeof window == "object" && typeof document == "object" && document.nodeType === 9, Et = (e) => {
733
+ const [t, n] = T(1), [i, s] = T(), r = x();
734
+ return U(() => {
735
+ Y();
736
+ }), q(() => {
737
+ const c = P(i());
738
+ if (c === void 0)
1015
739
  return;
1016
- const a = J(r, ({ target: l }) => {
1017
- var L;
740
+ const o = J(c, ({
741
+ target: l
742
+ }) => {
1018
743
  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);
744
+ const f = e.gutter ? $(r, e.gutter) ?? "1px" : "1px", a = Ct ? D(f, l) : void 0, u = Math.max(a ?? k, k), [b] = Array.from(l.children), S = 1 + Math.min(l.scrollHeight, b.scrollHeight), M = Math.max(Math.ceil(S / u), k);
745
+ n(M);
1021
746
  });
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 = {
747
+ Q(o);
748
+ }), (() => {
749
+ const c = jt();
750
+ return Ie(s, c), p(c, () => e.children), A((o) => K(c, `grid-row: span ${t()};`, o)), c;
751
+ })();
752
+ }, Ft = (e) => {
753
+ const t = fe(() => e.children), i = [].concat(t()).filter(Boolean).map((s) => E(Et, {
754
+ get gutter() {
755
+ return e.gutter;
756
+ },
757
+ children: s
758
+ }));
759
+ return E(At, y({
760
+ style: "grid-template-rows: 1px;"
761
+ }, e, {
762
+ children: i
763
+ }));
764
+ }, It = {
1028
765
  start: "justify:start",
1029
766
  end: "justify:end",
1030
767
  center: "justify:center"
1031
- }, Et = {
768
+ }, Tt = {
1032
769
  start: "align:start",
1033
770
  end: "align:end",
1034
771
  center: "align:center",
1035
772
  stretch: "align:stretch"
1036
773
  };
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};`,
1042
- ""
1043
- );
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(
1049
- () => {
1050
- var l;
1051
- return (l = e.as) != null ? l : "div";
1052
- },
1053
- g(
1054
- m(e, ["as", "gutter", "justify", "align"]),
1055
- p({
1056
- style: r,
1057
- "data-bedrock-inline-cluster": a
1058
- })
1059
- )
1060
- );
774
+ function Xt(e) {
775
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((l, [f, a]) => l + `${f}:${a};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => e.justify !== void 0 ? It[e.justify] : void 0, r = () => e.align !== void 0 ? Tt[e.align] : void 0, c = () => [n(), i()].join("; "), o = () => [s(), r()].filter(Boolean).join(" ");
776
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter", "justify", "align"]), g({
777
+ style: c,
778
+ "data-bedrock-inline-cluster": o
779
+ })));
1061
780
  }
1062
- const $t = {
781
+ const Pt = {
1063
782
  start: "justify:start",
1064
783
  end: "justify:end",
1065
784
  center: "justify:center"
1066
- }, St = {
785
+ }, Ot = {
1067
786
  start: "align:start",
1068
787
  end: "align:end",
1069
788
  center: "align:center",
1070
789
  stretch: "align:stretch"
1071
790
  };
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};`,
1077
- ""
1078
- );
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(
1087
- () => {
1088
- var f;
1089
- return (f = e.as) != null ? f : "div";
1090
- },
1091
- g(
1092
- m(e, [
1093
- "as",
1094
- "gutter",
1095
- "justify",
1096
- "align",
1097
- "stretch",
1098
- "switchAt"
1099
- ]),
1100
- p({
1101
- style: c,
1102
- "data-bedrock-inline": d
1103
- })
1104
- )
1105
- );
791
+ function Ut(e) {
792
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((u, [b, S]) => u + `${b}:${S};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, r = () => e.switchAt ? `--switchAt: ${O(t, e.switchAt) ?? "0px"};` : "", c = () => e.justify !== void 0 ? Pt[e.justify] : void 0, o = () => e.align !== void 0 ? Ot[e.align] : void 0, l = () => e.stretch ? `stretch:${e.stretch}` : void 0, f = () => [n(), i(), r(), s()].join("; "), a = () => [c(), o(), l()].filter(Boolean).join(" ");
793
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter", "justify", "align", "stretch", "switchAt"]), g({
794
+ style: f,
795
+ "data-bedrock-inline": a
796
+ })));
1106
797
  }
1107
- const At = (e) => ({
798
+ const Mt = (e) => ({
1108
799
  left: "padding-inline-start",
1109
800
  right: "padding-inline-end",
1110
801
  top: "padding-block-start",
@@ -1113,59 +804,28 @@ const At = (e) => ({
1113
804
  inlineEnd: "padding-inline-end",
1114
805
  blockStart: "padding-block-start",
1115
806
  blockEnd: "padding-block-end"
1116
- })[e], Ot = (e, t) => {
807
+ })[e], zt = (e, t) => {
808
+ if (!t)
809
+ return "";
1117
810
  if (Array.isArray(t) && t.length > 4)
1118
811
  throw new Error("padding arrays can only be 4 or less in length");
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(" ")
812
+ const n = typeof t == "object" && !Array.isArray(t) ? Object.entries(t).reduce((i, [s, r]) => ({
813
+ ...i,
814
+ [Mt(s)]: V(e, r) ?? "0px"
815
+ }), {}) : {
816
+ padding: Array.from(Array.isArray(t) ? t : [t]).map((i) => V(e, i) ?? "0px").join(" ")
1133
817
  };
1134
- return Object.entries(n).reduce((i, [s, o]) => i + `${s}:${o};`, "");
818
+ return Object.entries(n).reduce((i, [s, r]) => i + `${s}:${r};`, "");
1135
819
  };
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};`,
1141
- ""
1142
- );
1143
- }, i = () => Ot(t, e.padding), s = () => [n(), i()].join("; ");
1144
- return u(
1145
- () => {
1146
- var o;
1147
- return (o = e.as) != null ? o : "div";
1148
- },
1149
- g(
1150
- m(e, ["as", "padding"]),
1151
- p({
1152
- style: s,
1153
- "data-bedrock-padbox": () => ""
1154
- })
1155
- )
1156
- );
820
+ function qt(e) {
821
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((r, [c, o]) => r + `${c}:${o};`, ""), i = () => zt(t, e.padding), s = () => [n(), i()].join("; ");
822
+ return h(() => e.as ?? "div", y(m(e, ["as", "padding"]), g({
823
+ style: s,
824
+ "data-bedrock-padbox": () => ""
825
+ })));
1157
826
  }
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};`,
1163
- ""
1164
- );
1165
- }, i = () => {
1166
- var r, a;
1167
- return `--gutter: ${(a = b(t, (r = e.gutter) != null ? r : "size00")) != null ? a : "0px"};`;
1168
- }, s = () => {
827
+ function Qt(e) {
828
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => {
1169
829
  switch (e.snapType) {
1170
830
  case "none":
1171
831
  return "snapType:none";
@@ -1176,19 +836,13 @@ function Yt(e) {
1176
836
  default:
1177
837
  return "snapType:none";
1178
838
  }
1179
- }, o = () => [n(), i()].join("; ");
1180
- return u(
1181
- () => {
1182
- var r;
1183
- return (r = e.as) != null ? r : "div";
1184
- },
1185
- g(
1186
- m(e, ["as", "gutter"]),
1187
- p({ style: o, "data-bedrock-reel": s })
1188
- )
1189
- );
839
+ }, r = () => [n(), i()].join("; ");
840
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter"]), g({
841
+ style: r,
842
+ "data-bedrock-reel": s
843
+ })));
1190
844
  }
1191
- const Y = {
845
+ const F = {
1192
846
  "1/4": "fraction:1/4",
1193
847
  "1/3": "fraction:1/3",
1194
848
  "1/2": "fraction:1/2",
@@ -1197,164 +851,79 @@ const Y = {
1197
851
  "auto-start": "fraction:auto-start",
1198
852
  "auto-end": "fraction:auto-end"
1199
853
  };
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};`,
1205
- ""
1206
- );
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(
1218
- () => {
1219
- var l;
1220
- return (l = e.as) != null ? l : "div";
1221
- },
1222
- g(
1223
- m(e, ["as", "gutter", "fraction"]),
1224
- p({
1225
- style: a,
1226
- "data-bedrock-split": o
1227
- })
1228
- )
1229
- );
1230
- }
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
- )
1251
- );
1252
- }
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};`,
1261
- ""
1262
- );
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(
1268
- () => {
1269
- var a;
1270
- return (a = e.as) != null ? a : "div";
1271
- },
1272
- g(
1273
- m(e, ["as", "minHeight", "stretchContent"]),
1274
- p({
1275
- style: r,
1276
- "data-bedrock-cover": o
1277
- })
1278
- )
1279
- );
1280
- }
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};`,
1290
- ""
1291
- );
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(
1300
- () => {
1301
- var a;
1302
- return (a = e.as) != null ? a : "div";
1303
- },
1304
- g(
1305
- m(e, ["as", "gutter", "columns", "switchAt"]),
1306
- p({
1307
- style: r,
1308
- "data-bedrock-columns": () => ""
1309
- })
1310
- )
1311
- );
854
+ function Yt(e) {
855
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((l, [f, a]) => l + `${f}:${a};`, ""), i = () => e.switchAt ? `--switchAt: ${O(t, e.switchAt) ?? "0px"};` : "", s = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, r = () => F[e.fraction ?? "1/2"] ?? F["1/2"], c = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, o = () => [n(), s(), i(), c()].join("; ");
856
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter", "fraction"]), g({
857
+ style: o,
858
+ "data-bedrock-split": r
859
+ })));
860
+ }
861
+ function Jt(e) {
862
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((r, [c, o]) => r + `${c}:${o};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => [n(), i()].join("; ");
863
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter"]), g({
864
+ style: s,
865
+ "data-bedrock-stack": () => ""
866
+ })));
867
+ }
868
+ const kt = /* @__PURE__ */ Z("<div data-bedrock-cover-centered>");
869
+ function Nt(e) {
870
+ return typeof e == "number" ? `${e}px` : e && B(e) ? e : "100vh";
1312
871
  }
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};`,
1319
- ""
1320
- );
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(
1323
- () => {
1324
- var r;
1325
- return (r = e.as) != null ? r : "div";
1326
- },
1327
- g(
1328
- m(e, ["as", "span", "offsetStart", "offsetEnd"]),
1329
- p({
1330
- style: o,
1331
- "data-bedrock-column": () => ""
1332
- })
1333
- )
1334
- );
872
+ function Lt(e) {
873
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => `--minHeight: ${Nt(e.minHeight)};`, r = () => e.stretchContent === !0 ? "stretch-content" : "", c = () => [n(), i(), s()].join("; ");
874
+ return h(() => e.as ?? "div", y(m(e, ["as", "minHeight", "stretchContent"]), g({
875
+ style: c,
876
+ "data-bedrock-cover": r
877
+ })));
878
+ }
879
+ function Zt(e) {
880
+ const [t, n] = X(e, ["children", "top", "bottom"]);
881
+ return E(Lt, y(n, {
882
+ get children() {
883
+ return [I(() => t.top), (() => {
884
+ const i = kt();
885
+ return p(i, () => t.children), i;
886
+ })(), I(() => t.bottom)];
887
+ }
888
+ }));
889
+ }
890
+ function Kt(e) {
891
+ const t = x(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), i = () => `--gutter: ${$(t, e.gutter ?? "size00") ?? "0px"};`, s = () => `--columns: ${e.columns && e.columns > 0 ? e.columns : 1};`, r = () => e.switchAt ? `--switchAt: ${O(t, e.switchAt) ?? "0px"};` : "", c = () => [n(), i(), s(), r()].join("; ");
892
+ return h(() => e.as ?? "div", y(m(e, ["as", "gutter", "columns", "switchAt"]), g({
893
+ style: c,
894
+ "data-bedrock-columns": () => ""
895
+ })));
896
+ }
897
+ const Wt = (e) => typeof e == "number" ? e : 1;
898
+ function pt(e) {
899
+ const t = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), n = () => `--span: ${Wt(e.span)};`, i = () => e.offsetStart && e.offsetStart > 0 ? `--offsetStart: ${e.offsetStart};` : "", s = () => e.offsetEnd && e.offsetEnd > 0 ? `--offsetEnd: ${e.offsetEnd};` : "", r = () => [t(), n(), i(), s()].join("; ");
900
+ return h(() => e.as ?? "div", y(m(e, ["as", "span", "offsetStart", "offsetEnd"]), g({
901
+ style: r,
902
+ "data-bedrock-column": () => ""
903
+ })));
1335
904
  }
1336
905
  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,
906
+ Rt as Center,
907
+ pt as Column,
908
+ Gt as ColumnDrop,
909
+ Kt as Columns,
910
+ Zt as Cover,
911
+ Vt as Frame,
912
+ At as Grid,
913
+ Ut as Inline,
914
+ Xt as InlineCluster,
915
+ Ft as MasonryGrid,
916
+ qt as PadBox,
917
+ Qt as Reel,
918
+ Yt as Split,
919
+ Jt as Stack,
920
+ Ht as ThemeProvider,
921
+ B as checkIsCSSLength,
922
+ _t as createContainerQuery,
923
+ V as getSafeGutter,
1355
924
  O as getSizeValue,
1356
- b as getSpacingValue,
925
+ $ as getSpacingValue,
1357
926
  mt as sizes,
1358
- gt as spacing,
1359
- y as useTheme
927
+ yt as spacing,
928
+ x as useTheme
1360
929
  };