@automattic/charts 1.10.1 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -49,8 +49,7 @@ let _visx_pattern = require("@visx/pattern");
49
49
  let react_google_charts = require("react-google-charts");
50
50
  let dompurify = require("dompurify");
51
51
  dompurify = __toESM(dompurify, 1);
52
- let _babel_runtime_helpers_esm_extends = require("@babel/runtime/helpers/esm/extends");
53
- _babel_runtime_helpers_esm_extends = __toESM(_babel_runtime_helpers_esm_extends);
52
+ require("@babel/runtime/helpers/esm/extends");
54
53
  require("@babel/runtime/helpers/extends");
55
54
  let _visx_shape = require("@visx/shape");
56
55
  //#region src/charts/private/single-chart-context/single-chart-context.tsx
@@ -3207,27 +3206,14 @@ const guessOptimalNumTicks = (data, chartWidth, tickFormatter) => {
3207
3206
  };
3208
3207
  //#endregion
3209
3208
  //#region src/charts/private/with-responsive/with-responsive.module.scss
3210
- var with_responsive_module_default = { "container": "a8ccharts-sP1gHa-container" };
3209
+ var with_responsive_module_default = {
3210
+ "container": "a8ccharts-sP1gHa-container",
3211
+ "content": "a8ccharts-sP1gHa-content",
3212
+ "isContained": "a8ccharts-sP1gHa-isContained"
3213
+ };
3211
3214
  //#endregion
3212
3215
  //#region src/charts/private/with-responsive/with-responsive.tsx
3213
- const useResponsiveDimensions = ({ resizeDebounceTime = 300, maxWidth = 1200, aspectRatio }) => {
3214
- const { parentRef, width: parentWidth, height: parentHeight } = (0, _visx_responsive.useParentSize)({
3215
- debounceTime: resizeDebounceTime,
3216
- enableDebounceLeadingCall: true
3217
- });
3218
- const containerWidth = parentWidth > 0 ? Math.min(parentWidth, maxWidth) : 0;
3219
- return {
3220
- parentRef,
3221
- width: containerWidth,
3222
- height: aspectRatio !== void 0 ? containerWidth * aspectRatio : parentHeight,
3223
- /**
3224
- * Whether an aspectRatio was provided. Used to determine container
3225
- * height styling: 'auto' when true (height derived from width),
3226
- * '100%' when false (fill parent container).
3227
- */
3228
- hasAspectRatio: aspectRatio !== void 0
3229
- };
3230
- };
3216
+ const useIsomorphicLayoutEffect = typeof window !== "undefined" ? react$1.useLayoutEffect : react$1.useEffect;
3231
3217
  /**
3232
3218
  * A higher-order component that provides responsive dimensions
3233
3219
  * to the wrapped chart component using useParentSize from `@visx/responsive`.
@@ -3237,32 +3223,67 @@ const useResponsiveDimensions = ({ resizeDebounceTime = 300, maxWidth = 1200, as
3237
3223
  */
3238
3224
  function withResponsive(WrappedComponent) {
3239
3225
  return function ResponsiveChart({ resizeDebounceTime = 300, maxWidth = 1200, aspectRatio, size, width, height, ...chartProps }) {
3240
- const { parentRef, width: measuredWidth, height: measuredHeight, hasAspectRatio } = useResponsiveDimensions({
3241
- resizeDebounceTime,
3242
- maxWidth,
3243
- aspectRatio
3226
+ const { parentRef, width: parentWidth, height: parentHeight } = (0, _visx_responsive.useParentSize)({
3227
+ debounceTime: resizeDebounceTime,
3228
+ enableDebounceLeadingCall: true
3229
+ });
3230
+ const hasAspectRatio = aspectRatio !== void 0 && aspectRatio > 0;
3231
+ const wrapperRef = (0, react$1.useRef)(null);
3232
+ const setWrapperRef = (0, react$1.useCallback)((node) => {
3233
+ wrapperRef.current = node;
3234
+ if (typeof parentRef === "function") parentRef(node);
3235
+ else if (parentRef) parentRef.current = node;
3236
+ }, [parentRef]);
3237
+ const [containedHeight, setContainedHeight] = (0, react$1.useState)(null);
3238
+ const availableWidth = parentWidth > 0 ? Math.min(parentWidth, width === void 0 ? maxWidth : Infinity) : width ?? 0;
3239
+ let boxWidth = availableWidth;
3240
+ let boxHeight;
3241
+ if (hasAspectRatio) {
3242
+ const derivedHeight = availableWidth * aspectRatio;
3243
+ if (containedHeight !== null && derivedHeight > containedHeight) {
3244
+ boxHeight = containedHeight;
3245
+ boxWidth = boxHeight / aspectRatio;
3246
+ } else boxHeight = derivedHeight;
3247
+ } else boxHeight = parentHeight > 0 ? parentHeight : height ?? 0;
3248
+ useIsomorphicLayoutEffect(() => {
3249
+ if (!hasAspectRatio) {
3250
+ if (containedHeight !== null) setContainedHeight(null);
3251
+ return;
3252
+ }
3253
+ const available = wrapperRef.current?.clientHeight ?? 0;
3254
+ const derivedHeight = availableWidth * aspectRatio;
3255
+ if (containedHeight === null) {
3256
+ if (available > 0 && derivedHeight > available + 1) setContainedHeight(available);
3257
+ } else if (available >= derivedHeight - 1) setContainedHeight(null);
3258
+ else if (Math.abs(available - containedHeight) > 1) setContainedHeight(available);
3259
+ }, [
3260
+ hasAspectRatio,
3261
+ availableWidth,
3262
+ aspectRatio,
3263
+ containedHeight,
3264
+ parentHeight
3265
+ ]);
3266
+ const wrappedComponent = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WrappedComponent, {
3267
+ width: boxWidth,
3268
+ height: boxHeight,
3269
+ size,
3270
+ ...chartProps
3244
3271
  });
3245
- const effectiveWidth = measuredWidth || width || 0;
3246
- const effectiveHeight = measuredHeight || height || 0;
3247
- const defaultHeight = hasAspectRatio ? "auto" : "100%";
3248
- const aspectRatioStyle = hasAspectRatio && aspectRatio ? {
3249
- aspectRatio: `${1 / aspectRatio}`,
3250
- maxWidth: width === void 0 ? maxWidth : void 0
3251
- } : null;
3252
3272
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3253
- ref: parentRef,
3254
- className: with_responsive_module_default.container,
3273
+ ref: setWrapperRef,
3274
+ className: (0, clsx.default)(with_responsive_module_default.container, hasAspectRatio && with_responsive_module_default.isContained),
3255
3275
  style: {
3256
- width: width ?? "100%",
3257
- height: height ?? defaultHeight,
3258
- ...aspectRatioStyle
3276
+ ...width !== void 0 ? { width } : null,
3277
+ ...height !== void 0 ? { height } : null
3259
3278
  },
3260
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WrappedComponent, {
3261
- width: effectiveWidth,
3262
- height: effectiveHeight,
3263
- size,
3264
- ...chartProps
3265
- })
3279
+ children: hasAspectRatio ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3280
+ className: with_responsive_module_default.content,
3281
+ style: {
3282
+ width: boxWidth,
3283
+ height: boxHeight
3284
+ },
3285
+ children: wrappedComponent
3286
+ }) : wrappedComponent
3266
3287
  });
