@modelform/react-native 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -252,7 +252,7 @@
252
252
 
253
253
 
254
254
 
255
- var _chunkP4NMZ77Wjs = require('./chunk-P4NMZ77W.js');
255
+ var _chunk24ABPZKOjs = require('./chunk-24ABPZKO.js');
256
256
 
257
257
  // src/ui/theme.tsx
258
258
  var _react = require('react');
@@ -442,7 +442,7 @@ function DashboardProvider({ dashboard, resolve, refreshKey: externalKey = 0, on
442
442
  if (!dashboard.refresh) return;
443
443
  let ms;
444
444
  try {
445
- ms = _chunkP4NMZ77Wjs.parseDuration.call(void 0, dashboard.refresh);
445
+ ms = _chunk24ABPZKOjs.parseDuration.call(void 0, dashboard.refresh);
446
446
  } catch (e2) {
447
447
  return;
448
448
  }
@@ -450,7 +450,7 @@ function DashboardProvider({ dashboard, resolve, refreshKey: externalKey = 0, on
450
450
  return () => clearInterval(id);
451
451
  }, [dashboard.refresh, refresh]);
452
452
  const refreshKey = tick + externalKey;
453
- const range3 = _react.useMemo.call(void 0, () => _chunkP4NMZ77Wjs.parseRange.call(void 0, rawRange), [rawRange, refreshKey]);
453
+ const range3 = _react.useMemo.call(void 0, () => _chunk24ABPZKOjs.parseRange.call(void 0, rawRange), [rawRange, refreshKey]);
454
454
  const shared = _react.useMemo.call(void 0, () => /* @__PURE__ */ new Map(), [range3, vars.variables, vars.variableInfo]);
455
455
  const value = _react.useMemo.call(void 0,
456
456
  () => ({
@@ -487,8 +487,8 @@ function DashboardProvider({ dashboard, resolve, refreshKey: externalKey = 0, on
487
487
  ] });
488
488
  }
489
489
  function useDashboardVariables(dashboard, resolve, rawRange) {
490
- const [state, setState] = _react.useState.call(void 0, () => ({ values: _chunkP4NMZ77Wjs.initialVariableValues.call(void 0, dashboard), options: {}, errors: {} }));
491
- const [resolving, setResolving] = _react.useState.call(void 0, () => !!resolve && _chunkP4NMZ77Wjs.refreshedVariables.call(void 0, dashboard, "load").length > 0);
490
+ const [state, setState] = _react.useState.call(void 0, () => ({ values: _chunk24ABPZKOjs.initialVariableValues.call(void 0, dashboard), options: {}, errors: {} }));
491
+ const [resolving, setResolving] = _react.useState.call(void 0, () => !!resolve && _chunk24ABPZKOjs.refreshedVariables.call(void 0, dashboard, "load").length > 0);
492
492
  const [runKey, setRunKey] = _react.useState.call(void 0, 0);
493
493
  const pending = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
494
494
  const stateRef = _react.useRef.call(void 0, state);
@@ -521,7 +521,7 @@ function useDashboardVariables(dashboard, resolve, rawRange) {
521
521
  setState(update);
522
522
  setResolving(false);
523
523
  };
524
- _chunkP4NMZ77Wjs.resolveVariables.call(void 0, dashboard, { values, options, names, resolve: resolve2, range: _chunkP4NMZ77Wjs.parseRange.call(void 0, rawRange), signal: controller.signal }).then(
524
+ _chunk24ABPZKOjs.resolveVariables.call(void 0, dashboard, { values, options, names, resolve: resolve2, range: _chunk24ABPZKOjs.parseRange.call(void 0, rawRange), signal: controller.signal }).then(
525
525
  (res) => finish((s) => ({
526
526
  // Only the re-run variables change, so a pick made while this ran isn't overwritten.
527
527
  values: { ...s.values, ...Object.fromEntries([...names].filter((n) => n in res.values).map((n) => [n, res.values[n]])) },
@@ -535,11 +535,11 @@ function useDashboardVariables(dashboard, resolve, rawRange) {
535
535
  const [loadedDashboard, setLoadedDashboard] = _react.useState.call(void 0, dashboard);
536
536
  if (dashboard !== loadedDashboard) {
537
537
  setLoadedDashboard(dashboard);
538
- setState((s) => ({ ...s, values: { ..._chunkP4NMZ77Wjs.initialVariableValues.call(void 0, dashboard), ...s.values } }));
538
+ setState((s) => ({ ...s, values: { ..._chunk24ABPZKOjs.initialVariableValues.call(void 0, dashboard), ...s.values } }));
539
539
  }
540
540
  _react.useEffect.call(void 0, () => {
541
- const roots = _chunkP4NMZ77Wjs.refreshedVariables.call(void 0, dashboard, "load");
542
- schedule([...roots, ..._chunkP4NMZ77Wjs.variableDependents.call(void 0, dashboard, roots)]);
541
+ const roots = _chunk24ABPZKOjs.refreshedVariables.call(void 0, dashboard, "load");
542
+ schedule([...roots, ..._chunk24ABPZKOjs.variableDependents.call(void 0, dashboard, roots)]);
543
543
  }, [dashboard, schedule]);
544
544
  const mounted = _react.useRef.call(void 0, false);
545
545
  _react.useEffect.call(void 0, () => {
@@ -547,17 +547,17 @@ function useDashboardVariables(dashboard, resolve, rawRange) {
547
547
  mounted.current = true;
548
548
  return;
549
549
  }
550
- const roots = _chunkP4NMZ77Wjs.refreshedVariables.call(void 0, dashboard, "range");
551
- schedule([...roots, ..._chunkP4NMZ77Wjs.variableDependents.call(void 0, dashboard, roots)]);
550
+ const roots = _chunk24ABPZKOjs.refreshedVariables.call(void 0, dashboard, "range");
551
+ schedule([...roots, ..._chunk24ABPZKOjs.variableDependents.call(void 0, dashboard, roots)]);
552
552
  }, [rawRange]);
553
553
  const setVariable = _react.useCallback.call(void 0,
554
554
  (name, value) => {
555
555
  setState((s) => ({ ...s, values: { ...s.values, [name]: value } }));
556
- schedule(_chunkP4NMZ77Wjs.variableDependents.call(void 0, dashboard, [name]));
556
+ schedule(_chunk24ABPZKOjs.variableDependents.call(void 0, dashboard, [name]));
557
557
  },
558
558
  [dashboard, schedule]
559
559
  );
560
- const info = _react.useMemo.call(void 0, () => _chunkP4NMZ77Wjs.variableInfo.call(void 0, dashboard, state.options), [dashboard, state.options]);
560
+ const info = _react.useMemo.call(void 0, () => _chunk24ABPZKOjs.variableInfo.call(void 0, dashboard, state.options), [dashboard, state.options]);
561
561
  return _react.useMemo.call(void 0,
562
562
  () => ({
563
563
  variables: state.values,
@@ -587,7 +587,7 @@ function usePanelData(panel, widthPx, enabled = true) {
587
587
  _react.useEffect.call(void 0, () => {
588
588
  if (!enabled || !request || !variablesReady) return;
589
589
  const controller = new AbortController();
590
- _chunkP4NMZ77Wjs.queryPanel.call(void 0, request.panel, request.options, controller.signal).then((frames) => !controller.signal.aborted && setResult({ request, frames })).catch((e) => !controller.signal.aborted && setResult({ request, frames: [], error: String(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _5 => _5.message]), () => ( e))) }));
590
+ _chunk24ABPZKOjs.queryPanel.call(void 0, request.panel, request.options, controller.signal).then((frames) => !controller.signal.aborted && setResult({ request, frames })).catch((e) => !controller.signal.aborted && setResult({ request, frames: [], error: String(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _5 => _5.message]), () => ( e))) }));
591
591
  return () => controller.abort();
592
592
  }, [enabled, request, variablesReady]);
593
593
  if (!enabled) return IDLE;
@@ -597,7 +597,7 @@ function usePanelData(panel, widthPx, enabled = true) {
597
597
  function usePanelLinks(panel) {
598
598
  const { dashboard, variables, variableInfo: variableInfo2, range: range3, openLinks } = useDashboard();
599
599
  const resolve = _react.useCallback.call(void 0,
600
- (links, data) => _chunkP4NMZ77Wjs.resolveLinks.call(void 0, links, { dashboard, values: variables, info: variableInfo2, scoped: panel.scopedVars, range: range3, timezone: dashboard.timezone, data }),
600
+ (links, data) => _chunk24ABPZKOjs.resolveLinks.call(void 0, links, { dashboard, values: variables, info: variableInfo2, scoped: panel.scopedVars, range: range3, timezone: dashboard.timezone, data }),
601
601
  [dashboard, variables, variableInfo2, panel.scopedVars, range3]
602
602
  );
603
603
  return { resolve, openLinks };
@@ -638,7 +638,7 @@ var RenderBoundary = (_class = class extends _react.Component {constructor(...ar
638
638
 
639
639
  // src/ui/inputs/formContext.ts
640
640
 
641
- var groupKey = (g) => g.id != null ? `#${g.id}` : _chunkP4NMZ77Wjs.groupFields.call(void 0, g).map((f) => f.options.metric).join("|");
641
+ var groupKey = (g) => g.id != null ? `#${g.id}` : _chunk24ABPZKOjs.groupFields.call(void 0, g).map((f) => f.options.metric).join("|");
642
642
  var InputFormContext = _react.createContext.call(void 0, null);
643
643
  function useInputForm() {
644
644
  const v = _react.useContext.call(void 0, InputFormContext);
@@ -699,14 +699,14 @@ var ArrowIcon = ({ color, dir }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
699
699
  function displayExpr(expr) {
700
700
  if (expr.trim().startsWith("now")) return expr;
701
701
  try {
702
- return _chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, _chunkP4NMZ77Wjs.parseTime.call(void 0, expr));
702
+ return _chunk24ABPZKOjs.formatLocalDateTime.call(void 0, _chunk24ABPZKOjs.parseTime.call(void 0, expr));
703
703
  } catch (e3) {
704
704
  return expr;
705
705
  }
706
706
  }
707
707
  function tryParse(expr, roundUp, now = Date.now()) {
708
708
  try {
709
- return _chunkP4NMZ77Wjs.parseTime.call(void 0, expr, now, roundUp);
709
+ return _chunk24ABPZKOjs.parseTime.call(void 0, expr, now, roundUp);
710
710
  } catch (e4) {
711
711
  return null;
712
712
  }
@@ -720,7 +720,7 @@ function endOfDay(ms) {
720
720
  return new Date(d.getFullYear(), d.getMonth(), d.getDate() + 1).getTime() - 1e3;
721
721
  }
722
722
  function resolveTo(expr) {
723
- return /^\s*\d{4}-\d{1,2}-\d{1,2}\s*$/.test(expr) ? _chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, endOfDay(_chunkP4NMZ77Wjs.parseTime.call(void 0, expr))) : expr;
723
+ return /^\s*\d{4}-\d{1,2}-\d{1,2}\s*$/.test(expr) ? _chunk24ABPZKOjs.formatLocalDateTime.call(void 0, endOfDay(_chunk24ABPZKOjs.parseTime.call(void 0, expr))) : expr;
724
724
  }
725
725
  function TimeRangeSheet({ visible, value, onApply, onClose }) {
726
726
  const theme = useDashTheme();
@@ -731,12 +731,12 @@ function TimeRangeSheet({ visible, value, onApply, onClose }) {
731
731
  const [now] = _react.useState.call(void 0, () => Date.now());
732
732
  const [month, setMonth] = _react.useState.call(void 0, () => new Date(_nullishCoalesce(tryParse(value.from, false), () => ( now))));
733
733
  const fromMs = tryParse(from, false, now);
734
- const toMs = tryParse(_chunkP4NMZ77Wjs.timeExprError.call(void 0, to) ? to : resolveTo(to), true, now);
735
- const fromError = _chunkP4NMZ77Wjs.timeExprError.call(void 0, from);
736
- const toError = _chunkP4NMZ77Wjs.timeExprError.call(void 0, to);
734
+ const toMs = tryParse(_chunk24ABPZKOjs.timeExprError.call(void 0, to) ? to : resolveTo(to), true, now);
735
+ const fromError = _chunk24ABPZKOjs.timeExprError.call(void 0, from);
736
+ const toError = _chunk24ABPZKOjs.timeExprError.call(void 0, to);
737
737
  const orderError = fromMs != null && toMs != null && fromMs >= toMs ? "\u201CTo\u201D must be after \u201CFrom\u201D" : null;
738
738
  const valid = !fromError && !toError && !orderError;
739
- const normalize = (expr) => expr.trim().startsWith("now") ? expr.trim() : _chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, _chunkP4NMZ77Wjs.parseTime.call(void 0, expr));
739
+ const normalize = (expr) => expr.trim().startsWith("now") ? expr.trim() : _chunk24ABPZKOjs.formatLocalDateTime.call(void 0, _chunk24ABPZKOjs.parseTime.call(void 0, expr));
740
740
  const apply = () => {
741
741
  if (!valid) return;
742
742
  onApply({ from: normalize(from), to: normalize(resolveTo(to)) });
@@ -745,14 +745,14 @@ function TimeRangeSheet({ visible, value, onApply, onClose }) {
745
745
  const pickDay = (day) => {
746
746
  const end = endOfDay(day);
747
747
  if (active === "from") {
748
- setFrom(_chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, day));
749
- if (toMs == null || toMs <= day) setTo(_chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, end));
748
+ setFrom(_chunk24ABPZKOjs.formatLocalDateTime.call(void 0, day));
749
+ if (toMs == null || toMs <= day) setTo(_chunk24ABPZKOjs.formatLocalDateTime.call(void 0, end));
750
750
  setActive("to");
751
751
  } else if (fromMs != null && day < startOfDay(fromMs)) {
752
- setFrom(_chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, day));
753
- setTo(_chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, end));
752
+ setFrom(_chunk24ABPZKOjs.formatLocalDateTime.call(void 0, day));
753
+ setTo(_chunk24ABPZKOjs.formatLocalDateTime.call(void 0, end));
754
754
  } else {
755
- setTo(_chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, end));
755
+ setTo(_chunk24ABPZKOjs.formatLocalDateTime.call(void 0, end));
756
756
  }
757
757
  };
758
758
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -788,7 +788,7 @@ function TimeRangeSheet({ visible, value, onApply, onClose }) {
788
788
  }
789
789
  ),
790
790
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles3.sectionTitle, { color: theme.textSecondary }], children: "Relative ranges" }),
791
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: styles3.chips, children: _chunkP4NMZ77Wjs.RELATIVE_RANGES.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
791
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: styles3.chips, children: _chunk24ABPZKOjs.RELATIVE_RANGES.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
792
792
  Chip,
793
793
  {
794
794
  label: r.label,
@@ -932,17 +932,17 @@ var FilterIcon = ({ color }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _re
932
932
  var CalendarIcon = ({ color }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg2.default, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Path, { d: "M5 5h14a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zM4 10h16M8 3v4M16 3v4" }) });
933
933
  var ChevronIcon = ({ color, open }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg2.default, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Path, { d: open ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" }) });
934
934
  var CheckIcon = ({ color }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg2.default, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.4, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Path, { d: "M5 12.5l4.5 4.5L19 7" }) });
935
- function DashboardToolbar({ presets = _chunkP4NMZ77Wjs.TIME_PRESETS }) {
935
+ function DashboardToolbar({ presets = _chunk24ABPZKOjs.TIME_PRESETS }) {
936
936
  const theme = useDashTheme();
937
937
  const { dashboard, rawRange, setRawRange, variables, variableErrors } = useDashboard();
938
938
  const [filtersOpen, setFiltersOpen] = _react.useState.call(void 0, false);
939
939
  const [rangeOpen, setRangeOpen] = _react.useState.call(void 0, false);
940
940
  const [rangeKey, setRangeKey] = _react.useState.call(void 0, 0);
941
941
  const custom = !presets.some((p) => rawRange.from === p.from && rawRange.to === p.to);
942
- const vars = _chunkP4NMZ77Wjs.visibleVariables.call(void 0, dashboard);
942
+ const vars = _chunk24ABPZKOjs.visibleVariables.call(void 0, dashboard);
943
943
  const active = vars.filter((v) => {
944
944
  const cur = variables[v.name];
945
- return v.includeAll && cur != null && !(Array.isArray(cur) ? cur.includes(_chunkP4NMZ77Wjs.ALL) : cur === _chunkP4NMZ77Wjs.ALL);
945
+ return v.includeAll && cur != null && !(Array.isArray(cur) ? cur.includes(_chunk24ABPZKOjs.ALL) : cur === _chunk24ABPZKOjs.ALL);
946
946
  }).length;
947
947
  const hasError = vars.some((v) => variableErrors[v.name]);
948
948
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: styles4.toolbar, children: [
@@ -968,7 +968,7 @@ function DashboardToolbar({ presets = _chunkP4NMZ77Wjs.TIME_PRESETS }) {
968
968
  setRangeOpen(true);
969
969
  },
970
970
  accessibilityRole: "button",
971
- accessibilityLabel: custom ? `Time range, ${_chunkP4NMZ77Wjs.describeRange.call(void 0, rawRange)}` : "Custom time range",
971
+ accessibilityLabel: custom ? `Time range, ${_chunk24ABPZKOjs.describeRange.call(void 0, rawRange)}` : "Custom time range",
972
972
  style: ({ pressed }) => [
973
973
  custom ? styles4.rangeButton : styles4.iconButton,
974
974
  { borderColor: custom ? theme.accent : theme.border, backgroundColor: theme.surface },
@@ -976,7 +976,7 @@ function DashboardToolbar({ presets = _chunkP4NMZ77Wjs.TIME_PRESETS }) {
976
976
  ],
977
977
  children: [
978
978
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CalendarIcon, { color: custom ? theme.accent : theme.textSecondary }),
979
- custom && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles4.rangeLabel, { color: theme.accent }], numberOfLines: 1, children: _chunkP4NMZ77Wjs.describeRange.call(void 0, rawRange) })
979
+ custom && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles4.rangeLabel, { color: theme.accent }], numberOfLines: 1, children: _chunk24ABPZKOjs.describeRange.call(void 0, rawRange) })
980
980
  ]
981
981
  }
982
982
  ),
@@ -1032,14 +1032,14 @@ function FilterSection({ variable: v, open, onToggle }) {
1032
1032
  const theme = useDashTheme();
1033
1033
  const { variables, variableInfo: variableInfo2, variableErrors, variablesReady, setVariable } = useDashboard();
1034
1034
  const current = variables[v.name];
1035
- const summary = _chunkP4NMZ77Wjs.valueText.call(void 0, current, variableInfo2[v.name]) || (variablesReady ? "None" : "\u2026");
1036
- const options = [...v.includeAll ? [{ text: "All", value: _chunkP4NMZ77Wjs.ALL }] : [], ..._nullishCoalesce(_optionalChain([variableInfo2, 'access', _9 => _9[v.name], 'optionalAccess', _10 => _10.options]), () => ( []))];
1035
+ const summary = _chunk24ABPZKOjs.valueText.call(void 0, current, variableInfo2[v.name]) || (variablesReady ? "None" : "\u2026");
1036
+ const options = [...v.includeAll ? [{ text: "All", value: _chunk24ABPZKOjs.ALL }] : [], ..._nullishCoalesce(_optionalChain([variableInfo2, 'access', _9 => _9[v.name], 'optionalAccess', _10 => _10.options]), () => ( []))];
1037
1037
  const error = variableErrors[v.name];
1038
1038
  const choose = (value, selected) => {
1039
- if (v.multi && value !== _chunkP4NMZ77Wjs.ALL) {
1040
- const cur = (Array.isArray(current) ? current : [current]).filter((c) => c && c !== _chunkP4NMZ77Wjs.ALL);
1039
+ if (v.multi && value !== _chunk24ABPZKOjs.ALL) {
1040
+ const cur = (Array.isArray(current) ? current : [current]).filter((c) => c && c !== _chunk24ABPZKOjs.ALL);
1041
1041
  const next = selected ? cur.filter((c) => c !== value) : [...cur, value];
1042
- setVariable(v.name, next.length ? next : [_chunkP4NMZ77Wjs.ALL]);
1042
+ setVariable(v.name, next.length ? next : [_chunk24ABPZKOjs.ALL]);
1043
1043
  } else {
1044
1044
  setVariable(v.name, v.multi ? [value] : value);
1045
1045
  if (!v.multi) onToggle();
@@ -1179,7 +1179,7 @@ function barCategory(panel, frame) {
1179
1179
  }
1180
1180
  function categoryLabels(field) {
1181
1181
  if (field.type !== "time") return field.values.map((v) => v == null ? "" : String(v));
1182
- const times = field.values.map((v) => v == null ? null : _chunkP4NMZ77Wjs.toMillis.call(void 0, v));
1182
+ const times = field.values.map((v) => v == null ? null : _chunk24ABPZKOjs.toMillis.call(void 0, v));
1183
1183
  let step = Infinity;
1184
1184
  times.forEach((t, i) => {
1185
1185
  const prev = times[i - 1];
@@ -1225,19 +1225,19 @@ function formatTooltipTime(t) {
1225
1225
  return new Date(t).toLocaleString(void 0, { month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" });
1226
1226
  }
1227
1227
  function styledSeries(panel, frames, scheme) {
1228
- return styleSeries(panel, _chunkP4NMZ77Wjs.toSeries.call(void 0, frames), frames, scheme);
1228
+ return styleSeries(panel, _chunk24ABPZKOjs.toSeries.call(void 0, frames), frames, scheme);
1229
1229
  }
1230
1230
  function styledXYSeries(panel, frames, scheme) {
1231
- const { series, x } = _chunkP4NMZ77Wjs.toXYSeries.call(void 0, frames, _optionalChain([panel, 'access', _18 => _18.options, 'optionalAccess', _19 => _19.xField]) || void 0);
1232
- const xConfig = x ? _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, x.field, x.frame, x.field.name) : {};
1231
+ const { series, x } = _chunk24ABPZKOjs.toXYSeries.call(void 0, frames, _optionalChain([panel, 'access', _18 => _18.options, 'optionalAccess', _19 => _19.xField]) || void 0);
1232
+ const xConfig = x ? _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, x.field, x.frame, x.field.name) : {};
1233
1233
  return { series: styleSeries(panel, series, frames, scheme), xConfig };
1234
1234
  }
1235
1235
  function styleSeries(panel, series, frames, scheme) {
1236
1236
  const frameOf = /* @__PURE__ */ new Map();
1237
1237
  frames.forEach((f) => f.fields.forEach((field) => frameOf.set(field, f)));
1238
1238
  return series.map((s, i) => {
1239
- const config = _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, s.field, frameOf.get(s.field), s.name);
1240
- return { ...s, name: _nullishCoalesce(config.displayName, () => ( s.name)), config, color: _chunkP4NMZ77Wjs.seriesColor.call(void 0, i, scheme, config) };
1239
+ const config = _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, s.field, frameOf.get(s.field), s.name);
1240
+ return { ...s, name: _nullishCoalesce(config.displayName, () => ( s.name)), config, color: _chunk24ABPZKOjs.seriesColor.call(void 0, i, scheme, config) };
1241
1241
  });
1242
1242
  }
1243
1243
  function reducedValues(panel, frames, scheme) {
@@ -1245,30 +1245,30 @@ function reducedValues(panel, frames, scheme) {
1245
1245
  const out = [];
1246
1246
  const multiple = frames.length > 1;
1247
1247
  frames.forEach(
1248
- (frame, fi) => _chunkP4NMZ77Wjs.numberFields.call(void 0, frame).forEach((field) => {
1249
- const raw = _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, field, frame, multiple);
1250
- const config = _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, field, frame, raw);
1248
+ (frame, fi) => _chunk24ABPZKOjs.numberFields.call(void 0, frame).forEach((field) => {
1249
+ const raw = _chunk24ABPZKOjs.fieldDisplayName.call(void 0, field, frame, multiple);
1250
+ const config = _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, field, frame, raw);
1251
1251
  const values = field.values.map((v) => v == null ? null : Number(v));
1252
- const value = _chunkP4NMZ77Wjs.reduce.call(void 0, values, calc);
1253
- const color = _chunkP4NMZ77Wjs.seriesColor.call(void 0, out.length, scheme, config);
1254
- const step = _chunkP4NMZ77Wjs.thresholdStep.call(void 0, value, config);
1255
- const mapped = _chunkP4NMZ77Wjs.mappedResult.call(void 0, value, config);
1252
+ const value = _chunk24ABPZKOjs.reduce.call(void 0, values, calc);
1253
+ const color = _chunk24ABPZKOjs.seriesColor.call(void 0, out.length, scheme, config);
1254
+ const step = _chunk24ABPZKOjs.thresholdStep.call(void 0, value, config);
1255
+ const mapped = _chunk24ABPZKOjs.mappedResult.call(void 0, value, config);
1256
1256
  out.push({
1257
1257
  key: `${fi}/${field.name}/${JSON.stringify(_nullishCoalesce(field.labels, () => ( {})))}`,
1258
1258
  name: _nullishCoalesce(config.displayName, () => ( raw)),
1259
1259
  value,
1260
- text: _optionalChain([mapped, 'optionalAccess', _24 => _24.text]) || _chunkP4NMZ77Wjs.formatValue.call(void 0, value, config),
1260
+ text: _optionalChain([mapped, 'optionalAccess', _24 => _24.text]) || _chunk24ABPZKOjs.formatValue.call(void 0, value, config),
1261
1261
  mapped,
1262
1262
  config,
1263
1263
  color,
1264
- stateColor: _optionalChain([mapped, 'optionalAccess', _25 => _25.color]) ? _chunkP4NMZ77Wjs.resolveColor.call(void 0, mapped.color, color) : step ? _chunkP4NMZ77Wjs.resolveColor.call(void 0, step.color, color) : color,
1264
+ stateColor: _optionalChain([mapped, 'optionalAccess', _25 => _25.color]) ? _chunk24ABPZKOjs.resolveColor.call(void 0, mapped.color, color) : step ? _chunk24ABPZKOjs.resolveColor.call(void 0, step.color, color) : color,
1265
1265
  sparkline: values,
1266
1266
  field,
1267
1267
  frame
1268
1268
  });
1269
1269
  })
1270
1270
  );
1271
- return _chunkP4NMZ77Wjs.uniqueNames.call(void 0, out, (v) => v.field, frames);
1271
+ return _chunk24ABPZKOjs.uniqueNames.call(void 0, out, (v) => v.field, frames);
1272
1272
  }
1273
1273
  function yDomain(series, includeZero) {
1274
1274
  let min = Infinity;
@@ -1329,22 +1329,22 @@ function NoData({ message = "No data" }) {
1329
1329
  }
1330
1330
  function rowTooltipItems(panel, frame, row, multiple) {
1331
1331
  return frame.fields.flatMap((f) => {
1332
- const name = _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, f, frame, multiple);
1333
- const config = _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, f, frame, name);
1332
+ const name = _chunk24ABPZKOjs.fieldDisplayName.call(void 0, f, frame, multiple);
1333
+ const config = _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, f, frame, name);
1334
1334
  if (_optionalChain([config, 'access', _36 => _36.custom, 'optionalAccess', _37 => _37.hideFrom, 'optionalAccess', _38 => _38.tooltip])) return [];
1335
1335
  const v = f.values[row];
1336
- const value = v == null ? "\u2014" : f.type === "number" ? _chunkP4NMZ77Wjs.formatDisplay.call(void 0, Number(v), config) : f.type === "time" ? formatTooltipTime(_chunkP4NMZ77Wjs.toMillis.call(void 0, v)) : String(v);
1336
+ const value = v == null ? "\u2014" : f.type === "number" ? _chunk24ABPZKOjs.formatDisplay.call(void 0, Number(v), config) : f.type === "time" ? formatTooltipTime(_chunk24ABPZKOjs.toMillis.call(void 0, v)) : String(v);
1337
1337
  return [{ name: _nullishCoalesce(config.displayName, () => ( name)), value }];
1338
1338
  });
1339
1339
  }
1340
1340
  function rowLinks(panel, frame, row, multiple, resolve) {
1341
1341
  return mergeLinks(
1342
1342
  frame.fields.flatMap((f) => {
1343
- const name = _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, f, frame, multiple);
1344
- const config = _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, f, frame, name);
1343
+ const name = _chunk24ABPZKOjs.fieldDisplayName.call(void 0, f, frame, multiple);
1344
+ const config = _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, f, frame, name);
1345
1345
  if (!_optionalChain([config, 'access', _39 => _39.links, 'optionalAccess', _40 => _40.length])) return [];
1346
1346
  const v = f.values[row];
1347
- const text = v == null ? void 0 : f.type === "number" ? _chunkP4NMZ77Wjs.formatDisplay.call(void 0, Number(v), config) : String(v);
1347
+ const text = v == null ? void 0 : f.type === "number" ? _chunk24ABPZKOjs.formatDisplay.call(void 0, Number(v), config) : String(v);
1348
1348
  return [{ name: _nullishCoalesce(config.displayName, () => ( name)), links: resolve(config.links, { frame, row, field: f, fieldName: _nullishCoalesce(config.displayName, () => ( name)), value: v, text }) }];
1349
1349
  })
1350
1350
  );
@@ -1357,7 +1357,7 @@ function valueLinks(panel, v, resolve) {
1357
1357
  fieldName: v.name,
1358
1358
  seriesName: v.name,
1359
1359
  value: v.value,
1360
- text: _chunkP4NMZ77Wjs.formatValue.call(void 0, v.value, v.config),
1360
+ text: _chunk24ABPZKOjs.formatValue.call(void 0, v.value, v.config),
1361
1361
  calc: _nullishCoalesce(_optionalChain([panel, 'access', _44 => _44.options, 'optionalAccess', _45 => _45.reduceOptions, 'optionalAccess', _46 => _46.calcs, 'optionalAccess', _47 => _47[0]]), () => ( "lastNotNull"))
1362
1362
  });
1363
1363
  }
@@ -1482,10 +1482,10 @@ function useDictation(panel, value, onChange, choices) {
1482
1482
  try {
1483
1483
  mine = speech.start({
1484
1484
  lang: form.speechLang,
1485
- hints: _chunkP4NMZ77Wjs.dictationHints.call(void 0, panel, choices),
1485
+ hints: _chunk24ABPZKOjs.dictationHints.call(void 0, panel, choices),
1486
1486
  onText(text, final) {
1487
1487
  if (!final) return setHint(text ? `\u201C${text}\u201D` : null);
1488
- const result = _chunkP4NMZ77Wjs.spokenValue.call(void 0, panel, text, latest.current.value, latest.current.choices);
1488
+ const result = _chunk24ABPZKOjs.spokenValue.call(void 0, panel, text, latest.current.value, latest.current.choices);
1489
1489
  if ("value" in result) {
1490
1490
  latest.current.onChange(result.value);
1491
1491
  setHint(null);
@@ -1504,7 +1504,7 @@ function useDictation(panel, value, onChange, choices) {
1504
1504
  setOn(true);
1505
1505
  }
1506
1506
  };
1507
- return { available: !!speech && _chunkP4NMZ77Wjs.takesDictation.call(void 0, panel), listening: on, hint, toggle };
1507
+ return { available: !!speech && _chunk24ABPZKOjs.takesDictation.call(void 0, panel), listening: on, hint, toggle };
1508
1508
  }
1509
1509
  function MicButton({ dictation, title, label, size = 32 }) {
1510
1510
  const theme = useDashTheme();
@@ -1621,15 +1621,15 @@ function NumberInput({ panel, value, onChange }) {
1621
1621
  }
1622
1622
  function DurationInput({ panel, value, onChange }) {
1623
1623
  const theme = useDashTheme();
1624
- const toDigits = (v) => typeof v === "number" ? _chunkP4NMZ77Wjs.formatClock.call(void 0, v).replace(/\D/g, "").replace(/^0+/, "") : "";
1624
+ const toDigits = (v) => typeof v === "number" ? _chunk24ABPZKOjs.formatClock.call(void 0, v).replace(/\D/g, "").replace(/^0+/, "") : "";
1625
1625
  const [digits, setDigits] = _react.useState.call(void 0, toDigits(value));
1626
1626
  const [syncedValue, setSyncedValue] = _react.useState.call(void 0, value);
1627
1627
  if (value !== syncedValue) {
1628
1628
  setSyncedValue(value);
1629
- setDigits((d) => value == null ? _chunkP4NMZ77Wjs.parseClockDigits.call(void 0, d) == null ? d : "" : _chunkP4NMZ77Wjs.parseClockDigits.call(void 0, d) === value ? d : toDigits(value));
1629
+ setDigits((d) => value == null ? _chunk24ABPZKOjs.parseClockDigits.call(void 0, d) == null ? d : "" : _chunk24ABPZKOjs.parseClockDigits.call(void 0, d) === value ? d : toDigits(value));
1630
1630
  }
1631
1631
  const masked = digits ? maskClock(digits) : "";
1632
- const invalid = !!digits && _chunkP4NMZ77Wjs.parseClockDigits.call(void 0, digits) == null;
1632
+ const invalid = !!digits && _chunk24ABPZKOjs.parseClockDigits.call(void 0, digits) == null;
1633
1633
  const dictation = useDictation(panel, value, onChange);
1634
1634
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: styles7.dictated, children: [
1635
1635
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: [styles7.numberField, { borderColor: invalid ? theme.danger : theme.border }], children: [
@@ -1640,7 +1640,7 @@ function DurationInput({ panel, value, onChange }) {
1640
1640
  onChangeText: (t) => {
1641
1641
  const d = t.replace(/\D/g, "").replace(/^0+/, "").slice(0, 6);
1642
1642
  setDigits(d);
1643
- onChange(_chunkP4NMZ77Wjs.parseClockDigits.call(void 0, d));
1643
+ onChange(_chunk24ABPZKOjs.parseClockDigits.call(void 0, d));
1644
1644
  },
1645
1645
  keyboardType: "number-pad",
1646
1646
  placeholder: _nullishCoalesce(panel.options.placeholder, () => ( "00:00.00")),
@@ -1845,10 +1845,10 @@ function SuggestTextInput({ panel, value, onChange }) {
1845
1845
  }, [store, metric, suggestWith]);
1846
1846
  const withText = suggestWith ? form.value(suggestWith) : null;
1847
1847
  const own = entries.filter((e) => e.metric === metric);
1848
- const scoped = suggestWith && typeof withText === "string" && withText.trim() ? _chunkP4NMZ77Wjs.entriesSavedWith.call(void 0, entries, metric, suggestWith, withText) : [];
1848
+ const scoped = suggestWith && typeof withText === "string" && withText.trim() ? _chunk24ABPZKOjs.entriesSavedWith.call(void 0, entries, metric, suggestWith, withText) : [];
1849
1849
  const query = typed ? text : "";
1850
- const fromScoped = _chunkP4NMZ77Wjs.textSuggestions.call(void 0, scoped, query);
1851
- const suggestions = (fromScoped.length ? fromScoped : _chunkP4NMZ77Wjs.textSuggestions.call(void 0, own, query)).filter((s) => s.toLowerCase() !== text.trim().toLowerCase());
1850
+ const fromScoped = _chunk24ABPZKOjs.textSuggestions.call(void 0, scoped, query);
1851
+ const suggestions = (fromScoped.length ? fromScoped : _chunk24ABPZKOjs.textSuggestions.call(void 0, own, query)).filter((s) => s.toLowerCase() !== text.trim().toLowerCase());
1852
1852
  const dictation = useDictation(panel, value, (v) => {
1853
1853
  setTyped(false);
1854
1854
  onChange(v);
@@ -1895,7 +1895,7 @@ function CounterInput({ panel }) {
1895
1895
  const { metric, increment = 1, unit } = panel.options;
1896
1896
  const [today, setToday] = _react.useState.call(void 0, 0);
1897
1897
  _react.useEffect.call(void 0, () => {
1898
- const load = () => store.list({ metrics: [metric], from: _chunkP4NMZ77Wjs.startOf.call(void 0, /* @__PURE__ */ new Date(), "d").getTime() }).then((rows) => setToday(rows.reduce((a, e) => a + (_nullishCoalesce(e.value, () => ( 0))), 0)));
1898
+ const load = () => store.list({ metrics: [metric], from: _chunk24ABPZKOjs.startOf.call(void 0, /* @__PURE__ */ new Date(), "d").getTime() }).then((rows) => setToday(rows.reduce((a, e) => a + (_nullishCoalesce(e.value, () => ( 0))), 0)));
1899
1899
  load();
1900
1900
  return store.subscribe(load);
1901
1901
  }, [store, metric]);
@@ -1977,7 +1977,7 @@ function titleText(v) {
1977
1977
  function summaryText(f, v) {
1978
1978
  if (v == null || v === "" || Array.isArray(v) && !v.length) return void 0;
1979
1979
  if (f.type === "input-toggle") return v ? f.title || "Yes" : void 0;
1980
- if (f.type === "input-duration" && typeof v === "number") return _chunkP4NMZ77Wjs.formatClock.call(void 0, v);
1980
+ if (f.type === "input-duration" && typeof v === "number") return _chunk24ABPZKOjs.formatClock.call(void 0, v);
1981
1981
  if (f.type === "input-select" && f.options.choices) {
1982
1982
  const label = (x) => _nullishCoalesce(_optionalChain([f, 'access', _65 => _65.options, 'access', _66 => _66.choices, 'access', _67 => _67.find, 'call', _68 => _68((c) => c.value === x), 'optionalAccess', _69 => _69.label]), () => ( String(x)));
1983
1983
  return Array.isArray(v) ? v.map(label).join(", ") : label(v);
@@ -2008,7 +2008,7 @@ function InputGroupBody({ panel }) {
2008
2008
  }
2009
2009
  if (!group) return null;
2010
2010
  const label = panel.options.itemTitle || "Item";
2011
- const collapseFilled = (except) => setCollapsed(new Set(group.items.filter((i) => i.key !== except && !_chunkP4NMZ77Wjs.isEmptyItem.call(void 0, panel, i.values)).map((i) => i.key)));
2011
+ const collapseFilled = (except) => setCollapsed(new Set(group.items.filter((i) => i.key !== except && !_chunk24ABPZKOjs.isEmptyItem.call(void 0, panel, i.values)).map((i) => i.key)));
2012
2012
  const toggle = (key) => setCollapsed((c) => {
2013
2013
  const next = new Set(c);
2014
2014
  if (!next.delete(key)) next.add(key);
@@ -2046,7 +2046,7 @@ function InputGroupBody({ panel }) {
2046
2046
  group.items.map((item, i) => {
2047
2047
  const named = panel.options.titleFrom ? titleText(item.values[panel.options.titleFrom]) : void 0;
2048
2048
  const title = _nullishCoalesce(named, () => ( `${label} ${i + 1}`));
2049
- const troubled = _chunkP4NMZ77Wjs.groupFields.call(void 0, panel).some((f) => group.fieldProblem(i, f.options.metric));
2049
+ const troubled = _chunk24ABPZKOjs.groupFields.call(void 0, panel).some((f) => group.fieldProblem(i, f.options.metric));
2050
2050
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2051
2051
  ItemCard,
2052
2052
  {
@@ -2097,7 +2097,7 @@ function InputGroupBody({ panel }) {
2097
2097
  }
2098
2098
  function ItemCard({ panel, group, form, index, title, last, collapsed, onToggle, onDuplicate, dragOffset, lifted, onLayout, handle }) {
2099
2099
  const theme = useDashTheme();
2100
- const fields = _react.useMemo.call(void 0, () => _chunkP4NMZ77Wjs.groupFields.call(void 0, panel), [panel]);
2100
+ const fields = _react.useMemo.call(void 0, () => _chunk24ABPZKOjs.groupFields.call(void 0, panel), [panel]);
2101
2101
  const item = group.items[index];
2102
2102
  const scoped = _react.useMemo.call(void 0,
2103
2103
  () => ({
@@ -2317,7 +2317,7 @@ function BarGaugePanel({ panel, frames }) {
2317
2317
  const min = _nullishCoalesce(v.config.min, () => ( 0));
2318
2318
  const max = _nullishCoalesce(v.config.max, () => ( Math.max(...values.map((o) => _nullishCoalesce(o.value, () => ( 0))), 1)));
2319
2319
  const frac = v.value == null ? 0 : Math.min(1, Math.max(0, (v.value - min) / (max - min || 1)));
2320
- const color = v.config.thresholds || _optionalChain([v, 'access', _88 => _88.mapped, 'optionalAccess', _89 => _89.color]) ? v.stateColor : _chunkP4NMZ77Wjs.resolveColor.call(void 0, _optionalChain([v, 'access', _90 => _90.config, 'access', _91 => _91.color, 'optionalAccess', _92 => _92.fixedColor]), v.color);
2320
+ const color = v.config.thresholds || _optionalChain([v, 'access', _88 => _88.mapped, 'optionalAccess', _89 => _89.color]) ? v.stateColor : _chunk24ABPZKOjs.resolveColor.call(void 0, _optionalChain([v, 'access', _90 => _90.config, 'access', _91 => _91.color, 'optionalAccess', _92 => _92.fixedColor]), v.color);
2321
2321
  const hasLinks = !!_optionalChain([v, 'access', _93 => _93.config, 'access', _94 => _94.links, 'optionalAccess', _95 => _95.length]);
2322
2322
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2323
2323
  _reactnative.Pressable,
@@ -2498,7 +2498,7 @@ function geomapLayers(panel, frames, scheme, retina = false, gazetteers = {}) {
2498
2498
  const color = _nullishCoalesce(style.color, () => ( {}));
2499
2499
  const size = _nullishCoalesce(style.size, () => ( {}));
2500
2500
  const text = style.text;
2501
- const fixedColor = _chunkP4NMZ77Wjs.resolveColor.call(void 0, _nullishCoalesce(color.fixed, () => ( "dark-green")), "#37872D");
2501
+ const fixedColor = _chunk24ABPZKOjs.resolveColor.call(void 0, _nullishCoalesce(color.fixed, () => ( "dark-green")), "#37872D");
2502
2502
  const heat = layer.type === "heatmap";
2503
2503
  const weight = _nullishCoalesce(config.weight, () => ( {}));
2504
2504
  const legend = [];
@@ -2510,14 +2510,14 @@ function geomapLayers(panel, frames, scheme, retina = false, gazetteers = {}) {
2510
2510
  let { xs, ys } = located;
2511
2511
  if (layer.type === "lastPointTracker" && rows.length) [rows, xs, ys] = [rows.slice(-1), xs.slice(-1), ys.slice(-1)];
2512
2512
  const find = (field) => field ? fieldByName(frame, field, multiple) : void 0;
2513
- const configOf = (f) => _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, f, frame, _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, f, frame, multiple));
2513
+ const configOf = (f) => _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, f, frame, _chunk24ABPZKOjs.fieldDisplayName.call(void 0, f, frame, multiple));
2514
2514
  let colors = rows.map(() => fixedColor);
2515
2515
  const colorField = !heat ? find(color.field) : void 0;
2516
2516
  if (colorField) {
2517
2517
  const cConfig = configOf(colorField);
2518
2518
  const values = rows.map((i) => num(colorField.values[i]));
2519
2519
  const extent = range(values);
2520
- colors = values.map((v) => _chunkP4NMZ77Wjs.valueColor.call(void 0, v, cConfig, fixedColor, extent));
2520
+ colors = values.map((v) => _chunk24ABPZKOjs.valueColor.call(void 0, v, cConfig, fixedColor, extent));
2521
2521
  if (showsLegend(layer) && legend.length === 0) legend.push(...thresholdLegend(`${key}/${frames.indexOf(frame)}`, cConfig, fixedColor));
2522
2522
  }
2523
2523
  const dim = heat ? weight : size;
@@ -2575,8 +2575,8 @@ function thresholdLegend(key, config, fallback) {
2575
2575
  if (steps.length < 2) return [];
2576
2576
  return steps.map((s, i) => ({
2577
2577
  key: `${key}/${i}`,
2578
- name: s.value == null ? `< ${_chunkP4NMZ77Wjs.formatValue.call(void 0, steps[i + 1].value, config)}` : `${_chunkP4NMZ77Wjs.formatValue.call(void 0, s.value, config)}+`,
2579
- color: _chunkP4NMZ77Wjs.resolveColor.call(void 0, s.color, fallback)
2578
+ name: s.value == null ? `< ${_chunk24ABPZKOjs.formatValue.call(void 0, steps[i + 1].value, config)}` : `${_chunk24ABPZKOjs.formatValue.call(void 0, s.value, config)}+`,
2579
+ color: _chunk24ABPZKOjs.resolveColor.call(void 0, s.color, fallback)
2580
2580
  }));
2581
2581
  }
2582
2582
  var isDataLayer = (type) => type === "markers" || type === "heatmap" || type === "route" || type === "lastPointTracker";
@@ -2586,15 +2586,15 @@ function gazetteerPaths(panel, frames) {
2586
2586
  for (const layer of _nullishCoalesce(_optionalChain([panel, 'access', _113 => _113.options, 'optionalAccess', _114 => _114.layers]), () => ( DEFAULT_LAYERS))) {
2587
2587
  if (!isDataLayer(layer.type)) continue;
2588
2588
  const mode = _nullishCoalesce(_optionalChain([layer, 'access', _115 => _115.location, 'optionalAccess', _116 => _116.mode]), () => ( "auto"));
2589
- if (mode === "lookup") paths.add(_optionalChain([layer, 'access', _117 => _117.location, 'optionalAccess', _118 => _118.gazetteer]) || _chunkP4NMZ77Wjs.DEFAULT_GAZETTEER);
2590
- else if (mode === "auto" && frames.some(lookupField)) paths.add(_chunkP4NMZ77Wjs.DEFAULT_GAZETTEER);
2589
+ if (mode === "lookup") paths.add(_optionalChain([layer, 'access', _117 => _117.location, 'optionalAccess', _118 => _118.gazetteer]) || _chunk24ABPZKOjs.DEFAULT_GAZETTEER);
2590
+ else if (mode === "auto" && frames.some(lookupField)) paths.add(_chunk24ABPZKOjs.DEFAULT_GAZETTEER);
2591
2591
  }
2592
2592
  return [...paths];
2593
2593
  }
2594
2594
  var LAT_NAMES = ["lat", "latitude"];
2595
2595
  var LON_NAMES = ["lon", "lng", "long", "longitude"];
2596
2596
  function fieldByName(frame, name, multiple) {
2597
- return _nullishCoalesce(frame.fields.find((f) => f.name === name), () => ( frame.fields.find((f) => _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, f, frame, multiple) === name)));
2597
+ return _nullishCoalesce(frame.fields.find((f) => f.name === name), () => ( frame.fields.find((f) => _chunk24ABPZKOjs.fieldDisplayName.call(void 0, f, frame, multiple) === name)));
2598
2598
  }
2599
2599
  function locate2(frame, location = {}, gazetteers = {}) {
2600
2600
  const mode = _nullishCoalesce(location.mode, () => ( "auto"));
@@ -2613,10 +2613,10 @@ function locate2(frame, location = {}, gazetteers = {}) {
2613
2613
  lat = named(LAT_NAMES);
2614
2614
  lon = named(LON_NAMES);
2615
2615
  if (!lat || !lon) hash = named(["geohash"]);
2616
- if ((!lat || !lon) && !hash) [lookup, gazetteer] = [lookupField(frame), gazetteers[_chunkP4NMZ77Wjs.DEFAULT_GAZETTEER]];
2616
+ if ((!lat || !lon) && !hash) [lookup, gazetteer] = [lookupField(frame), gazetteers[_chunk24ABPZKOjs.DEFAULT_GAZETTEER]];
2617
2617
  } else if (mode === "lookup") {
2618
2618
  lookup = location.lookup ? fieldByName(frame, location.lookup, false) : lookupField(frame);
2619
- gazetteer = gazetteers[location.gazetteer || _chunkP4NMZ77Wjs.DEFAULT_GAZETTEER];
2619
+ gazetteer = gazetteers[location.gazetteer || _chunk24ABPZKOjs.DEFAULT_GAZETTEER];
2620
2620
  }
2621
2621
  const rows = [];
2622
2622
  const xs = [];
@@ -2665,8 +2665,8 @@ function decodeGeohash(hash) {
2665
2665
  }
2666
2666
  function cellText(field, v, config) {
2667
2667
  if (v == null) return "";
2668
- if (field.type === "number") return _chunkP4NMZ77Wjs.formatDisplay.call(void 0, Number(v), config);
2669
- if (field.type === "time") return new Date(_chunkP4NMZ77Wjs.toMillis.call(void 0, v)).toLocaleString();
2668
+ if (field.type === "number") return _chunk24ABPZKOjs.formatDisplay.call(void 0, Number(v), config);
2669
+ if (field.type === "time") return new Date(_chunk24ABPZKOjs.toMillis.call(void 0, v)).toLocaleString();
2670
2670
  return String(v);
2671
2671
  }
2672
2672
  function num(v) {
@@ -2916,11 +2916,11 @@ function useGazetteers(panel, frames) {
2916
2916
  let live = true;
2917
2917
  let ds;
2918
2918
  try {
2919
- ds = _optionalChain([resolve, 'optionalCall', _128 => _128(_chunkP4NMZ77Wjs.normalizeRef.call(void 0, panel.datasource))]);
2919
+ ds = _optionalChain([resolve, 'optionalCall', _128 => _128(_chunk24ABPZKOjs.normalizeRef.call(void 0, panel.datasource))]);
2920
2920
  } catch (e6) {
2921
2921
  }
2922
2922
  const paths = key.split("\n");
2923
- Promise.allSettled(paths.map((p) => _chunkP4NMZ77Wjs.loadGazetteer.call(void 0, p, ds))).then((results) => {
2923
+ Promise.allSettled(paths.map((p) => _chunk24ABPZKOjs.loadGazetteer.call(void 0, p, ds))).then((results) => {
2924
2924
  if (!live) return;
2925
2925
  const gazetteers = {};
2926
2926
  const errors = [];
@@ -3063,8 +3063,8 @@ function cellType(config) {
3063
3063
  }
3064
3064
  function tableColumns(panel, frame, multipleFrames = false) {
3065
3065
  return frame.fields.flatMap((field, i) => {
3066
- const raw = _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, field, frame, multipleFrames);
3067
- const config = _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, field, frame, raw);
3066
+ const raw = _chunk24ABPZKOjs.fieldDisplayName.call(void 0, field, frame, multipleFrames);
3067
+ const config = _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, field, frame, raw);
3068
3068
  const custom = _nullishCoalesce(config.custom, () => ( {}));
3069
3069
  if (custom.hidden || _optionalChain([custom, 'access', _138 => _138.hideFrom, 'optionalAccess', _139 => _139.viz])) return [];
3070
3070
  const numeric = field.type === "number";
@@ -3107,16 +3107,16 @@ function tableFooter(columns) {
3107
3107
  counted = true;
3108
3108
  return [{ label: "Count", text: String(c.field.values.length) }];
3109
3109
  }
3110
- if (!_chunkP4NMZ77Wjs.isReducer.call(void 0, r)) return [];
3111
- const label = _chunkP4NMZ77Wjs.REDUCER_LABELS[r];
3110
+ if (!_chunk24ABPZKOjs.isReducer.call(void 0, r)) return [];
3111
+ const label = _chunk24ABPZKOjs.REDUCER_LABELS[r];
3112
3112
  if (r === "count") return [{ label, text: String(c.field.values.length) }];
3113
3113
  if (c.field.type !== "number") {
3114
3114
  if (r === "distinctCount") return [{ label, text: String(new Set(c.field.values.filter((v) => v != null)).size) }];
3115
3115
  return [];
3116
3116
  }
3117
- const value = _chunkP4NMZ77Wjs.reduce.call(void 0, c.field.values.map((v) => v == null ? null : Number(v)), r);
3117
+ const value = _chunk24ABPZKOjs.reduce.call(void 0, c.field.values.map((v) => v == null ? null : Number(v)), r);
3118
3118
  const counts = r === "distinctCount" || r === "changeCount";
3119
- return [{ label, text: counts ? String(_nullishCoalesce(value, () => ( 0))) : _chunkP4NMZ77Wjs.formatValue.call(void 0, value, c.config) }];
3119
+ return [{ label, text: counts ? String(_nullishCoalesce(value, () => ( 0))) : _chunk24ABPZKOjs.formatValue.call(void 0, value, c.config) }];
3120
3120
  });
3121
3121
  return lines.length === 1 && lines[0].label !== "Count" ? [{ text: lines[0].text }] : lines;
3122
3122
  });
@@ -3135,13 +3135,13 @@ function extentOf(values) {
3135
3135
  }
3136
3136
  function cellDisplay(col, raw, fallbackColor) {
3137
3137
  const { config, field } = col;
3138
- const mapped = _chunkP4NMZ77Wjs.mappedResult.call(void 0, raw, config);
3138
+ const mapped = _chunk24ABPZKOjs.mappedResult.call(void 0, raw, config);
3139
3139
  const num4 = field.type === "number" && raw != null && Number.isFinite(Number(raw)) ? Number(raw) : null;
3140
- const text = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _153 => _153.text]), () => ( (raw == null ? _nullishCoalesce(config.noValue, () => ( "")) : field.type === "number" ? _chunkP4NMZ77Wjs.formatValue.call(void 0, num4, config) : field.type === "time" ? new Date(_chunkP4NMZ77Wjs.toMillis.call(void 0, raw)).toLocaleString() : String(raw))));
3140
+ const text = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _153 => _153.text]), () => ( (raw == null ? _nullishCoalesce(config.noValue, () => ( "")) : field.type === "number" ? _chunk24ABPZKOjs.formatValue.call(void 0, num4, config) : field.type === "time" ? new Date(_chunk24ABPZKOjs.toMillis.call(void 0, raw)).toLocaleString() : String(raw))));
3141
3141
  if (col.cellType === "auto") return { text };
3142
3142
  const mode = _optionalChain([config, 'access', _154 => _154.color, 'optionalAccess', _155 => _155.mode]);
3143
- const named = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _156 => _156.color]), () => ( (mode === "fixed" ? _optionalChain([config, 'access', _157 => _157.color, 'optionalAccess', _158 => _158.fixedColor]) : (!mode || mode === "thresholds") && num4 != null ? _optionalChain([_chunkP4NMZ77Wjs.thresholdStep.call(void 0, num4, config), 'optionalAccess', _159 => _159.color]) : void 0)));
3144
- const color = named === "text" ? void 0 : _optionalChain([mapped, 'optionalAccess', _160 => _160.color]) ? _chunkP4NMZ77Wjs.resolveColor.call(void 0, mapped.color, fallbackColor) : num4 == null ? void 0 : _chunkP4NMZ77Wjs.valueColor.call(void 0, num4, config, fallbackColor, col.extent);
3143
+ const named = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _156 => _156.color]), () => ( (mode === "fixed" ? _optionalChain([config, 'access', _157 => _157.color, 'optionalAccess', _158 => _158.fixedColor]) : (!mode || mode === "thresholds") && num4 != null ? _optionalChain([_chunk24ABPZKOjs.thresholdStep.call(void 0, num4, config), 'optionalAccess', _159 => _159.color]) : void 0)));
3144
+ const color = named === "text" ? void 0 : _optionalChain([mapped, 'optionalAccess', _160 => _160.color]) ? _chunk24ABPZKOjs.resolveColor.call(void 0, mapped.color, fallbackColor) : num4 == null ? void 0 : _chunk24ABPZKOjs.valueColor.call(void 0, num4, config, fallbackColor, col.extent);
3145
3145
  if (col.cellType === "color-text") return { text, color };
3146
3146
  if (col.cellType === "color-background") return { text, background: color };
3147
3147
  const min = _nullishCoalesce(config.min, () => ( Math.min(0, _nullishCoalesce(_optionalChain([col, 'access', _161 => _161.extent, 'optionalAccess', _162 => _162[0]]), () => ( 0)))));
@@ -3172,7 +3172,7 @@ function sortedRows(columns, length, sort) {
3172
3172
  if (!col) return rows;
3173
3173
  const { field } = col;
3174
3174
  const dir = sort.desc ? -1 : 1;
3175
- const key = (v) => field.type === "time" ? _chunkP4NMZ77Wjs.toMillis.call(void 0, v) : field.type === "number" || field.type === "boolean" ? Number(v) : v;
3175
+ const key = (v) => field.type === "time" ? _chunk24ABPZKOjs.toMillis.call(void 0, v) : field.type === "number" || field.type === "boolean" ? Number(v) : v;
3176
3176
  const empty = (v) => v == null || v === "" || typeof v === "number" && Number.isNaN(v);
3177
3177
  return rows.sort((a, b) => {
3178
3178
  const va = field.values[a];
@@ -3238,8 +3238,8 @@ function TablePanel({ panel, frames }) {
3238
3238
  const columns = _react.useMemo.call(void 0, () => frame ? tableColumns(panel, frame, frames.length > 1) : [], [panel, frame, frames.length]);
3239
3239
  const [tapped, setSort] = _react.useState.call(void 0, );
3240
3240
  const sort = tapped === void 0 ? initialSort(panel, columns) : tapped;
3241
- const order = _react.useMemo.call(void 0, () => sortedRows(columns, frame ? _chunkP4NMZ77Wjs.frameLength.call(void 0, frame) : 0, sort), [columns, frame, sort]);
3242
- if (!frame || !_chunkP4NMZ77Wjs.frameLength.call(void 0, frame)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoData, {});
3241
+ const order = _react.useMemo.call(void 0, () => sortedRows(columns, frame ? _chunk24ABPZKOjs.frameLength.call(void 0, frame) : 0, sort), [columns, frame, sort]);
3242
+ if (!frame || !_chunk24ABPZKOjs.frameLength.call(void 0, frame)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoData, {});
3243
3243
  const shown = order.slice(0, 500);
3244
3244
  const rowColumn = columns.find((c) => c.applyToRow);
3245
3245
  const footer = tableFooter(columns);
@@ -3339,7 +3339,7 @@ function BarChartPanel({ panel, frames, width }) {
3339
3339
  {
3340
3340
  style: [styles12.tick, { color: theme.textMuted, top: plot.height * (1 - barFraction(axis, t)) - 7 }, axis.side === "left" ? styles12.tickLeft : styles12.tickRight],
3341
3341
  numberOfLines: 1,
3342
- children: _chunkP4NMZ77Wjs.formatValue.call(void 0, t, { ...axis.config, decimals: tickDecimals(axis.ticks) })
3342
+ children: _chunk24ABPZKOjs.formatValue.call(void 0, t, { ...axis.config, decimals: tickDecimals(axis.ticks) })
3343
3343
  },
3344
3344
  t
3345
3345
  )) });
@@ -3465,7 +3465,7 @@ function TimeSeriesPanel({ panel, frames }) {
3465
3465
  const y = linearScale(yMin, yMax, PAD.top + plotH, PAD.top);
3466
3466
  const span = xTo - xFrom;
3467
3467
  const xTicks = numericX ? numberTicks(xFrom, xTo, plotW) : timeTicks(xFrom, xTo, plotW);
3468
- const xLabel = (t) => numericX ? _chunkP4NMZ77Wjs.formatValue.call(void 0, t, { ...xConfig, decimals: tickDecimals(xTicks) }) : formatTimeTick(t, span);
3468
+ const xLabel = (t) => numericX ? _chunk24ABPZKOjs.formatValue.call(void 0, t, { ...xConfig, decimals: tickDecimals(xTicks) }) : formatTimeTick(t, span);
3469
3469
  const unitConfig = series[0].config;
3470
3470
  const barSeries = series.filter((s) => style(s) === "bars");
3471
3471
  const pointsCount = Math.max(...series.map((s) => s.times.length));
@@ -3483,11 +3483,11 @@ function TimeSeriesPanel({ panel, frames }) {
3483
3483
  if (!pinch.current) pinch.current = { start: { from: xFrom, to: xTo }, dist, frac };
3484
3484
  const p = pinch.current;
3485
3485
  const limits = extent ? { minSpan: (extent[1] - extent[0]) / 1e3, maxSpan: extent[1] - extent[0], minFrom: extent[0], maxTo: extent[1] } : { maxTo: Math.max(Date.now(), p.start.to) };
3486
- setPreview(_chunkP4NMZ77Wjs.zoomRange.call(void 0, p.start, dist / p.dist, p.frac, frac, limits));
3486
+ setPreview(_chunk24ABPZKOjs.zoomRange.call(void 0, p.start, dist / p.dist, p.frac, frac, limits));
3487
3487
  };
3488
3488
  const onPinchEnd = (commit) => {
3489
3489
  if (commit && pinch.current && preview) {
3490
- if (!extent) setRawRange({ from: _chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, preview.from), to: _chunkP4NMZ77Wjs.formatLocalDateTime.call(void 0, preview.to) });
3490
+ if (!extent) setRawRange({ from: _chunk24ABPZKOjs.formatLocalDateTime.call(void 0, preview.from), to: _chunk24ABPZKOjs.formatLocalDateTime.call(void 0, preview.to) });
3491
3491
  else setXZoom(preview.to - preview.from >= extent[1] - extent[0] ? null : preview);
3492
3492
  }
3493
3493
  pinch.current = null;
@@ -3542,7 +3542,7 @@ function TimeSeriesPanel({ panel, frames }) {
3542
3542
  size.width > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnativesvg2.default, { width: size.width, height: size.height, children: [
3543
3543
  ticks.map((t) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnativesvg.G, { children: [
3544
3544
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Line, { x1: PAD.left, x2: PAD.left + plotW, y1: y(t), y2: y(t), stroke: theme.grid, strokeWidth: 1 }),
3545
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Text, { x: PAD.left - 6, y: y(t) + 3, fontSize: 10, fill: theme.textMuted, textAnchor: "end", children: _chunkP4NMZ77Wjs.formatValue.call(void 0, t, { ...unitConfig, decimals: tickDecimals(ticks) }) })
3545
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Text, { x: PAD.left - 6, y: y(t) + 3, fontSize: 10, fill: theme.textMuted, textAnchor: "end", children: _chunk24ABPZKOjs.formatValue.call(void 0, t, { ...unitConfig, decimals: tickDecimals(ticks) }) })
3546
3546
  ] }, t)),
3547
3547
  xTicks.map((t) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3548
3548
  _reactnativesvg.Text,
@@ -3608,11 +3608,11 @@ function TimeSeriesPanel({ panel, frames }) {
3608
3608
  x(hover.time) > size.width / 2 ? { right: size.width - x(hover.time) + 8 } : { left: x(hover.time) + 8 }
3609
3609
  ],
3610
3610
  children: [
3611
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles13.tooltipTime, { color: theme.textMuted }], children: numericX ? _chunkP4NMZ77Wjs.formatValue.call(void 0, hover.time, xConfig) : formatTooltipTime(hover.time) }),
3611
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles13.tooltipTime, { color: theme.textMuted }], children: numericX ? _chunk24ABPZKOjs.formatValue.call(void 0, hover.time, xConfig) : formatTooltipTime(hover.time) }),
3612
3612
  hover.rows.map((r) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: styles13.tooltipRow, children: [
3613
3613
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: [styles13.swatch, { backgroundColor: r.color }] }),
3614
3614
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles13.tooltipName, { color: theme.textSecondary }], numberOfLines: 1, children: r.name }),
3615
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles13.tooltipValue, { color: theme.text }], children: _chunkP4NMZ77Wjs.formatValue.call(void 0, r.value, r.config) })
3615
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles13.tooltipValue, { color: theme.text }], children: _chunk24ABPZKOjs.formatValue.call(void 0, r.value, r.config) })
3616
3616
  ] }, r.key)),
3617
3617
  isPinned && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipLinks, { links: hoverLinks, onOpen: (l) => openLinks([l]) })
