@synnaxlabs/pluto 0.33.0 → 0.33.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Animated-BGm8tACN.cjs → Animated-C7iWxEah.cjs} +1 -1
- package/dist/{Animated-Cg0ftviS.js → Animated-VpxahF8t.js} +2 -2
- package/dist/{Item-C89uBEra.cjs → Item-C1_OE8IF.cjs} +1 -1
- package/dist/{Item-B8JWj3fN.js → Item-Dpra-3n6.js} +5 -5
- package/dist/{Keyboard-B1757gtH.cjs → Keyboard-BBOcinRN.cjs} +1 -1
- package/dist/{Keyboard-BAU1UuVp.js → Keyboard-CpJQuX-J.js} +2 -2
- package/dist/LinePlot-Bwz2fEc0.cjs +34 -0
- package/dist/LinePlot-DHy70Cb7.js +6256 -0
- package/dist/{Link-Du1lxpym.js → Link-Ctlz9WUQ.js} +1 -1
- package/dist/{Link-BGZki0c9.cjs → Link-Cxj-3A6p.cjs} +1 -1
- package/dist/{List-e1hOSGSX.cjs → List-CcTL6wlO.cjs} +1 -1
- package/dist/{List-KmtaD0qw.js → List-DF0kzXpr.js} +2 -2
- package/dist/{Pack-CxtceW7N.js → Pack-BAJwD-n2.js} +1 -1
- package/dist/{Pack-uflj5a28.cjs → Pack-DBtBeGnj.cjs} +1 -1
- package/dist/{Text-D1VocrR6.js → Text-D5o4o3OI.js} +5 -5
- package/dist/{Text-DWBEhfiF.cjs → Text-GGA7QNwA.cjs} +1 -1
- package/dist/{Toggle-B96EPQ2x.js → Toggle-CTjPdq8o.js} +97 -70
- package/dist/Toggle-Dim0E2D2.cjs +143 -0
- package/dist/{Video-DKosAU7v.cjs → Video-B3geSdOZ.cjs} +1 -1
- package/dist/{Video-o34bcpwh.js → Video-CXccd2Jl.js} +1 -1
- package/dist/{aggregator-CU9VgdUJ.cjs → aggregator-D6Mmsfj4.cjs} +21 -21
- package/dist/{aggregator-B36SA-20.js → aggregator-QFq5XDjf.js} +997 -961
- package/dist/align.cjs +1 -1
- package/dist/align.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/color.cjs +1 -1
- package/dist/color.js +1 -1
- package/dist/{css-4MXuPP5v.cjs → css-CvXvQo39.cjs} +1 -1
- package/dist/{css-C8qHWSpT.js → css-DqBChhqm.js} +27 -5
- package/dist/css.cjs +1 -1
- package/dist/css.js +2 -2
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/ether.cjs +1 -1
- package/dist/ether.js +5 -5
- package/dist/{external-DWm3_4ZA.js → external-BNMsCMKL.js} +11 -11
- package/dist/{external-BHkFTefx.cjs → external-BPnNv3RZ.cjs} +1 -1
- package/dist/{external-BdZ8kC55.cjs → external-BZpriFW_.cjs} +1 -1
- package/dist/{external-BRdQZoOL.cjs → external-Bksh4jhY.cjs} +1 -1
- package/dist/{external-CvTy-Tj3.js → external-Bm3VKQxs.js} +4 -4
- package/dist/{external-LyF1vgNR.cjs → external-C2YHV6Dz.cjs} +1 -1
- package/dist/{external-DZhjjzue.js → external-CI2s6wrc.js} +90 -88
- package/dist/external-CK8msIo3.js +96 -0
- package/dist/{external-C2PoeTKJ.js → external-CKp_fJJC.js} +2 -2
- package/dist/{external-C-PNFpoV.cjs → external-CKuO-iHz.cjs} +1 -1
- package/dist/{external-DDwIRENP.cjs → external-CUwDGrme.cjs} +1 -1
- package/dist/{external-Ckdd7teZ.js → external-CfOulkkd.js} +5 -5
- package/dist/{external-CPTY4-IY.cjs → external-ClRKAhnQ.cjs} +1 -1
- package/dist/{external-CzrKYxlg.js → external-Ct326ec4.js} +2 -2
- package/dist/{external-BSqwgq7l.js → external-DT1bMgJw.js} +2 -2
- package/dist/{external-Icf6LMl2.cjs → external-DYc6fMZC.cjs} +1 -1
- package/dist/external-Dhg4bEfF.cjs +1 -0
- package/dist/{external-Dk66psus.js → external-DmLFwKtu.js} +4 -4
- package/dist/{external-CxatFj2t.js → external-DyAGPLil.js} +5 -5
- package/dist/{external-Cc1Bqjmm.js → external-EHlrAzYc.js} +1 -1
- package/dist/external-X9NMQ2Zh.cjs +1 -0
- package/dist/{external-T318T5Xe.cjs → external-aTGyndBd.cjs} +1 -1
- package/dist/{external-GtPAaR7c.cjs → external-e143l3cy.cjs} +1 -1
- package/dist/{external-uvD747pL.js → external-mRJloDDi.js} +7 -7
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/index.cjs +33 -1
- package/dist/index.js +9765 -4790
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/src/color/Swatch/Swatch.d.ts +2 -1
- package/dist/src/color/Swatch/Swatch.d.ts.map +1 -1
- package/dist/src/text/core/types.d.ts +2 -0
- package/dist/src/text/core/types.d.ts.map +1 -1
- package/dist/src/theming/core/fontString.d.ts +7 -1
- package/dist/src/theming/core/fontString.d.ts.map +1 -1
- package/dist/src/vis/diagram/Diagram.d.ts +1 -0
- package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
- package/dist/src/vis/diagram/aether/Diagram.d.ts +0 -2
- package/dist/src/vis/diagram/aether/Diagram.d.ts.map +1 -1
- package/dist/src/vis/legend/Simple.d.ts.map +1 -1
- package/dist/src/vis/lineplot/aether/axis.d.ts.map +1 -1
- package/dist/src/vis/render/loop.d.ts +7 -4
- package/dist/src/vis/render/loop.d.ts.map +1 -1
- package/dist/src/vis/schematic/Forms.d.ts.map +1 -1
- package/dist/src/vis/schematic/Symbols.d.ts.map +1 -1
- package/dist/src/vis/schematic/primitives/Primitives.d.ts +2 -1
- package/dist/src/vis/schematic/primitives/Primitives.d.ts.map +1 -1
- package/dist/src/vis/value/aether/value.d.ts +11 -9
- package/dist/src/vis/value/aether/value.d.ts.map +1 -1
- package/dist/src/vis/value/use.d.ts +1 -0
- package/dist/src/vis/value/use.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.js +2 -2
- package/dist/theming.cjs +1 -1
- package/dist/theming.js +2 -2
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/triggers.cjs +1 -1
- package/dist/triggers.js +1 -1
- package/dist/{units-DbfWaeE2.cjs → units-6W_8ukD-.cjs} +1 -1
- package/dist/{units-CmWU_YzJ.js → units-BHSMvrYX.js} +1 -1
- package/dist/video.cjs +1 -1
- package/dist/video.js +1 -1
- package/package.json +4 -4
- package/dist/LinePlot-CgkhTRJT.js +0 -11256
- package/dist/LinePlot-oIHuM9Jz.cjs +0 -66
- package/dist/Toggle-C5E2dVg4.cjs +0 -143
- package/dist/external-BSHY-kgQ.cjs +0 -1
- package/dist/external-BpIfVU6K.js +0 -94
- package/dist/external-w5-jxIYn.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./jsx-runtime-Cek9Ww4S.cjs"),r=require("./Toggle-
|
|
1
|
+
"use strict";const o=require("./jsx-runtime-Cek9Ww4S.cjs"),r=require("./Toggle-Dim0E2D2.cjs"),n="://",E="https"+n,c=({href:t,target:s,autoFormat:i=!1,...u})=>{let e=t;return i&&t!=null&&!t.includes(n)&&(e=E+e),o.jsxRuntimeExports.jsx(r.Button,{el:"a",href:e,target:s,...u})};exports.Link=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./jsx-runtime-Cek9Ww4S.cjs"),l=require("./aggregator-
|
|
1
|
+
"use strict";const t=require("./jsx-runtime-Cek9Ww4S.cjs"),l=require("./aggregator-D6Mmsfj4.cjs"),u=require("./Toggle-Dim0E2D2.cjs"),f=({children:o,data:e,emptyContent:c,omit:s})=>{const x=u.useMemoCompare(()=>s!=null?e==null?void 0:e.filter(r=>!s.includes(r.key)):e,([r,g],[n,j])=>{let i=!1;return r!=null&&n!=null?i=l.F.unorderedPrimitiveArrays(r,n)===l.F.EQUAL:i=r==n,g===j&&i},[s,e]);return t.jsxRuntimeExports.jsx(u.InfiniteProvider,{children:t.jsxRuntimeExports.jsx(u.DataProvider,{data:x,emptyContent:c,children:o})})};exports.List=f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as o } from "./jsx-runtime-B6kdoens.js";
|
|
2
|
-
import { F as i } from "./aggregator-
|
|
3
|
-
import { j as x, k as c, l as p } from "./Toggle-
|
|
2
|
+
import { F as i } from "./aggregator-QFq5XDjf.js";
|
|
3
|
+
import { j as x, k as c, l as p } from "./Toggle-CTjPdq8o.js";
|
|
4
4
|
const P = ({
|
|
5
5
|
children: u,
|
|
6
6
|
data: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as S } from "./jsx-runtime-B6kdoens.js";
|
|
2
2
|
import { forwardRef as p, createElement as E } from "react";
|
|
3
|
-
import { g as v, C as e } from "./css-
|
|
3
|
+
import { g as v, C as e } from "./css-DqBChhqm.js";
|
|
4
4
|
const M = ({ el: t, children: a, ...r }, s) => E(t, { ...r, ref: s }, a), j = p(M), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
Element: j
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const m=require("./jsx-runtime-Cek9Ww4S.cjs"),S=require("react"),e=require("./css-
|
|
1
|
+
"use strict";const m=require("./jsx-runtime-Cek9Ww4S.cjs"),S=require("react"),e=require("./css-CvXvQo39.cjs"),I=({el:r,children:t,...n},s)=>S.createElement(r,{...n,ref:s},t),x=S.forwardRef(I),v=Object.freeze(Object.defineProperty({__proto__:null,Element:x},Symbol.toStringTag,{value:"Module"})),M=["start","center","end","stretch"],T=["start","center","end","spaceBetween","spaceAround","spaceEvenly"],j=(r,t)=>t??(r==="right"||r==="bottom"),E=({style:r,align:t,className:n,grow:s,shrink:c,empty:p=!1,size:a="medium",justify:u="start",reverse:o,direction:l="y",wrap:f=!1,bordered:d=!1,borderShade:C,rounded:h=!1,el:k="div",background:w,...y},B)=>{const N=e.g.construct(l);o=j(l,o);let i;return p?[a,i]=[0,0]:typeof a=="number"&&(i=`${a}rem`),r={gap:i,flexDirection:g(N,o),justifyContent:A[u],alignItems:t,flexWrap:f?"wrap":"nowrap",...r},s!=null&&(r.flexGrow=Number(s)),c!=null&&(r.flexShrink=Number(c)),w!=null&&(r.backgroundColor=e.CSS.shadeVar(w)),m.jsxRuntimeExports.jsx(x,{el:k,ref:B,className:e.CSS(e.CSS.B("space"),e.CSS.dir(N),e.CSS.bordered(d),e.CSS.rounded(h),typeof a=="string"&&e.CSS.BM("space",a),n),style:r,...y})};E.displayName="Space";const b=S.forwardRef(E),g=(r,t)=>{const n=r==="x"?"row":"column";return t?n+"-reverse":n},A={start:"flex-start",center:"center",end:"flex-end",spaceBetween:"space-between",spaceAround:"space-around",spaceEvenly:"space-evenly"},R=({className:r,justify:t="center",align:n="center",...s},c)=>m.jsxRuntimeExports.jsx(b,{ref:c,justify:t,align:n,className:e.CSS(e.CSS.BM("space","centered"),r),...s}),G=S.forwardRef(R),O=({className:r,size:t="medium",reverse:n=!1,direction:s="x",bordered:c=!0,borderShade:p=3,rounded:a=!0,shadow:u=!1,borderWidth:o,style:l,...f},d)=>{const C={[e.CSS.var("pack-border-shade")]:e.CSS.shadeVar(p),...l};return o!=null&&(C[e.CSS.var("pack-border-width")]=`${o}px`),m.jsxRuntimeExports.jsx(b,{ref:d,direction:s,reverse:n,className:e.CSS(e.CSS.B("pack"),u&&e.CSS.BM("pack","shadow"),e.CSS.dir(s),typeof t!="number"&&e.CSS.BM("pack",t),n&&e.CSS.BM("pack","reverse"),r),style:C,bordered:c,rounded:a,...f,empty:!0})},P=S.forwardRef(O);exports.ALIGNMENTS=M;exports.Center=G;exports.CoreCenter=R;exports.Element=x;exports.Generic=v;exports.JUSTIFICATIONS=T;exports.Pack=P;exports.Space=b;exports.shouldReverse=j;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as o } from "./jsx-runtime-B6kdoens.js";
|
|
2
|
-
import { h as r, Q as i } from "./Toggle-
|
|
3
|
-
import "./aggregator-
|
|
4
|
-
import { K as a } from "./Keyboard-
|
|
2
|
+
import { h as r, Q as i } from "./Toggle-CTjPdq8o.js";
|
|
3
|
+
import "./aggregator-QFq5XDjf.js";
|
|
4
|
+
import { K as a } from "./Keyboard-CpJQuX-J.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./Pack-
|
|
7
|
-
import "./css-
|
|
6
|
+
import "./Pack-BAJwD-n2.js";
|
|
7
|
+
import "./css-DqBChhqm.js";
|
|
8
8
|
const c = {
|
|
9
9
|
Control: () => /* @__PURE__ */ o.jsx(r.Meta, {}, "control"),
|
|
10
10
|
Alt: () => /* @__PURE__ */ o.jsx(r.Alt, {}, "alt"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-Cek9Ww4S.cjs"),r=require("./Toggle-
|
|
1
|
+
"use strict";const e=require("./jsx-runtime-Cek9Ww4S.cjs"),r=require("./Toggle-Dim0E2D2.cjs");require("./aggregator-D6Mmsfj4.cjs");const x=require("./Keyboard-BBOcinRN.cjs");require("react");require("./Pack-DBtBeGnj.cjs");require("./css-CvXvQo39.cjs");const l={Control:()=>e.jsxRuntimeExports.jsx(r.Symbols.Meta,{},"control"),Alt:()=>e.jsxRuntimeExports.jsx(r.Symbols.Alt,{},"alt"),Shift:()=>e.jsxRuntimeExports.jsx(r.Qt.Keyboard.Shift,{},"shift"),MouseLeft:"Left Click",MouseRight:"Right Click",MouseMiddle:"Middle Click",Enter:()=>e.jsxRuntimeExports.jsx(r.Qt.Keyboard.Return,{},"enter")},i=s=>{const t=l[s];return t!=null?typeof t=="function"?t():t:s},c=s=>s.map(t=>i(t)),m=({className:s,style:t,trigger:n,children:j,...u})=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:n.map(o=>e.jsxRuntimeExports.jsx(x.Keyboard,{...u,children:i(o)},o))});exports.Text=m;exports.toSymbols=c;
|
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
import { j as Ce } from "./jsx-runtime-B6kdoens.js";
|
|
2
2
|
import * as bo from "react";
|
|
3
3
|
import j, { isValidElement as Xc, PureComponent as To, Component as Fo, createContext as xt, useContext as Ct, useState as Yr, useEffect as qr, useCallback as _e, useRef as tr, forwardRef as tn, useLayoutEffect as Sa, useMemo as jr, memo as xu, Children as r0, useId as Oo, cloneElement as Kg } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { p as
|
|
6
|
-
import { createPortal as Ls, flushSync as
|
|
7
|
-
import { E as
|
|
4
|
+
import { F as yt, _ as po, aj as Zg, ae as Yg, Q as Xg, o as Ur, y as ln, n as wu, A as Jc, T as Jg, l as w3, B as A3, M as t0, W as ic, ak as E3, C as xo, t as Rs, b as Qg, a as D3, S as S3, P as wl, c as N3, ab as C3, i as n0, ac as a0, al as i0, am as M3, p as T3, w as F3, an as $g, h as O3 } from "./aggregator-QFq5XDjf.js";
|
|
5
|
+
import { p as B3, r as R3, s as I3, B as Al, $ as z3, y as o0, u as El, w as P3, x as L3, z as q3, A as _3, D as U3, F as k3, H as H3, I as Dl, K as V3, E as ze, q as Br, C as ge, c as Qc, G as Dn, J as Xr, a as j3, m as W3 } from "./css-DqBChhqm.js";
|
|
6
|
+
import { createPortal as Ls, flushSync as G3 } from "react-dom";
|
|
7
|
+
import { E as K3, S as Qn, P as ey, C as Z3 } from "./Pack-BAJwD-n2.js";
|
|
8
8
|
import { z as Zt } from "zod";
|
|
9
|
-
import { c as Lt, u as tt } from "./units-
|
|
9
|
+
import { c as Lt, u as tt } from "./units-BHSMvrYX.js";
|
|
10
|
+
var cn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
11
|
+
function Au(e) {
|
|
12
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
13
|
+
}
|
|
14
|
+
function Y3(e) {
|
|
15
|
+
if (e.__esModule) return e;
|
|
16
|
+
var r = e.default;
|
|
17
|
+
if (typeof r == "function") {
|
|
18
|
+
var t = function n() {
|
|
19
|
+
return this instanceof n ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
|
|
20
|
+
};
|
|
21
|
+
t.prototype = r.prototype;
|
|
22
|
+
} else t = {};
|
|
23
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) {
|
|
24
|
+
var a = Object.getOwnPropertyDescriptor(e, n);
|
|
25
|
+
Object.defineProperty(t, n, a.get ? a : {
|
|
26
|
+
enumerable: !0,
|
|
27
|
+
get: function() {
|
|
28
|
+
return e[n];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}), t;
|
|
32
|
+
}
|
|
10
33
|
var oc = { exports: {} }, io = {};
|
|
11
34
|
/**
|
|
12
35
|
* @license React
|
|
@@ -1373,10 +1396,10 @@ const a6 = (e) => /* @__PURE__ */ ht.jsxs(
|
|
|
1373
1396
|
Tare: he(A4, "tare")
|
|
1374
1397
|
}, sc = (e) => {
|
|
1375
1398
|
if (e == null) return { x: void 0, y: void 0 };
|
|
1376
|
-
const r =
|
|
1399
|
+
const r = B3.safeParse(e);
|
|
1377
1400
|
if (r.success) return r.data;
|
|
1378
|
-
const t =
|
|
1379
|
-
return t.success ?
|
|
1401
|
+
const t = R3.safeParse(e);
|
|
1402
|
+
return t.success ? I3(t.data) === "x" ? { x: t.data, y: void 0 } : { x: void 0, y: t.data } : e;
|
|
1380
1403
|
}, s6 = ({
|
|
1381
1404
|
container: e,
|
|
1382
1405
|
target: r,
|
|
@@ -1387,7 +1410,7 @@ const a6 = (e) => /* @__PURE__ */ ht.jsxs(
|
|
|
1387
1410
|
disable: o = []
|
|
1388
1411
|
}) => {
|
|
1389
1412
|
const s = sc(n);
|
|
1390
|
-
let u =
|
|
1413
|
+
let u = V3;
|
|
1391
1414
|
if (a != null) {
|
|
1392
1415
|
const h = a.map((b) => sc(b));
|
|
1393
1416
|
u = u.slice().sort((b, x) => {
|
|
@@ -1396,7 +1419,7 @@ const a6 = (e) => /* @__PURE__ */ ht.jsxs(
|
|
|
1396
1419
|
});
|
|
1397
1420
|
}
|
|
1398
1421
|
const l = u.filter(
|
|
1399
|
-
(h) => !
|
|
1422
|
+
(h) => !z3(h, o0) && (s.x == null || h.x === s.x) && (s.y == null || h.y === s.y) && !o.some((b) => Al(h, b))
|
|
1400
1423
|
).map((h) => i == null ? void 0 : i.map((b) => [h, b])).flat(), c = El(e), f = El(r), p = El(t);
|
|
1401
1424
|
let d = -1 / 0;
|
|
1402
1425
|
const v = { location: o0, adjustedDialog: p };
|
|
@@ -1417,14 +1440,14 @@ const a6 = (e) => /* @__PURE__ */ ht.jsxs(
|
|
|
1417
1440
|
target: n,
|
|
1418
1441
|
dialog: a
|
|
1419
1442
|
}) => {
|
|
1420
|
-
const i = iy(e, r), o =
|
|
1443
|
+
const i = iy(e, r), o = P3(n, e), s = L3(
|
|
1421
1444
|
o.x,
|
|
1422
1445
|
o.y,
|
|
1423
|
-
k3(a),
|
|
1424
1446
|
U3(a),
|
|
1447
|
+
_3(a),
|
|
1425
1448
|
i,
|
|
1426
|
-
|
|
1427
|
-
), u = H3(
|
|
1449
|
+
q3
|
|
1450
|
+
), u = k3(H3(s, t));
|
|
1428
1451
|
return [s, u];
|
|
1429
1452
|
}, l6 = {
|
|
1430
1453
|
start: "left",
|
|
@@ -1449,7 +1472,7 @@ const a6 = (e) => /* @__PURE__ */ ht.jsxs(
|
|
|
1449
1472
|
getRoot: iy,
|
|
1450
1473
|
parseLocationOptions: sc
|
|
1451
1474
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1452
|
-
var Jt = {}, Bo = {}, f6 = typeof
|
|
1475
|
+
var Jt = {}, Bo = {}, f6 = typeof cn == "object" && cn && cn.Object === Object && cn, oy = f6, p6 = oy, d6 = typeof self == "object" && self && self.Object === Object && self, v6 = p6 || d6 || Function("return this")(), Cn = v6, h6 = Cn, m6 = h6.Symbol, Ro = m6, A0 = Ro, sy = Object.prototype, g6 = sy.hasOwnProperty, y6 = sy.toString, oo = A0 ? A0.toStringTag : void 0;
|
|
1453
1476
|
function b6(e) {
|
|
1454
1477
|
var r = g6.call(e, oo), t = e[oo];
|
|
1455
1478
|
try {
|
|
@@ -3953,7 +3976,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
3953
3976
|
} else
|
|
3954
3977
|
dc.exports = jO()();
|
|
3955
3978
|
var KO = dc.exports;
|
|
3956
|
-
const Re = /* @__PURE__ */
|
|
3979
|
+
const Re = /* @__PURE__ */ Au(KO);
|
|
3957
3980
|
function ZO() {
|
|
3958
3981
|
this.__data__ = [], this.size = 0;
|
|
3959
3982
|
}
|
|
@@ -9382,7 +9405,7 @@ const Zf = xt({
|
|
|
9382
9405
|
["ArrowUp", "ArrowDown"].includes(d) && p.preventDefault(), !XL(d, p) && o((v) => {
|
|
9383
9406
|
const h = [...v.next, d];
|
|
9384
9407
|
if (v.next.includes(d)) return v;
|
|
9385
|
-
v.prev.includes(d) && Ur.since(v.last).valueOf() <
|
|
9408
|
+
v.prev.includes(d) && Ur.since(v.last).valueOf() < ln.milliseconds(300).valueOf() && h.push(d);
|
|
9386
9409
|
const b = {
|
|
9387
9410
|
next: h,
|
|
9388
9411
|
prev: v.next,
|
|
@@ -9452,7 +9475,7 @@ const Zf = xt({
|
|
|
9452
9475
|
callback: _e((a) => {
|
|
9453
9476
|
n((i) => {
|
|
9454
9477
|
let o = [];
|
|
9455
|
-
return a.stage === "start" ? o =
|
|
9478
|
+
return a.stage === "start" ? o = wu([...i.triggers, ...a.triggers]) : o = N2(i.triggers, a.triggers), { triggers: o, held: o.length > 0 };
|
|
9456
9479
|
});
|
|
9457
9480
|
}, []),
|
|
9458
9481
|
loose: r
|
|
@@ -9464,7 +9487,7 @@ const Zf = xt({
|
|
|
9464
9487
|
callback: _e((a) => {
|
|
9465
9488
|
n((i) => {
|
|
9466
9489
|
let o = [];
|
|
9467
|
-
return a.stage === "start" ? o =
|
|
9490
|
+
return a.stage === "start" ? o = wu([...i.triggers, ...a.triggers]) : o = N2(i.triggers, a.triggers), { triggers: o, held: o.length > 0 };
|
|
9468
9491
|
});
|
|
9469
9492
|
}, []),
|
|
9470
9493
|
loose: r
|
|
@@ -9482,7 +9505,7 @@ const Zf = xt({
|
|
|
9482
9505
|
}, l) => (
|
|
9483
9506
|
// @ts-expect-error - TODO: Generic Elements are weird
|
|
9484
9507
|
/* @__PURE__ */ Ce.jsx(
|
|
9485
|
-
|
|
9508
|
+
K3,
|
|
9486
9509
|
{
|
|
9487
9510
|
el: e,
|
|
9488
9511
|
ref: l,
|
|
@@ -9654,7 +9677,7 @@ const Zf = xt({
|
|
|
9654
9677
|
D.slice(1, D.length - 1).every((S) => m.includes(S)) && m.includes(h) ? A = m.filter((S) => !D.includes(S)) : A = [...m, ...D], s.current = null;
|
|
9655
9678
|
} else
|
|
9656
9679
|
s.current = h, a ? A = m.includes(h) && m.length === 1 ? [] : [h] : m.includes(h) ? A = m.filter((y) => y !== h) : A = [...m, h];
|
|
9657
|
-
const w =
|
|
9680
|
+
const w = wu(A);
|
|
9658
9681
|
if (n === !1 && w.length === 0)
|
|
9659
9682
|
return p(m, {
|
|
9660
9683
|
entries: x.filter(({ key: y }) => m.includes(y)),
|
|
@@ -9765,7 +9788,7 @@ const Zf = xt({
|
|
|
9765
9788
|
if (typeof o == "object" && "preventDefault" in o) {
|
|
9766
9789
|
o.preventDefault(), o.stopPropagation();
|
|
9767
9790
|
const l = pq(o.target);
|
|
9768
|
-
s = s ??
|
|
9791
|
+
s = s ?? wu(l.map((c) => c.id).filter((c) => c.length > 0));
|
|
9769
9792
|
} else s = [];
|
|
9770
9793
|
t({ visible: !0, keys: s, position: u, cursor: u });
|
|
9771
9794
|
}, a = (o) => {
|
|
@@ -21673,7 +21696,7 @@ var Am = "lsolve", fG = ["typed", "matrix", "divideScalar", "multiplyScalar", "s
|
|
|
21673
21696
|
}
|
|
21674
21697
|
return 0;
|
|
21675
21698
|
};
|
|
21676
|
-
const Xa = /* @__PURE__ */
|
|
21699
|
+
const Xa = /* @__PURE__ */ Au(OG);
|
|
21677
21700
|
var Fm = "compareNatural", BG = ["typed", "compare"], RG = /* @__PURE__ */ q(Fm, BG, (e) => {
|
|
21678
21701
|
var {
|
|
21679
21702
|
typed: r,
|
|
@@ -27896,7 +27919,7 @@ var xs = "AssignmentNode", EY = [
|
|
|
27896
27919
|
c();
|
|
27897
27920
|
return s;
|
|
27898
27921
|
};
|
|
27899
|
-
const RY = /* @__PURE__ */
|
|
27922
|
+
const RY = /* @__PURE__ */ Au(BY);
|
|
27900
27923
|
var Hc = {
|
|
27901
27924
|
// GREEK LETTERS
|
|
27902
27925
|
Alpha: "A",
|
|
@@ -36105,7 +36128,7 @@ bp.exports;
|
|
|
36105
36128
|
}
|
|
36106
36129
|
t && t.exports ? t.exports = o : this.alea = o;
|
|
36107
36130
|
})(
|
|
36108
|
-
|
|
36131
|
+
cn,
|
|
36109
36132
|
e
|
|
36110
36133
|
);
|
|
36111
36134
|
})(bp);
|
|
@@ -36140,7 +36163,7 @@ xp.exports;
|
|
|
36140
36163
|
}
|
|
36141
36164
|
t && t.exports ? t.exports = o : this.xor128 = o;
|
|
36142
36165
|
})(
|
|
36143
|
-
|
|
36166
|
+
cn,
|
|
36144
36167
|
e
|
|
36145
36168
|
);
|
|
36146
36169
|
})(xp);
|
|
@@ -36175,7 +36198,7 @@ wp.exports;
|
|
|
36175
36198
|
}
|
|
36176
36199
|
t && t.exports ? t.exports = o : this.xorwow = o;
|
|
36177
36200
|
})(
|
|
36178
|
-
|
|
36201
|
+
cn,
|
|
36179
36202
|
e
|
|
36180
36203
|
);
|
|
36181
36204
|
})(wp);
|
|
@@ -36222,7 +36245,7 @@ Ap.exports;
|
|
|
36222
36245
|
}
|
|
36223
36246
|
t && t.exports ? t.exports = o : this.xorshift7 = o;
|
|
36224
36247
|
})(
|
|
36225
|
-
|
|
36248
|
+
cn,
|
|
36226
36249
|
e
|
|
36227
36250
|
);
|
|
36228
36251
|
})(Ap);
|
|
@@ -36265,7 +36288,7 @@ Ep.exports;
|
|
|
36265
36288
|
}
|
|
36266
36289
|
t && t.exports ? t.exports = o : this.xor4096 = o;
|
|
36267
36290
|
})(
|
|
36268
|
-
|
|
36291
|
+
cn,
|
|
36269
36292
|
// window object or global
|
|
36270
36293
|
e
|
|
36271
36294
|
);
|
|
@@ -36301,7 +36324,7 @@ Dp.exports;
|
|
|
36301
36324
|
}
|
|
36302
36325
|
t && t.exports ? t.exports = o : this.tychei = o;
|
|
36303
36326
|
})(
|
|
36304
|
-
|
|
36327
|
+
cn,
|
|
36305
36328
|
e
|
|
36306
36329
|
);
|
|
36307
36330
|
})(Dp);
|
|
@@ -36309,7 +36332,7 @@ var Pte = Dp.exports, Kx = { exports: {} };
|
|
|
36309
36332
|
const Lte = {}, qte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
36310
36333
|
__proto__: null,
|
|
36311
36334
|
default: Lte
|
|
36312
|
-
}, Symbol.toStringTag, { value: "Module" })), _te = /* @__PURE__ */
|
|
36335
|
+
}, Symbol.toStringTag, { value: "Module" })), _te = /* @__PURE__ */ Y3(qte);
|
|
36313
36336
|
(function(e) {
|
|
36314
36337
|
(function(r, t, n) {
|
|
36315
36338
|
var a = 256, i = 6, o = 52, s = "random", u = n.pow(a, i), l = n.pow(2, o), c = l * 2, f = a - 1, p;
|
|
@@ -36394,7 +36417,7 @@ const Lte = {}, qte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defin
|
|
|
36394
36417
|
})(
|
|
36395
36418
|
// global: `self` in browsers (including strict mode and web workers),
|
|
36396
36419
|
// otherwise `this` in Node and other environments
|
|
36397
|
-
typeof self < "u" ? self :
|
|
36420
|
+
typeof self < "u" ? self : cn,
|
|
36398
36421
|
[],
|
|
36399
36422
|
// pool: entropy pool starts empty
|
|
36400
36423
|
Math
|
|
@@ -36409,7 +36432,7 @@ za.xorshift7 = jte;
|
|
|
36409
36432
|
za.xor4096 = Wte;
|
|
36410
36433
|
za.tychei = Gte;
|
|
36411
36434
|
var Kte = za;
|
|
36412
|
-
const Zx = /* @__PURE__ */
|
|
36435
|
+
const Zx = /* @__PURE__ */ Au(Kte);
|
|
36413
36436
|
var Zte = /* @__PURE__ */ Zx(Date.now());
|
|
36414
36437
|
function Mi(e) {
|
|
36415
36438
|
var r;
|
|
@@ -42117,8 +42140,8 @@ const Kle = tn(
|
|
|
42117
42140
|
);
|
|
42118
42141
|
Kle.displayName = "InputTextArea";
|
|
42119
42142
|
const Gfe = (e, r) => new Ur(e).add(r).sub(Ur.utcOffset), Zle = {
|
|
42120
|
-
x: Number(
|
|
42121
|
-
y: Number(
|
|
42143
|
+
x: Number(ln.SECOND.valueOf()) * 0.5,
|
|
42144
|
+
y: Number(ln.MINUTE.valueOf())
|
|
42122
42145
|
}, Yle = ({ value: e, onChange: r, tzInfo: t }) => {
|
|
42123
42146
|
const n = new Ur(e, "UTC"), a = n.sub(Ur.utcOffset);
|
|
42124
42147
|
if (a.after(Ur.DAY)) {
|
|
@@ -42200,9 +42223,9 @@ const Ww = xt({
|
|
|
42200
42223
|
), u = jr(() => {
|
|
42201
42224
|
if (e != null) {
|
|
42202
42225
|
const f = Rs.parse(
|
|
42203
|
-
po.override(po.copy(
|
|
42226
|
+
po.override(po.copy(D3), e)
|
|
42204
42227
|
), p = Rs.parse(
|
|
42205
|
-
po.override(po.copy(
|
|
42228
|
+
po.override(po.copy(S3), e)
|
|
42206
42229
|
);
|
|
42207
42230
|
return e.key != null && e.key.length > 0 && s(e.key), { synnaxLight: f, synnaxDark: p };
|
|
42208
42231
|
}
|
|
@@ -42269,7 +42292,7 @@ const Ww = xt({
|
|
|
42269
42292
|
const { theme: r } = Xp(), t = r.typography[e];
|
|
42270
42293
|
return {
|
|
42271
42294
|
...t,
|
|
42272
|
-
toString: () =>
|
|
42295
|
+
toString: () => N3(r, { level: e }),
|
|
42273
42296
|
baseSize: r.sizes.base,
|
|
42274
42297
|
lineHeightPx: t.lineHeight * r.sizes.base,
|
|
42275
42298
|
sizePx: t.size * r.sizes.base
|
|
@@ -42376,7 +42399,7 @@ const Ww = xt({
|
|
|
42376
42399
|
style: a,
|
|
42377
42400
|
shade: n.shade,
|
|
42378
42401
|
weight: n.weight,
|
|
42379
|
-
children:
|
|
42402
|
+
children: C3(i)
|
|
42380
42403
|
},
|
|
42381
42404
|
n.key.toString()
|
|
42382
42405
|
);
|
|
@@ -42884,7 +42907,7 @@ function gce(e) {
|
|
|
42884
42907
|
...e,
|
|
42885
42908
|
onChange: (a, i) => {
|
|
42886
42909
|
var o;
|
|
42887
|
-
i ?
|
|
42910
|
+
i ? G3(r) : r(), (o = e.onChange) == null || o.call(e, a, i);
|
|
42888
42911
|
}
|
|
42889
42912
|
}, [n] = bo.useState(
|
|
42890
42913
|
() => new vce(t)
|
|
@@ -43129,7 +43152,7 @@ const Nce = {
|
|
|
43129
43152
|
const [{ path: n }, { statuses: a }, i] = Qf({
|
|
43130
43153
|
aetherKey: e,
|
|
43131
43154
|
type: i0.TYPE,
|
|
43132
|
-
schema:
|
|
43155
|
+
schema: M3,
|
|
43133
43156
|
initialState: { statuses: [] }
|
|
43134
43157
|
});
|
|
43135
43158
|
if (t != null && a.length > t) {
|
|
@@ -43148,7 +43171,7 @@ const Nce = {
|
|
|
43148
43171
|
);
|
|
43149
43172
|
return /* @__PURE__ */ Ce.jsx(Qp.Provider, { value: s, children: /* @__PURE__ */ Ce.jsx(Hu, { path: n, children: r }) });
|
|
43150
43173
|
}
|
|
43151
|
-
), rpe = () => i3(Qp).add, Cce =
|
|
43174
|
+
), rpe = () => i3(Qp).add, Cce = ln.seconds(5), tpe = (e = {}) => {
|
|
43152
43175
|
const { statuses: r } = i3(Qp), { expiration: t = Cce } = e, n = hn(r), [a, i] = Yr(() => Ur.now()), [o, s] = Yr([]), u = r.filter((c) => {
|
|
43153
43176
|
const f = c.time.after(a);
|
|
43154
43177
|
return f && setTimeout(
|
|
@@ -43200,7 +43223,7 @@ const Nce = {
|
|
|
43200
43223
|
...a
|
|
43201
43224
|
}
|
|
43202
43225
|
);
|
|
43203
|
-
}, Oce = ({ style: e, ...r }) => /* @__PURE__ */ Ce.jsx(
|
|
43226
|
+
}, Oce = ({ style: e, ...r }) => /* @__PURE__ */ Ce.jsx(Z3, { style: e, grow: !0, children: /* @__PURE__ */ Ce.jsx(o3, { ...r }) }), to = o3;
|
|
43204
43227
|
to.Centered = Oce;
|
|
43205
43228
|
const pl = {
|
|
43206
43229
|
height: 150
|
|
@@ -43212,7 +43235,7 @@ const pl = {
|
|
|
43212
43235
|
pageSize: a = 10,
|
|
43213
43236
|
filter: i = zce
|
|
43214
43237
|
}) => {
|
|
43215
|
-
const [o, s] =
|
|
43238
|
+
const [o, s] = T3({
|
|
43216
43239
|
value: t,
|
|
43217
43240
|
onChange: n,
|
|
43218
43241
|
initial: ""
|
|
@@ -43264,7 +43287,7 @@ const pl = {
|
|
|
43264
43287
|
}, Lce = (e) => /* @__PURE__ */ Ce.jsx(Vo, { placeholder: "Search", ...e }), npe = ({
|
|
43265
43288
|
children: e = Lce,
|
|
43266
43289
|
...r
|
|
43267
|
-
}) => e(Pce(r)), ape = (e) => ({ key: r, ...t }) => /* @__PURE__ */ Ce.jsx(e, { ...t }, r), qce = (e) => typeof e == "function", jg =
|
|
43290
|
+
}) => e(Pce(r)), ape = (e) => ({ key: r, ...t }) => /* @__PURE__ */ Ce.jsx(e, { ...t }, r), qce = (e) => typeof e == "function", jg = F3.getOS() === "Windows", ipe = {
|
|
43268
43291
|
Meta: jg ? dn.Keyboard.Control : dn.Keyboard.Command,
|
|
43269
43292
|
Alt: jg ? () => "Alt" : dn.Keyboard.Option
|
|
43270
43293
|
}, Kc = ({
|
|
@@ -43519,10 +43542,13 @@ const Vce = {
|
|
|
43519
43542
|
u.adjustedDialog,
|
|
43520
43543
|
"y",
|
|
43521
43544
|
$g(l.y === "bottom") * Gce
|
|
43522
|
-
)
|
|
43523
|
-
|
|
43524
|
-
|
|
43525
|
-
|
|
43545
|
+
);
|
|
43546
|
+
const f = (d) => ["inline-size", "size"].includes(d);
|
|
43547
|
+
let p = e.parentElement;
|
|
43548
|
+
for (; p != null; ) {
|
|
43549
|
+
const d = window.getComputedStyle(p);
|
|
43550
|
+
if (f(d.getPropertyValue("container-type"))) {
|
|
43551
|
+
o = ze.construct(p), l.y === "bottom" ? c = ze.translate(
|
|
43526
43552
|
c,
|
|
43527
43553
|
Br.scale(ze.topLeft(o), -1)
|
|
43528
43554
|
) : c = ze.translate(c, {
|
|
@@ -43531,9 +43557,9 @@ const Vce = {
|
|
|
43531
43557
|
});
|
|
43532
43558
|
break;
|
|
43533
43559
|
}
|
|
43534
|
-
|
|
43560
|
+
p = p.parentElement;
|
|
43535
43561
|
}
|
|
43536
|
-
return
|
|
43562
|
+
return { adjustedDialog: c, location: l };
|
|
43537
43563
|
}, spe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
43538
43564
|
__proto__: null,
|
|
43539
43565
|
Dialog: s3,
|
|
@@ -43673,21 +43699,21 @@ const Vce = {
|
|
|
43673
43699
|
useDrop: f3,
|
|
43674
43700
|
useDropOutside: tfe
|
|
43675
43701
|
}, Symbol.toStringTag, { value: "Module" })), nfe = {
|
|
43676
|
-
delay:
|
|
43702
|
+
delay: ln.milliseconds(750),
|
|
43677
43703
|
startAccelerating: () => {
|
|
43678
43704
|
}
|
|
43679
43705
|
}, p3 = xt(nfe), afe = () => Ct(p3), lpe = ({
|
|
43680
|
-
delay: e =
|
|
43706
|
+
delay: e = ln.milliseconds(700),
|
|
43681
43707
|
accelerate: r = !0,
|
|
43682
43708
|
// Disabling this for now because it's annoying.
|
|
43683
|
-
acceleratedDelay: t =
|
|
43684
|
-
accelerationDelay: n =
|
|
43709
|
+
acceleratedDelay: t = ln.minutes(60),
|
|
43710
|
+
accelerationDelay: n = ln.seconds(0),
|
|
43685
43711
|
children: a
|
|
43686
43712
|
}) => {
|
|
43687
43713
|
const [i, o] = Yr(!1), s = tr(null), u = _e(() => {
|
|
43688
43714
|
i || !r || (o(!0), s.current = setTimeout(() => {
|
|
43689
43715
|
o(!1);
|
|
43690
|
-
}, new
|
|
43716
|
+
}, new ln(n).milliseconds));
|
|
43691
43717
|
}, [i, n]);
|
|
43692
43718
|
return /* @__PURE__ */ Ce.jsx(
|
|
43693
43719
|
p3.Provider,
|
|
@@ -43740,7 +43766,7 @@ const Vce = {
|
|
|
43740
43766
|
location: t,
|
|
43741
43767
|
hide: n = !1
|
|
43742
43768
|
}) => {
|
|
43743
|
-
const { startAccelerating: a, delay: i } = afe(), o = new
|
|
43769
|
+
const { startAccelerating: a, delay: i } = afe(), o = new ln(e ?? i), [s, u, l] = Ai(null), [c, f] = Yr(""), p = tr(null), d = Oo(), v = tr(null), h = tr(null), b = _e((D) => {
|
|
43744
43770
|
D == null && l.current == null || h.current != null || (D != null ? (u(D), h.current = setTimeout(() => {
|
|
43745
43771
|
f(ge.M("loaded")), h.current = null;
|
|
43746
43772
|
}, 1)) : (f(""), h.current = setTimeout(() => {
|
|
@@ -43864,7 +43890,7 @@ const Vce = {
|
|
|
43864
43890
|
onMouseDown: A,
|
|
43865
43891
|
...m
|
|
43866
43892
|
}) => {
|
|
43867
|
-
const w =
|
|
43893
|
+
const w = ln.fromMilliseconds(p);
|
|
43868
43894
|
u && (f = [...Jc(f), /* @__PURE__ */ Ce.jsx(dn.Loading, {}, "loader")]), i == null && (i = e === "small" ? "small" : "medium"), r == "shadow" && (r = "text");
|
|
43869
43895
|
const y = (C) => {
|
|
43870
43896
|
if (!(s || r === "preview") && w.isZero)
|
|
@@ -43888,11 +43914,11 @@ const Vce = {
|
|
|
43888
43914
|
[y, s]
|
|
43889
43915
|
)
|
|
43890
43916
|
});
|
|
43891
|
-
const S = { ...b }, E =
|
|
43917
|
+
const S = { ...b }, E = j3.z.safeParse(v), N = E.success && (r === "filled" || r === "outlined");
|
|
43892
43918
|
return N && (S[ge.var("btn-color")] = E.data.rgbString, S[ge.var("btn-text-color")] = E.data.pickByContrast(
|
|
43893
43919
|
"#000000",
|
|
43894
43920
|
"#ffffff"
|
|
43895
|
-
).rgbCSS), w.isZero || (S[ge.var("btn-delay")] = `${w.seconds.toString()}s`), e == null && l != null ? e =
|
|
43921
|
+
).rgbCSS), w.isZero || (S[ge.var("btn-delay")] = `${w.seconds.toString()}s`), e == null && l != null ? e = O3[l] : e != null && l == null ? l = xo[e] : e == null && (e = "medium"), /* @__PURE__ */ Ce.jsxs(
|
|
43896
43922
|
$p,
|
|
43897
43923
|
{
|
|
43898
43924
|
el: "button",
|
|
@@ -43939,7 +43965,7 @@ const Vce = {
|
|
|
43939
43965
|
"button",
|
|
43940
43966
|
{
|
|
43941
43967
|
ref: c,
|
|
43942
|
-
className:
|
|
43968
|
+
className: W3(
|
|
43943
43969
|
r,
|
|
43944
43970
|
ge.B("btn"),
|
|
43945
43971
|
ge.B("btn-icon"),
|
|
@@ -44100,15 +44126,16 @@ export {
|
|
|
44100
44126
|
l3 as bb,
|
|
44101
44127
|
wq as bc,
|
|
44102
44128
|
_2 as bd,
|
|
44103
|
-
|
|
44104
|
-
|
|
44105
|
-
|
|
44106
|
-
|
|
44107
|
-
|
|
44108
|
-
|
|
44109
|
-
|
|
44110
|
-
|
|
44111
|
-
|
|
44129
|
+
Au as be,
|
|
44130
|
+
wc as bf,
|
|
44131
|
+
Wfe as bg,
|
|
44132
|
+
Dfe as bh,
|
|
44133
|
+
ope as bi,
|
|
44134
|
+
upe as bj,
|
|
44135
|
+
jfe as bk,
|
|
44136
|
+
zL as bl,
|
|
44137
|
+
OL as bm,
|
|
44138
|
+
qce as bn,
|
|
44112
44139
|
Qle as c,
|
|
44113
44140
|
Dc as d,
|
|
44114
44141
|
vq as e,
|