3267
3288
  };
3268
3289
  }
@@ -6254,6 +6275,7 @@ var heatmap_chart_module_default = {
6254
6275
  "heatmap-chart": "a8ccharts-O3YMOW-heatmap-chart",
6255
6276
  "heatmap-chart__cell": "a8ccharts-O3YMOW-heatmap-chart__cell",
6256
6277
  "heatmap-chart__cell--filled": "a8ccharts-O3YMOW-heatmap-chart__cell--filled",
6278
+ "heatmap-chart__cell--hidden": "a8ccharts-O3YMOW-heatmap-chart__cell--hidden",
6257
6279
  "heatmap-chart__cell--selected": "a8ccharts-O3YMOW-heatmap-chart__cell--selected",
6258
6280
  "heatmap-chart__cell--strong": "a8ccharts-O3YMOW-heatmap-chart__cell--strong",
6259
6281
  "heatmap-chart__cell-value": "a8ccharts-O3YMOW-heatmap-chart__cell-value",
@@ -6261,9 +6283,11 @@ var heatmap_chart_module_default = {
6261
6283
  "heatmap-chart__empty": "a8ccharts-O3YMOW-heatmap-chart__empty",
6262
6284
  "heatmap-chart__grid": "a8ccharts-O3YMOW-heatmap-chart__grid",
6263
6285
  "heatmap-chart__grid--compact": "a8ccharts-O3YMOW-heatmap-chart__grid--compact",
6286
+ "heatmap-chart__grid--height-capped": "a8ccharts-O3YMOW-heatmap-chart__grid--height-capped",
6264
6287
  "heatmap-chart__legend-swatch": "a8ccharts-O3YMOW-heatmap-chart__legend-swatch",
6265
6288
  "heatmap-chart__row": "a8ccharts-O3YMOW-heatmap-chart__row",
6266
- "heatmap-chart__row-label": "a8ccharts-O3YMOW-heatmap-chart__row-label"
6289
+ "heatmap-chart__row-label": "a8ccharts-O3YMOW-heatmap-chart__row-label",
6290
+ "heatmap-chart--height-capped": "a8ccharts-O3YMOW-heatmap-chart--height-capped"
6267
6291
  };
6268
6292
  //#endregion
6269
6293
  //#region src/charts/heatmap-chart/private/use-heatmap-colors.ts
@@ -6285,14 +6309,18 @@ const getValueExtent = (data) => {
6285
6309
  return [min, max];
6286
6310
  };
6287
6311
  /**
6288
- * Normalize a value to 0–1 within the extent. A flat extent (min === max) maps to 1.
6312
+ * Normalize a value to 0–1 within the extent. A flat extent (min === max)
6313
+ * maps to 1 — every cell is equally the "highest" — except an all-zero
6314
+ * extent, which maps to 0 so a no-activity grid renders at the scale's
6315
+ * bottom instead of full intensity.
6316
+ *
6289
6317
  * @param value - The value to normalize
6290
6318
  * @param extent - Tuple of [min, max] values for the normalization range
6291
6319
  * @return Normalized value between 0 and 1
6292
6320
  */
6293
6321
  const getNormalizedValue = (value, extent) => {
6294
6322
  const [min, max] = extent;
6295
- if (min === max) return 1;
6323
+ if (min === max) return max === 0 ? 0 : 1;
6296
6324
  return Math.min(1, Math.max(0, (value - min) / (max - min)));
6297
6325
  };
6298
6326
  //#endregion
@@ -6313,6 +6341,7 @@ const toDate = (point) => {
6313
6341
  };
6314
6342
  const buildCalendarHeatmapData = (series, options = {}) => {
6315
6343
  const weekStartsOn = options.weekStartsOn ?? 1;
6344
+ const hideOutOfRangeDays = options.hideOutOfRangeDays ?? true;
6316
6345
  const entries = series.map((point) => ({
6317
6346
  date: toDate(point),
6318
6347
  value: point.value
@@ -6331,6 +6360,8 @@ const buildCalendarHeatmapData = (series, options = {}) => {
6331
6360
  }
6332
6361
  const gridStart = (0, date_fns.startOfWeek)(minDate, { weekStartsOn });
6333
6362
  const weekCount = (0, date_fns.differenceInCalendarWeeks)(maxDate, gridStart, { weekStartsOn }) + 1;
6363
+ const minDayKey = (0, date_fns.format)(minDate, "yyyy-MM-dd");
6364
+ const maxDayKey = (0, date_fns.format)(maxDate, "yyyy-MM-dd");
6334
6365
  const rowLabels = Array.from({ length: 7 }, (_, row) => LABELLED_ROWS.includes(row) ? (0, date_fns.format)((0, date_fns.addDays)(gridStart, row), "EEE") : "");
6335
6366
  const MIN_FIRST_MONTH_WEEKS = 2;
6336
6367
  const firstMonth = gridStart.getMonth();
@@ -6348,10 +6379,12 @@ const buildCalendarHeatmapData = (series, options = {}) => {
6348
6379
  for (let row = 0; row < 7; row++) {
6349
6380
  const day = (0, date_fns.addDays)(gridStart, week * 7 + row);
6350
6381
  const key = (0, date_fns.format)(day, "yyyy-MM-dd");
6351
- cells.push({
6382
+ const cell = {
6352
6383
  label: (0, date_fns.format)(day, "EEE, MMM d, yyyy"),
6353
6384
  value: valueByDay.has(key) ? valueByDay.get(key) : null
6354
- });
6385
+ };
6386
+ if (hideOutOfRangeDays && (key < minDayKey || key > maxDayKey)) cell.hidden = true;
6387
+ cells.push(cell);
6355
6388
  }
6356
6389
  data.push({
6357
6390
  label,
@@ -6412,7 +6445,7 @@ const HeatmapLegend = ({ steps = 5, lessLabel, moreLabel }) => {
6412
6445
  //#endregion
6413
6446
  //#region src/charts/heatmap-chart/heatmap-chart.tsx
6414
6447
  const CELL_MIX_FLOOR = .15;
6415
- const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, height = 0, className, compact = false, showValues, rowLabels = [], primaryColor, gap = "md", withTooltips = false, renderTooltip, children }) => {
6448
+ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, height = 0, className, compact = false, showValues, maxCellWidth, maxCellHeight, minCellWidth, minCellHeight, rowLabels = [], primaryColor, gap = "md", withTooltips = false, renderTooltip, children }) => {
6416
6449
  const chartId = useChartId(providedChartId);
6417
6450
  const { getElementStyles, resolveThemeColor, theme } = useGlobalChartsContext();
6418
6451
  const { heatmapChart: heatmapChartSettings } = theme;
@@ -6456,6 +6489,7 @@ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, heigh
6456
6489
  setSelectedIndex(void 0);
6457
6490
  hideTooltip();
6458
6491
  }, [hideTooltip]);
6492
+ const isCellHidden = (0, react$1.useCallback)((col, row) => data[col]?.data[row]?.hidden === true, [data]);
6459
6493
  const onChartKeyDown = (0, react$1.useCallback)((event) => {
6460
6494
  if (![
6461
6495
  "ArrowLeft",
@@ -6472,21 +6506,32 @@ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, heigh
6472
6506
  }
6473
6507
  event.preventDefault();
6474
6508
  if (selectedIndex === void 0) {
6475
- setSelectedIndex(0);
6509
+ for (let index = 0; index < columns * rows; index++) if (!isCellHidden(Math.floor(index / rows), index % rows)) {
6510
+ setSelectedIndex(index);
6511
+ return;
6512
+ }
6476
6513
  return;
6477
6514
  }
6515
+ let stepCol = 0;
6516
+ let stepRow = 0;
6517
+ if (event.key === "ArrowRight") stepCol = 1;
6518
+ else if (event.key === "ArrowLeft") stepCol = -1;
6519
+ else if (event.key === "ArrowDown") stepRow = 1;
6520
+ else if (event.key === "ArrowUp") stepRow = -1;
6478
6521
  let col = Math.floor(selectedIndex / rows);
6479
6522
  let row = selectedIndex % rows;
6480
- if (event.key === "ArrowRight") col = Math.min(col + 1, columns - 1);
6481
- else if (event.key === "ArrowLeft") col = Math.max(col - 1, 0);
6482
- else if (event.key === "ArrowDown") row = Math.min(row + 1, rows - 1);
6483
- else if (event.key === "ArrowUp") row = Math.max(row - 1, 0);
6523
+ do {
6524
+ col += stepCol;
6525
+ row += stepRow;
6526
+ } while (col >= 0 && col < columns && row >= 0 && row < rows && isCellHidden(col, row));
6527
+ if (col < 0 || col >= columns || row < 0 || row >= rows) return;
6484
6528
  setSelectedIndex(col * rows + row);
6485
6529
  }, [
6486
6530
  rows,
6487
6531
  columns,
6488
6532
  selectedIndex,
6489
- hideTooltip
6533
+ hideTooltip,
6534
+ isCellHidden
6490
6535
  ]);
6491
6536
  const handleCellMouseMove = (0, react$1.useCallback)((event) => {
6492
6537
  if (!withTooltips) return;
@@ -6542,18 +6587,20 @@ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, heigh
6542
6587
  children: (0, _wordpress_i18n.__)("No data available", "jetpack-charts")
6543
6588
  })
6544
6589
  });
6545
- const trackSize = compact ? "var(--heatmap-cell-size)" : "minmax(0, 1fr)";
6590
+ const columnTrack = compact ? "var(--heatmap-cell-size)" : `minmax(${minCellWidth ?? 0}px, ${maxCellWidth ? `${maxCellWidth}px` : "1fr"})`;
6591
+ const rowTrack = compact ? "var(--heatmap-cell-size)" : `minmax(${minCellHeight ?? 0}px, ${maxCellHeight ? `${maxCellHeight}px` : "1fr"})`;
6546
6592
  const gridStyle = {
6547
6593
  "--heatmap-primary": primaryColorHex,
6548
6594
  "--heatmap-bg": theme.backgroundColor,
6549
- gridTemplateColumns: `auto repeat(${columns}, ${trackSize})`,
6550
- gridTemplateRows: `auto repeat(${rows}, ${trackSize})`
6595
+ gridTemplateColumns: `auto repeat(${columns}, ${columnTrack})`,
6596
+ gridTemplateRows: `auto repeat(${rows}, ${rowTrack})`
6551
6597
  };
6552
6598
  if (compact) {
6553
6599
  gridStyle["--heatmap-cell-gap"] = `${compactCellGap}px`;
6554
6600
  gridStyle["--heatmap-cell-size"] = `${compactCellSize}px`;
6555
6601
  }
6556
6602
  const activeDescendant = selectedIndex !== void 0 ? `${chartId}-cell-${Math.floor(selectedIndex / rows)}-${selectedIndex % rows}` : void 0;
6603
+ const heightCapped = !compact && Boolean(maxCellHeight);
6557
6604
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(HeatmapContext.Provider, {
6558
6605
  value: heatmapContext,
6559
6606
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SingleChartContext.Provider, {
@@ -6563,7 +6610,7 @@ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, heigh
6563
6610
  legendChildren: [],
6564
6611
  trailingContent: nonLegendChildren,
6565
6612
  gap,
6566
- className: (0, clsx.default)("heatmap-chart", heatmap_chart_module_default["heatmap-chart"], className),
6613
+ className: (0, clsx.default)("heatmap-chart", heatmap_chart_module_default["heatmap-chart"], className, { [heatmap_chart_module_default["heatmap-chart--height-capped"]]: heightCapped }),
6567
6614
  style: {
6568
6615
  width: width || void 0,
6569
6616
  height: height || void 0
@@ -6579,7 +6626,10 @@ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, heigh
6579
6626
  tabIndex: 0,
6580
6627
  onBlur: onChartBlur,
6581
6628
  onKeyDown: onChartKeyDown,
6582
- className: (0, clsx.default)(heatmap_chart_module_default["heatmap-chart__grid"], { [heatmap_chart_module_default["heatmap-chart__grid--compact"]]: compact }),
6629
+ className: (0, clsx.default)(heatmap_chart_module_default["heatmap-chart__grid"], {
6630
+ [heatmap_chart_module_default["heatmap-chart__grid--compact"]]: compact,
6631
+ [heatmap_chart_module_default["heatmap-chart__grid--height-capped"]]: heightCapped
6632
+ }),
6583
6633
  style: gridStyle,
6584
6634
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6585
6635
  role: "row",
@@ -6600,7 +6650,12 @@ const HeatmapChartInternal = ({ data, chartId: providedChartId, width = 0, heigh
6600
6650
  className: heatmap_chart_module_default["heatmap-chart__row-label"],
6601
6651
  children: labelVisible ? rowLabels[rowIndex] ?? "" : ""
6602
6652
  }), data.map((column, columnIndex) => {
6603
- const value = column.data[rowIndex]?.value ?? null;
6653
+ const cell = column.data[rowIndex];
6654
+ if (cell?.hidden) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
6655
+ "aria-hidden": "true",
6656
+ className: (0, clsx.default)(heatmap_chart_module_default["heatmap-chart__cell"], heatmap_chart_module_default["heatmap-chart__cell--hidden"])
6657
+ }, `cell-${columnIndex}-${rowIndex}`);
6658
+ const value = cell?.value ?? null;
6604
6659
  const present = isPresent(value);
6605
6660
  const normalized = present ? getNormalizedValue(value, extent) : 0;
6606
6661
  const flatIndex = columnIndex * rows + rowIndex;
@@ -6657,7 +6712,7 @@ const HeatmapChartResponsiveInner = (props) => /* @__PURE__ */ (0, react_jsx_run
6657
6712
  HeatmapChartResponsiveInner.displayName = "HeatmapChart";
6658
6713
  const HeatmapChartResponsive = attachSubComponents(withResponsive(HeatmapChartResponsiveInner), { Legend: HeatmapLegend });
6659
6714
  //#endregion
6660
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-update-effect.mjs
6715
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-update-effect.mjs
6661
6716
  function useUpdateEffect(effect, deps) {
6662
6717
  const mountedRef = (0, react$1.useRef)(false);
6663
6718
  (0, react$1.useEffect)(() => {
@@ -7267,7 +7322,7 @@ function memoize(fn) {
7267
7322
  }
7268
7323
  //#endregion
7269
7324
  //#region ../../../node_modules/.pnpm/@emotion+cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.esm.js
7270
- var isBrowser$4 = typeof document !== "undefined";
7325
+ var isBrowser$3 = typeof document !== "undefined";
7271
7326
  var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
7272
7327
  var previous = 0;
7273
7328
  var character = 0;
@@ -7440,7 +7495,7 @@ var prefixer = function prefixer(element, index, children, callback) {
7440
7495
  }
7441
7496
  }
7442
7497
  };
7443
- var getServerStylisCache = isBrowser$4 ? void 0 : weakMemoize(function() {
7498
+ var getServerStylisCache = isBrowser$3 ? void 0 : weakMemoize(function() {
7444
7499
  return memoize(function() {
7445
7500
  return {};
7446
7501
  });
@@ -7448,7 +7503,7 @@ var getServerStylisCache = isBrowser$4 ? void 0 : weakMemoize(function() {
7448
7503
  var defaultStylisPlugins = [prefixer];
7449
7504
  var createCache = function createCache(options) {
7450
7505
  var key = options.key;
7451
- if (isBrowser$4 && key === "css") {
7506
+ if (isBrowser$3 && key === "css") {
7452
7507
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
7453
7508
  Array.prototype.forEach.call(ssrStyles, function(node) {
7454
7509
  if (node.getAttribute("data-emotion").indexOf(" ") === -1) return;
@@ -7460,7 +7515,7 @@ var createCache = function createCache(options) {
7460
7515
  var inserted = {};
7461
7516
  var container;
7462
7517
  var nodesToHydrate = [];
7463
- if (isBrowser$4) {
7518
+ if (isBrowser$3) {
7464
7519
  container = options.container || document.head;
7465
7520
  Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function(node) {
7466
7521
  var attrib = node.getAttribute("data-emotion").split(" ");
@@ -7876,7 +7931,7 @@ var require_hoist_non_react_statics_cjs = /* @__PURE__ */ __commonJSMin(((export
7876
7931
  }));
7877
7932
  //#endregion
7878
7933
  //#region ../../../node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.esm.js
7879
- var isBrowser$3 = typeof document !== "undefined";
7934
+ var isBrowser$2 = typeof document !== "undefined";
7880
7935
  function getRegisteredStyles$1(registered, registeredStyles, classNames) {
7881
7936
  var rawClassName = "";
7882
7937
  classNames.split(" ").forEach(function(className) {
@@ -7887,7 +7942,7 @@ function getRegisteredStyles$1(registered, registeredStyles, classNames) {
7887
7942
  }
7888
7943
  var registerStyles = function registerStyles(cache, serialized, isStringTag) {
7889
7944
  var className = cache.key + "-" + serialized.name;
7890
- if ((isStringTag === false || isBrowser$3 === false && cache.compat !== void 0) && cache.registered[className] === void 0) cache.registered[className] = serialized.styles;
7945
+ if ((isStringTag === false || isBrowser$2 === false && cache.compat !== void 0) && cache.registered[className] === void 0) cache.registered[className] = serialized.styles;
7891
7946
  };
7892
7947
  var insertStyles = function insertStyles(cache, serialized, isStringTag) {
7893
7948
  registerStyles(cache, serialized, isStringTag);
@@ -7897,10 +7952,10 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
7897
7952
  var current = serialized;
7898
7953
  do {
7899
7954
  var maybeStyles = cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
7900
- if (!isBrowser$3 && maybeStyles !== void 0) stylesForSSR += maybeStyles;
7955
+ if (!isBrowser$2 && maybeStyles !== void 0) stylesForSSR += maybeStyles;
7901
7956
  current = current.next;
7902
7957
  } while (current !== void 0);
7903
- if (!isBrowser$3 && stylesForSSR.length !== 0) return stylesForSSR;
7958
+ if (!isBrowser$2 && stylesForSSR.length !== 0) return stylesForSSR;
7904
7959
  }
7905
7960
  };
7906
7961
  //#endregion
@@ -7978,7 +8033,7 @@ var unitlessKeys = {
7978
8033
  };
7979
8034
  //#endregion
7980
8035
  //#region ../../../node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
7981
- var isDevelopment$2 = false;
8036
+ var isDevelopment$1 = false;
7982
8037
  var hyphenateRegex = /[A-Z]|^ms/g;
7983
8038
  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
7984
8039
  var isCustomProperty = function isCustomProperty(property) {
@@ -8060,7 +8115,7 @@ function createStringFromObject(mergedProps, registered, obj) {
8060
8115
  if (registered != null && registered[asString] !== void 0) string += key + "{" + registered[asString] + "}";
8061
8116
  else if (isProcessableValue(asString)) string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
8062
8117
  } else {
8063
- if (key === "NO_COMPONENT_SELECTOR" && isDevelopment$2) throw new Error(noComponentSelectorMessage);
8118
+ if (key === "NO_COMPONENT_SELECTOR" && isDevelopment$1) throw new Error(noComponentSelectorMessage);
8064
8119
  if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
8065
8120
  for (var _i = 0; _i < value.length; _i++) if (isProcessableValue(value[_i])) string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
8066
8121
  } else {
@@ -8105,14 +8160,14 @@ function serializeStyles(args, registered, mergedProps) {
8105
8160
  }
8106
8161
  //#endregion
8107
8162
  //#region ../../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js
8108
- var isBrowser$2 = typeof document !== "undefined";
8163
+ var isBrowser$1 = typeof document !== "undefined";
8109
8164
  var syncFallback = function syncFallback(create) {
8110
8165
  return create();
8111
8166
  };
8112
8167
  var useInsertionEffect = react["useInsertionEffect"] ? react["useInsertionEffect"] : false;
8113
- var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
8168
+ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$1 ? syncFallback : useInsertionEffect || syncFallback;
8114
8169
  useInsertionEffect || react.useLayoutEffect;
8115
- var isBrowser$1 = typeof document !== "undefined";
8170
+ var isBrowser = typeof document !== "undefined";
8116
8171
  var EmotionCacheContext = /* #__PURE__ */ react.createContext(typeof HTMLElement !== "undefined" ? /* #__PURE__ */ createCache({ key: "css" }) : null);
8117
8172
  EmotionCacheContext.Provider;
8118
8173
  var __unsafe_useEmotionCache = function useEmotionCache() {
@@ -8123,7 +8178,7 @@ var withEmotionCache = function withEmotionCache(func) {
8123
8178
  return func(props, (0, react.useContext)(EmotionCacheContext), ref);
8124
8179
  });
8125
8180
  };
8126
- if (!isBrowser$1) withEmotionCache = function withEmotionCache(func) {
8181
+ if (!isBrowser) withEmotionCache = function withEmotionCache(func) {
8127
8182
  return function(props) {
8128
8183
  var cache = (0, react.useContext)(EmotionCacheContext);
8129
8184
  if (cache === null) {
@@ -8141,13 +8196,13 @@ var createEmotionProps = function createEmotionProps(type, props) {
8141
8196
  newProps[typePropName] = type;
8142
8197
  return newProps;
8143
8198
  };
8144
- var Insertion$1 = function Insertion(_ref) {
8199
+ var Insertion = function Insertion(_ref) {
8145
8200
  var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
8146
8201
  registerStyles(cache, serialized, isStringTag);
8147
8202
  var rules = useInsertionEffectAlwaysWithSyncFallback(function() {
8148
8203
  return insertStyles(cache, serialized, isStringTag);
8149
8204
  });
8150
- if (!isBrowser$1 && rules !== void 0) {
8205
+ if (!isBrowser && rules !== void 0) {
8151
8206
  var _ref2;
8152
8207
  var serializedNames = serialized.name;
8153
8208
  var next = serialized.next;
@@ -8173,7 +8228,7 @@ var Emotion$1 = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
8173
8228
  for (var _key2 in props) if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && true) newProps[_key2] = props[_key2];
8174
8229
  newProps.className = className;
8175
8230
  if (ref) newProps.ref = ref;
8176
- return /*#__PURE__*/ react.createElement(react.Fragment, null, /*#__PURE__*/ react.createElement(Insertion$1, {
8231
+ return /*#__PURE__*/ react.createElement(react.Fragment, null, /*#__PURE__*/ react.createElement(Insertion, {
8177
8232
  cache,
8178
8233
  serialized,
8179
8234
  isStringTag: typeof WrappedComponent === "string"
@@ -8298,7 +8353,7 @@ _createEmotion.css;
8298
8353
  _createEmotion.sheet;
8299
8354
  _createEmotion.cache;
8300
8355
  //#endregion
8301
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-cx.mjs
8356
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/hooks/use-cx.mjs
8302
8357
  var isSerializedStyles = (o) => typeof o !== "undefined" && o !== null && ["name", "styles"].every((p) => typeof o[p] !== "undefined");
8303
8358
  var useCx = () => {
8304
8359
  const cache = __unsafe_useEmotionCache();
@@ -8405,7 +8460,7 @@ function memize(fn, options) {
8405
8460
  return memoized;
8406
8461
  }
8407
8462
  //#endregion
8408
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/colors-values.mjs
8463
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/colors-values.mjs
8409
8464
  var white = "#fff";
8410
8465
  var GRAY = {
8411
8466
  900: "#1e1e1e",
@@ -8484,7 +8539,7 @@ var COLORS = Object.freeze({
8484
8539
  ui: UI
8485
8540
  });
8486
8541
  //#endregion
8487
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/config-values.mjs
8542
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/config-values.mjs
8488
8543
  var CONTROL_HEIGHT = "36px";
8489
8544
  var CONTROL_PROPS = {
8490
8545
  controlPaddingX: 12,
@@ -8526,20 +8581,13 @@ var config_values_default = Object.assign({}, CONTROL_PROPS, {
8526
8581
  fontSizeXSmall: "calc(0.75 * 13px)",
8527
8582
  fontLineHeightBase: "1.4",
8528
8583
  fontWeight: "normal",
8529
- fontWeightMedium: "499",
8530
- fontWeightHeading: "600",
8584
+ fontWeightEmphasis: "600",
8531
8585
  gridBase: "4px",
8532
8586
  elevationXSmall: `0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01)`,
8533
8587
  elevationSmall: `0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02)`,
8534
8588
  elevationMedium: `0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02)`,
8535
8589
  elevationLarge: `0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02)`,
8536
- surfaceBackgroundColor: COLORS.white,
8537
- surfaceBackgroundSubtleColor: "#F3F3F3",
8538
- surfaceBackgroundTintColor: "#F5F5F5",
8539
8590
  surfaceBorderColor: "rgba(0, 0, 0, 0.1)",
8540
- surfaceBorderBoldColor: "rgba(0, 0, 0, 0.15)",
8541
- surfaceBorderSubtleColor: "rgba(0, 0, 0, 0.05)",
8542
- surfaceBackgroundTertiaryColor: COLORS.white,
8543
8591
  surfaceColor: COLORS.white,
8544
8592
  transitionDuration: "200ms",
8545
8593
  transitionDurationFast: "160ms",
@@ -8596,10 +8644,10 @@ var require_es6 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8596
8644
  };
8597
8645
  }));
8598
8646
  //#endregion
8599
- //#region ../../../node_modules/.pnpm/@wordpress+warning@3.50.0/node_modules/@wordpress/warning/build-module/utils.mjs
8647
+ //#region ../../../node_modules/.pnpm/@wordpress+warning@3.51.0/node_modules/@wordpress/warning/build-module/utils.mjs
8600
8648
  var logged = /* @__PURE__ */ new Set();
8601
8649
  //#endregion
8602
- //#region ../../../node_modules/.pnpm/@wordpress+warning@3.50.0/node_modules/@wordpress/warning/build-module/index.mjs
8650
+ //#region ../../../node_modules/.pnpm/@wordpress+warning@3.51.0/node_modules/@wordpress/warning/build-module/index.mjs
8603
8651
  function isDev() {
8604
8652
  return globalThis.SCRIPT_DEBUG === true;
8605
8653
  }
@@ -8613,7 +8661,7 @@ function warning(message) {
8613
8661
  logged.add(message);
8614
8662
  }
8615
8663
  //#endregion
8616
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-system-provider.mjs
8664
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-system-provider.mjs
8617
8665
  var import_es6 = /* @__PURE__ */ __toESM(require_es6(), 1);
8618
8666
  var ComponentsContext = (0, react$1.createContext)(
8619
8667
  /** @type {Record<string, any>} */
@@ -8640,19 +8688,19 @@ var BaseContextSystemProvider = ({ children, value }) => {
8640
8688
  };
8641
8689
  (0, react$1.memo)(BaseContextSystemProvider);
8642
8690
  //#endregion
8643
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/constants.mjs
8691
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/constants.mjs
8644
8692
  var COMPONENT_NAMESPACE = "data-wp-component";
8645
8693
  var CONNECTED_NAMESPACE = "data-wp-c16t";
8646
8694
  var CONNECT_STATIC_NAMESPACE = "__contextSystemKey__";
8647
8695
  //#endregion
8648
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/get-styled-class-name-from-key.mjs
8696
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/get-styled-class-name-from-key.mjs
8649
8697
  var import_dist = require_dist();
8650
8698
  function getStyledClassName(namespace) {
8651
8699
  return `components-${(0, import_dist.paramCase)(namespace)}`;
8652
8700
  }
8653
8701
  var getStyledClassNameFromKey = memize(getStyledClassName);
8654
8702
  //#endregion
8655
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-connect.mjs
8703
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/context-connect.mjs
8656
8704
  function contextConnect(Component, namespace) {
8657
8705
  return _contextConnect(Component, namespace, { forwardsRef: true });
8658
8706
  }
@@ -8669,7 +8717,7 @@ function _contextConnect(Component, namespace, options) {
8669
8717
  });
8670
8718
  }
8671
8719
  //#endregion
8672
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/utils.mjs
8720
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/utils.mjs
8673
8721
  function getNamespace(componentName) {
8674
8722
  return { [COMPONENT_NAMESPACE]: componentName };
8675
8723
  }
@@ -8677,7 +8725,7 @@ function getConnectedNamespace() {
8677
8725
  return { [CONNECTED_NAMESPACE]: true };
8678
8726
  }
8679
8727
  //#endregion
8680
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/use-context-system.mjs
8728
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/context/use-context-system.mjs
8681
8729
  function useContextSystem(props, namespace) {
8682
8730
  const contextSystemProps = useComponentsContext();
8683
8731
  if (typeof namespace === "undefined") globalThis.SCRIPT_DEBUG === true && warning("useContextSystem: Please provide a namespace");
@@ -8697,7 +8745,7 @@ function useContextSystem(props, namespace) {
8697
8745
  return finalComponentProps;
8698
8746
  }
8699
8747
  //#endregion
8700
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/visually-hidden/styles.mjs
8748
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/visually-hidden/styles.mjs
8701
8749
  var visuallyHidden = {
8702
8750
  border: 0,
8703
8751
  clip: "rect(1px, 1px, 1px, 1px)",
@@ -8713,135 +8761,105 @@ var visuallyHidden = {
8713
8761
  wordBreak: "normal"
8714
8762
  };
8715
8763
  //#endregion
8716
- //#region ../../../node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
8717
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;
8718
- var isPropValid = /* #__PURE__ */ memoize(function(prop) {
8719
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91;
8720
- });
8721
- //#endregion
8722
- //#region ../../../node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@18.3.28_react@18.3.1__@types+react@18.3.28_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
8723
- var isBrowser = typeof document !== "undefined";
8724
- var isDevelopment = false;
8725
- var testOmitPropsOnStringTag = isPropValid;
8726
- var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
8727
- return key !== "theme";
8728
- };
8729
- var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
8730
- return typeof tag === "string" && tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
8731
- };
8732
- var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
8733
- var shouldForwardProp;
8734
- if (options) {
8735
- var optionsShouldForwardProp = options.shouldForwardProp;
8736
- shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function(propName) {
8737
- return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
8738
- } : optionsShouldForwardProp;
8739
- }
8740
- if (typeof shouldForwardProp !== "function" && isReal) shouldForwardProp = tag.__emotion_forwardProp;
8741
- return shouldForwardProp;
8742
- };
8743
- var Insertion = function Insertion(_ref) {
8744
- var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
8745
- registerStyles(cache, serialized, isStringTag);
8746
- var rules = useInsertionEffectAlwaysWithSyncFallback(function() {
8747
- return insertStyles(cache, serialized, isStringTag);
8764
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/polymorphic-element.mjs
8765
+ var customAttributeRegExp = /^(data|aria|x)-/i;
8766
+ var eventHandlerRegExp = /^on[A-Z]/;
8767
+ var svgElementNames = new Set(`animate animateMotion animateTransform circle clipPath defs desc ellipse
8768
+ feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix
8769
+ feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood
8770
+ feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode
8771
+ feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile
8772
+ feTurbulence filter foreignObject g image line linearGradient marker mask
8773
+ metadata mpath path pattern polygon polyline radialGradient rect set stop svg
8774
+ switch symbol text textPath tspan use view`.split(/\s+/));
8775
+ var baseElementProps = new Set(`children dangerouslySetInnerHTML key autoFocus defaultValue defaultChecked
8776
+ innerHTML suppressContentEditableWarning suppressHydrationWarning valueLink
8777
+ abbr accept acceptCharset accessKey action allow allowUserMedia
8778
+ allowPaymentRequest allowFullScreen allowTransparency alt async autoComplete
8779
+ autoPlay capture cellPadding cellSpacing challenge charSet checked cite classID
8780
+ className cols colSpan content contentEditable contextMenu controls controlsList
8781
+ coords crossOrigin data dateTime decoding default defer dir disabled
8782
+ disablePictureInPicture disableRemotePlayback download draggable encType
8783
+ enterKeyHint fetchpriority fetchPriority form formAction formEncType formMethod
8784
+ formNoValidate formTarget frameBorder headers height hidden high href hrefLang
8785
+ htmlFor httpEquiv id inputMode integrity is keyParams keyType kind label lang
8786
+ list loading loop low marginHeight marginWidth max maxLength media mediaGroup
8787
+ method min minLength multiple muted name nonce noValidate open optimum pattern
8788
+ placeholder playsInline popover popoverTarget popoverTargetAction poster
8789
+ preload profile radioGroup readOnly referrerPolicy rel required reversed role
8790
+ rows rowSpan sandbox scope scoped scrolling seamless selected shape size sizes
8791
+ slot span spellCheck src srcDoc srcLang srcSet start step style summary
8792
+ tabIndex target title translate type useMap value width wmode wrap about
8793
+ datatype inlist prefix property resource typeof vocab autoCapitalize
8794
+ autoCorrect autoSave color incremental fallback inert itemProp itemScope
8795
+ itemType itemID itemRef on option results security unselectable`.split(/\s+/));
8796
+ var svgElementProps = new Set(`accentHeight accumulate additive alignmentBaseline allowReorder alphabetic
8797
+ amplitude arabicForm ascent attributeName attributeType autoReverse azimuth
8798
+ baseFrequency baselineShift baseProfile bbox begin bias by calcMode capHeight
8799
+ clip clipPathUnits clipPath clipRule colorInterpolation
8800
+ colorInterpolationFilters colorProfile colorRendering contentScriptType
8801
+ contentStyleType cursor cx cy d decelerate descent diffuseConstant direction
8802
+ display divisor dominantBaseline dur dx dy edgeMode elevation enableBackground
8803
+ end exponent externalResourcesRequired fill fillOpacity fillRule filter
8804
+ filterRes filterUnits floodColor floodOpacity focusable fontFamily fontSize
8805
+ fontSizeAdjust fontStretch fontStyle fontVariant fontWeight format from fr fx
8806
+ fy g1 g2 glyphName glyphOrientationHorizontal glyphOrientationVertical
8807
+ glyphRef gradientTransform gradientUnits hanging horizAdvX horizOriginX
8808
+ ideographic imageRendering in in2 intercept k k1 k2 k3 k4 kernelMatrix
8809
+ kernelUnitLength kerning keyPoints keySplines keyTimes lengthAdjust
8810
+ letterSpacing lightingColor limitingConeAngle local markerEnd markerMid
8811
+ markerStart markerHeight markerUnits markerWidth mask maskContentUnits
8812
+ maskUnits mathematical mode numOctaves offset opacity operator order orient
8813
+ orientation origin overflow overlinePosition overlineThickness panose1
8814
+ paintOrder pathLength patternContentUnits patternTransform patternUnits
8815
+ pointerEvents points pointsAtX pointsAtY pointsAtZ preserveAlpha
8816
+ preserveAspectRatio primitiveUnits r radius refX refY renderingIntent
8817
+ repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate
8818
+ rx ry scale seed shapeRendering slope spacing specularConstant
8819
+ specularExponent speed spreadMethod startOffset stdDeviation stemh stemv
8820
+ stitchTiles stopColor stopOpacity strikethroughPosition strikethroughThickness
8821
+ string stroke strokeDasharray strokeDashoffset strokeLinecap strokeLinejoin
8822
+ strokeMiterlimit strokeOpacity strokeWidth surfaceScale systemLanguage
8823
+ tableValues targetX targetY textAnchor textDecoration textRendering textLength
8824
+ to transform u1 u2 underlinePosition underlineThickness unicode unicodeBidi
8825
+ unicodeRange unitsPerEm vAlphabetic vHanging vIdeographic vMathematical values
8826
+ vectorEffect version vertAdvY vertOriginX vertOriginY viewBox viewTarget
8827
+ visibility widths wordSpacing writingMode x xHeight x1 x2 xChannelSelector
8828
+ xlinkActuate xlinkArcrole xlinkHref xlinkRole xlinkShow xlinkTitle xlinkType
8829
+ xmlBase xmlns xmlnsXlink xmlLang xmlSpace y y1 y2 yChannelSelector z
8830
+ zoomAndPan`.split(/\s+/));
8831
+ var compatElementProps = /* @__PURE__ */ new Set([
8832
+ "autofocus",
8833
+ "class",
8834
+ "for"
8835
+ ]);
8836
+ function isValidIntrinsicElementProp(prop, element) {
8837
+ if (customAttributeRegExp.test(prop) || eventHandlerRegExp.test(prop)) return true;
8838
+ if (baseElementProps.has(prop) || compatElementProps.has(prop)) return true;
8839
+ return svgElementNames.has(element) && svgElementProps.has(prop);
8840
+ }
8841
+ function filterIntrinsicElementProps(props, element) {
8842
+ return Object.fromEntries(Object.entries(props).filter(([prop]) => isValidIntrinsicElementProp(prop, element)));
8843
+ }
8844
+ function UnforwardedPolymorphicElement({ as, ...props }, ref) {
8845
+ const Element = as || "div";
8846
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Element, {
8847
+ ref,
8848
+ ...typeof Element === "string" ? filterIntrinsicElementProps(props, Element) : props
8748
8849
  });
8749
- if (!isBrowser && rules !== void 0) {
8750
- var _ref2;
8751
- var serializedNames = serialized.name;
8752
- var next = serialized.next;
8753
- while (next !== void 0) {
8754
- serializedNames += " " + next.name;
8755
- next = next.next;
8756
- }
8757
- return /*#__PURE__*/ react.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = { __html: rules }, _ref2.nonce = cache.sheet.nonce, _ref2));
8758
- }
8759
- return null;
8760
- };
8850
+ }
8851
+ var PolymorphicElement = (0, react$1.forwardRef)(UnforwardedPolymorphicElement);
8761
8852
  //#endregion
8762
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/view/component.mjs
8763
- var PolymorphicDiv = /* @__PURE__ */ function createStyled(tag, options) {
8764
- var isReal = tag.__emotion_real === tag;
8765
- var baseTag = isReal && tag.__emotion_base || tag;
8766
- var identifierName;
8767
- var targetClassName;
8768
- if (options !== void 0) {
8769
- identifierName = options.label;
8770
- targetClassName = options.target;
8771
- }
8772
- var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
8773
- var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
8774
- var shouldUseAs = !defaultShouldForwardProp("as");
8775
- return function() {
8776
- var args = arguments;
8777
- var styles = isReal && tag.__emotion_styles !== void 0 ? tag.__emotion_styles.slice(0) : [];
8778
- if (identifierName !== void 0) styles.push("label:" + identifierName + ";");
8779
- if (args[0] == null || args[0].raw === void 0) styles.push.apply(styles, args);
8780
- else {
8781
- var templateStringsArr = args[0];
8782
- styles.push(templateStringsArr[0]);
8783
- var len = args.length;
8784
- var i = 1;
8785
- for (; i < len; i++) styles.push(args[i], templateStringsArr[i]);
8786
- }
8787
- var Styled = withEmotionCache(function(props, cache, ref) {
8788
- var FinalTag = shouldUseAs && props.as || baseTag;
8789
- var className = "";
8790
- var classInterpolations = [];
8791
- var mergedProps = props;
8792
- if (props.theme == null) {
8793
- mergedProps = {};
8794
- for (var key in props) mergedProps[key] = props[key];
8795
- mergedProps.theme = react.useContext(ThemeContext);
8796
- }
8797
- if (typeof props.className === "string") className = getRegisteredStyles$1(cache.registered, classInterpolations, props.className);
8798
- else if (props.className != null) className = props.className + " ";
8799
- var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
8800
- className += cache.key + "-" + serialized.name;
8801
- if (targetClassName !== void 0) className += " " + targetClassName;
8802
- var finalShouldForwardProp = shouldUseAs && shouldForwardProp === void 0 ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
8803
- var newProps = {};
8804
- for (var _key in props) {
8805
- if (shouldUseAs && _key === "as") continue;
8806
- if (finalShouldForwardProp(_key)) newProps[_key] = props[_key];
8807
- }
8808
- newProps.className = className;
8809
- if (ref) newProps.ref = ref;
8810
- return /*#__PURE__*/ react.createElement(react.Fragment, null, /*#__PURE__*/ react.createElement(Insertion, {
8811
- cache,
8812
- serialized,
8813
- isStringTag: typeof FinalTag === "string"
8814
- }), /*#__PURE__*/ react.createElement(FinalTag, newProps));
8815
- });
8816
- Styled.displayName = identifierName !== void 0 ? identifierName : "Styled(" + (typeof baseTag === "string" ? baseTag : baseTag.displayName || baseTag.name || "Component") + ")";
8817
- Styled.defaultProps = tag.defaultProps;
8818
- Styled.__emotion_real = Styled;
8819
- Styled.__emotion_base = baseTag;
8820
- Styled.__emotion_styles = styles;
8821
- Styled.__emotion_forwardProp = shouldForwardProp;
8822
- Object.defineProperty(Styled, "toString", { value: function value() {
8823
- if (targetClassName === void 0 && isDevelopment) return "NO_COMPONENT_SELECTOR";
8824
- return "." + targetClassName;
8825
- } });
8826
- Styled.withComponent = function(nextTag, nextOptions) {
8827
- return createStyled(nextTag, (0, _babel_runtime_helpers_esm_extends.default)({}, options, nextOptions, { shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true) })).apply(void 0, styles);
8828
- };
8829
- return Styled;
8830
- };
8831
- }("div", process.env.NODE_ENV === "production" ? { target: "e19lxcc00" } : {
8832
- target: "e19lxcc00",
8833
- label: "PolymorphicDiv"
8834
- })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZWlDIiwiZmlsZSI6ImNvbXBvbmVudC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBmb3J3YXJkUmVmIH0gZnJvbSAnQHdvcmRwcmVzcy9lbGVtZW50JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHR5cGUgeyBXb3JkUHJlc3NDb21wb25lbnRQcm9wcyB9IGZyb20gJy4uL2NvbnRleHQnO1xuXG5jb25zdCBQb2x5bW9ycGhpY0RpdiA9IHN0eWxlZC5kaXZgYDtcblxuZnVuY3Rpb24gVW5mb3J3YXJkZWRWaWV3PCBUIGV4dGVuZHMgUmVhY3QuRWxlbWVudFR5cGUgPSAnZGl2JyA+KFxuXHR7IGFzLCAuLi5yZXN0UHJvcHMgfTogV29yZFByZXNzQ29tcG9uZW50UHJvcHM8IHt9LCBUID4sXG5cdHJlZjogUmVhY3QuRm9yd2FyZGVkUmVmPCBhbnkgPlxuKSB7XG5cdHJldHVybiA8UG9seW1vcnBoaWNEaXYgYXM9eyBhcyB9IHJlZj17IHJlZiB9IHsgLi4ucmVzdFByb3BzIH0gLz47XG59XG5cbi8qKlxuICogYFZpZXdgIGlzIGEgY29yZSBjb21wb25lbnQgdGhhdCByZW5kZXJzIGV2ZXJ5dGhpbmcgaW4gdGhlIGxpYnJhcnkuXG4gKiBJdCBpcyB0aGUgcHJpbmNpcGxlIGNvbXBvbmVudCBpbiB0aGUgZW50aXJlIGxpYnJhcnkuXG4gKlxuICogYGBganN4XG4gKiBpbXBvcnQgeyBWaWV3IH0gZnJvbSBgQHdvcmRwcmVzcy9jb21wb25lbnRzYDtcbiAqXG4gKiBmdW5jdGlvbiBFeGFtcGxlKCkge1xuICogXHRyZXR1cm4gKFxuICogXHRcdDxWaWV3PlxuICogXHRcdFx0IENvZGUgaXMgUG9ldHJ5XG4gKiBcdFx0PC9WaWV3PlxuICogXHQpO1xuICogfVxuICogYGBgXG4gKi9cbmV4cG9ydCBjb25zdCBWaWV3ID0gT2JqZWN0LmFzc2lnbiggZm9yd2FyZFJlZiggVW5mb3J3YXJkZWRWaWV3ICksIHtcblx0c2VsZWN0b3I6ICcuY29tcG9uZW50cy12aWV3Jyxcbn0gKTtcblxuZXhwb3J0IGRlZmF1bHQgVmlldztcbiJdfQ== */");
8835
- function UnforwardedView({ as, ...restProps }, ref) {
8836
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PolymorphicDiv, {
8837
- as,
8853
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/view/component.mjs
8854
+ function UnforwardedView({ css, ...restProps }, ref) {
8855
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PolymorphicElement, {
8838
8856
  ref,
8839
8857
  ...restProps
8840
8858
  });
8841
8859
  }
8842
8860
  var component_default$2 = Object.assign((0, react$1.forwardRef)(UnforwardedView), { selector: ".components-view" });
8843
8861
  //#endregion
8844
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/visually-hidden/component.mjs
8862
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/visually-hidden/component.mjs
8845
8863
  function UnconnectedVisuallyHidden(props, forwardedRef) {
8846
8864
  const { style: styleProp, ...contextProps } = useContextSystem(props, "VisuallyHidden");
8847
8865
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(component_default$2, {
@@ -8856,7 +8874,7 @@ function UnconnectedVisuallyHidden(props, forwardedRef) {
8856
8874
  }
8857
8875
  var component_default$1 = contextConnect(UnconnectedVisuallyHidden, "VisuallyHidden");
8858
8876
  //#endregion
8859
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/use-responsive-value.mjs
8877
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/utils/use-responsive-value.mjs
8860
8878
  var breakpoints = [
8861
8879
  "40em",
8862
8880
  "52em",
@@ -8890,7 +8908,7 @@ function useResponsiveValue(values, options = {}) {
8890
8908
  return array[index >= array.length ? array.length - 1 : index];
8891
8909
  }
8892
8910
  //#endregion
8893
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/utils.mjs
8911
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/utils.mjs
8894
8912
  var ALIGNMENTS = {
8895
8913
  bottom: {
8896
8914
  alignItems: "flex-end",
@@ -8938,7 +8956,7 @@ function getAlignmentProps(alignment) {
8938
8956
  return alignment ? ALIGNMENTS[alignment] : {};
8939
8957
  }
8940
8958
  //#endregion
8941
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/hook.mjs
8959
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/hook.mjs
8942
8960
  function useGrid(props) {
8943
8961
  const { align, alignment, className, columnGap, columns = 2, gap = 3, isInline = false, justify, rowGap, rows, templateColumns, templateRows, ...otherProps } = useContextSystem(props, "Grid");
8944
8962
  const column = useResponsiveValue(Array.isArray(columns) ? columns : [columns]);
@@ -8980,7 +8998,7 @@ function useGrid(props) {
8980
8998
  };
8981
8999
  }
8982
9000
  //#endregion
8983
- //#region ../../../node_modules/.pnpm/@wordpress+components@36.1.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/component.mjs
9001
+ //#region ../../../node_modules/.pnpm/@wordpress+components@37.0.0_@types+react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wordpress/components/build-module/grid/component.mjs
8984
9002
  function UnconnectedGrid(props, forwardedRef) {
8985
9003
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(component_default$2, {
8986
9004
  ...useGrid(props),