3618
3618
  ]
@@ -3697,7 +3697,7 @@ function linkData(r, frames, xField) {
3697
3697
  if (frame && xField === void 0) {
3698
3698
  row = r.index;
3699
3699
  } else if (frame) {
3700
- const xf = _nullishCoalesce(frame.fields.find((f) => f.name === xField), () => ( _chunkP4NMZ77Wjs.numberFields.call(void 0, frame)[0]));
3700
+ const xf = _nullishCoalesce(frame.fields.find((f) => f.name === xField), () => ( _chunk24ABPZKOjs.numberFields.call(void 0, frame)[0]));
3701
3701
  const at = _optionalChain([xf, 'optionalAccess', _222 => _222.values, 'access', _223 => _223.findIndex, 'call', _224 => _224((v, k) => Number(v) === r.time && Number(r.series.field.values[k]) === r.value)]);
3702
3702
  row = at != null && at >= 0 ? at : void 0;
3703
3703
  }
@@ -3708,7 +3708,7 @@ function linkData(r, frames, xField) {
3708
3708
  fieldName: r.name,
3709
3709
  seriesName: r.name,
3710
3710
  value: r.value,
3711
- text: _chunkP4NMZ77Wjs.formatValue.call(void 0, r.value, r.config),
3711
+ text: _chunk24ABPZKOjs.formatValue.call(void 0, r.value, r.config),
3712
3712
  time: xField === void 0 ? r.time : void 0
3713
3713
  };
3714
3714
  }
