@marimo-team/islands 0.23.7-dev64 → 0.23.7-dev65
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/{code-visibility-CVTtZuy-.js → code-visibility-ByDFdFl4.js} +73 -70
- package/dist/main.js +985 -979
- package/dist/reveal-component-b_lmX_5i.js +7444 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/editor/renderers/slides-layout/__tests__/compute-slide-cells.test.ts +5 -4
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +55 -15
- package/src/components/editor/renderers/slides-layout/plugin.tsx +8 -25
- package/src/components/editor/renderers/slides-layout/slides-layout.tsx +18 -5
- package/src/components/editor/renderers/slides-layout/types.ts +40 -31
- package/src/components/slides/__tests__/slide-notes.test.ts +131 -0
- package/src/components/slides/reveal-component.tsx +242 -147
- package/src/components/slides/slide-notes-editor.tsx +127 -0
- package/src/components/slides/slide-notes.ts +64 -0
- package/src/components/slides/slides.css +14 -0
- package/src/core/edit-app.tsx +1 -1
- package/dist/reveal-component-pMF7xAP-.js +0 -4863
package/dist/main.js
CHANGED
|
@@ -26,7 +26,7 @@ import { $ as useCellActions, At as DeferredRequestRegistry, B as safeExtractSet
|
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BOg95xG5.js";
|
|
27
27
|
import { o as useSize, s as Root$2, u as createLucideIcon } from "./dist-D3ZI9nhS.js";
|
|
28
28
|
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-hVaaZsY5.js";
|
|
29
|
-
import { $ as
|
|
29
|
+
import { $ as DelayMount, A as contextAwarePanelOwner, At as Kbd, B as Provider$1, Bt as Ellipsis, C as prettifyRowCount, Ct as TabsTrigger, D as ContextAwarePanelItem, Dt as LazyVegaEmbed, E as ComboboxItem, Et as ChartLoadingState, F as Toggle, Ft as TextWrap, G as TableHeader, Gt as ChevronsLeft, H as TableBody, Ht as Code, It as GripHorizontal, J as generateColumns, Jt as ArrowDownWideNarrow, K as TableRow, Kt as ChevronsDownUp, Lt as Funnel, M as isCellAwareAtom, Mt as EmotionCacheProvider, N as SlotNames, Nt as $fae977aafc393c5c$export$588937bcd60ade55, O as PANEL_TYPES, Ot as useOverflowDetection, P as slotsController, Pt as $fae977aafc393c5c$export$6b862160d295c8e, Q as ColumnChartSpecModel, Rt as EyeOff, S as prettifyRowColumnCount, St as TabsList, T as Combobox, Tt as ChartInfoState, U as TableCell, Ut as ChevronsUpDown, V as Table, Vt as Download, W as TableHead, Wt as ChevronsRight, X as renderCellValue, Y as inferFieldTypes, Z as ColumnChartContext, _ as downloadBlob, _t as CommandList, at as getPageIndexForRow, b as Progress, bt as Tabs, c as Slide, ct as INDEX_COLUMN_NAME, d as JsonOutput, dt as toFieldTypes, et as useIntersectionObserver, f as OutputArea, ft as getMimeValues, g as ADD_PRINTING_CLASS, gt as CommandItem, h as InstallPackageButton, ht as CommandInput, it as filtersToFilterGroup, j as contextAwarePanelType, jt as HtmlOutput, k as contextAwarePanelOpen, kt as RenderTextWithLinks, l as RadioGroup, lt as SELECT_COLUMN_ID, m as DataTable, mt as CommandEmpty, n as marimoVersionAtom, nt as DatePicker, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as loadTableAndRawData, p as OutputRenderer, pt as Command, q as NAMELESS_COLUMN_PREFIX, qt as ChevronLeft, r as showCodeInRunModeAtom, rt as DateRangePicker, st as loadTableData, t as useNotebookCodeAvailable, tt as usePrevious$1, u as RadioGroupItem, ut as TOO_MANY_ROWS, v as downloadByURL, vt as CommandSeparator, w as useInternalStateWithSync, wt as ChartErrorState, x as Filenames, xt as TabsContent, y as downloadHTMLAsImage, yt as Maps, z as Fill, __tla as __tla_2 } from "./code-visibility-ByDFdFl4.js";
|
|
30
30
|
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-BF6-z62y.js";
|
|
31
31
|
import { t as Check } from "./check-BcUIXnUT.js";
|
|
32
32
|
import { A as Trigger$1, C as $a916eb452884faea$export$b7a616150fdb9f44, E as $18f2051aff69b9bf$export$a54013f0d02a8f82, F as X, L as ChevronDown, M as usePrevious$2, N as useDirection, P as createCollection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as clamp$2, k as Icon, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, x as assertNever } from "./strings-BiIhGaI8.js";
|
|
@@ -6558,7 +6558,7 @@ let __tla = Promise.all([
|
|
|
6558
6558
|
let m2 = get(l, e2);
|
|
6559
6559
|
if (m2) {
|
|
6560
6560
|
let l2 = get(d, e2, isUndefined(c2) ? get(u, e2) : c2);
|
|
6561
|
-
isUndefined(l2) || p2 && p2.defaultChecked || r2 ? set(d, e2, r2 ? l2 : getFieldValue(m2._f)) :
|
|
6561
|
+
isUndefined(l2) || p2 && p2.defaultChecked || r2 ? set(d, e2, r2 ? l2 : getFieldValue(m2._f)) : zU(e2, l2), f.mount && w();
|
|
6562
6562
|
}
|
|
6563
6563
|
}, I = (e2, d2, f2, p2, m2) => {
|
|
6564
6564
|
let h2 = false, v2 = false, y2 = {
|
|
@@ -6631,14 +6631,14 @@ let __tla = Promise.all([
|
|
|
6631
6631
|
}, H = () => {
|
|
6632
6632
|
for (let e2 of p.unMount) {
|
|
6633
6633
|
let r2 = get(l, e2);
|
|
6634
|
-
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) &&
|
|
6634
|
+
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) && YU(e2);
|
|
6635
6635
|
}
|
|
6636
6636
|
p.unMount = /* @__PURE__ */ new Set();
|
|
6637
|
-
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(
|
|
6637
|
+
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(WU(), u)), G = (e2, r2, c2) => generateWatchOutput(e2, p, {
|
|
6638
6638
|
...f.mount ? d : isUndefined(r2) ? u : isString(e2) ? {
|
|
6639
6639
|
[e2]: r2
|
|
6640
6640
|
} : r2
|
|
6641
|
-
}, c2, r2), q = (e2) => compact$1(get(f.mount ? d : u, e2, r.shouldUnregister ? get(u, e2, []) : [])),
|
|
6641
|
+
}, c2, r2), q = (e2) => compact$1(get(f.mount ? d : u, e2, r.shouldUnregister ? get(u, e2, []) : [])), zU = (e2, r2, c2 = {}) => {
|
|
6642
6642
|
let u2 = get(l, e2), f2 = r2;
|
|
6643
6643
|
if (u2) {
|
|
6644
6644
|
let c3 = u2._f;
|
|
@@ -6651,11 +6651,11 @@ let __tla = Promise.all([
|
|
|
6651
6651
|
}
|
|
6652
6652
|
})));
|
|
6653
6653
|
}
|
|
6654
|
-
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate &&
|
|
6655
|
-
},
|
|
6654
|
+
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate && UU(e2);
|
|
6655
|
+
}, BU = (e2, r2, c2) => {
|
|
6656
6656
|
for (let u2 in r2) {
|
|
6657
6657
|
let d2 = r2[u2], f2 = `${e2}.${u2}`, m2 = get(l, f2);
|
|
6658
|
-
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ?
|
|
6658
|
+
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ? BU(f2, d2, c2) : zU(f2, d2, c2);
|
|
6659
6659
|
}
|
|
6660
6660
|
}, Z = (e2, r2, m2 = {}) => {
|
|
6661
6661
|
let h2 = get(l, e2), v2 = p.array.has(e2), y2 = cloneObject(r2);
|
|
@@ -6668,7 +6668,7 @@ let __tla = Promise.all([
|
|
|
6668
6668
|
name: e2,
|
|
6669
6669
|
dirtyFields: getDirtyFields(u, d),
|
|
6670
6670
|
isDirty: W(e2, y2)
|
|
6671
|
-
})) : h2 && !h2._f && !isNullOrUndefined(y2) ?
|
|
6671
|
+
})) : h2 && !h2._f && !isNullOrUndefined(y2) ? BU(e2, y2, m2) : zU(e2, y2, m2), isWatched(e2, p) && _.state.next({
|
|
6672
6672
|
...c
|
|
6673
6673
|
}), _.values.next({
|
|
6674
6674
|
name: f.mount ? e2 : void 0,
|
|
@@ -6676,7 +6676,7 @@ let __tla = Promise.all([
|
|
|
6676
6676
|
...d
|
|
6677
6677
|
}
|
|
6678
6678
|
});
|
|
6679
|
-
},
|
|
6679
|
+
}, VU = async (e2) => {
|
|
6680
6680
|
f.mount = true;
|
|
6681
6681
|
let u2 = e2.target, h2 = u2.name, S2 = true, E2 = get(l, h2), O2 = () => u2.type ? getFieldValue(E2._f) : getEventValue(e2), j2 = (e3) => {
|
|
6682
6682
|
S2 = Number.isNaN(e3) || isDateObject(e3) && isNaN(e3.getTime()) || deepEqual(e3, get(d, h2, e3));
|
|
@@ -6710,11 +6710,11 @@ let __tla = Promise.all([
|
|
|
6710
6710
|
], true), u3 = (await validateField(E2, p.disabled, d, b, r.shouldUseNativeValidation))[h2], T([
|
|
6711
6711
|
h2
|
|
6712
6712
|
]), j2(M2), S2 && (u3 ? f2 = false : g.isValid && (f2 = await B(l, true)));
|
|
6713
|
-
S2 && (E2._f.deps &&
|
|
6713
|
+
S2 && (E2._f.deps && UU(E2._f.deps), L(h2, f2, u3, G2));
|
|
6714
6714
|
}
|
|
6715
|
-
},
|
|
6715
|
+
}, HU = (e2, r2) => {
|
|
6716
6716
|
if (get(c.errors, r2) && e2.focus) return e2.focus(), 1;
|
|
6717
|
-
},
|
|
6717
|
+
}, UU = async (e2, u2 = {}) => {
|
|
6718
6718
|
let d2, f2, m2 = convertToArrayPayload(e2);
|
|
6719
6719
|
if (r.resolver) {
|
|
6720
6720
|
let r2 = await z(isUndefined(e2) ? e2 : m2);
|
|
@@ -6733,23 +6733,23 @@ let __tla = Promise.all([
|
|
|
6733
6733
|
isValid: d2
|
|
6734
6734
|
} : {},
|
|
6735
6735
|
errors: c.errors
|
|
6736
|
-
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l,
|
|
6737
|
-
},
|
|
6736
|
+
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l, HU, e2 ? m2 : p.mount), f2;
|
|
6737
|
+
}, WU = (e2) => {
|
|
6738
6738
|
let r2 = {
|
|
6739
6739
|
...f.mount ? d : u
|
|
6740
6740
|
};
|
|
6741
6741
|
return isUndefined(e2) ? r2 : isString(e2) ? get(r2, e2) : e2.map((e3) => get(r2, e3));
|
|
6742
|
-
},
|
|
6742
|
+
}, GU = (e2, r2) => ({
|
|
6743
6743
|
invalid: !!get((r2 || c).errors, e2),
|
|
6744
6744
|
isDirty: !!get((r2 || c).dirtyFields, e2),
|
|
6745
6745
|
error: get((r2 || c).errors, e2),
|
|
6746
6746
|
isValidating: !!get(c.validatingFields, e2),
|
|
6747
6747
|
isTouched: !!get((r2 || c).touchedFields, e2)
|
|
6748
|
-
}),
|
|
6748
|
+
}), KU = (e2) => {
|
|
6749
6749
|
e2 && convertToArrayPayload(e2).forEach((e3) => unset(c.errors, e3)), _.state.next({
|
|
6750
6750
|
errors: e2 ? c.errors : {}
|
|
6751
6751
|
});
|
|
6752
|
-
},
|
|
6752
|
+
}, qU = (e2, r2, u2) => {
|
|
6753
6753
|
let d2 = (get(l, e2, {
|
|
6754
6754
|
_f: {}
|
|
6755
6755
|
})._f || {}).ref, { ref: f2, message: p2, type: m2, ...h2 } = get(c.errors, e2) || {};
|
|
@@ -6762,9 +6762,9 @@ let __tla = Promise.all([
|
|
|
6762
6762
|
errors: c.errors,
|
|
6763
6763
|
isValid: false
|
|
6764
6764
|
}), u2 && u2.shouldFocus && d2 && d2.focus && d2.focus();
|
|
6765
|
-
},
|
|
6765
|
+
}, JU = (e2, r2) => isFunction$1(e2) ? _.values.subscribe({
|
|
6766
6766
|
next: (c2) => e2(G(void 0, r2), c2)
|
|
6767
|
-
}) : G(e2, r2, true),
|
|
6767
|
+
}) : G(e2, r2, true), YU = (e2, f2 = {}) => {
|
|
6768
6768
|
for (let m2 of e2 ? convertToArrayPayload(e2) : p.mount) p.mount.delete(m2), p.array.delete(m2), f2.keepValue || (unset(l, m2), unset(d, m2)), !f2.keepError && unset(c.errors, m2), !f2.keepDirty && unset(c.dirtyFields, m2), !f2.keepTouched && unset(c.touchedFields, m2), !f2.keepIsValidating && unset(c.validatingFields, m2), !r.shouldUnregister && !f2.keepDefaultValue && unset(u, m2);
|
|
6769
6769
|
_.values.next({
|
|
6770
6770
|
values: {
|
|
@@ -6776,9 +6776,9 @@ let __tla = Promise.all([
|
|
|
6776
6776
|
isDirty: W()
|
|
6777
6777
|
} : {}
|
|
6778
6778
|
}), !f2.keepIsValid && w();
|
|
6779
|
-
},
|
|
6779
|
+
}, XU = ({ disabled: e2, name: r2, field: c2, fields: l2 }) => {
|
|
6780
6780
|
(isBoolean(e2) && f.mount || e2 || p.disabled.has(r2)) && (e2 ? p.disabled.add(r2) : p.disabled.delete(r2), I(r2, getFieldValue(c2 ? c2._f : get(l2, r2)._f), false, false, true));
|
|
6781
|
-
},
|
|
6781
|
+
}, ZU = (e2, c2 = {}) => {
|
|
6782
6782
|
let d2 = get(l, e2), m2 = isBoolean(c2.disabled) || isBoolean(r.disabled);
|
|
6783
6783
|
return set(l, e2, {
|
|
6784
6784
|
...d2 || {},
|
|
@@ -6792,7 +6792,7 @@ let __tla = Promise.all([
|
|
|
6792
6792
|
mount: true,
|
|
6793
6793
|
...c2
|
|
6794
6794
|
}
|
|
6795
|
-
}), p.mount.add(e2), d2 ?
|
|
6795
|
+
}), p.mount.add(e2), d2 ? XU({
|
|
6796
6796
|
field: d2,
|
|
6797
6797
|
disabled: isBoolean(c2.disabled) ? c2.disabled : r.disabled,
|
|
6798
6798
|
name: e2
|
|
@@ -6809,11 +6809,11 @@ let __tla = Promise.all([
|
|
|
6809
6809
|
pattern: getRuleValue(c2.pattern)
|
|
6810
6810
|
} : {},
|
|
6811
6811
|
name: e2,
|
|
6812
|
-
onChange:
|
|
6813
|
-
onBlur:
|
|
6812
|
+
onChange: VU,
|
|
6813
|
+
onBlur: VU,
|
|
6814
6814
|
ref: (m3) => {
|
|
6815
6815
|
if (m3) {
|
|
6816
|
-
|
|
6816
|
+
ZU(e2, c2), d2 = get(l, e2);
|
|
6817
6817
|
let r2 = isUndefined(m3.value) && m3.querySelectorAll && m3.querySelectorAll("input,select,textarea")[0] || m3, f2 = isRadioOrCheckbox(r2), p2 = d2._f.refs || [];
|
|
6818
6818
|
if (f2 ? p2.find((e3) => e3 === r2) : r2 === d2._f.ref) return;
|
|
6819
6819
|
set(l, e2, {
|
|
@@ -6839,7 +6839,7 @@ let __tla = Promise.all([
|
|
|
6839
6839
|
} else d2 = get(l, e2, {}), d2._f && (d2._f.mount = false), (r.shouldUnregister || c2.shouldUnregister) && !(isNameInFieldArray(p.array, e2) && f.action) && p.unMount.add(e2);
|
|
6840
6840
|
}
|
|
6841
6841
|
};
|
|
6842
|
-
},
|
|
6842
|
+
}, QU = () => r.shouldFocusError && iterateFieldsByAction(l, HU, p.mount), $U = (e2) => {
|
|
6843
6843
|
isBoolean(e2) && (_.state.next({
|
|
6844
6844
|
disabled: e2
|
|
6845
6845
|
}), iterateFieldsByAction(l, (r2, c2) => {
|
|
@@ -6848,7 +6848,7 @@ let __tla = Promise.all([
|
|
|
6848
6848
|
r3.disabled = u2._f.disabled || e2;
|
|
6849
6849
|
}));
|
|
6850
6850
|
}, 0, false));
|
|
6851
|
-
},
|
|
6851
|
+
}, eW = (e2, u2) => async (f2) => {
|
|
6852
6852
|
let m2;
|
|
6853
6853
|
f2 && (f2.preventDefault && f2.preventDefault(), f2.persist && f2.persist());
|
|
6854
6854
|
let h2 = cloneObject(d);
|
|
@@ -6870,7 +6870,7 @@ let __tla = Promise.all([
|
|
|
6870
6870
|
}
|
|
6871
6871
|
} else u2 && await u2({
|
|
6872
6872
|
...c.errors
|
|
6873
|
-
}, f2),
|
|
6873
|
+
}, f2), QU(), setTimeout(QU);
|
|
6874
6874
|
if (_.state.next({
|
|
6875
6875
|
isSubmitted: true,
|
|
6876
6876
|
isSubmitting: false,
|
|
@@ -6878,11 +6878,11 @@ let __tla = Promise.all([
|
|
|
6878
6878
|
submitCount: c.submitCount + 1,
|
|
6879
6879
|
errors: c.errors
|
|
6880
6880
|
}), m2) throw m2;
|
|
6881
|
-
},
|
|
6881
|
+
}, tW = (e2, r2 = {}) => {
|
|
6882
6882
|
get(l, e2) && (isUndefined(r2.defaultValue) ? Z(e2, cloneObject(get(u, e2))) : (Z(e2, r2.defaultValue), set(u, e2, cloneObject(r2.defaultValue))), r2.keepTouched || unset(c.touchedFields, e2), r2.keepDirty || (unset(c.dirtyFields, e2), c.isDirty = r2.defaultValue ? W(e2, cloneObject(get(u, e2))) : W()), r2.keepError || (unset(c.errors, e2), g.isValid && w()), _.state.next({
|
|
6883
6883
|
...c
|
|
6884
6884
|
}));
|
|
6885
|
-
},
|
|
6885
|
+
}, nW = (e2, m2 = {}) => {
|
|
6886
6886
|
let h2 = e2 ? cloneObject(e2) : u, v2 = cloneObject(h2), y2 = isEmptyObject(e2), b2 = y2 ? u : v2;
|
|
6887
6887
|
if (m2.keepDefaultValues || (u = h2), !m2.keepValues) {
|
|
6888
6888
|
if (m2.keepDirtyValues) {
|
|
@@ -6935,25 +6935,25 @@ let __tla = Promise.all([
|
|
|
6935
6935
|
isSubmitSuccessful: m2.keepIsSubmitSuccessful ? c.isSubmitSuccessful : false,
|
|
6936
6936
|
isSubmitting: false
|
|
6937
6937
|
});
|
|
6938
|
-
},
|
|
6938
|
+
}, rW = (e2, r2) => nW(isFunction$1(e2) ? e2(d) : e2, r2);
|
|
6939
6939
|
return {
|
|
6940
6940
|
control: {
|
|
6941
|
-
register:
|
|
6942
|
-
unregister:
|
|
6943
|
-
getFieldState:
|
|
6944
|
-
handleSubmit:
|
|
6945
|
-
setError:
|
|
6941
|
+
register: ZU,
|
|
6942
|
+
unregister: YU,
|
|
6943
|
+
getFieldState: GU,
|
|
6944
|
+
handleSubmit: eW,
|
|
6945
|
+
setError: qU,
|
|
6946
6946
|
_executeSchema: R,
|
|
6947
6947
|
_getWatch: G,
|
|
6948
6948
|
_getDirty: W,
|
|
6949
6949
|
_updateValid: w,
|
|
6950
6950
|
_removeUnmounted: H,
|
|
6951
6951
|
_updateFieldArray: E,
|
|
6952
|
-
_updateDisabledField:
|
|
6952
|
+
_updateDisabledField: XU,
|
|
6953
6953
|
_getFieldArray: q,
|
|
6954
|
-
_reset:
|
|
6954
|
+
_reset: nW,
|
|
6955
6955
|
_resetDefaultValues: () => isFunction$1(r.defaultValues) && r.defaultValues().then((e2) => {
|
|
6956
|
-
|
|
6956
|
+
rW(e2, r.resetOptions), _.state.next({
|
|
6957
6957
|
isLoading: false
|
|
6958
6958
|
});
|
|
6959
6959
|
}),
|
|
@@ -6963,7 +6963,7 @@ let __tla = Promise.all([
|
|
|
6963
6963
|
...e2
|
|
6964
6964
|
};
|
|
6965
6965
|
},
|
|
6966
|
-
_disableForm:
|
|
6966
|
+
_disableForm: $U,
|
|
6967
6967
|
_subjects: _,
|
|
6968
6968
|
_proxyFormState: g,
|
|
6969
6969
|
_setErrors: j,
|
|
@@ -7004,17 +7004,17 @@ let __tla = Promise.all([
|
|
|
7004
7004
|
};
|
|
7005
7005
|
}
|
|
7006
7006
|
},
|
|
7007
|
-
trigger:
|
|
7008
|
-
register:
|
|
7009
|
-
handleSubmit:
|
|
7010
|
-
watch:
|
|
7007
|
+
trigger: UU,
|
|
7008
|
+
register: ZU,
|
|
7009
|
+
handleSubmit: eW,
|
|
7010
|
+
watch: JU,
|
|
7011
7011
|
setValue: Z,
|
|
7012
|
-
getValues:
|
|
7013
|
-
reset:
|
|
7014
|
-
resetField:
|
|
7015
|
-
clearErrors:
|
|
7016
|
-
unregister:
|
|
7017
|
-
setError:
|
|
7012
|
+
getValues: WU,
|
|
7013
|
+
reset: rW,
|
|
7014
|
+
resetField: tW,
|
|
7015
|
+
clearErrors: KU,
|
|
7016
|
+
unregister: YU,
|
|
7017
|
+
setError: qU,
|
|
7018
7018
|
setFocus: (e2, r2 = {}) => {
|
|
7019
7019
|
let c2 = get(l, e2), u2 = c2 && c2._f;
|
|
7020
7020
|
if (u2) {
|
|
@@ -7022,7 +7022,7 @@ let __tla = Promise.all([
|
|
|
7022
7022
|
e3.focus && (e3.focus(), r2.shouldSelect && isFunction$1(e3.select) && e3.select());
|
|
7023
7023
|
}
|
|
7024
7024
|
},
|
|
7025
|
-
getFieldState:
|
|
7025
|
+
getFieldState: GU
|
|
7026
7026
|
};
|
|
7027
7027
|
}
|
|
7028
7028
|
function useForm(e = {}) {
|
|
@@ -10184,33 +10184,33 @@ ${c}
|
|
|
10184
10184
|
}), B = C({
|
|
10185
10185
|
height: 0,
|
|
10186
10186
|
width: 0
|
|
10187
|
-
}), H = U(), W = U(), G = C(0), q = C(null),
|
|
10187
|
+
}), H = U(), W = U(), G = C(0), q = C(null), zU = C({
|
|
10188
10188
|
column: 0,
|
|
10189
10189
|
row: 0
|
|
10190
|
-
}),
|
|
10191
|
-
Y(x(b, $(
|
|
10192
|
-
D(
|
|
10193
|
-
}), Y(x(ut(b,
|
|
10194
|
-
D(
|
|
10190
|
+
}), BU = U(), Z = U(), VU = C(false), HU = C(0), UU = C(true), WU = C(false), GU = C(false);
|
|
10191
|
+
Y(x(b, $(HU), P(([e2, r2]) => !!r2)), () => {
|
|
10192
|
+
D(UU, false);
|
|
10193
|
+
}), Y(x(ut(b, UU, B, z, HU, WU), P(([e2, r2, c2, l2, , u2]) => e2 && !r2 && c2.height !== 0 && l2.height !== 0 && !u2)), ([, , , , e2]) => {
|
|
10194
|
+
D(WU, true), Ue(1, () => {
|
|
10195
10195
|
D(H, e2);
|
|
10196
10196
|
}), Et(x(h), () => {
|
|
10197
10197
|
D(r, [
|
|
10198
10198
|
0,
|
|
10199
10199
|
0
|
|
10200
|
-
]), D(
|
|
10200
|
+
]), D(UU, true);
|
|
10201
10201
|
});
|
|
10202
10202
|
}), F(x(Z, P((e2) => e2 != null && e2.scrollTop > 0), Ft(0)), L), Y(x(b, $(Z), P(([, e2]) => e2 != null)), ([, e2]) => {
|
|
10203
|
-
e2 && (D(z, e2.viewport), D(B, e2.item), D(
|
|
10204
|
-
D(
|
|
10203
|
+
e2 && (D(z, e2.viewport), D(B, e2.item), D(zU, e2.gap), e2.scrollTop > 0 && (D(VU, true), Et(x(h, Kt(1)), (e3) => {
|
|
10204
|
+
D(VU, false);
|
|
10205
10205
|
}), D(m, {
|
|
10206
10206
|
top: e2.scrollTop
|
|
10207
10207
|
})));
|
|
10208
|
-
}), F(x(z, k(({ height: e2 }) => e2)), _), F(x(ut(V(z, xe), V(B, xe), V(
|
|
10208
|
+
}), F(x(z, k(({ height: e2 }) => e2)), _), F(x(ut(V(z, xe), V(B, xe), V(zU, (e2, r2) => e2 && e2.column === r2.column && e2.row === r2.row), V(h)), k(([e2, r2, c2, l2]) => ({
|
|
10209
10209
|
gap: c2,
|
|
10210
10210
|
item: r2,
|
|
10211
10211
|
scrollTop: l2,
|
|
10212
10212
|
viewport: e2
|
|
10213
|
-
}))),
|
|
10213
|
+
}))), BU), F(x(ut(V(I), l, V(zU, Or), V(B, xe), V(z, xe), V(q), V(L), V(VU), V(UU), V(HU)), P(([, , , , , , , e2]) => !e2), k(([e2, [r2, c2], l2, u2, d2, f2, p2, , m2, h2]) => {
|
|
10214
10214
|
let { column: g2, row: _2 } = l2, { height: v2, width: y2 } = u2, { width: b2 } = d2;
|
|
10215
10215
|
if (p2 === 0 && (e2 === 0 || b2 === 0)) return bn;
|
|
10216
10216
|
if (y2 === 0) {
|
|
@@ -10229,23 +10229,23 @@ ${c}
|
|
|
10229
10229
|
offsetTop: j2,
|
|
10230
10230
|
top: j2
|
|
10231
10231
|
};
|
|
10232
|
-
})), R), F(x(q, P((e2) => e2 !== null), k((e2) => e2.length)), I), F(x(ut(z, B, R,
|
|
10232
|
+
})), R), F(x(q, P((e2) => e2 !== null), k((e2) => e2.length)), I), F(x(ut(z, B, R, zU), P(([e2, r2, { items: c2 }]) => c2.length > 0 && r2.height !== 0 && e2.height !== 0), k(([e2, r2, { items: c2 }, l2]) => {
|
|
10233
10233
|
let { bottom: u2, top: d2 } = Bn(e2, l2, r2, c2);
|
|
10234
10234
|
return [
|
|
10235
10235
|
d2,
|
|
10236
10236
|
u2
|
|
10237
10237
|
];
|
|
10238
10238
|
}), J(ce)), r);
|
|
10239
|
-
let
|
|
10240
|
-
F(x(h, $(
|
|
10241
|
-
let
|
|
10239
|
+
let KU = C(false);
|
|
10240
|
+
F(x(h, $(KU), k(([e2, r2]) => r2 || e2 !== 0)), KU);
|
|
10241
|
+
let qU = bt(x(ut(R, I), P(([{ items: e2 }]) => e2.length > 0), $(KU), P(([[e2, r2], c2]) => {
|
|
10242
10242
|
let l2 = e2.items[e2.items.length - 1].index === r2 - 1;
|
|
10243
10243
|
return (c2 || e2.bottom > 0 && e2.itemHeight > 0 && e2.offsetBottom === 0 && e2.items.length === r2) && l2;
|
|
10244
|
-
}), k(([[, e2]]) => e2 - 1), J())),
|
|
10244
|
+
}), k(([[, e2]]) => e2 - 1), J())), JU = bt(x(V(R), P(({ items: e2 }) => e2.length > 0 && e2[0].index === 0), Ft(0), J())), YU = bt(x(V(R), $(VU), P(([{ items: e2 }, r2]) => e2.length > 0 && !r2), k(([{ items: e2 }]) => ({
|
|
10245
10245
|
endIndex: e2[e2.length - 1].index,
|
|
10246
10246
|
startIndex: e2[0].index
|
|
10247
10247
|
})), J(An), Gt(0)));
|
|
10248
|
-
F(
|
|
10248
|
+
F(YU, y.scrollSeekRangeChanged), F(x(H, $(z, B, I, zU), k(([e2, r2, c2, l2, u2]) => {
|
|
10249
10249
|
let d2 = $n(e2), { align: f2, behavior: p2, offset: m2 } = d2, h2 = d2.index;
|
|
10250
10250
|
h2 === "LAST" && (h2 = l2 - 1), h2 = re(0, h2, Oe(l2 - 1, h2));
|
|
10251
10251
|
let g2 = Me(r2, u2, c2, h2);
|
|
@@ -10254,7 +10254,7 @@ ${c}
|
|
|
10254
10254
|
top: g2
|
|
10255
10255
|
};
|
|
10256
10256
|
})), m);
|
|
10257
|
-
let
|
|
10257
|
+
let XU = ht(x(R, k((e2) => e2.offsetBottom + e2.bottom)), 0);
|
|
10258
10258
|
return F(x(j, k((e2) => ({
|
|
10259
10259
|
height: e2.visibleHeight,
|
|
10260
10260
|
width: e2.visibleWidth
|
|
@@ -10263,7 +10263,7 @@ ${c}
|
|
|
10263
10263
|
data: q,
|
|
10264
10264
|
deviation: G,
|
|
10265
10265
|
footerHeight: u,
|
|
10266
|
-
gap:
|
|
10266
|
+
gap: zU,
|
|
10267
10267
|
headerHeight: d,
|
|
10268
10268
|
increaseViewportBy: e,
|
|
10269
10269
|
initialItemCount: L,
|
|
@@ -10285,16 +10285,16 @@ ${c}
|
|
|
10285
10285
|
windowViewportRect: j,
|
|
10286
10286
|
...y,
|
|
10287
10287
|
gridState: R,
|
|
10288
|
-
horizontalDirection:
|
|
10289
|
-
initialTopMostItemIndex:
|
|
10290
|
-
totalListHeight:
|
|
10288
|
+
horizontalDirection: GU,
|
|
10289
|
+
initialTopMostItemIndex: HU,
|
|
10290
|
+
totalListHeight: XU,
|
|
10291
10291
|
...v,
|
|
10292
|
-
endReached:
|
|
10292
|
+
endReached: qU,
|
|
10293
10293
|
propsReady: S,
|
|
10294
|
-
rangeChanged:
|
|
10295
|
-
startReached:
|
|
10296
|
-
stateChanged:
|
|
10297
|
-
stateRestoreInProgress:
|
|
10294
|
+
rangeChanged: YU,
|
|
10295
|
+
startReached: JU,
|
|
10296
|
+
stateChanged: BU,
|
|
10297
|
+
stateRestoreInProgress: VU,
|
|
10298
10298
|
...M
|
|
10299
10299
|
};
|
|
10300
10300
|
}, tt(je, It, he, Zn, _t, qe, Wt));
|
|
@@ -13569,53 +13569,53 @@ ${c}
|
|
|
13569
13569
|
className: "text-muted-foreground text-xs",
|
|
13570
13570
|
children: "|"
|
|
13571
13571
|
}), r[24] = q) : q = r[24];
|
|
13572
|
-
let
|
|
13573
|
-
r[25] === E ?
|
|
13574
|
-
let
|
|
13575
|
-
r[27] ===
|
|
13576
|
-
let
|
|
13577
|
-
r[29] !== Z || r[30] !==
|
|
13572
|
+
let zU;
|
|
13573
|
+
r[25] === E ? zU = r[26] : (zU = () => E(PANEL_TYPES.COLUMN_EXPLORER), r[25] = E, r[26] = zU);
|
|
13574
|
+
let BU = R === PANEL_TYPES.COLUMN_EXPLORER ? activeClassName : inactiveClassName, Z;
|
|
13575
|
+
r[27] === BU ? Z = r[28] : (Z = cn(tabTriggerClassName, BU), r[27] = BU, r[28] = Z);
|
|
13576
|
+
let VU;
|
|
13577
|
+
r[29] !== Z || r[30] !== zU ? (VU = (0, import_jsx_runtime.jsx)(Button, {
|
|
13578
13578
|
variant: "text",
|
|
13579
13579
|
size: "xs",
|
|
13580
|
-
onClick:
|
|
13580
|
+
onClick: zU,
|
|
13581
13581
|
className: Z,
|
|
13582
13582
|
children: "Columns"
|
|
13583
|
-
}), r[29] = Z, r[30] =
|
|
13584
|
-
let
|
|
13585
|
-
r[32] !==
|
|
13583
|
+
}), r[29] = Z, r[30] = zU, r[31] = VU) : VU = r[31];
|
|
13584
|
+
let HU;
|
|
13585
|
+
r[32] !== VU || r[33] !== G ? (HU = (0, import_jsx_runtime.jsx)(Fill, {
|
|
13586
13586
|
name: SlotNames.CONTEXT_AWARE_PANEL_HEADER,
|
|
13587
13587
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
13588
13588
|
className: "flex items-center gap-1",
|
|
13589
13589
|
children: [
|
|
13590
13590
|
G,
|
|
13591
13591
|
q,
|
|
13592
|
-
|
|
13592
|
+
VU
|
|
13593
13593
|
]
|
|
13594
13594
|
})
|
|
13595
|
-
}), r[32] =
|
|
13596
|
-
let
|
|
13597
|
-
r[35] === M ?
|
|
13595
|
+
}), r[32] = VU, r[33] = G, r[34] = HU) : HU = r[34];
|
|
13596
|
+
let UU;
|
|
13597
|
+
r[35] === M ? UU = r[36] : (UU = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
13598
13598
|
value: PANEL_TYPES.ROW_VIEWER,
|
|
13599
13599
|
className: "flex-1 overflow-auto",
|
|
13600
13600
|
children: M
|
|
13601
|
-
}), r[35] = M, r[36] =
|
|
13602
|
-
let
|
|
13603
|
-
r[37] === L ?
|
|
13601
|
+
}), r[35] = M, r[36] = UU);
|
|
13602
|
+
let WU;
|
|
13603
|
+
r[37] === L ? WU = r[38] : (WU = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
13604
13604
|
value: PANEL_TYPES.COLUMN_EXPLORER,
|
|
13605
13605
|
className: "flex-1 overflow-auto",
|
|
13606
13606
|
children: L
|
|
13607
|
-
}), r[37] = L, r[38] =
|
|
13608
|
-
let
|
|
13609
|
-
return r[39] !== R || r[40] !==
|
|
13607
|
+
}), r[37] = L, r[38] = WU);
|
|
13608
|
+
let GU;
|
|
13609
|
+
return r[39] !== R || r[40] !== HU || r[41] !== UU || r[42] !== WU || r[43] !== z ? (GU = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
13610
13610
|
value: R,
|
|
13611
13611
|
onValueChange: z,
|
|
13612
13612
|
className: "flex flex-col min-w-[350px]",
|
|
13613
13613
|
children: [
|
|
13614
|
-
|
|
13615
|
-
|
|
13616
|
-
|
|
13614
|
+
HU,
|
|
13615
|
+
UU,
|
|
13616
|
+
WU
|
|
13617
13617
|
]
|
|
13618
|
-
}), r[39] = R, r[40] =
|
|
13618
|
+
}), r[39] = R, r[40] = HU, r[41] = UU, r[42] = WU, r[43] = z, r[44] = GU) : GU = r[44], GU;
|
|
13619
13619
|
};
|
|
13620
13620
|
var import_compiler_runtime$59 = require_compiler_runtime();
|
|
13621
13621
|
function useEffectSkipFirstRender(e, r) {
|
|
@@ -14344,8 +14344,8 @@ ${c}
|
|
|
14344
14344
|
_.pageSize,
|
|
14345
14345
|
_.pageIndex
|
|
14346
14346
|
], r[36] = w, r[37] = _.pageIndex, r[38] = _.pageSize, r[39] = e.cellHoverTexts, r[40] = e.cellStyles, r[41] = e.data, r[42] = e.lazy, r[43] = e.sizeBytes, r[44] = e.totalRows, r[45] = u, r[46] = y, r[47] = m, r[48] = B, r[49] = H) : H = r[49];
|
|
14347
|
-
let { data: W, error: G, isPending: q, isFetching:
|
|
14348
|
-
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (
|
|
14347
|
+
let { data: W, error: G, isPending: q, isFetching: zU } = useAsyncData(z, H), BU;
|
|
14348
|
+
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (BU = async (e2) => ({
|
|
14349
14349
|
rows: await loadTableData((await u({
|
|
14350
14350
|
page_number: e2,
|
|
14351
14351
|
page_size: 1,
|
|
@@ -14354,38 +14354,38 @@ ${c}
|
|
|
14354
14354
|
filters: filtersToFilterGroup(w),
|
|
14355
14355
|
max_columns: null
|
|
14356
14356
|
})).data)
|
|
14357
|
-
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] =
|
|
14358
|
-
let Z =
|
|
14359
|
-
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
14357
|
+
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] = BU) : BU = r[54];
|
|
14358
|
+
let Z = BU, VU;
|
|
14359
|
+
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (VU = () => {
|
|
14360
14360
|
v(_temp4$4);
|
|
14361
|
-
}, r[55] =
|
|
14362
|
-
let
|
|
14363
|
-
r[56] ===
|
|
14364
|
-
|
|
14365
|
-
], r[56] =
|
|
14366
|
-
let
|
|
14367
|
-
r[58] === e ?
|
|
14361
|
+
}, r[55] = VU) : VU = r[55];
|
|
14362
|
+
let HU = W == null ? void 0 : W.totalRows, UU;
|
|
14363
|
+
r[56] === HU ? UU = r[57] : (UU = [
|
|
14364
|
+
HU
|
|
14365
|
+
], r[56] = HU, r[57] = UU), (0, import_react.useEffect)(VU, UU);
|
|
14366
|
+
let WU;
|
|
14367
|
+
r[58] === e ? WU = r[59] : (WU = async () => e.totalRows === 0 || !e.showColumnSummaries ? {
|
|
14368
14368
|
data: null,
|
|
14369
14369
|
stats: {},
|
|
14370
14370
|
bin_values: {},
|
|
14371
14371
|
value_counts: {},
|
|
14372
14372
|
show_charts: false
|
|
14373
|
-
} : e.get_column_summaries({}), r[58] = e, r[59] =
|
|
14374
|
-
let
|
|
14375
|
-
r[60] !== w || r[61] !== e.data || r[62] !== e.get_column_summaries || r[63] !== e.showColumnSummaries || r[64] !== e.totalRows || r[65] !== y ? (
|
|
14373
|
+
} : e.get_column_summaries({}), r[58] = e, r[59] = WU);
|
|
14374
|
+
let GU;
|
|
14375
|
+
r[60] !== w || r[61] !== e.data || r[62] !== e.get_column_summaries || r[63] !== e.showColumnSummaries || r[64] !== e.totalRows || r[65] !== y ? (GU = [
|
|
14376
14376
|
e.get_column_summaries,
|
|
14377
14377
|
e.showColumnSummaries,
|
|
14378
14378
|
w,
|
|
14379
14379
|
y,
|
|
14380
14380
|
e.totalRows,
|
|
14381
14381
|
e.data
|
|
14382
|
-
], r[60] = w, r[61] = e.data, r[62] = e.get_column_summaries, r[63] = e.showColumnSummaries, r[64] = e.totalRows, r[65] = y, r[66] =
|
|
14383
|
-
let { data:
|
|
14384
|
-
if (r[67] ===
|
|
14385
|
-
|
|
14386
|
-
},
|
|
14387
|
-
|
|
14388
|
-
], r[67] =
|
|
14382
|
+
], r[60] = w, r[61] = e.data, r[62] = e.get_column_summaries, r[63] = e.showColumnSummaries, r[64] = e.totalRows, r[65] = y, r[66] = GU) : GU = r[66];
|
|
14383
|
+
let { data: KU, error: qU } = useAsyncData(WU, GU), JU, YU;
|
|
14384
|
+
if (r[67] === qU ? (JU = r[68], YU = r[69]) : (JU = () => {
|
|
14385
|
+
qU && Logger.error(qU);
|
|
14386
|
+
}, YU = [
|
|
14387
|
+
qU
|
|
14388
|
+
], r[67] = qU, r[68] = JU, r[69] = YU), (0, import_react.useEffect)(JU, YU), q) {
|
|
14389
14389
|
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? Math.min(e.totalRows, e.pageSize) : e.pageSize, l2;
|
|
14390
14390
|
return r[70] === c2 ? l2 = r[71] : (l2 = (0, import_jsx_runtime.jsx)(DelayMount, {
|
|
14391
14391
|
milliseconds: 200,
|
|
@@ -14394,7 +14394,7 @@ ${c}
|
|
|
14394
14394
|
})
|
|
14395
14395
|
}), r[70] = c2, r[71] = l2), l2;
|
|
14396
14396
|
}
|
|
14397
|
-
let
|
|
14397
|
+
let XU = null;
|
|
14398
14398
|
if (G) {
|
|
14399
14399
|
Logger.error(G);
|
|
14400
14400
|
let e2;
|
|
@@ -14410,60 +14410,60 @@ ${c}
|
|
|
14410
14410
|
children: G.message || "An unknown error occurred"
|
|
14411
14411
|
})
|
|
14412
14412
|
]
|
|
14413
|
-
}), r[72] = G, r[73] = e2),
|
|
14413
|
+
}), r[72] = G, r[73] = e2), XU = e2;
|
|
14414
14414
|
}
|
|
14415
|
-
let
|
|
14416
|
-
r[74] === O ?
|
|
14415
|
+
let ZU;
|
|
14416
|
+
r[74] === O ? ZU = r[75] : (ZU = () => {
|
|
14417
14417
|
j(!O);
|
|
14418
|
-
}, r[74] = O, r[75] =
|
|
14419
|
-
let
|
|
14420
|
-
r[76] !== l || r[77] !==
|
|
14418
|
+
}, r[74] = O, r[75] = ZU);
|
|
14419
|
+
let QU = ZU, $U = (W == null ? void 0 : W.rows) ?? Arrays.EMPTY, eW = W == null ? void 0 : W.rawRows, tW = zU && !q, nW = (W == null ? void 0 : W.totalRows) ?? e.totalRows, rW = (W == null ? void 0 : W.sizeBytes) ?? e.sizeBytes ?? null, iW = (W == null ? void 0 : W.cellStyles) ?? e.cellStyles, aW = (W == null ? void 0 : W.cellHoverTexts) ?? e.cellHoverTexts, oW;
|
|
14420
|
+
r[76] !== l || r[77] !== KU || r[78] !== O || r[79] !== w || r[80] !== Z || r[81] !== _ || r[82] !== e || r[83] !== y || r[84] !== m || r[85] !== $U || r[86] !== eW || r[87] !== tW || r[88] !== nW || r[89] !== rW || r[90] !== iW || r[91] !== aW || r[92] !== QU ? (oW = (0, import_jsx_runtime.jsx)(DataTableComponent, {
|
|
14421
14421
|
...e,
|
|
14422
|
-
data:
|
|
14423
|
-
rawData:
|
|
14424
|
-
columnSummaries:
|
|
14422
|
+
data: $U,
|
|
14423
|
+
rawData: eW,
|
|
14424
|
+
columnSummaries: KU,
|
|
14425
14425
|
sorting: m,
|
|
14426
14426
|
setSorting: h,
|
|
14427
14427
|
searchQuery: y,
|
|
14428
14428
|
setSearchQuery: b,
|
|
14429
14429
|
filters: w,
|
|
14430
14430
|
setFilters: T,
|
|
14431
|
-
reloading:
|
|
14432
|
-
totalRows:
|
|
14433
|
-
sizeBytes:
|
|
14431
|
+
reloading: tW,
|
|
14432
|
+
totalRows: nW,
|
|
14433
|
+
sizeBytes: rW,
|
|
14434
14434
|
paginationState: _,
|
|
14435
14435
|
setPaginationState: v,
|
|
14436
|
-
cellStyles:
|
|
14437
|
-
cellHoverTexts:
|
|
14438
|
-
toggleDisplayHeader:
|
|
14436
|
+
cellStyles: iW,
|
|
14437
|
+
cellHoverTexts: aW,
|
|
14438
|
+
toggleDisplayHeader: QU,
|
|
14439
14439
|
isChartBuilderOpen: O,
|
|
14440
14440
|
getRow: Z,
|
|
14441
14441
|
cellId: l,
|
|
14442
14442
|
maxHeight: e.maxHeight
|
|
14443
|
-
}), r[76] = l, r[77] =
|
|
14444
|
-
let
|
|
14445
|
-
r[94] !== l || r[95] !==
|
|
14443
|
+
}), r[76] = l, r[77] = KU, r[78] = O, r[79] = w, r[80] = Z, r[81] = _, r[82] = e, r[83] = y, r[84] = m, r[85] = $U, r[86] = eW, r[87] = tW, r[88] = nW, r[89] = rW, r[90] = iW, r[91] = aW, r[92] = QU, r[93] = oW) : oW = r[93];
|
|
14444
|
+
let sW = oW, cW;
|
|
14445
|
+
r[94] !== l || r[95] !== sW || r[96] !== (W == null ? void 0 : W.rows) || r[97] !== O || r[98] !== e.fieldTypes || r[99] !== e.get_data_url || r[100] !== e.showChartBuilder || r[101] !== e.totalColumns || r[102] !== e.totalRows ? (cW = e.showChartBuilder ? (0, import_jsx_runtime.jsx)(TablePanel, {
|
|
14446
14446
|
displayHeader: O,
|
|
14447
14447
|
onCloseChartBuilder: () => j(false),
|
|
14448
14448
|
data: (W == null ? void 0 : W.rows) || [],
|
|
14449
14449
|
columns: e.totalColumns,
|
|
14450
14450
|
totalRows: e.totalRows,
|
|
14451
|
-
dataTable:
|
|
14451
|
+
dataTable: sW,
|
|
14452
14452
|
getDataUrl: e.get_data_url,
|
|
14453
14453
|
fieldTypes: e.fieldTypes,
|
|
14454
14454
|
cellId: l
|
|
14455
|
-
}) :
|
|
14456
|
-
let
|
|
14457
|
-
return r[104] !==
|
|
14455
|
+
}) : sW, r[94] = l, r[95] = sW, r[96] = W == null ? void 0 : W.rows, r[97] = O, r[98] = e.fieldTypes, r[99] = e.get_data_url, r[100] = e.showChartBuilder, r[101] = e.totalColumns, r[102] = e.totalRows, r[103] = cW) : cW = r[103];
|
|
14456
|
+
let lW;
|
|
14457
|
+
return r[104] !== XU || r[105] !== cW ? (lW = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
14458
14458
|
children: [
|
|
14459
|
-
|
|
14460
|
-
|
|
14459
|
+
XU,
|
|
14460
|
+
cW
|
|
14461
14461
|
]
|
|
14462
|
-
}), r[104] =
|
|
14462
|
+
}), r[104] = XU, r[105] = cW, r[106] = lW) : lW = r[106], lW;
|
|
14463
14463
|
});
|
|
14464
14464
|
LoadingDataTableComponent.displayName = "LoadingDataTableComponent";
|
|
14465
|
-
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, maxColumns: d, pagination: f, selection: p, value: m, showFilters: h, showDownload: g, showPageSizeSelector: _, showColumnExplorer: v, showRowExplorer: y, showChartBuilder: b, showDataTypes: S, rowHeaders: w, fieldTypes: T, paginationState: O, setPaginationState: j, download_as: M, columnSummaries: I, className: L, setValue: R, sorting: z, setSorting: B, enableSearch: H, searchQuery: W, setSearchQuery: G, filters: q, setFilters:
|
|
14466
|
-
let
|
|
14465
|
+
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, maxColumns: d, pagination: f, selection: p, value: m, showFilters: h, showDownload: g, showPageSizeSelector: _, showColumnExplorer: v, showRowExplorer: y, showChartBuilder: b, showDataTypes: S, rowHeaders: w, fieldTypes: T, paginationState: O, setPaginationState: j, download_as: M, columnSummaries: I, className: L, setValue: R, sorting: z, setSorting: B, enableSearch: H, searchQuery: W, setSearchQuery: G, filters: q, setFilters: zU, reloading: BU, freezeColumnsLeft: Z, freezeColumnsRight: VU, textJustifyColumns: HU, wrappedColumns: UU, headerTooltip: WU, totalColumns: GU, get_row_ids: KU, cellStyles: qU, hoverTemplate: JU, cellHoverTexts: YU, toggleDisplayHeader: XU, isChartBuilderOpen: ZU, calculate_top_k_rows: QU, preview_column: $U, getRow: eW, cellId: tW, maxHeight: nW }) => {
|
|
14466
|
+
let rW = (0, import_react.useId)(), [iW, aW] = (0, import_react.useState)(0), { isPanelOpen: oW, isAnyPanelOpen: sW, togglePanel: cW, panelType: lW, setPanelType: uW } = usePanelOwnership(rW, tW), dW = (0, import_react.useMemo)(() => {
|
|
14467
14467
|
if (!I || !T || !I.stats) return ColumnChartSpecModel.EMPTY;
|
|
14468
14468
|
let e2 = toFieldTypes(T);
|
|
14469
14469
|
return new ColumnChartSpecModel(I.data || [], e2, I.stats, I.bin_values, I.value_counts, {
|
|
@@ -14472,13 +14472,13 @@ ${c}
|
|
|
14472
14472
|
}, [
|
|
14473
14473
|
T,
|
|
14474
14474
|
I
|
|
14475
|
-
]),
|
|
14475
|
+
]), fW = useDeepCompareMemoize(T ?? inferFieldTypes(r)), pW = (0, import_react.useMemo)(() => d === "all" ? fW : fW.slice(0, d), [
|
|
14476
14476
|
d,
|
|
14477
|
-
|
|
14478
|
-
]),
|
|
14477
|
+
fW
|
|
14478
|
+
]), mW = (0, import_react.useMemo)(() => {
|
|
14479
14479
|
let e2 = {};
|
|
14480
14480
|
if (r && r.length > 0) {
|
|
14481
|
-
for (let [c2, l2] of
|
|
14481
|
+
for (let [c2, l2] of pW) if (l2[0] === "number") {
|
|
14482
14482
|
let l3 = 0;
|
|
14483
14483
|
for (let e3 of r) {
|
|
14484
14484
|
let r2 = e3[c2];
|
|
@@ -14493,55 +14493,55 @@ ${c}
|
|
|
14493
14493
|
return e2;
|
|
14494
14494
|
}, [
|
|
14495
14495
|
r,
|
|
14496
|
-
|
|
14497
|
-
]),
|
|
14496
|
+
pW
|
|
14497
|
+
]), hW = useDeepCompareMemoize(w), gW = useDeepCompareMemoize(HU), _W = useDeepCompareMemoize(UU), vW = useDeepCompareMemoize(dW), yW = useDeepCompareMemoize(mW), bW = pW.length;
|
|
14498
14498
|
T || (S = false);
|
|
14499
|
-
let
|
|
14500
|
-
rowHeaders:
|
|
14499
|
+
let xW = (0, import_react.useMemo)(() => generateColumns({
|
|
14500
|
+
rowHeaders: hW,
|
|
14501
14501
|
selection: p,
|
|
14502
|
-
chartSpecModel:
|
|
14503
|
-
fieldTypes:
|
|
14504
|
-
textJustifyColumns:
|
|
14505
|
-
wrappedColumns:
|
|
14506
|
-
headerTooltip:
|
|
14502
|
+
chartSpecModel: vW,
|
|
14503
|
+
fieldTypes: pW,
|
|
14504
|
+
textJustifyColumns: gW,
|
|
14505
|
+
wrappedColumns: _W,
|
|
14506
|
+
headerTooltip: WU,
|
|
14507
14507
|
showDataTypes: S,
|
|
14508
|
-
calculateTopKRows:
|
|
14509
|
-
fractionDigitsByColumn:
|
|
14508
|
+
calculateTopKRows: QU,
|
|
14509
|
+
fractionDigitsByColumn: yW
|
|
14510
14510
|
}), [
|
|
14511
14511
|
p,
|
|
14512
14512
|
S,
|
|
14513
|
+
vW,
|
|
14513
14514
|
hW,
|
|
14514
|
-
fW,
|
|
14515
|
-
uW,
|
|
14516
14515
|
pW,
|
|
14517
|
-
|
|
14518
|
-
|
|
14519
|
-
|
|
14520
|
-
|
|
14521
|
-
|
|
14516
|
+
gW,
|
|
14517
|
+
_W,
|
|
14518
|
+
WU,
|
|
14519
|
+
QU,
|
|
14520
|
+
yW
|
|
14521
|
+
]), SW = (0, import_react.useMemo)(() => Object.fromEntries((m || []).map((e2) => [
|
|
14522
14522
|
e2,
|
|
14523
14523
|
true
|
|
14524
14524
|
])), [
|
|
14525
14525
|
m
|
|
14526
|
-
]),
|
|
14526
|
+
]), CW = useEvent_default((e2) => {
|
|
14527
14527
|
if (p === "single") {
|
|
14528
14528
|
let r2 = Functions.asUpdater(e2)({});
|
|
14529
14529
|
R(Object.keys(r2).slice(0, 1));
|
|
14530
14530
|
}
|
|
14531
14531
|
if (p === "multi") {
|
|
14532
|
-
let r2 = Functions.asUpdater(e2)(
|
|
14532
|
+
let r2 = Functions.asUpdater(e2)(SW);
|
|
14533
14533
|
R(Object.keys(r2));
|
|
14534
14534
|
}
|
|
14535
|
-
}),
|
|
14536
|
-
if (
|
|
14535
|
+
}), wW = useEvent_default((e2) => {
|
|
14536
|
+
if (aW(e2), e2 < 0 || typeof l == "number" && e2 >= l || l === "too_many") return;
|
|
14537
14537
|
let r2 = getPageIndexForRow(e2, O.pageIndex, O.pageSize);
|
|
14538
14538
|
r2 !== null && j((e3) => ({
|
|
14539
14539
|
...e3,
|
|
14540
14540
|
pageIndex: r2
|
|
14541
14541
|
}));
|
|
14542
|
-
}),
|
|
14543
|
-
p === "single-cell" && R(Functions.asUpdater(e2)(
|
|
14544
|
-
}),
|
|
14542
|
+
}), TW = m.filter((e2) => e2 instanceof Object && e2.columnName !== void 0), EW = useEvent_default((e2) => {
|
|
14543
|
+
p === "single-cell" && R(Functions.asUpdater(e2)(TW).slice(0, 1)), p === "multi-cell" && R(Functions.asUpdater(e2)(TW));
|
|
14544
|
+
}), DW = p === "multi" || p === "single", OW = v && !!$U, kW = isInVscodeExtension(), AW = isIslands();
|
|
14545
14545
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
14546
14546
|
children: [
|
|
14547
14547
|
l === "too_many" && O.pageSize === r.length && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
@@ -14552,13 +14552,13 @@ ${c}
|
|
|
14552
14552
|
" rows."
|
|
14553
14553
|
]
|
|
14554
14554
|
}),
|
|
14555
|
-
|
|
14555
|
+
bW < GU && bW > 0 && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
14556
14556
|
className: "mb-1 rounded",
|
|
14557
14557
|
children: [
|
|
14558
14558
|
"Result clipped. Showing ",
|
|
14559
|
-
|
|
14559
|
+
bW,
|
|
14560
14560
|
" of ",
|
|
14561
|
-
|
|
14561
|
+
GU,
|
|
14562
14562
|
" columns."
|
|
14563
14563
|
]
|
|
14564
14564
|
}),
|
|
@@ -14566,27 +14566,27 @@ ${c}
|
|
|
14566
14566
|
className: "mb-1 rounded",
|
|
14567
14567
|
children: "Column summaries are unavailable. Filter your data to fewer than 1,000,000 rows."
|
|
14568
14568
|
}),
|
|
14569
|
-
|
|
14569
|
+
sW && (y || OW) && (0, import_jsx_runtime.jsx)(ContextAwarePanelItem, {
|
|
14570
14570
|
children: (0, import_jsx_runtime.jsx)(TableExplorerPanel, {
|
|
14571
|
-
rowIdx:
|
|
14572
|
-
setRowIdx:
|
|
14571
|
+
rowIdx: iW,
|
|
14572
|
+
setRowIdx: wW,
|
|
14573
14573
|
totalRows: l,
|
|
14574
|
-
fieldTypes:
|
|
14575
|
-
getRow:
|
|
14576
|
-
isSelectable:
|
|
14577
|
-
isRowSelected: !!
|
|
14578
|
-
handleRowSelectionChange:
|
|
14579
|
-
previewColumn:
|
|
14580
|
-
totalColumns:
|
|
14581
|
-
tableId:
|
|
14582
|
-
showRowExplorer: y && !
|
|
14583
|
-
showColumnExplorer:
|
|
14584
|
-
activeTab:
|
|
14585
|
-
onTabChange:
|
|
14574
|
+
fieldTypes: fW,
|
|
14575
|
+
getRow: eW,
|
|
14576
|
+
isSelectable: DW,
|
|
14577
|
+
isRowSelected: !!SW[iW],
|
|
14578
|
+
handleRowSelectionChange: CW,
|
|
14579
|
+
previewColumn: $U,
|
|
14580
|
+
totalColumns: GU,
|
|
14581
|
+
tableId: rW,
|
|
14582
|
+
showRowExplorer: y && !kW,
|
|
14583
|
+
showColumnExplorer: OW && !kW,
|
|
14584
|
+
activeTab: lW,
|
|
14585
|
+
onTabChange: uW
|
|
14586
14586
|
})
|
|
14587
14587
|
}),
|
|
14588
14588
|
(0, import_jsx_runtime.jsx)(ColumnChartContext, {
|
|
14589
|
-
value:
|
|
14589
|
+
value: dW,
|
|
14590
14590
|
children: (0, import_jsx_runtime.jsx)(Labeled, {
|
|
14591
14591
|
label: e,
|
|
14592
14592
|
align: "top",
|
|
@@ -14594,13 +14594,13 @@ ${c}
|
|
|
14594
14594
|
children: (0, import_jsx_runtime.jsx)(DataTable, {
|
|
14595
14595
|
data: r,
|
|
14596
14596
|
rawData: c,
|
|
14597
|
-
columns:
|
|
14597
|
+
columns: xW,
|
|
14598
14598
|
className: L,
|
|
14599
|
-
maxHeight:
|
|
14599
|
+
maxHeight: nW,
|
|
14600
14600
|
sorting: z,
|
|
14601
14601
|
totalRows: l,
|
|
14602
14602
|
sizeBytes: u,
|
|
14603
|
-
totalColumns:
|
|
14603
|
+
totalColumns: GU,
|
|
14604
14604
|
manualSorting: true,
|
|
14605
14605
|
setSorting: B,
|
|
14606
14606
|
pagination: f,
|
|
@@ -14608,35 +14608,35 @@ ${c}
|
|
|
14608
14608
|
selection: p,
|
|
14609
14609
|
paginationState: O,
|
|
14610
14610
|
setPaginationState: j,
|
|
14611
|
-
rowSelection:
|
|
14612
|
-
cellSelection:
|
|
14613
|
-
cellStyling:
|
|
14614
|
-
hoverTemplate:
|
|
14615
|
-
cellHoverTexts:
|
|
14611
|
+
rowSelection: SW,
|
|
14612
|
+
cellSelection: TW,
|
|
14613
|
+
cellStyling: qU,
|
|
14614
|
+
hoverTemplate: JU,
|
|
14615
|
+
cellHoverTexts: YU,
|
|
14616
14616
|
downloadAs: g ? M : void 0,
|
|
14617
14617
|
enableSearch: H,
|
|
14618
14618
|
searchQuery: W,
|
|
14619
14619
|
onSearchQueryChange: G,
|
|
14620
14620
|
showFilters: h,
|
|
14621
14621
|
filters: q,
|
|
14622
|
-
onFiltersChange:
|
|
14623
|
-
calculateTopKRows:
|
|
14624
|
-
reloading:
|
|
14625
|
-
onRowSelectionChange:
|
|
14622
|
+
onFiltersChange: zU,
|
|
14623
|
+
calculateTopKRows: QU,
|
|
14624
|
+
reloading: BU,
|
|
14625
|
+
onRowSelectionChange: CW,
|
|
14626
14626
|
freezeColumnsLeft: Z,
|
|
14627
|
-
freezeColumnsRight:
|
|
14628
|
-
onCellSelectionChange:
|
|
14629
|
-
getRowIds:
|
|
14630
|
-
toggleDisplayHeader:
|
|
14631
|
-
showChartBuilder: b && !
|
|
14632
|
-
isChartBuilderOpen:
|
|
14627
|
+
freezeColumnsRight: VU,
|
|
14628
|
+
onCellSelectionChange: EW,
|
|
14629
|
+
getRowIds: KU,
|
|
14630
|
+
toggleDisplayHeader: XU,
|
|
14631
|
+
showChartBuilder: b && !AW,
|
|
14632
|
+
isChartBuilderOpen: ZU,
|
|
14633
14633
|
showPageSizeSelector: _,
|
|
14634
|
-
showTableExplorer: (y ||
|
|
14635
|
-
togglePanel:
|
|
14636
|
-
isPanelOpen:
|
|
14637
|
-
isAnyPanelOpen:
|
|
14638
|
-
viewedRowIdx:
|
|
14639
|
-
onViewedRowChange: (e2) =>
|
|
14634
|
+
showTableExplorer: (y || OW) && !kW && !AW,
|
|
14635
|
+
togglePanel: cW,
|
|
14636
|
+
isPanelOpen: oW,
|
|
14637
|
+
isAnyPanelOpen: sW,
|
|
14638
|
+
viewedRowIdx: iW,
|
|
14639
|
+
onViewedRowChange: (e2) => aW(e2)
|
|
14640
14640
|
})
|
|
14641
14641
|
})
|
|
14642
14642
|
})
|
|
@@ -16738,29 +16738,29 @@ ${c}
|
|
|
16738
16738
|
], r[2] = b, r[3] = S);
|
|
16739
16739
|
let { data: w, error: T, isPending: O } = useAsyncData(y, S), j;
|
|
16740
16740
|
r[4] === w ? j = r[5] : (j = w || {}, r[4] = w, r[5] = j);
|
|
16741
|
-
let { url: M, total_rows: I, row_headers: L, field_types: R, column_types_per_step: z, python_code: B, sql_code: H, size_bytes: W } = j, G = R == null ? void 0 : R.length, [q,
|
|
16741
|
+
let { url: M, total_rows: I, row_headers: L, field_types: R, column_types_per_step: z, python_code: B, sql_code: H, size_bytes: W } = j, G = R == null ? void 0 : R.length, [q, zU] = (0, import_react.useState)(f || EMPTY), BU = (0, import_react.useRef)(null), Z;
|
|
16742
16742
|
r[6] === d ? Z = r[7] : (Z = (e2) => {
|
|
16743
16743
|
var _a3;
|
|
16744
|
-
d && e2 !== "transform" && ((_a3 =
|
|
16744
|
+
d && e2 !== "transform" && ((_a3 = BU.current) == null ? void 0 : _a3.submit());
|
|
16745
16745
|
}, r[6] = d, r[7] = Z);
|
|
16746
|
-
let
|
|
16747
|
-
r[8] === q ?
|
|
16748
|
-
|
|
16749
|
-
}, r[8] = q, r[9] =
|
|
16750
|
-
let
|
|
16751
|
-
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (
|
|
16752
|
-
let e2 =
|
|
16746
|
+
let VU = Z, HU = (0, import_react.useRef)(q), UU;
|
|
16747
|
+
r[8] === q ? UU = r[9] : (UU = () => {
|
|
16748
|
+
HU.current = q;
|
|
16749
|
+
}, r[8] = q, r[9] = UU), (0, import_react.useEffect)(UU);
|
|
16750
|
+
let WU;
|
|
16751
|
+
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (WU = () => {
|
|
16752
|
+
let e2 = HU.current;
|
|
16753
16753
|
(f == null ? void 0 : f.transforms.length) !== e2.transforms.length && p(e2);
|
|
16754
|
-
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] =
|
|
16755
|
-
let
|
|
16756
|
-
r[13] !== w || r[14] !== p || r[15] !==
|
|
16754
|
+
}, r[10] = p, r[11] = f == null ? void 0 : f.transforms.length, r[12] = WU) : WU = r[12];
|
|
16755
|
+
let GU = f == null ? void 0 : f.transforms.length, KU;
|
|
16756
|
+
r[13] !== w || r[14] !== p || r[15] !== GU ? (KU = [
|
|
16757
16757
|
w,
|
|
16758
|
+
GU,
|
|
16758
16759
|
HU,
|
|
16759
|
-
zU,
|
|
16760
16760
|
p
|
|
16761
|
-
], r[13] = w, r[14] = p, r[15] =
|
|
16762
|
-
let
|
|
16763
|
-
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
16761
|
+
], r[13] = w, r[14] = p, r[15] = GU, r[16] = KU) : KU = r[16], (0, import_react.useEffect)(WU, KU);
|
|
16762
|
+
let qU;
|
|
16763
|
+
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qU = (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
16764
16764
|
value: "transform",
|
|
16765
16765
|
className: "text-xs py-1",
|
|
16766
16766
|
children: [
|
|
@@ -16769,9 +16769,9 @@ ${c}
|
|
|
16769
16769
|
}),
|
|
16770
16770
|
"Transform"
|
|
16771
16771
|
]
|
|
16772
|
-
}), r[17] =
|
|
16773
|
-
let
|
|
16774
|
-
r[18] === B ?
|
|
16772
|
+
}), r[17] = qU) : qU = r[17];
|
|
16773
|
+
let JU;
|
|
16774
|
+
r[18] === B ? JU = r[19] : (JU = B && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
16775
16775
|
value: "python-code",
|
|
16776
16776
|
className: "text-xs py-1",
|
|
16777
16777
|
children: [
|
|
@@ -16780,9 +16780,9 @@ ${c}
|
|
|
16780
16780
|
}),
|
|
16781
16781
|
"Python Code"
|
|
16782
16782
|
]
|
|
16783
|
-
}), r[18] = B, r[19] =
|
|
16784
|
-
let
|
|
16785
|
-
r[20] === H ?
|
|
16783
|
+
}), r[18] = B, r[19] = JU);
|
|
16784
|
+
let YU;
|
|
16785
|
+
r[20] === H ? YU = r[21] : (YU = H && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
16786
16786
|
value: "sql-code",
|
|
16787
16787
|
className: "text-xs py-1",
|
|
16788
16788
|
children: [
|
|
@@ -16791,54 +16791,54 @@ ${c}
|
|
|
16791
16791
|
}),
|
|
16792
16792
|
"SQL Code"
|
|
16793
16793
|
]
|
|
16794
|
-
}), r[20] = H, r[21] =
|
|
16795
|
-
let
|
|
16796
|
-
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
16794
|
+
}), r[20] = H, r[21] = YU);
|
|
16795
|
+
let XU;
|
|
16796
|
+
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (XU = (0, import_jsx_runtime.jsx)("div", {
|
|
16797
16797
|
className: "grow"
|
|
16798
|
-
}), r[22] =
|
|
16799
|
-
let
|
|
16800
|
-
r[23] !==
|
|
16798
|
+
}), r[22] = XU) : XU = r[22];
|
|
16799
|
+
let ZU;
|
|
16800
|
+
r[23] !== JU || r[24] !== YU ? (ZU = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
16801
16801
|
className: "h-8",
|
|
16802
16802
|
children: [
|
|
16803
|
-
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16803
|
+
qU,
|
|
16804
|
+
JU,
|
|
16805
|
+
YU,
|
|
16806
|
+
XU
|
|
16807
16807
|
]
|
|
16808
|
-
}), r[23] =
|
|
16809
|
-
let
|
|
16810
|
-
r[26] === O ?
|
|
16808
|
+
}), r[23] = JU, r[24] = YU, r[25] = ZU) : ZU = r[25];
|
|
16809
|
+
let QU;
|
|
16810
|
+
r[26] === O ? QU = r[27] : (QU = O && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
16811
16811
|
size: "small"
|
|
16812
|
-
}), r[26] = O, r[27] =
|
|
16813
|
-
let
|
|
16814
|
-
r[28] !==
|
|
16812
|
+
}), r[26] = O, r[27] = QU);
|
|
16813
|
+
let $U;
|
|
16814
|
+
r[28] !== ZU || r[29] !== QU ? ($U = (0, import_jsx_runtime.jsxs)("div", {
|
|
16815
16815
|
className: "flex items-center gap-2",
|
|
16816
16816
|
children: [
|
|
16817
|
-
|
|
16818
|
-
|
|
16817
|
+
ZU,
|
|
16818
|
+
QU
|
|
16819
16819
|
]
|
|
16820
|
-
}), r[28] =
|
|
16821
|
-
let
|
|
16822
|
-
r[31] !== p || r[32] !== f ? (
|
|
16823
|
-
dequal(e2, f) || (p(e2),
|
|
16824
|
-
}, r[31] = p, r[32] = f, r[33] =
|
|
16825
|
-
let
|
|
16826
|
-
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !==
|
|
16820
|
+
}), r[28] = ZU, r[29] = QU, r[30] = $U) : $U = r[30];
|
|
16821
|
+
let eW;
|
|
16822
|
+
r[31] !== p || r[32] !== f ? (eW = (e2) => {
|
|
16823
|
+
dequal(e2, f) || (p(e2), zU(e2));
|
|
16824
|
+
}, r[31] = p, r[32] = f, r[33] = eW) : eW = r[33];
|
|
16825
|
+
let nW;
|
|
16826
|
+
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !== eW ? (nW = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16827
16827
|
value: "transform",
|
|
16828
16828
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16829
16829
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
16830
|
-
ref:
|
|
16830
|
+
ref: BU,
|
|
16831
16831
|
initialValue: q,
|
|
16832
16832
|
columns: c,
|
|
16833
|
-
onChange:
|
|
16834
|
-
onInvalidChange:
|
|
16833
|
+
onChange: eW,
|
|
16834
|
+
onInvalidChange: zU,
|
|
16835
16835
|
getColumnValues: h,
|
|
16836
16836
|
columnTypesPerStep: z,
|
|
16837
16837
|
lazy: d
|
|
16838
16838
|
})
|
|
16839
|
-
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] =
|
|
16840
|
-
let
|
|
16841
|
-
r[41] === B ?
|
|
16839
|
+
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] = eW, r[40] = nW) : nW = r[40];
|
|
16840
|
+
let rW;
|
|
16841
|
+
r[41] === B ? rW = r[42] : (rW = B && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16842
16842
|
value: "python-code",
|
|
16843
16843
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16844
16844
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -16847,9 +16847,9 @@ ${c}
|
|
|
16847
16847
|
code: B,
|
|
16848
16848
|
language: "python"
|
|
16849
16849
|
})
|
|
16850
|
-
}), r[41] = B, r[42] =
|
|
16851
|
-
let
|
|
16852
|
-
r[43] === H ?
|
|
16850
|
+
}), r[41] = B, r[42] = rW);
|
|
16851
|
+
let iW;
|
|
16852
|
+
r[43] === H ? iW = r[44] : (iW = H && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16853
16853
|
value: "sql-code",
|
|
16854
16854
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16855
16855
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -16858,36 +16858,36 @@ ${c}
|
|
|
16858
16858
|
code: H,
|
|
16859
16859
|
language: "sql"
|
|
16860
16860
|
})
|
|
16861
|
-
}), r[43] = H, r[44] =
|
|
16862
|
-
let
|
|
16863
|
-
r[45] !==
|
|
16861
|
+
}), r[43] = H, r[44] = iW);
|
|
16862
|
+
let aW;
|
|
16863
|
+
r[45] !== VU || r[46] !== $U || r[47] !== nW || r[48] !== rW || r[49] !== iW ? (aW = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
16864
16864
|
defaultValue: "transform",
|
|
16865
|
-
onValueChange:
|
|
16865
|
+
onValueChange: VU,
|
|
16866
16866
|
children: [
|
|
16867
|
-
XU,
|
|
16868
16867
|
$U,
|
|
16869
|
-
|
|
16870
|
-
|
|
16868
|
+
nW,
|
|
16869
|
+
rW,
|
|
16870
|
+
iW
|
|
16871
16871
|
]
|
|
16872
|
-
}), r[45] =
|
|
16873
|
-
let
|
|
16874
|
-
r[51] === T ?
|
|
16872
|
+
}), r[45] = VU, r[46] = $U, r[47] = nW, r[48] = rW, r[49] = iW, r[50] = aW) : aW = r[50];
|
|
16873
|
+
let oW;
|
|
16874
|
+
r[51] === T ? oW = r[52] : (oW = T && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
16875
16875
|
error: T
|
|
16876
|
-
}), r[51] = T, r[52] =
|
|
16877
|
-
let
|
|
16878
|
-
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !==
|
|
16876
|
+
}), r[51] = T, r[52] = oW);
|
|
16877
|
+
let sW = M || "", cW = I ?? 0, lW = W ?? null, uW = G ?? 0, dW = L || Arrays.EMPTY, fW = I && I > 5 || false, pW;
|
|
16878
|
+
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !== sW || r[60] !== cW || r[61] !== lW || r[62] !== uW || r[63] !== dW || r[64] !== fW ? (pW = (0, import_jsx_runtime.jsx)(LoadingDataTableComponent, {
|
|
16879
16879
|
label: null,
|
|
16880
16880
|
className: "rounded-b border-x border-b",
|
|
16881
|
-
data:
|
|
16881
|
+
data: sW,
|
|
16882
16882
|
hasStableRowId: false,
|
|
16883
|
-
totalRows:
|
|
16884
|
-
sizeBytes:
|
|
16885
|
-
totalColumns:
|
|
16883
|
+
totalRows: cW,
|
|
16884
|
+
sizeBytes: lW,
|
|
16885
|
+
totalColumns: uW,
|
|
16886
16886
|
maxColumns: "all",
|
|
16887
16887
|
pageSize: l,
|
|
16888
16888
|
pagination: true,
|
|
16889
16889
|
fieldTypes: R,
|
|
16890
|
-
rowHeaders:
|
|
16890
|
+
rowHeaders: dW,
|
|
16891
16891
|
showDownload: u,
|
|
16892
16892
|
download_as: _,
|
|
16893
16893
|
enableSearch: false,
|
|
@@ -16896,7 +16896,7 @@ ${c}
|
|
|
16896
16896
|
showColumnSummaries: false,
|
|
16897
16897
|
showDataTypes: true,
|
|
16898
16898
|
get_column_summaries: getColumnSummaries,
|
|
16899
|
-
showPageSizeSelector:
|
|
16899
|
+
showPageSizeSelector: fW,
|
|
16900
16900
|
showColumnExplorer: false,
|
|
16901
16901
|
showRowExplorer: true,
|
|
16902
16902
|
showChartBuilder: false,
|
|
@@ -16905,15 +16905,15 @@ ${c}
|
|
|
16905
16905
|
selection: null,
|
|
16906
16906
|
lazy: false,
|
|
16907
16907
|
host: v
|
|
16908
|
-
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] =
|
|
16909
|
-
let
|
|
16910
|
-
return r[66] !==
|
|
16908
|
+
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] = sW, r[60] = cW, r[61] = lW, r[62] = uW, r[63] = dW, r[64] = fW, r[65] = pW) : pW = r[65];
|
|
16909
|
+
let mW;
|
|
16910
|
+
return r[66] !== aW || r[67] !== oW || r[68] !== pW ? (mW = (0, import_jsx_runtime.jsxs)("div", {
|
|
16911
16911
|
children: [
|
|
16912
|
-
|
|
16913
|
-
|
|
16914
|
-
|
|
16912
|
+
aW,
|
|
16913
|
+
oW,
|
|
16914
|
+
pW
|
|
16915
16915
|
]
|
|
16916
|
-
}), r[66] =
|
|
16916
|
+
}), r[66] = aW, r[67] = oW, r[68] = pW, r[69] = mW) : mW = r[69], mW;
|
|
16917
16917
|
});
|
|
16918
16918
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
16919
16919
|
function getColumnSummaries() {
|
|
@@ -17101,9 +17101,9 @@ ${c}
|
|
|
17101
17101
|
}, W = [
|
|
17102
17102
|
B
|
|
17103
17103
|
], r[8] = B, r[9] = H, r[10] = W), (0, import_react.useEffect)(H, W);
|
|
17104
|
-
let G, q,
|
|
17104
|
+
let G, q, zU, BU, Z, HU, UU, GU, KU;
|
|
17105
17105
|
if (r[11] !== R || r[12] !== z || r[13] !== u || r[14] !== b || r[15] !== f || r[16] !== v || r[17] !== h || r[18] !== d || r[19] !== y || r[20] !== l || r[21] !== c) {
|
|
17106
|
-
|
|
17106
|
+
KU = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
17107
17107
|
bb0: {
|
|
17108
17108
|
Z = (R == null ? void 0 : R.files) ?? [];
|
|
17109
17109
|
let e2;
|
|
@@ -17116,13 +17116,13 @@ ${c}
|
|
|
17116
17116
|
r[36] === z.message ? e3 = r[37] : (e3 = (0, import_jsx_runtime.jsx)(Banner, {
|
|
17117
17117
|
kind: "danger",
|
|
17118
17118
|
children: z.message
|
|
17119
|
-
}), r[36] = z.message, r[37] = e3),
|
|
17119
|
+
}), r[36] = z.message, r[37] = e3), KU = e3;
|
|
17120
17120
|
break bb0;
|
|
17121
17121
|
}
|
|
17122
17122
|
let E2;
|
|
17123
17123
|
r[38] === u ? E2 = r[39] : (E2 = PathBuilder.guessDeliminator(u), r[38] = u, r[39] = E2), q = E2.deliminator;
|
|
17124
17124
|
let O2;
|
|
17125
|
-
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$6), r[40] = c, r[41] = O2),
|
|
17125
|
+
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$6), r[40] = c, r[41] = O2), UU = O2;
|
|
17126
17126
|
let j2;
|
|
17127
17127
|
r[42] !== q || r[43] !== u || r[44] !== b || r[45] !== v || r[46] !== h || r[47] !== y ? (j2 = function(e3) {
|
|
17128
17128
|
if (b) return;
|
|
@@ -17143,7 +17143,7 @@ ${c}
|
|
|
17143
17143
|
return;
|
|
17144
17144
|
}
|
|
17145
17145
|
y(e3), S(false);
|
|
17146
|
-
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48],
|
|
17146
|
+
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48], GU = j2;
|
|
17147
17147
|
let M2;
|
|
17148
17148
|
r[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M2 = function(e3) {
|
|
17149
17149
|
let { path: r2, name: c2, isDirectory: l2 } = e3;
|
|
@@ -17171,7 +17171,7 @@ ${c}
|
|
|
17171
17171
|
let H2 = B2, W2;
|
|
17172
17172
|
r[55] !== v || r[56] !== l || r[57] !== c ? (W2 = function() {
|
|
17173
17173
|
l(c.filter((e3) => Paths.dirname(e3.path) !== v));
|
|
17174
|
-
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58],
|
|
17174
|
+
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], zU = W2, HU = function() {
|
|
17175
17175
|
let e3 = [];
|
|
17176
17176
|
for (let r2 of Z) {
|
|
17177
17177
|
if (!g2 && r2.is_directory || m2.has(r2.path)) continue;
|
|
@@ -17186,35 +17186,35 @@ ${c}
|
|
|
17186
17186
|
...c,
|
|
17187
17187
|
...e3
|
|
17188
17188
|
]);
|
|
17189
|
-
},
|
|
17190
|
-
let
|
|
17191
|
-
r[59] ===
|
|
17192
|
-
let
|
|
17193
|
-
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
17189
|
+
}, BU = [];
|
|
17190
|
+
let qU2;
|
|
17191
|
+
r[59] === GU ? qU2 = r[60] : (qU2 = () => GU(PARENT_DIRECTORY), r[59] = GU, r[60] = qU2);
|
|
17192
|
+
let JU2, YU2;
|
|
17193
|
+
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (JU2 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
17194
17194
|
className: "w-[50px] pl-4",
|
|
17195
17195
|
children: (0, import_jsx_runtime.jsx)(CornerLeftUp, {
|
|
17196
17196
|
size: 16
|
|
17197
17197
|
})
|
|
17198
|
-
}),
|
|
17198
|
+
}), YU2 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
17199
17199
|
children: PARENT_DIRECTORY
|
|
17200
|
-
}), r[61] =
|
|
17201
|
-
let
|
|
17202
|
-
r[63] ===
|
|
17200
|
+
}), r[61] = JU2, r[62] = YU2) : (JU2 = r[61], YU2 = r[62]);
|
|
17201
|
+
let XU2;
|
|
17202
|
+
r[63] === qU2 ? XU2 = r[64] : (XU2 = (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
17203
17203
|
className: "hover:bg-accent select-none",
|
|
17204
|
-
onClick:
|
|
17204
|
+
onClick: qU2,
|
|
17205
17205
|
children: [
|
|
17206
|
-
|
|
17207
|
-
|
|
17206
|
+
JU2,
|
|
17207
|
+
YU2
|
|
17208
17208
|
]
|
|
17209
|
-
}, "Parent directory"), r[63] =
|
|
17209
|
+
}, "Parent directory"), r[63] = qU2, r[64] = XU2), BU.push(XU2);
|
|
17210
17210
|
for (let e3 of Z) {
|
|
17211
17211
|
let r2 = e3.path;
|
|
17212
17212
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
17213
17213
|
let c2 = e3.is_directory ? (e4) => {
|
|
17214
17214
|
let { path: r3 } = e4;
|
|
17215
|
-
return
|
|
17215
|
+
return GU(r3);
|
|
17216
17216
|
} : H2, l2 = FILE_ICON[e3.is_directory ? "directory" : guessFileIconType(e3.name)], u2 = m2.has(r2);
|
|
17217
|
-
|
|
17217
|
+
BU.push((0, import_jsx_runtime.jsxs)(TableRow, {
|
|
17218
17218
|
className: cn("hover:bg-accent group select-none", {
|
|
17219
17219
|
"bg-primary/25 hover:bg-primary/35": u2
|
|
17220
17220
|
}),
|
|
@@ -17244,21 +17244,21 @@ ${c}
|
|
|
17244
17244
|
}, e3.id));
|
|
17245
17245
|
}
|
|
17246
17246
|
}
|
|
17247
|
-
r[11] = R, r[12] = z, r[13] = u, r[14] = b, r[15] = f, r[16] = v, r[17] = h, r[18] = d, r[19] = y, r[20] = l, r[21] = c, r[22] = G, r[23] = q, r[24] =
|
|
17248
|
-
} else G = r[22], q = r[23],
|
|
17249
|
-
if (
|
|
17250
|
-
let
|
|
17251
|
-
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !==
|
|
17247
|
+
r[11] = R, r[12] = z, r[13] = u, r[14] = b, r[15] = f, r[16] = v, r[17] = h, r[18] = d, r[19] = y, r[20] = l, r[21] = c, r[22] = G, r[23] = q, r[24] = zU, r[25] = BU, r[26] = Z, r[27] = HU, r[28] = UU, r[29] = GU, r[30] = KU;
|
|
17248
|
+
} else G = r[22], q = r[23], zU = r[24], BU = r[25], Z = r[26], HU = r[27], UU = r[28], GU = r[29], KU = r[30];
|
|
17249
|
+
if (KU !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return KU;
|
|
17250
|
+
let qU, JU, YU, XU, ZU, QU, $U;
|
|
17251
|
+
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !== zU || r[69] !== z || r[70] !== BU || r[71] !== Z || r[72] !== u || r[73] !== B || r[74] !== m || r[75] !== f || r[76] !== v || r[77] !== h || r[78] !== HU || r[79] !== UU || r[80] !== d || r[81] !== GU || r[82] !== l || r[83] !== T || r[84] !== c.length) {
|
|
17252
17252
|
let { parentDirectories: e2 } = getProtocolAndParentDirectories({
|
|
17253
17253
|
path: v,
|
|
17254
17254
|
delimiter: q,
|
|
17255
17255
|
initialPath: u,
|
|
17256
17256
|
restrictNavigation: h
|
|
17257
17257
|
}), g2 = d === "all" ? PluralWords.of("file", "folder") : d === "directory" ? PluralWords.of("folder") : PluralWords.of("file");
|
|
17258
|
-
r[92] === z ?
|
|
17258
|
+
r[92] === z ? $U = r[93] : ($U = z && (0, import_jsx_runtime.jsx)(Banner, {
|
|
17259
17259
|
kind: "danger",
|
|
17260
17260
|
children: z.message
|
|
17261
|
-
}), r[92] = z, r[93] =
|
|
17261
|
+
}), r[92] = z, r[93] = $U), qU = (() => {
|
|
17262
17262
|
let e3 = (0, import_jsx_runtime.jsx)(Label, {
|
|
17263
17263
|
children: renderHTML({
|
|
17264
17264
|
html: m ?? `Select ${g2.join(" and ", 2)}...`
|
|
@@ -17275,7 +17275,7 @@ ${c}
|
|
|
17275
17275
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
17276
17276
|
size: "xs",
|
|
17277
17277
|
variant: "link",
|
|
17278
|
-
onClick: G ?
|
|
17278
|
+
onClick: G ? zU : HU,
|
|
17279
17279
|
children: G ? "Deselect all" : "Select all"
|
|
17280
17280
|
})
|
|
17281
17281
|
})
|
|
@@ -17283,18 +17283,18 @@ ${c}
|
|
|
17283
17283
|
}) : e3;
|
|
17284
17284
|
})();
|
|
17285
17285
|
let _2;
|
|
17286
|
-
r[94] ===
|
|
17286
|
+
r[94] === GU ? _2 = r[95] : (_2 = (e3) => GU(e3.target.value), r[94] = GU, r[95] = _2);
|
|
17287
17287
|
let y2 = e2.map(_temp3$5);
|
|
17288
|
-
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (
|
|
17288
|
+
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (JU = (0, import_jsx_runtime.jsx)(NativeSelect, {
|
|
17289
17289
|
className: "mt-2 w-full",
|
|
17290
17290
|
placeholder: v,
|
|
17291
17291
|
value: v,
|
|
17292
17292
|
onChange: _2,
|
|
17293
17293
|
children: y2
|
|
17294
|
-
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] =
|
|
17294
|
+
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] = JU) : JU = r[99], r[100] !== R || r[101] !== Z ? (YU = R && typeof R.total_count == "number" && (0, import_jsx_runtime.jsx)("div", {
|
|
17295
17295
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
17296
17296
|
children: R.is_truncated ? `Showing ${Z.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
17297
|
-
}), r[100] = R, r[101] = Z, r[102] =
|
|
17297
|
+
}), r[100] = R, r[101] = Z, r[102] = YU) : YU = r[102];
|
|
17298
17298
|
let b2;
|
|
17299
17299
|
r[103] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b2 = {
|
|
17300
17300
|
height: "14rem"
|
|
@@ -17313,12 +17313,12 @@ ${c}
|
|
|
17313
17313
|
]
|
|
17314
17314
|
}), r[104] = T, r[105] = S2);
|
|
17315
17315
|
let E2;
|
|
17316
|
-
r[106] ===
|
|
17316
|
+
r[106] === BU ? E2 = r[107] : (E2 = (0, import_jsx_runtime.jsx)(Table, {
|
|
17317
17317
|
className: "cursor-pointer table-fixed",
|
|
17318
17318
|
children: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
17319
|
-
children:
|
|
17319
|
+
children: BU
|
|
17320
17320
|
})
|
|
17321
|
-
}), r[106] =
|
|
17321
|
+
}), r[106] = BU, r[107] = E2), r[108] !== B || r[109] !== S2 || r[110] !== E2 ? (XU = (0, import_jsx_runtime.jsxs)("div", {
|
|
17322
17322
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
17323
17323
|
style: b2,
|
|
17324
17324
|
"aria-busy": B,
|
|
@@ -17327,7 +17327,7 @@ ${c}
|
|
|
17327
17327
|
S2,
|
|
17328
17328
|
E2
|
|
17329
17329
|
]
|
|
17330
|
-
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] =
|
|
17330
|
+
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] = XU) : XU = r[111], ZU = "mt-4", QU = c.length > 0 && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
17331
17331
|
children: [
|
|
17332
17332
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
17333
17333
|
className: "flex items-center gap-2",
|
|
@@ -17357,28 +17357,28 @@ ${c}
|
|
|
17357
17357
|
marginBlock: 0
|
|
17358
17358
|
},
|
|
17359
17359
|
className: "m-0 text-xs text-muted-foreground",
|
|
17360
|
-
children:
|
|
17360
|
+
children: UU
|
|
17361
17361
|
})
|
|
17362
17362
|
})
|
|
17363
17363
|
]
|
|
17364
|
-
}), r[65] = G, r[66] = R, r[67] = q, r[68] =
|
|
17365
|
-
} else
|
|
17366
|
-
let
|
|
17367
|
-
r[112] !==
|
|
17368
|
-
className:
|
|
17369
|
-
children:
|
|
17370
|
-
}), r[112] =
|
|
17371
|
-
let
|
|
17372
|
-
return r[115] !==
|
|
17364
|
+
}), r[65] = G, r[66] = R, r[67] = q, r[68] = zU, r[69] = z, r[70] = BU, r[71] = Z, r[72] = u, r[73] = B, r[74] = m, r[75] = f, r[76] = v, r[77] = h, r[78] = HU, r[79] = UU, r[80] = d, r[81] = GU, r[82] = l, r[83] = T, r[84] = c.length, r[85] = qU, r[86] = JU, r[87] = YU, r[88] = XU, r[89] = ZU, r[90] = QU, r[91] = $U;
|
|
17365
|
+
} else qU = r[85], JU = r[86], YU = r[87], XU = r[88], ZU = r[89], QU = r[90], $U = r[91];
|
|
17366
|
+
let eW;
|
|
17367
|
+
r[112] !== ZU || r[113] !== QU ? (eW = (0, import_jsx_runtime.jsx)("div", {
|
|
17368
|
+
className: ZU,
|
|
17369
|
+
children: QU
|
|
17370
|
+
}), r[112] = ZU, r[113] = QU, r[114] = eW) : eW = r[114];
|
|
17371
|
+
let tW;
|
|
17372
|
+
return r[115] !== qU || r[116] !== JU || r[117] !== YU || r[118] !== XU || r[119] !== eW || r[120] !== $U ? (tW = (0, import_jsx_runtime.jsxs)("div", {
|
|
17373
17373
|
children: [
|
|
17374
|
-
|
|
17375
|
-
WU,
|
|
17376
|
-
GU,
|
|
17377
|
-
KU,
|
|
17374
|
+
$U,
|
|
17378
17375
|
qU,
|
|
17379
|
-
|
|
17376
|
+
JU,
|
|
17377
|
+
YU,
|
|
17378
|
+
XU,
|
|
17379
|
+
eW
|
|
17380
17380
|
]
|
|
17381
|
-
}), r[115] =
|
|
17381
|
+
}), r[115] = qU, r[116] = JU, r[117] = YU, r[118] = XU, r[119] = eW, r[120] = $U, r[121] = tW) : tW = r[121], tW;
|
|
17382
17382
|
};
|
|
17383
17383
|
function _temp$12(e) {
|
|
17384
17384
|
return e.path;
|
|
@@ -22768,55 +22768,55 @@ ${c}
|
|
|
22768
22768
|
return typeof S == "function" ? S : noop$2;
|
|
22769
22769
|
}, [
|
|
22770
22770
|
S
|
|
22771
|
-
]), q = (0, import_react.useRef)(null),
|
|
22772
|
-
!
|
|
22773
|
-
|
|
22771
|
+
]), q = (0, import_react.useRef)(null), zU = (0, import_react.useRef)(null), BU = _slicedToArray((0, import_react.useReducer)(reducer$2, initialState), 2), Z = BU[0], VU = BU[1], HU = Z.isFocused, UU = Z.isFileDialogActive, WU = (0, import_react.useRef)(typeof window < "u" && window.isSecureContext && T && canUseFileSystemAccessAPI()), GU = function() {
|
|
22772
|
+
!WU.current && UU && setTimeout(function() {
|
|
22773
|
+
zU.current && (zU.current.files.length || (VU({
|
|
22774
22774
|
type: "closeDialog"
|
|
22775
22775
|
}), G()));
|
|
22776
22776
|
}, 300);
|
|
22777
22777
|
};
|
|
22778
22778
|
(0, import_react.useEffect)(function() {
|
|
22779
|
-
return window.addEventListener("focus",
|
|
22780
|
-
window.removeEventListener("focus",
|
|
22779
|
+
return window.addEventListener("focus", GU, false), function() {
|
|
22780
|
+
window.removeEventListener("focus", GU, false);
|
|
22781
22781
|
};
|
|
22782
22782
|
}, [
|
|
22783
|
-
|
|
22784
|
-
|
|
22783
|
+
zU,
|
|
22784
|
+
UU,
|
|
22785
22785
|
G,
|
|
22786
|
-
|
|
22786
|
+
WU
|
|
22787
22787
|
]);
|
|
22788
|
-
var
|
|
22789
|
-
q.current && q.current.contains(e2.target) || (e2.preventDefault(),
|
|
22788
|
+
var KU = (0, import_react.useRef)([]), qU = (0, import_react.useRef)([]), JU = function(e2) {
|
|
22789
|
+
q.current && q.current.contains(e2.target) || (e2.preventDefault(), KU.current = []);
|
|
22790
22790
|
};
|
|
22791
22791
|
(0, import_react.useEffect)(function() {
|
|
22792
|
-
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop",
|
|
22793
|
-
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop",
|
|
22792
|
+
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop", JU, false)), function() {
|
|
22793
|
+
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop", JU));
|
|
22794
22794
|
};
|
|
22795
22795
|
}, [
|
|
22796
22796
|
q,
|
|
22797
22797
|
O
|
|
22798
22798
|
]), (0, import_react.useEffect)(function() {
|
|
22799
22799
|
var e2 = function(e3) {
|
|
22800
|
-
|
|
22800
|
+
qU.current = [].concat(_toConsumableArray(qU.current), [
|
|
22801
22801
|
e3.target
|
|
22802
|
-
]), isEvtWithFiles(e3) &&
|
|
22802
|
+
]), isEvtWithFiles(e3) && VU({
|
|
22803
22803
|
isDragGlobal: true,
|
|
22804
22804
|
type: "setDragGlobal"
|
|
22805
22805
|
});
|
|
22806
22806
|
}, r2 = function(e3) {
|
|
22807
|
-
|
|
22807
|
+
qU.current = qU.current.filter(function(r3) {
|
|
22808
22808
|
return r3 !== e3.target && r3 !== null;
|
|
22809
|
-
}), !(
|
|
22809
|
+
}), !(qU.current.length > 0) && VU({
|
|
22810
22810
|
isDragGlobal: false,
|
|
22811
22811
|
type: "setDragGlobal"
|
|
22812
22812
|
});
|
|
22813
22813
|
}, c2 = function() {
|
|
22814
|
-
|
|
22814
|
+
qU.current = [], VU({
|
|
22815
22815
|
isDragGlobal: false,
|
|
22816
22816
|
type: "setDragGlobal"
|
|
22817
22817
|
});
|
|
22818
22818
|
}, l2 = function() {
|
|
22819
|
-
|
|
22819
|
+
qU.current = [], VU({
|
|
22820
22820
|
isDragGlobal: false,
|
|
22821
22821
|
type: "setDragGlobal"
|
|
22822
22822
|
});
|
|
@@ -22834,12 +22834,12 @@ ${c}
|
|
|
22834
22834
|
E,
|
|
22835
22835
|
l
|
|
22836
22836
|
]);
|
|
22837
|
-
var
|
|
22837
|
+
var YU = (0, import_react.useCallback)(function(e2) {
|
|
22838
22838
|
R ? R(e2) : console.error(e2);
|
|
22839
22839
|
}, [
|
|
22840
22840
|
R
|
|
22841
|
-
]),
|
|
22842
|
-
e2.preventDefault(), e2.persist(),
|
|
22841
|
+
]), XU = (0, import_react.useCallback)(function(e2) {
|
|
22842
|
+
e2.preventDefault(), e2.persist(), lW(e2), KU.current = [].concat(_toConsumableArray(KU.current), [
|
|
22843
22843
|
e2.target
|
|
22844
22844
|
]), isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
22845
22845
|
if (!(isPropagationStopped(e2) && !L)) {
|
|
@@ -22852,7 +22852,7 @@ ${c}
|
|
|
22852
22852
|
maxFiles: m,
|
|
22853
22853
|
validator: z
|
|
22854
22854
|
});
|
|
22855
|
-
|
|
22855
|
+
VU({
|
|
22856
22856
|
isDragAccept: l2,
|
|
22857
22857
|
isDragReject: c2 > 0 && !l2,
|
|
22858
22858
|
isDragActive: true,
|
|
@@ -22860,12 +22860,12 @@ ${c}
|
|
|
22860
22860
|
}), h && h(e2);
|
|
22861
22861
|
}
|
|
22862
22862
|
}).catch(function(e3) {
|
|
22863
|
-
return
|
|
22863
|
+
return YU(e3);
|
|
22864
22864
|
});
|
|
22865
22865
|
}, [
|
|
22866
22866
|
u,
|
|
22867
22867
|
h,
|
|
22868
|
-
|
|
22868
|
+
YU,
|
|
22869
22869
|
L,
|
|
22870
22870
|
B,
|
|
22871
22871
|
f,
|
|
@@ -22873,8 +22873,8 @@ ${c}
|
|
|
22873
22873
|
p,
|
|
22874
22874
|
m,
|
|
22875
22875
|
z
|
|
22876
|
-
]),
|
|
22877
|
-
e2.preventDefault(), e2.persist(),
|
|
22876
|
+
]), ZU = (0, import_react.useCallback)(function(e2) {
|
|
22877
|
+
e2.preventDefault(), e2.persist(), lW(e2);
|
|
22878
22878
|
var r2 = isEvtWithFiles(e2);
|
|
22879
22879
|
if (r2 && e2.dataTransfer) try {
|
|
22880
22880
|
e2.dataTransfer.dropEffect = "copy";
|
|
@@ -22884,12 +22884,12 @@ ${c}
|
|
|
22884
22884
|
}, [
|
|
22885
22885
|
_,
|
|
22886
22886
|
L
|
|
22887
|
-
]),
|
|
22888
|
-
e2.preventDefault(), e2.persist(),
|
|
22889
|
-
var r2 =
|
|
22887
|
+
]), QU = (0, import_react.useCallback)(function(e2) {
|
|
22888
|
+
e2.preventDefault(), e2.persist(), lW(e2);
|
|
22889
|
+
var r2 = KU.current.filter(function(e3) {
|
|
22890
22890
|
return q.current && q.current.contains(e3);
|
|
22891
22891
|
}), c2 = r2.indexOf(e2.target);
|
|
22892
|
-
c2 !== -1 && r2.splice(c2, 1),
|
|
22892
|
+
c2 !== -1 && r2.splice(c2, 1), KU.current = r2, !(r2.length > 0) && (VU({
|
|
22893
22893
|
type: "setDraggedFiles",
|
|
22894
22894
|
isDragActive: false,
|
|
22895
22895
|
isDragAccept: false,
|
|
@@ -22899,7 +22899,7 @@ ${c}
|
|
|
22899
22899
|
q,
|
|
22900
22900
|
g,
|
|
22901
22901
|
L
|
|
22902
|
-
]),
|
|
22902
|
+
]), $U = (0, import_react.useCallback)(function(e2, r2) {
|
|
22903
22903
|
var c2 = [], l2 = [];
|
|
22904
22904
|
e2.forEach(function(e3) {
|
|
22905
22905
|
var r3 = _slicedToArray(fileAccepted(e3, B), 2), u2 = r3[0], p2 = r3[1], m2 = _slicedToArray(fileMatchSize(e3, f, d), 2), h2 = m2[0], g2 = m2[1], _2 = z ? z(e3) : null;
|
|
@@ -22923,14 +22923,14 @@ ${c}
|
|
|
22923
22923
|
TOO_MANY_FILES_REJECTION
|
|
22924
22924
|
]
|
|
22925
22925
|
});
|
|
22926
|
-
}), c2.splice(0)),
|
|
22926
|
+
}), c2.splice(0)), VU({
|
|
22927
22927
|
acceptedFiles: c2,
|
|
22928
22928
|
fileRejections: l2,
|
|
22929
22929
|
isDragReject: l2.length > 0,
|
|
22930
22930
|
type: "setFiles"
|
|
22931
22931
|
}), v && v(c2, l2, r2), l2.length > 0 && b && b(l2, r2), c2.length > 0 && y && y(c2, r2);
|
|
22932
22932
|
}, [
|
|
22933
|
-
|
|
22933
|
+
VU,
|
|
22934
22934
|
p,
|
|
22935
22935
|
B,
|
|
22936
22936
|
f,
|
|
@@ -22940,22 +22940,22 @@ ${c}
|
|
|
22940
22940
|
y,
|
|
22941
22941
|
b,
|
|
22942
22942
|
z
|
|
22943
|
-
]),
|
|
22944
|
-
e2.preventDefault(), e2.persist(),
|
|
22945
|
-
isPropagationStopped(e2) && !L ||
|
|
22943
|
+
]), eW = (0, import_react.useCallback)(function(e2) {
|
|
22944
|
+
e2.preventDefault(), e2.persist(), lW(e2), KU.current = [], isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
22945
|
+
isPropagationStopped(e2) && !L || $U(r2, e2);
|
|
22946
22946
|
}).catch(function(e3) {
|
|
22947
|
-
return
|
|
22948
|
-
}),
|
|
22947
|
+
return YU(e3);
|
|
22948
|
+
}), VU({
|
|
22949
22949
|
type: "reset"
|
|
22950
22950
|
});
|
|
22951
22951
|
}, [
|
|
22952
22952
|
u,
|
|
22953
|
-
|
|
22954
|
-
|
|
22953
|
+
$U,
|
|
22954
|
+
YU,
|
|
22955
22955
|
L
|
|
22956
|
-
]),
|
|
22957
|
-
if (
|
|
22958
|
-
|
|
22956
|
+
]), tW = (0, import_react.useCallback)(function() {
|
|
22957
|
+
if (WU.current) {
|
|
22958
|
+
VU({
|
|
22959
22959
|
type: "openDialog"
|
|
22960
22960
|
}), W();
|
|
22961
22961
|
var e2 = {
|
|
@@ -22965,66 +22965,66 @@ ${c}
|
|
|
22965
22965
|
window.showOpenFilePicker(e2).then(function(e3) {
|
|
22966
22966
|
return u(e3);
|
|
22967
22967
|
}).then(function(e3) {
|
|
22968
|
-
|
|
22968
|
+
$U(e3, null), VU({
|
|
22969
22969
|
type: "closeDialog"
|
|
22970
22970
|
});
|
|
22971
22971
|
}).catch(function(e3) {
|
|
22972
|
-
isAbort(e3) ? (G(e3),
|
|
22972
|
+
isAbort(e3) ? (G(e3), VU({
|
|
22973
22973
|
type: "closeDialog"
|
|
22974
|
-
})) : isSecurityError(e3) ? (
|
|
22974
|
+
})) : isSecurityError(e3) ? (WU.current = false, zU.current ? (zU.current.value = null, zU.current.click()) : YU(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : YU(e3);
|
|
22975
22975
|
});
|
|
22976
22976
|
return;
|
|
22977
22977
|
}
|
|
22978
|
-
|
|
22978
|
+
zU.current && (VU({
|
|
22979
22979
|
type: "openDialog"
|
|
22980
|
-
}), W(),
|
|
22980
|
+
}), W(), zU.current.value = null, zU.current.click());
|
|
22981
22981
|
}, [
|
|
22982
|
-
|
|
22982
|
+
VU,
|
|
22983
22983
|
W,
|
|
22984
22984
|
G,
|
|
22985
22985
|
T,
|
|
22986
|
-
|
|
22987
|
-
|
|
22986
|
+
$U,
|
|
22987
|
+
YU,
|
|
22988
22988
|
H,
|
|
22989
22989
|
p
|
|
22990
|
-
]),
|
|
22991
|
-
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(),
|
|
22990
|
+
]), nW = (0, import_react.useCallback)(function(e2) {
|
|
22991
|
+
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(), tW());
|
|
22992
22992
|
}, [
|
|
22993
22993
|
q,
|
|
22994
|
-
|
|
22995
|
-
]),
|
|
22996
|
-
|
|
22994
|
+
tW
|
|
22995
|
+
]), rW = (0, import_react.useCallback)(function() {
|
|
22996
|
+
VU({
|
|
22997
22997
|
type: "focus"
|
|
22998
22998
|
});
|
|
22999
|
-
}, []),
|
|
23000
|
-
|
|
22999
|
+
}, []), iW = (0, import_react.useCallback)(function() {
|
|
23000
|
+
VU({
|
|
23001
23001
|
type: "blur"
|
|
23002
23002
|
});
|
|
23003
|
-
}, []),
|
|
23004
|
-
j || (isIeOrEdge() ? setTimeout(
|
|
23003
|
+
}, []), aW = (0, import_react.useCallback)(function() {
|
|
23004
|
+
j || (isIeOrEdge() ? setTimeout(tW, 0) : tW());
|
|
23005
23005
|
}, [
|
|
23006
23006
|
j,
|
|
23007
|
-
|
|
23008
|
-
]),
|
|
23007
|
+
tW
|
|
23008
|
+
]), oW = function(e2) {
|
|
23009
23009
|
return l ? null : e2;
|
|
23010
|
-
},
|
|
23011
|
-
return M ? null :
|
|
23012
|
-
},
|
|
23013
|
-
return I ? null :
|
|
23014
|
-
},
|
|
23010
|
+
}, sW = function(e2) {
|
|
23011
|
+
return M ? null : oW(e2);
|
|
23012
|
+
}, cW = function(e2) {
|
|
23013
|
+
return I ? null : oW(e2);
|
|
23014
|
+
}, lW = function(e2) {
|
|
23015
23015
|
L && e2.stopPropagation();
|
|
23016
|
-
},
|
|
23016
|
+
}, uW = (0, import_react.useMemo)(function() {
|
|
23017
23017
|
return function() {
|
|
23018
23018
|
var e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r2 = e2.refKey, c2 = r2 === void 0 ? "ref" : r2, u2 = e2.role, d2 = e2.onKeyDown, f2 = e2.onFocus, p2 = e2.onBlur, m2 = e2.onClick, h2 = e2.onDragEnter, g2 = e2.onDragOver, _2 = e2.onDragLeave, v2 = e2.onDrop, y2 = _objectWithoutProperties$2(e2, _excluded3);
|
|
23019
23019
|
return _objectSpread$7(_objectSpread$7(_defineProperty$10({
|
|
23020
|
-
onKeyDown:
|
|
23021
|
-
onFocus:
|
|
23022
|
-
onBlur:
|
|
23023
|
-
onClick:
|
|
23024
|
-
onDragEnter:
|
|
23025
|
-
onDragOver:
|
|
23026
|
-
onDragLeave:
|
|
23027
|
-
onDrop:
|
|
23020
|
+
onKeyDown: sW(composeEventHandlers(d2, nW)),
|
|
23021
|
+
onFocus: sW(composeEventHandlers(f2, rW)),
|
|
23022
|
+
onBlur: sW(composeEventHandlers(p2, iW)),
|
|
23023
|
+
onClick: oW(composeEventHandlers(m2, aW)),
|
|
23024
|
+
onDragEnter: cW(composeEventHandlers(h2, XU)),
|
|
23025
|
+
onDragOver: cW(composeEventHandlers(g2, ZU)),
|
|
23026
|
+
onDragLeave: cW(composeEventHandlers(_2, QU)),
|
|
23027
|
+
onDrop: cW(composeEventHandlers(v2, eW)),
|
|
23028
23028
|
role: typeof u2 == "string" && u2 !== "" ? u2 : "presentation"
|
|
23029
23029
|
}, c2, q), !l && !M ? {
|
|
23030
23030
|
tabIndex: 0
|
|
@@ -23032,20 +23032,20 @@ ${c}
|
|
|
23032
23032
|
};
|
|
23033
23033
|
}, [
|
|
23034
23034
|
q,
|
|
23035
|
-
$U,
|
|
23036
|
-
eW,
|
|
23037
|
-
tW,
|
|
23038
23035
|
nW,
|
|
23039
|
-
|
|
23040
|
-
|
|
23041
|
-
|
|
23036
|
+
rW,
|
|
23037
|
+
iW,
|
|
23038
|
+
aW,
|
|
23039
|
+
XU,
|
|
23042
23040
|
ZU,
|
|
23041
|
+
QU,
|
|
23042
|
+
eW,
|
|
23043
23043
|
M,
|
|
23044
23044
|
I,
|
|
23045
23045
|
l
|
|
23046
|
-
]),
|
|
23046
|
+
]), dW = (0, import_react.useCallback)(function(e2) {
|
|
23047
23047
|
e2.stopPropagation();
|
|
23048
|
-
}, []),
|
|
23048
|
+
}, []), fW = (0, import_react.useMemo)(function() {
|
|
23049
23049
|
return function() {
|
|
23050
23050
|
var e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r2 = e2.refKey, c2 = r2 === void 0 ? "ref" : r2, l2 = e2.onChange, u2 = e2.onClick, d2 = _objectWithoutProperties$2(e2, _excluded4);
|
|
23051
23051
|
return _objectSpread$7(_objectSpread$7({}, _defineProperty$10({
|
|
@@ -23064,25 +23064,25 @@ ${c}
|
|
|
23064
23064
|
width: "1px",
|
|
23065
23065
|
whiteSpace: "nowrap"
|
|
23066
23066
|
},
|
|
23067
|
-
onChange:
|
|
23068
|
-
onClick:
|
|
23067
|
+
onChange: oW(composeEventHandlers(l2, eW)),
|
|
23068
|
+
onClick: oW(composeEventHandlers(u2, dW)),
|
|
23069
23069
|
tabIndex: -1
|
|
23070
|
-
}, c2,
|
|
23070
|
+
}, c2, zU)), d2);
|
|
23071
23071
|
};
|
|
23072
23072
|
}, [
|
|
23073
|
-
|
|
23073
|
+
zU,
|
|
23074
23074
|
c,
|
|
23075
23075
|
p,
|
|
23076
|
-
|
|
23076
|
+
eW,
|
|
23077
23077
|
l
|
|
23078
23078
|
]);
|
|
23079
23079
|
return _objectSpread$7(_objectSpread$7({}, Z), {}, {
|
|
23080
|
-
isFocused:
|
|
23081
|
-
getRootProps:
|
|
23082
|
-
getInputProps:
|
|
23080
|
+
isFocused: HU && !l,
|
|
23081
|
+
getRootProps: uW,
|
|
23082
|
+
getInputProps: fW,
|
|
23083
23083
|
rootRef: q,
|
|
23084
|
-
inputRef:
|
|
23085
|
-
open:
|
|
23084
|
+
inputRef: zU,
|
|
23085
|
+
open: oW(tW)
|
|
23086
23086
|
});
|
|
23087
23087
|
}
|
|
23088
23088
|
function reducer$2(e, r) {
|
|
@@ -23314,47 +23314,47 @@ ${c}
|
|
|
23314
23314
|
html: I
|
|
23315
23315
|
})
|
|
23316
23316
|
}), r[45] = I, r[46] = M, r[47] = G) : G = r[47];
|
|
23317
|
-
let q = w && "text-primary",
|
|
23318
|
-
r[48] !== q || r[49] !==
|
|
23317
|
+
let q = w && "text-primary", zU = T && "text-destructive", BU;
|
|
23318
|
+
r[48] !== q || r[49] !== zU ? (BU = cn(q, zU), r[48] = q, r[49] = zU, r[50] = BU) : BU = r[50];
|
|
23319
23319
|
let Z;
|
|
23320
|
-
r[51] ===
|
|
23321
|
-
strokeWidth: 1.4,
|
|
23322
|
-
className: LU
|
|
23323
|
-
}), r[51] = LU, r[52] = Z);
|
|
23324
|
-
let RU = w && "text-primary", zU = T && "text-destructive", BU;
|
|
23325
|
-
r[53] !== RU || r[54] !== zU ? (BU = cn(RU, zU), r[53] = RU, r[54] = zU, r[55] = BU) : BU = r[55];
|
|
23326
|
-
let VU;
|
|
23327
|
-
r[56] === BU ? VU = r[57] : (VU = (0, import_jsx_runtime.jsx)(SquareDashedMousePointer, {
|
|
23320
|
+
r[51] === BU ? Z = r[52] : (Z = (0, import_jsx_runtime.jsx)(Upload, {
|
|
23328
23321
|
strokeWidth: 1.4,
|
|
23329
23322
|
className: BU
|
|
23330
|
-
}), r[
|
|
23331
|
-
let HU;
|
|
23332
|
-
r[
|
|
23323
|
+
}), r[51] = BU, r[52] = Z);
|
|
23324
|
+
let VU = w && "text-primary", HU = T && "text-destructive", UU;
|
|
23325
|
+
r[53] !== VU || r[54] !== HU ? (UU = cn(VU, HU), r[53] = VU, r[54] = HU, r[55] = UU) : UU = r[55];
|
|
23326
|
+
let WU;
|
|
23327
|
+
r[56] === UU ? WU = r[57] : (WU = (0, import_jsx_runtime.jsx)(SquareDashedMousePointer, {
|
|
23328
|
+
strokeWidth: 1.4,
|
|
23329
|
+
className: UU
|
|
23330
|
+
}), r[56] = UU, r[57] = WU);
|
|
23331
|
+
let GU;
|
|
23332
|
+
r[58] !== Z || r[59] !== WU ? (GU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23333
23333
|
className: "flex flex-row items-center justify-center grow gap-3",
|
|
23334
23334
|
children: [
|
|
23335
23335
|
Z,
|
|
23336
|
-
|
|
23336
|
+
WU
|
|
23337
23337
|
]
|
|
23338
|
-
}), r[58] = Z, r[59] =
|
|
23339
|
-
let
|
|
23340
|
-
r[61] !== G || r[62] !==
|
|
23338
|
+
}), r[58] = Z, r[59] = WU, r[60] = GU) : GU = r[60];
|
|
23339
|
+
let KU;
|
|
23340
|
+
r[61] !== G || r[62] !== GU ? (KU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23341
23341
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
23342
23342
|
children: [
|
|
23343
23343
|
G,
|
|
23344
|
-
|
|
23344
|
+
GU
|
|
23345
23345
|
]
|
|
23346
|
-
}), r[61] = G, r[62] =
|
|
23347
|
-
let
|
|
23348
|
-
r[64] !== W || r[65] !==
|
|
23346
|
+
}), r[61] = G, r[62] = GU, r[63] = KU) : KU = r[63];
|
|
23347
|
+
let qU;
|
|
23348
|
+
r[64] !== W || r[65] !== KU || r[66] !== z || r[67] !== B ? (qU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23349
23349
|
className: z,
|
|
23350
23350
|
...B,
|
|
23351
23351
|
children: [
|
|
23352
23352
|
W,
|
|
23353
|
-
|
|
23353
|
+
KU
|
|
23354
23354
|
]
|
|
23355
|
-
}), r[64] = W, r[65] =
|
|
23356
|
-
let
|
|
23357
|
-
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (
|
|
23355
|
+
}), r[64] = W, r[65] = KU, r[66] = z, r[67] = B, r[68] = qU) : qU = r[68];
|
|
23356
|
+
let JU;
|
|
23357
|
+
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (JU = M ? (0, import_jsx_runtime.jsxs)("div", {
|
|
23358
23358
|
className: "flex flex-row gap-1",
|
|
23359
23359
|
children: [
|
|
23360
23360
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -23390,17 +23390,17 @@ ${c}
|
|
|
23390
23390
|
})
|
|
23391
23391
|
})
|
|
23392
23392
|
]
|
|
23393
|
-
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] =
|
|
23394
|
-
let
|
|
23395
|
-
return r[75] !==
|
|
23393
|
+
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] = JU) : JU = r[74];
|
|
23394
|
+
let YU;
|
|
23395
|
+
return r[75] !== qU || r[76] !== JU ? (YU = (0, import_jsx_runtime.jsx)("section", {
|
|
23396
23396
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
23397
23397
|
className: "flex flex-col items-start justify-start grow gap-3",
|
|
23398
23398
|
children: [
|
|
23399
|
-
|
|
23400
|
-
|
|
23399
|
+
qU,
|
|
23400
|
+
JU
|
|
23401
23401
|
]
|
|
23402
23402
|
})
|
|
23403
|
-
}), r[75] =
|
|
23403
|
+
}), r[75] = qU, r[76] = JU, r[77] = YU) : YU = r[77], YU;
|
|
23404
23404
|
};
|
|
23405
23405
|
function _temp$11(e) {
|
|
23406
23406
|
Logger.error(e), toast({
|
|
@@ -23496,75 +23496,75 @@ ${c}
|
|
|
23496
23496
|
r[10] !== u || r[11] !== d ? (q = (e2) => {
|
|
23497
23497
|
e2.key === "Enter" && (e2.ctrlKey || e2.metaKey) && (e2.preventDefault(), e2.stopPropagation(), d(u));
|
|
23498
23498
|
}, r[10] = u, r[11] = d, r[12] = q) : q = r[12];
|
|
23499
|
-
let
|
|
23500
|
-
r[13] === f ?
|
|
23499
|
+
let zU;
|
|
23500
|
+
r[13] === f ? zU = r[14] : (zU = f === null ? null : (0, import_jsx_runtime.jsx)("div", {
|
|
23501
23501
|
className: "text-center",
|
|
23502
23502
|
children: renderHTML({
|
|
23503
23503
|
html: f
|
|
23504
23504
|
})
|
|
23505
|
-
}), r[13] = f, r[14] =
|
|
23506
|
-
let
|
|
23507
|
-
r[15] === L ?
|
|
23505
|
+
}), r[13] = f, r[14] = zU);
|
|
23506
|
+
let BU;
|
|
23507
|
+
r[15] === L ? BU = r[16] : (BU = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
23508
23508
|
kind: "danger",
|
|
23509
23509
|
className: "rounded",
|
|
23510
23510
|
children: L ?? "Invalid input"
|
|
23511
|
-
}), r[15] = L, r[16] =
|
|
23511
|
+
}), r[15] = L, r[16] = BU);
|
|
23512
23512
|
let Z;
|
|
23513
23513
|
r[17] === c ? Z = r[18] : (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
23514
23514
|
children: c
|
|
23515
23515
|
}), r[17] = c, r[18] = Z);
|
|
23516
|
-
let
|
|
23517
|
-
r[19] !== S || r[20] !== T || r[21] !== b ? (
|
|
23516
|
+
let VU;
|
|
23517
|
+
r[19] !== S || r[20] !== T || r[21] !== b ? (VU = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
23518
23518
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
23519
23519
|
variant: "text",
|
|
23520
23520
|
onClick: (e2) => {
|
|
23521
23521
|
e2.preventDefault(), B();
|
|
23522
23522
|
},
|
|
23523
23523
|
children: S
|
|
23524
|
-
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] =
|
|
23525
|
-
let
|
|
23526
|
-
r[23] === h ?
|
|
23524
|
+
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] = VU) : VU = r[22];
|
|
23525
|
+
let HU = v || h, UU;
|
|
23526
|
+
r[23] === h ? UU = r[24] : (UU = h && (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
23527
23527
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
23528
|
-
}), r[23] = h, r[24] =
|
|
23529
|
-
let
|
|
23530
|
-
r[25] !== g || r[26] !==
|
|
23528
|
+
}), r[23] = h, r[24] = UU);
|
|
23529
|
+
let WU;
|
|
23530
|
+
r[25] !== g || r[26] !== HU || r[27] !== UU || r[28] !== I ? (WU = (0, import_jsx_runtime.jsxs)(Button, {
|
|
23531
23531
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
23532
23532
|
variant: I,
|
|
23533
|
-
disabled:
|
|
23533
|
+
disabled: HU,
|
|
23534
23534
|
type: "submit",
|
|
23535
23535
|
children: [
|
|
23536
|
-
|
|
23536
|
+
UU,
|
|
23537
23537
|
g
|
|
23538
23538
|
]
|
|
23539
|
-
}), r[25] = g, r[26] =
|
|
23540
|
-
let
|
|
23541
|
-
r[30] !== _ || r[31] !==
|
|
23542
|
-
let
|
|
23543
|
-
r[33] !==
|
|
23539
|
+
}), r[25] = g, r[26] = HU, r[27] = UU, r[28] = I, r[29] = WU) : WU = r[29];
|
|
23540
|
+
let GU;
|
|
23541
|
+
r[30] !== _ || r[31] !== WU ? (GU = withTooltip(WU, _), r[30] = _, r[31] = WU, r[32] = GU) : GU = r[32];
|
|
23542
|
+
let KU;
|
|
23543
|
+
r[33] !== GU || r[34] !== VU ? (KU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23544
23544
|
className: "flex justify-end gap-2 font-code",
|
|
23545
23545
|
children: [
|
|
23546
|
-
|
|
23547
|
-
|
|
23546
|
+
VU,
|
|
23547
|
+
GU
|
|
23548
23548
|
]
|
|
23549
|
-
}), r[33] =
|
|
23550
|
-
let
|
|
23551
|
-
r[36] !==
|
|
23549
|
+
}), r[33] = GU, r[34] = VU, r[35] = KU) : KU = r[35];
|
|
23550
|
+
let qU;
|
|
23551
|
+
r[36] !== KU || r[37] !== G || r[38] !== q || r[39] !== zU || r[40] !== BU || r[41] !== Z ? (qU = (0, import_jsx_runtime.jsxs)("div", {
|
|
23552
23552
|
className: G,
|
|
23553
23553
|
onKeyDown: q,
|
|
23554
23554
|
children: [
|
|
23555
|
-
|
|
23556
|
-
|
|
23555
|
+
zU,
|
|
23556
|
+
BU,
|
|
23557
23557
|
Z,
|
|
23558
|
-
|
|
23558
|
+
KU
|
|
23559
23559
|
]
|
|
23560
|
-
}), r[36] =
|
|
23561
|
-
let
|
|
23562
|
-
return r[43] !==
|
|
23560
|
+
}), r[36] = KU, r[37] = G, r[38] = q, r[39] = zU, r[40] = BU, r[41] = Z, r[42] = qU) : qU = r[42];
|
|
23561
|
+
let JU;
|
|
23562
|
+
return r[43] !== qU || r[44] !== H ? (JU = (0, import_jsx_runtime.jsx)("form", {
|
|
23563
23563
|
className: "contents",
|
|
23564
23564
|
ref: j,
|
|
23565
23565
|
onSubmit: H,
|
|
23566
|
-
children:
|
|
23567
|
-
}), r[43] =
|
|
23566
|
+
children: qU
|
|
23567
|
+
}), r[43] = qU, r[44] = H, r[45] = JU) : JU = r[45], JU;
|
|
23568
23568
|
};
|
|
23569
23569
|
var Form = (e) => {
|
|
23570
23570
|
let r = (0, import_compiler_runtime$42.c)(24), c, l, u, d, f, p;
|
|
@@ -25324,8 +25324,8 @@ ${c}
|
|
|
25324
25324
|
points: extractSunburstPoints(e2.points)
|
|
25325
25325
|
}));
|
|
25326
25326
|
}, r[29] = u, r[30] = G);
|
|
25327
|
-
let q = useEvent_default(G),
|
|
25328
|
-
r[31] === u ?
|
|
25327
|
+
let q = useEvent_default(G), zU;
|
|
25328
|
+
r[31] === u ? zU = r[32] : (zU = (e2) => {
|
|
25329
25329
|
if (!e2 || !shouldHandleClickSelection(e2.points)) return;
|
|
25330
25330
|
let r2 = extractPoints(e2.points), c2 = extractIndices(e2.points);
|
|
25331
25331
|
u((e3) => ({
|
|
@@ -25336,8 +25336,8 @@ ${c}
|
|
|
25336
25336
|
points: r2,
|
|
25337
25337
|
indices: c2
|
|
25338
25338
|
}));
|
|
25339
|
-
}, r[31] = u, r[32] =
|
|
25340
|
-
let
|
|
25339
|
+
}, r[31] = u, r[32] = zU);
|
|
25340
|
+
let BU = useEvent_default(zU), Z;
|
|
25341
25341
|
r[33] === u ? Z = r[34] : (Z = (e2) => {
|
|
25342
25342
|
e2 && u((r2) => ({
|
|
25343
25343
|
...r2,
|
|
@@ -25348,8 +25348,8 @@ ${c}
|
|
|
25348
25348
|
lasso: "lassoPoints" in e2 ? e2.lassoPoints : void 0
|
|
25349
25349
|
}));
|
|
25350
25350
|
}, r[33] = u, r[34] = Z);
|
|
25351
|
-
let
|
|
25352
|
-
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !==
|
|
25351
|
+
let VU = useEvent_default(Z), HU = m.frames ?? void 0, UU = useEvent_default(_temp3$3), WU;
|
|
25352
|
+
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !== BU || r[42] !== VU || r[43] !== HU || r[44] !== UU || r[45] !== R ? (WU = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
25353
25353
|
...m,
|
|
25354
25354
|
layout: h,
|
|
25355
25355
|
onRelayout: R,
|
|
@@ -25357,13 +25357,13 @@ ${c}
|
|
|
25357
25357
|
onTreemapClick: W,
|
|
25358
25358
|
onSunburstClick: q,
|
|
25359
25359
|
config: L,
|
|
25360
|
-
onClick:
|
|
25361
|
-
onSelected:
|
|
25360
|
+
onClick: BU,
|
|
25361
|
+
onSelected: VU,
|
|
25362
25362
|
className: "w-full",
|
|
25363
25363
|
useResizeHandler: true,
|
|
25364
|
-
frames:
|
|
25365
|
-
onError:
|
|
25366
|
-
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] =
|
|
25364
|
+
frames: HU,
|
|
25365
|
+
onError: UU
|
|
25366
|
+
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] = BU, r[42] = VU, r[43] = HU, r[44] = UU, r[45] = R, r[46] = WU) : WU = r[46], WU;
|
|
25367
25367
|
});
|
|
25368
25368
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
25369
25369
|
function _temp$8(e) {
|
|
@@ -25495,8 +25495,8 @@ ${c}
|
|
|
25495
25495
|
c[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = cn("relative grow overflow-hidden rounded-full bg-slate-200 dark:bg-accent/60", "data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full", "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2"), c[17] = G) : G = c[17];
|
|
25496
25496
|
let q;
|
|
25497
25497
|
c[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = cn("absolute bg-blue-500 dark:bg-primary", "data-[orientation=horizontal]:h-full", "data-[orientation=vertical]:w-full", "data-disabled:opacity-50", "hover:cursor-grab active:cursor-grabbing"), c[18] = q) : q = c[18];
|
|
25498
|
-
let
|
|
25499
|
-
c[19] !== L || c[20] !== z || c[21] !== H ? (
|
|
25498
|
+
let zU;
|
|
25499
|
+
c[19] !== L || c[20] !== z || c[21] !== H ? (zU = (0, import_jsx_runtime.jsx)(Track, {
|
|
25500
25500
|
ref: E,
|
|
25501
25501
|
"data-testid": "track",
|
|
25502
25502
|
className: G,
|
|
@@ -25507,9 +25507,9 @@ ${c}
|
|
|
25507
25507
|
onPointerMove: z,
|
|
25508
25508
|
onPointerUp: H
|
|
25509
25509
|
})
|
|
25510
|
-
}), c[19] = L, c[20] = z, c[21] = H, c[22] =
|
|
25511
|
-
let
|
|
25512
|
-
c[23] !== m.setFalse || c[24] !== m.setTrue ? (
|
|
25510
|
+
}), c[19] = L, c[20] = z, c[21] = H, c[22] = zU) : zU = c[22];
|
|
25511
|
+
let BU;
|
|
25512
|
+
c[23] !== m.setFalse || c[24] !== m.setTrue ? (BU = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
25513
25513
|
asChild: true,
|
|
25514
25514
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
25515
25515
|
"data-testid": "thumb",
|
|
@@ -25519,30 +25519,30 @@ ${c}
|
|
|
25519
25519
|
onMouseEnter: m.setTrue,
|
|
25520
25520
|
onMouseLeave: m.setFalse
|
|
25521
25521
|
})
|
|
25522
|
-
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] =
|
|
25522
|
+
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] = BU) : BU = c[25];
|
|
25523
25523
|
let Z;
|
|
25524
25524
|
c[26] !== h || c[27] !== u.value || c[28] !== d ? (Z = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
25525
25525
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
25526
25526
|
locale: h
|
|
25527
25527
|
})
|
|
25528
25528
|
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] = Z) : Z = c[29];
|
|
25529
|
-
let
|
|
25530
|
-
c[30] === Z ?
|
|
25529
|
+
let VU;
|
|
25530
|
+
c[30] === Z ? VU = c[31] : (VU = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
25531
25531
|
children: Z
|
|
25532
|
-
}), c[30] = Z, c[31] =
|
|
25533
|
-
let
|
|
25534
|
-
c[32] !== f || c[33] !==
|
|
25532
|
+
}), c[30] = Z, c[31] = VU);
|
|
25533
|
+
let HU;
|
|
25534
|
+
c[32] !== f || c[33] !== BU || c[34] !== VU ? (HU = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
25535
25535
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
25536
25536
|
delayDuration: 0,
|
|
25537
25537
|
open: f,
|
|
25538
25538
|
children: [
|
|
25539
|
-
|
|
25540
|
-
|
|
25539
|
+
BU,
|
|
25540
|
+
VU
|
|
25541
25541
|
]
|
|
25542
25542
|
})
|
|
25543
|
-
}), c[32] = f, c[33] =
|
|
25544
|
-
let
|
|
25545
|
-
c[36] !== m.setFalse || c[37] !== m.setTrue ? (
|
|
25543
|
+
}), c[32] = f, c[33] = BU, c[34] = VU, c[35] = HU) : HU = c[35];
|
|
25544
|
+
let UU;
|
|
25545
|
+
c[36] !== m.setFalse || c[37] !== m.setTrue ? (UU = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
25546
25546
|
asChild: true,
|
|
25547
25547
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
25548
25548
|
"data-testid": "thumb",
|
|
@@ -25552,39 +25552,39 @@ ${c}
|
|
|
25552
25552
|
onMouseEnter: m.setTrue,
|
|
25553
25553
|
onMouseLeave: m.setFalse
|
|
25554
25554
|
})
|
|
25555
|
-
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] =
|
|
25556
|
-
let
|
|
25557
|
-
c[39] !== h || c[40] !== u.value || c[41] !== d ? (
|
|
25555
|
+
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] = UU) : UU = c[38];
|
|
25556
|
+
let WU;
|
|
25557
|
+
c[39] !== h || c[40] !== u.value || c[41] !== d ? (WU = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
25558
25558
|
children: prettyScientificNumber(d(u.value[1]), {
|
|
25559
25559
|
locale: h
|
|
25560
25560
|
})
|
|
25561
|
-
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] =
|
|
25562
|
-
let
|
|
25563
|
-
c[43] ===
|
|
25564
|
-
children:
|
|
25565
|
-
}), c[43] =
|
|
25566
|
-
let
|
|
25567
|
-
c[45] !== f || c[46] !==
|
|
25561
|
+
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] = WU) : WU = c[42];
|
|
25562
|
+
let GU;
|
|
25563
|
+
c[43] === WU ? GU = c[44] : (GU = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
25564
|
+
children: WU
|
|
25565
|
+
}), c[43] = WU, c[44] = GU);
|
|
25566
|
+
let KU;
|
|
25567
|
+
c[45] !== f || c[46] !== UU || c[47] !== GU ? (KU = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
25568
25568
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
25569
25569
|
delayDuration: 0,
|
|
25570
25570
|
open: f,
|
|
25571
25571
|
children: [
|
|
25572
|
-
|
|
25573
|
-
|
|
25572
|
+
UU,
|
|
25573
|
+
GU
|
|
25574
25574
|
]
|
|
25575
25575
|
})
|
|
25576
|
-
}), c[45] = f, c[46] =
|
|
25577
|
-
let
|
|
25578
|
-
return c[49] !== M || c[50] !== u || c[51] !==
|
|
25576
|
+
}), c[45] = f, c[46] = UU, c[47] = GU, c[48] = KU) : KU = c[48];
|
|
25577
|
+
let qU;
|
|
25578
|
+
return c[49] !== M || c[50] !== u || c[51] !== zU || c[52] !== HU || c[53] !== KU || c[54] !== W ? (qU = (0, import_jsx_runtime.jsxs)(Root$1, {
|
|
25579
25579
|
ref: M,
|
|
25580
25580
|
className: W,
|
|
25581
25581
|
...u,
|
|
25582
25582
|
children: [
|
|
25583
|
-
IU,
|
|
25584
25583
|
zU,
|
|
25585
|
-
|
|
25584
|
+
HU,
|
|
25585
|
+
KU
|
|
25586
25586
|
]
|
|
25587
|
-
}), c[49] = M, c[50] = u, c[51] =
|
|
25587
|
+
}), c[49] = M, c[50] = u, c[51] = zU, c[52] = HU, c[53] = KU, c[54] = W, c[55] = qU) : qU = c[55], qU;
|
|
25588
25588
|
});
|
|
25589
25589
|
RangeSlider.displayName = Root$1.displayName;
|
|
25590
25590
|
var import_compiler_runtime$30 = require_compiler_runtime(), RangeSliderPlugin = class {
|
|
@@ -25635,14 +25635,14 @@ ${c}
|
|
|
25635
25635
|
}, q = (e2) => {
|
|
25636
25636
|
h && l(e2);
|
|
25637
25637
|
}, r[10] = h, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
25638
|
-
let
|
|
25639
|
-
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (
|
|
25638
|
+
let zU, BU;
|
|
25639
|
+
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (zU = () => {
|
|
25640
25640
|
h && !dequal(T, u) && l(T);
|
|
25641
|
-
},
|
|
25641
|
+
}, BU = () => {
|
|
25642
25642
|
h && !dequal(T, u) && l(T);
|
|
25643
|
-
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] =
|
|
25643
|
+
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = zU, r[19] = BU) : (zU = r[18], BU = r[19]);
|
|
25644
25644
|
let Z;
|
|
25645
|
-
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !==
|
|
25645
|
+
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== zU || r[31] !== BU || r[32] !== b ? (Z = (0, import_jsx_runtime.jsx)(RangeSlider, {
|
|
25646
25646
|
id: S,
|
|
25647
25647
|
className: W,
|
|
25648
25648
|
value: T,
|
|
@@ -25653,36 +25653,36 @@ ${c}
|
|
|
25653
25653
|
disabled: y,
|
|
25654
25654
|
onValueChange: G,
|
|
25655
25655
|
onValueCommit: q,
|
|
25656
|
-
onPointerUp:
|
|
25657
|
-
onMouseUp:
|
|
25656
|
+
onPointerUp: zU,
|
|
25657
|
+
onMouseUp: BU,
|
|
25658
25658
|
valueMap: b
|
|
25659
|
-
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] =
|
|
25660
|
-
let
|
|
25661
|
-
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (
|
|
25659
|
+
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = zU, r[31] = BU, r[32] = b, r[33] = Z) : Z = r[33];
|
|
25660
|
+
let VU;
|
|
25661
|
+
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (VU = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
25662
25662
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
25663
25663
|
children: `${prettyScientificNumber(b(T[0]), {
|
|
25664
25664
|
locale: w
|
|
25665
25665
|
})}, ${prettyScientificNumber(b(T[1]), {
|
|
25666
25666
|
locale: w
|
|
25667
25667
|
})}`
|
|
25668
|
-
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] =
|
|
25669
|
-
let
|
|
25670
|
-
r[39] !== Z || r[40] !==
|
|
25668
|
+
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] = VU) : VU = r[38];
|
|
25669
|
+
let HU;
|
|
25670
|
+
r[39] !== Z || r[40] !== VU || r[41] !== B ? (HU = (0, import_jsx_runtime.jsxs)("div", {
|
|
25671
25671
|
className: B,
|
|
25672
25672
|
children: [
|
|
25673
25673
|
Z,
|
|
25674
|
-
|
|
25674
|
+
VU
|
|
25675
25675
|
]
|
|
25676
|
-
}), r[39] = Z, r[40] =
|
|
25677
|
-
let
|
|
25678
|
-
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !==
|
|
25676
|
+
}), r[39] = Z, r[40] = VU, r[41] = B, r[42] = HU) : HU = r[42];
|
|
25677
|
+
let UU;
|
|
25678
|
+
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !== HU || r[47] !== M || r[48] !== L ? (UU = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
25679
25679
|
label: c,
|
|
25680
25680
|
id: S,
|
|
25681
25681
|
align: M,
|
|
25682
25682
|
className: L,
|
|
25683
25683
|
fullWidth: v,
|
|
25684
|
-
children:
|
|
25685
|
-
}), r[43] = v, r[44] = S, r[45] = c, r[46] =
|
|
25684
|
+
children: HU
|
|
25685
|
+
}), r[43] = v, r[44] = S, r[45] = c, r[46] = HU, r[47] = M, r[48] = L, r[49] = UU) : UU = r[49], UU;
|
|
25686
25686
|
}, import_timestring = __toESM(__commonJSMin(((e, r) => {
|
|
25687
25687
|
r.exports = u;
|
|
25688
25688
|
var c = {
|
|
@@ -25910,16 +25910,16 @@ ${c}
|
|
|
25910
25910
|
r[9] === E ? G = r[10] : (G = [
|
|
25911
25911
|
E
|
|
25912
25912
|
], r[9] = E, r[10] = G);
|
|
25913
|
-
let q,
|
|
25913
|
+
let q, zU;
|
|
25914
25914
|
r[11] !== h || r[12] !== l ? (q = (e2) => {
|
|
25915
25915
|
let [r2] = e2;
|
|
25916
25916
|
O(r2), h || l(r2);
|
|
25917
|
-
},
|
|
25917
|
+
}, zU = (e2) => {
|
|
25918
25918
|
let [r2] = e2;
|
|
25919
25919
|
h && l(r2);
|
|
25920
|
-
}, r[11] = h, r[12] = l, r[13] = q, r[14] =
|
|
25921
|
-
let
|
|
25922
|
-
r[15] !== S || r[16] !== w || r[17] !== g || r[18] !== d || r[19] !== m || r[20] !== f || r[21] !== G || r[22] !== q || r[23] !==
|
|
25920
|
+
}, r[11] = h, r[12] = l, r[13] = q, r[14] = zU) : (q = r[13], zU = r[14]);
|
|
25921
|
+
let BU;
|
|
25922
|
+
r[15] !== S || r[16] !== w || r[17] !== g || r[18] !== d || r[19] !== m || r[20] !== f || r[21] !== G || r[22] !== q || r[23] !== zU || r[24] !== W || r[25] !== y ? (BU = (0, import_jsx_runtime.jsx)(Slider, {
|
|
25923
25923
|
id: w,
|
|
25924
25924
|
className: W,
|
|
25925
25925
|
value: G,
|
|
@@ -25928,10 +25928,10 @@ ${c}
|
|
|
25928
25928
|
step: m,
|
|
25929
25929
|
orientation: g,
|
|
25930
25930
|
onValueChange: q,
|
|
25931
|
-
onValueCommit:
|
|
25931
|
+
onValueCommit: zU,
|
|
25932
25932
|
valueMap: y,
|
|
25933
25933
|
disabled: S
|
|
25934
|
-
}), r[15] = S, r[16] = w, r[17] = g, r[18] = d, r[19] = m, r[20] = f, r[21] = G, r[22] = q, r[23] =
|
|
25934
|
+
}), r[15] = S, r[16] = w, r[17] = g, r[18] = d, r[19] = m, r[20] = f, r[21] = G, r[22] = q, r[23] = zU, r[24] = W, r[25] = y, r[26] = BU) : BU = r[26];
|
|
25935
25935
|
let Z;
|
|
25936
25936
|
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (Z = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
25937
25937
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
@@ -25939,8 +25939,8 @@ ${c}
|
|
|
25939
25939
|
locale: T
|
|
25940
25940
|
})
|
|
25941
25941
|
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] = Z) : Z = r[31];
|
|
25942
|
-
let
|
|
25943
|
-
r[32] !== S || r[33] !== b || r[34] !== E || r[35] !== c || r[36] !== l || r[37] !== d || r[38] !== m || r[39] !== f || r[40] !== y ? (
|
|
25942
|
+
let VU;
|
|
25943
|
+
r[32] !== S || r[33] !== b || r[34] !== E || r[35] !== c || r[36] !== l || r[37] !== d || r[38] !== m || r[39] !== f || r[40] !== y ? (VU = b && (0, import_jsx_runtime.jsx)(NumberField, {
|
|
25944
25944
|
value: y(E),
|
|
25945
25945
|
onChange: (e2) => {
|
|
25946
25946
|
(e2 == null || Number.isNaN(e2)) && (e2 = Number(d)), O(e2), l(e2);
|
|
@@ -25951,25 +25951,25 @@ ${c}
|
|
|
25951
25951
|
className: "w-24",
|
|
25952
25952
|
"aria-label": `${c || "Slider"} value input`,
|
|
25953
25953
|
isDisabled: S
|
|
25954
|
-
}), r[32] = S, r[33] = b, r[34] = E, r[35] = c, r[36] = l, r[37] = d, r[38] = m, r[39] = f, r[40] = y, r[41] =
|
|
25955
|
-
let
|
|
25956
|
-
r[42] !==
|
|
25954
|
+
}), r[32] = S, r[33] = b, r[34] = E, r[35] = c, r[36] = l, r[37] = d, r[38] = m, r[39] = f, r[40] = y, r[41] = VU) : VU = r[41];
|
|
25955
|
+
let HU;
|
|
25956
|
+
r[42] !== BU || r[43] !== Z || r[44] !== VU || r[45] !== B ? (HU = (0, import_jsx_runtime.jsxs)("div", {
|
|
25957
25957
|
className: B,
|
|
25958
25958
|
children: [
|
|
25959
|
-
|
|
25959
|
+
BU,
|
|
25960
25960
|
Z,
|
|
25961
|
-
|
|
25961
|
+
VU
|
|
25962
25962
|
]
|
|
25963
|
-
}), r[42] =
|
|
25964
|
-
let
|
|
25965
|
-
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !==
|
|
25963
|
+
}), r[42] = BU, r[43] = Z, r[44] = VU, r[45] = B, r[46] = HU) : HU = r[46];
|
|
25964
|
+
let UU;
|
|
25965
|
+
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !== HU || r[51] !== I || r[52] !== R ? (UU = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
25966
25966
|
label: c,
|
|
25967
25967
|
id: w,
|
|
25968
25968
|
align: I,
|
|
25969
25969
|
fullWidth: v,
|
|
25970
25970
|
className: R,
|
|
25971
|
-
children:
|
|
25972
|
-
}), r[47] = v, r[48] = w, r[49] = c, r[50] =
|
|
25971
|
+
children: HU
|
|
25972
|
+
}), r[47] = v, r[48] = w, r[49] = c, r[50] = HU, r[51] = I, r[52] = R, r[53] = UU) : UU = r[53], UU;
|
|
25973
25973
|
}, import_compiler_runtime$28 = require_compiler_runtime(), switchVariants = cva("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", {
|
|
25974
25974
|
variants: {
|
|
25975
25975
|
size: {
|
|
@@ -26513,7 +26513,7 @@ ${c}
|
|
|
26513
26513
|
kind: e.kind
|
|
26514
26514
|
});
|
|
26515
26515
|
}
|
|
26516
|
-
}, navigation_default = ".marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}", pagination_default = ".marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px)0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}", scrollbar_default = ".marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}", virtual_default = '.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}', swiper_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}', slides_default = ".marimo .mo-slide-content{justify-content:center;width:100%;min-height:fit-content;display:flex;& .marimo .output{max-width:100%;width:unset;margin:auto 0}& .marimo>:only-child>.output:only-child{flex:1}& .marimo div:has(>marimo-ui-element>marimo-vega){flex:1;display:block!important;@media (width>=500px){min-width:350px}}}", swiper_slides_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}.marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}.marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px)0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}.marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}.marimo .mo-slides-theme{--swiper-theme-color:var(--primary);--swiper-pagination-color:var(--swiper-theme-color);--swiper-pagination-left:auto;--swiper-pagination-right:8px;--swiper-pagination-bottom:8px;--swiper-pagination-top:auto;--swiper-pagination-fraction-color:inherit;--swiper-pagination-progressbar-bg-color:#00000040;--swiper-pagination-progressbar-size:4px;--swiper-pagination-bullet-size:8px;--swiper-pagination-bullet-width:8px;--swiper-pagination-bullet-height:8px;--swiper-pagination-bullet-border-radius:50%;--swiper-pagination-bullet-inactive-color:#000;--swiper-pagination-bullet-inactive-opacity:.2;--swiper-pagination-bullet-opacity:1;--swiper-pagination-bullet-horizontal-gap:4px;--swiper-pagination-bullet-vertical-gap:6px;& .marimo .swiper-button-next,& .marimo .swiper-button-prev{opacity:0;--swiper-navigation-sides-offset:0;--swiper-navigation-size:20px;background-color:#0000001a;height:100%;margin-top:0;padding:0 15px;font-weight:900;transition:opacity .3s;top:0;bottom:0;.marimo &.swiper-button-disabled{opacity:0}.marimo &:hover:not(.swiper-button-disabled){opacity:1}}}@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}.marimo :host:host{display:initial}', CarouselPlugin = class {
|
|
26516
|
+
}, navigation_default = ".marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}", pagination_default = ".marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px)0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}", scrollbar_default = ".marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}", virtual_default = '.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}', swiper_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}', slides_default = ".marimo .mo-slide-content{justify-content:center;width:100%;min-height:fit-content;display:flex;& .marimo .output{max-width:100%;width:unset;margin:auto 0}& .marimo>:only-child>.output:only-child{flex:1}& .marimo div:has(>marimo-ui-element>marimo-vega){flex:1;display:block!important;@media (width>=500px){min-width:350px}}}.marimo .mo-slides-notes-resize{background-color:#0000;outline:none;height:4px;transition:background-color .2s linear}.marimo .mo-slides-notes-resize:hover,.marimo .mo-slides-notes-resize[data-resize-handle-active]{background-color:var(--slate-11)}", swiper_slides_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}.marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}.marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px)0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}.marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}.marimo .mo-slides-theme{--swiper-theme-color:var(--primary);--swiper-pagination-color:var(--swiper-theme-color);--swiper-pagination-left:auto;--swiper-pagination-right:8px;--swiper-pagination-bottom:8px;--swiper-pagination-top:auto;--swiper-pagination-fraction-color:inherit;--swiper-pagination-progressbar-bg-color:#00000040;--swiper-pagination-progressbar-size:4px;--swiper-pagination-bullet-size:8px;--swiper-pagination-bullet-width:8px;--swiper-pagination-bullet-height:8px;--swiper-pagination-bullet-border-radius:50%;--swiper-pagination-bullet-inactive-color:#000;--swiper-pagination-bullet-inactive-opacity:.2;--swiper-pagination-bullet-opacity:1;--swiper-pagination-bullet-horizontal-gap:4px;--swiper-pagination-bullet-vertical-gap:6px;& .marimo .swiper-button-next,& .marimo .swiper-button-prev{opacity:0;--swiper-navigation-sides-offset:0;--swiper-navigation-size:20px;background-color:#0000001a;height:100%;margin-top:0;padding:0 15px;font-weight:900;transition:opacity .3s;top:0;bottom:0;.marimo &.swiper-button-disabled{opacity:0}.marimo &:hover:not(.swiper-button-disabled){opacity:1}}}@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}.marimo :host:host{display:initial}', CarouselPlugin = class {
|
|
26517
26517
|
constructor() {
|
|
26518
26518
|
__publicField(this, "tagName", "marimo-carousel");
|
|
26519
26519
|
__publicField(this, "validator", object({
|
|
@@ -28981,7 +28981,7 @@ ${c}
|
|
|
28981
28981
|
areRegExpsEqual: H,
|
|
28982
28982
|
areSetsEqual: W,
|
|
28983
28983
|
createIsNestedEqual: r2
|
|
28984
|
-
}),
|
|
28984
|
+
}), zU = Object.freeze({
|
|
28985
28985
|
areArraysEqual: O,
|
|
28986
28986
|
areDatesEqual: j,
|
|
28987
28987
|
areMapsEqual: I,
|
|
@@ -28989,40 +28989,40 @@ ${c}
|
|
|
28989
28989
|
areRegExpsEqual: H,
|
|
28990
28990
|
areSetsEqual: G,
|
|
28991
28991
|
createIsNestedEqual: r2
|
|
28992
|
-
}),
|
|
28992
|
+
}), BU = T(q);
|
|
28993
28993
|
function Z(e3, r3) {
|
|
28994
|
-
return
|
|
28994
|
+
return BU(e3, r3, void 0);
|
|
28995
28995
|
}
|
|
28996
|
-
var
|
|
28996
|
+
var VU = T(l(q, {
|
|
28997
28997
|
createIsNestedEqual: function() {
|
|
28998
28998
|
return f;
|
|
28999
28999
|
}
|
|
29000
29000
|
}));
|
|
29001
|
-
function
|
|
29002
|
-
return
|
|
29001
|
+
function HU(e3, r3) {
|
|
29002
|
+
return VU(e3, r3, void 0);
|
|
29003
29003
|
}
|
|
29004
|
-
var
|
|
29005
|
-
function
|
|
29006
|
-
return
|
|
29004
|
+
var UU = T(zU);
|
|
29005
|
+
function WU(e3, r3) {
|
|
29006
|
+
return UU(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
29007
29007
|
}
|
|
29008
|
-
var
|
|
29008
|
+
var GU = T(l(zU, {
|
|
29009
29009
|
createIsNestedEqual: function() {
|
|
29010
29010
|
return f;
|
|
29011
29011
|
}
|
|
29012
29012
|
}));
|
|
29013
|
-
function
|
|
29014
|
-
return
|
|
29013
|
+
function KU(e3, r3) {
|
|
29014
|
+
return GU(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
29015
29015
|
}
|
|
29016
|
-
function
|
|
29016
|
+
function qU(e3) {
|
|
29017
29017
|
return T(l(q, e3(q)));
|
|
29018
29018
|
}
|
|
29019
|
-
function
|
|
29020
|
-
var r3 = T(l(
|
|
29019
|
+
function JU(e3) {
|
|
29020
|
+
var r3 = T(l(zU, e3(zU)));
|
|
29021
29021
|
return (function(e4, c2, l2) {
|
|
29022
29022
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
29023
29023
|
});
|
|
29024
29024
|
}
|
|
29025
|
-
e2.circularDeepEqual =
|
|
29025
|
+
e2.circularDeepEqual = WU, e2.circularShallowEqual = KU, e2.createCustomCircularEqual = JU, e2.createCustomEqual = qU, e2.deepEqual = Z, e2.sameValueZeroEqual = f, e2.shallowEqual = HU, Object.defineProperty(e2, "__esModule", {
|
|
29026
29026
|
value: true
|
|
29027
29027
|
});
|
|
29028
29028
|
}));
|
|
@@ -29048,7 +29048,7 @@ ${c}
|
|
|
29048
29048
|
})), require_utils$1 = __commonJSMin(((e) => {
|
|
29049
29049
|
Object.defineProperty(e, "__esModule", {
|
|
29050
29050
|
value: true
|
|
29051
|
-
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType =
|
|
29051
|
+
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType = eW, e.correctBounds = I, e.fastPositionEqual = S, e.fastRGLPropsEqual = void 0, e.getAllCollisions = z, e.getFirstCollision = R, e.getLayoutItem = L, e.getStatics = B, e.modifyLayout = _, e.moveElement = H, e.moveElementAwayFromCollision = W, e.noop = void 0, e.perc = G, e.resizeItemInDirection = KU, e.setTopLeft = JU, e.setTransform = qU, e.sortLayoutItems = YU, e.sortLayoutItemsByColRow = ZU, e.sortLayoutItemsByRowCol = XU, e.synchronizeLayoutWithChildren = QU, e.validateLayout = $U, e.withLayoutItem = v;
|
|
29052
29052
|
var r = require_fast_equals(), c = l(require_react());
|
|
29053
29053
|
function l(e2) {
|
|
29054
29054
|
return e2 && e2.__esModule ? e2 : {
|
|
@@ -29153,7 +29153,7 @@ ${c}
|
|
|
29153
29153
|
return !(e2.i === r2.i || e2.x + e2.w <= r2.x || e2.x >= r2.x + r2.w || e2.y + e2.h <= r2.y || e2.y >= r2.y + r2.h);
|
|
29154
29154
|
}
|
|
29155
29155
|
function T(e2, r2, c2, l2) {
|
|
29156
|
-
let u2 = B(e2), d2 = h(u2), f2 =
|
|
29156
|
+
let u2 = B(e2), d2 = h(u2), f2 = YU(e2, r2), p2 = Array(e2.length);
|
|
29157
29157
|
for (let m2 = 0, h2 = f2.length; m2 < h2; m2++) {
|
|
29158
29158
|
let h3 = y(f2[m2]);
|
|
29159
29159
|
h3.static || (h3 = M(u2, h3, r2, c2, f2, l2, d2), d2 = Math.max(d2, h3.y + h3.h), u2.push(h3)), p2[e2.indexOf(f2[m2])] = h3, h3.moved = false;
|
|
@@ -29211,7 +29211,7 @@ ${c}
|
|
|
29211
29211
|
`${r2.i}${String(c2)}${String(l2)}${r2.x}${r2.y}`;
|
|
29212
29212
|
let h2 = r2.x, _2 = r2.y;
|
|
29213
29213
|
typeof c2 == "number" && (r2.x = c2), typeof l2 == "number" && (r2.y = l2), r2.moved = true;
|
|
29214
|
-
let v2 =
|
|
29214
|
+
let v2 = YU(e2, f2);
|
|
29215
29215
|
(f2 === "vertical" && typeof l2 == "number" ? _2 >= l2 : f2 === "horizontal" && typeof c2 == "number" && h2 >= c2) && (v2 = v2.reverse());
|
|
29216
29216
|
let y2 = z(v2, r2), b2 = y2.length > 0;
|
|
29217
29217
|
if (b2 && m2) return g(e2);
|
|
@@ -29245,61 +29245,61 @@ ${c}
|
|
|
29245
29245
|
function G(e2) {
|
|
29246
29246
|
return e2 * 100 + "%";
|
|
29247
29247
|
}
|
|
29248
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2,
|
|
29248
|
+
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, zU = (e2, r2, c2) => e2 < 0 ? r2 : c2, BU = (e2) => Math.max(0, e2), Z = (e2) => Math.max(0, e2), VU = (e2, r2, c2) => {
|
|
29249
29249
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
29250
29250
|
return {
|
|
29251
29251
|
left: l2,
|
|
29252
29252
|
width: d2,
|
|
29253
|
-
height:
|
|
29253
|
+
height: zU(f2, e2.height, u2),
|
|
29254
29254
|
top: Z(f2)
|
|
29255
29255
|
};
|
|
29256
|
-
},
|
|
29256
|
+
}, HU = (e2, r2, c2) => {
|
|
29257
29257
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
29258
29258
|
return {
|
|
29259
29259
|
top: l2,
|
|
29260
29260
|
height: d2,
|
|
29261
29261
|
width: q(e2.left, e2.width, f2, c2),
|
|
29262
|
-
left:
|
|
29262
|
+
left: BU(u2)
|
|
29263
29263
|
};
|
|
29264
|
-
},
|
|
29264
|
+
}, UU = (e2, r2, c2) => {
|
|
29265
29265
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
29266
29266
|
return {
|
|
29267
29267
|
height: u2,
|
|
29268
29268
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
29269
29269
|
top: Z(l2),
|
|
29270
|
-
left:
|
|
29270
|
+
left: BU(f2)
|
|
29271
29271
|
};
|
|
29272
|
-
},
|
|
29272
|
+
}, WU = (e2, r2, c2) => {
|
|
29273
29273
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
29274
29274
|
return {
|
|
29275
29275
|
width: f2,
|
|
29276
29276
|
left: u2,
|
|
29277
|
-
height:
|
|
29277
|
+
height: zU(l2, e2.height, d2),
|
|
29278
29278
|
top: Z(l2)
|
|
29279
29279
|
};
|
|
29280
|
-
},
|
|
29281
|
-
n:
|
|
29280
|
+
}, GU = {
|
|
29281
|
+
n: VU,
|
|
29282
29282
|
ne: function() {
|
|
29283
|
-
return
|
|
29283
|
+
return VU(arguments.length <= 0 ? void 0 : arguments[0], HU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29284
29284
|
},
|
|
29285
|
-
e:
|
|
29285
|
+
e: HU,
|
|
29286
29286
|
se: function() {
|
|
29287
|
-
return
|
|
29287
|
+
return WU(arguments.length <= 0 ? void 0 : arguments[0], HU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29288
29288
|
},
|
|
29289
|
-
s:
|
|
29289
|
+
s: WU,
|
|
29290
29290
|
sw: function() {
|
|
29291
|
-
return
|
|
29291
|
+
return WU(arguments.length <= 0 ? void 0 : arguments[0], UU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29292
29292
|
},
|
|
29293
|
-
w:
|
|
29293
|
+
w: UU,
|
|
29294
29294
|
nw: function() {
|
|
29295
|
-
return
|
|
29295
|
+
return VU(arguments.length <= 0 ? void 0 : arguments[0], UU(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
29296
29296
|
}
|
|
29297
29297
|
};
|
|
29298
|
-
function
|
|
29299
|
-
let u2 =
|
|
29298
|
+
function KU(e2, r2, c2, l2) {
|
|
29299
|
+
let u2 = GU[e2];
|
|
29300
29300
|
return u2 ? u2(r2, d(d({}, r2), c2), l2) : c2;
|
|
29301
29301
|
}
|
|
29302
|
-
function
|
|
29302
|
+
function qU(e2) {
|
|
29303
29303
|
let { top: r2, left: c2, width: l2, height: u2 } = e2, d2 = `translate(${c2}px,${r2}px)`;
|
|
29304
29304
|
return {
|
|
29305
29305
|
transform: d2,
|
|
@@ -29312,7 +29312,7 @@ ${c}
|
|
|
29312
29312
|
position: "absolute"
|
|
29313
29313
|
};
|
|
29314
29314
|
}
|
|
29315
|
-
function
|
|
29315
|
+
function JU(e2) {
|
|
29316
29316
|
let { top: r2, left: c2, width: l2, height: u2 } = e2;
|
|
29317
29317
|
return {
|
|
29318
29318
|
top: `${r2}px`,
|
|
@@ -29322,20 +29322,20 @@ ${c}
|
|
|
29322
29322
|
position: "absolute"
|
|
29323
29323
|
};
|
|
29324
29324
|
}
|
|
29325
|
-
function
|
|
29326
|
-
return r2 === "horizontal" ?
|
|
29325
|
+
function YU(e2, r2) {
|
|
29326
|
+
return r2 === "horizontal" ? ZU(e2) : r2 === "vertical" ? XU(e2) : e2;
|
|
29327
29327
|
}
|
|
29328
|
-
function
|
|
29328
|
+
function XU(e2) {
|
|
29329
29329
|
return e2.slice(0).sort(function(e3, r2) {
|
|
29330
29330
|
return e3.y > r2.y || e3.y === r2.y && e3.x > r2.x ? 1 : e3.y === r2.y && e3.x === r2.x ? 0 : -1;
|
|
29331
29331
|
});
|
|
29332
29332
|
}
|
|
29333
|
-
function
|
|
29333
|
+
function ZU(e2) {
|
|
29334
29334
|
return e2.slice(0).sort(function(e3, r2) {
|
|
29335
29335
|
return e3.x > r2.x || e3.x === r2.x && e3.y > r2.y ? 1 : -1;
|
|
29336
29336
|
});
|
|
29337
29337
|
}
|
|
29338
|
-
function
|
|
29338
|
+
function QU(e2, r2, l2, u2, f2) {
|
|
29339
29339
|
e2 || (e2 = []);
|
|
29340
29340
|
let p2 = [];
|
|
29341
29341
|
c.default.Children.forEach(r2, (r3) => {
|
|
@@ -29356,7 +29356,7 @@ ${c}
|
|
|
29356
29356
|
});
|
|
29357
29357
|
return f2 ? m2 : T(m2, u2, l2);
|
|
29358
29358
|
}
|
|
29359
|
-
function
|
|
29359
|
+
function $U(e2) {
|
|
29360
29360
|
let r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Layout", c2 = [
|
|
29361
29361
|
"x",
|
|
29362
29362
|
"y",
|
|
@@ -29373,7 +29373,7 @@ ${c}
|
|
|
29373
29373
|
if (u3.i !== void 0 && typeof u3.i != "string") throw Error(`ReactGridLayout: ${r2}[${l2}].i must be a string! Received: ${u3.i} (${typeof u3.i})`);
|
|
29374
29374
|
}
|
|
29375
29375
|
}
|
|
29376
|
-
function
|
|
29376
|
+
function eW(e2) {
|
|
29377
29377
|
let { verticalCompact: r2, compactType: c2 } = e2 || {};
|
|
29378
29378
|
return r2 === false ? null : c2;
|
|
29379
29379
|
}
|
|
@@ -32178,7 +32178,7 @@ ${c}
|
|
|
32178
32178
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
32179
32179
|
let E = useIsDragging(), O, j;
|
|
32180
32180
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
32181
|
-
let M = !f && !v, I, L, R, z, B, H, W, G, q,
|
|
32181
|
+
let M = !f && !v, I, L, R, z, B, H, W, G, q, zU, BU, Z, VU, HU, UU, WU, GU, KU, qU, JU, YU, XU, ZU, QU, $U, eW;
|
|
32182
32182
|
if (r[10] !== u || r[11] !== S || r[12] !== O || r[13] !== g || r[14] !== M || r[15] !== h || r[16] !== j || r[17] !== f || r[18] !== c || r[19] !== d || r[20] !== l) {
|
|
32183
32183
|
let e2 = Maps.keyBy(c.cells, _temp2$2), m2;
|
|
32184
32184
|
r[47] !== c || r[48] !== l ? (m2 = (e3) => (r2) => {
|
|
@@ -32197,23 +32197,23 @@ ${c}
|
|
|
32197
32197
|
});
|
|
32198
32198
|
}, r[50] = c, r[51] = l, r[52] = v2) : v2 = r[52];
|
|
32199
32199
|
let y2 = v2;
|
|
32200
|
-
r[53] !== M || r[54] !== c.columns || r[55] !== c.maxWidth || r[56] !== c.rowHeight ? (L = {}, c.maxWidth && (L.maxWidth = `${c.maxWidth}px`), M && (L.backgroundImage = "repeating-linear-gradient(var(--gray-4) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--gray-4) 0 1px, transparent 1px 100%)", L.backgroundSize = `calc((100% / ${c.columns})) ${c.rowHeight}px`), r[53] = M, r[54] = c.columns, r[55] = c.maxWidth, r[56] = c.rowHeight, r[57] = L) : L = r[57], I = ReactGridLayout,
|
|
32200
|
+
r[53] !== M || r[54] !== c.columns || r[55] !== c.maxWidth || r[56] !== c.rowHeight ? (L = {}, c.maxWidth && (L.maxWidth = `${c.maxWidth}px`), M && (L.backgroundImage = "repeating-linear-gradient(var(--gray-4) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--gray-4) 0 1px, transparent 1px 100%)", L.backgroundSize = `calc((100% / ${c.columns})) ${c.rowHeight}px`), r[53] = M, r[54] = c.columns, r[55] = c.maxWidth, r[56] = c.rowHeight, r[57] = L) : L = r[57], I = ReactGridLayout, ZU = "lg", r[58] === c.cells ? QU = r[59] : (QU = {
|
|
32201
32201
|
lg: c.cells
|
|
32202
|
-
}, r[58] = c.cells, r[59] =
|
|
32202
|
+
}, r[58] = c.cells, r[59] = QU), $U = L, eW = S, R = false;
|
|
32203
32203
|
let b2 = M && "bg-(--slate-2) border-r", w2 = f && "disable-animation", T2 = !c.maxWidth && "min-w-[800px]";
|
|
32204
32204
|
r[60] !== b2 || r[61] !== w2 || r[62] !== T2 ? (z = cn("w-full mx-auto bg-background flex-1 min-h-full", b2, w2, T2), r[60] = b2, r[61] = w2, r[62] = T2, r[63] = z) : z = r[63], r[64] === f ? B = r[65] : (B = f ? [
|
|
32205
32205
|
20,
|
|
32206
32206
|
20
|
|
32207
|
-
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true,
|
|
32207
|
+
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, zU = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (BU = (e3) => {
|
|
32208
32208
|
f || l({
|
|
32209
32209
|
...c,
|
|
32210
32210
|
cells: e3
|
|
32211
32211
|
});
|
|
32212
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
32212
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = BU) : BU = r[69], r[70] === g ? Z = r[71] : (Z = g ? {
|
|
32213
32213
|
i: g.i,
|
|
32214
32214
|
w: g.w || 2,
|
|
32215
32215
|
h: g.h || 2
|
|
32216
|
-
} : void 0, r[70] = g, r[71] = Z), r[72] !== O || r[73] !== c || r[74] !== l ? (
|
|
32216
|
+
} : void 0, r[70] = g, r[71] = Z), r[72] !== O || r[73] !== c || r[74] !== l ? (VU = (e3, r2, u2) => {
|
|
32217
32217
|
O.onDragStop(), r2 && l({
|
|
32218
32218
|
...c,
|
|
32219
32219
|
cells: [
|
|
@@ -32221,15 +32221,15 @@ ${c}
|
|
|
32221
32221
|
r2
|
|
32222
32222
|
]
|
|
32223
32223
|
});
|
|
32224
|
-
}, r[72] = O, r[73] = c, r[74] = l, r[75] =
|
|
32224
|
+
}, r[72] = O, r[73] = c, r[74] = l, r[75] = VU) : VU = r[75], r[76] === O ? (HU = r[77], UU = r[78], WU = r[79]) : (HU = (e3, r2, c2, l2, u2) => {
|
|
32225
32225
|
O.onDragStart(u2);
|
|
32226
|
-
},
|
|
32226
|
+
}, UU = (e3, r2, c2, l2, u2) => {
|
|
32227
32227
|
O.onDragMove(u2);
|
|
32228
|
-
},
|
|
32228
|
+
}, WU = () => {
|
|
32229
32229
|
O.onDragStop();
|
|
32230
|
-
}, r[76] = O, r[77] =
|
|
32230
|
+
}, r[76] = O, r[77] = HU, r[78] = UU, r[79] = WU), GU = _temp3$2, KU = M, qU = M, JU = M, YU = M ? `.${DRAG_HANDLE}` : "noop";
|
|
32231
32231
|
let E2;
|
|
32232
|
-
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2),
|
|
32232
|
+
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2), XU = u.filter(E2).map((r2) => {
|
|
32233
32233
|
let u2 = e2.get(r2.id), f2 = c.scrollableCells.has(r2.id) ?? false, p = c.cellSide.get(r2.id), m3 = (0, import_jsx_runtime.jsx)(GridCell, {
|
|
32234
32234
|
code: r2.code,
|
|
32235
32235
|
mode: d,
|
|
@@ -32258,14 +32258,14 @@ ${c}
|
|
|
32258
32258
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
32259
32259
|
children: m3
|
|
32260
32260
|
}, r2.id);
|
|
32261
|
-
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] =
|
|
32262
|
-
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29],
|
|
32263
|
-
let
|
|
32264
|
-
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !==
|
|
32265
|
-
breakpoint:
|
|
32266
|
-
layouts:
|
|
32267
|
-
style:
|
|
32268
|
-
cols:
|
|
32261
|
+
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = zU, r[31] = BU, r[32] = Z, r[33] = VU, r[34] = HU, r[35] = UU, r[36] = WU, r[37] = GU, r[38] = KU, r[39] = qU, r[40] = JU, r[41] = YU, r[42] = XU, r[43] = ZU, r[44] = QU, r[45] = $U, r[46] = eW;
|
|
32262
|
+
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], zU = r[30], BU = r[31], Z = r[32], VU = r[33], HU = r[34], UU = r[35], WU = r[36], GU = r[37], KU = r[38], qU = r[39], JU = r[40], YU = r[41], XU = r[42], ZU = r[43], QU = r[44], $U = r[45], eW = r[46];
|
|
32263
|
+
let tW;
|
|
32264
|
+
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== zU || r[91] !== BU || r[92] !== Z || r[93] !== VU || r[94] !== HU || r[95] !== UU || r[96] !== WU || r[97] !== GU || r[98] !== KU || r[99] !== qU || r[100] !== JU || r[101] !== YU || r[102] !== XU || r[103] !== ZU || r[104] !== QU || r[105] !== $U || r[106] !== eW ? (tW = (0, import_jsx_runtime.jsx)(I, {
|
|
32265
|
+
breakpoint: ZU,
|
|
32266
|
+
layouts: QU,
|
|
32267
|
+
style: $U,
|
|
32268
|
+
cols: eW,
|
|
32269
32269
|
allowOverlap: R,
|
|
32270
32270
|
className: z,
|
|
32271
32271
|
containerPadding: B,
|
|
@@ -32273,23 +32273,23 @@ ${c}
|
|
|
32273
32273
|
isBounded: W,
|
|
32274
32274
|
compactType: G,
|
|
32275
32275
|
preventCollision: q,
|
|
32276
|
-
rowHeight:
|
|
32277
|
-
onLayoutChange:
|
|
32276
|
+
rowHeight: zU,
|
|
32277
|
+
onLayoutChange: BU,
|
|
32278
32278
|
droppingItem: Z,
|
|
32279
|
-
onDrop:
|
|
32280
|
-
onDragStart:
|
|
32281
|
-
onDrag:
|
|
32282
|
-
onDragStop:
|
|
32283
|
-
onResizeStop:
|
|
32284
|
-
isDraggable:
|
|
32285
|
-
isDroppable:
|
|
32286
|
-
isResizable:
|
|
32287
|
-
draggableHandle:
|
|
32288
|
-
children:
|
|
32289
|
-
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] =
|
|
32290
|
-
let
|
|
32291
|
-
if (r[108] !== u || r[109] !==
|
|
32292
|
-
|
|
32279
|
+
onDrop: VU,
|
|
32280
|
+
onDragStart: HU,
|
|
32281
|
+
onDrag: UU,
|
|
32282
|
+
onDragStop: WU,
|
|
32283
|
+
onResizeStop: GU,
|
|
32284
|
+
isDraggable: KU,
|
|
32285
|
+
isDroppable: qU,
|
|
32286
|
+
isResizable: JU,
|
|
32287
|
+
draggableHandle: YU,
|
|
32288
|
+
children: XU
|
|
32289
|
+
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = zU, r[91] = BU, r[92] = Z, r[93] = VU, r[94] = HU, r[95] = UU, r[96] = WU, r[97] = GU, r[98] = KU, r[99] = qU, r[100] = JU, r[101] = YU, r[102] = XU, r[103] = ZU, r[104] = QU, r[105] = $U, r[106] = eW, r[107] = tW) : tW = r[107];
|
|
32290
|
+
let nW = tW, rW, iW, aW, oW, sW, cW, lW;
|
|
32291
|
+
if (r[108] !== u || r[109] !== nW || r[110] !== h || r[111] !== v || r[112] !== f || r[113] !== c || r[114] !== d || r[115] !== l || r[116] !== L) {
|
|
32292
|
+
lW = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
32293
32293
|
bb0: {
|
|
32294
32294
|
let e2;
|
|
32295
32295
|
r[125] === h ? e2 = r[126] : (e2 = (e3) => !h.has(e3.id), r[125] = h, r[126] = e2);
|
|
@@ -32297,14 +32297,14 @@ ${c}
|
|
|
32297
32297
|
if (f) {
|
|
32298
32298
|
if (c.bordered) {
|
|
32299
32299
|
let e4;
|
|
32300
|
-
r[127] !==
|
|
32300
|
+
r[127] !== nW || r[128] !== L ? (e4 = (0, import_jsx_runtime.jsx)("div", {
|
|
32301
32301
|
className: "flex flex-1 flex-col items-center",
|
|
32302
32302
|
children: (0, import_jsx_runtime.jsx)("div", {
|
|
32303
32303
|
style: L,
|
|
32304
32304
|
className: "bg-background flex-1 border-t border-x rounded-t shadow-sm w-full overflow-hidden",
|
|
32305
|
-
children:
|
|
32305
|
+
children: nW
|
|
32306
32306
|
})
|
|
32307
|
-
}), r[127] =
|
|
32307
|
+
}), r[127] = nW, r[128] = L, r[129] = e4) : e4 = r[129], nW = e4;
|
|
32308
32308
|
}
|
|
32309
32309
|
let e3 = m2.filter(_temp4$2), l2;
|
|
32310
32310
|
r[130] === d ? l2 = r[131] : (l2 = (e4) => (0, import_jsx_runtime.jsx)(GridCell, {
|
|
@@ -32315,9 +32315,9 @@ ${c}
|
|
|
32315
32315
|
status: e4.status,
|
|
32316
32316
|
isScrollable: false,
|
|
32317
32317
|
hidden: false
|
|
32318
|
-
}, e4.id), r[130] = d, r[131] = l2),
|
|
32318
|
+
}, e4.id), r[130] = d, r[131] = l2), lW = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32319
32319
|
children: [
|
|
32320
|
-
|
|
32320
|
+
nW,
|
|
32321
32321
|
(0, import_jsx_runtime.jsx)("div", {
|
|
32322
32322
|
className: "hidden",
|
|
32323
32323
|
children: e3.map(l2)
|
|
@@ -32328,31 +32328,31 @@ ${c}
|
|
|
32328
32328
|
}
|
|
32329
32329
|
if (c.bordered) {
|
|
32330
32330
|
let e3;
|
|
32331
|
-
r[132] ===
|
|
32331
|
+
r[132] === nW ? e3 = r[133] : (e3 = (0, import_jsx_runtime.jsx)("div", {
|
|
32332
32332
|
className: "h-full overflow-auto",
|
|
32333
|
-
children:
|
|
32334
|
-
}), r[132] =
|
|
32333
|
+
children: nW
|
|
32334
|
+
}), r[132] = nW, r[133] = e3);
|
|
32335
32335
|
let c2;
|
|
32336
32336
|
r[134] !== L || r[135] !== e3 ? (c2 = (0, import_jsx_runtime.jsx)("div", {
|
|
32337
32337
|
style: L,
|
|
32338
32338
|
className: "bg-background border-t border-x rounded-t shadow-sm w-full mx-auto mt-4 h-[calc(100%-1rem)] overflow-hidden",
|
|
32339
32339
|
children: e3
|
|
32340
|
-
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136],
|
|
32340
|
+
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136], nW = c2;
|
|
32341
32341
|
}
|
|
32342
|
-
r[137] !== v || r[138] !== c || r[139] !== l ? (
|
|
32342
|
+
r[137] !== v || r[138] !== c || r[139] !== l ? (cW = (0, import_jsx_runtime.jsx)(GridControls, {
|
|
32343
32343
|
layout: c,
|
|
32344
32344
|
setLayout: l,
|
|
32345
32345
|
isLocked: v,
|
|
32346
32346
|
setIsLocked: y
|
|
32347
|
-
}), r[137] = v, r[138] = c, r[139] = l, r[140] =
|
|
32347
|
+
}), r[137] = v, r[138] = c, r[139] = l, r[140] = cW) : cW = r[140];
|
|
32348
32348
|
let g2;
|
|
32349
|
-
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32349
|
+
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oW = cn("relative flex z-10 flex-1 overflow-hidden"), g2 = cn("grow overflow-auto transparent-when-disconnected"), r[141] = oW, r[142] = g2) : (oW = r[141], g2 = r[142]), r[143] === nW ? sW = r[144] : (sW = (0, import_jsx_runtime.jsx)("div", {
|
|
32350
32350
|
className: g2,
|
|
32351
|
-
children:
|
|
32352
|
-
}), r[143] =
|
|
32351
|
+
children: nW
|
|
32352
|
+
}), r[143] = nW, r[144] = sW), rW = "flex-none flex flex-col w-[300px] p-2 pb-20 gap-2 overflow-auto bg-(--slate-2) border-t border-x rounded-t shadow-sm transparent-when-disconnected mx-2 mt-4", r[145] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (iW = (0, import_jsx_runtime.jsx)("div", {
|
|
32353
32353
|
className: "text font-bold text-(--slate-20) shrink-0",
|
|
32354
32354
|
children: "Outputs"
|
|
32355
|
-
}), r[145] =
|
|
32355
|
+
}), r[145] = iW) : iW = r[145];
|
|
32356
32356
|
let b2;
|
|
32357
32357
|
r[146] !== c.columns || r[147] !== c.rowHeight || r[148] !== d ? (b2 = (e3) => (0, import_jsx_runtime.jsx)("div", {
|
|
32358
32358
|
draggable: true,
|
|
@@ -32377,34 +32377,34 @@ ${c}
|
|
|
32377
32377
|
status: e3.status,
|
|
32378
32378
|
hidden: false
|
|
32379
32379
|
})
|
|
32380
|
-
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149],
|
|
32381
|
-
}
|
|
32382
|
-
r[108] = u, r[109] =
|
|
32383
|
-
} else
|
|
32384
|
-
if (
|
|
32385
|
-
let
|
|
32386
|
-
r[150] !==
|
|
32387
|
-
className: eW,
|
|
32388
|
-
children: [
|
|
32389
|
-
tW,
|
|
32390
|
-
nW
|
|
32391
|
-
]
|
|
32392
|
-
}), r[150] = eW, r[151] = tW, r[152] = nW, r[153] = sW) : sW = r[153];
|
|
32393
|
-
let cW;
|
|
32394
|
-
r[154] !== rW || r[155] !== iW || r[156] !== sW ? (cW = (0, import_jsx_runtime.jsxs)("div", {
|
|
32380
|
+
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149], aW = m2.map(b2);
|
|
32381
|
+
}
|
|
32382
|
+
r[108] = u, r[109] = nW, r[110] = h, r[111] = v, r[112] = f, r[113] = c, r[114] = d, r[115] = l, r[116] = L, r[117] = rW, r[118] = iW, r[119] = aW, r[120] = oW, r[121] = sW, r[122] = cW, r[123] = lW, r[124] = nW;
|
|
32383
|
+
} else rW = r[117], iW = r[118], aW = r[119], oW = r[120], sW = r[121], cW = r[122], lW = r[123], nW = r[124];
|
|
32384
|
+
if (lW !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return lW;
|
|
32385
|
+
let uW;
|
|
32386
|
+
r[150] !== rW || r[151] !== iW || r[152] !== aW ? (uW = (0, import_jsx_runtime.jsxs)("div", {
|
|
32395
32387
|
className: rW,
|
|
32396
32388
|
children: [
|
|
32397
32389
|
iW,
|
|
32398
|
-
|
|
32390
|
+
aW
|
|
32399
32391
|
]
|
|
32400
|
-
}), r[
|
|
32401
|
-
let
|
|
32402
|
-
|
|
32392
|
+
}), r[150] = rW, r[151] = iW, r[152] = aW, r[153] = uW) : uW = r[153];
|
|
32393
|
+
let dW;
|
|
32394
|
+
r[154] !== oW || r[155] !== sW || r[156] !== uW ? (dW = (0, import_jsx_runtime.jsxs)("div", {
|
|
32395
|
+
className: oW,
|
|
32403
32396
|
children: [
|
|
32404
|
-
|
|
32405
|
-
|
|
32397
|
+
sW,
|
|
32398
|
+
uW
|
|
32406
32399
|
]
|
|
32407
|
-
}), r[
|
|
32400
|
+
}), r[154] = oW, r[155] = sW, r[156] = uW, r[157] = dW) : dW = r[157];
|
|
32401
|
+
let fW;
|
|
32402
|
+
return r[158] !== cW || r[159] !== dW ? (fW = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32403
|
+
children: [
|
|
32404
|
+
cW,
|
|
32405
|
+
dW
|
|
32406
|
+
]
|
|
32407
|
+
}), r[158] = cW, r[159] = dW, r[160] = fW) : fW = r[160], fW;
|
|
32408
32408
|
};
|
|
32409
32409
|
var GridCell = (0, import_react.memo)((e) => {
|
|
32410
32410
|
let r = (0, import_compiler_runtime$11.c)(20), { output: c, cellId: l, status: u, mode: d, code: f, hidden: m, isScrollable: h, side: g, className: _ } = e, v;
|
|
@@ -32705,25 +32705,25 @@ ${c}
|
|
|
32705
32705
|
G
|
|
32706
32706
|
]
|
|
32707
32707
|
}), r[31] = L, r[32] = R, r[33] = G, r[34] = q) : q = r[34];
|
|
32708
|
-
let
|
|
32709
|
-
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32708
|
+
let zU;
|
|
32709
|
+
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (zU = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
32710
32710
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
32711
|
-
}), r[35] =
|
|
32712
|
-
let
|
|
32713
|
-
r[36] === l ?
|
|
32711
|
+
}), r[35] = zU) : zU = r[35];
|
|
32712
|
+
let BU;
|
|
32713
|
+
r[36] === l ? BU = r[37] : (BU = (0, import_jsx_runtime.jsx)(X, {
|
|
32714
32714
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
32715
32715
|
onClick: () => l()
|
|
32716
|
-
}), r[36] = l, r[37] =
|
|
32716
|
+
}), r[36] = l, r[37] = BU);
|
|
32717
32717
|
let Z;
|
|
32718
|
-
return r[38] !== I || r[39] !== q || r[40] !==
|
|
32718
|
+
return r[38] !== I || r[39] !== q || r[40] !== BU || r[41] !== w ? (Z = (0, import_jsx_runtime.jsxs)("div", {
|
|
32719
32719
|
className: w,
|
|
32720
32720
|
children: [
|
|
32721
32721
|
I,
|
|
32722
32722
|
q,
|
|
32723
|
-
|
|
32724
|
-
|
|
32723
|
+
zU,
|
|
32724
|
+
BU
|
|
32725
32725
|
]
|
|
32726
|
-
}), r[38] = I, r[39] = q, r[40] =
|
|
32726
|
+
}), r[38] = I, r[39] = q, r[40] = BU, r[41] = w, r[42] = Z) : Z = r[42], Z;
|
|
32727
32727
|
};
|
|
32728
32728
|
function isSidebarCell(e) {
|
|
32729
32729
|
var _a3;
|
|
@@ -34665,28 +34665,28 @@ ${c}
|
|
|
34665
34665
|
}, [
|
|
34666
34666
|
T,
|
|
34667
34667
|
M
|
|
34668
|
-
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r),
|
|
34668
|
+
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r), zU = (0, import_react.useMemo)(() => j.getEnabled(), [
|
|
34669
34669
|
j
|
|
34670
|
-
]),
|
|
34670
|
+
]), BU = useMeasuringConfiguration(p), { droppableRects: Z, measureDroppableContainers: VU, measuringScheduled: HU } = useDroppableMeasuring(zU, {
|
|
34671
34671
|
dragging: w,
|
|
34672
34672
|
dependencies: [
|
|
34673
34673
|
O.x,
|
|
34674
34674
|
O.y
|
|
34675
34675
|
],
|
|
34676
|
-
config:
|
|
34677
|
-
}),
|
|
34676
|
+
config: BU.droppable
|
|
34677
|
+
}), UU = useCachedNode(E, T), WU = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
34678
34678
|
H
|
|
34679
|
-
]),
|
|
34679
|
+
]), GU = SW(), KU = useInitialRect(UU, BU.draggable.measure);
|
|
34680
34680
|
useLayoutShiftScrollCompensation({
|
|
34681
34681
|
activeNode: T == null ? null : E.get(T),
|
|
34682
|
-
config:
|
|
34683
|
-
initialRect:
|
|
34684
|
-
measure:
|
|
34682
|
+
config: GU.layoutShiftCompensation,
|
|
34683
|
+
initialRect: KU,
|
|
34684
|
+
measure: BU.draggable.measure
|
|
34685
34685
|
});
|
|
34686
|
-
let
|
|
34686
|
+
let qU = useRect(UU, BU.draggable.measure, KU), JU = useRect(UU ? UU.parentElement : null), YU = (0, import_react.useRef)({
|
|
34687
34687
|
activatorEvent: null,
|
|
34688
34688
|
active: null,
|
|
34689
|
-
activeNode:
|
|
34689
|
+
activeNode: UU,
|
|
34690
34690
|
collisionRect: null,
|
|
34691
34691
|
collisions: null,
|
|
34692
34692
|
droppableRects: Z,
|
|
@@ -34697,45 +34697,45 @@ ${c}
|
|
|
34697
34697
|
over: null,
|
|
34698
34698
|
scrollableAncestors: [],
|
|
34699
34699
|
scrollAdjustedTranslate: null
|
|
34700
|
-
}),
|
|
34701
|
-
measure:
|
|
34702
|
-
}),
|
|
34700
|
+
}), XU = j.getNodeFor((_a3 = YU.current.over) == null ? void 0 : _a3.id), ZU = useDragOverlayMeasuring({
|
|
34701
|
+
measure: BU.dragOverlay.measure
|
|
34702
|
+
}), QU = ZU.nodeRef.current ?? UU, $U = w ? ZU.rect ?? qU : null, eW = !!(ZU.nodeRef.current && ZU.rect), tW = useRectDelta(eW ? null : qU), nW = useWindowRect(QU ? getWindow(QU) : null), rW = useScrollableAncestors(w ? XU ?? UU : null), iW = useRects(rW), aW = applyModifiers(m, {
|
|
34703
34703
|
transform: {
|
|
34704
|
-
x: O.x -
|
|
34705
|
-
y: O.y -
|
|
34704
|
+
x: O.x - tW.x,
|
|
34705
|
+
y: O.y - tW.y,
|
|
34706
34706
|
scaleX: 1,
|
|
34707
34707
|
scaleY: 1
|
|
34708
34708
|
},
|
|
34709
34709
|
activatorEvent: H,
|
|
34710
34710
|
active: L,
|
|
34711
|
-
activeNodeRect:
|
|
34712
|
-
containerNodeRect:
|
|
34713
|
-
draggingNodeRect:
|
|
34714
|
-
over:
|
|
34715
|
-
overlayNodeRect:
|
|
34716
|
-
scrollableAncestors:
|
|
34717
|
-
scrollableAncestorRects:
|
|
34718
|
-
windowRect:
|
|
34719
|
-
}),
|
|
34720
|
-
|
|
34721
|
-
]),
|
|
34711
|
+
activeNodeRect: qU,
|
|
34712
|
+
containerNodeRect: JU,
|
|
34713
|
+
draggingNodeRect: $U,
|
|
34714
|
+
over: YU.current.over,
|
|
34715
|
+
overlayNodeRect: ZU.rect,
|
|
34716
|
+
scrollableAncestors: rW,
|
|
34717
|
+
scrollableAncestorRects: iW,
|
|
34718
|
+
windowRect: nW
|
|
34719
|
+
}), oW = WU ? add(WU, O) : null, sW = useScrollOffsets(rW), cW = useScrollOffsetsDelta(sW), lW = useScrollOffsetsDelta(sW, [
|
|
34720
|
+
qU
|
|
34721
|
+
]), uW = add(aW, cW), dW = $U ? getAdjustedRect($U, aW) : null, fW = L && dW ? f({
|
|
34722
34722
|
active: L,
|
|
34723
|
-
collisionRect:
|
|
34723
|
+
collisionRect: dW,
|
|
34724
34724
|
droppableRects: Z,
|
|
34725
|
-
droppableContainers:
|
|
34726
|
-
pointerCoordinates:
|
|
34727
|
-
}) : null,
|
|
34725
|
+
droppableContainers: zU,
|
|
34726
|
+
pointerCoordinates: oW
|
|
34727
|
+
}) : null, pW = getFirstCollision(fW, "id"), [mW, hW] = (0, import_react.useState)(null), gW = adjustScale(eW ? aW : add(aW, lW), (mW == null ? void 0 : mW.rect) ?? null, qU), _W = (0, import_react.useRef)(null), vW = (0, import_react.useCallback)((e2, r2) => {
|
|
34728
34728
|
let { sensor: c2, options: l2 } = r2;
|
|
34729
34729
|
if (R.current == null) return;
|
|
34730
34730
|
let u2 = E.get(R.current);
|
|
34731
34731
|
if (!u2) return;
|
|
34732
34732
|
let d2 = e2.nativeEvent;
|
|
34733
|
-
|
|
34733
|
+
_W.current = new c2({
|
|
34734
34734
|
active: R.current,
|
|
34735
34735
|
activeNode: u2,
|
|
34736
34736
|
event: d2,
|
|
34737
34737
|
options: l2,
|
|
34738
|
-
context:
|
|
34738
|
+
context: YU,
|
|
34739
34739
|
onAbort(e3) {
|
|
34740
34740
|
if (!E.get(e3)) return;
|
|
34741
34741
|
let { onDragAbort: r3 } = G.current, c3 = {
|
|
@@ -34780,7 +34780,7 @@ ${c}
|
|
|
34780
34780
|
}), v({
|
|
34781
34781
|
type: "onDragStart",
|
|
34782
34782
|
event: u3
|
|
34783
|
-
}), B(
|
|
34783
|
+
}), B(_W.current), W(d2);
|
|
34784
34784
|
});
|
|
34785
34785
|
},
|
|
34786
34786
|
onMove(e3) {
|
|
@@ -34794,7 +34794,7 @@ ${c}
|
|
|
34794
34794
|
});
|
|
34795
34795
|
function f2(e3) {
|
|
34796
34796
|
return async function() {
|
|
34797
|
-
let { active: r3, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } =
|
|
34797
|
+
let { active: r3, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } = YU.current, f3 = null;
|
|
34798
34798
|
if (r3 && u3) {
|
|
34799
34799
|
let { cancelDrop: p2 } = G.current;
|
|
34800
34800
|
f3 = {
|
|
@@ -34808,7 +34808,7 @@ ${c}
|
|
|
34808
34808
|
R.current = null, (0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
34809
34809
|
_({
|
|
34810
34810
|
type: e3
|
|
34811
|
-
}), S(Status.Uninitialized),
|
|
34811
|
+
}), S(Status.Uninitialized), hW(null), B(null), W(null), _W.current = null;
|
|
34812
34812
|
let r4 = e3 === Action.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
34813
34813
|
if (f3) {
|
|
34814
34814
|
let e4 = G.current[r4];
|
|
@@ -34822,7 +34822,7 @@ ${c}
|
|
|
34822
34822
|
}
|
|
34823
34823
|
}, [
|
|
34824
34824
|
E
|
|
34825
|
-
]),
|
|
34825
|
+
]), yW = useCombineActivators(d, (0, import_react.useCallback)((e2, r2) => (c2, l2) => {
|
|
34826
34826
|
let u2 = c2.nativeEvent, d2 = E.get(l2);
|
|
34827
34827
|
if (R.current !== null || !d2 || u2.dndKit || u2.defaultPrevented) return;
|
|
34828
34828
|
let f2 = {
|
|
@@ -34830,26 +34830,26 @@ ${c}
|
|
|
34830
34830
|
};
|
|
34831
34831
|
e2(c2, r2.options, f2) === true && (u2.dndKit = {
|
|
34832
34832
|
capturedBy: r2.sensor
|
|
34833
|
-
}, R.current = l2,
|
|
34833
|
+
}, R.current = l2, vW(c2, r2));
|
|
34834
34834
|
}, [
|
|
34835
34835
|
E,
|
|
34836
|
-
|
|
34836
|
+
vW
|
|
34837
34837
|
]));
|
|
34838
34838
|
useSensorSetup(d), useIsomorphicLayoutEffect(() => {
|
|
34839
|
-
|
|
34839
|
+
qU && b === Status.Initializing && S(Status.Initialized);
|
|
34840
34840
|
}, [
|
|
34841
|
-
|
|
34841
|
+
qU,
|
|
34842
34842
|
b
|
|
34843
34843
|
]), (0, import_react.useEffect)(() => {
|
|
34844
|
-
let { onDragMove: e2 } = G.current, { active: r2, activatorEvent: c2, collisions: l2, over: u2 } =
|
|
34844
|
+
let { onDragMove: e2 } = G.current, { active: r2, activatorEvent: c2, collisions: l2, over: u2 } = YU.current;
|
|
34845
34845
|
if (!r2 || !c2) return;
|
|
34846
34846
|
let d2 = {
|
|
34847
34847
|
active: r2,
|
|
34848
34848
|
activatorEvent: c2,
|
|
34849
34849
|
collisions: l2,
|
|
34850
34850
|
delta: {
|
|
34851
|
-
x:
|
|
34852
|
-
y:
|
|
34851
|
+
x: uW.x,
|
|
34852
|
+
y: uW.y
|
|
34853
34853
|
},
|
|
34854
34854
|
over: u2
|
|
34855
34855
|
};
|
|
@@ -34860,12 +34860,12 @@ ${c}
|
|
|
34860
34860
|
});
|
|
34861
34861
|
});
|
|
34862
34862
|
}, [
|
|
34863
|
-
|
|
34864
|
-
|
|
34863
|
+
uW.x,
|
|
34864
|
+
uW.y
|
|
34865
34865
|
]), (0, import_react.useEffect)(() => {
|
|
34866
|
-
let { active: e2, activatorEvent: r2, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } =
|
|
34866
|
+
let { active: e2, activatorEvent: r2, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } = YU.current;
|
|
34867
34867
|
if (!e2 || R.current == null || !r2 || !u2) return;
|
|
34868
|
-
let { onDragOver: d2 } = G.current, f2 = l2.get(
|
|
34868
|
+
let { onDragOver: d2 } = G.current, f2 = l2.get(pW), p2 = f2 && f2.rect.current ? {
|
|
34869
34869
|
id: f2.id,
|
|
34870
34870
|
rect: f2.rect.current,
|
|
34871
34871
|
data: f2.data,
|
|
@@ -34881,127 +34881,127 @@ ${c}
|
|
|
34881
34881
|
over: p2
|
|
34882
34882
|
};
|
|
34883
34883
|
(0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
34884
|
-
|
|
34884
|
+
hW(p2), d2 == null ? void 0 : d2(m2), v({
|
|
34885
34885
|
type: "onDragOver",
|
|
34886
34886
|
event: m2
|
|
34887
34887
|
});
|
|
34888
34888
|
});
|
|
34889
34889
|
}, [
|
|
34890
|
-
|
|
34890
|
+
pW
|
|
34891
34891
|
]), useIsomorphicLayoutEffect(() => {
|
|
34892
|
-
|
|
34892
|
+
YU.current = {
|
|
34893
34893
|
activatorEvent: H,
|
|
34894
34894
|
active: L,
|
|
34895
|
-
activeNode:
|
|
34896
|
-
collisionRect:
|
|
34897
|
-
collisions:
|
|
34895
|
+
activeNode: UU,
|
|
34896
|
+
collisionRect: dW,
|
|
34897
|
+
collisions: fW,
|
|
34898
34898
|
droppableRects: Z,
|
|
34899
34899
|
draggableNodes: E,
|
|
34900
|
-
draggingNode:
|
|
34901
|
-
draggingNodeRect:
|
|
34900
|
+
draggingNode: QU,
|
|
34901
|
+
draggingNodeRect: $U,
|
|
34902
34902
|
droppableContainers: j,
|
|
34903
|
-
over:
|
|
34904
|
-
scrollableAncestors:
|
|
34905
|
-
scrollAdjustedTranslate:
|
|
34903
|
+
over: mW,
|
|
34904
|
+
scrollableAncestors: rW,
|
|
34905
|
+
scrollAdjustedTranslate: uW
|
|
34906
34906
|
}, I.current = {
|
|
34907
|
-
initial:
|
|
34908
|
-
translated:
|
|
34907
|
+
initial: $U,
|
|
34908
|
+
translated: dW
|
|
34909
34909
|
};
|
|
34910
34910
|
}, [
|
|
34911
34911
|
L,
|
|
34912
|
-
|
|
34913
|
-
|
|
34914
|
-
|
|
34912
|
+
UU,
|
|
34913
|
+
fW,
|
|
34914
|
+
dW,
|
|
34915
34915
|
E,
|
|
34916
|
-
|
|
34917
|
-
|
|
34916
|
+
QU,
|
|
34917
|
+
$U,
|
|
34918
34918
|
Z,
|
|
34919
34919
|
j,
|
|
34920
|
-
|
|
34921
|
-
|
|
34922
|
-
|
|
34920
|
+
mW,
|
|
34921
|
+
rW,
|
|
34922
|
+
uW
|
|
34923
34923
|
]), useAutoScroller({
|
|
34924
|
-
...
|
|
34924
|
+
...GU,
|
|
34925
34925
|
delta: O,
|
|
34926
|
-
draggingRect:
|
|
34927
|
-
pointerCoordinates:
|
|
34928
|
-
scrollableAncestors:
|
|
34929
|
-
scrollableAncestorRects:
|
|
34926
|
+
draggingRect: dW,
|
|
34927
|
+
pointerCoordinates: oW,
|
|
34928
|
+
scrollableAncestors: rW,
|
|
34929
|
+
scrollableAncestorRects: iW
|
|
34930
34930
|
});
|
|
34931
|
-
let
|
|
34931
|
+
let bW = (0, import_react.useMemo)(() => ({
|
|
34932
34932
|
active: L,
|
|
34933
|
-
activeNode:
|
|
34934
|
-
activeNodeRect:
|
|
34933
|
+
activeNode: UU,
|
|
34934
|
+
activeNodeRect: qU,
|
|
34935
34935
|
activatorEvent: H,
|
|
34936
|
-
collisions:
|
|
34937
|
-
containerNodeRect:
|
|
34938
|
-
dragOverlay:
|
|
34936
|
+
collisions: fW,
|
|
34937
|
+
containerNodeRect: JU,
|
|
34938
|
+
dragOverlay: ZU,
|
|
34939
34939
|
draggableNodes: E,
|
|
34940
34940
|
droppableContainers: j,
|
|
34941
34941
|
droppableRects: Z,
|
|
34942
|
-
over:
|
|
34943
|
-
measureDroppableContainers:
|
|
34944
|
-
scrollableAncestors:
|
|
34945
|
-
scrollableAncestorRects:
|
|
34946
|
-
measuringConfiguration:
|
|
34947
|
-
measuringScheduled:
|
|
34948
|
-
windowRect:
|
|
34942
|
+
over: mW,
|
|
34943
|
+
measureDroppableContainers: VU,
|
|
34944
|
+
scrollableAncestors: rW,
|
|
34945
|
+
scrollableAncestorRects: iW,
|
|
34946
|
+
measuringConfiguration: BU,
|
|
34947
|
+
measuringScheduled: HU,
|
|
34948
|
+
windowRect: nW
|
|
34949
34949
|
}), [
|
|
34950
34950
|
L,
|
|
34951
|
-
|
|
34952
|
-
|
|
34951
|
+
UU,
|
|
34952
|
+
qU,
|
|
34953
34953
|
H,
|
|
34954
|
-
|
|
34955
|
-
GU,
|
|
34954
|
+
fW,
|
|
34956
34955
|
JU,
|
|
34956
|
+
ZU,
|
|
34957
34957
|
E,
|
|
34958
34958
|
j,
|
|
34959
34959
|
Z,
|
|
34960
|
-
|
|
34961
|
-
|
|
34962
|
-
|
|
34963
|
-
|
|
34964
|
-
|
|
34965
|
-
|
|
34966
|
-
|
|
34967
|
-
]),
|
|
34960
|
+
mW,
|
|
34961
|
+
VU,
|
|
34962
|
+
rW,
|
|
34963
|
+
iW,
|
|
34964
|
+
BU,
|
|
34965
|
+
HU,
|
|
34966
|
+
nW
|
|
34967
|
+
]), xW = (0, import_react.useMemo)(() => ({
|
|
34968
34968
|
activatorEvent: H,
|
|
34969
|
-
activators:
|
|
34969
|
+
activators: yW,
|
|
34970
34970
|
active: L,
|
|
34971
|
-
activeNodeRect:
|
|
34971
|
+
activeNodeRect: qU,
|
|
34972
34972
|
ariaDescribedById: {
|
|
34973
34973
|
draggable: q
|
|
34974
34974
|
},
|
|
34975
34975
|
dispatch: _,
|
|
34976
34976
|
draggableNodes: E,
|
|
34977
|
-
over:
|
|
34978
|
-
measureDroppableContainers:
|
|
34977
|
+
over: mW,
|
|
34978
|
+
measureDroppableContainers: VU
|
|
34979
34979
|
}), [
|
|
34980
34980
|
H,
|
|
34981
|
-
|
|
34981
|
+
yW,
|
|
34982
34982
|
L,
|
|
34983
|
-
|
|
34983
|
+
qU,
|
|
34984
34984
|
_,
|
|
34985
34985
|
q,
|
|
34986
34986
|
E,
|
|
34987
|
-
|
|
34988
|
-
|
|
34987
|
+
mW,
|
|
34988
|
+
VU
|
|
34989
34989
|
]);
|
|
34990
34990
|
return import_react.createElement(DndMonitorContext.Provider, {
|
|
34991
34991
|
value: y
|
|
34992
34992
|
}, import_react.createElement(InternalContext.Provider, {
|
|
34993
|
-
value:
|
|
34993
|
+
value: xW
|
|
34994
34994
|
}, import_react.createElement(PublicContext.Provider, {
|
|
34995
|
-
value:
|
|
34995
|
+
value: bW
|
|
34996
34996
|
}, import_react.createElement(ActiveDraggableContext.Provider, {
|
|
34997
|
-
value:
|
|
34997
|
+
value: gW
|
|
34998
34998
|
}, u)), import_react.createElement(RestoreFocus, {
|
|
34999
34999
|
disabled: (c == null ? void 0 : c.restoreFocus) === false
|
|
35000
35000
|
})), import_react.createElement(Accessibility, {
|
|
35001
35001
|
...c,
|
|
35002
35002
|
hiddenTextDescribedById: q
|
|
35003
35003
|
}));
|
|
35004
|
-
function
|
|
35004
|
+
function SW() {
|
|
35005
35005
|
let e2 = (z == null ? void 0 : z.autoScrollEnabled) === false, r2 = typeof l == "object" ? l.enabled === false : l === false, c2 = w && !e2 && !r2;
|
|
35006
35006
|
return typeof l == "object" ? {
|
|
35007
35007
|
...l,
|
|
@@ -35529,7 +35529,7 @@ ${c}
|
|
|
35529
35529
|
updateMeasurementsFor: I,
|
|
35530
35530
|
...m
|
|
35531
35531
|
}
|
|
35532
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef:
|
|
35532
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: zU, listeners: BU, isDragging: Z, over: VU, setActivatorNodeRef: HU, transform: UU } = useDraggable({
|
|
35533
35533
|
id: f,
|
|
35534
35534
|
data: M,
|
|
35535
35535
|
attributes: {
|
|
@@ -35537,60 +35537,60 @@ ${c}
|
|
|
35537
35537
|
...c
|
|
35538
35538
|
},
|
|
35539
35539
|
disabled: O.draggable
|
|
35540
|
-
}),
|
|
35540
|
+
}), WU = useCombinedRefs(B, zU), GU = !!H, KU = GU && !b && isValidIndex(v) && isValidIndex(w), qU = !T && Z, JU = KU ? (qU && KU ? UU : null) ?? (p ?? E)({
|
|
35541
35541
|
rects: S,
|
|
35542
35542
|
activeNodeRect: G,
|
|
35543
35543
|
activeIndex: v,
|
|
35544
35544
|
overIndex: w,
|
|
35545
35545
|
index: j
|
|
35546
|
-
}) : null,
|
|
35546
|
+
}) : null, YU = isValidIndex(v) && isValidIndex(w) ? d({
|
|
35547
35547
|
id: f,
|
|
35548
35548
|
items: g,
|
|
35549
35549
|
activeIndex: v,
|
|
35550
35550
|
overIndex: w
|
|
35551
|
-
}) : j,
|
|
35552
|
-
activeId:
|
|
35551
|
+
}) : j, XU = H == null ? void 0 : H.id, ZU = (0, import_react.useRef)({
|
|
35552
|
+
activeId: XU,
|
|
35553
35553
|
items: g,
|
|
35554
|
-
newIndex:
|
|
35554
|
+
newIndex: YU,
|
|
35555
35555
|
containerId: _
|
|
35556
|
-
}),
|
|
35556
|
+
}), QU = g !== ZU.current.items, $U = r({
|
|
35557
35557
|
active: H,
|
|
35558
35558
|
containerId: _,
|
|
35559
35559
|
isDragging: Z,
|
|
35560
|
-
isSorting:
|
|
35560
|
+
isSorting: GU,
|
|
35561
35561
|
id: f,
|
|
35562
35562
|
index: j,
|
|
35563
35563
|
items: g,
|
|
35564
|
-
newIndex:
|
|
35565
|
-
previousItems:
|
|
35566
|
-
previousContainerId:
|
|
35564
|
+
newIndex: ZU.current.newIndex,
|
|
35565
|
+
previousItems: ZU.current.items,
|
|
35566
|
+
previousContainerId: ZU.current.containerId,
|
|
35567
35567
|
transition: h,
|
|
35568
|
-
wasDragging:
|
|
35569
|
-
}),
|
|
35570
|
-
disabled:
|
|
35568
|
+
wasDragging: ZU.current.activeId != null
|
|
35569
|
+
}), eW = useDerivedTransform({
|
|
35570
|
+
disabled: !$U,
|
|
35571
35571
|
index: j,
|
|
35572
35572
|
node: R,
|
|
35573
35573
|
rect: L
|
|
35574
35574
|
});
|
|
35575
35575
|
return (0, import_react.useEffect)(() => {
|
|
35576
|
-
|
|
35576
|
+
GU && ZU.current.newIndex !== YU && (ZU.current.newIndex = YU), _ !== ZU.current.containerId && (ZU.current.containerId = _), g !== ZU.current.items && (ZU.current.items = g);
|
|
35577
35577
|
}, [
|
|
35578
|
-
|
|
35579
|
-
|
|
35578
|
+
GU,
|
|
35579
|
+
YU,
|
|
35580
35580
|
_,
|
|
35581
35581
|
g
|
|
35582
35582
|
]), (0, import_react.useEffect)(() => {
|
|
35583
|
-
if (
|
|
35584
|
-
if (
|
|
35585
|
-
|
|
35583
|
+
if (XU === ZU.current.activeId) return;
|
|
35584
|
+
if (XU != null && ZU.current.activeId == null) {
|
|
35585
|
+
ZU.current.activeId = XU;
|
|
35586
35586
|
return;
|
|
35587
35587
|
}
|
|
35588
35588
|
let e2 = setTimeout(() => {
|
|
35589
|
-
|
|
35589
|
+
ZU.current.activeId = XU;
|
|
35590
35590
|
}, 50);
|
|
35591
35591
|
return () => clearTimeout(e2);
|
|
35592
35592
|
}, [
|
|
35593
|
-
|
|
35593
|
+
XU
|
|
35594
35594
|
]), {
|
|
35595
35595
|
active: H,
|
|
35596
35596
|
activeIndex: v,
|
|
@@ -35598,25 +35598,25 @@ ${c}
|
|
|
35598
35598
|
data: M,
|
|
35599
35599
|
rect: L,
|
|
35600
35600
|
index: j,
|
|
35601
|
-
newIndex:
|
|
35601
|
+
newIndex: YU,
|
|
35602
35602
|
items: g,
|
|
35603
35603
|
isOver: z,
|
|
35604
|
-
isSorting:
|
|
35604
|
+
isSorting: GU,
|
|
35605
35605
|
isDragging: Z,
|
|
35606
|
-
listeners:
|
|
35606
|
+
listeners: BU,
|
|
35607
35607
|
node: R,
|
|
35608
35608
|
overIndex: w,
|
|
35609
|
-
over:
|
|
35610
|
-
setNodeRef:
|
|
35611
|
-
setActivatorNodeRef:
|
|
35609
|
+
over: VU,
|
|
35610
|
+
setNodeRef: WU,
|
|
35611
|
+
setActivatorNodeRef: HU,
|
|
35612
35612
|
setDroppableNodeRef: B,
|
|
35613
|
-
setDraggableNodeRef:
|
|
35614
|
-
transform:
|
|
35615
|
-
transition:
|
|
35613
|
+
setDraggableNodeRef: zU,
|
|
35614
|
+
transform: eW ?? JU,
|
|
35615
|
+
transition: tW()
|
|
35616
35616
|
};
|
|
35617
|
-
function
|
|
35618
|
-
if (
|
|
35619
|
-
if (!(
|
|
35617
|
+
function tW() {
|
|
35618
|
+
if (eW || QU && ZU.current.newIndex === j) return disabledTransition;
|
|
35619
|
+
if (!(qU && !isKeyboardEvent(W) || !h) && (GU || $U)) return CSS$1.Transition.toString({
|
|
35620
35620
|
...h,
|
|
35621
35621
|
property: transitionProperty
|
|
35622
35622
|
});
|
|
@@ -35892,10 +35892,10 @@ ${c}
|
|
|
35892
35892
|
...R,
|
|
35893
35893
|
...h
|
|
35894
35894
|
}, r[18] = O, r[19] = h, r[20] = R, r[21] = E, r[22] = z) : z = r[22];
|
|
35895
|
-
let B = z, H = T || w, W = b || S || w ? "border-blue-500" : "border-border", G = S && !w && "opacity-35", q = w && "opacity-95 shadow-lg",
|
|
35896
|
-
r[23] !== l || r[24] !== q || r[25] !== W || r[26] !== G ? (
|
|
35897
|
-
let
|
|
35898
|
-
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (
|
|
35895
|
+
let B = z, H = T || w, W = b || S || w ? "border-blue-500" : "border-border", G = S && !w && "opacity-35", q = w && "opacity-95 shadow-lg", zU;
|
|
35896
|
+
r[23] !== l || r[24] !== q || r[25] !== W || r[26] !== G ? (zU = cn("border-2 shrink-0 rounded-md relative select-none bg-background cursor-pointer active:cursor-grabbing overflow-hidden", W, G, q, l), r[23] = l, r[24] = q, r[25] = W, r[26] = G, r[27] = zU) : zU = r[27];
|
|
35897
|
+
let BU;
|
|
35898
|
+
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (BU = H && (0, import_jsx_runtime.jsx)("div", {
|
|
35899
35899
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
35900
35900
|
style: {
|
|
35901
35901
|
transform: `scale(${j})`,
|
|
@@ -35908,14 +35908,14 @@ ${c}
|
|
|
35908
35908
|
status: c.status,
|
|
35909
35909
|
output: c.output
|
|
35910
35910
|
})
|
|
35911
|
-
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] =
|
|
35911
|
+
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] = BU) : BU = r[33];
|
|
35912
35912
|
let Z;
|
|
35913
35913
|
r[34] === L ? Z = r[35] : (Z = L && (0, import_jsx_runtime.jsx)("div", {
|
|
35914
35914
|
className: "absolute inset-0 bg-muted/60 pointer-events-none",
|
|
35915
35915
|
"aria-hidden": true
|
|
35916
35916
|
}), r[34] = L, r[35] = Z);
|
|
35917
|
-
let
|
|
35918
|
-
r[36] !== L || r[37] !== I ? (
|
|
35917
|
+
let VU;
|
|
35918
|
+
r[36] !== L || r[37] !== I ? (VU = I && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
35919
35919
|
content: (0, import_jsx_runtime.jsx)("span", {
|
|
35920
35920
|
className: "text-xs opacity-80",
|
|
35921
35921
|
children: I.description
|
|
@@ -35927,19 +35927,19 @@ ${c}
|
|
|
35927
35927
|
className: "h-3.5 w-3.5"
|
|
35928
35928
|
})
|
|
35929
35929
|
})
|
|
35930
|
-
}), r[36] = L, r[37] = I, r[38] =
|
|
35931
|
-
let
|
|
35932
|
-
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !==
|
|
35930
|
+
}), r[36] = L, r[37] = I, r[38] = VU) : VU = r[38];
|
|
35931
|
+
let HU;
|
|
35932
|
+
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== zU || r[43] !== BU || r[44] !== Z || r[45] !== VU ? (HU = (0, import_jsx_runtime.jsxs)("div", {
|
|
35933
35933
|
ref: f,
|
|
35934
|
-
className:
|
|
35934
|
+
className: zU,
|
|
35935
35935
|
style: B,
|
|
35936
35936
|
...d,
|
|
35937
35937
|
children: [
|
|
35938
|
-
|
|
35938
|
+
BU,
|
|
35939
35939
|
Z,
|
|
35940
|
-
|
|
35940
|
+
VU
|
|
35941
35941
|
]
|
|
35942
|
-
}), r[39] = B, r[40] = d, r[41] = f, r[42] =
|
|
35942
|
+
}), r[39] = B, r[40] = d, r[41] = f, r[42] = zU, r[43] = BU, r[44] = Z, r[45] = VU, r[46] = HU) : HU = r[46], HU;
|
|
35943
35943
|
};
|
|
35944
35944
|
function projectDropTarget(e) {
|
|
35945
35945
|
let { active: r, over: c } = e;
|
|
@@ -35970,29 +35970,74 @@ ${c}
|
|
|
35970
35970
|
if (l && l !== "slide") return l;
|
|
35971
35971
|
if (c == null ? void 0 : c.has(e)) return "skip";
|
|
35972
35972
|
}
|
|
35973
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
35973
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-b_lmX_5i.js"));
|
|
35974
|
+
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
35975
|
+
var _a3;
|
|
35976
|
+
let u = useAtomValue(kioskModeAtom), d = l === "read" || u, f = useAtomValue(numColumnsAtom) > 1, [p, m] = (0, import_react.useState)(null), { cellsWithOutput: h, skippedIds: g, slideTypes: _, startCellIndex: v } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
35977
|
+
c,
|
|
35978
|
+
e
|
|
35979
|
+
]), y = p ? h.findIndex((e2) => e2.id === p) : v, b = y === -1 ? v : y, S = useEvent_default((e2) => {
|
|
35980
|
+
let r2 = h[e2];
|
|
35981
|
+
r2 && m(r2.id);
|
|
35982
|
+
}), w = (0, import_jsx_runtime.jsx)(LazySlidesComponent, {
|
|
35983
|
+
cellsWithOutput: h,
|
|
35984
|
+
layout: e,
|
|
35985
|
+
setLayout: r,
|
|
35986
|
+
activeIndex: b,
|
|
35987
|
+
onSlideChange: S,
|
|
35988
|
+
configWidth: 300,
|
|
35989
|
+
mode: d ? "read" : l,
|
|
35990
|
+
isEditable: !d
|
|
35991
|
+
});
|
|
35992
|
+
return d ? u ? (0, import_jsx_runtime.jsx)("div", {
|
|
35993
|
+
className: "flex h-dvh w-dvw overflow-hidden bg-background",
|
|
35994
|
+
children: w
|
|
35995
|
+
}) : (0, import_jsx_runtime.jsx)("div", {
|
|
35996
|
+
className: "p-4 flex flex-1 items-center justify-center min-h-0",
|
|
35997
|
+
children: (0, import_jsx_runtime.jsx)("div", {
|
|
35998
|
+
className: "h-full max-h-[95vh] aspect-video max-w-full flex",
|
|
35999
|
+
children: w
|
|
36000
|
+
})
|
|
36001
|
+
}) : (0, import_jsx_runtime.jsxs)("div", {
|
|
36002
|
+
className: "pr-18 pb-2 flex flex-row gap-2 min-h-0",
|
|
36003
|
+
children: [
|
|
36004
|
+
(0, import_jsx_runtime.jsx)(SlidesMinimap, {
|
|
36005
|
+
cells: h,
|
|
36006
|
+
thumbnailWidth: 220,
|
|
36007
|
+
canReorder: !f,
|
|
36008
|
+
activeCellId: p ?? ((_a3 = h[v]) == null ? void 0 : _a3.id) ?? null,
|
|
36009
|
+
skippedIds: g,
|
|
36010
|
+
slideTypes: _,
|
|
36011
|
+
onSlideClick: S
|
|
36012
|
+
}),
|
|
36013
|
+
w
|
|
36014
|
+
]
|
|
36015
|
+
});
|
|
36016
|
+
};
|
|
36017
|
+
var SlideConfigSchema = looseObject({
|
|
36018
|
+
type: _enum([
|
|
36019
|
+
"slide",
|
|
36020
|
+
"sub-slide",
|
|
36021
|
+
"fragment",
|
|
36022
|
+
"skip"
|
|
36023
|
+
]).optional(),
|
|
36024
|
+
speakerNotes: string().optional()
|
|
36025
|
+
}), DeckConfigSchema = looseObject({
|
|
36026
|
+
transition: _enum([
|
|
36027
|
+
"none",
|
|
36028
|
+
"fade",
|
|
36029
|
+
"slide",
|
|
36030
|
+
"convex",
|
|
36031
|
+
"concave",
|
|
36032
|
+
"zoom"
|
|
36033
|
+
]).optional()
|
|
36034
|
+
});
|
|
35974
36035
|
const SlidesLayoutPlugin = {
|
|
35975
36036
|
type: "slides",
|
|
35976
36037
|
name: "Slides",
|
|
35977
|
-
validator:
|
|
35978
|
-
cells: array(
|
|
35979
|
-
|
|
35980
|
-
"slide",
|
|
35981
|
-
"sub-slide",
|
|
35982
|
-
"fragment",
|
|
35983
|
-
"skip"
|
|
35984
|
-
]).optional()
|
|
35985
|
-
})).optional(),
|
|
35986
|
-
deck: object({
|
|
35987
|
-
transition: _enum([
|
|
35988
|
-
"none",
|
|
35989
|
-
"fade",
|
|
35990
|
-
"slide",
|
|
35991
|
-
"convex",
|
|
35992
|
-
"concave",
|
|
35993
|
-
"zoom"
|
|
35994
|
-
]).optional()
|
|
35995
|
-
}).optional()
|
|
36038
|
+
validator: looseObject({
|
|
36039
|
+
cells: array(SlideConfigSchema).optional(),
|
|
36040
|
+
deck: DeckConfigSchema.optional()
|
|
35996
36041
|
}),
|
|
35997
36042
|
deserializeLayout: (e, r) => {
|
|
35998
36043
|
let c = e.cells ?? [], l = e.deck ?? {};
|
|
@@ -36013,46 +36058,7 @@ ${c}
|
|
|
36013
36058
|
})),
|
|
36014
36059
|
deck: e.deck
|
|
36015
36060
|
}),
|
|
36016
|
-
Component:
|
|
36017
|
-
var _a3;
|
|
36018
|
-
let u = l === "read", d = useAtomValue(numColumnsAtom) > 1, [f, p] = (0, import_react.useState)(null), { cellsWithOutput: m, skippedIds: h, slideTypes: g, startCellIndex: _ } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
36019
|
-
c,
|
|
36020
|
-
e
|
|
36021
|
-
]), v = f ? m.findIndex((e2) => e2.id === f) : _, y = v === -1 ? _ : v, b = useEvent_default((e2) => {
|
|
36022
|
-
let r2 = m[e2];
|
|
36023
|
-
r2 && p(r2.id);
|
|
36024
|
-
}), S = (0, import_jsx_runtime.jsx)(LazySlidesComponent, {
|
|
36025
|
-
cellsWithOutput: m,
|
|
36026
|
-
layout: e,
|
|
36027
|
-
setLayout: r,
|
|
36028
|
-
activeIndex: y,
|
|
36029
|
-
onSlideChange: b,
|
|
36030
|
-
configWidth: 300,
|
|
36031
|
-
mode: l,
|
|
36032
|
-
isEditable: l !== "read"
|
|
36033
|
-
});
|
|
36034
|
-
return u ? (0, import_jsx_runtime.jsx)("div", {
|
|
36035
|
-
className: "p-4 flex flex-1 items-center justify-center min-h-0",
|
|
36036
|
-
children: (0, import_jsx_runtime.jsx)("div", {
|
|
36037
|
-
className: "h-full max-h-[95vh] aspect-video max-w-full flex",
|
|
36038
|
-
children: S
|
|
36039
|
-
})
|
|
36040
|
-
}) : (0, import_jsx_runtime.jsxs)("div", {
|
|
36041
|
-
className: "pr-18 pb-2 flex flex-row gap-2 min-h-0",
|
|
36042
|
-
children: [
|
|
36043
|
-
(0, import_jsx_runtime.jsx)(SlidesMinimap, {
|
|
36044
|
-
cells: m,
|
|
36045
|
-
thumbnailWidth: 220,
|
|
36046
|
-
canReorder: !d,
|
|
36047
|
-
activeCellId: f ?? ((_a3 = m[_]) == null ? void 0 : _a3.id) ?? null,
|
|
36048
|
-
skippedIds: h,
|
|
36049
|
-
slideTypes: g,
|
|
36050
|
-
onSlideClick: b
|
|
36051
|
-
}),
|
|
36052
|
-
S
|
|
36053
|
-
]
|
|
36054
|
-
});
|
|
36055
|
-
},
|
|
36061
|
+
Component: SlidesLayoutRenderer,
|
|
36056
36062
|
getInitialLayout: () => ({
|
|
36057
36063
|
cells: /* @__PURE__ */ new Map(),
|
|
36058
36064
|
deck: {}
|
|
@@ -36339,7 +36345,7 @@ ${c}
|
|
|
36339
36345
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
36340
36346
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
36341
36347
|
}, r[2] = z) : z = r[2], (0, import_react.useLayoutEffect)(z), !I && isInternalCellName(b)) return null;
|
|
36342
|
-
let B, H, W, G, q,
|
|
36348
|
+
let B, H, W, G, q, zU, BU, Z, VU, HU;
|
|
36343
36349
|
if (r[3] !== S || r[4] !== j || r[5] !== M || r[6] !== I || r[7] !== _ || r[8] !== d || r[9] !== R || r[10] !== E || r[11] !== O || r[12] !== T || r[13] !== L || r[14] !== f || r[15] !== u || r[16] !== y || r[17] !== m || r[18] !== l) {
|
|
36344
36350
|
let e2 = M.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), b2;
|
|
36345
36351
|
r[29] === M ? b2 = r[30] : (b2 = () => M.filter(_temp3$1).map(_temp4$1).join("\n"), r[29] = M, r[30] = b2);
|
|
@@ -36385,11 +36391,11 @@ ${c}
|
|
|
36385
36391
|
})
|
|
36386
36392
|
})
|
|
36387
36393
|
]
|
|
36388
|
-
}), r[31] = z2, r[32] = I, r[33] = d, r[34] = R, r[35] = f, r[36] = u, r[37] = l, r[38] = H) : H = r[38], W = y ? "This console output is stale" : void 0, G = "console-output-area", q = c,
|
|
36389
|
-
let
|
|
36390
|
-
r[39] !== j || r[40] !==
|
|
36394
|
+
}), r[31] = z2, r[32] = I, r[33] = d, r[34] = R, r[35] = f, r[36] = u, r[37] = l, r[38] = H) : H = r[38], W = y ? "This console output is stale" : void 0, G = "console-output-area", q = c, zU = L, BU = 0;
|
|
36395
|
+
let UU2 = y && "marimo-output-stale", WU2 = I ? "p-5" : "p-3";
|
|
36396
|
+
r[39] !== j || r[40] !== UU2 || r[41] !== WU2 ? (Z = cn("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden", UU2, WU2, j), r[39] = j, r[40] = UU2, r[41] = WU2, r[42] = Z) : Z = r[42], r[43] === d ? VU = r[44] : (VU = d ? {
|
|
36391
36397
|
maxHeight: "none"
|
|
36392
|
-
} : void 0, r[43] = d, r[44] =
|
|
36398
|
+
} : void 0, r[43] = d, r[44] = VU), HU = e2.map((e3, r2) => {
|
|
36393
36399
|
if (e3.channel === "pdb") return null;
|
|
36394
36400
|
if (e3.channel === "stdin") {
|
|
36395
36401
|
invariant(typeof e3.data == "string", "Expected data to be a string");
|
|
@@ -36417,36 +36423,36 @@ ${c}
|
|
|
36417
36423
|
wrapText: l
|
|
36418
36424
|
})
|
|
36419
36425
|
}, r2);
|
|
36420
|
-
}), r[3] = S, r[4] = j, r[5] = M, r[6] = I, r[7] = _, r[8] = d, r[9] = R, r[10] = E, r[11] = O, r[12] = T, r[13] = L, r[14] = f, r[15] = u, r[16] = y, r[17] = m, r[18] = l, r[19] = B, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] =
|
|
36421
|
-
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23],
|
|
36422
|
-
let
|
|
36423
|
-
r[45] !== S || r[46] !== b ? (
|
|
36426
|
+
}), r[3] = S, r[4] = j, r[5] = M, r[6] = I, r[7] = _, r[8] = d, r[9] = R, r[10] = E, r[11] = O, r[12] = T, r[13] = L, r[14] = f, r[15] = u, r[16] = y, r[17] = m, r[18] = l, r[19] = B, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = zU, r[25] = BU, r[26] = Z, r[27] = VU, r[28] = HU;
|
|
36427
|
+
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23], zU = r[24], BU = r[25], Z = r[26], VU = r[27], HU = r[28];
|
|
36428
|
+
let UU;
|
|
36429
|
+
r[45] !== S || r[46] !== b ? (UU = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
36424
36430
|
value: b,
|
|
36425
36431
|
cellId: S,
|
|
36426
36432
|
className: "bg-(--slate-4) border-(--slate-4) hover:bg-(--slate-5) dark:border-(--sky-5) dark:bg-(--sky-6) dark:text-(--sky-12) text-(--slate-12) rounded-l rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono max-w-[75%] whitespace-nowrap overflow-hidden"
|
|
36427
|
-
}), r[45] = S, r[46] = b, r[47] =
|
|
36428
|
-
let
|
|
36429
|
-
r[48] !==
|
|
36433
|
+
}), r[45] = S, r[46] = b, r[47] = UU) : UU = r[47];
|
|
36434
|
+
let WU;
|
|
36435
|
+
r[48] !== UU || r[49] !== W || r[50] !== G || r[51] !== q || r[52] !== zU || r[53] !== BU || r[54] !== Z || r[55] !== VU || r[56] !== HU ? (WU = (0, import_jsx_runtime.jsxs)("div", {
|
|
36430
36436
|
title: W,
|
|
36431
36437
|
"data-testid": G,
|
|
36432
36438
|
ref: q,
|
|
36433
|
-
...
|
|
36434
|
-
tabIndex:
|
|
36439
|
+
...zU,
|
|
36440
|
+
tabIndex: BU,
|
|
36435
36441
|
className: Z,
|
|
36436
|
-
style:
|
|
36442
|
+
style: VU,
|
|
36437
36443
|
children: [
|
|
36438
|
-
|
|
36439
|
-
|
|
36444
|
+
HU,
|
|
36445
|
+
UU
|
|
36440
36446
|
]
|
|
36441
|
-
}), r[48] =
|
|
36442
|
-
let
|
|
36443
|
-
return r[58] !== B || r[59] !== H || r[60] !==
|
|
36447
|
+
}), r[48] = UU, r[49] = W, r[50] = G, r[51] = q, r[52] = zU, r[53] = BU, r[54] = Z, r[55] = VU, r[56] = HU, r[57] = WU) : WU = r[57];
|
|
36448
|
+
let GU;
|
|
36449
|
+
return r[58] !== B || r[59] !== H || r[60] !== WU ? (GU = (0, import_jsx_runtime.jsxs)("div", {
|
|
36444
36450
|
className: B,
|
|
36445
36451
|
children: [
|
|
36446
36452
|
H,
|
|
36447
|
-
|
|
36453
|
+
WU
|
|
36448
36454
|
]
|
|
36449
|
-
}), r[58] = B, r[59] = H, r[60] =
|
|
36455
|
+
}), r[58] = B, r[59] = H, r[60] = WU, r[61] = GU) : GU = r[61], GU;
|
|
36450
36456
|
}, StdInput = (e) => {
|
|
36451
36457
|
let r = (0, import_compiler_runtime$6.c)(25), { value: c, setValue: l, inputHistory: u, output: d, isPassword: f, isPdb: p, onSubmit: m, onClear: h } = e, { navigateUp: g, navigateDown: _, addToHistory: v } = u, y;
|
|
36452
36458
|
r[0] === d ? y = r[1] : (y = renderText(d), r[0] = d, r[1] = y);
|
|
@@ -36900,23 +36906,23 @@ ${c}
|
|
|
36900
36906
|
if ((h || _ || m || W) && !G) return null;
|
|
36901
36907
|
let q;
|
|
36902
36908
|
r[42] !== d || r[43] !== T ? (q = cellDomProps(d, T), r[42] = d, r[43] = T, r[44] = q) : q = r[44];
|
|
36903
|
-
let
|
|
36904
|
-
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !==
|
|
36905
|
-
allowExpand:
|
|
36909
|
+
let zU = w === "edit", BU;
|
|
36910
|
+
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== zU ? (BU = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
36911
|
+
allowExpand: zU,
|
|
36906
36912
|
output: c,
|
|
36907
36913
|
className: CSSClasses.outputArea,
|
|
36908
36914
|
cellId: d,
|
|
36909
36915
|
stale: I,
|
|
36910
36916
|
loading: R
|
|
36911
|
-
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] =
|
|
36917
|
+
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = zU, r[50] = BU) : BU = r[50];
|
|
36912
36918
|
let Z;
|
|
36913
|
-
return r[51] !== H || r[52] !== q || r[53] !==
|
|
36919
|
+
return r[51] !== H || r[52] !== q || r[53] !== BU ? (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
36914
36920
|
tabIndex: -1,
|
|
36915
36921
|
ref: j,
|
|
36916
36922
|
className: H,
|
|
36917
36923
|
...q,
|
|
36918
|
-
children:
|
|
36919
|
-
}), r[51] = H, r[52] = q, r[53] =
|
|
36924
|
+
children: BU
|
|
36925
|
+
}), r[51] = H, r[52] = q, r[53] = BU, r[54] = Z) : Z = r[54], Z;
|
|
36920
36926
|
});
|
|
36921
36927
|
VerticalCell.displayName = "VerticalCell";
|
|
36922
36928
|
const VerticalLayoutPlugin = {
|