@dxos/shell 0.4.10-main.8583d5a → 0.4.10-main.85f8e19
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/bundle/{index-BfViM1-u.mjs → index-BwBWiJrD.mjs} +38 -22
- package/dist/bundle/index-BwBWiJrD.mjs.map +1 -0
- package/dist/bundle/{index-Dp_iUHZM.mjs → index-D23Fh7uU.mjs} +661 -647
- package/dist/bundle/index-D23Fh7uU.mjs.map +1 -0
- package/dist/bundle/shell.mjs +2 -3
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +11 -11
- package/dist/bundle/shell.umd.js.map +1 -1
- package/dist/bundle/style.css +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.d.ts.map +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.js +2 -2
- package/dist/types/src/stories/Invitations.e2e-stories.js.map +1 -1
- package/package.json +22 -22
- package/src/stories/Invitations.e2e-stories.tsx +3 -3
- package/dist/bundle/index-BfViM1-u.mjs.map +0 -1
- package/dist/bundle/index-Dp_iUHZM.mjs.map +0 -1
|
@@ -4,7 +4,7 @@ import * as $7SXl2$reactdom from "react-dom";
|
|
|
4
4
|
import $7SXl2$reactdom__default, { flushSync } from "react-dom";
|
|
5
5
|
import { CaretDown, CaretRight, Minus, Check, Database, Power, Plus, Copy, ImageSquare, Palette, Compass, Desktop, Robot, DeviceMobile, Devices, DotsThree, Intersect, X, Placeholder, Warning, PlugsConnected, Plugs, CopySimple, QrCode, Textbox, UserPlus, UsersThree, Planet } from "@phosphor-icons/react";
|
|
6
6
|
import { SpaceMember as SpaceMember$1, useMembers, useSpaceInvitations, useSpace } from "@dxos/react-client/echo";
|
|
7
|
-
import { useClient as useClient$1, useAgentHostingProviderClient, AlreadyJoinedError, useMulticastObservable, useConfig, ShellLayout as ShellLayout$1, ShellDisplay as ShellDisplay$1, ClientServicesProxy as ClientServicesProxy$1, Client, ClientContext as ClientContext$1, SystemStatus as SystemStatus$1, Config as Config$1 } from "@dxos/react-client";
|
|
7
|
+
import { useClient as useClient$1, useAgentHostingProviderClient, AlreadyJoinedError, useMulticastObservable as useMulticastObservable$1, useConfig, ShellLayout as ShellLayout$1, ShellDisplay as ShellDisplay$1, ClientServicesProxy as ClientServicesProxy$1, Client, ClientContext as ClientContext$1, SystemStatus as SystemStatus$1, Config as Config$1 } from "@dxos/react-client";
|
|
8
8
|
import { DeviceKind as DeviceKind$1, Device as Device$1, DeviceType, useHaloInvitations, useDevices, useIdentity } from "@dxos/react-client/halo";
|
|
9
9
|
import { InvitationEncoder, clientServiceBundle, DEFAULT_VAULT_URL, DEFAULT_INTERNAL_CHANNEL, PROXY_CONNECTION_TIMEOUT, DEFAULT_SHELL_CHANNEL, getProfilePath, DX_RUNTIME, shellServiceBundle, appServiceBundle, DEFAULT_CLIENT_CHANNEL } from "@dxos/client-protocol";
|
|
10
10
|
import "@dxos/client";
|
|
@@ -1683,8 +1683,8 @@ var checkedLoadedFor = {}, Translator = function($) {
|
|
|
1683
1683
|
Ue.push(He[Ie]);
|
|
1684
1684
|
else
|
|
1685
1685
|
this.options.saveMissingTo === "all" ? Ue = this.languageUtils.toResolveHierarchy(K.lng || this.language) : Ue.push(K.lng || this.language);
|
|
1686
|
-
var Re = function(be, ye,
|
|
1687
|
-
var Ye = at &&
|
|
1686
|
+
var Re = function(be, ye, Le) {
|
|
1687
|
+
var Ye = at && Le !== ce ? Le : qe;
|
|
1688
1688
|
J.options.missingKeyHandler ? J.options.missingKeyHandler(be, re, ye, Ye, nt, K) : J.backendConnector && J.backendConnector.saveMissing && J.backendConnector.saveMissing(be, re, ye, Ye, nt, K), J.emit("missingKey", be, re, ye, ce);
|
|
1689
1689
|
};
|
|
1690
1690
|
this.options.saveMissing && (this.options.saveMissingPlurals && lt ? Ue.forEach(function(Te) {
|
|
@@ -6241,7 +6241,7 @@ const $cf1ac5d9fe0e8206$var$POPPER_NAME$1 = "Popper", [$cf1ac5d9fe0e8206$var$cre
|
|
|
6241
6241
|
mt,
|
|
6242
6242
|
Re
|
|
6243
6243
|
]);
|
|
6244
|
-
const Te = (G = Ue.arrow) === null || G === void 0 ? void 0 : G.x, be = (K = Ue.arrow) === null || K === void 0 ? void 0 : K.y, ye = ((Y = Ue.arrow) === null || Y === void 0 ? void 0 : Y.centerOffset) !== 0, [
|
|
6244
|
+
const Te = (G = Ue.arrow) === null || G === void 0 ? void 0 : G.x, be = (K = Ue.arrow) === null || K === void 0 ? void 0 : K.y, ye = ((Y = Ue.arrow) === null || Y === void 0 ? void 0 : Y.centerOffset) !== 0, [Le, Ye] = useState();
|
|
6245
6245
|
return $9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
6246
6246
|
$e && Ye(window.getComputedStyle($e).zIndex);
|
|
6247
6247
|
}, [
|
|
@@ -6254,7 +6254,7 @@ const $cf1ac5d9fe0e8206$var$POPPER_NAME$1 = "Popper", [$cf1ac5d9fe0e8206$var$cre
|
|
|
6254
6254
|
transform: mt ? qe.transform : "translate(0, -200%)",
|
|
6255
6255
|
// keep off the page when measuring
|
|
6256
6256
|
minWidth: "max-content",
|
|
6257
|
-
zIndex:
|
|
6257
|
+
zIndex: Le,
|
|
6258
6258
|
"--radix-popper-transform-origin": [
|
|
6259
6259
|
(J = Ue.transformOrigin) === null || J === void 0 ? void 0 : J.x,
|
|
6260
6260
|
(Z = Ue.transformOrigin) === null || Z === void 0 ? void 0 : Z.y
|
|
@@ -7658,8 +7658,8 @@ function requireReactJsxRuntime_development() {
|
|
|
7658
7658
|
{
|
|
7659
7659
|
var Et = le.ReactDebugCurrentFrame, Rt = Et.getStackAddendum();
|
|
7660
7660
|
Rt !== "" && (ot += "%s", dt = dt.concat([Rt]));
|
|
7661
|
-
var Bt = dt.map(function(
|
|
7662
|
-
return String(
|
|
7661
|
+
var Bt = dt.map(function(Lt) {
|
|
7662
|
+
return String(Lt);
|
|
7663
7663
|
});
|
|
7664
7664
|
Bt.unshift("Warning: " + ot), Function.prototype.apply.call(console[Ne], console, Bt);
|
|
7665
7665
|
}
|
|
@@ -7718,9 +7718,9 @@ function requireReactJsxRuntime_development() {
|
|
|
7718
7718
|
var Et = Ne.displayName || null;
|
|
7719
7719
|
return Et !== null ? Et : Be(Ne.type) || "Memo";
|
|
7720
7720
|
case ne: {
|
|
7721
|
-
var Rt = Ne, Bt = Rt._payload,
|
|
7721
|
+
var Rt = Ne, Bt = Rt._payload, Lt = Rt._init;
|
|
7722
7722
|
try {
|
|
7723
|
-
return Be(
|
|
7723
|
+
return Be(Lt(Bt));
|
|
7724
7724
|
} catch {
|
|
7725
7725
|
return null;
|
|
7726
7726
|
}
|
|
@@ -7825,27 +7825,27 @@ function requireReactJsxRuntime_development() {
|
|
|
7825
7825
|
Bt = Ue.current, Ue.current = null, nt();
|
|
7826
7826
|
try {
|
|
7827
7827
|
if (ot) {
|
|
7828
|
-
var
|
|
7828
|
+
var Lt = function() {
|
|
7829
7829
|
throw Error();
|
|
7830
7830
|
};
|
|
7831
|
-
if (Object.defineProperty(
|
|
7831
|
+
if (Object.defineProperty(Lt.prototype, "props", {
|
|
7832
7832
|
set: function() {
|
|
7833
7833
|
throw Error();
|
|
7834
7834
|
}
|
|
7835
7835
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
7836
7836
|
try {
|
|
7837
|
-
Reflect.construct(
|
|
7837
|
+
Reflect.construct(Lt, []);
|
|
7838
7838
|
} catch (dn) {
|
|
7839
7839
|
Et = dn;
|
|
7840
7840
|
}
|
|
7841
|
-
Reflect.construct(Ne, [],
|
|
7841
|
+
Reflect.construct(Ne, [], Lt);
|
|
7842
7842
|
} else {
|
|
7843
7843
|
try {
|
|
7844
|
-
|
|
7844
|
+
Lt.call();
|
|
7845
7845
|
} catch (dn) {
|
|
7846
7846
|
Et = dn;
|
|
7847
7847
|
}
|
|
7848
|
-
Ne.call(
|
|
7848
|
+
Ne.call(Lt.prototype);
|
|
7849
7849
|
}
|
|
7850
7850
|
} else {
|
|
7851
7851
|
try {
|
|
@@ -7880,7 +7880,7 @@ function requireReactJsxRuntime_development() {
|
|
|
7880
7880
|
var xn = Ne ? Ne.displayName || Ne.name : "", Yn = xn ? Ie(xn) : "";
|
|
7881
7881
|
return typeof Ne == "function" && Te.set(Ne, Yn), Yn;
|
|
7882
7882
|
}
|
|
7883
|
-
function
|
|
7883
|
+
function Le(Ne, ot, dt) {
|
|
7884
7884
|
return ye(Ne, !1);
|
|
7885
7885
|
}
|
|
7886
7886
|
function Ye(Ne) {
|
|
@@ -7903,7 +7903,7 @@ function requireReactJsxRuntime_development() {
|
|
|
7903
7903
|
if (typeof Ne == "object")
|
|
7904
7904
|
switch (Ne.$$typeof) {
|
|
7905
7905
|
case Z:
|
|
7906
|
-
return
|
|
7906
|
+
return Le(Ne.render);
|
|
7907
7907
|
case te:
|
|
7908
7908
|
return ct(Ne.type, ot, dt);
|
|
7909
7909
|
case ne: {
|
|
@@ -7927,19 +7927,19 @@ function requireReactJsxRuntime_development() {
|
|
|
7927
7927
|
function Ut(Ne, ot, dt, Et, Rt) {
|
|
7928
7928
|
{
|
|
7929
7929
|
var Bt = Function.call.bind(ut);
|
|
7930
|
-
for (var
|
|
7931
|
-
if (Bt(Ne,
|
|
7930
|
+
for (var Lt in Ne)
|
|
7931
|
+
if (Bt(Ne, Lt)) {
|
|
7932
7932
|
var Ot = void 0;
|
|
7933
7933
|
try {
|
|
7934
|
-
if (typeof Ne[
|
|
7935
|
-
var Zt = Error((Et || "React class") + ": " + dt + " type `" +
|
|
7934
|
+
if (typeof Ne[Lt] != "function") {
|
|
7935
|
+
var Zt = Error((Et || "React class") + ": " + dt + " type `" + Lt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof Ne[Lt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
7936
7936
|
throw Zt.name = "Invariant Violation", Zt;
|
|
7937
7937
|
}
|
|
7938
|
-
Ot = Ne[
|
|
7938
|
+
Ot = Ne[Lt](ot, Lt, Et, dt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
7939
7939
|
} catch (Qt) {
|
|
7940
7940
|
Ot = Qt;
|
|
7941
7941
|
}
|
|
7942
|
-
Ot && !(Ot instanceof Error) && (it(Rt), ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Et || "React class", dt,
|
|
7942
|
+
Ot && !(Ot instanceof Error) && (it(Rt), ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Et || "React class", dt, Lt, typeof Ot), it(null)), Ot instanceof Error && !(Ot.message in wt) && (wt[Ot.message] = !0, it(Rt), ce("Failed %s type: %s", dt, Ot.message), it(null));
|
|
7943
7943
|
}
|
|
7944
7944
|
}
|
|
7945
7945
|
}
|
|
@@ -8018,7 +8018,7 @@ function requireReactJsxRuntime_development() {
|
|
|
8018
8018
|
});
|
|
8019
8019
|
}
|
|
8020
8020
|
}
|
|
8021
|
-
var Pt = function(Ne, ot, dt, Et, Rt, Bt,
|
|
8021
|
+
var Pt = function(Ne, ot, dt, Et, Rt, Bt, Lt) {
|
|
8022
8022
|
var Ot = {
|
|
8023
8023
|
// This tag allows us to uniquely identify this as a React Element
|
|
8024
8024
|
$$typeof: I,
|
|
@@ -8026,7 +8026,7 @@ function requireReactJsxRuntime_development() {
|
|
|
8026
8026
|
type: Ne,
|
|
8027
8027
|
key: ot,
|
|
8028
8028
|
ref: dt,
|
|
8029
|
-
props:
|
|
8029
|
+
props: Lt,
|
|
8030
8030
|
// Record the component responsible for creating this element.
|
|
8031
8031
|
_owner: Bt
|
|
8032
8032
|
};
|
|
@@ -8049,20 +8049,20 @@ function requireReactJsxRuntime_development() {
|
|
|
8049
8049
|
};
|
|
8050
8050
|
function At(Ne, ot, dt, Et, Rt) {
|
|
8051
8051
|
{
|
|
8052
|
-
var Bt,
|
|
8052
|
+
var Bt, Lt = {}, Ot = null, Zt = null;
|
|
8053
8053
|
dt !== void 0 && (zt(dt), Ot = "" + dt), De(ot) && (zt(ot.key), Ot = "" + ot.key), Se(ot) && (Zt = ot.ref, _t(ot, Rt));
|
|
8054
8054
|
for (Bt in ot)
|
|
8055
|
-
ut.call(ot, Bt) && !ie.hasOwnProperty(Bt) && (
|
|
8055
|
+
ut.call(ot, Bt) && !ie.hasOwnProperty(Bt) && (Lt[Bt] = ot[Bt]);
|
|
8056
8056
|
if (Ne && Ne.defaultProps) {
|
|
8057
8057
|
var Qt = Ne.defaultProps;
|
|
8058
8058
|
for (Bt in Qt)
|
|
8059
|
-
|
|
8059
|
+
Lt[Bt] === void 0 && (Lt[Bt] = Qt[Bt]);
|
|
8060
8060
|
}
|
|
8061
8061
|
if (Ot || Zt) {
|
|
8062
8062
|
var Yt = typeof Ne == "function" ? Ne.displayName || Ne.name || "Unknown" : Ne;
|
|
8063
|
-
Ot && Dt(
|
|
8063
|
+
Ot && Dt(Lt, Yt), Zt && Tt(Lt, Yt);
|
|
8064
8064
|
}
|
|
8065
|
-
return Pt(Ne, Ot, Zt, Rt, Et, de.current,
|
|
8065
|
+
return Pt(Ne, Ot, Zt, Rt, Et, de.current, Lt);
|
|
8066
8066
|
}
|
|
8067
8067
|
}
|
|
8068
8068
|
var Sn = le.ReactCurrentOwner, bn = le.ReactDebugCurrentFrame;
|
|
@@ -8141,8 +8141,8 @@ Check the top-level render call using <` + dt + ">.");
|
|
|
8141
8141
|
else if (Ne) {
|
|
8142
8142
|
var Rt = fe(Ne);
|
|
8143
8143
|
if (typeof Rt == "function" && Rt !== Ne.entries)
|
|
8144
|
-
for (var Bt = Rt.call(Ne),
|
|
8145
|
-
Tn(
|
|
8144
|
+
for (var Bt = Rt.call(Ne), Lt; !(Lt = Bt.next()).done; )
|
|
8145
|
+
Tn(Lt.value) && Nn(Lt.value, ot);
|
|
8146
8146
|
}
|
|
8147
8147
|
}
|
|
8148
8148
|
}
|
|
@@ -8185,8 +8185,8 @@ Check the top-level render call using <` + dt + ">.");
|
|
|
8185
8185
|
}
|
|
8186
8186
|
function _n(Ne, ot, dt, Et, Rt, Bt) {
|
|
8187
8187
|
{
|
|
8188
|
-
var
|
|
8189
|
-
if (!
|
|
8188
|
+
var Lt = Ce(Ne);
|
|
8189
|
+
if (!Lt) {
|
|
8190
8190
|
var Ot = "";
|
|
8191
8191
|
(Ne === void 0 || typeof Ne == "object" && Ne !== null && Object.keys(Ne).length === 0) && (Ot += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
8192
8192
|
var Zt = Pn(Rt);
|
|
@@ -8197,7 +8197,7 @@ Check the top-level render call using <` + dt + ">.");
|
|
|
8197
8197
|
var Yt = At(Ne, ot, dt, Rt, Bt);
|
|
8198
8198
|
if (Yt == null)
|
|
8199
8199
|
return Yt;
|
|
8200
|
-
if (
|
|
8200
|
+
if (Lt) {
|
|
8201
8201
|
var sn = ot.children;
|
|
8202
8202
|
if (sn !== void 0)
|
|
8203
8203
|
if (Et)
|
|
@@ -10836,10 +10836,10 @@ var __create = Object.create, __defProp$1 = Object.defineProperty, __getOwnPropD
|
|
|
10836
10836
|
return ae(it, Q);
|
|
10837
10837
|
}
|
|
10838
10838
|
$.isNumberObject = ye;
|
|
10839
|
-
function
|
|
10839
|
+
function Le(it) {
|
|
10840
10840
|
return ae(it, ee);
|
|
10841
10841
|
}
|
|
10842
|
-
$.isStringObject =
|
|
10842
|
+
$.isStringObject = Le;
|
|
10843
10843
|
function Ye(it) {
|
|
10844
10844
|
return ae(it, te);
|
|
10845
10845
|
}
|
|
@@ -10853,7 +10853,7 @@ var __create = Object.create, __defProp$1 = Object.defineProperty, __getOwnPropD
|
|
|
10853
10853
|
}
|
|
10854
10854
|
$.isSymbolObject = ut;
|
|
10855
10855
|
function wt(it) {
|
|
10856
|
-
return ye(it) ||
|
|
10856
|
+
return ye(it) || Le(it) || Ye(it) || ct(it) || ut(it);
|
|
10857
10857
|
}
|
|
10858
10858
|
$.isBoxedPrimitive = wt;
|
|
10859
10859
|
function St(it) {
|
|
@@ -11035,8 +11035,8 @@ var __create = Object.create, __defProp$1 = Object.defineProperty, __getOwnPropD
|
|
|
11035
11035
|
}
|
|
11036
11036
|
var Te = "", be = !1, ye = ["{", "}"];
|
|
11037
11037
|
if (fe(qe) && (be = !0, ye = ["[", "]"]), xe(qe)) {
|
|
11038
|
-
var
|
|
11039
|
-
Te = " [Function" +
|
|
11038
|
+
var Le = qe.name ? ": " + qe.name : "";
|
|
11039
|
+
Te = " [Function" + Le + "]";
|
|
11040
11040
|
}
|
|
11041
11041
|
if (_e(qe) && (Te = " " + RegExp.prototype.toString.call(qe)), Ce(qe) && (Te = " " + Date.prototype.toUTCString.call(qe)), Ee(qe) && (Te = " " + ne(qe)), He.length === 0 && (!be || qe.length == 0))
|
|
11042
11042
|
return ye[0] + Te + ye[1];
|
|
@@ -11998,13 +11998,13 @@ var require_base64_js = __commonJS({
|
|
|
11998
11998
|
}, J.prototype.readUint32BE = J.prototype.readUInt32BE = function(ie, oe) {
|
|
11999
11999
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] * 16777216 + (this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3]);
|
|
12000
12000
|
}, J.prototype.readBigUInt64LE = Ct(function(ie) {
|
|
12001
|
-
ie = ie >>> 0,
|
|
12001
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
12002
12002
|
const oe = this[ie], pe = this[ie + 7];
|
|
12003
12003
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12004
12004
|
const ke = oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24, Se = this[++ie] + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + pe * 2 ** 24;
|
|
12005
12005
|
return BigInt(ke) + (BigInt(Se) << BigInt(32));
|
|
12006
12006
|
}), J.prototype.readBigUInt64BE = Ct(function(ie) {
|
|
12007
|
-
ie = ie >>> 0,
|
|
12007
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
12008
12008
|
const oe = this[ie], pe = this[ie + 7];
|
|
12009
12009
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12010
12010
|
const ke = oe * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + this[++ie], Se = this[++ie] * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + pe;
|
|
@@ -12036,13 +12036,13 @@ var require_base64_js = __commonJS({
|
|
|
12036
12036
|
}, J.prototype.readInt32BE = function(ie, oe) {
|
|
12037
12037
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] << 24 | this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3];
|
|
12038
12038
|
}, J.prototype.readBigInt64LE = Ct(function(ie) {
|
|
12039
|
-
ie = ie >>> 0,
|
|
12039
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
12040
12040
|
const oe = this[ie], pe = this[ie + 7];
|
|
12041
12041
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12042
12042
|
const ke = this[ie + 4] + this[ie + 5] * 2 ** 8 + this[ie + 6] * 2 ** 16 + (pe << 24);
|
|
12043
12043
|
return (BigInt(ke) << BigInt(32)) + BigInt(oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24);
|
|
12044
12044
|
}), J.prototype.readBigInt64BE = Ct(function(ie) {
|
|
12045
|
-
ie = ie >>> 0,
|
|
12045
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
12046
12046
|
const oe = this[ie], pe = this[ie + 7];
|
|
12047
12047
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12048
12048
|
const ke = (oe << 24) + // Overflow
|
|
@@ -12268,7 +12268,7 @@ var require_base64_js = __commonJS({
|
|
|
12268
12268
|
return `${de.slice(0, oe)}${ie}`;
|
|
12269
12269
|
}
|
|
12270
12270
|
function be(de, ie, oe) {
|
|
12271
|
-
|
|
12271
|
+
Le(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
|
|
12272
12272
|
}
|
|
12273
12273
|
function ye(de, ie, oe, pe, ke, Se) {
|
|
12274
12274
|
if (de > oe || de < ie) {
|
|
@@ -12278,12 +12278,12 @@ var require_base64_js = __commonJS({
|
|
|
12278
12278
|
}
|
|
12279
12279
|
be(pe, ke, Se);
|
|
12280
12280
|
}
|
|
12281
|
-
function
|
|
12281
|
+
function Le(de, ie) {
|
|
12282
12282
|
if (typeof de != "number")
|
|
12283
12283
|
throw new Ie.ERR_INVALID_ARG_TYPE(ie, "number", de);
|
|
12284
12284
|
}
|
|
12285
12285
|
function Ye(de, ie, oe) {
|
|
12286
|
-
throw Math.floor(de) !== de ? (
|
|
12286
|
+
throw Math.floor(de) !== de ? (Le(de, oe), new Ie.ERR_OUT_OF_RANGE(oe || "offset", "an integer", de)) : ie < 0 ? new Ie.ERR_BUFFER_OUT_OF_BOUNDS() : new Ie.ERR_OUT_OF_RANGE(
|
|
12287
12287
|
oe || "offset",
|
|
12288
12288
|
`>= ${oe ? 1 : 0} and <= ${ie}`,
|
|
12289
12289
|
de
|
|
@@ -12435,35 +12435,35 @@ lodash_defaultsdeep.exports;
|
|
|
12435
12435
|
} catch {
|
|
12436
12436
|
}
|
|
12437
12437
|
}(), ye = be && be.isTypedArray;
|
|
12438
|
-
function
|
|
12438
|
+
function Le(we, Me, Ze) {
|
|
12439
12439
|
switch (Ze.length) {
|
|
12440
12440
|
case 0:
|
|
12441
|
-
return we.call(
|
|
12441
|
+
return we.call(Me);
|
|
12442
12442
|
case 1:
|
|
12443
|
-
return we.call(
|
|
12443
|
+
return we.call(Me, Ze[0]);
|
|
12444
12444
|
case 2:
|
|
12445
|
-
return we.call(
|
|
12445
|
+
return we.call(Me, Ze[0], Ze[1]);
|
|
12446
12446
|
case 3:
|
|
12447
|
-
return we.call(
|
|
12447
|
+
return we.call(Me, Ze[0], Ze[1], Ze[2]);
|
|
12448
12448
|
}
|
|
12449
|
-
return we.apply(
|
|
12449
|
+
return we.apply(Me, Ze);
|
|
12450
12450
|
}
|
|
12451
|
-
function Ye(we,
|
|
12451
|
+
function Ye(we, Me) {
|
|
12452
12452
|
for (var Ze = -1, $t = Array(we); ++Ze < we; )
|
|
12453
|
-
$t[Ze] =
|
|
12453
|
+
$t[Ze] = Me(Ze);
|
|
12454
12454
|
return $t;
|
|
12455
12455
|
}
|
|
12456
12456
|
function ct(we) {
|
|
12457
|
-
return function(
|
|
12458
|
-
return we(
|
|
12457
|
+
return function(Me) {
|
|
12458
|
+
return we(Me);
|
|
12459
12459
|
};
|
|
12460
12460
|
}
|
|
12461
|
-
function ut(we,
|
|
12462
|
-
return we == null ? void 0 : we[
|
|
12461
|
+
function ut(we, Me) {
|
|
12462
|
+
return we == null ? void 0 : we[Me];
|
|
12463
12463
|
}
|
|
12464
|
-
function wt(we,
|
|
12464
|
+
function wt(we, Me) {
|
|
12465
12465
|
return function(Ze) {
|
|
12466
|
-
return we(
|
|
12466
|
+
return we(Me(Ze));
|
|
12467
12467
|
};
|
|
12468
12468
|
}
|
|
12469
12469
|
var St = Array.prototype, it = Function.prototype, Ut = Object.prototype, Kt = Ue["__core-js_shared__"], It = it.toString, Ht = Ut.hasOwnProperty, rn = function() {
|
|
@@ -12480,20 +12480,20 @@ lodash_defaultsdeep.exports;
|
|
|
12480
12480
|
}(), At = ie ? ie.isBuffer : void 0, Sn = Math.max, bn = Date.now, vn = kt(Ue, "Map"), mn = kt(Object, "create"), Tn = /* @__PURE__ */ function() {
|
|
12481
12481
|
function we() {
|
|
12482
12482
|
}
|
|
12483
|
-
return function(
|
|
12484
|
-
if (!en(
|
|
12483
|
+
return function(Me) {
|
|
12484
|
+
if (!en(Me))
|
|
12485
12485
|
return {};
|
|
12486
12486
|
if (De)
|
|
12487
|
-
return De(
|
|
12488
|
-
we.prototype =
|
|
12487
|
+
return De(Me);
|
|
12488
|
+
we.prototype = Me;
|
|
12489
12489
|
var Ze = new we();
|
|
12490
12490
|
return we.prototype = void 0, Ze;
|
|
12491
12491
|
};
|
|
12492
12492
|
}();
|
|
12493
12493
|
function un(we) {
|
|
12494
|
-
var
|
|
12495
|
-
for (this.clear(); ++
|
|
12496
|
-
var $t = we[
|
|
12494
|
+
var Me = -1, Ze = we == null ? 0 : we.length;
|
|
12495
|
+
for (this.clear(); ++Me < Ze; ) {
|
|
12496
|
+
var $t = we[Me];
|
|
12497
12497
|
this.set($t[0], $t[1]);
|
|
12498
12498
|
}
|
|
12499
12499
|
}
|
|
@@ -12501,30 +12501,30 @@ lodash_defaultsdeep.exports;
|
|
|
12501
12501
|
this.__data__ = mn ? mn(null) : {}, this.size = 0;
|
|
12502
12502
|
}
|
|
12503
12503
|
function $n(we) {
|
|
12504
|
-
var
|
|
12505
|
-
return this.size -=
|
|
12504
|
+
var Me = this.has(we) && delete this.__data__[we];
|
|
12505
|
+
return this.size -= Me ? 1 : 0, Me;
|
|
12506
12506
|
}
|
|
12507
12507
|
function Vn(we) {
|
|
12508
|
-
var
|
|
12508
|
+
var Me = this.__data__;
|
|
12509
12509
|
if (mn) {
|
|
12510
|
-
var Ze =
|
|
12510
|
+
var Ze = Me[we];
|
|
12511
12511
|
return Ze === q ? void 0 : Ze;
|
|
12512
12512
|
}
|
|
12513
|
-
return Ht.call(
|
|
12513
|
+
return Ht.call(Me, we) ? Me[we] : void 0;
|
|
12514
12514
|
}
|
|
12515
12515
|
function Nn(we) {
|
|
12516
|
-
var
|
|
12517
|
-
return mn ?
|
|
12516
|
+
var Me = this.__data__;
|
|
12517
|
+
return mn ? Me[we] !== void 0 : Ht.call(Me, we);
|
|
12518
12518
|
}
|
|
12519
|
-
function Fn(we,
|
|
12519
|
+
function Fn(we, Me) {
|
|
12520
12520
|
var Ze = this.__data__;
|
|
12521
|
-
return this.size += this.has(we) ? 0 : 1, Ze[we] = mn &&
|
|
12521
|
+
return this.size += this.has(we) ? 0 : 1, Ze[we] = mn && Me === void 0 ? q : Me, this;
|
|
12522
12522
|
}
|
|
12523
12523
|
un.prototype.clear = Pn, un.prototype.delete = $n, un.prototype.get = Vn, un.prototype.has = Nn, un.prototype.set = Fn;
|
|
12524
12524
|
function ln(we) {
|
|
12525
|
-
var
|
|
12526
|
-
for (this.clear(); ++
|
|
12527
|
-
var $t = we[
|
|
12525
|
+
var Me = -1, Ze = we == null ? 0 : we.length;
|
|
12526
|
+
for (this.clear(); ++Me < Ze; ) {
|
|
12527
|
+
var $t = we[Me];
|
|
12528
12528
|
this.set($t[0], $t[1]);
|
|
12529
12529
|
}
|
|
12530
12530
|
}
|
|
@@ -12532,28 +12532,28 @@ lodash_defaultsdeep.exports;
|
|
|
12532
12532
|
this.__data__ = [], this.size = 0;
|
|
12533
12533
|
}
|
|
12534
12534
|
function _n(we) {
|
|
12535
|
-
var
|
|
12535
|
+
var Me = this.__data__, Ze = dn(Me, we);
|
|
12536
12536
|
if (Ze < 0)
|
|
12537
12537
|
return !1;
|
|
12538
|
-
var $t =
|
|
12539
|
-
return Ze == $t ?
|
|
12538
|
+
var $t = Me.length - 1;
|
|
12539
|
+
return Ze == $t ? Me.pop() : Dt.call(Me, Ze, 1), --this.size, !0;
|
|
12540
12540
|
}
|
|
12541
12541
|
function Kn(we) {
|
|
12542
|
-
var
|
|
12543
|
-
return Ze < 0 ? void 0 :
|
|
12542
|
+
var Me = this.__data__, Ze = dn(Me, we);
|
|
12543
|
+
return Ze < 0 ? void 0 : Me[Ze][1];
|
|
12544
12544
|
}
|
|
12545
12545
|
function We(we) {
|
|
12546
12546
|
return dn(this.__data__, we) > -1;
|
|
12547
12547
|
}
|
|
12548
|
-
function vt(we,
|
|
12548
|
+
function vt(we, Me) {
|
|
12549
12549
|
var Ze = this.__data__, $t = dn(Ze, we);
|
|
12550
|
-
return $t < 0 ? (++this.size, Ze.push([we,
|
|
12550
|
+
return $t < 0 ? (++this.size, Ze.push([we, Me])) : Ze[$t][1] = Me, this;
|
|
12551
12551
|
}
|
|
12552
12552
|
ln.prototype.clear = Gn, ln.prototype.delete = _n, ln.prototype.get = Kn, ln.prototype.has = We, ln.prototype.set = vt;
|
|
12553
12553
|
function xt(we) {
|
|
12554
|
-
var
|
|
12555
|
-
for (this.clear(); ++
|
|
12556
|
-
var $t = we[
|
|
12554
|
+
var Me = -1, Ze = we == null ? 0 : we.length;
|
|
12555
|
+
for (this.clear(); ++Me < Ze; ) {
|
|
12556
|
+
var $t = we[Me];
|
|
12557
12557
|
this.set($t[0], $t[1]);
|
|
12558
12558
|
}
|
|
12559
12559
|
}
|
|
@@ -12565,8 +12565,8 @@ lodash_defaultsdeep.exports;
|
|
|
12565
12565
|
};
|
|
12566
12566
|
}
|
|
12567
12567
|
function ot(we) {
|
|
12568
|
-
var
|
|
12569
|
-
return this.size -=
|
|
12568
|
+
var Me = bt(this, we).delete(we);
|
|
12569
|
+
return this.size -= Me ? 1 : 0, Me;
|
|
12570
12570
|
}
|
|
12571
12571
|
function dt(we) {
|
|
12572
12572
|
return bt(this, we).get(we);
|
|
@@ -12574,21 +12574,21 @@ lodash_defaultsdeep.exports;
|
|
|
12574
12574
|
function Et(we) {
|
|
12575
12575
|
return bt(this, we).has(we);
|
|
12576
12576
|
}
|
|
12577
|
-
function Rt(we,
|
|
12577
|
+
function Rt(we, Me) {
|
|
12578
12578
|
var Ze = bt(this, we), $t = Ze.size;
|
|
12579
|
-
return Ze.set(we,
|
|
12579
|
+
return Ze.set(we, Me), this.size += Ze.size == $t ? 0 : 1, this;
|
|
12580
12580
|
}
|
|
12581
12581
|
xt.prototype.clear = Ne, xt.prototype.delete = ot, xt.prototype.get = dt, xt.prototype.has = Et, xt.prototype.set = Rt;
|
|
12582
12582
|
function Bt(we) {
|
|
12583
|
-
var
|
|
12584
|
-
this.size =
|
|
12583
|
+
var Me = this.__data__ = new ln(we);
|
|
12584
|
+
this.size = Me.size;
|
|
12585
12585
|
}
|
|
12586
|
-
function
|
|
12586
|
+
function Lt() {
|
|
12587
12587
|
this.__data__ = new ln(), this.size = 0;
|
|
12588
12588
|
}
|
|
12589
12589
|
function Ot(we) {
|
|
12590
|
-
var
|
|
12591
|
-
return this.size =
|
|
12590
|
+
var Me = this.__data__, Ze = Me.delete(we);
|
|
12591
|
+
return this.size = Me.size, Ze;
|
|
12592
12592
|
}
|
|
12593
12593
|
function Zt(we) {
|
|
12594
12594
|
return this.__data__.get(we);
|
|
@@ -12596,51 +12596,51 @@ lodash_defaultsdeep.exports;
|
|
|
12596
12596
|
function Qt(we) {
|
|
12597
12597
|
return this.__data__.has(we);
|
|
12598
12598
|
}
|
|
12599
|
-
function Yt(we,
|
|
12599
|
+
function Yt(we, Me) {
|
|
12600
12600
|
var Ze = this.__data__;
|
|
12601
12601
|
if (Ze instanceof ln) {
|
|
12602
12602
|
var $t = Ze.__data__;
|
|
12603
12603
|
if (!vn || $t.length < U - 1)
|
|
12604
|
-
return $t.push([we,
|
|
12604
|
+
return $t.push([we, Me]), this.size = ++Ze.size, this;
|
|
12605
12605
|
Ze = this.__data__ = new xt($t);
|
|
12606
12606
|
}
|
|
12607
|
-
return Ze.set(we,
|
|
12607
|
+
return Ze.set(we, Me), this.size = Ze.size, this;
|
|
12608
12608
|
}
|
|
12609
|
-
Bt.prototype.clear =
|
|
12610
|
-
function sn(we,
|
|
12609
|
+
Bt.prototype.clear = Lt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
|
|
12610
|
+
function sn(we, Me) {
|
|
12611
12611
|
var Ze = yt(we), $t = !Ze && et(we), jt = !Ze && !$t && qt(we), Ft = !Ze && !$t && !jt && kn(we), Vt = Ze || $t || jt || Ft, Gt = Vt ? Ye(we.length, String) : [], Xt = Gt.length;
|
|
12612
12612
|
for (var En in we)
|
|
12613
|
-
(
|
|
12613
|
+
(Me || Ht.call(we, En)) && !(Vt && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
12614
12614
|
(En == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
12615
12615
|
jt && (En == "offset" || En == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
12616
12616
|
Ft && (En == "buffer" || En == "byteLength" || En == "byteOffset") || // Skip index properties.
|
|
12617
12617
|
Jt(En, Xt))) && Gt.push(En);
|
|
12618
12618
|
return Gt;
|
|
12619
12619
|
}
|
|
12620
|
-
function xn(we,
|
|
12621
|
-
(Ze !== void 0 && !Fe(we[
|
|
12620
|
+
function xn(we, Me, Ze) {
|
|
12621
|
+
(Ze !== void 0 && !Fe(we[Me], Ze) || Ze === void 0 && !(Me in we)) && Bn(we, Me, Ze);
|
|
12622
12622
|
}
|
|
12623
|
-
function Yn(we,
|
|
12624
|
-
var $t = we[
|
|
12625
|
-
(!(Ht.call(we,
|
|
12623
|
+
function Yn(we, Me, Ze) {
|
|
12624
|
+
var $t = we[Me];
|
|
12625
|
+
(!(Ht.call(we, Me) && Fe($t, Ze)) || Ze === void 0 && !(Me in we)) && Bn(we, Me, Ze);
|
|
12626
12626
|
}
|
|
12627
|
-
function dn(we,
|
|
12627
|
+
function dn(we, Me) {
|
|
12628
12628
|
for (var Ze = we.length; Ze--; )
|
|
12629
|
-
if (Fe(we[Ze][0],
|
|
12629
|
+
if (Fe(we[Ze][0], Me))
|
|
12630
12630
|
return Ze;
|
|
12631
12631
|
return -1;
|
|
12632
12632
|
}
|
|
12633
|
-
function Bn(we,
|
|
12634
|
-
|
|
12633
|
+
function Bn(we, Me, Ze) {
|
|
12634
|
+
Me == "__proto__" && Pt ? Pt(we, Me, {
|
|
12635
12635
|
configurable: !0,
|
|
12636
12636
|
enumerable: !0,
|
|
12637
12637
|
value: Ze,
|
|
12638
12638
|
writable: !0
|
|
12639
|
-
}) : we[
|
|
12639
|
+
}) : we[Me] = Ze;
|
|
12640
12640
|
}
|
|
12641
12641
|
var jn = pt();
|
|
12642
12642
|
function An(we) {
|
|
12643
|
-
return we == null ? we === void 0 ? ge : le : Tt && Tt in Object(we) ?
|
|
12643
|
+
return we == null ? we === void 0 ? ge : le : Tt && Tt in Object(we) ? Mt(we) : Zn(we);
|
|
12644
12644
|
}
|
|
12645
12645
|
function Un(we) {
|
|
12646
12646
|
return hn(we) && An(we) == J;
|
|
@@ -12648,8 +12648,8 @@ lodash_defaultsdeep.exports;
|
|
|
12648
12648
|
function Xn(we) {
|
|
12649
12649
|
if (!en(we) || cn(we))
|
|
12650
12650
|
return !1;
|
|
12651
|
-
var
|
|
12652
|
-
return
|
|
12651
|
+
var Me = pn(we) ? de : tt;
|
|
12652
|
+
return Me.test(qn(we));
|
|
12653
12653
|
}
|
|
12654
12654
|
function nr(we) {
|
|
12655
12655
|
return hn(we) && an(we.length) && !!qe[An(we)];
|
|
@@ -12657,173 +12657,173 @@ lodash_defaultsdeep.exports;
|
|
|
12657
12657
|
function rr(we) {
|
|
12658
12658
|
if (!en(we))
|
|
12659
12659
|
return Hn(we);
|
|
12660
|
-
var
|
|
12660
|
+
var Me = wn(we), Ze = [];
|
|
12661
12661
|
for (var $t in we)
|
|
12662
|
-
$t == "constructor" && (
|
|
12662
|
+
$t == "constructor" && (Me || !Ht.call(we, $t)) || Ze.push($t);
|
|
12663
12663
|
return Ze;
|
|
12664
12664
|
}
|
|
12665
|
-
function zn(we,
|
|
12666
|
-
we !==
|
|
12665
|
+
function zn(we, Me, Ze, $t, jt) {
|
|
12666
|
+
we !== Me && jn(Me, function(Ft, Vt) {
|
|
12667
12667
|
if (jt || (jt = new Bt()), en(Ft))
|
|
12668
|
-
ir(we,
|
|
12668
|
+
ir(we, Me, Vt, Ze, zn, $t, jt);
|
|
12669
12669
|
else {
|
|
12670
|
-
var Gt = $t ? $t(
|
|
12670
|
+
var Gt = $t ? $t(Mn(we, Vt), Ft, Vt + "", we, Me, jt) : void 0;
|
|
12671
12671
|
Gt === void 0 && (Gt = Ft), xn(we, Vt, Gt);
|
|
12672
12672
|
}
|
|
12673
12673
|
}, Cn);
|
|
12674
12674
|
}
|
|
12675
|
-
function ir(we,
|
|
12676
|
-
var Gt =
|
|
12675
|
+
function ir(we, Me, Ze, $t, jt, Ft, Vt) {
|
|
12676
|
+
var Gt = Mn(we, Ze), Xt = Mn(Me, Ze), En = Vt.get(Xt);
|
|
12677
12677
|
if (En) {
|
|
12678
12678
|
xn(we, Ze, En);
|
|
12679
12679
|
return;
|
|
12680
12680
|
}
|
|
12681
|
-
var Rn = Ft ? Ft(Gt, Xt, Ze + "", we,
|
|
12681
|
+
var Rn = Ft ? Ft(Gt, Xt, Ze + "", we, Me, Vt) : void 0, er = Rn === void 0;
|
|
12682
12682
|
if (er) {
|
|
12683
12683
|
var cr = yt(Xt), hr = !cr && qt(Xt), mr = !cr && !hr && kn(Xt);
|
|
12684
12684
|
Rn = Xt, cr || hr || mr ? yt(Gt) ? Rn = Gt : nn(Gt) ? Rn = Qe(Gt) : hr ? (er = !1, Rn = Ve(Xt, !0)) : mr ? (er = !1, Rn = Je(Xt, !0)) : Rn = [] : yn(Xt) || et(Xt) ? (Rn = Gt, et(Gt) ? Rn = gn(Gt) : (!en(Gt) || pn(Gt)) && (Rn = Wt(Xt))) : er = !1;
|
|
12685
12685
|
}
|
|
12686
12686
|
er && (Vt.set(Xt, Rn), jt(Rn, Xt, $t, Ft, Vt), Vt.delete(Xt)), xn(we, Ze, Rn);
|
|
12687
12687
|
}
|
|
12688
|
-
function tr(we,
|
|
12689
|
-
return sr(Wn(we,
|
|
12688
|
+
function tr(we, Me) {
|
|
12689
|
+
return sr(Wn(we, Me, Pe), we + "");
|
|
12690
12690
|
}
|
|
12691
|
-
var Ae = Pt ? function(we,
|
|
12691
|
+
var Ae = Pt ? function(we, Me) {
|
|
12692
12692
|
return Pt(we, "toString", {
|
|
12693
12693
|
configurable: !0,
|
|
12694
12694
|
enumerable: !1,
|
|
12695
|
-
value: Dn(
|
|
12695
|
+
value: Dn(Me),
|
|
12696
12696
|
writable: !0
|
|
12697
12697
|
});
|
|
12698
12698
|
} : Pe;
|
|
12699
|
-
function Ve(we,
|
|
12700
|
-
if (
|
|
12699
|
+
function Ve(we, Me) {
|
|
12700
|
+
if (Me)
|
|
12701
12701
|
return we.slice();
|
|
12702
12702
|
var Ze = we.length, $t = ke ? ke(Ze) : new we.constructor(Ze);
|
|
12703
12703
|
return we.copy($t), $t;
|
|
12704
12704
|
}
|
|
12705
12705
|
function Oe(we) {
|
|
12706
|
-
var
|
|
12707
|
-
return new pe(
|
|
12706
|
+
var Me = new we.constructor(we.byteLength);
|
|
12707
|
+
return new pe(Me).set(new pe(we)), Me;
|
|
12708
12708
|
}
|
|
12709
|
-
function Je(we,
|
|
12710
|
-
var Ze =
|
|
12709
|
+
function Je(we, Me) {
|
|
12710
|
+
var Ze = Me ? Oe(we.buffer) : we.buffer;
|
|
12711
12711
|
return new we.constructor(Ze, we.byteOffset, we.length);
|
|
12712
12712
|
}
|
|
12713
|
-
function Qe(we,
|
|
12713
|
+
function Qe(we, Me) {
|
|
12714
12714
|
var Ze = -1, $t = we.length;
|
|
12715
|
-
for (
|
|
12716
|
-
|
|
12717
|
-
return
|
|
12715
|
+
for (Me || (Me = Array($t)); ++Ze < $t; )
|
|
12716
|
+
Me[Ze] = we[Ze];
|
|
12717
|
+
return Me;
|
|
12718
12718
|
}
|
|
12719
|
-
function Ke(we,
|
|
12719
|
+
function Ke(we, Me, Ze, $t) {
|
|
12720
12720
|
var jt = !Ze;
|
|
12721
12721
|
Ze || (Ze = {});
|
|
12722
|
-
for (var Ft = -1, Vt =
|
|
12723
|
-
var Gt =
|
|
12722
|
+
for (var Ft = -1, Vt = Me.length; ++Ft < Vt; ) {
|
|
12723
|
+
var Gt = Me[Ft], Xt = $t ? $t(Ze[Gt], we[Gt], Gt, Ze, we) : void 0;
|
|
12724
12724
|
Xt === void 0 && (Xt = we[Gt]), jt ? Bn(Ze, Gt, Xt) : Yn(Ze, Gt, Xt);
|
|
12725
12725
|
}
|
|
12726
12726
|
return Ze;
|
|
12727
12727
|
}
|
|
12728
12728
|
function ft(we) {
|
|
12729
|
-
return tr(function(
|
|
12729
|
+
return tr(function(Me, Ze) {
|
|
12730
12730
|
var $t = -1, jt = Ze.length, Ft = jt > 1 ? Ze[jt - 1] : void 0, Vt = jt > 2 ? Ze[2] : void 0;
|
|
12731
|
-
for (Ft = we.length > 3 && typeof Ft == "function" ? (jt--, Ft) : void 0, Vt && tn(Ze[0], Ze[1], Vt) && (Ft = jt < 3 ? void 0 : Ft, jt = 1),
|
|
12731
|
+
for (Ft = we.length > 3 && typeof Ft == "function" ? (jt--, Ft) : void 0, Vt && tn(Ze[0], Ze[1], Vt) && (Ft = jt < 3 ? void 0 : Ft, jt = 1), Me = Object(Me); ++$t < jt; ) {
|
|
12732
12732
|
var Gt = Ze[$t];
|
|
12733
|
-
Gt && we(
|
|
12733
|
+
Gt && we(Me, Gt, $t, Ft);
|
|
12734
12734
|
}
|
|
12735
|
-
return
|
|
12735
|
+
return Me;
|
|
12736
12736
|
});
|
|
12737
12737
|
}
|
|
12738
12738
|
function pt(we) {
|
|
12739
|
-
return function(
|
|
12740
|
-
for (var jt = -1, Ft = Object(
|
|
12739
|
+
return function(Me, Ze, $t) {
|
|
12740
|
+
for (var jt = -1, Ft = Object(Me), Vt = $t(Me), Gt = Vt.length; Gt--; ) {
|
|
12741
12741
|
var Xt = Vt[we ? Gt : ++jt];
|
|
12742
12742
|
if (Ze(Ft[Xt], Xt, Ft) === !1)
|
|
12743
12743
|
break;
|
|
12744
12744
|
}
|
|
12745
|
-
return
|
|
12745
|
+
return Me;
|
|
12746
12746
|
};
|
|
12747
12747
|
}
|
|
12748
|
-
function gt(we,
|
|
12749
|
-
return en(we) && en(
|
|
12748
|
+
function gt(we, Me, Ze, $t, jt, Ft) {
|
|
12749
|
+
return en(we) && en(Me) && (Ft.set(Me, we), zn(we, Me, void 0, gt, Ft), Ft.delete(Me)), we;
|
|
12750
12750
|
}
|
|
12751
|
-
function bt(we,
|
|
12751
|
+
function bt(we, Me) {
|
|
12752
12752
|
var Ze = we.__data__;
|
|
12753
|
-
return fn(
|
|
12753
|
+
return fn(Me) ? Ze[typeof Me == "string" ? "string" : "hash"] : Ze.map;
|
|
12754
12754
|
}
|
|
12755
|
-
function kt(we,
|
|
12756
|
-
var Ze = ut(we,
|
|
12755
|
+
function kt(we, Me) {
|
|
12756
|
+
var Ze = ut(we, Me);
|
|
12757
12757
|
return Xn(Ze) ? Ze : void 0;
|
|
12758
12758
|
}
|
|
12759
|
-
function
|
|
12760
|
-
var
|
|
12759
|
+
function Mt(we) {
|
|
12760
|
+
var Me = Ht.call(we, Tt), Ze = we[Tt];
|
|
12761
12761
|
try {
|
|
12762
12762
|
we[Tt] = void 0;
|
|
12763
12763
|
var $t = !0;
|
|
12764
12764
|
} catch {
|
|
12765
12765
|
}
|
|
12766
12766
|
var jt = Ct.call(we);
|
|
12767
|
-
return $t && (
|
|
12767
|
+
return $t && (Me ? we[Tt] = Ze : delete we[Tt]), jt;
|
|
12768
12768
|
}
|
|
12769
12769
|
function Wt(we) {
|
|
12770
12770
|
return typeof we.constructor == "function" && !wn(we) ? Tn(Se(we)) : {};
|
|
12771
12771
|
}
|
|
12772
|
-
function Jt(we,
|
|
12772
|
+
function Jt(we, Me) {
|
|
12773
12773
|
var Ze = typeof we;
|
|
12774
|
-
return
|
|
12774
|
+
return Me = Me ?? Y, !!Me && (Ze == "number" || Ze != "symbol" && ze.test(we)) && we > -1 && we % 1 == 0 && we < Me;
|
|
12775
12775
|
}
|
|
12776
|
-
function tn(we,
|
|
12776
|
+
function tn(we, Me, Ze) {
|
|
12777
12777
|
if (!en(Ze))
|
|
12778
12778
|
return !1;
|
|
12779
|
-
var $t = typeof
|
|
12780
|
-
return ($t == "number" ? Nt(Ze) && Jt(
|
|
12779
|
+
var $t = typeof Me;
|
|
12780
|
+
return ($t == "number" ? Nt(Ze) && Jt(Me, Ze.length) : $t == "string" && Me in Ze) ? Fe(Ze[Me], we) : !1;
|
|
12781
12781
|
}
|
|
12782
12782
|
function fn(we) {
|
|
12783
|
-
var
|
|
12784
|
-
return
|
|
12783
|
+
var Me = typeof we;
|
|
12784
|
+
return Me == "string" || Me == "number" || Me == "symbol" || Me == "boolean" ? we !== "__proto__" : we === null;
|
|
12785
12785
|
}
|
|
12786
12786
|
function cn(we) {
|
|
12787
12787
|
return !!rn && rn in we;
|
|
12788
12788
|
}
|
|
12789
12789
|
function wn(we) {
|
|
12790
|
-
var
|
|
12790
|
+
var Me = we && we.constructor, Ze = typeof Me == "function" && Me.prototype || Ut;
|
|
12791
12791
|
return we === Ze;
|
|
12792
12792
|
}
|
|
12793
12793
|
function Hn(we) {
|
|
12794
|
-
var
|
|
12794
|
+
var Me = [];
|
|
12795
12795
|
if (we != null)
|
|
12796
12796
|
for (var Ze in Object(we))
|
|
12797
|
-
|
|
12798
|
-
return
|
|
12797
|
+
Me.push(Ze);
|
|
12798
|
+
return Me;
|
|
12799
12799
|
}
|
|
12800
12800
|
function Zn(we) {
|
|
12801
12801
|
return Ct.call(we);
|
|
12802
12802
|
}
|
|
12803
|
-
function Wn(we,
|
|
12804
|
-
return
|
|
12805
|
-
for (var $t = arguments, jt = -1, Ft = Sn($t.length -
|
|
12806
|
-
Vt[jt] = $t[
|
|
12803
|
+
function Wn(we, Me, Ze) {
|
|
12804
|
+
return Me = Sn(Me === void 0 ? we.length - 1 : Me, 0), function() {
|
|
12805
|
+
for (var $t = arguments, jt = -1, Ft = Sn($t.length - Me, 0), Vt = Array(Ft); ++jt < Ft; )
|
|
12806
|
+
Vt[jt] = $t[Me + jt];
|
|
12807
12807
|
jt = -1;
|
|
12808
|
-
for (var Gt = Array(
|
|
12808
|
+
for (var Gt = Array(Me + 1); ++jt < Me; )
|
|
12809
12809
|
Gt[jt] = $t[jt];
|
|
12810
|
-
return Gt[
|
|
12810
|
+
return Gt[Me] = Ze(Vt), Le(we, this, Gt);
|
|
12811
12811
|
};
|
|
12812
12812
|
}
|
|
12813
|
-
function
|
|
12814
|
-
if (!(
|
|
12815
|
-
return we[
|
|
12813
|
+
function Mn(we, Me) {
|
|
12814
|
+
if (!(Me === "constructor" && typeof we[Me] == "function") && Me != "__proto__")
|
|
12815
|
+
return we[Me];
|
|
12816
12816
|
}
|
|
12817
12817
|
var sr = ar(Ae);
|
|
12818
12818
|
function ar(we) {
|
|
12819
|
-
var
|
|
12819
|
+
var Me = 0, Ze = 0;
|
|
12820
12820
|
return function() {
|
|
12821
12821
|
var $t = bn(), jt = K - ($t - Ze);
|
|
12822
12822
|
if (Ze = $t, jt > 0) {
|
|
12823
|
-
if (++
|
|
12823
|
+
if (++Me >= G)
|
|
12824
12824
|
return arguments[0];
|
|
12825
12825
|
} else
|
|
12826
|
-
|
|
12826
|
+
Me = 0;
|
|
12827
12827
|
return we.apply(void 0, arguments);
|
|
12828
12828
|
};
|
|
12829
12829
|
}
|
|
@@ -12840,8 +12840,8 @@ lodash_defaultsdeep.exports;
|
|
|
12840
12840
|
}
|
|
12841
12841
|
return "";
|
|
12842
12842
|
}
|
|
12843
|
-
function Fe(we,
|
|
12844
|
-
return we ===
|
|
12843
|
+
function Fe(we, Me) {
|
|
12844
|
+
return we === Me || we !== we && Me !== Me;
|
|
12845
12845
|
}
|
|
12846
12846
|
var et = Un(/* @__PURE__ */ function() {
|
|
12847
12847
|
return arguments;
|
|
@@ -12858,15 +12858,15 @@ lodash_defaultsdeep.exports;
|
|
|
12858
12858
|
function pn(we) {
|
|
12859
12859
|
if (!en(we))
|
|
12860
12860
|
return !1;
|
|
12861
|
-
var
|
|
12862
|
-
return
|
|
12861
|
+
var Me = An(we);
|
|
12862
|
+
return Me == re || Me == ae || Me == Q || Me == ue;
|
|
12863
12863
|
}
|
|
12864
12864
|
function an(we) {
|
|
12865
12865
|
return typeof we == "number" && we > -1 && we % 1 == 0 && we <= Y;
|
|
12866
12866
|
}
|
|
12867
12867
|
function en(we) {
|
|
12868
|
-
var
|
|
12869
|
-
return we != null && (
|
|
12868
|
+
var Me = typeof we;
|
|
12869
|
+
return we != null && (Me == "object" || Me == "function");
|
|
12870
12870
|
}
|
|
12871
12871
|
function hn(we) {
|
|
12872
12872
|
return we != null && typeof we == "object";
|
|
@@ -12874,10 +12874,10 @@ lodash_defaultsdeep.exports;
|
|
|
12874
12874
|
function yn(we) {
|
|
12875
12875
|
if (!hn(we) || An(we) != ce)
|
|
12876
12876
|
return !1;
|
|
12877
|
-
var
|
|
12878
|
-
if (
|
|
12877
|
+
var Me = Se(we);
|
|
12878
|
+
if (Me === null)
|
|
12879
12879
|
return !0;
|
|
12880
|
-
var Ze = Ht.call(
|
|
12880
|
+
var Ze = Ht.call(Me, "constructor") && Me.constructor;
|
|
12881
12881
|
return typeof Ze == "function" && Ze instanceof Ze && It.call(Ze) == zt;
|
|
12882
12882
|
}
|
|
12883
12883
|
var kn = ye ? ct(ye) : nr;
|
|
@@ -12885,13 +12885,13 @@ lodash_defaultsdeep.exports;
|
|
|
12885
12885
|
return Ke(we, Cn(we));
|
|
12886
12886
|
}
|
|
12887
12887
|
var In = tr(function(we) {
|
|
12888
|
-
return we.push(void 0, gt),
|
|
12888
|
+
return we.push(void 0, gt), Le(Ln, void 0, we);
|
|
12889
12889
|
});
|
|
12890
12890
|
function Cn(we) {
|
|
12891
12891
|
return Nt(we) ? sn(we, !0) : rr(we);
|
|
12892
12892
|
}
|
|
12893
|
-
var
|
|
12894
|
-
zn(we,
|
|
12893
|
+
var Ln = ft(function(we, Me, Ze, $t) {
|
|
12894
|
+
zn(we, Me, Ze, $t);
|
|
12895
12895
|
});
|
|
12896
12896
|
function Dn(we) {
|
|
12897
12897
|
return function() {
|
|
@@ -13460,10 +13460,10 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
|
|
|
13460
13460
|
}, randomBytes$1 = ($) => {
|
|
13461
13461
|
const I = globalThis.crypto ?? __require$1("@dxos/node-std/crypto").webcrypto, U = new Uint8Array($);
|
|
13462
13462
|
return I.getRandomValues(U), U;
|
|
13463
|
-
}, __dxlog_file3$
|
|
13463
|
+
}, __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/util/src/callback.ts", Callback = class {
|
|
13464
13464
|
call(...$) {
|
|
13465
13465
|
return invariant(this._callback, "Callback not set", {
|
|
13466
|
-
F: __dxlog_file3$
|
|
13466
|
+
F: __dxlog_file3$4,
|
|
13467
13467
|
L: 20,
|
|
13468
13468
|
S: this,
|
|
13469
13469
|
A: [
|
|
@@ -13478,7 +13478,7 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
|
|
|
13478
13478
|
}
|
|
13479
13479
|
set($) {
|
|
13480
13480
|
invariant(!this._callback, "Callback already set", {
|
|
13481
|
-
F: __dxlog_file3$
|
|
13481
|
+
F: __dxlog_file3$4,
|
|
13482
13482
|
L: 29,
|
|
13483
13483
|
S: this,
|
|
13484
13484
|
A: [
|
|
@@ -16033,7 +16033,7 @@ const arrow$1 = ($) => {
|
|
|
16033
16033
|
Re,
|
|
16034
16034
|
ye
|
|
16035
16035
|
]);
|
|
16036
|
-
const
|
|
16036
|
+
const Le = (G = He.arrow) === null || G === void 0 ? void 0 : G.x, Ye = (K = He.arrow) === null || K === void 0 ? void 0 : K.y, ct = ((Y = He.arrow) === null || Y === void 0 ? void 0 : Y.centerOffset) !== 0, [ut, wt] = useState();
|
|
16037
16037
|
$9f79659886946c16$export$e5c5a5f917a5871c$1(() => {
|
|
16038
16038
|
_e && wt(window.getComputedStyle(_e).zIndex);
|
|
16039
16039
|
}, [
|
|
@@ -16093,7 +16093,7 @@ const arrow$1 = ($) => {
|
|
|
16093
16093
|
scope: ee,
|
|
16094
16094
|
placedSide: Te,
|
|
16095
16095
|
onArrowChange: xe,
|
|
16096
|
-
arrowX:
|
|
16096
|
+
arrowX: Le,
|
|
16097
16097
|
arrowY: Ye,
|
|
16098
16098
|
shouldHideArrow: ct
|
|
16099
16099
|
}, Ut ? /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$var$PositionContextProvider, {
|
|
@@ -17852,12 +17852,13 @@ var Message$1 = {
|
|
|
17852
17852
|
className: q("scrollArea.viewport", "scroll-area", {}, $),
|
|
17853
17853
|
ref: U
|
|
17854
17854
|
});
|
|
17855
|
-
}), ScrollAreaScrollbar = /* @__PURE__ */ forwardRef(({ classNames: $,
|
|
17856
|
-
const { tx:
|
|
17855
|
+
}), ScrollAreaScrollbar = /* @__PURE__ */ forwardRef(({ classNames: $, variant: I = "fine", ...U }, q) => {
|
|
17856
|
+
const { tx: G } = useThemeContext();
|
|
17857
17857
|
return /* @__PURE__ */ React__default.createElement($57acba87d6e25586$export$9a4e88b92edfce6b, {
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17858
|
+
"data-variant": I,
|
|
17859
|
+
...U,
|
|
17860
|
+
className: G("scrollArea.scrollbar", "scroll-area__scrollbar", {}, $),
|
|
17861
|
+
ref: q
|
|
17861
17862
|
});
|
|
17862
17863
|
}), ScrollAreaThumb = /* @__PURE__ */ forwardRef(({ classNames: $, ...I }, U) => {
|
|
17863
17864
|
const { tx: q } = useThemeContext();
|
|
@@ -20199,7 +20200,7 @@ lodash_merge.exports;
|
|
|
20199
20200
|
} catch {
|
|
20200
20201
|
}
|
|
20201
20202
|
}(), ye = be && be.isTypedArray;
|
|
20202
|
-
function
|
|
20203
|
+
function Le(Pe, Xe, we) {
|
|
20203
20204
|
switch (we.length) {
|
|
20204
20205
|
case 0:
|
|
20205
20206
|
return Pe.call(Xe);
|
|
@@ -20213,9 +20214,9 @@ lodash_merge.exports;
|
|
|
20213
20214
|
return Pe.apply(Xe, we);
|
|
20214
20215
|
}
|
|
20215
20216
|
function Ye(Pe, Xe) {
|
|
20216
|
-
for (var we = -1,
|
|
20217
|
-
|
|
20218
|
-
return
|
|
20217
|
+
for (var we = -1, Me = Array(Pe); ++we < Pe; )
|
|
20218
|
+
Me[we] = Xe(we);
|
|
20219
|
+
return Me;
|
|
20219
20220
|
}
|
|
20220
20221
|
function ct(Pe) {
|
|
20221
20222
|
return function(Xe) {
|
|
@@ -20257,8 +20258,8 @@ lodash_merge.exports;
|
|
|
20257
20258
|
function un(Pe) {
|
|
20258
20259
|
var Xe = -1, we = Pe == null ? 0 : Pe.length;
|
|
20259
20260
|
for (this.clear(); ++Xe < we; ) {
|
|
20260
|
-
var
|
|
20261
|
-
this.set(
|
|
20261
|
+
var Me = Pe[Xe];
|
|
20262
|
+
this.set(Me[0], Me[1]);
|
|
20262
20263
|
}
|
|
20263
20264
|
}
|
|
20264
20265
|
function Pn() {
|
|
@@ -20288,8 +20289,8 @@ lodash_merge.exports;
|
|
|
20288
20289
|
function ln(Pe) {
|
|
20289
20290
|
var Xe = -1, we = Pe == null ? 0 : Pe.length;
|
|
20290
20291
|
for (this.clear(); ++Xe < we; ) {
|
|
20291
|
-
var
|
|
20292
|
-
this.set(
|
|
20292
|
+
var Me = Pe[Xe];
|
|
20293
|
+
this.set(Me[0], Me[1]);
|
|
20293
20294
|
}
|
|
20294
20295
|
}
|
|
20295
20296
|
function Gn() {
|
|
@@ -20299,8 +20300,8 @@ lodash_merge.exports;
|
|
|
20299
20300
|
var Xe = this.__data__, we = dn(Xe, Pe);
|
|
20300
20301
|
if (we < 0)
|
|
20301
20302
|
return !1;
|
|
20302
|
-
var
|
|
20303
|
-
return we ==
|
|
20303
|
+
var Me = Xe.length - 1;
|
|
20304
|
+
return we == Me ? Xe.pop() : Dt.call(Xe, we, 1), --this.size, !0;
|
|
20304
20305
|
}
|
|
20305
20306
|
function Kn(Pe) {
|
|
20306
20307
|
var Xe = this.__data__, we = dn(Xe, Pe);
|
|
@@ -20310,15 +20311,15 @@ lodash_merge.exports;
|
|
|
20310
20311
|
return dn(this.__data__, Pe) > -1;
|
|
20311
20312
|
}
|
|
20312
20313
|
function vt(Pe, Xe) {
|
|
20313
|
-
var we = this.__data__,
|
|
20314
|
-
return
|
|
20314
|
+
var we = this.__data__, Me = dn(we, Pe);
|
|
20315
|
+
return Me < 0 ? (++this.size, we.push([Pe, Xe])) : we[Me][1] = Xe, this;
|
|
20315
20316
|
}
|
|
20316
20317
|
ln.prototype.clear = Gn, ln.prototype.delete = _n, ln.prototype.get = Kn, ln.prototype.has = We, ln.prototype.set = vt;
|
|
20317
20318
|
function xt(Pe) {
|
|
20318
20319
|
var Xe = -1, we = Pe == null ? 0 : Pe.length;
|
|
20319
20320
|
for (this.clear(); ++Xe < we; ) {
|
|
20320
|
-
var
|
|
20321
|
-
this.set(
|
|
20321
|
+
var Me = Pe[Xe];
|
|
20322
|
+
this.set(Me[0], Me[1]);
|
|
20322
20323
|
}
|
|
20323
20324
|
}
|
|
20324
20325
|
function Ne() {
|
|
@@ -20339,15 +20340,15 @@ lodash_merge.exports;
|
|
|
20339
20340
|
return gt(this, Pe).has(Pe);
|
|
20340
20341
|
}
|
|
20341
20342
|
function Rt(Pe, Xe) {
|
|
20342
|
-
var we = gt(this, Pe),
|
|
20343
|
-
return we.set(Pe, Xe), this.size += we.size ==
|
|
20343
|
+
var we = gt(this, Pe), Me = we.size;
|
|
20344
|
+
return we.set(Pe, Xe), this.size += we.size == Me ? 0 : 1, this;
|
|
20344
20345
|
}
|
|
20345
20346
|
xt.prototype.clear = Ne, xt.prototype.delete = ot, xt.prototype.get = dt, xt.prototype.has = Et, xt.prototype.set = Rt;
|
|
20346
20347
|
function Bt(Pe) {
|
|
20347
20348
|
var Xe = this.__data__ = new ln(Pe);
|
|
20348
20349
|
this.size = Xe.size;
|
|
20349
20350
|
}
|
|
20350
|
-
function
|
|
20351
|
+
function Lt() {
|
|
20351
20352
|
this.__data__ = new ln(), this.size = 0;
|
|
20352
20353
|
}
|
|
20353
20354
|
function Ot(Pe) {
|
|
@@ -20363,16 +20364,16 @@ lodash_merge.exports;
|
|
|
20363
20364
|
function Yt(Pe, Xe) {
|
|
20364
20365
|
var we = this.__data__;
|
|
20365
20366
|
if (we instanceof ln) {
|
|
20366
|
-
var
|
|
20367
|
-
if (!vn ||
|
|
20368
|
-
return
|
|
20369
|
-
we = this.__data__ = new xt(
|
|
20367
|
+
var Me = we.__data__;
|
|
20368
|
+
if (!vn || Me.length < U - 1)
|
|
20369
|
+
return Me.push([Pe, Xe]), this.size = ++we.size, this;
|
|
20370
|
+
we = this.__data__ = new xt(Me);
|
|
20370
20371
|
}
|
|
20371
20372
|
return we.set(Pe, Xe), this.size = we.size, this;
|
|
20372
20373
|
}
|
|
20373
|
-
Bt.prototype.clear =
|
|
20374
|
+
Bt.prototype.clear = Lt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
|
|
20374
20375
|
function sn(Pe, Xe) {
|
|
20375
|
-
var we = et(Pe),
|
|
20376
|
+
var we = et(Pe), Me = !we && Fe(Pe), Ze = !we && !Me && nn(Pe), $t = !we && !Me && !Ze && yn(Pe), jt = we || Me || Ze || $t, Ft = jt ? Ye(Pe.length, String) : [], Vt = Ft.length;
|
|
20376
20377
|
for (var Gt in Pe)
|
|
20377
20378
|
(Xe || Ht.call(Pe, Gt)) && !(jt && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
20378
20379
|
(Gt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -20385,8 +20386,8 @@ lodash_merge.exports;
|
|
|
20385
20386
|
(we !== void 0 && !qn(Pe[Xe], we) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
|
|
20386
20387
|
}
|
|
20387
20388
|
function Yn(Pe, Xe, we) {
|
|
20388
|
-
var
|
|
20389
|
-
(!(Ht.call(Pe, Xe) && qn(
|
|
20389
|
+
var Me = Pe[Xe];
|
|
20390
|
+
(!(Ht.call(Pe, Xe) && qn(Me, we)) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
|
|
20390
20391
|
}
|
|
20391
20392
|
function dn(Pe, Xe) {
|
|
20392
20393
|
for (var we = Pe.length; we--; )
|
|
@@ -20422,21 +20423,21 @@ lodash_merge.exports;
|
|
|
20422
20423
|
if (!an(Pe))
|
|
20423
20424
|
return wn(Pe);
|
|
20424
20425
|
var Xe = cn(Pe), we = [];
|
|
20425
|
-
for (var
|
|
20426
|
-
|
|
20426
|
+
for (var Me in Pe)
|
|
20427
|
+
Me == "constructor" && (Xe || !Ht.call(Pe, Me)) || we.push(Me);
|
|
20427
20428
|
return we;
|
|
20428
20429
|
}
|
|
20429
|
-
function zn(Pe, Xe, we,
|
|
20430
|
+
function zn(Pe, Xe, we, Me, Ze) {
|
|
20430
20431
|
Pe !== Xe && jn(Xe, function($t, jt) {
|
|
20431
20432
|
if (Ze || (Ze = new Bt()), an($t))
|
|
20432
|
-
ir(Pe, Xe, jt, we, zn,
|
|
20433
|
+
ir(Pe, Xe, jt, we, zn, Me, Ze);
|
|
20433
20434
|
else {
|
|
20434
|
-
var Ft =
|
|
20435
|
+
var Ft = Me ? Me(Wn(Pe, jt), $t, jt + "", Pe, Xe, Ze) : void 0;
|
|
20435
20436
|
Ft === void 0 && (Ft = $t), xn(Pe, jt, Ft);
|
|
20436
20437
|
}
|
|
20437
20438
|
}, gn);
|
|
20438
20439
|
}
|
|
20439
|
-
function ir(Pe, Xe, we,
|
|
20440
|
+
function ir(Pe, Xe, we, Me, Ze, $t, jt) {
|
|
20440
20441
|
var Ft = Wn(Pe, we), Vt = Wn(Xe, we), Gt = jt.get(Vt);
|
|
20441
20442
|
if (Gt) {
|
|
20442
20443
|
xn(Pe, we, Gt);
|
|
@@ -20445,12 +20446,12 @@ lodash_merge.exports;
|
|
|
20445
20446
|
var Xt = $t ? $t(Ft, Vt, we + "", Pe, Xe, jt) : void 0, En = Xt === void 0;
|
|
20446
20447
|
if (En) {
|
|
20447
20448
|
var Rn = et(Vt), er = !Rn && nn(Vt), cr = !Rn && !er && yn(Vt);
|
|
20448
|
-
Xt = Vt, Rn || er || cr ? et(Ft) ? Xt = Ft : Nt(Ft) ? Xt = Qe(Ft) : er ? (En = !1, Xt = Ve(Vt, !0)) : cr ? (En = !1, Xt = Je(Vt, !0)) : Xt = [] : hn(Vt) || Fe(Vt) ? (Xt = Ft, Fe(Ft) ? Xt = kn(Ft) : (!an(Ft) || qt(Ft)) && (Xt =
|
|
20449
|
+
Xt = Vt, Rn || er || cr ? et(Ft) ? Xt = Ft : Nt(Ft) ? Xt = Qe(Ft) : er ? (En = !1, Xt = Ve(Vt, !0)) : cr ? (En = !1, Xt = Je(Vt, !0)) : Xt = [] : hn(Vt) || Fe(Vt) ? (Xt = Ft, Fe(Ft) ? Xt = kn(Ft) : (!an(Ft) || qt(Ft)) && (Xt = Mt(Vt))) : En = !1;
|
|
20449
20450
|
}
|
|
20450
|
-
En && (jt.set(Vt, Xt), Ze(Xt, Vt,
|
|
20451
|
+
En && (jt.set(Vt, Xt), Ze(Xt, Vt, Me, $t, jt), jt.delete(Vt)), xn(Pe, we, Xt);
|
|
20451
20452
|
}
|
|
20452
20453
|
function tr(Pe, Xe) {
|
|
20453
|
-
return
|
|
20454
|
+
return Mn(Zn(Pe, Xe, Ln), Pe + "");
|
|
20454
20455
|
}
|
|
20455
20456
|
var Ae = Pt ? function(Pe, Xe) {
|
|
20456
20457
|
return Pt(Pe, "toString", {
|
|
@@ -20459,12 +20460,12 @@ lodash_merge.exports;
|
|
|
20459
20460
|
value: Cn(Xe),
|
|
20460
20461
|
writable: !0
|
|
20461
20462
|
});
|
|
20462
|
-
} :
|
|
20463
|
+
} : Ln;
|
|
20463
20464
|
function Ve(Pe, Xe) {
|
|
20464
20465
|
if (Xe)
|
|
20465
20466
|
return Pe.slice();
|
|
20466
|
-
var we = Pe.length,
|
|
20467
|
-
return Pe.copy(
|
|
20467
|
+
var we = Pe.length, Me = ke ? ke(we) : new Pe.constructor(we);
|
|
20468
|
+
return Pe.copy(Me), Me;
|
|
20468
20469
|
}
|
|
20469
20470
|
function Oe(Pe) {
|
|
20470
20471
|
var Xe = new Pe.constructor(Pe.byteLength);
|
|
@@ -20475,33 +20476,33 @@ lodash_merge.exports;
|
|
|
20475
20476
|
return new Pe.constructor(we, Pe.byteOffset, Pe.length);
|
|
20476
20477
|
}
|
|
20477
20478
|
function Qe(Pe, Xe) {
|
|
20478
|
-
var we = -1,
|
|
20479
|
-
for (Xe || (Xe = Array(
|
|
20479
|
+
var we = -1, Me = Pe.length;
|
|
20480
|
+
for (Xe || (Xe = Array(Me)); ++we < Me; )
|
|
20480
20481
|
Xe[we] = Pe[we];
|
|
20481
20482
|
return Xe;
|
|
20482
20483
|
}
|
|
20483
|
-
function Ke(Pe, Xe, we,
|
|
20484
|
+
function Ke(Pe, Xe, we, Me) {
|
|
20484
20485
|
var Ze = !we;
|
|
20485
20486
|
we || (we = {});
|
|
20486
20487
|
for (var $t = -1, jt = Xe.length; ++$t < jt; ) {
|
|
20487
|
-
var Ft = Xe[$t], Vt =
|
|
20488
|
+
var Ft = Xe[$t], Vt = Me ? Me(we[Ft], Pe[Ft], Ft, we, Pe) : void 0;
|
|
20488
20489
|
Vt === void 0 && (Vt = Pe[Ft]), Ze ? Bn(we, Ft, Vt) : Yn(we, Ft, Vt);
|
|
20489
20490
|
}
|
|
20490
20491
|
return we;
|
|
20491
20492
|
}
|
|
20492
20493
|
function ft(Pe) {
|
|
20493
20494
|
return tr(function(Xe, we) {
|
|
20494
|
-
var
|
|
20495
|
-
for ($t = Pe.length > 3 && typeof $t == "function" ? (Ze--, $t) : void 0, jt && Jt(we[0], we[1], jt) && ($t = Ze < 3 ? void 0 : $t, Ze = 1), Xe = Object(Xe); ++
|
|
20496
|
-
var Ft = we[
|
|
20497
|
-
Ft && Pe(Xe, Ft,
|
|
20495
|
+
var Me = -1, Ze = we.length, $t = Ze > 1 ? we[Ze - 1] : void 0, jt = Ze > 2 ? we[2] : void 0;
|
|
20496
|
+
for ($t = Pe.length > 3 && typeof $t == "function" ? (Ze--, $t) : void 0, jt && Jt(we[0], we[1], jt) && ($t = Ze < 3 ? void 0 : $t, Ze = 1), Xe = Object(Xe); ++Me < Ze; ) {
|
|
20497
|
+
var Ft = we[Me];
|
|
20498
|
+
Ft && Pe(Xe, Ft, Me, $t);
|
|
20498
20499
|
}
|
|
20499
20500
|
return Xe;
|
|
20500
20501
|
});
|
|
20501
20502
|
}
|
|
20502
20503
|
function pt(Pe) {
|
|
20503
|
-
return function(Xe, we,
|
|
20504
|
-
for (var Ze = -1, $t = Object(Xe), jt =
|
|
20504
|
+
return function(Xe, we, Me) {
|
|
20505
|
+
for (var Ze = -1, $t = Object(Xe), jt = Me(Xe), Ft = jt.length; Ft--; ) {
|
|
20505
20506
|
var Vt = jt[Pe ? Ft : ++Ze];
|
|
20506
20507
|
if (we($t[Vt], Vt, $t) === !1)
|
|
20507
20508
|
break;
|
|
@@ -20521,13 +20522,13 @@ lodash_merge.exports;
|
|
|
20521
20522
|
var Xe = Ht.call(Pe, Tt), we = Pe[Tt];
|
|
20522
20523
|
try {
|
|
20523
20524
|
Pe[Tt] = void 0;
|
|
20524
|
-
var
|
|
20525
|
+
var Me = !0;
|
|
20525
20526
|
} catch {
|
|
20526
20527
|
}
|
|
20527
20528
|
var Ze = Ct.call(Pe);
|
|
20528
|
-
return
|
|
20529
|
+
return Me && (Xe ? Pe[Tt] = we : delete Pe[Tt]), Ze;
|
|
20529
20530
|
}
|
|
20530
|
-
function
|
|
20531
|
+
function Mt(Pe) {
|
|
20531
20532
|
return typeof Pe.constructor == "function" && !cn(Pe) ? Tn(Se(Pe)) : {};
|
|
20532
20533
|
}
|
|
20533
20534
|
function Wt(Pe, Xe) {
|
|
@@ -20537,8 +20538,8 @@ lodash_merge.exports;
|
|
|
20537
20538
|
function Jt(Pe, Xe, we) {
|
|
20538
20539
|
if (!an(we))
|
|
20539
20540
|
return !1;
|
|
20540
|
-
var
|
|
20541
|
-
return (
|
|
20541
|
+
var Me = typeof Xe;
|
|
20542
|
+
return (Me == "number" ? yt(we) && Wt(Xe, we.length) : Me == "string" && Xe in we) ? qn(we[Xe], Pe) : !1;
|
|
20542
20543
|
}
|
|
20543
20544
|
function tn(Pe) {
|
|
20544
20545
|
var Xe = typeof Pe;
|
|
@@ -20563,24 +20564,24 @@ lodash_merge.exports;
|
|
|
20563
20564
|
}
|
|
20564
20565
|
function Zn(Pe, Xe, we) {
|
|
20565
20566
|
return Xe = Sn(Xe === void 0 ? Pe.length - 1 : Xe, 0), function() {
|
|
20566
|
-
for (var
|
|
20567
|
-
jt[Ze] =
|
|
20567
|
+
for (var Me = arguments, Ze = -1, $t = Sn(Me.length - Xe, 0), jt = Array($t); ++Ze < $t; )
|
|
20568
|
+
jt[Ze] = Me[Xe + Ze];
|
|
20568
20569
|
Ze = -1;
|
|
20569
20570
|
for (var Ft = Array(Xe + 1); ++Ze < Xe; )
|
|
20570
|
-
Ft[Ze] =
|
|
20571
|
-
return Ft[Xe] = we(jt),
|
|
20571
|
+
Ft[Ze] = Me[Ze];
|
|
20572
|
+
return Ft[Xe] = we(jt), Le(Pe, this, Ft);
|
|
20572
20573
|
};
|
|
20573
20574
|
}
|
|
20574
20575
|
function Wn(Pe, Xe) {
|
|
20575
20576
|
if (!(Xe === "constructor" && typeof Pe[Xe] == "function") && Xe != "__proto__")
|
|
20576
20577
|
return Pe[Xe];
|
|
20577
20578
|
}
|
|
20578
|
-
var
|
|
20579
|
+
var Mn = sr(Ae);
|
|
20579
20580
|
function sr(Pe) {
|
|
20580
20581
|
var Xe = 0, we = 0;
|
|
20581
20582
|
return function() {
|
|
20582
|
-
var
|
|
20583
|
-
if (we =
|
|
20583
|
+
var Me = bn(), Ze = K - (Me - we);
|
|
20584
|
+
if (we = Me, Ze > 0) {
|
|
20584
20585
|
if (++Xe >= G)
|
|
20585
20586
|
return arguments[0];
|
|
20586
20587
|
} else
|
|
@@ -20656,7 +20657,7 @@ lodash_merge.exports;
|
|
|
20656
20657
|
return Pe;
|
|
20657
20658
|
};
|
|
20658
20659
|
}
|
|
20659
|
-
function
|
|
20660
|
+
function Ln(Pe) {
|
|
20660
20661
|
return Pe;
|
|
20661
20662
|
}
|
|
20662
20663
|
function Dn() {
|
|
@@ -24228,6 +24229,10 @@ var shadeNumbers = (
|
|
|
24228
24229
|
light: "#ffffff",
|
|
24229
24230
|
dark: "#ffffff"
|
|
24230
24231
|
},
|
|
24232
|
+
transparent: {
|
|
24233
|
+
light: "transparent",
|
|
24234
|
+
dark: "transparent"
|
|
24235
|
+
},
|
|
24231
24236
|
unavailable: {
|
|
24232
24237
|
light: physicalColors.neutral[100],
|
|
24233
24238
|
dark: physicalColors.neutral[600]
|
|
@@ -24377,7 +24382,7 @@ var hueTheme = {
|
|
|
24377
24382
|
text: ({ hue: $ }) => hueTokenThemes[$].text,
|
|
24378
24383
|
textHover: ({ hue: $ }) => hueTokenThemes[$].textHover,
|
|
24379
24384
|
fill: ({ hue: $ }) => hueTokenThemes[$].fill
|
|
24380
|
-
}, bounceLayout = "fixed inset-0 z-0 overflow-auto overscroll-auto
|
|
24385
|
+
}, bounceLayout = "fixed inset-0 z-0 overflow-auto overscroll-auto", popperMotion = "will-change-[opacity,transform] data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade", dialogMotion = "will-change-[opacity,transform] animate-slideUpAndFade", separatorBorderColor = "separator-separator", inlineSeparator = "self-stretch border-ie", blockSeparator = "self-stretch border-be", ghostHighlighted = "data-[highlighted]:bg-primary-100 dark:data-[highlighted]:bg-primary-850 hover:data-[highlighted]:bg-primary-150 hover:dark:data-[highlighted]:bg-primary-800", fixedSurface = "base-surface md:fixed-surface backdrop-blur-md dark:backdrop-blur-lg", fixedBorder = "separator-separator", groupBorder = "separator-separator", modalSurface = "modal-surface", getLength = () => [
|
|
24381
24386
|
validators.isLength
|
|
24382
24387
|
], getLengthWithAuto = () => [
|
|
24383
24388
|
"auto",
|
|
@@ -25224,16 +25229,16 @@ var hueTheme = {
|
|
|
25224
25229
|
start: {
|
|
25225
25230
|
width: "sm:data-[side=is]:is-[270px]",
|
|
25226
25231
|
sidebar: "sm:data-[side=is]:-inline-start-[270px]",
|
|
25227
|
-
content: "lg:data-[sidebar-inline-start-state=open]:pis-[270px]",
|
|
25232
|
+
content: "lg:data-[sidebar-inline-start-state=open]:pis-[270px] lg:data-[sidebar-inline-start-state=open]:scroll-ps-[270px]",
|
|
25228
25233
|
notch: "max-is-[270px]"
|
|
25229
25234
|
},
|
|
25230
25235
|
// TODO(burdon): Maximal size for phone.
|
|
25231
25236
|
end: {
|
|
25232
25237
|
width: "sm:data-[side=ie]:is-[360px]",
|
|
25233
25238
|
sidebar: "sm:data-[side=ie]:-inline-end-[360px]",
|
|
25234
|
-
content: "lg:data-[sidebar-inline-end-state=open]:pie-[360px]"
|
|
25239
|
+
content: "lg:data-[sidebar-inline-end-state=open]:pie-[360px] lg:data-[sidebar-inline-end-state=open]:scroll-pe-[360px]"
|
|
25235
25240
|
}
|
|
25236
|
-
}, mainSidebar = ($, ...I) => mx("fixed block-start-0 block-end-0 is-[100vw] z-10 data-[side=ie]:z-20 overscroll-contain overflow-x-hidden overflow-y-auto", "transition-[inset-inline-start,inset-inline-end] duration-0 data-[resizing=false]:duration-200 ease-in-out", `data-[side=is]:-inline-start-[100vw] ${sidebarSlots.start.width} ${sidebarSlots.start.sidebar}`, `data-[side=ie]:-inline-end-[100vw] ${sidebarSlots.end.width} ${sidebarSlots.end.sidebar}`, "data-[side=is]:data-[state=open]:inline-start-0 data-[side=ie]:data-[state=open]:inline-end-0", "data-[side=is]:border-ie data-[side=ie]:border-is", fixedBorder, fixedSurface, ...I), mainContent = ({ bounce: $ }, ...I) => mx("transition-[padding-inline-start,padding-
|
|
25241
|
+
}, mainSidebar = ($, ...I) => mx("fixed block-start-0 block-end-0 is-[100vw] z-10 data-[side=ie]:z-20 overscroll-contain overflow-x-hidden overflow-y-auto", "transition-[inset-inline-start,inset-inline-end] duration-0 data-[resizing=false]:duration-200 ease-in-out", `data-[side=is]:-inline-start-[100vw] ${sidebarSlots.start.width} ${sidebarSlots.start.sidebar}`, `data-[side=ie]:-inline-end-[100vw] ${sidebarSlots.end.width} ${sidebarSlots.end.sidebar}`, "data-[side=is]:data-[state=open]:inline-start-0 data-[side=ie]:data-[state=open]:inline-end-0", "data-[side=is]:border-ie data-[side=ie]:border-is", fixedBorder, fixedSurface, ...I), mainContent = ({ bounce: $ }, ...I) => mx("transition-[padding-inline-start,padding-inline-end,scroll-padding-start,scroll-padding-end] duration-200 ease-in-out", `pis-0 scroll-ps-0 ${sidebarSlots.start.content}`, `pie-0 scroll-pe-0 ${sidebarSlots.end.content}`, $ && bounceLayout, ...I), mainOverlay = ($, ...I) => mx("fixed inset-0 z-[9] surface-scrim", "transition-opacity duration-200 ease-in-out", "opacity-0 data-[state=open]:opacity-100 lg:data-[state=open]:opacity-100", "hidden data-[state=open]:block lg:data-[state=open]:hidden", ...I), mainNotch = ($, ...I) => mx("fixed z-[11] block-end-0 inline-start-0 pbe-[env(safe-area-inset-bottom)] rounded-se-lg min-bs-[var(--rail-size)] is-fit separator-separator surface-base", "transition-[border-width] box-content border-bs border-ie data-[nav-sidebar-state=open]:border-bs-0 data-[nav-sidebar-state=open]:border-ie-0", "pli-1 grid grid-cols-[repeat(auto-fit,var(--rail-action))]", sidebarSlots.start.notch, ...I), mainTheme = {
|
|
25237
25242
|
content: mainContent,
|
|
25238
25243
|
sidebar: mainSidebar,
|
|
25239
25244
|
overlay: mainOverlay,
|
|
@@ -25248,7 +25253,7 @@ var hueTheme = {
|
|
|
25248
25253
|
content: popoverContent,
|
|
25249
25254
|
viewport: popoverViewport,
|
|
25250
25255
|
arrow: popoverArrow
|
|
25251
|
-
}, scrollAreaRoot = ($, ...I) => mx("overflow-hidden", ...I), scrollAreaViewport = ($, ...I) => mx("is-full bs-full
|
|
25256
|
+
}, scrollAreaRoot = ($, ...I) => mx("overflow-hidden", ...I), scrollAreaViewport = ($, ...I) => mx("is-full bs-full [&>div]:table-fixed [&>div]:is-full", ...I), scrollAreaScrollbar = ($, ...I) => mx("flex select-none touch-none p-0.5 ease-out", "data-[orientation=vertical]:is-1.5 sm:data-[orientation=vertical]:data-[variant=coarse]:is-3", "data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:bs-1.5 sm:data-[orientation=horizontal]:data-[variant=coarse]:bs-3", "sm:data-[variant=coarse]:surface-separator rounded-full", "[&>div]:surface-unAccent sm:[&[data-variant=coarse]>div]:surface-attention", ...I), scrollAreaThumb = ($, ...I) => mx("flex-1 rounded-full relative", "before:content-[''] before:absolute before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:w-full before:h-full before:min-w-[6px] before:min-h-[6px]", ...I), scrollAreaCorner = ($, ...I) => mx(...I), scrollAreaTheme = {
|
|
25252
25257
|
root: scrollAreaRoot,
|
|
25253
25258
|
viewport: scrollAreaViewport,
|
|
25254
25259
|
scrollbar: scrollAreaScrollbar,
|
|
@@ -69501,7 +69506,7 @@ function formatDistance($, I, U) {
|
|
|
69501
69506
|
function formatDistanceToNow($, I) {
|
|
69502
69507
|
return formatDistance($, Date.now(), I);
|
|
69503
69508
|
}
|
|
69504
|
-
var LogLevel;
|
|
69509
|
+
var RPC_TIMEOUT = 2e4, LogLevel;
|
|
69505
69510
|
(function($) {
|
|
69506
69511
|
$[$.TRACE = 5] = "TRACE", $[$.DEBUG = 10] = "DEBUG", $[$.INFO = 11] = "INFO", $[$.WARN = 12] = "WARN", $[$.ERROR = 13] = "ERROR";
|
|
69507
69512
|
})(LogLevel || (LogLevel = {}));
|
|
@@ -69556,7 +69561,7 @@ var CreateEpochRequest;
|
|
|
69556
69561
|
var Invitation;
|
|
69557
69562
|
(function($) {
|
|
69558
69563
|
(function(I) {
|
|
69559
|
-
I[I.INTERACTIVE = 0] = "INTERACTIVE", I[I.
|
|
69564
|
+
I[I.INTERACTIVE = 0] = "INTERACTIVE", I[I.DELEGATED = 1] = "DELEGATED", I[I.MULTIUSE = 2] = "MULTIUSE";
|
|
69560
69565
|
})($.Type || ($.Type = {})), function(I) {
|
|
69561
69566
|
I[I.DEVICE = 0] = "DEVICE", I[I.SPACE = 1] = "SPACE";
|
|
69562
69567
|
}($.Kind || ($.Kind = {})), function(I) {
|
|
@@ -69643,37 +69648,33 @@ var __dxlog_file$7 = "/home/runner/work/dxos/dxos/packages/common/context/src/co
|
|
|
69643
69648
|
}
|
|
69644
69649
|
/**
|
|
69645
69650
|
* Runs all dispose callbacks.
|
|
69646
|
-
*
|
|
69647
|
-
* Async callbacks are run in parallel.
|
|
69651
|
+
* Callbacks are run in the reverse order they were added.
|
|
69648
69652
|
* This function never throws.
|
|
69649
69653
|
* It is safe to ignore the returned promise if the caller does not wish to wait for callbacks to complete.
|
|
69650
69654
|
* Disposing context means that onDispose will throw an error and any errors raised will be logged and not propagated.
|
|
69651
69655
|
*/
|
|
69652
|
-
dispose() {
|
|
69656
|
+
async dispose() {
|
|
69653
69657
|
if (this._disposePromise)
|
|
69654
69658
|
return this._disposePromise;
|
|
69655
69659
|
this._isDisposed = !0;
|
|
69656
69660
|
let I;
|
|
69657
|
-
this._disposePromise = new Promise((
|
|
69658
|
-
I =
|
|
69661
|
+
this._disposePromise = new Promise((q) => {
|
|
69662
|
+
I = q;
|
|
69659
69663
|
});
|
|
69660
|
-
const U =
|
|
69661
|
-
|
|
69662
|
-
|
|
69663
|
-
|
|
69664
|
-
|
|
69665
|
-
|
|
69666
|
-
|
|
69667
|
-
|
|
69668
|
-
|
|
69669
|
-
|
|
69670
|
-
|
|
69671
|
-
|
|
69672
|
-
|
|
69673
|
-
|
|
69674
|
-
return this._disposeCallbacks.length = 0, Promise.all(U).then(() => {
|
|
69675
|
-
I();
|
|
69676
|
-
}), this._disposePromise;
|
|
69664
|
+
const U = Array.from(this._disposeCallbacks).reverse();
|
|
69665
|
+
this._disposeCallbacks.length = 0;
|
|
69666
|
+
for (const q of U)
|
|
69667
|
+
try {
|
|
69668
|
+
await q();
|
|
69669
|
+
} catch (G) {
|
|
69670
|
+
log$2.catch(G, void 0, {
|
|
69671
|
+
F: __dxlog_file$7,
|
|
69672
|
+
L: 136,
|
|
69673
|
+
S: this,
|
|
69674
|
+
C: (K, Y) => K(...Y)
|
|
69675
|
+
});
|
|
69676
|
+
}
|
|
69677
|
+
I();
|
|
69677
69678
|
}
|
|
69678
69679
|
/**
|
|
69679
69680
|
* Raise the error inside the context.
|
|
@@ -70974,13 +70975,13 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
70974
70975
|
}, J.prototype.readUint32BE = J.prototype.readUInt32BE = function(ie, oe) {
|
|
70975
70976
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] * 16777216 + (this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3]);
|
|
70976
70977
|
}, J.prototype.readBigUInt64LE = Ct(function(ie) {
|
|
70977
|
-
ie = ie >>> 0,
|
|
70978
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
70978
70979
|
const oe = this[ie], pe = this[ie + 7];
|
|
70979
70980
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
70980
70981
|
const ke = oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24, Se = this[++ie] + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + pe * 2 ** 24;
|
|
70981
70982
|
return BigInt(ke) + (BigInt(Se) << BigInt(32));
|
|
70982
70983
|
}), J.prototype.readBigUInt64BE = Ct(function(ie) {
|
|
70983
|
-
ie = ie >>> 0,
|
|
70984
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
70984
70985
|
const oe = this[ie], pe = this[ie + 7];
|
|
70985
70986
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
70986
70987
|
const ke = oe * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + this[++ie], Se = this[++ie] * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + pe;
|
|
@@ -71012,13 +71013,13 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
71012
71013
|
}, J.prototype.readInt32BE = function(ie, oe) {
|
|
71013
71014
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] << 24 | this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3];
|
|
71014
71015
|
}, J.prototype.readBigInt64LE = Ct(function(ie) {
|
|
71015
|
-
ie = ie >>> 0,
|
|
71016
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
71016
71017
|
const oe = this[ie], pe = this[ie + 7];
|
|
71017
71018
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
71018
71019
|
const ke = this[ie + 4] + this[ie + 5] * 2 ** 8 + this[ie + 6] * 2 ** 16 + (pe << 24);
|
|
71019
71020
|
return (BigInt(ke) << BigInt(32)) + BigInt(oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24);
|
|
71020
71021
|
}), J.prototype.readBigInt64BE = Ct(function(ie) {
|
|
71021
|
-
ie = ie >>> 0,
|
|
71022
|
+
ie = ie >>> 0, Le(ie, "offset");
|
|
71022
71023
|
const oe = this[ie], pe = this[ie + 7];
|
|
71023
71024
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
71024
71025
|
const ke = (oe << 24) + // Overflow
|
|
@@ -71244,7 +71245,7 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
71244
71245
|
return `${de.slice(0, oe)}${ie}`;
|
|
71245
71246
|
}
|
|
71246
71247
|
function be(de, ie, oe) {
|
|
71247
|
-
|
|
71248
|
+
Le(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
|
|
71248
71249
|
}
|
|
71249
71250
|
function ye(de, ie, oe, pe, ke, Se) {
|
|
71250
71251
|
if (de > oe || de < ie) {
|
|
@@ -71254,12 +71255,12 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
71254
71255
|
}
|
|
71255
71256
|
be(pe, ke, Se);
|
|
71256
71257
|
}
|
|
71257
|
-
function
|
|
71258
|
+
function Le(de, ie) {
|
|
71258
71259
|
if (typeof de != "number")
|
|
71259
71260
|
throw new Ie.ERR_INVALID_ARG_TYPE(ie, "number", de);
|
|
71260
71261
|
}
|
|
71261
71262
|
function Ye(de, ie, oe) {
|
|
71262
|
-
throw Math.floor(de) !== de ? (
|
|
71263
|
+
throw Math.floor(de) !== de ? (Le(de, oe), new Ie.ERR_OUT_OF_RANGE(oe || "offset", "an integer", de)) : ie < 0 ? new Ie.ERR_BUFFER_OUT_OF_BOUNDS() : new Ie.ERR_OUT_OF_RANGE(
|
|
71263
71264
|
oe || "offset",
|
|
71264
71265
|
`>= ${oe ? 1 : 0} and <= ${ie}`,
|
|
71265
71266
|
de
|
|
@@ -71802,8 +71803,8 @@ function require_stream_writable() {
|
|
|
71802
71803
|
var ye = Ee(He, Re, Te);
|
|
71803
71804
|
Re !== ye && (Ie = !0, Te = "buffer", Re = ye);
|
|
71804
71805
|
}
|
|
71805
|
-
var
|
|
71806
|
-
He.length +=
|
|
71806
|
+
var Le = He.objectMode ? 1 : Re.length;
|
|
71807
|
+
He.length += Le;
|
|
71807
71808
|
var Ye = He.length < He.highWaterMark;
|
|
71808
71809
|
if (Ye || (He.needDrain = !0), He.writing || He.corked) {
|
|
71809
71810
|
var ct = He.lastBufferedRequest;
|
|
@@ -71815,7 +71816,7 @@ function require_stream_writable() {
|
|
|
71815
71816
|
next: null
|
|
71816
71817
|
}, ct ? ct.next = He.lastBufferedRequest : He.bufferedRequest = He.lastBufferedRequest, He.bufferedRequestCount += 1;
|
|
71817
71818
|
} else
|
|
71818
|
-
Be(Ue, He, !1,
|
|
71819
|
+
Be(Ue, He, !1, Le, Re, Te, be);
|
|
71819
71820
|
return Ye;
|
|
71820
71821
|
}
|
|
71821
71822
|
function Be(Ue, He, Ie, Re, Te, be, ye) {
|
|
@@ -71850,9 +71851,9 @@ function require_stream_writable() {
|
|
|
71850
71851
|
if (Ue._writev && Ie && Ie.next) {
|
|
71851
71852
|
var Re = He.bufferedRequestCount, Te = new Array(Re), be = He.corkedRequestsFree;
|
|
71852
71853
|
be.entry = Ie;
|
|
71853
|
-
for (var ye = 0,
|
|
71854
|
-
Te[ye] = Ie, Ie.isBuf || (
|
|
71855
|
-
Te.allBuffers =
|
|
71854
|
+
for (var ye = 0, Le = !0; Ie; )
|
|
71855
|
+
Te[ye] = Ie, Ie.isBuf || (Le = !1), Ie = Ie.next, ye += 1;
|
|
71856
|
+
Te.allBuffers = Le, Be(Ue, He, !0, He.length, Te, "", be.finish), He.pendingcb++, He.lastBufferedRequest = null, be.next ? (He.corkedRequestsFree = be.next, be.next = null) : He.corkedRequestsFree = new $(He), He.bufferedRequestCount = 0;
|
|
71856
71857
|
} else {
|
|
71857
71858
|
for (; Ie; ) {
|
|
71858
71859
|
var Ye = Ie.chunk, ct = Ie.encoding, ut = Ie.callback, wt = He.objectMode ? 1 : Ye.length;
|
|
@@ -72358,8 +72359,8 @@ function require_stream_readable() {
|
|
|
72358
72359
|
hasRequired_stream_readable = 1, _stream_readable = $e;
|
|
72359
72360
|
var $;
|
|
72360
72361
|
$e.ReadableState = _e, eventsExports.EventEmitter;
|
|
72361
|
-
var I = function(ye,
|
|
72362
|
-
return ye.listeners(
|
|
72362
|
+
var I = function(ye, Le) {
|
|
72363
|
+
return ye.listeners(Le).length;
|
|
72363
72364
|
}, U = streamBrowser, q = buffer.Buffer, G = commonjsGlobal.Uint8Array || function() {
|
|
72364
72365
|
};
|
|
72365
72366
|
function K(be) {
|
|
@@ -72374,13 +72375,13 @@ function require_stream_readable() {
|
|
|
72374
72375
|
var Q = requireBuffer_list(), ee = destroy_1, te = state, ne = te.getHighWaterMark, re = errorsBrowser.codes, ae = re.ERR_INVALID_ARG_TYPE, se = re.ERR_STREAM_PUSH_AFTER_EOF, fe = re.ERR_METHOD_NOT_IMPLEMENTED, le = re.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, ce, ue, he;
|
|
72375
72376
|
inherits_browserExports($e, U);
|
|
72376
72377
|
var ve = ee.errorOrDestroy, me = ["error", "close", "destroy", "pause", "resume"];
|
|
72377
|
-
function ge(be, ye,
|
|
72378
|
+
function ge(be, ye, Le) {
|
|
72378
72379
|
if (typeof be.prependListener == "function")
|
|
72379
|
-
return be.prependListener(ye,
|
|
72380
|
-
!be._events || !be._events[ye] ? be.on(ye,
|
|
72380
|
+
return be.prependListener(ye, Le);
|
|
72381
|
+
!be._events || !be._events[ye] ? be.on(ye, Le) : Array.isArray(be._events[ye]) ? be._events[ye].unshift(Le) : be._events[ye] = [Le, be._events[ye]];
|
|
72381
72382
|
}
|
|
72382
|
-
function _e(be, ye,
|
|
72383
|
-
$ = $ || require_stream_duplex(), be = be || {}, typeof
|
|
72383
|
+
function _e(be, ye, Le) {
|
|
72384
|
+
$ = $ || require_stream_duplex(), be = be || {}, typeof Le != "boolean" && (Le = ye instanceof $), this.objectMode = !!be.objectMode, Le && (this.objectMode = this.objectMode || !!be.readableObjectMode), this.highWaterMark = ne(this, be, "readableHighWaterMark", Le), this.buffer = new Q(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = be.emitClose !== !1, this.autoDestroy = !!be.autoDestroy, this.destroyed = !1, this.defaultEncoding = be.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, be.encoding && (ce || (ce = requireString_decoder().StringDecoder), this.decoder = new ce(be.encoding), this.encoding = be.encoding);
|
|
72384
72385
|
}
|
|
72385
72386
|
function $e(be) {
|
|
72386
72387
|
if ($ = $ || require_stream_duplex(), !(this instanceof $e))
|
|
@@ -72402,12 +72403,12 @@ function require_stream_readable() {
|
|
|
72402
72403
|
}), $e.prototype.destroy = ee.destroy, $e.prototype._undestroy = ee.undestroy, $e.prototype._destroy = function(be, ye) {
|
|
72403
72404
|
ye(be);
|
|
72404
72405
|
}, $e.prototype.push = function(be, ye) {
|
|
72405
|
-
var
|
|
72406
|
-
return
|
|
72406
|
+
var Le = this._readableState, Ye;
|
|
72407
|
+
return Le.objectMode ? Ye = !0 : typeof be == "string" && (ye = ye || Le.defaultEncoding, ye !== Le.encoding && (be = q.from(be, ye), ye = ""), Ye = !0), Ce(this, be, ye, !1, Ye);
|
|
72407
72408
|
}, $e.prototype.unshift = function(be) {
|
|
72408
72409
|
return Ce(this, be, null, !0, !1);
|
|
72409
72410
|
};
|
|
72410
|
-
function Ce(be, ye,
|
|
72411
|
+
function Ce(be, ye, Le, Ye, ct) {
|
|
72411
72412
|
Z("readableAddChunk", ye);
|
|
72412
72413
|
var ut = be._readableState;
|
|
72413
72414
|
if (ye === null)
|
|
@@ -72424,19 +72425,19 @@ function require_stream_readable() {
|
|
|
72424
72425
|
else {
|
|
72425
72426
|
if (ut.destroyed)
|
|
72426
72427
|
return !1;
|
|
72427
|
-
ut.reading = !1, ut.decoder && !
|
|
72428
|
+
ut.reading = !1, ut.decoder && !Le ? (ye = ut.decoder.write(ye), ut.objectMode || ye.length !== 0 ? Ee(be, ut, ye, !1) : at(be, ut)) : Ee(be, ut, ye, !1);
|
|
72428
72429
|
}
|
|
72429
72430
|
else
|
|
72430
72431
|
Ye || (ut.reading = !1, at(be, ut));
|
|
72431
72432
|
}
|
|
72432
72433
|
return !ut.ended && (ut.length < ut.highWaterMark || ut.length === 0);
|
|
72433
72434
|
}
|
|
72434
|
-
function Ee(be, ye,
|
|
72435
|
-
ye.flowing && ye.length === 0 && !ye.sync ? (ye.awaitDrain = 0, be.emit("data",
|
|
72435
|
+
function Ee(be, ye, Le, Ye) {
|
|
72436
|
+
ye.flowing && ye.length === 0 && !ye.sync ? (ye.awaitDrain = 0, be.emit("data", Le)) : (ye.length += ye.objectMode ? 1 : Le.length, Ye ? ye.buffer.unshift(Le) : ye.buffer.push(Le), ye.needReadable && st(be)), at(be, ye);
|
|
72436
72437
|
}
|
|
72437
72438
|
function xe(be, ye) {
|
|
72438
|
-
var
|
|
72439
|
-
return !Y(ye) && typeof ye != "string" && ye !== void 0 && !be.objectMode && (
|
|
72439
|
+
var Le;
|
|
72440
|
+
return !Y(ye) && typeof ye != "string" && ye !== void 0 && !be.objectMode && (Le = new ae("chunk", ["string", "Buffer", "Uint8Array"], ye)), Le;
|
|
72440
72441
|
}
|
|
72441
72442
|
$e.prototype.isPaused = function() {
|
|
72442
72443
|
return this._readableState.flowing === !1;
|
|
@@ -72444,8 +72445,8 @@ function require_stream_readable() {
|
|
|
72444
72445
|
ce || (ce = requireString_decoder().StringDecoder);
|
|
72445
72446
|
var ye = new ce(be);
|
|
72446
72447
|
this._readableState.decoder = ye, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
72447
|
-
for (var
|
|
72448
|
-
Ye += ye.write(
|
|
72448
|
+
for (var Le = this._readableState.buffer.head, Ye = ""; Le !== null; )
|
|
72449
|
+
Ye += ye.write(Le.data), Le = Le.next;
|
|
72449
72450
|
return this._readableState.buffer.clear(), Ye !== "" && this._readableState.buffer.push(Ye), this._readableState.length = Ye.length, this;
|
|
72450
72451
|
};
|
|
72451
72452
|
var Be = 1073741824;
|
|
@@ -72457,21 +72458,21 @@ function require_stream_readable() {
|
|
|
72457
72458
|
}
|
|
72458
72459
|
$e.prototype.read = function(be) {
|
|
72459
72460
|
Z("read", be), be = parseInt(be, 10);
|
|
72460
|
-
var ye = this._readableState,
|
|
72461
|
+
var ye = this._readableState, Le = be;
|
|
72461
72462
|
if (be !== 0 && (ye.emittedReadable = !1), be === 0 && ye.needReadable && ((ye.highWaterMark !== 0 ? ye.length >= ye.highWaterMark : ye.length > 0) || ye.ended))
|
|
72462
72463
|
return Z("read: emitReadable", ye.length, ye.ended), ye.length === 0 && ye.ended ? Ie(this) : st(this), null;
|
|
72463
72464
|
if (be = Ge(be, ye), be === 0 && ye.ended)
|
|
72464
72465
|
return ye.length === 0 && Ie(this), null;
|
|
72465
72466
|
var Ye = ye.needReadable;
|
|
72466
|
-
Z("need readable", Ye), (ye.length === 0 || ye.length - be < ye.highWaterMark) && (Ye = !0, Z("length less than watermark", Ye)), ye.ended || ye.reading ? (Ye = !1, Z("reading or ended", Ye)) : Ye && (Z("do read"), ye.reading = !0, ye.sync = !0, ye.length === 0 && (ye.needReadable = !0), this._read(ye.highWaterMark), ye.sync = !1, ye.reading || (be = Ge(
|
|
72467
|
+
Z("need readable", Ye), (ye.length === 0 || ye.length - be < ye.highWaterMark) && (Ye = !0, Z("length less than watermark", Ye)), ye.ended || ye.reading ? (Ye = !1, Z("reading or ended", Ye)) : Ye && (Z("do read"), ye.reading = !0, ye.sync = !0, ye.length === 0 && (ye.needReadable = !0), this._read(ye.highWaterMark), ye.sync = !1, ye.reading || (be = Ge(Le, ye)));
|
|
72467
72468
|
var ct;
|
|
72468
|
-
return be > 0 ? ct = He(be, ye) : ct = null, ct === null ? (ye.needReadable = ye.length <= ye.highWaterMark, be = 0) : (ye.length -= be, ye.awaitDrain = 0), ye.length === 0 && (ye.ended || (ye.needReadable = !0),
|
|
72469
|
+
return be > 0 ? ct = He(be, ye) : ct = null, ct === null ? (ye.needReadable = ye.length <= ye.highWaterMark, be = 0) : (ye.length -= be, ye.awaitDrain = 0), ye.length === 0 && (ye.ended || (ye.needReadable = !0), Le !== be && ye.ended && Ie(this)), ct !== null && this.emit("data", ct), ct;
|
|
72469
72470
|
};
|
|
72470
72471
|
function rt(be, ye) {
|
|
72471
72472
|
if (Z("onEofChunk"), !ye.ended) {
|
|
72472
72473
|
if (ye.decoder) {
|
|
72473
|
-
var
|
|
72474
|
-
|
|
72474
|
+
var Le = ye.decoder.end();
|
|
72475
|
+
Le && Le.length && (ye.buffer.push(Le), ye.length += ye.objectMode ? 1 : Le.length);
|
|
72475
72476
|
}
|
|
72476
72477
|
ye.ended = !0, ye.sync ? st(be) : (ye.needReadable = !1, ye.emittedReadable || (ye.emittedReadable = !0, lt(be)));
|
|
72477
72478
|
}
|
|
@@ -72489,8 +72490,8 @@ function require_stream_readable() {
|
|
|
72489
72490
|
}
|
|
72490
72491
|
function ht(be, ye) {
|
|
72491
72492
|
for (; !ye.reading && !ye.ended && (ye.length < ye.highWaterMark || ye.flowing && ye.length === 0); ) {
|
|
72492
|
-
var
|
|
72493
|
-
if (Z("maybeReadMore read 0"), be.read(0),
|
|
72493
|
+
var Le = ye.length;
|
|
72494
|
+
if (Z("maybeReadMore read 0"), be.read(0), Le === ye.length)
|
|
72494
72495
|
break;
|
|
72495
72496
|
}
|
|
72496
72497
|
ye.readingMore = !1;
|
|
@@ -72498,7 +72499,7 @@ function require_stream_readable() {
|
|
|
72498
72499
|
$e.prototype._read = function(be) {
|
|
72499
72500
|
ve(this, new fe("_read()"));
|
|
72500
72501
|
}, $e.prototype.pipe = function(be, ye) {
|
|
72501
|
-
var
|
|
72502
|
+
var Le = this, Ye = this._readableState;
|
|
72502
72503
|
switch (Ye.pipesCount) {
|
|
72503
72504
|
case 0:
|
|
72504
72505
|
Ye.pipes = be;
|
|
@@ -72512,24 +72513,24 @@ function require_stream_readable() {
|
|
|
72512
72513
|
}
|
|
72513
72514
|
Ye.pipesCount += 1, Z("pipe count=%d opts=%j", Ye.pipesCount, ye);
|
|
72514
72515
|
var ct = (!ye || ye.end !== !1) && be !== process.stdout && be !== process.stderr, ut = ct ? St : zt;
|
|
72515
|
-
Ye.endEmitted ? process.nextTick(ut) :
|
|
72516
|
+
Ye.endEmitted ? process.nextTick(ut) : Le.once("end", ut), be.on("unpipe", wt);
|
|
72516
72517
|
function wt(de, ie) {
|
|
72517
|
-
Z("onunpipe"), de ===
|
|
72518
|
+
Z("onunpipe"), de === Le && ie && ie.hasUnpiped === !1 && (ie.hasUnpiped = !0, Kt());
|
|
72518
72519
|
}
|
|
72519
72520
|
function St() {
|
|
72520
72521
|
Z("onend"), be.end();
|
|
72521
72522
|
}
|
|
72522
|
-
var it = tt(
|
|
72523
|
+
var it = tt(Le);
|
|
72523
72524
|
be.on("drain", it);
|
|
72524
72525
|
var Ut = !1;
|
|
72525
72526
|
function Kt() {
|
|
72526
|
-
Z("cleanup"), be.removeListener("close", rn), be.removeListener("finish", Ct), be.removeListener("drain", it), be.removeListener("error", Ht), be.removeListener("unpipe", wt),
|
|
72527
|
+
Z("cleanup"), be.removeListener("close", rn), be.removeListener("finish", Ct), be.removeListener("drain", it), be.removeListener("error", Ht), be.removeListener("unpipe", wt), Le.removeListener("end", St), Le.removeListener("end", zt), Le.removeListener("data", It), Ut = !0, Ye.awaitDrain && (!be._writableState || be._writableState.needDrain) && it();
|
|
72527
72528
|
}
|
|
72528
|
-
|
|
72529
|
+
Le.on("data", It);
|
|
72529
72530
|
function It(de) {
|
|
72530
72531
|
Z("ondata");
|
|
72531
72532
|
var ie = be.write(de);
|
|
72532
|
-
Z("dest.write", ie), ie === !1 && ((Ye.pipesCount === 1 && Ye.pipes === be || Ye.pipesCount > 1 && Te(Ye.pipes, be) !== -1) && !Ut && (Z("false write response, pause", Ye.awaitDrain), Ye.awaitDrain++),
|
|
72533
|
+
Z("dest.write", ie), ie === !1 && ((Ye.pipesCount === 1 && Ye.pipes === be || Ye.pipesCount > 1 && Te(Ye.pipes, be) !== -1) && !Ut && (Z("false write response, pause", Ye.awaitDrain), Ye.awaitDrain++), Le.pause());
|
|
72533
72534
|
}
|
|
72534
72535
|
function Ht(de) {
|
|
72535
72536
|
Z("onerror", de), zt(), be.removeListener("error", Ht), I(be, "error") === 0 && ve(be, de);
|
|
@@ -72544,24 +72545,24 @@ function require_stream_readable() {
|
|
|
72544
72545
|
}
|
|
72545
72546
|
be.once("finish", Ct);
|
|
72546
72547
|
function zt() {
|
|
72547
|
-
Z("unpipe"),
|
|
72548
|
+
Z("unpipe"), Le.unpipe(be);
|
|
72548
72549
|
}
|
|
72549
|
-
return be.emit("pipe",
|
|
72550
|
+
return be.emit("pipe", Le), Ye.flowing || (Z("pipe resume"), Le.resume()), be;
|
|
72550
72551
|
};
|
|
72551
72552
|
function tt(be) {
|
|
72552
72553
|
return function() {
|
|
72553
|
-
var
|
|
72554
|
-
Z("pipeOnDrain",
|
|
72554
|
+
var Le = be._readableState;
|
|
72555
|
+
Z("pipeOnDrain", Le.awaitDrain), Le.awaitDrain && Le.awaitDrain--, Le.awaitDrain === 0 && I(be, "data") && (Le.flowing = !0, Ue(be));
|
|
72555
72556
|
};
|
|
72556
72557
|
}
|
|
72557
72558
|
$e.prototype.unpipe = function(be) {
|
|
72558
|
-
var ye = this._readableState,
|
|
72559
|
+
var ye = this._readableState, Le = {
|
|
72559
72560
|
hasUnpiped: !1
|
|
72560
72561
|
};
|
|
72561
72562
|
if (ye.pipesCount === 0)
|
|
72562
72563
|
return this;
|
|
72563
72564
|
if (ye.pipesCount === 1)
|
|
72564
|
-
return be && be !== ye.pipes ? this : (be || (be = ye.pipes), ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1, be && be.emit("unpipe", this,
|
|
72565
|
+
return be && be !== ye.pipes ? this : (be || (be = ye.pipes), ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1, be && be.emit("unpipe", this, Le), this);
|
|
72565
72566
|
if (!be) {
|
|
72566
72567
|
var Ye = ye.pipes, ct = ye.pipesCount;
|
|
72567
72568
|
ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1;
|
|
@@ -72572,13 +72573,13 @@ function require_stream_readable() {
|
|
|
72572
72573
|
return this;
|
|
72573
72574
|
}
|
|
72574
72575
|
var wt = Te(ye.pipes, be);
|
|
72575
|
-
return wt === -1 ? this : (ye.pipes.splice(wt, 1), ye.pipesCount -= 1, ye.pipesCount === 1 && (ye.pipes = ye.pipes[0]), be.emit("unpipe", this,
|
|
72576
|
+
return wt === -1 ? this : (ye.pipes.splice(wt, 1), ye.pipesCount -= 1, ye.pipesCount === 1 && (ye.pipes = ye.pipes[0]), be.emit("unpipe", this, Le), this);
|
|
72576
72577
|
}, $e.prototype.on = function(be, ye) {
|
|
72577
|
-
var
|
|
72578
|
-
return be === "data" ? (Ye.readableListening = this.listenerCount("readable") > 0, Ye.flowing !== !1 && this.resume()) : be === "readable" && !Ye.endEmitted && !Ye.readableListening && (Ye.readableListening = Ye.needReadable = !0, Ye.flowing = !1, Ye.emittedReadable = !1, Z("on readable", Ye.length, Ye.reading), Ye.length ? st(this) : Ye.reading || process.nextTick(qe, this)),
|
|
72578
|
+
var Le = U.prototype.on.call(this, be, ye), Ye = this._readableState;
|
|
72579
|
+
return be === "data" ? (Ye.readableListening = this.listenerCount("readable") > 0, Ye.flowing !== !1 && this.resume()) : be === "readable" && !Ye.endEmitted && !Ye.readableListening && (Ye.readableListening = Ye.needReadable = !0, Ye.flowing = !1, Ye.emittedReadable = !1, Z("on readable", Ye.length, Ye.reading), Ye.length ? st(this) : Ye.reading || process.nextTick(qe, this)), Le;
|
|
72579
72580
|
}, $e.prototype.addListener = $e.prototype.on, $e.prototype.removeListener = function(be, ye) {
|
|
72580
|
-
var
|
|
72581
|
-
return be === "readable" && process.nextTick(ze, this),
|
|
72581
|
+
var Le = U.prototype.removeListener.call(this, be, ye);
|
|
72582
|
+
return be === "readable" && process.nextTick(ze, this), Le;
|
|
72582
72583
|
}, $e.prototype.removeAllListeners = function(be) {
|
|
72583
72584
|
var ye = U.prototype.removeAllListeners.apply(this, arguments);
|
|
72584
72585
|
return (be === "readable" || be === void 0) && process.nextTick(ze, this), ye;
|
|
@@ -72609,15 +72610,15 @@ function require_stream_readable() {
|
|
|
72609
72610
|
;
|
|
72610
72611
|
}
|
|
72611
72612
|
$e.prototype.wrap = function(be) {
|
|
72612
|
-
var ye = this,
|
|
72613
|
+
var ye = this, Le = this._readableState, Ye = !1;
|
|
72613
72614
|
be.on("end", function() {
|
|
72614
|
-
if (Z("wrapped end"),
|
|
72615
|
-
var wt =
|
|
72615
|
+
if (Z("wrapped end"), Le.decoder && !Le.ended) {
|
|
72616
|
+
var wt = Le.decoder.end();
|
|
72616
72617
|
wt && wt.length && ye.push(wt);
|
|
72617
72618
|
}
|
|
72618
72619
|
ye.push(null);
|
|
72619
72620
|
}), be.on("data", function(wt) {
|
|
72620
|
-
if (Z("wrapped data"),
|
|
72621
|
+
if (Z("wrapped data"), Le.decoder && (wt = Le.decoder.write(wt)), !(Le.objectMode && wt == null) && !(!Le.objectMode && (!wt || !wt.length))) {
|
|
72621
72622
|
var St = ye.push(wt);
|
|
72622
72623
|
St || (Ye = !0, be.pause());
|
|
72623
72624
|
}
|
|
@@ -72674,8 +72675,8 @@ function require_stream_readable() {
|
|
|
72674
72675
|
function He(be, ye) {
|
|
72675
72676
|
if (ye.length === 0)
|
|
72676
72677
|
return null;
|
|
72677
|
-
var
|
|
72678
|
-
return ye.objectMode ?
|
|
72678
|
+
var Le;
|
|
72679
|
+
return ye.objectMode ? Le = ye.buffer.shift() : !be || be >= ye.length ? (ye.decoder ? Le = ye.buffer.join("") : ye.buffer.length === 1 ? Le = ye.buffer.first() : Le = ye.buffer.concat(ye.length), ye.buffer.clear()) : Le = ye.buffer.consume(be, ye.decoder), Le;
|
|
72679
72680
|
}
|
|
72680
72681
|
function Ie(be) {
|
|
72681
72682
|
var ye = be._readableState;
|
|
@@ -72683,17 +72684,17 @@ function require_stream_readable() {
|
|
|
72683
72684
|
}
|
|
72684
72685
|
function Re(be, ye) {
|
|
72685
72686
|
if (Z("endReadableNT", be.endEmitted, be.length), !be.endEmitted && be.length === 0 && (be.endEmitted = !0, ye.readable = !1, ye.emit("end"), be.autoDestroy)) {
|
|
72686
|
-
var
|
|
72687
|
-
(!
|
|
72687
|
+
var Le = ye._writableState;
|
|
72688
|
+
(!Le || Le.autoDestroy && Le.finished) && ye.destroy();
|
|
72688
72689
|
}
|
|
72689
72690
|
}
|
|
72690
72691
|
typeof Symbol == "function" && ($e.from = function(be, ye) {
|
|
72691
72692
|
return he === void 0 && (he = requireFromBrowser()), he($e, be, ye);
|
|
72692
72693
|
});
|
|
72693
72694
|
function Te(be, ye) {
|
|
72694
|
-
for (var
|
|
72695
|
-
if (be[
|
|
72696
|
-
return
|
|
72695
|
+
for (var Le = 0, Ye = be.length; Le < Ye; Le++)
|
|
72696
|
+
if (be[Le] === ye)
|
|
72697
|
+
return Le;
|
|
72697
72698
|
return -1;
|
|
72698
72699
|
}
|
|
72699
72700
|
return _stream_readable;
|
|
@@ -78255,8 +78256,8 @@ function parse($, I, U) {
|
|
|
78255
78256
|
function xe(Re, Te, be) {
|
|
78256
78257
|
var ye = G.line;
|
|
78257
78258
|
if (Re && (typeof Re.comment != "string" && (Re.comment = Q()), Re.filename = parse.filename), Z("{", !0)) {
|
|
78258
|
-
for (var
|
|
78259
|
-
Te(
|
|
78259
|
+
for (var Le; (Le = K()) !== "}"; )
|
|
78260
|
+
Te(Le);
|
|
78260
78261
|
Z(";", !0);
|
|
78261
78262
|
} else
|
|
78262
78263
|
be && be(), Z(";"), Re && (typeof Re.comment != "string" || q) && (Re.comment = Q(ye) || Re.comment);
|
|
@@ -78265,21 +78266,21 @@ function parse($, I, U) {
|
|
|
78265
78266
|
if (!nameRe.test(Te = K()))
|
|
78266
78267
|
throw ce(Te, "type name");
|
|
78267
78268
|
var be = new Type(Te);
|
|
78268
|
-
xe(be, function(
|
|
78269
|
-
if (!Ee(be,
|
|
78270
|
-
switch (
|
|
78269
|
+
xe(be, function(Le) {
|
|
78270
|
+
if (!Ee(be, Le))
|
|
78271
|
+
switch (Le) {
|
|
78271
78272
|
case "map":
|
|
78272
78273
|
rt(be);
|
|
78273
78274
|
break;
|
|
78274
78275
|
case "required":
|
|
78275
78276
|
case "repeated":
|
|
78276
|
-
je(be,
|
|
78277
|
+
je(be, Le);
|
|
78277
78278
|
break;
|
|
78278
78279
|
case "optional":
|
|
78279
78280
|
se ? je(be, "proto3_optional") : je(be, "optional");
|
|
78280
78281
|
break;
|
|
78281
78282
|
case "oneof":
|
|
78282
|
-
st(be,
|
|
78283
|
+
st(be, Le);
|
|
78283
78284
|
break;
|
|
78284
78285
|
case "extensions":
|
|
78285
78286
|
ve(be.extensions || (be.extensions = []));
|
|
@@ -78288,9 +78289,9 @@ function parse($, I, U) {
|
|
|
78288
78289
|
ve(be.reserved || (be.reserved = []), !0);
|
|
78289
78290
|
break;
|
|
78290
78291
|
default:
|
|
78291
|
-
if (!se || !typeRefRe.test(
|
|
78292
|
-
throw ce(
|
|
78293
|
-
Y(
|
|
78292
|
+
if (!se || !typeRefRe.test(Le))
|
|
78293
|
+
throw ce(Le);
|
|
78294
|
+
Y(Le), je(be, "optional");
|
|
78294
78295
|
break;
|
|
78295
78296
|
}
|
|
78296
78297
|
}), Re.add(be);
|
|
@@ -78303,11 +78304,11 @@ function parse($, I, U) {
|
|
|
78303
78304
|
}
|
|
78304
78305
|
if (!typeRefRe.test(ye))
|
|
78305
78306
|
throw ce(ye, "type");
|
|
78306
|
-
var
|
|
78307
|
-
if (!nameRe.test(
|
|
78308
|
-
throw ce(
|
|
78309
|
-
|
|
78310
|
-
var Ye = new Field(
|
|
78307
|
+
var Le = K();
|
|
78308
|
+
if (!nameRe.test(Le))
|
|
78309
|
+
throw ce(Le, "name");
|
|
78310
|
+
Le = le(Le), Z("=");
|
|
78311
|
+
var Ye = new Field(Le, ge(K()), ye, Te, be);
|
|
78311
78312
|
if (xe(Ye, function(wt) {
|
|
78312
78313
|
if (wt === "option")
|
|
78313
78314
|
ht(Ye, wt), Z(";");
|
|
@@ -78316,7 +78317,7 @@ function parse($, I, U) {
|
|
|
78316
78317
|
}, function() {
|
|
78317
78318
|
nt(Ye);
|
|
78318
78319
|
}), Te === "proto3_optional") {
|
|
78319
|
-
var ct = new OneOf("_" +
|
|
78320
|
+
var ct = new OneOf("_" + Le);
|
|
78320
78321
|
Ye.setOption("proto3_optional", !0), ct.add(Ye), Re.add(ct);
|
|
78321
78322
|
} else
|
|
78322
78323
|
Re.add(Ye);
|
|
@@ -78333,9 +78334,9 @@ function parse($, I, U) {
|
|
|
78333
78334
|
throw ce(be, "name");
|
|
78334
78335
|
var ye = util.lcFirst(be);
|
|
78335
78336
|
be === ye && (be = util.ucFirst(be)), Z("=");
|
|
78336
|
-
var
|
|
78337
|
+
var Le = ge(K()), Ye = new Type(be);
|
|
78337
78338
|
Ye.group = !0;
|
|
78338
|
-
var ct = new Field(ye,
|
|
78339
|
+
var ct = new Field(ye, Le, be, Te);
|
|
78339
78340
|
ct.filename = parse.filename, xe(Ye, function(wt) {
|
|
78340
78341
|
switch (wt) {
|
|
78341
78342
|
case "option":
|
|
@@ -78373,38 +78374,38 @@ function parse($, I, U) {
|
|
|
78373
78374
|
if (!nameRe.test(ye))
|
|
78374
78375
|
throw ce(ye, "name");
|
|
78375
78376
|
Z("=");
|
|
78376
|
-
var
|
|
78377
|
-
xe(
|
|
78377
|
+
var Le = new MapField(le(ye), ge(K()), Te, be);
|
|
78378
|
+
xe(Le, function(ct) {
|
|
78378
78379
|
if (ct === "option")
|
|
78379
|
-
ht(
|
|
78380
|
+
ht(Le, ct), Z(";");
|
|
78380
78381
|
else
|
|
78381
78382
|
throw ce(ct);
|
|
78382
78383
|
}, function() {
|
|
78383
|
-
nt(
|
|
78384
|
-
}), Re.add(
|
|
78384
|
+
nt(Le);
|
|
78385
|
+
}), Re.add(Le);
|
|
78385
78386
|
}
|
|
78386
78387
|
function st(Re, Te) {
|
|
78387
78388
|
if (!nameRe.test(Te = K()))
|
|
78388
78389
|
throw ce(Te, "name");
|
|
78389
78390
|
var be = new OneOf(le(Te));
|
|
78390
|
-
xe(be, function(
|
|
78391
|
-
|
|
78391
|
+
xe(be, function(Le) {
|
|
78392
|
+
Le === "option" ? (ht(be, Le), Z(";")) : (Y(Le), je(be, "optional"));
|
|
78392
78393
|
}), Re.add(be);
|
|
78393
78394
|
}
|
|
78394
78395
|
function lt(Re, Te) {
|
|
78395
78396
|
if (!nameRe.test(Te = K()))
|
|
78396
78397
|
throw ce(Te, "name");
|
|
78397
78398
|
var be = new Enum(Te);
|
|
78398
|
-
xe(be, function(
|
|
78399
|
-
switch (
|
|
78399
|
+
xe(be, function(Le) {
|
|
78400
|
+
switch (Le) {
|
|
78400
78401
|
case "option":
|
|
78401
|
-
ht(be,
|
|
78402
|
+
ht(be, Le), Z(";");
|
|
78402
78403
|
break;
|
|
78403
78404
|
case "reserved":
|
|
78404
78405
|
ve(be.reserved || (be.reserved = []), !0);
|
|
78405
78406
|
break;
|
|
78406
78407
|
default:
|
|
78407
|
-
at(be,
|
|
78408
|
+
at(be, Le);
|
|
78408
78409
|
}
|
|
78409
78410
|
}), Re.add(be);
|
|
78410
78411
|
}
|
|
@@ -78415,8 +78416,8 @@ function parse($, I, U) {
|
|
|
78415
78416
|
var be = ge(K(), !0), ye = {
|
|
78416
78417
|
options: void 0
|
|
78417
78418
|
};
|
|
78418
|
-
ye.setOption = function(
|
|
78419
|
-
this.options === void 0 && (this.options = {}), this.options[
|
|
78419
|
+
ye.setOption = function(Le, Ye) {
|
|
78420
|
+
this.options === void 0 && (this.options = {}), this.options[Le] = Ye;
|
|
78420
78421
|
}, xe(ye, function(Ye) {
|
|
78421
78422
|
if (Ye === "option")
|
|
78422
78423
|
ht(ye, Ye), Z(";");
|
|
@@ -78430,17 +78431,17 @@ function parse($, I, U) {
|
|
|
78430
78431
|
var be = Z("(", !0);
|
|
78431
78432
|
if (!typeRefRe.test(Te = K()))
|
|
78432
78433
|
throw ce(Te, "name");
|
|
78433
|
-
var ye = Te,
|
|
78434
|
-
be && (Z(")"), ye = "(" + ye + ")",
|
|
78434
|
+
var ye = Te, Le = ye, Ye;
|
|
78435
|
+
be && (Z(")"), ye = "(" + ye + ")", Le = ye, Te = J(), fqTypeRefRe.test(Te) && (Ye = Te.slice(1), ye += Te, K())), Z("=");
|
|
78435
78436
|
var ct = tt(Re, ye);
|
|
78436
|
-
qe(Re,
|
|
78437
|
+
qe(Re, Le, ct, Ye);
|
|
78437
78438
|
}
|
|
78438
78439
|
function tt(Re, Te) {
|
|
78439
78440
|
if (Z("{", !0)) {
|
|
78440
78441
|
for (var be = {}; !Z("}", !0); ) {
|
|
78441
78442
|
if (!nameRe.test(Ie = K()))
|
|
78442
78443
|
throw ce(Ie, "name");
|
|
78443
|
-
var ye,
|
|
78444
|
+
var ye, Le = Ie;
|
|
78444
78445
|
if (Z(":", !0), J() === "{")
|
|
78445
78446
|
ye = tt(Re, Te + "." + Ie);
|
|
78446
78447
|
else if (J() === "[") {
|
|
@@ -78454,8 +78455,8 @@ function parse($, I, U) {
|
|
|
78454
78455
|
}
|
|
78455
78456
|
} else
|
|
78456
78457
|
ye = he(!0), ze(Re, Te + "." + Ie, ye);
|
|
78457
|
-
var ct = be[
|
|
78458
|
-
ct && (ye = [].concat(ct).concat(ye)), be[
|
|
78458
|
+
var ct = be[Le];
|
|
78459
|
+
ct && (ye = [].concat(ct).concat(ye)), be[Le] = ye, Z(",", !0), Z(";", !0);
|
|
78459
78460
|
}
|
|
78460
78461
|
return be;
|
|
78461
78462
|
}
|
|
@@ -78481,23 +78482,23 @@ function parse($, I, U) {
|
|
|
78481
78482
|
if (!nameRe.test(Te = K()))
|
|
78482
78483
|
throw ce(Te, "service name");
|
|
78483
78484
|
var be = new Service(Te);
|
|
78484
|
-
xe(be, function(
|
|
78485
|
-
if (!Ee(be,
|
|
78486
|
-
if (
|
|
78487
|
-
Ue(be,
|
|
78485
|
+
xe(be, function(Le) {
|
|
78486
|
+
if (!Ee(be, Le))
|
|
78487
|
+
if (Le === "rpc")
|
|
78488
|
+
Ue(be, Le);
|
|
78488
78489
|
else
|
|
78489
|
-
throw ce(
|
|
78490
|
+
throw ce(Le);
|
|
78490
78491
|
}), Re.add(be);
|
|
78491
78492
|
}
|
|
78492
78493
|
function Ue(Re, Te) {
|
|
78493
78494
|
var be = Q(), ye = Te;
|
|
78494
78495
|
if (!nameRe.test(Te = K()))
|
|
78495
78496
|
throw ce(Te, "name");
|
|
78496
|
-
var
|
|
78497
|
+
var Le = Te, Ye, ct, ut, wt;
|
|
78497
78498
|
if (Z("("), Z("stream", !0) && (ct = !0), !typeRefRe.test(Te = K()) || (Ye = Te, Z(")"), Z("returns"), Z("("), Z("stream", !0) && (wt = !0), !typeRefRe.test(Te = K())))
|
|
78498
78499
|
throw ce(Te);
|
|
78499
78500
|
ut = Te, Z(")");
|
|
78500
|
-
var St = new Method(
|
|
78501
|
+
var St = new Method(Le, ye, Ye, ut, ct, wt);
|
|
78501
78502
|
St.comment = be, xe(St, function(Ut) {
|
|
78502
78503
|
if (Ut === "option")
|
|
78503
78504
|
ht(St, Ut), Z(";");
|
|
@@ -78509,19 +78510,19 @@ function parse($, I, U) {
|
|
|
78509
78510
|
if (!typeRefRe.test(Te = K()))
|
|
78510
78511
|
throw ce(Te, "reference");
|
|
78511
78512
|
var be = Te;
|
|
78512
|
-
xe(null, function(
|
|
78513
|
-
switch (
|
|
78513
|
+
xe(null, function(Le) {
|
|
78514
|
+
switch (Le) {
|
|
78514
78515
|
case "required":
|
|
78515
78516
|
case "repeated":
|
|
78516
|
-
je(Re,
|
|
78517
|
+
je(Re, Le, be);
|
|
78517
78518
|
break;
|
|
78518
78519
|
case "optional":
|
|
78519
78520
|
se ? je(Re, "proto3_optional", be) : je(Re, "optional", be);
|
|
78520
78521
|
break;
|
|
78521
78522
|
default:
|
|
78522
|
-
if (!se || !typeRefRe.test(
|
|
78523
|
-
throw ce(
|
|
78524
|
-
Y(
|
|
78523
|
+
if (!se || !typeRefRe.test(Le))
|
|
78524
|
+
throw ce(Le);
|
|
78525
|
+
Y(Le), je(Re, "optional", be);
|
|
78525
78526
|
break;
|
|
78526
78527
|
}
|
|
78527
78528
|
});
|
|
@@ -79276,7 +79277,7 @@ dist$1.addValue = memory_1.addValue;
|
|
|
79276
79277
|
var helpers_1 = helpers;
|
|
79277
79278
|
dist$1.trimUndefined = helpers_1.trimUndefined;
|
|
79278
79279
|
dist$1.trimUndefinedRecursively = helpers_1.trimUndefinedRecursively;
|
|
79279
|
-
var __dxlog_file3$
|
|
79280
|
+
var __dxlog_file3$3 = "/home/runner/work/dxos/dxos/packages/common/codec-protobuf/src/stream.ts", Stream$1 = class dr {
|
|
79280
79281
|
constructor(I) {
|
|
79281
79282
|
this._messageHandler = void 0, this._closeHandler = void 0, this._readyHandler = void 0, this._isClosed = !1, this._closeError = void 0, this._producerCleanup = void 0, this._isReady = !1, this._buffer = [], this._readyPromise = new Promise((U) => {
|
|
79282
79283
|
this._resolveReadyPromise = U;
|
|
@@ -79295,7 +79296,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
|
|
|
79295
79296
|
next: (q) => {
|
|
79296
79297
|
if (this._isClosed) {
|
|
79297
79298
|
log$2("Stream is closed, dropping message.", void 0, {
|
|
79298
|
-
F: __dxlog_file3$
|
|
79299
|
+
F: __dxlog_file3$3,
|
|
79299
79300
|
L: 207,
|
|
79300
79301
|
S: this,
|
|
79301
79302
|
C: (G, K) => G(...K)
|
|
@@ -79310,7 +79311,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
|
|
|
79310
79311
|
}
|
|
79311
79312
|
else
|
|
79312
79313
|
invariant(this._buffer, void 0, {
|
|
79313
|
-
F: __dxlog_file3$
|
|
79314
|
+
F: __dxlog_file3$3,
|
|
79314
79315
|
L: 221,
|
|
79315
79316
|
S: this,
|
|
79316
79317
|
A: [
|
|
@@ -79412,7 +79413,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
|
|
|
79412
79413
|
// TODO(burdon): Can this be cancelled?
|
|
79413
79414
|
subscribe(I, U) {
|
|
79414
79415
|
invariant(!this._messageHandler, "Stream is already subscribed to.", {
|
|
79415
|
-
F: __dxlog_file3$
|
|
79416
|
+
F: __dxlog_file3$3,
|
|
79416
79417
|
L: 262,
|
|
79417
79418
|
S: this,
|
|
79418
79419
|
A: [
|
|
@@ -79420,7 +79421,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
|
|
|
79420
79421
|
"'Stream is already subscribed to.'"
|
|
79421
79422
|
]
|
|
79422
79423
|
}), invariant(!this._closeHandler, "Stream is already subscribed to.", {
|
|
79423
|
-
F: __dxlog_file3$
|
|
79424
|
+
F: __dxlog_file3$3,
|
|
79424
79425
|
L: 263,
|
|
79425
79426
|
S: this,
|
|
79426
79427
|
A: [
|
|
@@ -79428,7 +79429,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
|
|
|
79428
79429
|
"'Stream is already subscribed to.'"
|
|
79429
79430
|
]
|
|
79430
79431
|
}), invariant(this._buffer, void 0, {
|
|
79431
|
-
F: __dxlog_file3$
|
|
79432
|
+
F: __dxlog_file3$3,
|
|
79432
79433
|
L: 264,
|
|
79433
79434
|
S: this,
|
|
79434
79435
|
A: [
|
|
@@ -79460,7 +79461,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
|
|
|
79460
79461
|
*/
|
|
79461
79462
|
onReady(I) {
|
|
79462
79463
|
invariant(!this._readyHandler, "Stream already has a handler for the ready event.", {
|
|
79463
|
-
F: __dxlog_file3$
|
|
79464
|
+
F: __dxlog_file3$3,
|
|
79464
79465
|
L: 299,
|
|
79465
79466
|
S: this,
|
|
79466
79467
|
A: [
|
|
@@ -79937,7 +79938,7 @@ lodash_ismatch.exports;
|
|
|
79937
79938
|
Nt[yt] = et(yt);
|
|
79938
79939
|
return Nt;
|
|
79939
79940
|
}
|
|
79940
|
-
function
|
|
79941
|
+
function Le(Fe) {
|
|
79941
79942
|
return function(et) {
|
|
79942
79943
|
return Fe(et);
|
|
79943
79944
|
};
|
|
@@ -80059,10 +80060,10 @@ lodash_ismatch.exports;
|
|
|
80059
80060
|
function Bt(Fe) {
|
|
80060
80061
|
return Je(this, Fe).has(Fe);
|
|
80061
80062
|
}
|
|
80062
|
-
function
|
|
80063
|
+
function Lt(Fe, et) {
|
|
80063
80064
|
return Je(this, Fe).set(Fe, et), this;
|
|
80064
80065
|
}
|
|
80065
|
-
ot.prototype.clear = dt, ot.prototype.delete = Et, ot.prototype.get = Rt, ot.prototype.has = Bt, ot.prototype.set =
|
|
80066
|
+
ot.prototype.clear = dt, ot.prototype.delete = Et, ot.prototype.get = Rt, ot.prototype.has = Bt, ot.prototype.set = Lt;
|
|
80066
80067
|
function Ot(Fe) {
|
|
80067
80068
|
var et = -1, yt = Fe ? Fe.length : 0;
|
|
80068
80069
|
for (this.__data__ = new ot(); ++et < yt; )
|
|
@@ -80117,7 +80118,7 @@ lodash_ismatch.exports;
|
|
|
80117
80118
|
return zt.call(Fe);
|
|
80118
80119
|
}
|
|
80119
80120
|
function Xn(Fe, et, yt, Nt, nn) {
|
|
80120
|
-
return Fe === et ? !0 : Fe == null || et == null || !Wn(Fe) && !
|
|
80121
|
+
return Fe === et ? !0 : Fe == null || et == null || !Wn(Fe) && !Mn(et) ? Fe !== Fe && et !== et : nr(Fe, et, Xn, yt, Nt, nn);
|
|
80121
80122
|
}
|
|
80122
80123
|
function nr(Fe, et, yt, Nt, nn, qt) {
|
|
80123
80124
|
var pn = fn(Fe), an = fn(et), en = Z, hn = Z;
|
|
@@ -80128,8 +80129,8 @@ lodash_ismatch.exports;
|
|
|
80128
80129
|
if (!(nn & K)) {
|
|
80129
80130
|
var In = yn && Ct.call(Fe, "__wrapped__"), Cn = kn && Ct.call(et, "__wrapped__");
|
|
80130
80131
|
if (In || Cn) {
|
|
80131
|
-
var
|
|
80132
|
-
return qt || (qt = new Yt()), yt(
|
|
80132
|
+
var Ln = In ? Fe.value() : Fe, Dn = Cn ? et.value() : et;
|
|
80133
|
+
return qt || (qt = new Yt()), yt(Ln, Dn, Nt, nn, qt);
|
|
80133
80134
|
}
|
|
80134
80135
|
}
|
|
80135
80136
|
return gn ? (qt || (qt = new Yt()), Oe(Fe, et, yt, Nt, nn, qt)) : !1;
|
|
@@ -80166,7 +80167,7 @@ lodash_ismatch.exports;
|
|
|
80166
80167
|
return et.test(Wt(Fe));
|
|
80167
80168
|
}
|
|
80168
80169
|
function ir(Fe) {
|
|
80169
|
-
return
|
|
80170
|
+
return Mn(Fe) && Zn(Fe.length) && !!tt[zt.call(Fe)];
|
|
80170
80171
|
}
|
|
80171
80172
|
function tr(Fe) {
|
|
80172
80173
|
if (!kt(Fe))
|
|
@@ -80187,9 +80188,9 @@ lodash_ismatch.exports;
|
|
|
80187
80188
|
for (qt.set(Fe, et), qt.set(et, Fe); ++yn < an; ) {
|
|
80188
80189
|
var In = Fe[yn], Cn = et[yn];
|
|
80189
80190
|
if (Nt)
|
|
80190
|
-
var
|
|
80191
|
-
if (
|
|
80192
|
-
if (
|
|
80191
|
+
var Ln = pn ? Nt(Cn, In, yn, et, Fe, qt) : Nt(In, Cn, yn, Fe, et, qt);
|
|
80192
|
+
if (Ln !== void 0) {
|
|
80193
|
+
if (Ln)
|
|
80193
80194
|
continue;
|
|
80194
80195
|
kn = !1;
|
|
80195
80196
|
break;
|
|
@@ -80258,7 +80259,7 @@ lodash_ismatch.exports;
|
|
|
80258
80259
|
return In == et;
|
|
80259
80260
|
var Cn = !0;
|
|
80260
80261
|
qt.set(Fe, et), qt.set(et, Fe);
|
|
80261
|
-
for (var
|
|
80262
|
+
for (var Ln = pn; ++kn < en; ) {
|
|
80262
80263
|
gn = an[kn];
|
|
80263
80264
|
var Dn = Fe[gn], Pe = et[gn];
|
|
80264
80265
|
if (Nt)
|
|
@@ -80267,11 +80268,11 @@ lodash_ismatch.exports;
|
|
|
80267
80268
|
Cn = !1;
|
|
80268
80269
|
break;
|
|
80269
80270
|
}
|
|
80270
|
-
|
|
80271
|
+
Ln || (Ln = gn == "constructor");
|
|
80271
80272
|
}
|
|
80272
|
-
if (Cn && !
|
|
80273
|
-
var we = Fe.constructor,
|
|
80274
|
-
we !=
|
|
80273
|
+
if (Cn && !Ln) {
|
|
80274
|
+
var we = Fe.constructor, Me = et.constructor;
|
|
80275
|
+
we != Me && "constructor" in Fe && "constructor" in et && !(typeof we == "function" && we instanceof we && typeof Me == "function" && Me instanceof Me) && (Cn = !1);
|
|
80275
80276
|
}
|
|
80276
80277
|
return qt.delete(Fe), qt.delete(et), Cn;
|
|
80277
80278
|
}
|
|
@@ -80282,7 +80283,7 @@ lodash_ismatch.exports;
|
|
|
80282
80283
|
function Qe(Fe) {
|
|
80283
80284
|
for (var et = qn(Fe), yt = et.length; yt--; ) {
|
|
80284
80285
|
var Nt = et[yt], nn = Fe[Nt];
|
|
80285
|
-
et[yt] = [Nt, nn,
|
|
80286
|
+
et[yt] = [Nt, nn, Mt(nn)];
|
|
80286
80287
|
}
|
|
80287
80288
|
return et;
|
|
80288
80289
|
}
|
|
@@ -80322,7 +80323,7 @@ lodash_ismatch.exports;
|
|
|
80322
80323
|
var et = Fe && Fe.constructor, yt = typeof et == "function" && et.prototype || Kt;
|
|
80323
80324
|
return Fe === yt;
|
|
80324
80325
|
}
|
|
80325
|
-
function
|
|
80326
|
+
function Mt(Fe) {
|
|
80326
80327
|
return Fe === Fe && !Wn(Fe);
|
|
80327
80328
|
}
|
|
80328
80329
|
function Wt(Fe) {
|
|
@@ -80349,7 +80350,7 @@ lodash_ismatch.exports;
|
|
|
80349
80350
|
return Fe != null && Zn(Fe.length) && !Hn(Fe);
|
|
80350
80351
|
}
|
|
80351
80352
|
function wn(Fe) {
|
|
80352
|
-
return
|
|
80353
|
+
return Mn(Fe) && cn(Fe);
|
|
80353
80354
|
}
|
|
80354
80355
|
function Hn(Fe) {
|
|
80355
80356
|
var et = Wn(Fe) ? zt.call(Fe) : "";
|
|
@@ -80362,13 +80363,13 @@ lodash_ismatch.exports;
|
|
|
80362
80363
|
var et = typeof Fe;
|
|
80363
80364
|
return !!Fe && (et == "object" || et == "function");
|
|
80364
80365
|
}
|
|
80365
|
-
function
|
|
80366
|
+
function Mn(Fe) {
|
|
80366
80367
|
return !!Fe && typeof Fe == "object";
|
|
80367
80368
|
}
|
|
80368
80369
|
function sr(Fe, et) {
|
|
80369
80370
|
return Fe === et || rr(Fe, et, Qe(et));
|
|
80370
80371
|
}
|
|
80371
|
-
var ar = Te ?
|
|
80372
|
+
var ar = Te ? Le(Te) : ir;
|
|
80372
80373
|
function qn(Fe) {
|
|
80373
80374
|
return cn(Fe) ? jn(Fe) : tr(Fe);
|
|
80374
80375
|
}
|
|
@@ -81066,8 +81067,8 @@ var localforage = { exports: {} };
|
|
|
81066
81067
|
return Oe.db = kt, Ge(Oe, Ve._defaultConfig.version) ? je(Oe) : kt;
|
|
81067
81068
|
}).then(function(kt) {
|
|
81068
81069
|
Oe.db = Qe.db = kt, Ve._dbInfo = Oe;
|
|
81069
|
-
for (var
|
|
81070
|
-
var Wt = bt[
|
|
81070
|
+
for (var Mt = 0; Mt < bt.length; Mt++) {
|
|
81071
|
+
var Wt = bt[Mt];
|
|
81071
81072
|
Wt !== Ve && (Wt._dbInfo.db = Oe.db, Wt._dbInfo.version = Oe.version);
|
|
81072
81073
|
}
|
|
81073
81074
|
});
|
|
@@ -81105,19 +81106,19 @@ var localforage = { exports: {} };
|
|
|
81105
81106
|
try {
|
|
81106
81107
|
var gt = pt.objectStore(Oe._dbInfo.storeName), bt = gt.openCursor(), kt = 1;
|
|
81107
81108
|
bt.onsuccess = function() {
|
|
81108
|
-
var
|
|
81109
|
-
if (
|
|
81110
|
-
var Wt =
|
|
81109
|
+
var Mt = bt.result;
|
|
81110
|
+
if (Mt) {
|
|
81111
|
+
var Wt = Mt.value;
|
|
81111
81112
|
lt(Wt) && (Wt = st(Wt));
|
|
81112
|
-
var Jt = Ae(Wt,
|
|
81113
|
-
Jt !== void 0 ? Qe(Jt) :
|
|
81113
|
+
var Jt = Ae(Wt, Mt.key, kt++);
|
|
81114
|
+
Jt !== void 0 ? Qe(Jt) : Mt.continue();
|
|
81114
81115
|
} else
|
|
81115
81116
|
Qe();
|
|
81116
81117
|
}, bt.onerror = function() {
|
|
81117
81118
|
Ke(bt.error);
|
|
81118
81119
|
};
|
|
81119
|
-
} catch (
|
|
81120
|
-
Ke(
|
|
81120
|
+
} catch (Mt) {
|
|
81121
|
+
Ke(Mt);
|
|
81121
81122
|
}
|
|
81122
81123
|
});
|
|
81123
81124
|
}).catch(Ke);
|
|
@@ -81138,9 +81139,9 @@ var localforage = { exports: {} };
|
|
|
81138
81139
|
if (bt)
|
|
81139
81140
|
return ft(bt);
|
|
81140
81141
|
try {
|
|
81141
|
-
var
|
|
81142
|
+
var Mt = kt.objectStore(Je._dbInfo.storeName);
|
|
81142
81143
|
gt === null && (gt = void 0);
|
|
81143
|
-
var Wt =
|
|
81144
|
+
var Wt = Mt.put(gt, Ae);
|
|
81144
81145
|
kt.oncomplete = function() {
|
|
81145
81146
|
gt === void 0 && (gt = null), Ke(gt);
|
|
81146
81147
|
}, kt.onabort = kt.onerror = function() {
|
|
@@ -81237,17 +81238,17 @@ var localforage = { exports: {} };
|
|
|
81237
81238
|
try {
|
|
81238
81239
|
var gt = pt.objectStore(Oe._dbInfo.storeName), bt = !1, kt = gt.openKeyCursor();
|
|
81239
81240
|
kt.onsuccess = function() {
|
|
81240
|
-
var
|
|
81241
|
-
if (!
|
|
81241
|
+
var Mt = kt.result;
|
|
81242
|
+
if (!Mt) {
|
|
81242
81243
|
Qe(null);
|
|
81243
81244
|
return;
|
|
81244
81245
|
}
|
|
81245
|
-
Ae === 0 || bt ? Qe(
|
|
81246
|
+
Ae === 0 || bt ? Qe(Mt.key) : (bt = !0, Mt.advance(Ae));
|
|
81246
81247
|
}, kt.onerror = function() {
|
|
81247
81248
|
Ke(kt.error);
|
|
81248
81249
|
};
|
|
81249
|
-
} catch (
|
|
81250
|
-
Ke(
|
|
81250
|
+
} catch (Mt) {
|
|
81251
|
+
Ke(Mt);
|
|
81251
81252
|
}
|
|
81252
81253
|
});
|
|
81253
81254
|
}).catch(Ke);
|
|
@@ -81301,8 +81302,8 @@ var localforage = { exports: {} };
|
|
|
81301
81302
|
$e(Ae);
|
|
81302
81303
|
var bt = ce[Ae.name], kt = bt.forages;
|
|
81303
81304
|
pt.close();
|
|
81304
|
-
for (var
|
|
81305
|
-
var Wt = kt[
|
|
81305
|
+
for (var Mt = 0; Mt < kt.length; Mt++) {
|
|
81306
|
+
var Wt = kt[Mt];
|
|
81306
81307
|
Wt._dbInfo.db = null, Wt._dbInfo.version = gt;
|
|
81307
81308
|
}
|
|
81308
81309
|
var Jt = new te(function(tn, fn) {
|
|
@@ -81334,8 +81335,8 @@ var localforage = { exports: {} };
|
|
|
81334
81335
|
var gt = ce[Ae.name], bt = gt.forages;
|
|
81335
81336
|
pt.close();
|
|
81336
81337
|
for (var kt = 0; kt < bt.length; kt++) {
|
|
81337
|
-
var
|
|
81338
|
-
|
|
81338
|
+
var Mt = bt[kt];
|
|
81339
|
+
Mt._dbInfo.db = null;
|
|
81339
81340
|
}
|
|
81340
81341
|
var Wt = new te(function(Jt, tn) {
|
|
81341
81342
|
var fn = Z.deleteDatabase(Ae.name);
|
|
@@ -81363,7 +81364,7 @@ var localforage = { exports: {} };
|
|
|
81363
81364
|
}
|
|
81364
81365
|
return ne(Qe, Ve), Qe;
|
|
81365
81366
|
}
|
|
81366
|
-
var
|
|
81367
|
+
var Le = {
|
|
81367
81368
|
_driver: "asyncStorage",
|
|
81368
81369
|
_initStorage: qe,
|
|
81369
81370
|
_support: Q(),
|
|
@@ -81514,7 +81515,7 @@ var localforage = { exports: {} };
|
|
|
81514
81515
|
var ft = Oe._dbInfo;
|
|
81515
81516
|
ft.db.transaction(function(pt) {
|
|
81516
81517
|
bn(pt, ft, "SELECT * FROM " + ft.storeName, [], function(gt, bt) {
|
|
81517
|
-
for (var kt = bt.rows,
|
|
81518
|
+
for (var kt = bt.rows, Mt = kt.length, Wt = 0; Wt < Mt; Wt++) {
|
|
81518
81519
|
var Jt = kt.item(Wt), tn = Jt.value;
|
|
81519
81520
|
if (tn && (tn = ft.serializer.deserialize(tn)), tn = Ae(tn, Jt.key, Wt + 1), tn !== void 0) {
|
|
81520
81521
|
Qe(tn);
|
|
@@ -81537,8 +81538,8 @@ var localforage = { exports: {} };
|
|
|
81537
81538
|
Qe.ready().then(function() {
|
|
81538
81539
|
Ve === void 0 && (Ve = null);
|
|
81539
81540
|
var gt = Ve, bt = Qe._dbInfo;
|
|
81540
|
-
bt.serializer.serialize(Ve, function(kt,
|
|
81541
|
-
|
|
81541
|
+
bt.serializer.serialize(Ve, function(kt, Mt) {
|
|
81542
|
+
Mt ? pt(Mt) : bt.db.transaction(function(Wt) {
|
|
81542
81543
|
bn(Wt, bt, "INSERT OR REPLACE INTO " + bt.storeName + " (key, value) VALUES (?, ?)", [Ae, kt], function() {
|
|
81543
81544
|
ft(gt);
|
|
81544
81545
|
}, function(Jt, tn) {
|
|
@@ -81683,8 +81684,8 @@ var localforage = { exports: {} };
|
|
|
81683
81684
|
});
|
|
81684
81685
|
});
|
|
81685
81686
|
}
|
|
81686
|
-
for (var kt = [],
|
|
81687
|
-
kt.push(bt(Ke.storeNames[
|
|
81687
|
+
for (var kt = [], Mt = 0, Wt = Ke.storeNames.length; Mt < Wt; Mt++)
|
|
81688
|
+
kt.push(bt(Ke.storeNames[Mt]));
|
|
81688
81689
|
te.all(kt).then(function() {
|
|
81689
81690
|
ft();
|
|
81690
81691
|
}).catch(function(Jt) {
|
|
@@ -81763,9 +81764,9 @@ var localforage = { exports: {} };
|
|
|
81763
81764
|
for (var Qe = Oe._dbInfo, Ke = Qe.keyPrefix, ft = Ke.length, pt = localStorage.length, gt = 1, bt = 0; bt < pt; bt++) {
|
|
81764
81765
|
var kt = localStorage.key(bt);
|
|
81765
81766
|
if (kt.indexOf(Ke) === 0) {
|
|
81766
|
-
var
|
|
81767
|
-
if (
|
|
81768
|
-
return
|
|
81767
|
+
var Mt = localStorage.getItem(kt);
|
|
81768
|
+
if (Mt && (Mt = Qe.serializer.deserialize(Mt)), Mt = Ae(Mt, kt.substring(ft), gt++), Mt !== void 0)
|
|
81769
|
+
return Mt;
|
|
81769
81770
|
}
|
|
81770
81771
|
}
|
|
81771
81772
|
});
|
|
@@ -81793,7 +81794,7 @@ var localforage = { exports: {} };
|
|
|
81793
81794
|
});
|
|
81794
81795
|
return ne(Oe, Ae), Oe;
|
|
81795
81796
|
}
|
|
81796
|
-
function
|
|
81797
|
+
function Lt(Ae) {
|
|
81797
81798
|
var Ve = this, Oe = Ve.keys().then(function(Je) {
|
|
81798
81799
|
return Je.length;
|
|
81799
81800
|
});
|
|
@@ -81822,8 +81823,8 @@ var localforage = { exports: {} };
|
|
|
81822
81823
|
else
|
|
81823
81824
|
try {
|
|
81824
81825
|
localStorage.setItem(gt.keyPrefix + Ae, bt), ft(Ke);
|
|
81825
|
-
} catch (
|
|
81826
|
-
(
|
|
81826
|
+
} catch (Mt) {
|
|
81827
|
+
(Mt.name === "QuotaExceededError" || Mt.name === "NS_ERROR_DOM_QUOTA_REACHED") && pt(Mt), pt(Mt);
|
|
81827
81828
|
}
|
|
81828
81829
|
});
|
|
81829
81830
|
});
|
|
@@ -81854,7 +81855,7 @@ var localforage = { exports: {} };
|
|
|
81854
81855
|
setItem: Zt,
|
|
81855
81856
|
removeItem: Ot,
|
|
81856
81857
|
clear: ot,
|
|
81857
|
-
length:
|
|
81858
|
+
length: Lt,
|
|
81858
81859
|
key: Rt,
|
|
81859
81860
|
keys: Bt,
|
|
81860
81861
|
dropInstance: Qt
|
|
@@ -81870,7 +81871,7 @@ var localforage = { exports: {} };
|
|
|
81870
81871
|
}, Yn = Array.isArray || function(Ae) {
|
|
81871
81872
|
return Object.prototype.toString.call(Ae) === "[object Array]";
|
|
81872
81873
|
}, dn = {}, Bn = {}, jn = {
|
|
81873
|
-
INDEXEDDB:
|
|
81874
|
+
INDEXEDDB: Le,
|
|
81874
81875
|
WEBSQL: _n,
|
|
81875
81876
|
LOCALSTORAGE: Yt
|
|
81876
81877
|
}, An = [jn.INDEXEDDB._driver, jn.WEBSQL._driver, jn.LOCALSTORAGE._driver], Un = ["dropInstance"], Xn = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Un), nr = {
|
|
@@ -81931,8 +81932,8 @@ var localforage = { exports: {} };
|
|
|
81931
81932
|
pt(bt);
|
|
81932
81933
|
return;
|
|
81933
81934
|
}
|
|
81934
|
-
for (var kt = Xn.concat("_initStorage"),
|
|
81935
|
-
var Jt = kt[
|
|
81935
|
+
for (var kt = Xn.concat("_initStorage"), Mt = 0, Wt = kt.length; Mt < Wt; Mt++) {
|
|
81936
|
+
var Jt = kt[Mt], tn = !xn(Un, Jt);
|
|
81936
81937
|
if ((tn || Oe[Jt]) && typeof Oe[Jt] != "function") {
|
|
81937
81938
|
pt(bt);
|
|
81938
81939
|
return;
|
|
@@ -81945,8 +81946,8 @@ var localforage = { exports: {} };
|
|
|
81945
81946
|
return ne(Fe, arguments[arguments.length - 1]), Fe;
|
|
81946
81947
|
};
|
|
81947
81948
|
}, Zn = 0, Wn = Un.length; Zn < Wn; Zn++) {
|
|
81948
|
-
var
|
|
81949
|
-
Oe[
|
|
81949
|
+
var Mn = Un[Zn];
|
|
81950
|
+
Oe[Mn] || (Oe[Mn] = Hn(Mn));
|
|
81950
81951
|
}
|
|
81951
81952
|
};
|
|
81952
81953
|
fn();
|
|
@@ -81979,15 +81980,15 @@ var localforage = { exports: {} };
|
|
|
81979
81980
|
function pt() {
|
|
81980
81981
|
Ke._config.driver = Ke.driver();
|
|
81981
81982
|
}
|
|
81982
|
-
function gt(
|
|
81983
|
-
return Ke._extend(
|
|
81983
|
+
function gt(Mt) {
|
|
81984
|
+
return Ke._extend(Mt), pt(), Ke._ready = Ke._initStorage(Ke._config), Ke._ready;
|
|
81984
81985
|
}
|
|
81985
|
-
function bt(
|
|
81986
|
+
function bt(Mt) {
|
|
81986
81987
|
return function() {
|
|
81987
81988
|
var Wt = 0;
|
|
81988
81989
|
function Jt() {
|
|
81989
|
-
for (; Wt <
|
|
81990
|
-
var tn =
|
|
81990
|
+
for (; Wt < Mt.length; ) {
|
|
81991
|
+
var tn = Mt[Wt];
|
|
81991
81992
|
return Wt++, Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(tn).then(gt).catch(Jt);
|
|
81992
81993
|
}
|
|
81993
81994
|
pt();
|
|
@@ -82001,14 +82002,14 @@ var localforage = { exports: {} };
|
|
|
82001
82002
|
return te.resolve();
|
|
82002
82003
|
}) : te.resolve();
|
|
82003
82004
|
return this._driverSet = kt.then(function() {
|
|
82004
|
-
var
|
|
82005
|
-
return Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(
|
|
82005
|
+
var Mt = ft[0];
|
|
82006
|
+
return Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(Mt).then(function(Wt) {
|
|
82006
82007
|
Ke._driver = Wt._driver, pt(), Ke._wrapLibraryMethodsWithReady(), Ke._initDriver = bt(ft);
|
|
82007
82008
|
});
|
|
82008
82009
|
}).catch(function() {
|
|
82009
82010
|
pt();
|
|
82010
|
-
var
|
|
82011
|
-
return Ke._driverSet = te.reject(
|
|
82011
|
+
var Mt = new Error("No available storage method found.");
|
|
82012
|
+
return Ke._driverSet = te.reject(Mt), Ke._driverSet;
|
|
82012
82013
|
}), re(this._driverSet, Je, Qe), this._driverSet;
|
|
82013
82014
|
}, Ae.prototype.supports = function(Oe) {
|
|
82014
82015
|
return !!Bn[Oe];
|
|
@@ -82115,7 +82116,7 @@ var SignalState;
|
|
|
82115
82116
|
var ws = null;
|
|
82116
82117
|
typeof WebSocket < "u" ? ws = WebSocket : typeof MozWebSocket < "u" ? ws = MozWebSocket : typeof commonjsGlobal < "u" ? ws = commonjsGlobal.WebSocket || commonjsGlobal.MozWebSocket : typeof window < "u" ? ws = window.WebSocket || window.MozWebSocket : typeof self < "u" && (ws = self.WebSocket || self.MozWebSocket);
|
|
82117
82118
|
var browser$3 = ws;
|
|
82118
|
-
const
|
|
82119
|
+
const WebSocket3 = /* @__PURE__ */ getDefaultExportFromCjs(browser$3);
|
|
82119
82120
|
var MessageTrace;
|
|
82120
82121
|
(function($) {
|
|
82121
82122
|
(function(I) {
|
|
@@ -82799,7 +82800,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
82799
82800
|
L: 55,
|
|
82800
82801
|
S: this,
|
|
82801
82802
|
C: (q, G) => q(...G)
|
|
82802
|
-
}), this._url = $, this._callbacks = I, this._socket = new
|
|
82803
|
+
}), this._url = $, this._callbacks = I, this._socket = new WebSocket3(this._url), this._rpc = createProtoRpcPeer({
|
|
82803
82804
|
requested: {
|
|
82804
82805
|
Signal: schema.getService("dxos.mesh.signal.Signal")
|
|
82805
82806
|
},
|
|
@@ -82886,7 +82887,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
82886
82887
|
var $, I, U, q;
|
|
82887
82888
|
await (($ = this._keepaliveCtx) == null ? void 0 : $.dispose()), this._closed = !0;
|
|
82888
82889
|
try {
|
|
82889
|
-
await ((I = this._rpc) == null ? void 0 : I.close()), (((U = this._socket) == null ? void 0 : U.readyState) ===
|
|
82890
|
+
await ((I = this._rpc) == null ? void 0 : I.close()), (((U = this._socket) == null ? void 0 : U.readyState) === WebSocket3.OPEN || ((q = this._socket) == null ? void 0 : q.readyState) === WebSocket3.CONNECTING) && this._socket.close(), await this._closeComplete.wait({
|
|
82890
82891
|
timeout: 1e3
|
|
82891
82892
|
});
|
|
82892
82893
|
} catch (G) {
|
|
@@ -82996,7 +82997,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
82996
82997
|
metadata: (G = (q = this._callbacks) == null ? void 0 : q.getMetadata) == null ? void 0 : G.call(q)
|
|
82997
82998
|
});
|
|
82998
82999
|
}
|
|
82999
|
-
}, __dxlog_file3$
|
|
83000
|
+
}, __dxlog_file3$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-client/signal-client.ts", DEFAULT_RECONNECT_TIMEOUT = 100, MAX_RECONNECT_TIMEOUT = 5e3, ERROR_RECONCILE_DELAY = 1e3, RECONCILE_INTERVAL = 5e3, SignalClient = class {
|
|
83000
83001
|
/**
|
|
83001
83002
|
* @param _host Signal server websocket URL.
|
|
83002
83003
|
* @param _onMessage
|
|
@@ -83015,7 +83016,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83015
83016
|
log$2.trace("dxos.mesh.signal-client.open", trace$1.begin({
|
|
83016
83017
|
id: this._instanceId
|
|
83017
83018
|
}), {
|
|
83018
|
-
F: __dxlog_file3$
|
|
83019
|
+
F: __dxlog_file3$2,
|
|
83019
83020
|
L: 136,
|
|
83020
83021
|
S: this,
|
|
83021
83022
|
C: ($, I) => $(...I)
|
|
@@ -83026,7 +83027,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83026
83027
|
onError: ($) => {
|
|
83027
83028
|
var I;
|
|
83028
83029
|
this._state === SignalState.CLOSED || (I = this._ctx) != null && I.disposed || (this._state === SignalState.CONNECTED && log$2.warn("SignalClient error:", $, {
|
|
83029
|
-
F: __dxlog_file3$
|
|
83030
|
+
F: __dxlog_file3$2,
|
|
83030
83031
|
L: 148,
|
|
83031
83032
|
S: this,
|
|
83032
83033
|
C: (U, q) => U(...q)
|
|
@@ -83041,7 +83042,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83041
83042
|
}), this._setState(SignalState.CONNECTING), this._createClient(), log$2.trace("dxos.mesh.signal-client.open", trace$1.end({
|
|
83042
83043
|
id: this._instanceId
|
|
83043
83044
|
}), {
|
|
83044
|
-
F: __dxlog_file3$
|
|
83045
|
+
F: __dxlog_file3$2,
|
|
83045
83046
|
L: 177,
|
|
83046
83047
|
S: this,
|
|
83047
83048
|
C: ($, I) => $(...I)
|
|
@@ -83050,14 +83051,14 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83050
83051
|
async close() {
|
|
83051
83052
|
var $, I;
|
|
83052
83053
|
log$2("closing...", void 0, {
|
|
83053
|
-
F: __dxlog_file3$
|
|
83054
|
+
F: __dxlog_file3$2,
|
|
83054
83055
|
L: 181,
|
|
83055
83056
|
S: this,
|
|
83056
83057
|
C: (U, q) => U(...q)
|
|
83057
83058
|
}), ![
|
|
83058
83059
|
SignalState.CLOSED
|
|
83059
83060
|
].includes(this._state) && (await (($ = this._ctx) == null ? void 0 : $.dispose()), this._clientReady.reset(), await ((I = this._client) == null ? void 0 : I.close()), this._client = void 0, this._setState(SignalState.CLOSED), log$2("closed", void 0, {
|
|
83060
|
-
F: __dxlog_file3$
|
|
83061
|
+
F: __dxlog_file3$2,
|
|
83061
83062
|
L: 192,
|
|
83062
83063
|
S: this,
|
|
83063
83064
|
C: (U, q) => U(...q)
|
|
@@ -83079,7 +83080,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83079
83080
|
topic: $,
|
|
83080
83081
|
peerId: I
|
|
83081
83082
|
}, {
|
|
83082
|
-
F: __dxlog_file3$
|
|
83083
|
+
F: __dxlog_file3$2,
|
|
83083
83084
|
L: 207,
|
|
83084
83085
|
S: this,
|
|
83085
83086
|
C: (U, q) => U(...q)
|
|
@@ -83094,7 +83095,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83094
83095
|
topic: $,
|
|
83095
83096
|
peerId: I
|
|
83096
83097
|
}, {
|
|
83097
|
-
F: __dxlog_file3$
|
|
83098
|
+
F: __dxlog_file3$2,
|
|
83098
83099
|
L: 215,
|
|
83099
83100
|
S: this,
|
|
83100
83101
|
C: (q, G) => q(...G)
|
|
@@ -83111,7 +83112,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83111
83112
|
}
|
|
83112
83113
|
async sendMessage($) {
|
|
83113
83114
|
this._performance.sentMessages++, await this._clientReady.wait(), invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
|
|
83114
|
-
F: __dxlog_file3$
|
|
83115
|
+
F: __dxlog_file3$2,
|
|
83115
83116
|
L: 224,
|
|
83116
83117
|
S: this,
|
|
83117
83118
|
A: [
|
|
@@ -83124,7 +83125,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83124
83125
|
log$2("subscribing to messages", {
|
|
83125
83126
|
peerId: $
|
|
83126
83127
|
}, {
|
|
83127
|
-
F: __dxlog_file3$
|
|
83128
|
+
F: __dxlog_file3$2,
|
|
83128
83129
|
L: 229,
|
|
83129
83130
|
S: this,
|
|
83130
83131
|
C: (I, U) => I(...U)
|
|
@@ -83137,7 +83138,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83137
83138
|
log$2("unsubscribing from messages", {
|
|
83138
83139
|
peerId: $
|
|
83139
83140
|
}, {
|
|
83140
|
-
F: __dxlog_file3$
|
|
83141
|
+
F: __dxlog_file3$2,
|
|
83141
83142
|
L: 235,
|
|
83142
83143
|
S: this,
|
|
83143
83144
|
C: (U, q) => U(...q)
|
|
@@ -83154,7 +83155,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83154
83155
|
this._state = $, this._lastStateChange = /* @__PURE__ */ new Date(), log$2("signal state changed", {
|
|
83155
83156
|
status: this.getStatus()
|
|
83156
83157
|
}, {
|
|
83157
|
-
F: __dxlog_file3$
|
|
83158
|
+
F: __dxlog_file3$2,
|
|
83158
83159
|
L: 254,
|
|
83159
83160
|
S: this,
|
|
83160
83161
|
C: (I, U) => I(...U)
|
|
@@ -83165,12 +83166,12 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83165
83166
|
host: this._host,
|
|
83166
83167
|
state: this._state
|
|
83167
83168
|
}, {
|
|
83168
|
-
F: __dxlog_file3$
|
|
83169
|
+
F: __dxlog_file3$2,
|
|
83169
83170
|
L: 259,
|
|
83170
83171
|
S: this,
|
|
83171
83172
|
C: ($, I) => $(...I)
|
|
83172
83173
|
}), invariant(!this._client, "Client already created", {
|
|
83173
|
-
F: __dxlog_file3$
|
|
83174
|
+
F: __dxlog_file3$2,
|
|
83174
83175
|
L: 260,
|
|
83175
83176
|
S: this,
|
|
83176
83177
|
A: [
|
|
@@ -83179,7 +83180,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83179
83180
|
]
|
|
83180
83181
|
}), this._connectionStarted = /* @__PURE__ */ new Date(), this._connectionCtx = this._ctx.derive(), this._connectionCtx.onDispose(async () => {
|
|
83181
83182
|
log$2("connection context disposed", void 0, {
|
|
83182
|
-
F: __dxlog_file3$
|
|
83183
|
+
F: __dxlog_file3$2,
|
|
83183
83184
|
L: 267,
|
|
83184
83185
|
S: this,
|
|
83185
83186
|
C: ($, I) => $(...I)
|
|
@@ -83191,7 +83192,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83191
83192
|
callbacks: {
|
|
83192
83193
|
onConnected: () => {
|
|
83193
83194
|
log$2("socket connected", void 0, {
|
|
83194
|
-
F: __dxlog_file3$
|
|
83195
|
+
F: __dxlog_file3$2,
|
|
83195
83196
|
L: 279,
|
|
83196
83197
|
S: this,
|
|
83197
83198
|
C: ($, I) => $(...I)
|
|
@@ -83201,7 +83202,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83201
83202
|
if (log$2("socket disconnected", {
|
|
83202
83203
|
state: this._state
|
|
83203
83204
|
}, {
|
|
83204
|
-
F: __dxlog_file3$
|
|
83205
|
+
F: __dxlog_file3$2,
|
|
83205
83206
|
L: 288,
|
|
83206
83207
|
S: this,
|
|
83207
83208
|
C: ($, I) => $(...I)
|
|
@@ -83216,7 +83217,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83216
83217
|
error: $,
|
|
83217
83218
|
state: this._state
|
|
83218
83219
|
}, {
|
|
83219
|
-
F: __dxlog_file3$
|
|
83220
|
+
F: __dxlog_file3$2,
|
|
83220
83221
|
L: 303,
|
|
83221
83222
|
S: this,
|
|
83222
83223
|
C: (I, U) => I(...U)
|
|
@@ -83237,13 +83238,13 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83237
83238
|
if (log$2(`reconnecting in ${this._reconnectAfter}ms`, {
|
|
83238
83239
|
state: this._state
|
|
83239
83240
|
}, {
|
|
83240
|
-
F: __dxlog_file3$
|
|
83241
|
+
F: __dxlog_file3$2,
|
|
83241
83242
|
L: 331,
|
|
83242
83243
|
S: this,
|
|
83243
83244
|
C: (U, q) => U(...q)
|
|
83244
83245
|
}), this._performance.reconnectCounter++, this._state === SignalState.RECONNECTING) {
|
|
83245
83246
|
log$2.warn("Signal api already reconnecting.", void 0, {
|
|
83246
|
-
F: __dxlog_file3$
|
|
83247
|
+
F: __dxlog_file3$2,
|
|
83247
83248
|
L: 335,
|
|
83248
83249
|
S: this,
|
|
83249
83250
|
C: (U, q) => U(...q)
|
|
@@ -83258,7 +83259,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83258
83259
|
await asyncTimeout(cancelWithContext(this._connectionCtx, this._clientReady.wait()), 5e3);
|
|
83259
83260
|
const $ = this._client;
|
|
83260
83261
|
invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
|
|
83261
|
-
F: __dxlog_file3$
|
|
83262
|
+
F: __dxlog_file3$2,
|
|
83262
83263
|
L: 360,
|
|
83263
83264
|
S: this,
|
|
83264
83265
|
A: [
|
|
@@ -83291,7 +83292,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83291
83292
|
log$2("swarm event", {
|
|
83292
83293
|
swarmEvent: K
|
|
83293
83294
|
}, {
|
|
83294
|
-
F: __dxlog_file3$
|
|
83295
|
+
F: __dxlog_file3$2,
|
|
83295
83296
|
L: 387,
|
|
83296
83297
|
S: this,
|
|
83297
83298
|
C: (Y, J) => Y(...J)
|
|
@@ -83310,7 +83311,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83310
83311
|
await asyncTimeout(cancelWithContext(this._connectionCtx, this._clientReady.wait()), 5e3);
|
|
83311
83312
|
const $ = this._client;
|
|
83312
83313
|
invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
|
|
83313
|
-
F: __dxlog_file3$
|
|
83314
|
+
F: __dxlog_file3$2,
|
|
83314
83315
|
L: 400,
|
|
83315
83316
|
S: this,
|
|
83316
83317
|
A: [
|
|
@@ -83585,14 +83586,14 @@ _ts_decorate$3([
|
|
|
83585
83586
|
_ts_decorate$3([
|
|
83586
83587
|
synchronized
|
|
83587
83588
|
], WebsocketSignalManager.prototype, "checkServerFailure", null);
|
|
83588
|
-
var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-manager/utils.ts", setIdentityTags = ({ identityService: $, devicesService: I, setTag: U }) => {
|
|
83589
|
+
var __dxlog_file6$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-manager/utils.ts", setIdentityTags = ({ identityService: $, devicesService: I, setTag: U }) => {
|
|
83589
83590
|
$.queryIdentity().subscribe((q) => {
|
|
83590
83591
|
var G;
|
|
83591
83592
|
if (!((G = q == null ? void 0 : q.identity) != null && G.identityKey)) {
|
|
83592
83593
|
log$2("empty response from identity service", {
|
|
83593
83594
|
idqr: q
|
|
83594
83595
|
}, {
|
|
83595
|
-
F: __dxlog_file6,
|
|
83596
|
+
F: __dxlog_file6$1,
|
|
83596
83597
|
L: 21,
|
|
83597
83598
|
S: void 0,
|
|
83598
83599
|
C: (K, Y) => K(...Y)
|
|
@@ -83605,7 +83606,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/sr
|
|
|
83605
83606
|
log$2("empty response from device service", {
|
|
83606
83607
|
device: q
|
|
83607
83608
|
}, {
|
|
83608
|
-
F: __dxlog_file6,
|
|
83609
|
+
F: __dxlog_file6$1,
|
|
83609
83610
|
L: 30,
|
|
83610
83611
|
S: void 0,
|
|
83611
83612
|
C: (K, Y) => K(...Y)
|
|
@@ -83613,7 +83614,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/sr
|
|
|
83613
83614
|
return;
|
|
83614
83615
|
}
|
|
83615
83616
|
invariant(q, "empty response from device service", {
|
|
83616
|
-
F: __dxlog_file6,
|
|
83617
|
+
F: __dxlog_file6$1,
|
|
83617
83618
|
L: 33,
|
|
83618
83619
|
S: void 0,
|
|
83619
83620
|
A: [
|
|
@@ -83626,7 +83627,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/sr
|
|
|
83626
83627
|
log$2("no current device", {
|
|
83627
83628
|
device: q
|
|
83628
83629
|
}, {
|
|
83629
|
-
F: __dxlog_file6,
|
|
83630
|
+
F: __dxlog_file6$1,
|
|
83630
83631
|
L: 37,
|
|
83631
83632
|
S: void 0,
|
|
83632
83633
|
C: (K, Y) => K(...Y)
|
|
@@ -84827,7 +84828,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
|
|
|
84827
84828
|
}, encodeFrame = ($) => {
|
|
84828
84829
|
const I = export_Buffer.allocUnsafe(FRAME_LENGTH_SIZE + $.length);
|
|
84829
84830
|
return I.writeUInt16BE($.length, 0), I.set($, FRAME_LENGTH_SIZE), I;
|
|
84830
|
-
}, __dxlog_file3$
|
|
84831
|
+
}, __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/muxing/balancer.ts", MAX_CHUNK_SIZE = 8192, Balancer = class {
|
|
84831
84832
|
constructor($) {
|
|
84832
84833
|
this._sysChannelId = $, this._lastCallerIndex = 0, this._channels = [], this._framer = new Framer(), this._sendBuffers = /* @__PURE__ */ new Map(), this._receiveBuffers = /* @__PURE__ */ new Map(), this._sending = !1, this.incomingData = new Event$1(), this.stream = this._framer.stream, this._channels.push($), this._framer.port.subscribe(this._processIncomingMessage.bind(this));
|
|
84833
84834
|
}
|
|
@@ -84845,7 +84846,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
|
|
|
84845
84846
|
}
|
|
84846
84847
|
pushData($, I, U) {
|
|
84847
84848
|
this._enqueueChunk($, I, U), this._sendChunks().catch((q) => log$2.catch(q, void 0, {
|
|
84848
|
-
F: __dxlog_file3$
|
|
84849
|
+
F: __dxlog_file3$1,
|
|
84849
84850
|
L: 75,
|
|
84850
84851
|
S: this,
|
|
84851
84852
|
C: (G, K) => G(...K)
|
|
@@ -84853,7 +84854,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
|
|
|
84853
84854
|
}
|
|
84854
84855
|
destroy() {
|
|
84855
84856
|
this._sendBuffers.size !== 0 && log$2.info("destroying balancer with pending calls", void 0, {
|
|
84856
|
-
F: __dxlog_file3$
|
|
84857
|
+
F: __dxlog_file3$1,
|
|
84857
84858
|
L: 80,
|
|
84858
84859
|
S: this,
|
|
84859
84860
|
C: ($, I) => $(...I)
|
|
@@ -84920,12 +84921,12 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
|
|
|
84920
84921
|
let $;
|
|
84921
84922
|
for ($ = this._getNextChunk(); $; ) {
|
|
84922
84923
|
this._framer.writable || (log$2("PAUSE for drain", void 0, {
|
|
84923
|
-
F: __dxlog_file3$
|
|
84924
|
+
F: __dxlog_file3$1,
|
|
84924
84925
|
L: 179,
|
|
84925
84926
|
S: this,
|
|
84926
84927
|
C: (q, G) => q(...G)
|
|
84927
84928
|
}), await this._framer.drain.waitForCount(1), log$2("RESUME for drain", void 0, {
|
|
84928
|
-
F: __dxlog_file3$
|
|
84929
|
+
F: __dxlog_file3$1,
|
|
84929
84930
|
L: 181,
|
|
84930
84931
|
S: this,
|
|
84931
84932
|
C: (q, G) => q(...G)
|
|
@@ -84936,7 +84937,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
|
|
|
84936
84937
|
log$2("Error sending chunk", {
|
|
84937
84938
|
err: q
|
|
84938
84939
|
}, {
|
|
84939
|
-
F: __dxlog_file3$
|
|
84940
|
+
F: __dxlog_file3$1,
|
|
84940
84941
|
L: 187,
|
|
84941
84942
|
S: this,
|
|
84942
84943
|
C: (G, K) => G(...K)
|
|
@@ -84945,7 +84946,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
|
|
|
84945
84946
|
$ = this._getNextChunk();
|
|
84946
84947
|
}
|
|
84947
84948
|
invariant(this._sendBuffers.size === 0, "sendBuffers not empty", {
|
|
84948
|
-
F: __dxlog_file3$
|
|
84949
|
+
F: __dxlog_file3$1,
|
|
84949
84950
|
L: 192,
|
|
84950
84951
|
S: this,
|
|
84951
84952
|
A: [
|
|
@@ -86258,7 +86259,7 @@ function _ts_decorate2$1($, I, U, q) {
|
|
|
86258
86259
|
(Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
|
|
86259
86260
|
return G > 3 && K && Object.defineProperty(I, U, K), K;
|
|
86260
86261
|
}
|
|
86261
|
-
var __dxlog_file3
|
|
86262
|
+
var __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-manager/src/swarm/peer.ts", ConnectionDisplacedError = class extends SystemError {
|
|
86262
86263
|
constructor() {
|
|
86263
86264
|
super("Connection displaced by remote initiator.");
|
|
86264
86265
|
}
|
|
@@ -86278,7 +86279,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86278
86279
|
ConnectionState.CONNECTING
|
|
86279
86280
|
].includes(this.connection.state))
|
|
86280
86281
|
return log$2.info(`received offer when connection already in ${this.connection.state} state`, void 0, {
|
|
86281
|
-
F: __dxlog_file3
|
|
86282
|
+
F: __dxlog_file3,
|
|
86282
86283
|
L: 114,
|
|
86283
86284
|
S: this,
|
|
86284
86285
|
C: (q, G) => q(...G)
|
|
@@ -86293,7 +86294,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86293
86294
|
remotePeerId: this.localPeerId,
|
|
86294
86295
|
sessionId: (U = this.connection) == null ? void 0 : U.sessionId
|
|
86295
86296
|
}, {
|
|
86296
|
-
F: __dxlog_file3
|
|
86297
|
+
F: __dxlog_file3,
|
|
86297
86298
|
L: 123,
|
|
86298
86299
|
S: this,
|
|
86299
86300
|
C: (q, G) => q(...G)
|
|
@@ -86304,7 +86305,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86304
86305
|
};
|
|
86305
86306
|
if (await this._callbacks.onOffer(I) && !this.connection) {
|
|
86306
86307
|
invariant($.sessionId, void 0, {
|
|
86307
|
-
F: __dxlog_file3
|
|
86308
|
+
F: __dxlog_file3,
|
|
86308
86309
|
L: 143,
|
|
86309
86310
|
S: this,
|
|
86310
86311
|
A: [
|
|
@@ -86322,7 +86323,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86322
86323
|
remoteId: this.id,
|
|
86323
86324
|
err: G
|
|
86324
86325
|
}, {
|
|
86325
|
-
F: __dxlog_file3
|
|
86326
|
+
F: __dxlog_file3,
|
|
86326
86327
|
L: 153,
|
|
86327
86328
|
S: this,
|
|
86328
86329
|
C: (K, Y) => K(...Y)
|
|
@@ -86341,7 +86342,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86341
86342
|
*/
|
|
86342
86343
|
async initiateConnection() {
|
|
86343
86344
|
invariant(!this.initiating, "Initiation in progress.", {
|
|
86344
|
-
F: __dxlog_file3
|
|
86345
|
+
F: __dxlog_file3,
|
|
86345
86346
|
L: 170,
|
|
86346
86347
|
S: this,
|
|
86347
86348
|
A: [
|
|
@@ -86349,7 +86350,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86349
86350
|
"'Initiation in progress.'"
|
|
86350
86351
|
]
|
|
86351
86352
|
}), invariant(!this.connection, "Already connected.", {
|
|
86352
|
-
F: __dxlog_file3
|
|
86353
|
+
F: __dxlog_file3,
|
|
86353
86354
|
L: 171,
|
|
86354
86355
|
S: this,
|
|
86355
86356
|
A: [
|
|
@@ -86364,7 +86365,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86364
86365
|
peerId: this.id,
|
|
86365
86366
|
sessionId: $
|
|
86366
86367
|
}, {
|
|
86367
|
-
F: __dxlog_file3
|
|
86368
|
+
F: __dxlog_file3,
|
|
86368
86369
|
L: 173,
|
|
86369
86370
|
S: this,
|
|
86370
86371
|
C: (q, G) => q(...G)
|
|
@@ -86387,13 +86388,13 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86387
86388
|
ownId: this.localPeerId,
|
|
86388
86389
|
remoteId: this.id
|
|
86389
86390
|
}, {
|
|
86390
|
-
F: __dxlog_file3
|
|
86391
|
+
F: __dxlog_file3,
|
|
86391
86392
|
L: 190,
|
|
86392
86393
|
S: this,
|
|
86393
86394
|
C: (q, G) => q(...G)
|
|
86394
86395
|
}), I.state !== ConnectionState.INITIAL) {
|
|
86395
86396
|
log$2("ignoring response", void 0, {
|
|
86396
|
-
F: __dxlog_file3
|
|
86397
|
+
F: __dxlog_file3,
|
|
86397
86398
|
L: 192,
|
|
86398
86399
|
S: this,
|
|
86399
86400
|
C: (q, G) => q(...G)
|
|
@@ -86407,7 +86408,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86407
86408
|
peerId: this.localPeerId,
|
|
86408
86409
|
remoteId: this.id
|
|
86409
86410
|
}, {
|
|
86410
|
-
F: __dxlog_file3
|
|
86411
|
+
F: __dxlog_file3,
|
|
86411
86412
|
L: 196,
|
|
86412
86413
|
S: this,
|
|
86413
86414
|
C: (G, K) => G(...K)
|
|
@@ -86427,7 +86428,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86427
86428
|
peerId: this.localPeerId,
|
|
86428
86429
|
remoteId: this.id
|
|
86429
86430
|
}, {
|
|
86430
|
-
F: __dxlog_file3
|
|
86431
|
+
F: __dxlog_file3,
|
|
86431
86432
|
L: 209,
|
|
86432
86433
|
S: this,
|
|
86433
86434
|
C: (G, K) => G(...K)
|
|
@@ -86437,7 +86438,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86437
86438
|
}
|
|
86438
86439
|
try {
|
|
86439
86440
|
log$2("opening connection as initiator", void 0, {
|
|
86440
|
-
F: __dxlog_file3
|
|
86441
|
+
F: __dxlog_file3,
|
|
86441
86442
|
L: 222,
|
|
86442
86443
|
S: this,
|
|
86443
86444
|
C: (q, G) => q(...G)
|
|
@@ -86449,14 +86450,14 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86449
86450
|
peerId: this.localPeerId,
|
|
86450
86451
|
remoteId: this.id
|
|
86451
86452
|
}, {
|
|
86452
|
-
F: __dxlog_file3
|
|
86453
|
+
F: __dxlog_file3,
|
|
86453
86454
|
L: 226,
|
|
86454
86455
|
S: this,
|
|
86455
86456
|
C: (G, K) => G(...K)
|
|
86456
86457
|
}), log$2.warn("closing connection due to unhandled error on openConnection", {
|
|
86457
86458
|
err: q
|
|
86458
86459
|
}, {
|
|
86459
|
-
F: __dxlog_file3
|
|
86460
|
+
F: __dxlog_file3,
|
|
86460
86461
|
L: 233,
|
|
86461
86462
|
S: this,
|
|
86462
86463
|
C: (G, K) => G(...K)
|
|
@@ -86478,12 +86479,12 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86478
86479
|
initiator: $,
|
|
86479
86480
|
sessionId: I
|
|
86480
86481
|
}, {
|
|
86481
|
-
F: __dxlog_file3
|
|
86482
|
+
F: __dxlog_file3,
|
|
86482
86483
|
L: 247,
|
|
86483
86484
|
S: this,
|
|
86484
86485
|
C: (G, K) => G(...K)
|
|
86485
86486
|
}), invariant(!this.connection, "Already connected.", {
|
|
86486
|
-
F: __dxlog_file3
|
|
86487
|
+
F: __dxlog_file3,
|
|
86487
86488
|
L: 254,
|
|
86488
86489
|
S: this,
|
|
86489
86490
|
A: [
|
|
@@ -86515,7 +86516,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86515
86516
|
sessionId: I,
|
|
86516
86517
|
initiator: $
|
|
86517
86518
|
}, {
|
|
86518
|
-
F: __dxlog_file3
|
|
86519
|
+
F: __dxlog_file3,
|
|
86519
86520
|
L: 273,
|
|
86520
86521
|
S: this,
|
|
86521
86522
|
C: (G, K) => G(...K)
|
|
@@ -86528,12 +86529,12 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86528
86529
|
remoteId: this.id,
|
|
86529
86530
|
initiator: $
|
|
86530
86531
|
}, {
|
|
86531
|
-
F: __dxlog_file3
|
|
86532
|
+
F: __dxlog_file3,
|
|
86532
86533
|
L: 282,
|
|
86533
86534
|
S: this,
|
|
86534
86535
|
C: (K, Y) => K(...Y)
|
|
86535
86536
|
}), this._connectionLimiter.doneConnecting(I), invariant(this.connection === U, "Connection mismatch (race condition).", {
|
|
86536
|
-
F: __dxlog_file3
|
|
86537
|
+
F: __dxlog_file3,
|
|
86537
86538
|
L: 287,
|
|
86538
86539
|
S: this,
|
|
86539
86540
|
A: [
|
|
@@ -86547,7 +86548,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86547
86548
|
sessionId: I,
|
|
86548
86549
|
initiator: $
|
|
86549
86550
|
}, {
|
|
86550
|
-
F: __dxlog_file3
|
|
86551
|
+
F: __dxlog_file3,
|
|
86551
86552
|
L: 289,
|
|
86552
86553
|
S: this,
|
|
86553
86554
|
C: (K, Y) => K(...Y)
|
|
@@ -86565,7 +86566,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86565
86566
|
initiator: $,
|
|
86566
86567
|
err: G
|
|
86567
86568
|
}, {
|
|
86568
|
-
F: __dxlog_file3
|
|
86569
|
+
F: __dxlog_file3,
|
|
86569
86570
|
L: 329,
|
|
86570
86571
|
S: this,
|
|
86571
86572
|
C: (K, Y) => K(...Y)
|
|
@@ -86577,7 +86578,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86577
86578
|
initiator: $,
|
|
86578
86579
|
err: G
|
|
86579
86580
|
}, {
|
|
86580
|
-
F: __dxlog_file3
|
|
86581
|
+
F: __dxlog_file3,
|
|
86581
86582
|
L: 336,
|
|
86582
86583
|
S: this,
|
|
86583
86584
|
C: (K, Y) => K(...Y)
|
|
@@ -86592,7 +86593,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86592
86593
|
peerId: this.id,
|
|
86593
86594
|
sessionId: I.sessionId
|
|
86594
86595
|
}, {
|
|
86595
|
-
F: __dxlog_file3
|
|
86596
|
+
F: __dxlog_file3,
|
|
86596
86597
|
L: 361,
|
|
86597
86598
|
S: this,
|
|
86598
86599
|
C: (U, q) => U(...q)
|
|
@@ -86600,7 +86601,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86600
86601
|
peerId: this.id,
|
|
86601
86602
|
sessionId: I.sessionId
|
|
86602
86603
|
}, {
|
|
86603
|
-
F: __dxlog_file3
|
|
86604
|
+
F: __dxlog_file3,
|
|
86604
86605
|
L: 367,
|
|
86605
86606
|
S: this,
|
|
86606
86607
|
C: (U, q) => U(...q)
|
|
@@ -86611,7 +86612,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86611
86612
|
log$2("dropping signal message for non-existent connection", {
|
|
86612
86613
|
message: $
|
|
86613
86614
|
}, {
|
|
86614
|
-
F: __dxlog_file3
|
|
86615
|
+
F: __dxlog_file3,
|
|
86615
86616
|
L: 372,
|
|
86616
86617
|
S: this,
|
|
86617
86618
|
C: (I, U) => I(...U)
|
|
@@ -86626,7 +86627,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86626
86627
|
peerId: this.id,
|
|
86627
86628
|
topic: this.topic
|
|
86628
86629
|
}, {
|
|
86629
|
-
F: __dxlog_file3
|
|
86630
|
+
F: __dxlog_file3,
|
|
86630
86631
|
L: 382,
|
|
86631
86632
|
S: this,
|
|
86632
86633
|
C: (U, q) => U(...q)
|
|
@@ -87518,7 +87519,7 @@ var importESM = Function("path", "return import(path)"), uaParser = { exports: {
|
|
|
87518
87519
|
for (var zt = {}, de = 0; de < Ct.length; de++)
|
|
87519
87520
|
zt[Ct[de].toUpperCase()] = Ct[de];
|
|
87520
87521
|
return zt;
|
|
87521
|
-
},
|
|
87522
|
+
}, Le = function(Ct, zt) {
|
|
87522
87523
|
return typeof Ct === ee ? Ye(zt).indexOf(Ye(Ct)) !== -1 : !1;
|
|
87523
87524
|
}, Ye = function(Ct) {
|
|
87524
87525
|
return Ct.toLowerCase();
|
|
@@ -87540,9 +87541,9 @@ var importESM = Function("path", "return import(path)"), uaParser = { exports: {
|
|
|
87540
87541
|
for (var de in zt)
|
|
87541
87542
|
if (typeof zt[de] === Q && zt[de].length > 0) {
|
|
87542
87543
|
for (var ie = 0; ie < zt[de].length; ie++)
|
|
87543
|
-
if (
|
|
87544
|
+
if (Le(zt[de][ie], Ct))
|
|
87544
87545
|
return de === Y ? q : de;
|
|
87545
|
-
} else if (
|
|
87546
|
+
} else if (Le(zt[de], Ct))
|
|
87546
87547
|
return de === Y ? q : de;
|
|
87547
87548
|
return Ct;
|
|
87548
87549
|
}, it = {
|
|
@@ -88757,12 +88758,14 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
|
|
|
88757
88758
|
return this._client.rpc;
|
|
88758
88759
|
}
|
|
88759
88760
|
async open() {
|
|
88760
|
-
const { WebsocketRpcClient: $ } = await import("./index-
|
|
88761
|
+
const { WebsocketRpcClient: $ } = await import("./index-BwBWiJrD.mjs");
|
|
88761
88762
|
this._client = new $({
|
|
88762
88763
|
url: getUnixSocket(this._profile, "ws+unix"),
|
|
88763
88764
|
requested: clientServiceBundle,
|
|
88764
88765
|
exposed: {},
|
|
88765
88766
|
handlers: {}
|
|
88767
|
+
}), this._client.error.on((I) => {
|
|
88768
|
+
this.closed.emit(I);
|
|
88766
88769
|
}), await this._client.open();
|
|
88767
88770
|
}
|
|
88768
88771
|
async close() {
|
|
@@ -88772,7 +88775,7 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
|
|
|
88772
88775
|
} catch (I) {
|
|
88773
88776
|
log$2.warn("Failed to close", I, {
|
|
88774
88777
|
F: __dxlog_file,
|
|
88775
|
-
L:
|
|
88778
|
+
L: 72,
|
|
88776
88779
|
S: this,
|
|
88777
88780
|
C: (U, q) => U(...q)
|
|
88778
88781
|
});
|
|
@@ -88877,7 +88880,7 @@ var IFrameManager = class {
|
|
|
88877
88880
|
var I;
|
|
88878
88881
|
(I = this._onMessage) == null || I.call(this, $);
|
|
88879
88882
|
}
|
|
88880
|
-
},
|
|
88883
|
+
}, __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/shell-manager.ts", shellStyles = Object.entries({
|
|
88881
88884
|
display: "none",
|
|
88882
88885
|
position: "fixed",
|
|
88883
88886
|
top: 0,
|
|
@@ -88897,13 +88900,15 @@ var IFrameManager = class {
|
|
|
88897
88900
|
async setLayout($) {
|
|
88898
88901
|
var I;
|
|
88899
88902
|
log$2("set layout", $, {
|
|
88900
|
-
F:
|
|
88901
|
-
L:
|
|
88903
|
+
F: __dxlog_file4,
|
|
88904
|
+
L: 51,
|
|
88902
88905
|
S: this,
|
|
88903
88906
|
C: (U, q) => U(...q)
|
|
88904
88907
|
}), this._display = ShellDisplay.FULLSCREEN, this.contextUpdate.emit({
|
|
88905
88908
|
display: this._display
|
|
88906
|
-
}), await ((I = this._shellRpc) == null ? void 0 : I.rpc.ShellService.setLayout(
|
|
88909
|
+
}), await ((I = this._shellRpc) == null ? void 0 : I.rpc.ShellService.setLayout($, {
|
|
88910
|
+
timeout: RPC_TIMEOUT
|
|
88911
|
+
}));
|
|
88907
88912
|
}
|
|
88908
88913
|
async open() {
|
|
88909
88914
|
if (this._shellRpc)
|
|
@@ -88925,8 +88930,8 @@ var IFrameManager = class {
|
|
|
88925
88930
|
AppService: {
|
|
88926
88931
|
setContext: async (q) => {
|
|
88927
88932
|
log$2("set context", q, {
|
|
88928
|
-
F:
|
|
88929
|
-
L:
|
|
88933
|
+
F: __dxlog_file4,
|
|
88934
|
+
L: 98,
|
|
88930
88935
|
S: this,
|
|
88931
88936
|
C: (G, K) => G(...K)
|
|
88932
88937
|
}), q.display && (this._display = q.display), this.contextUpdate.emit(q);
|
|
@@ -89018,13 +89023,13 @@ function _ts_decorate4($, I, U, q) {
|
|
|
89018
89023
|
(Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
|
|
89019
89024
|
return G > 3 && K && Object.defineProperty(I, U, K), K;
|
|
89020
89025
|
}
|
|
89021
|
-
var
|
|
89026
|
+
var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/service-proxy.ts", ClientServicesProxy = class {
|
|
89022
89027
|
constructor($, I = 3e4) {
|
|
89023
89028
|
this._port = $, this._timeout = I, this.closed = new Event$1();
|
|
89024
89029
|
}
|
|
89025
89030
|
get proxy() {
|
|
89026
89031
|
return invariant(this._proxy, "Client services not open", {
|
|
89027
|
-
F:
|
|
89032
|
+
F: __dxlog_file5,
|
|
89028
89033
|
L: 30,
|
|
89029
89034
|
S: this,
|
|
89030
89035
|
A: [
|
|
@@ -89038,7 +89043,7 @@ var __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89038
89043
|
}
|
|
89039
89044
|
get services() {
|
|
89040
89045
|
return invariant(this._proxy, "Client services not open", {
|
|
89041
|
-
F:
|
|
89046
|
+
F: __dxlog_file5,
|
|
89042
89047
|
L: 39,
|
|
89043
89048
|
S: this,
|
|
89044
89049
|
A: [
|
|
@@ -89075,7 +89080,7 @@ function _ts_decorate5($, I, U, q) {
|
|
|
89075
89080
|
(Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
|
|
89076
89081
|
return G > 3 && K && Object.defineProperty(I, U, K), K;
|
|
89077
89082
|
}
|
|
89078
|
-
var
|
|
89083
|
+
var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/iframe-service-proxy.ts", IFrameClientServicesProxy = class {
|
|
89079
89084
|
constructor({ source: $ = DEFAULT_VAULT_URL, shell: I = DEFAULT_SHELL_CHANNEL, vault: U = DEFAULT_INTERNAL_CHANNEL, timeout: q = PROXY_CONNECTION_TIMEOUT, logFilter: G = "error,warn" } = {}) {
|
|
89080
89085
|
this.closed = new Event$1(), this._instanceId = PublicKey.random().toHex(), this._source = $, this._shell = I, this._vault = U, this._logFilter = parseFilter(G), this._timeout = q;
|
|
89081
89086
|
const K = new Trigger(), Y = new Trigger();
|
|
@@ -89114,42 +89119,44 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89114
89119
|
this._clientServicesProxy || (log$2.trace("dxos.sdk.iframe-clientTraceices-proxy", trace$1.begin({
|
|
89115
89120
|
id: this._instanceId
|
|
89116
89121
|
}), {
|
|
89117
|
-
F:
|
|
89118
|
-
L:
|
|
89122
|
+
F: __dxlog_file6,
|
|
89123
|
+
L: 142,
|
|
89119
89124
|
S: this,
|
|
89120
89125
|
C: (I, U) => I(...U)
|
|
89121
89126
|
}), await this._iframeManager.open(), this._clientServicesProxy = new ClientServicesProxy(this._appPort), await this._clientServicesProxy.open(), this._loggingStream = this._clientServicesProxy.services.LoggingService.queryLogs({
|
|
89122
89127
|
filters: this._logFilter
|
|
89128
|
+
}, {
|
|
89129
|
+
timeout: RPC_TIMEOUT
|
|
89123
89130
|
}), this._loggingStream.subscribe((I) => {
|
|
89124
89131
|
switch (I.level) {
|
|
89125
89132
|
case LogLevel.DEBUG:
|
|
89126
89133
|
log$2.debug(`[vault] ${I.message}`, I.context, {
|
|
89127
|
-
F:
|
|
89128
|
-
L:
|
|
89134
|
+
F: __dxlog_file6,
|
|
89135
|
+
L: 157,
|
|
89129
89136
|
S: this,
|
|
89130
89137
|
C: (U, q) => U(...q)
|
|
89131
89138
|
});
|
|
89132
89139
|
break;
|
|
89133
89140
|
case LogLevel.INFO:
|
|
89134
89141
|
log$2.info(`[vault] ${I.message}`, I.context, {
|
|
89135
|
-
F:
|
|
89136
|
-
L:
|
|
89142
|
+
F: __dxlog_file6,
|
|
89143
|
+
L: 160,
|
|
89137
89144
|
S: this,
|
|
89138
89145
|
C: (U, q) => U(...q)
|
|
89139
89146
|
});
|
|
89140
89147
|
break;
|
|
89141
89148
|
case LogLevel.WARN:
|
|
89142
89149
|
log$2.warn(`[vault] ${I.message}`, I.context, {
|
|
89143
|
-
F:
|
|
89144
|
-
L:
|
|
89150
|
+
F: __dxlog_file6,
|
|
89151
|
+
L: 163,
|
|
89145
89152
|
S: this,
|
|
89146
89153
|
C: (U, q) => U(...q)
|
|
89147
89154
|
});
|
|
89148
89155
|
break;
|
|
89149
89156
|
case LogLevel.ERROR:
|
|
89150
89157
|
log$2.error(`[vault] ${I.message}`, I.context, {
|
|
89151
|
-
F:
|
|
89152
|
-
L:
|
|
89158
|
+
F: __dxlog_file6,
|
|
89159
|
+
L: 166,
|
|
89153
89160
|
S: this,
|
|
89154
89161
|
C: (U, q) => U(...q)
|
|
89155
89162
|
});
|
|
@@ -89162,8 +89169,8 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89162
89169
|
await (($ = this._shellManager) == null ? void 0 : $.close()), await this._iframeManager.close(), await ((I = this._loggingStream) == null ? void 0 : I.close()), await ((U = this._clientServicesProxy) == null ? void 0 : U.close()), this._clientServicesProxy = void 0, log$2.trace("dxos.sdk.iframe-clientTraceices-proxy", trace$1.end({
|
|
89163
89170
|
id: this._instanceId
|
|
89164
89171
|
}), {
|
|
89165
|
-
F:
|
|
89166
|
-
L:
|
|
89172
|
+
F: __dxlog_file6,
|
|
89173
|
+
L: 180,
|
|
89167
89174
|
S: this,
|
|
89168
89175
|
C: (q, G) => q(...G)
|
|
89169
89176
|
});
|
|
@@ -89181,7 +89188,7 @@ function _ts_decorate6($, I, U, q) {
|
|
|
89181
89188
|
(Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
|
|
89182
89189
|
return G > 3 && K && Object.defineProperty(I, U, K), K;
|
|
89183
89190
|
}
|
|
89184
|
-
var
|
|
89191
|
+
var __dxlog_file8 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/worker-client-services.ts", WorkerClientServices = class {
|
|
89185
89192
|
constructor({ config: $, createWorker: I, logFilter: U = "error,warn", observabilityGroup: q, signalTelemetryEnabled: G }) {
|
|
89186
89193
|
this.closed = new Event$1(), this.joinedSpace = new Event$1(), this._isOpen = !1, this._config = $, this._createWorker = I, this._logFilter = parseFilter(U), this._observabilityGroup = q, this._signalTelemetryEnabled = G ?? !1;
|
|
89187
89194
|
}
|
|
@@ -89198,8 +89205,8 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89198
89205
|
if (this._isOpen)
|
|
89199
89206
|
return;
|
|
89200
89207
|
log$2("opening...", void 0, {
|
|
89201
|
-
F:
|
|
89202
|
-
L:
|
|
89208
|
+
F: __dxlog_file8,
|
|
89209
|
+
L: 88,
|
|
89203
89210
|
S: this,
|
|
89204
89211
|
C: (K, Y) => K(...Y)
|
|
89205
89212
|
});
|
|
@@ -89224,13 +89231,15 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89224
89231
|
port: G
|
|
89225
89232
|
})), await this._services.open(), navigator.locks.request(LOCK_KEY, () => {
|
|
89226
89233
|
log$2("terminated", void 0, {
|
|
89227
|
-
F:
|
|
89228
|
-
L:
|
|
89234
|
+
F: __dxlog_file8,
|
|
89235
|
+
L: 115,
|
|
89229
89236
|
S: this,
|
|
89230
89237
|
C: (K, Y) => K(...Y)
|
|
89231
89238
|
}), this._isOpen && this.closed.emit(new Error("Shared worker terminated."));
|
|
89232
89239
|
}), this._loggingStream = this._services.services.LoggingService.queryLogs({
|
|
89233
89240
|
filters: this._logFilter
|
|
89241
|
+
}, {
|
|
89242
|
+
timeout: RPC_TIMEOUT
|
|
89234
89243
|
}), this._loggingStream.subscribe((K) => {
|
|
89235
89244
|
switch (K.level) {
|
|
89236
89245
|
case LogLevel.DEBUG:
|
|
@@ -89247,8 +89256,8 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89247
89256
|
break;
|
|
89248
89257
|
}
|
|
89249
89258
|
}), log$2("opened", void 0, {
|
|
89250
|
-
F:
|
|
89251
|
-
L:
|
|
89259
|
+
F: __dxlog_file8,
|
|
89260
|
+
L: 144,
|
|
89252
89261
|
S: this,
|
|
89253
89262
|
C: (K, Y) => K(...Y)
|
|
89254
89263
|
}), this._isOpen = !0;
|
|
@@ -89256,13 +89265,13 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89256
89265
|
async close() {
|
|
89257
89266
|
var $;
|
|
89258
89267
|
this._isOpen && (log$2("closing...", void 0, {
|
|
89259
|
-
F:
|
|
89260
|
-
L:
|
|
89268
|
+
F: __dxlog_file8,
|
|
89269
|
+
L: 154,
|
|
89261
89270
|
S: this,
|
|
89262
89271
|
C: (I, U) => I(...U)
|
|
89263
89272
|
}), await (($ = this._loggingStream) == null ? void 0 : $.close()), await this._runtime.close(), await this._services.close(), log$2("closed", void 0, {
|
|
89264
|
-
F:
|
|
89265
|
-
L:
|
|
89273
|
+
F: __dxlog_file8,
|
|
89274
|
+
L: 159,
|
|
89266
89275
|
S: this,
|
|
89267
89276
|
C: (I, U) => I(...U)
|
|
89268
89277
|
}), this._isOpen = !1);
|
|
@@ -89893,18 +89902,18 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89893
89902
|
if (sn && Ne && typeof sn.stack == "string") {
|
|
89894
89903
|
for (var Rt = sn.stack.split(`
|
|
89895
89904
|
`), Bt = Ne.stack.split(`
|
|
89896
|
-
`),
|
|
89905
|
+
`), Lt = Rt.length - 1, Ot = Bt.length - 1; Lt >= 1 && Ot >= 0 && Rt[Lt] !== Bt[Ot]; )
|
|
89897
89906
|
Ot--;
|
|
89898
|
-
for (;
|
|
89899
|
-
if (Rt[
|
|
89900
|
-
if (
|
|
89907
|
+
for (; Lt >= 1 && Ot >= 0; Lt--, Ot--)
|
|
89908
|
+
if (Rt[Lt] !== Bt[Ot]) {
|
|
89909
|
+
if (Lt !== 1 || Ot !== 1)
|
|
89901
89910
|
do
|
|
89902
|
-
if (
|
|
89911
|
+
if (Lt--, Ot--, Ot < 0 || Rt[Lt] !== Bt[Ot]) {
|
|
89903
89912
|
var Zt = `
|
|
89904
|
-
` + Rt[
|
|
89913
|
+
` + Rt[Lt].replace(" at new ", " at ");
|
|
89905
89914
|
return We.displayName && Zt.includes("<anonymous>") && (Zt = Zt.replace("<anonymous>", We.displayName)), typeof We == "function" && Te.set(We, Zt), Zt;
|
|
89906
89915
|
}
|
|
89907
|
-
while (
|
|
89916
|
+
while (Lt >= 1 && Ot >= 0);
|
|
89908
89917
|
break;
|
|
89909
89918
|
}
|
|
89910
89919
|
}
|
|
@@ -89914,7 +89923,7 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89914
89923
|
var Qt = We ? We.displayName || We.name : "", Yt = Qt ? Ie(Qt) : "";
|
|
89915
89924
|
return typeof We == "function" && Te.set(We, Yt), Yt;
|
|
89916
89925
|
}
|
|
89917
|
-
function
|
|
89926
|
+
function Le(We, vt, xt) {
|
|
89918
89927
|
return ye(We, !1);
|
|
89919
89928
|
}
|
|
89920
89929
|
function Ye(We) {
|
|
@@ -89937,7 +89946,7 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89937
89946
|
if (typeof We == "object")
|
|
89938
89947
|
switch (We.$$typeof) {
|
|
89939
89948
|
case Z:
|
|
89940
|
-
return
|
|
89949
|
+
return Le(We.render);
|
|
89941
89950
|
case te:
|
|
89942
89951
|
return ct(We.type, vt, xt);
|
|
89943
89952
|
case ne: {
|
|
@@ -89970,8 +89979,8 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89970
89979
|
throw Bt.name = "Invariant Violation", Bt;
|
|
89971
89980
|
}
|
|
89972
89981
|
Rt = We[Et](vt, Et, Ne, xt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
89973
|
-
} catch (
|
|
89974
|
-
Rt =
|
|
89982
|
+
} catch (Lt) {
|
|
89983
|
+
Rt = Lt;
|
|
89975
89984
|
}
|
|
89976
89985
|
Rt && !(Rt instanceof Error) && (it(ot), ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ne || "React class", xt, Et, typeof Rt), it(null)), Rt instanceof Error && !(Rt.message in wt) && (wt[Rt.message] = !0, it(ot), ce("Failed %s type: %s", xt, Rt.message), it(null));
|
|
89977
89986
|
}
|
|
@@ -90088,9 +90097,9 @@ function requireReactJsxDevRuntime_development() {
|
|
|
90088
90097
|
for (dt in vt)
|
|
90089
90098
|
ut.call(vt, dt) && !ie.hasOwnProperty(dt) && (Et[dt] = vt[dt]);
|
|
90090
90099
|
if (We && We.defaultProps) {
|
|
90091
|
-
var
|
|
90092
|
-
for (dt in
|
|
90093
|
-
Et[dt] === void 0 && (Et[dt] =
|
|
90100
|
+
var Lt = We.defaultProps;
|
|
90101
|
+
for (dt in Lt)
|
|
90102
|
+
Et[dt] === void 0 && (Et[dt] = Lt[dt]);
|
|
90094
90103
|
}
|
|
90095
90104
|
if (Rt || Bt) {
|
|
90096
90105
|
var Ot = typeof We == "function" ? We.displayName || We.name || "Unknown" : We;
|
|
@@ -90225,8 +90234,8 @@ Check the top-level render call using <` + xt + ">.");
|
|
|
90225
90234
|
(We === void 0 || typeof We == "object" && We !== null && Object.keys(We).length === 0) && (Rt += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
90226
90235
|
var Bt = Pn(ot);
|
|
90227
90236
|
Bt ? Rt += Bt : Rt += un();
|
|
90228
|
-
var
|
|
90229
|
-
We === null ?
|
|
90237
|
+
var Lt;
|
|
90238
|
+
We === null ? Lt = "null" : It(We) ? Lt = "array" : We !== void 0 && We.$$typeof === I ? (Lt = "<" + (Be(We.type) || "Unknown") + " />", Rt = " Did you accidentally export a JSX literal instead of a component?") : Lt = typeof We, ce("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Lt, Rt);
|
|
90230
90239
|
}
|
|
90231
90240
|
var Ot = At(We, vt, xt, ot, dt);
|
|
90232
90241
|
if (Ot == null)
|
|
@@ -90372,12 +90381,17 @@ Object.defineProperties(u.prototype, { $$typeof: { configurable: !0, value: h },
|
|
|
90372
90381
|
var ClientContext = /* @__PURE__ */ createContext(void 0), useClient = () => {
|
|
90373
90382
|
const { client: $ } = useContext(ClientContext) ?? raise$2(new Error("Missing ClientContext."));
|
|
90374
90383
|
return $;
|
|
90384
|
+
}, useMulticastObservable = ($) => {
|
|
90385
|
+
const I = useMemo(() => (U) => {
|
|
90386
|
+
const q = $.subscribe(U);
|
|
90387
|
+
return () => q.unsubscribe();
|
|
90388
|
+
}, [
|
|
90389
|
+
$
|
|
90390
|
+
]);
|
|
90391
|
+
return useSyncExternalStore(I, () => $.get());
|
|
90375
90392
|
}, useNetworkStatus = () => {
|
|
90376
90393
|
const $ = useClient();
|
|
90377
|
-
return
|
|
90378
|
-
const q = $.mesh.networkStatus.subscribe(U);
|
|
90379
|
-
return () => q.unsubscribe();
|
|
90380
|
-
}, () => $.mesh.networkStatus.get());
|
|
90394
|
+
return useMulticastObservable($.mesh.networkStatus);
|
|
90381
90395
|
}, withSelector = { exports: {} }, withSelector_production_min = {};
|
|
90382
90396
|
/**
|
|
90383
90397
|
* @license React
|
|
@@ -93701,8 +93715,8 @@ var qrcode = { exports: {} };
|
|
|
93701
93715
|
xe = $e * 4 + 17, Ee = function(Te) {
|
|
93702
93716
|
for (var be = new Array(Te), ye = 0; ye < Te; ye += 1) {
|
|
93703
93717
|
be[ye] = new Array(Te);
|
|
93704
|
-
for (var
|
|
93705
|
-
be[ye][
|
|
93718
|
+
for (var Le = 0; Le < Te; Le += 1)
|
|
93719
|
+
be[ye][Le] = null;
|
|
93706
93720
|
}
|
|
93707
93721
|
return be;
|
|
93708
93722
|
}(xe), st(0, 0), st(xe - 7, 0), st(0, xe - 7), ht(), at(), ze(Ie, Re), $e >= 7 && tt(Ie), Be == null && (Be = mt($e, Ce, je)), qe(Be, Re);
|
|
@@ -93728,9 +93742,9 @@ var qrcode = { exports: {} };
|
|
|
93728
93742
|
for (var Te = 0; Te < Ie.length; Te += 1) {
|
|
93729
93743
|
var be = Ie[Re], ye = Ie[Te];
|
|
93730
93744
|
if (Ee[be][ye] == null)
|
|
93731
|
-
for (var
|
|
93745
|
+
for (var Le = -2; Le <= 2; Le += 1)
|
|
93732
93746
|
for (var Ye = -2; Ye <= 2; Ye += 1)
|
|
93733
|
-
|
|
93747
|
+
Le == -2 || Le == 2 || Ye == -2 || Ye == 2 || Le == 0 && Ye == 0 ? Ee[be + Le][ye + Ye] = !0 : Ee[be + Le][ye + Ye] = !1;
|
|
93734
93748
|
}
|
|
93735
93749
|
}, tt = function(Ie) {
|
|
93736
93750
|
for (var Re = J.getBCHTypeNumber($e), Te = 0; Te < 18; Te += 1) {
|
|
@@ -93743,23 +93757,23 @@ var qrcode = { exports: {} };
|
|
|
93743
93757
|
}
|
|
93744
93758
|
}, ze = function(Ie, Re) {
|
|
93745
93759
|
for (var Te = Ce << 3 | Re, be = J.getBCHTypeInfo(Te), ye = 0; ye < 15; ye += 1) {
|
|
93746
|
-
var
|
|
93747
|
-
ye < 6 ? Ee[ye][8] =
|
|
93760
|
+
var Le = !Ie && (be >> ye & 1) == 1;
|
|
93761
|
+
ye < 6 ? Ee[ye][8] = Le : ye < 8 ? Ee[ye + 1][8] = Le : Ee[xe - 15 + ye][8] = Le;
|
|
93748
93762
|
}
|
|
93749
93763
|
for (var ye = 0; ye < 15; ye += 1) {
|
|
93750
|
-
var
|
|
93751
|
-
ye < 8 ? Ee[8][xe - ye - 1] =
|
|
93764
|
+
var Le = !Ie && (be >> ye & 1) == 1;
|
|
93765
|
+
ye < 8 ? Ee[8][xe - ye - 1] = Le : ye < 9 ? Ee[8][15 - ye - 1 + 1] = Le : Ee[8][15 - ye - 1] = Le;
|
|
93752
93766
|
}
|
|
93753
93767
|
Ee[xe - 8][8] = !Ie;
|
|
93754
93768
|
}, qe = function(Ie, Re) {
|
|
93755
|
-
for (var Te = -1, be = xe - 1, ye = 7,
|
|
93769
|
+
for (var Te = -1, be = xe - 1, ye = 7, Le = 0, Ye = J.getMaskFunction(Re), ct = xe - 1; ct > 0; ct -= 2)
|
|
93756
93770
|
for (ct == 6 && (ct -= 1); ; ) {
|
|
93757
93771
|
for (var ut = 0; ut < 2; ut += 1)
|
|
93758
93772
|
if (Ee[be][ct - ut] == null) {
|
|
93759
93773
|
var wt = !1;
|
|
93760
|
-
|
|
93774
|
+
Le < Ie.length && (wt = (Ie[Le] >>> ye & 1) == 1);
|
|
93761
93775
|
var St = Ye(be, ct - ut);
|
|
93762
|
-
St && (wt = !wt), Ee[be][ct - ut] = wt, ye -= 1, ye == -1 && (
|
|
93776
|
+
St && (wt = !wt), Ee[be][ct - ut] = wt, ye -= 1, ye == -1 && (Le += 1, ye = 7);
|
|
93763
93777
|
}
|
|
93764
93778
|
if (be += Te, be < 0 || xe <= be) {
|
|
93765
93779
|
be -= Te, Te = -Te;
|
|
@@ -93767,13 +93781,13 @@ var qrcode = { exports: {} };
|
|
|
93767
93781
|
}
|
|
93768
93782
|
}
|
|
93769
93783
|
}, nt = function(Ie, Re) {
|
|
93770
|
-
for (var Te = 0, be = 0, ye = 0,
|
|
93784
|
+
for (var Te = 0, be = 0, ye = 0, Le = new Array(Re.length), Ye = new Array(Re.length), ct = 0; ct < Re.length; ct += 1) {
|
|
93771
93785
|
var ut = Re[ct].dataCount, wt = Re[ct].totalCount - ut;
|
|
93772
|
-
be = Math.max(be, ut), ye = Math.max(ye, wt),
|
|
93773
|
-
for (var St = 0; St <
|
|
93774
|
-
|
|
93786
|
+
be = Math.max(be, ut), ye = Math.max(ye, wt), Le[ct] = new Array(ut);
|
|
93787
|
+
for (var St = 0; St < Le[ct].length; St += 1)
|
|
93788
|
+
Le[ct][St] = 255 & Ie.getBuffer()[St + Te];
|
|
93775
93789
|
Te += ut;
|
|
93776
|
-
var it = J.getErrorCorrectPolynomial(wt), Ut = Q(
|
|
93790
|
+
var it = J.getErrorCorrectPolynomial(wt), Ut = Q(Le[ct], it.getLength() - 1), Kt = Ut.mod(it);
|
|
93777
93791
|
Ye[ct] = new Array(it.getLength() - 1);
|
|
93778
93792
|
for (var St = 0; St < Ye[ct].length; St += 1) {
|
|
93779
93793
|
var It = St + Kt.getLength() - Ye[ct].length;
|
|
@@ -93784,18 +93798,18 @@ var qrcode = { exports: {} };
|
|
|
93784
93798
|
Ht += Re[St].totalCount;
|
|
93785
93799
|
for (var rn = new Array(Ht), Ct = 0, St = 0; St < be; St += 1)
|
|
93786
93800
|
for (var ct = 0; ct < Re.length; ct += 1)
|
|
93787
|
-
St <
|
|
93801
|
+
St < Le[ct].length && (rn[Ct] = Le[ct][St], Ct += 1);
|
|
93788
93802
|
for (var St = 0; St < ye; St += 1)
|
|
93789
93803
|
for (var ct = 0; ct < Re.length; ct += 1)
|
|
93790
93804
|
St < Ye[ct].length && (rn[Ct] = Ye[ct][St], Ct += 1);
|
|
93791
93805
|
return rn;
|
|
93792
93806
|
}, mt = function(Ie, Re, Te) {
|
|
93793
|
-
for (var be = ee.getRSBlocks(Ie, Re), ye = te(),
|
|
93794
|
-
var Ye = Te[
|
|
93807
|
+
for (var be = ee.getRSBlocks(Ie, Re), ye = te(), Le = 0; Le < Te.length; Le += 1) {
|
|
93808
|
+
var Ye = Te[Le];
|
|
93795
93809
|
ye.put(Ye.getMode(), 4), ye.put(Ye.getLength(), J.getLengthInBits(Ye.getMode(), Ie)), Ye.write(ye);
|
|
93796
93810
|
}
|
|
93797
|
-
for (var ct = 0,
|
|
93798
|
-
ct += be[
|
|
93811
|
+
for (var ct = 0, Le = 0; Le < be.length; Le += 1)
|
|
93812
|
+
ct += be[Le].dataCount;
|
|
93799
93813
|
if (ye.getLengthInBits() > ct * 8)
|
|
93800
93814
|
throw "code length overflow. (" + ye.getLengthInBits() + ">" + ct * 8 + ")";
|
|
93801
93815
|
for (ye.getLengthInBits() + 4 <= ct * 8 && ye.put(0, 4); ye.getLengthInBits() % 8 != 0; )
|
|
@@ -93837,9 +93851,9 @@ var qrcode = { exports: {} };
|
|
|
93837
93851
|
var ye = je[be];
|
|
93838
93852
|
Te.put(ye.getMode(), 4), Te.put(ye.getLength(), J.getLengthInBits(ye.getMode(), Ie)), ye.write(Te);
|
|
93839
93853
|
}
|
|
93840
|
-
for (var
|
|
93841
|
-
|
|
93842
|
-
if (Te.getLengthInBits() <=
|
|
93854
|
+
for (var Le = 0, be = 0; be < Re.length; be++)
|
|
93855
|
+
Le += Re[be].dataCount;
|
|
93856
|
+
if (Te.getLengthInBits() <= Le * 8)
|
|
93843
93857
|
break;
|
|
93844
93858
|
}
|
|
93845
93859
|
$e = Ie;
|
|
@@ -93859,17 +93873,17 @@ var qrcode = { exports: {} };
|
|
|
93859
93873
|
}, Ge.createSvgTag = function(Ie, Re, Te, be) {
|
|
93860
93874
|
var ye = {};
|
|
93861
93875
|
typeof arguments[0] == "object" && (ye = arguments[0], Ie = ye.cellSize, Re = ye.margin, Te = ye.alt, be = ye.title), Ie = Ie || 2, Re = typeof Re > "u" ? Ie * 4 : Re, Te = typeof Te == "string" ? { text: Te } : Te || {}, Te.text = Te.text || null, Te.id = Te.text ? Te.id || "qrcode-description" : null, be = typeof be == "string" ? { text: be } : be || {}, be.text = be.text || null, be.id = be.text ? be.id || "qrcode-title" : null;
|
|
93862
|
-
var
|
|
93863
|
-
for (it = "l" + Ie + ",0 0," + Ie + " -" + Ie + ",0 0,-" + Ie + "z ", St += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', St += ye.scalable ? "" : ' width="' +
|
|
93876
|
+
var Le = Ge.getModuleCount() * Ie + Re * 2, Ye, ct, ut, wt, St = "", it;
|
|
93877
|
+
for (it = "l" + Ie + ",0 0," + Ie + " -" + Ie + ",0 0,-" + Ie + "z ", St += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', St += ye.scalable ? "" : ' width="' + Le + 'px" height="' + Le + 'px"', St += ' viewBox="0 0 ' + Le + " " + Le + '" ', St += ' preserveAspectRatio="xMinYMin meet"', St += be.text || Te.text ? ' role="img" aria-labelledby="' + Ue([be.id, Te.id].join(" ").trim()) + '"' : "", St += ">", St += be.text ? '<title id="' + Ue(be.id) + '">' + Ue(be.text) + "</title>" : "", St += Te.text ? '<description id="' + Ue(Te.id) + '">' + Ue(Te.text) + "</description>" : "", St += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', St += '<path d="', ut = 0; ut < Ge.getModuleCount(); ut += 1)
|
|
93864
93878
|
for (wt = ut * Ie + Re, Ye = 0; Ye < Ge.getModuleCount(); Ye += 1)
|
|
93865
93879
|
Ge.isDark(ut, Ye) && (ct = Ye * Ie + Re, St += "M" + ct + "," + wt + it);
|
|
93866
93880
|
return St += '" stroke="transparent" fill="black"/>', St += "</svg>", St;
|
|
93867
93881
|
}, Ge.createDataURL = function(Ie, Re) {
|
|
93868
93882
|
Ie = Ie || 2, Re = typeof Re > "u" ? Ie * 4 : Re;
|
|
93869
93883
|
var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re;
|
|
93870
|
-
return he(Te, Te, function(
|
|
93871
|
-
if (be <=
|
|
93872
|
-
var ct = Math.floor((
|
|
93884
|
+
return he(Te, Te, function(Le, Ye) {
|
|
93885
|
+
if (be <= Le && Le < ye && be <= Ye && Ye < ye) {
|
|
93886
|
+
var ct = Math.floor((Le - be) / Ie), ut = Math.floor((Ye - be) / Ie);
|
|
93873
93887
|
return Ge.isDark(ut, ct) ? 0 : 1;
|
|
93874
93888
|
} else
|
|
93875
93889
|
return 1;
|
|
@@ -93904,7 +93918,7 @@ var qrcode = { exports: {} };
|
|
|
93904
93918
|
}, He = function(Ie) {
|
|
93905
93919
|
var Re = 1;
|
|
93906
93920
|
Ie = typeof Ie > "u" ? Re * 2 : Ie;
|
|
93907
|
-
var Te = Ge.getModuleCount() * Re + Ie * 2, be = Ie, ye = Te - Ie,
|
|
93921
|
+
var Te = Ge.getModuleCount() * Re + Ie * 2, be = Ie, ye = Te - Ie, Le, Ye, ct, ut, wt, St = {
|
|
93908
93922
|
"██": "█",
|
|
93909
93923
|
"█ ": "▀",
|
|
93910
93924
|
" █": "▄",
|
|
@@ -93915,9 +93929,9 @@ var qrcode = { exports: {} };
|
|
|
93915
93929
|
" █": " ",
|
|
93916
93930
|
" ": " "
|
|
93917
93931
|
}, Ut = "";
|
|
93918
|
-
for (
|
|
93919
|
-
for (ct = Math.floor((
|
|
93920
|
-
wt = "█", be <= Ye && Ye < ye && be <=
|
|
93932
|
+
for (Le = 0; Le < Te; Le += 2) {
|
|
93933
|
+
for (ct = Math.floor((Le - be) / Re), ut = Math.floor((Le + 1 - be) / Re), Ye = 0; Ye < Te; Ye += 1)
|
|
93934
|
+
wt = "█", be <= Ye && Ye < ye && be <= Le && Le < ye && Ge.isDark(ct, Math.floor((Ye - be) / Re)) && (wt = " "), be <= Ye && Ye < ye && be <= Le + 1 && Le + 1 < ye && Ge.isDark(ut, Math.floor((Ye - be) / Re)) ? wt += " " : wt += "█", Ut += Ie < 1 && Le + 1 >= ye ? it[wt] : St[wt];
|
|
93921
93935
|
Ut += `
|
|
93922
93936
|
`;
|
|
93923
93937
|
}
|
|
@@ -93927,10 +93941,10 @@ var qrcode = { exports: {} };
|
|
|
93927
93941
|
if (Ie = Ie || 1, Ie < 2)
|
|
93928
93942
|
return He(Re);
|
|
93929
93943
|
Ie -= 1, Re = typeof Re > "u" ? Ie * 2 : Re;
|
|
93930
|
-
var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re,
|
|
93931
|
-
for (
|
|
93932
|
-
for (ct = Math.floor((
|
|
93933
|
-
ut = 1, be <= Ye && Ye < ye && be <=
|
|
93944
|
+
var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re, Le, Ye, ct, ut, wt = Array(Ie + 1).join("██"), St = Array(Ie + 1).join(" "), it = "", Ut = "";
|
|
93945
|
+
for (Le = 0; Le < Te; Le += 1) {
|
|
93946
|
+
for (ct = Math.floor((Le - be) / Ie), Ut = "", Ye = 0; Ye < Te; Ye += 1)
|
|
93947
|
+
ut = 1, be <= Ye && Ye < ye && be <= Le && Le < ye && Ge.isDark(ct, Math.floor((Ye - be) / Ie)) && (ut = 0), Ut += ut ? wt : St;
|
|
93934
93948
|
for (ct = 0; ct < Ie; ct += 1)
|
|
93935
93949
|
it += Ut + `
|
|
93936
93950
|
`;
|
|
@@ -96018,7 +96032,7 @@ const invitationStatusValue = /* @__PURE__ */ new Map([
|
|
|
96018
96032
|
Space: re.context.space.unredeemedCode
|
|
96019
96033
|
}),
|
|
96020
96034
|
[re]
|
|
96021
|
-
), ue = useMulticastObservable(Q.spaces), he = useMemo(
|
|
96035
|
+
), ue = useMulticastObservable$1(Q.spaces), he = useMemo(
|
|
96022
96036
|
() => ({
|
|
96023
96037
|
Space: ue ? new Set(ue.map(({ key: Ce }) => Ce.toHex())) : void 0
|
|
96024
96038
|
}),
|
|
@@ -96596,11 +96610,11 @@ createContext({});
|
|
|
96596
96610
|
export {
|
|
96597
96611
|
Event$1 as E,
|
|
96598
96612
|
Trigger as T,
|
|
96599
|
-
|
|
96613
|
+
WebSocket3 as W,
|
|
96600
96614
|
logInfo as a,
|
|
96601
96615
|
createProtoRpcPeer as c,
|
|
96602
96616
|
export_Buffer as e,
|
|
96603
96617
|
log$2 as l,
|
|
96604
96618
|
runShell as r
|
|
96605
96619
|
};
|
|
96606
|
-
//# sourceMappingURL=index-
|
|
96620
|
+
//# sourceMappingURL=index-D23Fh7uU.mjs.map
|