@@ -3769,8 +3769,8 @@ function xySeries(panel, frames, scheme) {
3769
3769
  const { manual, series: maps, exclude } = mappings(panel);
3770
3770
  const multiple = frames.length > 1;
3771
3771
  const out = [];
3772
- const config = (field, frame) => _chunkP4NMZ77Wjs.resolveFieldConfig.call(void 0, panel, field, frame, _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, field, frame, multiple));
3773
- const find = (pick, frame, fields = frame.fields) => pick ? fields.filter((f) => _chunkP4NMZ77Wjs.fieldMatches.call(void 0, pick.matcher, f, frame, _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, f, frame, multiple))) : [];
3772
+ const config = (field, frame) => _chunk24ABPZKOjs.resolveFieldConfig.call(void 0, panel, field, frame, _chunk24ABPZKOjs.fieldDisplayName.call(void 0, field, frame, multiple));
3773
+ const find = (pick, frame, fields = frame.fields) => pick ? fields.filter((f) => _chunk24ABPZKOjs.fieldMatches.call(void 0, pick.matcher, f, frame, _chunk24ABPZKOjs.fieldDisplayName.call(void 0, f, frame, multiple))) : [];
3774
3774
  for (const [mi, m] of (maps.length ? maps : [{}]).entries()) {
3775
3775
  const matcher = _optionalChain([m, 'access', _235 => _235.frame, 'optionalAccess', _236 => _236.matcher]);
3776
3776
  const chosen = _optionalChain([matcher, 'optionalAccess', _237 => _237.id]) === "byIndex" ? frames.filter((_, i) => i === matcher.options) : frames;
@@ -3786,16 +3786,16 @@ function xySeries(panel, frames, scheme) {
3786
3786
  const yConfig = config(yField, frame);
3787
3787
  if (_optionalChain([yConfig, 'access', _238 => _238.custom, 'optionalAccess', _239 => _239.hideFrom, 'optionalAccess', _240 => _240.viz]) && !manual) continue;
3788
3788
  const xConfig = config(xField, frame);
3789
- const color = _chunkP4NMZ77Wjs.seriesColor.call(void 0, out.length, scheme, yConfig);
3790
- const base = _optionalChain([yConfig, 'access', _241 => _241.color, 'optionalAccess', _242 => _242.mode]) === "thresholds" ? _chunkP4NMZ77Wjs.valueColor.call(void 0, null, yConfig, color) : color;
3789
+ const color = _chunk24ABPZKOjs.seriesColor.call(void 0, out.length, scheme, yConfig);
3790
+ const base = _optionalChain([yConfig, 'access', _241 => _241.color, 'optionalAccess', _242 => _242.mode]) === "thresholds" ? _chunk24ABPZKOjs.valueColor.call(void 0, null, yConfig, color) : color;
3791
3791
  const rows = [];
3792
3792
  const xs = [];
3793
3793
  const ys = [];
3794
3794
  yField.values.forEach((yv, i) => {
3795
3795
  const xv = xField.values[i];
3796
3796
  if (xv == null || yv == null) return;
3797
- const xn = xField.type === "time" ? _chunkP4NMZ77Wjs.toMillis.call(void 0, xv) : Number(xv);
3798
- const yn = yField.type === "time" ? _chunkP4NMZ77Wjs.toMillis.call(void 0, yv) : Number(yv);
3797
+ const xn = xField.type === "time" ? _chunk24ABPZKOjs.toMillis.call(void 0, xv) : Number(xv);
3798
+ const yn = yField.type === "time" ? _chunk24ABPZKOjs.toMillis.call(void 0, yv) : Number(yv);
3799
3799
  if (!Number.isFinite(xn) || !Number.isFinite(yn)) return;
3800
3800
  rows.push(i);
3801
3801
  xs.push(xn);
@@ -3808,7 +3808,7 @@ function xySeries(panel, frames, scheme) {
3808
3808
  const cConfig = config(colorField, frame);
3809
3809
  const values = rows.map((i) => num3(colorField.values[i]));
3810
3810
  const extent = range2(values);
3811
- colors = values.map((v) => _chunkP4NMZ77Wjs.valueColor.call(void 0, v, cConfig, base, extent));
3811
+ colors = values.map((v) => _chunk24ABPZKOjs.valueColor.call(void 0, v, cConfig, base, extent));
3812
3812
  }
3813
3813
  let sizes = rows.map(() => fixedSize);
3814
3814
  if (sizeField) {
@@ -3818,7 +3818,7 @@ function xySeries(panel, frames, scheme) {
3818
3818
  sizes = values.map((v) => v == null ? min : min + (v - lo) / (hi - lo || 1) * (max - min));
3819
3819
  }
3820
3820
  const fixedName = _optionalChain([m, 'access', _254 => _254.name, 'optionalAccess', _255 => _255.fixed]);
3821
- const yName = _nullishCoalesce(yConfig.displayName, () => ( _chunkP4NMZ77Wjs.fieldDisplayName.call(void 0, yField, frame, multiple)));
3821
+ const yName = _nullishCoalesce(yConfig.displayName, () => ( _chunk24ABPZKOjs.fieldDisplayName.call(void 0, yField, frame, multiple)));
3822
3822
  out.push({
3823
3823
  key: `${mi}/${frames.indexOf(frame)}/${yField.name}`,
3824
3824
  name: fixedName ? yFields.length > 1 ? `${fixedName} ${yName}` : fixedName : yName,
@@ -3941,7 +3941,7 @@ function XYChartPanel({ panel, frames }) {
3941
3941
  size.width > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnativesvg2.default, { width: size.width, height: size.height, children: [
3942
3942
  yTicks.map((t) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnativesvg.G, { children: [
3943
3943
  gridY && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Line, { x1: pad.left, x2: pad.left + plotW, y1: layout.y(t), y2: layout.y(t), stroke: theme.grid, strokeWidth: 1 }),
3944
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Text, { x: pad.left - 6, y: layout.y(t) + 3, fontSize: 10, fill: theme.textMuted, textAnchor: "end", children: _chunkP4NMZ77Wjs.formatValue.call(void 0, t, { ...first.yConfig, decimals: _nullishCoalesce(first.yConfig.decimals, () => ( tickDecimals(yTicks))) }) })
3944
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Text, { x: pad.left - 6, y: layout.y(t) + 3, fontSize: 10, fill: theme.textMuted, textAnchor: "end", children: _chunk24ABPZKOjs.formatValue.call(void 0, t, { ...first.yConfig, decimals: _nullishCoalesce(first.yConfig.decimals, () => ( tickDecimals(yTicks))) }) })
3945
3945
  ] }, `y${t}`)),
3946
3946
  xTicks.map((t) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnativesvg.G, { children: [
3947
3947
  gridX && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativesvg.Line, { x1: layout.x(t), x2: layout.x(t), y1: pad.top, y2: pad.top + plotH, stroke: theme.grid, strokeWidth: 1 }),
@@ -3953,7 +3953,7 @@ function XYChartPanel({ panel, frames }) {
3953
3953
  fontSize: 10,
3954
3954
  fill: theme.textMuted,
3955
3955
  textAnchor: layout.x(t) - pad.left < 20 ? "start" : pad.left + plotW - layout.x(t) < 20 ? "end" : "middle",
3956
- children: _chunkP4NMZ77Wjs.formatValue.call(void 0, t, { ...first.xConfig, decimals: _nullishCoalesce(first.xConfig.decimals, () => ( tickDecimals(xTicks))) })
3956
+ children: _chunk24ABPZKOjs.formatValue.call(void 0, t, { ...first.xConfig, decimals: _nullishCoalesce(first.xConfig.decimals, () => ( tickDecimals(xTicks))) })
3957
3957
  }
3958
3958
  )
3959
3959
  ] }, `x${t}`)),
@@ -4066,14 +4066,14 @@ function DashboardView({ mode = "auto", header, footer, refreshable }) {
4066
4066
  const width = (measured.width || window.width) - insets.left - insets.right;
4067
4067
  const layoutMode = mode === "auto" ? width >= TABLET_WIDTH ? "grid" : "phone" : mode;
4068
4068
  const sections = _react.useMemo.call(void 0,
4069
- () => _chunkP4NMZ77Wjs.layoutDashboard.call(void 0, dashboard, layoutMode, { values: variables, info: variableInfo2 }),
4069
+ () => _chunk24ABPZKOjs.layoutDashboard.call(void 0, dashboard, layoutMode, { values: variables, info: variableInfo2 }),
4070
4070
  [dashboard, layoutMode, variables, variableInfo2]
4071
4071
  );
4072
4072
  const [toggled, setToggled] = _react.useState.call(void 0, {});
4073
4073
  const { seen, viewportH, onScroll, onViewportLayout, onSectionLayout } = useSeenSections(window.height);
4074
4074
  const maxPanelH = Math.max(MIN_PANEL_H, viewportH - SIDE * 2);
4075
4075
  const contentW = width - SIDE * 2;
4076
- const canRefresh = _nullishCoalesce(refreshable, () => ( dashboard.panels.some((p) => _chunkP4NMZ77Wjs.panelHasQueries.call(void 0, p) || _optionalChain([p, 'access', _278 => _278.panels, 'optionalAccess', _279 => _279.some, 'call', _280 => _280(_chunkP4NMZ77Wjs.panelHasQueries)]))));
4076
+ const canRefresh = _nullishCoalesce(refreshable, () => ( dashboard.panels.some((p) => _chunk24ABPZKOjs.panelHasQueries.call(void 0, p) || _optionalChain([p, 'access', _278 => _278.panels, 'optionalAccess', _279 => _279.some, 'call', _280 => _280(_chunk24ABPZKOjs.panelHasQueries)]))));
4077
4077
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: [styles15.fill, { backgroundColor: theme.background }], onLayout, children: [
4078
4078
  width > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4079
4079
  _reactnative.ScrollView,
@@ -4099,14 +4099,14 @@ function DashboardView({ mode = "auto", header, footer, refreshable }) {
4099
4099
  accessibilityState: { expanded: !collapsed },
4100
4100
  children: [
4101
4101
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles15.chevron, { color: theme.textMuted }], children: collapsed ? "\u25B8" : "\u25BE" }),
4102
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles15.rowTitle, { color: theme.text }], numberOfLines: 2, children: _chunkP4NMZ77Wjs.interpolate.call(void 0, _nullishCoalesce(section.row.title, () => ( "")), { values: variables, info: variableInfo2, scoped: section.row.scopedVars, timezone: dashboard.timezone }) })
4102
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles15.rowTitle, { color: theme.text }], numberOfLines: 2, children: _chunk24ABPZKOjs.interpolate.call(void 0, _nullishCoalesce(section.row.title, () => ( "")), { values: variables, info: variableInfo2, scoped: section.row.scopedVars, timezone: dashboard.timezone }) })
4103
4103
  ]
4104
4104
  }
4105
4105
  ),
4106
4106
  !collapsed && layoutMode === "grid" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GridSection, { grid: section.grid, width: contentW, maxPanelH, deferred: !seen.has(section.key) }),
4107
4107
  !collapsed && layoutMode === "phone" && section.rows.map((row, ri) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: styles15.row, children: row.cells.map((cell) => {
4108
- const w = (contentW + GAP2) * (cell.span / _chunkP4NMZ77Wjs.GRID_COLUMNS) - GAP2;
4109
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PanelCard, { panel: cell.panel, width: w, height: Math.min(_chunkP4NMZ77Wjs.gridUnitsToPx.call(void 0, row.h), maxPanelH), deferred: !seen.has(section.key) }, cell.key);
4108
+ const w = (contentW + GAP2) * (cell.span / _chunk24ABPZKOjs.GRID_COLUMNS) - GAP2;
4109
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PanelCard, { panel: cell.panel, width: w, height: Math.min(_chunk24ABPZKOjs.gridUnitsToPx.call(void 0, row.h), maxPanelH), deferred: !seen.has(section.key) }, cell.key);
4110
4110
  }) }, ri))
4111
4111
  ] }, section.key);
4112
4112
  })
@@ -4117,10 +4117,10 @@ function DashboardView({ mode = "auto", header, footer, refreshable }) {
4117
4117
  ] });
4118
4118
  }
4119
4119
  function GridSection({ grid, width, maxPanelH, deferred }) {
4120
- const colW = (width + GAP2) / _chunkP4NMZ77Wjs.GRID_COLUMNS;
4121
- const tallest = Math.max(0, ...grid.cells.map((c) => _chunkP4NMZ77Wjs.gridUnitsToPx.call(void 0, c.h)));
4120
+ const colW = (width + GAP2) / _chunk24ABPZKOjs.GRID_COLUMNS;
4121
+ const tallest = Math.max(0, ...grid.cells.map((c) => _chunk24ABPZKOjs.gridUnitsToPx.call(void 0, c.h)));
4122
4122
  const scale = tallest > maxPanelH ? maxPanelH / tallest : 1;
4123
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: { height: _chunkP4NMZ77Wjs.gridUnitsToPx.call(void 0, grid.h) * scale }, children: grid.cells.map((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: [styles15.gridCell, { left: cell.x * colW, top: _chunkP4NMZ77Wjs.gridOffsetPx.call(void 0, cell.y) * scale }], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PanelCard, { panel: cell.panel, width: cell.w * colW - GAP2, height: _chunkP4NMZ77Wjs.gridUnitsToPx.call(void 0, cell.h) * scale, deferred }) }, cell.key)) });
4123
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: { height: _chunk24ABPZKOjs.gridUnitsToPx.call(void 0, grid.h) * scale }, children: grid.cells.map((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: [styles15.gridCell, { left: cell.x * colW, top: _chunk24ABPZKOjs.gridOffsetPx.call(void 0, cell.y) * scale }], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PanelCard, { panel: cell.panel, width: cell.w * colW - GAP2, height: _chunk24ABPZKOjs.gridUnitsToPx.call(void 0, cell.h) * scale, deferred }) }, cell.key)) });
4124
4124
  }
4125
4125
  function useSeenSections(viewportHeight) {
4126
4126
  const [seen, setSeen] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
@@ -4179,14 +4179,14 @@ function PanelCardContent({ panel, width, height, deferred }) {
4179
4179
  const theme = useDashTheme();
4180
4180
  const { dashboard, variables, variableInfo: variableInfo2 } = useDashboard();
4181
4181
  const { resolve, openLinks } = usePanelLinks(panel);
4182
- const group = _chunkP4NMZ77Wjs.isInputGroup.call(void 0, panel);
4183
- const input = _chunkP4NMZ77Wjs.isInputPanel.call(void 0, panel) || group;
4182
+ const group = _chunk24ABPZKOjs.isInputGroup.call(void 0, panel);
4183
+ const input = _chunk24ABPZKOjs.isInputPanel.call(void 0, panel) || group;
4184
4184
  const form = _react.useContext.call(void 0, InputFormContext);
4185
- const problem = group ? _optionalChain([form, 'optionalAccess', _281 => _281.group, 'optionalCall', _282 => _282(panel), 'optionalAccess', _283 => _283.problem]) : _chunkP4NMZ77Wjs.isInputPanel.call(void 0, panel) ? _optionalChain([form, 'optionalAccess', _284 => _284.problem, 'optionalCall', _285 => _285(panel.options.metric)]) : void 0;
4185
+ const problem = group ? _optionalChain([form, 'optionalAccess', _281 => _281.group, 'optionalCall', _282 => _282(panel), 'optionalAccess', _283 => _283.problem]) : _chunk24ABPZKOjs.isInputPanel.call(void 0, panel) ? _optionalChain([form, 'optionalAccess', _284 => _284.problem, 'optionalCall', _285 => _285(panel.options.metric)]) : void 0;
4186
4186
  const hasLinks = !!_optionalChain([panel, 'access', _286 => _286.links, 'optionalAccess', _287 => _287.length]);
4187
- const filled = !group && _chunkP4NMZ77Wjs.isInputPanel.call(void 0, panel) && !!_optionalChain([form, 'optionalAccess', _288 => _288.filled, 'optionalCall', _289 => _289(panel.options.metric)]);
4187
+ const filled = !group && _chunk24ABPZKOjs.isInputPanel.call(void 0, panel) && !!_optionalChain([form, 'optionalAccess', _288 => _288.filled, 'optionalCall', _289 => _289(panel.options.metric)]);
4188
4188
  const hasTitle = !!panel.title || hasLinks || !!problem || filled;
4189
- const title = panel.title ? _chunkP4NMZ77Wjs.interpolate.call(void 0, panel.title, { values: variables, info: variableInfo2, scoped: panel.scopedVars, timezone: dashboard.timezone }) : "";
4189
+ const title = panel.title ? _chunk24ABPZKOjs.interpolate.call(void 0, panel.title, { values: variables, info: variableInfo2, scoped: panel.scopedVars, timezone: dashboard.timezone }) : "";
4190
4190
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: [styles15.card, { width, height, backgroundColor: theme.surface, borderColor: filled ? theme.accent : theme.border }, filled && { borderWidth: 2 }], children: [
4191
4191
  hasTitle && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _reactnative.View, { style: styles15.titleRow, children: [
4192
4192
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles15.title, { color: theme.text }], numberOfLines: 1, children: title }),
@@ -4209,7 +4209,7 @@ function PanelCardContent({ panel, width, height, deferred }) {
4209
4209
  }
4210
4210
  function DataPanelBody({ panel, width, height }) {
4211
4211
  const theme = useDashTheme();
4212
- const needsData = _chunkP4NMZ77Wjs.panelHasQueries.call(void 0, panel);
4212
+ const needsData = _chunk24ABPZKOjs.panelHasQueries.call(void 0, panel);
4213
4213
  const data = usePanelData(panel, width, needsData);
4214
4214
  const Component2 = panelComponent(panel.type);
4215
4215
  if (needsData && data.error) {
@@ -4362,7 +4362,7 @@ function useVoiceFill({ speech, lang, filler, form, onFilled, onError }) {
4362
4362
  try {
4363
4363
  mine = speech.start({
4364
4364
  lang,
4365
- hints: _chunkP4NMZ77Wjs.fillHints.call(void 0, form),
4365
+ hints: _chunk24ABPZKOjs.fillHints.call(void 0, form),
4366
4366
  continuous: true,
4367
4367
  onText(text, final) {
4368
4368
  if (!final) return setHeard(text || null);
@@ -4394,19 +4394,19 @@ function savedValues(panels, entries) {
4394
4394
  const values = {};
4395
4395
  for (const p of panels) {
4396
4396
  const mine = entries.filter((e) => e.metric === p.options.metric);
4397
- values[p.options.metric] = p.options.multi ? mine.length ? mine.map((e) => _nullishCoalesce(e.text, () => ( e.value))) : null : _chunkP4NMZ77Wjs.entryToInputValue.call(void 0, p, mine[0]);
4397
+ values[p.options.metric] = p.options.multi ? mine.length ? mine.map((e) => _nullishCoalesce(e.text, () => ( e.value))) : null : _chunk24ABPZKOjs.entryToInputValue.call(void 0, p, mine[0]);
4398
4398
  }
4399
4399
  return values;
4400
4400
  }
4401
4401
  async function lastItems(store, group) {
4402
- const metrics = _chunkP4NMZ77Wjs.groupFields.call(void 0, group).map((f) => f.options.metric);
4402
+ const metrics = _chunk24ABPZKOjs.groupFields.call(void 0, group).map((f) => f.options.metric);
4403
4403
  const latest = (await Promise.all(metrics.map((m) => store.latest(m)))).filter((e) => !!e).sort((a, b) => b.ts - a.ts)[0];
4404
4404
  if (!latest) return [];
4405
- return _chunkP4NMZ77Wjs.entriesToItems.call(void 0, group, _chunkP4NMZ77Wjs.sameSave.call(void 0, latest, await store.list({ metrics, from: latest.ts, to: latest.ts })));
4405
+ return _chunk24ABPZKOjs.entriesToItems.call(void 0, group, _chunk24ABPZKOjs.sameSave.call(void 0, latest, await store.list({ metrics, from: latest.ts, to: latest.ts })));
4406
4406
  }
4407
4407
  function freshItem(group, position, last) {
4408
4408
  const item = {};
4409
- for (const f of _chunkP4NMZ77Wjs.groupFields.call(void 0, group)) {
4409
+ for (const f of _chunk24ABPZKOjs.groupFields.call(void 0, group)) {
4410
4410
  const d = f.options.default;
4411
4411
  const v = d === "last" ? _optionalChain([last, 'optionalAccess', _293 => _293[position], 'optionalAccess', _294 => _294[f.options.metric]]) : d;
4412
4412
  if (v !== void 0 && v !== null) item[f.options.metric] = v;
@@ -4415,15 +4415,15 @@ function freshItem(group, position, last) {
4415
4415
  }
4416
4416
  function baseItems(group, editing, last) {
4417
4417
  const start = group.options.start;
4418
- const values = editing ? _chunkP4NMZ77Wjs.entriesToItems.call(void 0, group, editing) : start === "last" && _optionalChain([last, 'optionalAccess', _295 => _295.length]) ? last : Array.from({ length: typeof start === "number" ? Math.max(0, start) : 1 }, (_, i) => freshItem(group, i, last));
4418
+ const values = editing ? _chunk24ABPZKOjs.entriesToItems.call(void 0, group, editing) : start === "last" && _optionalChain([last, 'optionalAccess', _295 => _295.length]) ? last : Array.from({ length: typeof start === "number" ? Math.max(0, start) : 1 }, (_, i) => freshItem(group, i, last));
4419
4419
  return values.map((v, i) => ({ key: `b${i}`, values: v, edited: [] }));
4420
4420
  }
4421
4421
  var nextItemKey = 1;
4422
- function InputForm({ dashboard, store, onSaved, choices = NO_CHOICES, header, timestamp, defaults: given = NO_DEFAULTS, beforeSave, editing, speech: givenSpeech, speechLang, filler = _chunkP4NMZ77Wjs.ruleFiller }) {
4422
+ function InputForm({ dashboard, store, onSaved, choices = NO_CHOICES, header, timestamp, defaults: given = NO_DEFAULTS, beforeSave, editing, speech: givenSpeech, speechLang, filler = _chunk24ABPZKOjs.ruleFiller }) {
4423
4423
  const speech = givenSpeech === void 0 ? defaultSpeech() : givenSpeech;
4424
4424
  const theme = useDashTheme();
4425
- const panels = _react.useMemo.call(void 0, () => _chunkP4NMZ77Wjs.plainInputPanels.call(void 0, dashboard), [dashboard]);
4426
- const groups = _react.useMemo.call(void 0, () => _chunkP4NMZ77Wjs.inputGroups.call(void 0, dashboard), [dashboard]);
4425
+ const panels = _react.useMemo.call(void 0, () => _chunk24ABPZKOjs.plainInputPanels.call(void 0, dashboard), [dashboard]);
4426
+ const groups = _react.useMemo.call(void 0, () => _chunk24ABPZKOjs.inputGroups.call(void 0, dashboard), [dashboard]);
4427
4427
  const saved = _react.useMemo.call(void 0, () => editing ? savedValues(panels, editing) : NO_DEFAULTS, [panels, editing]);
4428
4428
  const [defaults, setDefaults] = _react.useState.call(void 0, {});
4429
4429
  const [edits, setEdits] = _react.useState.call(void 0, {});
@@ -4434,7 +4434,7 @@ function InputForm({ dashboard, store, onSaved, choices = NO_CHOICES, header, ti
4434
4434
  const [checked, setChecked] = _react.useState.call(void 0, false);
4435
4435
  const [filled, setFilled] = _react.useState.call(void 0, {});
4436
4436
  const [beforeFill, setBeforeFill] = _react.useState.call(void 0, null);
4437
- const fillable = _react.useMemo.call(void 0, () => _chunkP4NMZ77Wjs.fillForm.call(void 0, dashboard, choices), [dashboard, choices]);
4437
+ const fillable = _react.useMemo.call(void 0, () => _chunk24ABPZKOjs.fillForm.call(void 0, dashboard, choices), [dashboard, choices]);
4438
4438
  _react.useEffect.call(void 0, () => {
4439
4439
  let run = 0;
4440
4440
  const load = async () => {
@@ -4442,12 +4442,12 @@ function InputForm({ dashboard, store, onSaved, choices = NO_CHOICES, header, ti
4442
4442
  const next = {};
4443
4443
  for (const p of panels) {
4444
4444
  const d = p.options.default;
4445
- if (d === "last") next[p.options.metric] = _chunkP4NMZ77Wjs.entryToInputValue.call(void 0, p, await store.latest(p.options.metric));
4445
+ if (d === "last") next[p.options.metric] = _chunk24ABPZKOjs.entryToInputValue.call(void 0, p, await store.latest(p.options.metric));
4446
4446
  else if (d !== void 0) next[p.options.metric] = d;
4447
4447
  }
4448
4448
  const lastNext = {};
4449
4449
  for (const g of groups) {
4450
- const wanted = g.options.start === "last" || _chunkP4NMZ77Wjs.groupFields.call(void 0, g).some((f) => f.options.default === "last");
4450
+ const wanted = g.options.start === "last" || _chunk24ABPZKOjs.groupFields.call(void 0, g).some((f) => f.options.default === "last");
4451
4451
  if (wanted) lastNext[groupKey(g)] = await lastItems(store, g);
4452
4452
  }
4453
4453
  if (mine === run) {
@@ -4486,7 +4486,7 @@ function InputForm({ dashboard, store, onSaved, choices = NO_CHOICES, header, ti
4486
4486
  speechLang,
4487
4487
  problem: (m) => {
4488
4488
  const p = panels.find((x) => x.options.metric === m);
4489
- return p && (checked || m in edits) ? _chunkP4NMZ77Wjs.inputProblem.call(void 0, p, value(m)) : void 0;
4489
+ return p && (checked || m in edits) ? _chunk24ABPZKOjs.inputProblem.call(void 0, p, value(m)) : void 0;
4490
4490
  },
4491
4491
  group: (g) => groupState(g, itemsOf(g), last[groupKey(g)], groupKey(g) in groupEdits, checked, (update) => {
4492
4492
  setStatus(null);
@@ -4519,25 +4519,25 @@ function InputForm({ dashboard, store, onSaved, choices = NO_CHOICES, header, ti
4519
4519
  const voice = useVoiceFill({ speech, lang: speechLang, filler, form: fillable, onFilled, onError: setStatus });
4520
4520
  const dirty = Object.keys(edits).length + groups.reduce((n, g) => n + groupChanges(_nullishCoalesce(base[groupKey(g)], () => ( [])), groupEdits[groupKey(g)]), 0);
4521
4521
  const recordedGroups = _react.useCallback.call(void 0,
4522
- () => groups.filter((g) => editing || groupKey(g) in groupEdits || _chunkP4NMZ77Wjs.groupFields.call(void 0, g).some((f) => f.options.record === "always")),
4522
+ () => groups.filter((g) => editing || groupKey(g) in groupEdits || _chunk24ABPZKOjs.groupFields.call(void 0, g).some((f) => f.options.record === "always")),
4523
4523
  [groups, editing, groupEdits]
4524
4524
  );
4525
4525
  const save = _react.useCallback.call(void 0, async () => {
4526
4526
  const problems = panels.flatMap((p) => {
4527
- const problem = _chunkP4NMZ77Wjs.inputProblem.call(void 0, p, state.value(p.options.metric));
4527
+ const problem = _chunk24ABPZKOjs.inputProblem.call(void 0, p, state.value(p.options.metric));
4528
4528
  return problem ? [`${p.title || p.options.metric}: ${problem.toLowerCase()}`] : [];
4529
4529
  });
4530
- for (const g of recordedGroups()) problems.push(..._chunkP4NMZ77Wjs.groupProblems.call(void 0, g, itemsOf(g).map((i) => i.values)));
4530
+ for (const g of recordedGroups()) problems.push(..._chunk24ABPZKOjs.groupProblems.call(void 0, g, itemsOf(g).map((i) => i.values)));
4531
4531
  if (problems.length) {
4532
4532
  setChecked(true);
4533
4533
  setStatus(problems.length === 1 ? `Can\u2019t save. ${problems[0]}` : `Can\u2019t save: ${problems.length} fields need fixing`);
4534
4534
  return;
4535
4535
  }
4536
4536
  const ts = _nullishCoalesce(_optionalChain([editing, 'optionalAccess', _300 => _300[0], 'optionalAccess', _301 => _301.ts]), () => ( (header !== void 0 ? _nullishCoalesce(_optionalChain([timestamp, 'optionalCall', _302 => _302()]), () => ( Date.now())) : Date.now() + offsetMs)));
4537
- const saveId = _nullishCoalesce(_optionalChain([editing, 'optionalAccess', _303 => _303.find, 'call', _304 => _304((e) => e.save), 'optionalAccess', _305 => _305.save]), () => ( _chunkP4NMZ77Wjs.newSaveId.call(void 0, )));
4537
+ const saveId = _nullishCoalesce(_optionalChain([editing, 'optionalAccess', _303 => _303.find, 'call', _304 => _304((e) => e.save), 'optionalAccess', _305 => _305.save]), () => ( _chunk24ABPZKOjs.newSaveId.call(void 0, )));
4538
4538
  const entries = [
4539
- ...panels.filter((p) => editing || p.options.metric in edits || p.options.record === "always").flatMap((p) => _chunkP4NMZ77Wjs.toEntries.call(void 0, p, state.value(p.options.metric), ts, { save: saveId })),
4540
- ...recordedGroups().flatMap((g) => _chunkP4NMZ77Wjs.groupToEntries.call(void 0, g, itemsOf(g).map((i) => i.values), ts, saveId))
4539
+ ...panels.filter((p) => editing || p.options.metric in edits || p.options.record === "always").flatMap((p) => _chunk24ABPZKOjs.toEntries.call(void 0, p, state.value(p.options.metric), ts, { save: saveId })),
4540
+ ...recordedGroups().flatMap((g) => _chunk24ABPZKOjs.groupToEntries.call(void 0, g, itemsOf(g).map((i) => i.values), ts, saveId))
4541
4541
  ];
4542
4542
  if (!entries.length) return;
4543
4543
  const extra = beforeSave ? await beforeSave(ts) : [];
@@ -4618,10 +4618,10 @@ function groupChanges(base, items) {
4618
4618
  return edited + added + removed + moved;
4619
4619
  }
4620
4620
  function groupState(group, items, last, edited, showProblems, update) {
4621
- const fields = _chunkP4NMZ77Wjs.groupFields.call(void 0, group);
4621
+ const fields = _chunk24ABPZKOjs.groupFields.call(void 0, group);
4622
4622
  const { max } = group.options;
4623
4623
  const fresh = (position) => ({ key: `n${nextItemKey++}`, values: freshItem(group, position, last), edited: [] });
4624
- const filled = items.filter((i) => !_chunkP4NMZ77Wjs.isEmptyItem.call(void 0, group, i.values)).length;
4624
+ const filled = items.filter((i) => !_chunk24ABPZKOjs.isEmptyItem.call(void 0, group, i.values)).length;
4625
4625
  const { min } = group.options;
4626
4626
  return {
4627
4627
  items: items.map((i) => ({ key: i.key, values: i.values, edited: i.edited })),
@@ -4646,8 +4646,8 @@ function groupState(group, items, last, edited, showProblems, update) {
4646
4646
  fieldProblem: (index, metric) => {
4647
4647
  const item = items[index];
4648
4648
  const field = fields.find((f) => f.options.metric === metric);
4649
- if (!item || !field || _chunkP4NMZ77Wjs.isEmptyItem.call(void 0, group, item.values)) return void 0;
4650
- return showProblems || item.edited.includes(metric) ? _chunkP4NMZ77Wjs.inputProblem.call(void 0, field, _nullishCoalesce(item.values[metric], () => ( null))) : void 0;
4649
+ if (!item || !field || _chunk24ABPZKOjs.isEmptyItem.call(void 0, group, item.values)) return void 0;
4650
+ return showProblems || item.edited.includes(metric) ? _chunk24ABPZKOjs.inputProblem.call(void 0, field, _nullishCoalesce(item.values[metric], () => ( null))) : void 0;
4651
4651
  }
4652
4652
  };
4653
4653
  }
@@ -4965,4 +4965,4 @@ var styles16 = _reactnative.StyleSheet.create({
4965
4965
 
4966
4966
 
4967
4967
 
4968
- exports.ALL = _chunkP4NMZ77Wjs.ALL; exports.AUTHORING_GUIDE = _chunkP4NMZ77Wjs.AUTHORING_GUIDE; exports.BUNDLE_ACCEPT = _chunkP4NMZ77Wjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkP4NMZ77Wjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkP4NMZ77Wjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkP4NMZ77Wjs.CANVAS_ROW_HEADER; exports.Calendar = Calendar; exports.Chip = Chip; exports.ConfigLoader = _chunkP4NMZ77Wjs.ConfigLoader; exports.DASHBOARD_DS = _chunkP4NMZ77Wjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkP4NMZ77Wjs.DEFAULT_GAZETTEER; exports.DICTATION_TYPES = _chunkP4NMZ77Wjs.DICTATION_TYPES; exports.DOCUMENT_GUIDE = _chunkP4NMZ77Wjs.DOCUMENT_GUIDE; exports.DashThemeProvider = DashThemeProvider; exports.DashboardProvider = DashboardProvider; exports.DashboardToolbar = DashboardToolbar; exports.DashboardView = DashboardView; exports.EDITABLE_VARIABLE_TYPES = _chunkP4NMZ77Wjs.EDITABLE_VARIABLE_TYPES; exports.EXAMPLE_TEMPLATE = _chunkP4NMZ77Wjs.EXAMPLE_TEMPLATE; exports.GRID_COLUMNS = _chunkP4NMZ77Wjs.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunkP4NMZ77Wjs.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunkP4NMZ77Wjs.GrafanaClient; exports.GrafanaDataSource = _chunkP4NMZ77Wjs.GrafanaDataSource; exports.GrafanaError = _chunkP4NMZ77Wjs.GrafanaError; exports.HttpConfigFiles = _chunkP4NMZ77Wjs.HttpConfigFiles; exports.INPUT_GROUP = _chunkP4NMZ77Wjs.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunkP4NMZ77Wjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkP4NMZ77Wjs.INPUT_TYPES; exports.InputForm = InputForm; exports.InputFormContext = InputFormContext; exports.LOCAL_DATASOURCE_TYPE = _chunkP4NMZ77Wjs.LOCAL_DATASOURCE_TYPE; exports.Legend = Legend; exports.LocalDataSource = _chunkP4NMZ77Wjs.LocalDataSource; exports.MANIFEST_VERSION = _chunkP4NMZ77Wjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkP4NMZ77Wjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunkP4NMZ77Wjs.MemoryEntryStore; exports.NAMED_COLORS = _chunkP4NMZ77Wjs.NAMED_COLORS; exports.NoData = NoData; exports.OPTION_CATEGORIES = _chunkP4NMZ77Wjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkP4NMZ77Wjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkP4NMZ77Wjs.PANEL_TYPES; exports.PanelCard = PanelCard; exports.REDUCER_LABELS = _chunkP4NMZ77Wjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkP4NMZ77Wjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkP4NMZ77Wjs.RELATIVE_RANGES; exports.RenderBoundary = RenderBoundary; exports.SERIES_PALETTE = _chunkP4NMZ77Wjs.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunkP4NMZ77Wjs.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunkP4NMZ77Wjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunkP4NMZ77Wjs.SaveConflictError; exports.TEMPLATE_VERSION = _chunkP4NMZ77Wjs.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunkP4NMZ77Wjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunkP4NMZ77Wjs.UNIT_CHOICES; exports.addTime = _chunkP4NMZ77Wjs.addTime; exports.appSchema = _chunkP4NMZ77Wjs.appSchema; exports.applyDashboardLink = _chunkP4NMZ77Wjs.applyDashboardLink; exports.applyJsonEdits = _chunkP4NMZ77Wjs.applyJsonEdits; exports.applyTemplate = _chunkP4NMZ77Wjs.applyTemplate; exports.applyTransformations = _chunkP4NMZ77Wjs.applyTransformations; exports.assembleBundle = _chunkP4NMZ77Wjs.assembleBundle; exports.assembleFromResponse = _chunkP4NMZ77Wjs.assembleFromResponse; exports.buildFrames = _chunkP4NMZ77Wjs.buildFrames; exports.bundleFromFiles = _chunkP4NMZ77Wjs.bundleFromFiles; exports.bundleRoot = _chunkP4NMZ77Wjs.bundleRoot; exports.calculateInterval = _chunkP4NMZ77Wjs.calculateInterval; exports.checkFiles = _chunkP4NMZ77Wjs.checkFiles; exports.choicesOf = _chunkP4NMZ77Wjs.choicesOf; exports.cleanDashboard = _chunkP4NMZ77Wjs.cleanDashboard; exports.cleanPanelOptions = _chunkP4NMZ77Wjs.cleanPanelOptions; exports.collapseRow = _chunkP4NMZ77Wjs.collapseRow; exports.compactGrid = _chunkP4NMZ77Wjs.compactGrid; exports.copyPanels = _chunkP4NMZ77Wjs.copyPanels; exports.darkTheme = darkTheme; exports.dashboardSchema = _chunkP4NMZ77Wjs.dashboardSchema; exports.dashboardSchemaIssues = _chunkP4NMZ77Wjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkP4NMZ77Wjs.dashboardSourceIds; exports.defaultFetchJson = _chunkP4NMZ77Wjs.defaultFetchJson; exports.describeRange = _chunkP4NMZ77Wjs.describeRange; exports.dictationHints = _chunkP4NMZ77Wjs.dictationHints; exports.diffJson = _chunkP4NMZ77Wjs.diffJson; exports.documentChanges = _chunkP4NMZ77Wjs.documentChanges; exports.documentIdFor = _chunkP4NMZ77Wjs.documentIdFor; exports.documentKind = _chunkP4NMZ77Wjs.documentKind; exports.documentPrompt = _chunkP4NMZ77Wjs.documentPrompt; exports.documentUses = _chunkP4NMZ77Wjs.documentUses; exports.dropTarget = _chunkP4NMZ77Wjs.dropTarget; exports.duplicatePanel = _chunkP4NMZ77Wjs.duplicatePanel; exports.entriesSavedWith = _chunkP4NMZ77Wjs.entriesSavedWith; exports.entriesToItems = _chunkP4NMZ77Wjs.entriesToItems; exports.entryToInputValue = _chunkP4NMZ77Wjs.entryToInputValue; exports.expandRow = _chunkP4NMZ77Wjs.expandRow; exports.fetchBundle = _chunkP4NMZ77Wjs.fetchBundle; exports.fetchJsonWithToken = _chunkP4NMZ77Wjs.fetchJsonWithToken; exports.fieldDisplayName = _chunkP4NMZ77Wjs.fieldDisplayName; exports.fieldMatches = _chunkP4NMZ77Wjs.fieldMatches; exports.fillForm = _chunkP4NMZ77Wjs.fillForm; exports.fillHints = _chunkP4NMZ77Wjs.fillHints; exports.fillPrompt = _chunkP4NMZ77Wjs.fillPrompt; exports.fillSchema = _chunkP4NMZ77Wjs.fillSchema; exports.fixDocumentPrompt = _chunkP4NMZ77Wjs.fixDocumentPrompt; exports.fixTemplatePrompt = _chunkP4NMZ77Wjs.fixTemplatePrompt; exports.formatClock = _chunkP4NMZ77Wjs.formatClock; exports.formatDisplay = _chunkP4NMZ77Wjs.formatDisplay; exports.formatDuration = _chunkP4NMZ77Wjs.formatDuration; exports.formatJsonText = _chunkP4NMZ77Wjs.formatJsonText; exports.formatLocalDateTime = _chunkP4NMZ77Wjs.formatLocalDateTime; exports.formatValue = _chunkP4NMZ77Wjs.formatValue; exports.frameLength = _chunkP4NMZ77Wjs.frameLength; exports.framesToOptions = _chunkP4NMZ77Wjs.framesToOptions; exports.fromWire = _chunkP4NMZ77Wjs.fromWire; exports.getPath = _chunkP4NMZ77Wjs.getPath; exports.gridOffsetPx = _chunkP4NMZ77Wjs.gridOffsetPx; exports.gridUnitsToPx = _chunkP4NMZ77Wjs.gridUnitsToPx; exports.groupField = _chunkP4NMZ77Wjs.groupField; exports.groupFields = _chunkP4NMZ77Wjs.groupFields; exports.groupKey = groupKey; exports.groupProblems = _chunkP4NMZ77Wjs.groupProblems; exports.groupToEntries = _chunkP4NMZ77Wjs.groupToEntries; exports.httpFetchJson = _chunkP4NMZ77Wjs.httpFetchJson; exports.initialVariableValues = _chunkP4NMZ77Wjs.initialVariableValues; exports.inputGroups = _chunkP4NMZ77Wjs.inputGroups; exports.inputPanels = _chunkP4NMZ77Wjs.inputPanels; exports.inputProblem = _chunkP4NMZ77Wjs.inputProblem; exports.insertPanel = _chunkP4NMZ77Wjs.insertPanel; exports.interpolate = _chunkP4NMZ77Wjs.interpolate; exports.interpolateDeep = _chunkP4NMZ77Wjs.interpolateDeep; exports.isBundleResponse = _chunkP4NMZ77Wjs.isBundleResponse; exports.isEditableVariableType = _chunkP4NMZ77Wjs.isEditableVariableType; exports.isEmptyItem = _chunkP4NMZ77Wjs.isEmptyItem; exports.isFormPanelType = _chunkP4NMZ77Wjs.isFormPanelType; exports.isInputGroup = _chunkP4NMZ77Wjs.isInputGroup; exports.isInputPanel = _chunkP4NMZ77Wjs.isInputPanel; exports.isInputType = _chunkP4NMZ77Wjs.isInputType; exports.isLocalDatasource = _chunkP4NMZ77Wjs.isLocalDatasource; exports.isReducer = _chunkP4NMZ77Wjs.isReducer; exports.isRow = _chunkP4NMZ77Wjs.isRow; exports.isSqlDatasource = _chunkP4NMZ77Wjs.isSqlDatasource; exports.jsonFromAnswer = _chunkP4NMZ77Wjs.jsonFromAnswer; exports.layoutCanvas = _chunkP4NMZ77Wjs.layoutCanvas; exports.layoutDashboard = _chunkP4NMZ77Wjs.layoutDashboard; exports.lightTheme = lightTheme; exports.lineColumn = _chunkP4NMZ77Wjs.lineColumn; exports.loadGazetteer = _chunkP4NMZ77Wjs.loadGazetteer; exports.locate = _chunkP4NMZ77Wjs.locate; exports.makeTemplate = _chunkP4NMZ77Wjs.makeTemplate; exports.manifestSchemaIssues = _chunkP4NMZ77Wjs.manifestSchemaIssues; exports.mappedResult = _chunkP4NMZ77Wjs.mappedResult; exports.mappingProblem = _chunkP4NMZ77Wjs.mappingProblem; exports.mappingRow = _chunkP4NMZ77Wjs.mappingRow; exports.mappingRows = _chunkP4NMZ77Wjs.mappingRows; exports.matchChoices = _chunkP4NMZ77Wjs.matchChoices; exports.metricChanges = _chunkP4NMZ77Wjs.metricChanges; exports.modelFiller = _chunkP4NMZ77Wjs.modelFiller; exports.movePanel = _chunkP4NMZ77Wjs.movePanel; exports.newDocument = _chunkP4NMZ77Wjs.newDocument; exports.newPanel = _chunkP4NMZ77Wjs.newPanel; exports.newSaveId = _chunkP4NMZ77Wjs.newSaveId; exports.newVariable = _chunkP4NMZ77Wjs.newVariable; exports.nextPanelId = _chunkP4NMZ77Wjs.nextPanelId; exports.normalizeRef = _chunkP4NMZ77Wjs.normalizeRef; exports.numberFields = _chunkP4NMZ77Wjs.numberFields; exports.optionValue = _chunkP4NMZ77Wjs.optionValue; exports.overrideProperties = _chunkP4NMZ77Wjs.overrideProperties; exports.panelEdits = _chunkP4NMZ77Wjs.panelEdits; exports.panelHasQueries = _chunkP4NMZ77Wjs.panelHasQueries; exports.panelKey = _chunkP4NMZ77Wjs.panelKey; exports.panelMetrics = _chunkP4NMZ77Wjs.panelMetrics; exports.panelOptions = _chunkP4NMZ77Wjs.panelOptions; exports.panelOverrides = _chunkP4NMZ77Wjs.panelOverrides; exports.panelSize = _chunkP4NMZ77Wjs.panelSize; exports.panelSpan = _chunkP4NMZ77Wjs.panelSpan; exports.parseClockDigits = _chunkP4NMZ77Wjs.parseClockDigits; exports.parseDashboardLink = _chunkP4NMZ77Wjs.parseDashboardLink; exports.parseDuration = _chunkP4NMZ77Wjs.parseDuration; exports.parseFillAnswer = _chunkP4NMZ77Wjs.parseFillAnswer; exports.parseGazetteer = _chunkP4NMZ77Wjs.parseGazetteer; exports.parseJsonText = _chunkP4NMZ77Wjs.parseJsonText; exports.parseLocalDateTime = _chunkP4NMZ77Wjs.parseLocalDateTime; exports.parseRange = _chunkP4NMZ77Wjs.parseRange; exports.parseSnippet = _chunkP4NMZ77Wjs.parseSnippet; exports.parseSpokenDuration = _chunkP4NMZ77Wjs.parseSpokenDuration; exports.parseSpokenNumber = _chunkP4NMZ77Wjs.parseSpokenNumber; exports.parseSpokenYesNo = _chunkP4NMZ77Wjs.parseSpokenYesNo; exports.parseTemplate = _chunkP4NMZ77Wjs.parseTemplate; exports.parseTime = _chunkP4NMZ77Wjs.parseTime; exports.pasteSnippet = _chunkP4NMZ77Wjs.pasteSnippet; exports.placePanel = _chunkP4NMZ77Wjs.placePanel; exports.plainInputPanels = _chunkP4NMZ77Wjs.plainInputPanels; exports.pointerToPath = _chunkP4NMZ77Wjs.pointerToPath; exports.prepareDashboard = _chunkP4NMZ77Wjs.prepareDashboard; exports.previewPaste = _chunkP4NMZ77Wjs.previewPaste; exports.queryPanel = _chunkP4NMZ77Wjs.queryPanel; exports.queryParam = _chunkP4NMZ77Wjs.queryParam; exports.readConfigFiles = _chunkP4NMZ77Wjs.readConfigFiles; exports.readDocumentAnswer = _chunkP4NMZ77Wjs.readDocumentAnswer; exports.readFill = _chunkP4NMZ77Wjs.readFill; exports.readTemplateAnswer = _chunkP4NMZ77Wjs.readTemplateAnswer; exports.readingOrder = _chunkP4NMZ77Wjs.readingOrder; exports.reduce = _chunkP4NMZ77Wjs.reduce; exports.refineOptions = _chunkP4NMZ77Wjs.refineOptions; exports.refreshedVariables = _chunkP4NMZ77Wjs.refreshedVariables; exports.registerPanel = registerPanel; exports.removeDocumentFromManifest = _chunkP4NMZ77Wjs.removeDocumentFromManifest; exports.removePanel = _chunkP4NMZ77Wjs.removePanel; exports.renameDocumentInManifest = _chunkP4NMZ77Wjs.renameDocumentInManifest; exports.renameMetrics = _chunkP4NMZ77Wjs.renameMetrics; exports.renameVariableInPanels = _chunkP4NMZ77Wjs.renameVariableInPanels; exports.repack = _chunkP4NMZ77Wjs.repack; exports.repeatOptions = _chunkP4NMZ77Wjs.repeatOptions; exports.requiredManifestVersion = _chunkP4NMZ77Wjs.requiredManifestVersion; exports.resizePanel = _chunkP4NMZ77Wjs.resizePanel; exports.resolveColor = _chunkP4NMZ77Wjs.resolveColor; exports.resolveFieldConfig = _chunkP4NMZ77Wjs.resolveFieldConfig; exports.resolveLinks = _chunkP4NMZ77Wjs.resolveLinks; exports.resolveTimezone = _chunkP4NMZ77Wjs.resolveTimezone; exports.resolveUrl = _chunkP4NMZ77Wjs.resolveUrl; exports.resolveVariables = _chunkP4NMZ77Wjs.resolveVariables; exports.revalidateBundle = _chunkP4NMZ77Wjs.revalidateBundle; exports.rowsToMappings = _chunkP4NMZ77Wjs.rowsToMappings; exports.ruleFill = _chunkP4NMZ77Wjs.ruleFill; exports.ruleFiller = _chunkP4NMZ77Wjs.ruleFiller; exports.sameSave = _chunkP4NMZ77Wjs.sameSave; exports.sampleEntries = _chunkP4NMZ77Wjs.sampleEntries; exports.screenDocuments = _chunkP4NMZ77Wjs.screenDocuments; exports.screenOfType = _chunkP4NMZ77Wjs.screenOfType; exports.selectValue = _chunkP4NMZ77Wjs.selectValue; exports.seriesColor = _chunkP4NMZ77Wjs.seriesColor; exports.setHiddenOnPhones = _chunkP4NMZ77Wjs.setHiddenOnPhones; exports.setJsonValue = _chunkP4NMZ77Wjs.setJsonValue; exports.setOption = _chunkP4NMZ77Wjs.setOption; exports.setOptionValue = _chunkP4NMZ77Wjs.setOptionValue; exports.setOverrides = _chunkP4NMZ77Wjs.setOverrides; exports.settleLayout = _chunkP4NMZ77Wjs.settleLayout; exports.snapToGrid = _chunkP4NMZ77Wjs.snapToGrid; exports.splitPath = _chunkP4NMZ77Wjs.splitPath; exports.spokenValue = _chunkP4NMZ77Wjs.spokenValue; exports.startOf = _chunkP4NMZ77Wjs.startOf; exports.stringifyCompact = _chunkP4NMZ77Wjs.stringifyCompact; exports.tabIdFor = _chunkP4NMZ77Wjs.tabIdFor; exports.takesDictation = _chunkP4NMZ77Wjs.takesDictation; exports.templateNeeds = _chunkP4NMZ77Wjs.templateNeeds; exports.templatePrompt = _chunkP4NMZ77Wjs.templatePrompt; exports.textSuggestions = _chunkP4NMZ77Wjs.textSuggestions; exports.thresholdStep = _chunkP4NMZ77Wjs.thresholdStep; exports.timeExprError = _chunkP4NMZ77Wjs.timeExprError; exports.timeField = _chunkP4NMZ77Wjs.timeField; exports.toEntries = _chunkP4NMZ77Wjs.toEntries; exports.toMillis = _chunkP4NMZ77Wjs.toMillis; exports.toSeries = _chunkP4NMZ77Wjs.toSeries; exports.toXYSeries = _chunkP4NMZ77Wjs.toXYSeries; exports.uniqueNames = _chunkP4NMZ77Wjs.uniqueNames; exports.useDashTheme = useDashTheme; exports.useDashboard = useDashboard; exports.useInputForm = useInputForm; exports.usePanelData = usePanelData; exports.validateBundle = _chunkP4NMZ77Wjs.validateBundle; exports.validateDashboard = _chunkP4NMZ77Wjs.validateDashboard; exports.validateManifest = _chunkP4NMZ77Wjs.validateManifest; exports.valueColor = _chunkP4NMZ77Wjs.valueColor; exports.valueText = _chunkP4NMZ77Wjs.valueText; exports.variableDependents = _chunkP4NMZ77Wjs.variableDependents; exports.variableInfo = _chunkP4NMZ77Wjs.variableInfo; exports.variableNameError = _chunkP4NMZ77Wjs.variableNameError; exports.variableOptions = _chunkP4NMZ77Wjs.variableOptions; exports.variableOrder = _chunkP4NMZ77Wjs.variableOrder; exports.variableReferences = _chunkP4NMZ77Wjs.variableReferences; exports.variableUses = _chunkP4NMZ77Wjs.variableUses; exports.variableWithCurrent = _chunkP4NMZ77Wjs.variableWithCurrent; exports.variableWithFlags = _chunkP4NMZ77Wjs.variableWithFlags; exports.variableWithQuery = _chunkP4NMZ77Wjs.variableWithQuery; exports.variableWithType = _chunkP4NMZ77Wjs.variableWithType; exports.visibleVariables = _chunkP4NMZ77Wjs.visibleVariables; exports.webSpeechRecognizer = webSpeechRecognizer; exports.zoomRange = _chunkP4NMZ77Wjs.zoomRange;
4968
+ exports.ALL = _chunk24ABPZKOjs.ALL; exports.AUTHORING_GUIDE = _chunk24ABPZKOjs.AUTHORING_GUIDE; exports.BUNDLE_ACCEPT = _chunk24ABPZKOjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunk24ABPZKOjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunk24ABPZKOjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunk24ABPZKOjs.CANVAS_ROW_HEADER; exports.Calendar = Calendar; exports.Chip = Chip; exports.ConfigLoader = _chunk24ABPZKOjs.ConfigLoader; exports.DASHBOARD_DS = _chunk24ABPZKOjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunk24ABPZKOjs.DEFAULT_GAZETTEER; exports.DICTATION_TYPES = _chunk24ABPZKOjs.DICTATION_TYPES; exports.DOCUMENT_GUIDE = _chunk24ABPZKOjs.DOCUMENT_GUIDE; exports.DashThemeProvider = DashThemeProvider; exports.DashboardProvider = DashboardProvider; exports.DashboardToolbar = DashboardToolbar; exports.DashboardView = DashboardView; exports.EDITABLE_VARIABLE_TYPES = _chunk24ABPZKOjs.EDITABLE_VARIABLE_TYPES; exports.EXAMPLE_TEMPLATE = _chunk24ABPZKOjs.EXAMPLE_TEMPLATE; exports.GRID_COLUMNS = _chunk24ABPZKOjs.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunk24ABPZKOjs.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunk24ABPZKOjs.GrafanaClient; exports.GrafanaDataSource = _chunk24ABPZKOjs.GrafanaDataSource; exports.GrafanaError = _chunk24ABPZKOjs.GrafanaError; exports.HttpConfigFiles = _chunk24ABPZKOjs.HttpConfigFiles; exports.INPUT_GROUP = _chunk24ABPZKOjs.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunk24ABPZKOjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunk24ABPZKOjs.INPUT_TYPES; exports.InputForm = InputForm; exports.InputFormContext = InputFormContext; exports.LOCAL_DATASOURCE_TYPE = _chunk24ABPZKOjs.LOCAL_DATASOURCE_TYPE; exports.Legend = Legend; exports.LocalDataSource = _chunk24ABPZKOjs.LocalDataSource; exports.MANIFEST_VERSION = _chunk24ABPZKOjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunk24ABPZKOjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunk24ABPZKOjs.MemoryEntryStore; exports.NAMED_COLORS = _chunk24ABPZKOjs.NAMED_COLORS; exports.NoData = NoData; exports.OPTION_CATEGORIES = _chunk24ABPZKOjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunk24ABPZKOjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunk24ABPZKOjs.PANEL_TYPES; exports.PanelCard = PanelCard; exports.REDUCER_LABELS = _chunk24ABPZKOjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunk24ABPZKOjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunk24ABPZKOjs.RELATIVE_RANGES; exports.RenderBoundary = RenderBoundary; exports.SERIES_PALETTE = _chunk24ABPZKOjs.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunk24ABPZKOjs.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunk24ABPZKOjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunk24ABPZKOjs.SaveConflictError; exports.TEMPLATE_VERSION = _chunk24ABPZKOjs.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunk24ABPZKOjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunk24ABPZKOjs.UNIT_CHOICES; exports.addTime = _chunk24ABPZKOjs.addTime; exports.appSchema = _chunk24ABPZKOjs.appSchema; exports.applyDashboardLink = _chunk24ABPZKOjs.applyDashboardLink; exports.applyJsonEdits = _chunk24ABPZKOjs.applyJsonEdits; exports.applyTemplate = _chunk24ABPZKOjs.applyTemplate; exports.applyTransformations = _chunk24ABPZKOjs.applyTransformations; exports.assembleBundle = _chunk24ABPZKOjs.assembleBundle; exports.assembleFromResponse = _chunk24ABPZKOjs.assembleFromResponse; exports.buildFrames = _chunk24ABPZKOjs.buildFrames; exports.bundleFromFiles = _chunk24ABPZKOjs.bundleFromFiles; exports.bundleRoot = _chunk24ABPZKOjs.bundleRoot; exports.calculateInterval = _chunk24ABPZKOjs.calculateInterval; exports.checkFiles = _chunk24ABPZKOjs.checkFiles; exports.choicesOf = _chunk24ABPZKOjs.choicesOf; exports.cleanDashboard = _chunk24ABPZKOjs.cleanDashboard; exports.cleanPanelOptions = _chunk24ABPZKOjs.cleanPanelOptions; exports.collapseRow = _chunk24ABPZKOjs.collapseRow; exports.compactGrid = _chunk24ABPZKOjs.compactGrid; exports.copyPanels = _chunk24ABPZKOjs.copyPanels; exports.darkTheme = darkTheme; exports.dashboardSchema = _chunk24ABPZKOjs.dashboardSchema; exports.dashboardSchemaIssues = _chunk24ABPZKOjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunk24ABPZKOjs.dashboardSourceIds; exports.defaultFetchJson = _chunk24ABPZKOjs.defaultFetchJson; exports.describeRange = _chunk24ABPZKOjs.describeRange; exports.dictationHints = _chunk24ABPZKOjs.dictationHints; exports.diffJson = _chunk24ABPZKOjs.diffJson; exports.documentChanges = _chunk24ABPZKOjs.documentChanges; exports.documentIdFor = _chunk24ABPZKOjs.documentIdFor; exports.documentKind = _chunk24ABPZKOjs.documentKind; exports.documentPrompt = _chunk24ABPZKOjs.documentPrompt; exports.documentUses = _chunk24ABPZKOjs.documentUses; exports.dropTarget = _chunk24ABPZKOjs.dropTarget; exports.duplicatePanel = _chunk24ABPZKOjs.duplicatePanel; exports.entriesSavedWith = _chunk24ABPZKOjs.entriesSavedWith; exports.entriesToItems = _chunk24ABPZKOjs.entriesToItems; exports.entryToInputValue = _chunk24ABPZKOjs.entryToInputValue; exports.expandRow = _chunk24ABPZKOjs.expandRow; exports.fetchBundle = _chunk24ABPZKOjs.fetchBundle; exports.fetchJsonWithToken = _chunk24ABPZKOjs.fetchJsonWithToken; exports.fieldDisplayName = _chunk24ABPZKOjs.fieldDisplayName; exports.fieldMatches = _chunk24ABPZKOjs.fieldMatches; exports.fillForm = _chunk24ABPZKOjs.fillForm; exports.fillHints = _chunk24ABPZKOjs.fillHints; exports.fillPrompt = _chunk24ABPZKOjs.fillPrompt; exports.fillSchema = _chunk24ABPZKOjs.fillSchema; exports.fixDocumentPrompt = _chunk24ABPZKOjs.fixDocumentPrompt; exports.fixTemplatePrompt = _chunk24ABPZKOjs.fixTemplatePrompt; exports.formatClock = _chunk24ABPZKOjs.formatClock; exports.formatDisplay = _chunk24ABPZKOjs.formatDisplay; exports.formatDuration = _chunk24ABPZKOjs.formatDuration; exports.formatJsonText = _chunk24ABPZKOjs.formatJsonText; exports.formatLocalDateTime = _chunk24ABPZKOjs.formatLocalDateTime; exports.formatValue = _chunk24ABPZKOjs.formatValue; exports.frameLength = _chunk24ABPZKOjs.frameLength; exports.framesToOptions = _chunk24ABPZKOjs.framesToOptions; exports.fromWire = _chunk24ABPZKOjs.fromWire; exports.getPath = _chunk24ABPZKOjs.getPath; exports.gridOffsetPx = _chunk24ABPZKOjs.gridOffsetPx; exports.gridUnitsToPx = _chunk24ABPZKOjs.gridUnitsToPx; exports.groupField = _chunk24ABPZKOjs.groupField; exports.groupFields = _chunk24ABPZKOjs.groupFields; exports.groupKey = groupKey; exports.groupProblems = _chunk24ABPZKOjs.groupProblems; exports.groupToEntries = _chunk24ABPZKOjs.groupToEntries; exports.httpFetchJson = _chunk24ABPZKOjs.httpFetchJson; exports.initialVariableValues = _chunk24ABPZKOjs.initialVariableValues; exports.inputGroups = _chunk24ABPZKOjs.inputGroups; exports.inputPanels = _chunk24ABPZKOjs.inputPanels; exports.inputProblem = _chunk24ABPZKOjs.inputProblem; exports.insertPanel = _chunk24ABPZKOjs.insertPanel; exports.interpolate = _chunk24ABPZKOjs.interpolate; exports.interpolateDeep = _chunk24ABPZKOjs.interpolateDeep; exports.isBundleResponse = _chunk24ABPZKOjs.isBundleResponse; exports.isEditableVariableType = _chunk24ABPZKOjs.isEditableVariableType; exports.isEmptyItem = _chunk24ABPZKOjs.isEmptyItem; exports.isFormPanelType = _chunk24ABPZKOjs.isFormPanelType; exports.isInputGroup = _chunk24ABPZKOjs.isInputGroup; exports.isInputPanel = _chunk24ABPZKOjs.isInputPanel; exports.isInputType = _chunk24ABPZKOjs.isInputType; exports.isLocalDatasource = _chunk24ABPZKOjs.isLocalDatasource; exports.isReducer = _chunk24ABPZKOjs.isReducer; exports.isRow = _chunk24ABPZKOjs.isRow; exports.isSqlDatasource = _chunk24ABPZKOjs.isSqlDatasource; exports.jsonFromAnswer = _chunk24ABPZKOjs.jsonFromAnswer; exports.layoutCanvas = _chunk24ABPZKOjs.layoutCanvas; exports.layoutDashboard = _chunk24ABPZKOjs.layoutDashboard; exports.lightTheme = lightTheme; exports.lineColumn = _chunk24ABPZKOjs.lineColumn; exports.loadGazetteer = _chunk24ABPZKOjs.loadGazetteer; exports.locate = _chunk24ABPZKOjs.locate; exports.makeTemplate = _chunk24ABPZKOjs.makeTemplate; exports.manifestSchemaIssues = _chunk24ABPZKOjs.manifestSchemaIssues; exports.mappedResult = _chunk24ABPZKOjs.mappedResult; exports.mappingProblem = _chunk24ABPZKOjs.mappingProblem; exports.mappingRow = _chunk24ABPZKOjs.mappingRow; exports.mappingRows = _chunk24ABPZKOjs.mappingRows; exports.matchChoices = _chunk24ABPZKOjs.matchChoices; exports.metricChanges = _chunk24ABPZKOjs.metricChanges; exports.modelFiller = _chunk24ABPZKOjs.modelFiller; exports.movePanel = _chunk24ABPZKOjs.movePanel; exports.newDocument = _chunk24ABPZKOjs.newDocument; exports.newPanel = _chunk24ABPZKOjs.newPanel; exports.newSaveId = _chunk24ABPZKOjs.newSaveId; exports.newVariable = _chunk24ABPZKOjs.newVariable; exports.nextPanelId = _chunk24ABPZKOjs.nextPanelId; exports.normalizeRef = _chunk24ABPZKOjs.normalizeRef; exports.numberFields = _chunk24ABPZKOjs.numberFields; exports.optionValue = _chunk24ABPZKOjs.optionValue; exports.overrideProperties = _chunk24ABPZKOjs.overrideProperties; exports.panelEdits = _chunk24ABPZKOjs.panelEdits; exports.panelHasQueries = _chunk24ABPZKOjs.panelHasQueries; exports.panelKey = _chunk24ABPZKOjs.panelKey; exports.panelMetrics = _chunk24ABPZKOjs.panelMetrics; exports.panelOptions = _chunk24ABPZKOjs.panelOptions; exports.panelOverrides = _chunk24ABPZKOjs.panelOverrides; exports.panelSize = _chunk24ABPZKOjs.panelSize; exports.panelSpan = _chunk24ABPZKOjs.panelSpan; exports.parseClockDigits = _chunk24ABPZKOjs.parseClockDigits; exports.parseDashboardLink = _chunk24ABPZKOjs.parseDashboardLink; exports.parseDuration = _chunk24ABPZKOjs.parseDuration; exports.parseFillAnswer = _chunk24ABPZKOjs.parseFillAnswer; exports.parseGazetteer = _chunk24ABPZKOjs.parseGazetteer; exports.parseJsonText = _chunk24ABPZKOjs.parseJsonText; exports.parseLocalDateTime = _chunk24ABPZKOjs.parseLocalDateTime; exports.parseRange = _chunk24ABPZKOjs.parseRange; exports.parseSnippet = _chunk24ABPZKOjs.parseSnippet; exports.parseSpokenDuration = _chunk24ABPZKOjs.parseSpokenDuration; exports.parseSpokenNumber = _chunk24ABPZKOjs.parseSpokenNumber; exports.parseSpokenYesNo = _chunk24ABPZKOjs.parseSpokenYesNo; exports.parseTemplate = _chunk24ABPZKOjs.parseTemplate; exports.parseTime = _chunk24ABPZKOjs.parseTime; exports.pasteSnippet = _chunk24ABPZKOjs.pasteSnippet; exports.placePanel = _chunk24ABPZKOjs.placePanel; exports.plainInputPanels = _chunk24ABPZKOjs.plainInputPanels; exports.pointerToPath = _chunk24ABPZKOjs.pointerToPath; exports.prepareDashboard = _chunk24ABPZKOjs.prepareDashboard; exports.previewPaste = _chunk24ABPZKOjs.previewPaste; exports.queryPanel = _chunk24ABPZKOjs.queryPanel; exports.queryParam = _chunk24ABPZKOjs.queryParam; exports.readConfigFiles = _chunk24ABPZKOjs.readConfigFiles; exports.readDocumentAnswer = _chunk24ABPZKOjs.readDocumentAnswer; exports.readFill = _chunk24ABPZKOjs.readFill; exports.readTemplateAnswer = _chunk24ABPZKOjs.readTemplateAnswer; exports.readingOrder = _chunk24ABPZKOjs.readingOrder; exports.reduce = _chunk24ABPZKOjs.reduce; exports.refineOptions = _chunk24ABPZKOjs.refineOptions; exports.refreshedVariables = _chunk24ABPZKOjs.refreshedVariables; exports.registerPanel = registerPanel; exports.removeDocumentFromManifest = _chunk24ABPZKOjs.removeDocumentFromManifest; exports.removePanel = _chunk24ABPZKOjs.removePanel; exports.renameDocumentInManifest = _chunk24ABPZKOjs.renameDocumentInManifest; exports.renameMetrics = _chunk24ABPZKOjs.renameMetrics; exports.renameVariableInPanels = _chunk24ABPZKOjs.renameVariableInPanels; exports.repack = _chunk24ABPZKOjs.repack; exports.repeatOptions = _chunk24ABPZKOjs.repeatOptions; exports.requiredManifestVersion = _chunk24ABPZKOjs.requiredManifestVersion; exports.resizePanel = _chunk24ABPZKOjs.resizePanel; exports.resolveColor = _chunk24ABPZKOjs.resolveColor; exports.resolveFieldConfig = _chunk24ABPZKOjs.resolveFieldConfig; exports.resolveLinks = _chunk24ABPZKOjs.resolveLinks; exports.resolveTimezone = _chunk24ABPZKOjs.resolveTimezone; exports.resolveUrl = _chunk24ABPZKOjs.resolveUrl; exports.resolveVariables = _chunk24ABPZKOjs.resolveVariables; exports.revalidateBundle = _chunk24ABPZKOjs.revalidateBundle; exports.rowsToMappings = _chunk24ABPZKOjs.rowsToMappings; exports.ruleFill = _chunk24ABPZKOjs.ruleFill; exports.ruleFiller = _chunk24ABPZKOjs.ruleFiller; exports.sameSave = _chunk24ABPZKOjs.sameSave; exports.sampleEntries = _chunk24ABPZKOjs.sampleEntries; exports.screenDocuments = _chunk24ABPZKOjs.screenDocuments; exports.screenOfType = _chunk24ABPZKOjs.screenOfType; exports.selectValue = _chunk24ABPZKOjs.selectValue; exports.seriesColor = _chunk24ABPZKOjs.seriesColor; exports.setHiddenOnPhones = _chunk24ABPZKOjs.setHiddenOnPhones; exports.setJsonValue = _chunk24ABPZKOjs.setJsonValue; exports.setOption = _chunk24ABPZKOjs.setOption; exports.setOptionValue = _chunk24ABPZKOjs.setOptionValue; exports.setOverrides = _chunk24ABPZKOjs.setOverrides; exports.settleLayout = _chunk24ABPZKOjs.settleLayout; exports.snapToGrid = _chunk24ABPZKOjs.snapToGrid; exports.splitPath = _chunk24ABPZKOjs.splitPath; exports.spokenValue = _chunk24ABPZKOjs.spokenValue; exports.startOf = _chunk24ABPZKOjs.startOf; exports.stringifyCompact = _chunk24ABPZKOjs.stringifyCompact; exports.tabIdFor = _chunk24ABPZKOjs.tabIdFor; exports.takesDictation = _chunk24ABPZKOjs.takesDictation; exports.templateNeeds = _chunk24ABPZKOjs.templateNeeds; exports.templatePrompt = _chunk24ABPZKOjs.templatePrompt; exports.textSuggestions = _chunk24ABPZKOjs.textSuggestions; exports.thresholdStep = _chunk24ABPZKOjs.thresholdStep; exports.timeExprError = _chunk24ABPZKOjs.timeExprError; exports.timeField = _chunk24ABPZKOjs.timeField; exports.toEntries = _chunk24ABPZKOjs.toEntries; exports.toMillis = _chunk24ABPZKOjs.toMillis; exports.toSeries = _chunk24ABPZKOjs.toSeries; exports.toXYSeries = _chunk24ABPZKOjs.toXYSeries; exports.uniqueNames = _chunk24ABPZKOjs.uniqueNames; exports.useDashTheme = useDashTheme; exports.useDashboard = useDashboard; exports.useInputForm = useInputForm; exports.usePanelData = usePanelData; exports.validateBundle = _chunk24ABPZKOjs.validateBundle; exports.validateDashboard = _chunk24ABPZKOjs.validateDashboard; exports.validateManifest = _chunk24ABPZKOjs.validateManifest; exports.valueColor = _chunk24ABPZKOjs.valueColor; exports.valueText = _chunk24ABPZKOjs.valueText; exports.variableDependents = _chunk24ABPZKOjs.variableDependents; exports.variableInfo = _chunk24ABPZKOjs.variableInfo; exports.variableNameError = _chunk24ABPZKOjs.variableNameError; exports.variableOptions = _chunk24ABPZKOjs.variableOptions; exports.variableOrder = _chunk24ABPZKOjs.variableOrder; exports.variableReferences = _chunk24ABPZKOjs.variableReferences; exports.variableUses = _chunk24ABPZKOjs.variableUses; exports.variableWithCurrent = _chunk24ABPZKOjs.variableWithCurrent; exports.variableWithFlags = _chunk24ABPZKOjs.variableWithFlags; exports.variableWithQuery = _chunk24ABPZKOjs.variableWithQuery; exports.variableWithType = _chunk24ABPZKOjs.variableWithType; exports.visibleVariables = _chunk24ABPZKOjs.visibleVariables; exports.webSpeechRecognizer = webSpeechRecognizer; exports.zoomRange = _chunk24ABPZKOjs.zoomRange;