@malloy-publisher/sdk 0.0.231 → 0.0.233
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/README.md +1 -1
- package/dist/{ServerProvider-Tnt9y4B6.es.js → ServerProvider-W0vDe2Mt.es.js} +94 -90
- package/dist/ServerProvider-_aQQHMHe.cjs.js +1 -0
- package/dist/client/api.d.ts +83 -5
- package/dist/client/configuration.d.ts +1 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.es.js +27 -26
- package/dist/{core-Dp3q5Ieu.es.js → core-C0nunIQT.es.js} +1 -1
- package/dist/{core-DPpebaY3.cjs.js → core-D259xTWB.cjs.js} +1 -1
- package/dist/{index-ClhlT2co.cjs.js → index-C1vfuzAJ.cjs.js} +3 -3
- package/dist/{index-oNBVlY2N.es.js → index-RGokBmF6.es.js} +21 -13
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +14 -14
- package/package.json +7 -7
- package/src/components/Package/Package.tsx +13 -1
- package/dist/ServerProvider-BlufsK4M.cjs.js +0 -1
package/README.md
CHANGED
|
@@ -322,7 +322,7 @@ const resourceUri = encodeResourceUri({
|
|
|
322
322
|
|
|
323
323
|
- Models list (`.malloy` files)
|
|
324
324
|
- Notebooks list (`.malloynb` files)
|
|
325
|
-
- Embedded databases (`.parquet` files)
|
|
325
|
+
- Embedded databases (`.parquet`, `.csv`, and `.xlsx` files)
|
|
326
326
|
- Connection configuration
|
|
327
327
|
- Package README
|
|
328
328
|
|
|
@@ -125,14 +125,17 @@ const b = function(l, ...n) {
|
|
|
125
125
|
VerifyCa: "verify-ca",
|
|
126
126
|
VerifyFull: "verify-full"
|
|
127
127
|
}, Va = {
|
|
128
|
+
Query: "query",
|
|
129
|
+
ServerDefault: "server_default"
|
|
130
|
+
}, Oa = {
|
|
128
131
|
Snapshot: "SNAPSHOT",
|
|
129
132
|
Copy: "COPY"
|
|
130
|
-
},
|
|
133
|
+
}, Sa = {
|
|
131
134
|
Initializing: "initializing",
|
|
132
135
|
Serving: "serving",
|
|
133
136
|
Draining: "draining",
|
|
134
137
|
Throttled: "throttled"
|
|
135
|
-
},
|
|
138
|
+
}, ka = {
|
|
136
139
|
Light: "light",
|
|
137
140
|
Dark: "dark",
|
|
138
141
|
Auto: "auto"
|
|
@@ -746,7 +749,7 @@ const b = function(l, ...n) {
|
|
|
746
749
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
747
750
|
}
|
|
748
751
|
};
|
|
749
|
-
},
|
|
752
|
+
}, ya = function(l, n, e) {
|
|
750
753
|
const r = S(l);
|
|
751
754
|
return {
|
|
752
755
|
/**
|
|
@@ -1224,7 +1227,7 @@ const Pe = function(l) {
|
|
|
1224
1227
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
1225
1228
|
}
|
|
1226
1229
|
};
|
|
1227
|
-
},
|
|
1230
|
+
}, Ca = function(l, n, e) {
|
|
1228
1231
|
const r = K(l);
|
|
1229
1232
|
return {
|
|
1230
1233
|
/**
|
|
@@ -1239,7 +1242,7 @@ const Pe = function(l) {
|
|
|
1239
1242
|
}
|
|
1240
1243
|
};
|
|
1241
1244
|
};
|
|
1242
|
-
class
|
|
1245
|
+
class Ia extends I {
|
|
1243
1246
|
/**
|
|
1244
1247
|
* Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
|
|
1245
1248
|
* @summary Test database connection configuration
|
|
@@ -1255,7 +1258,7 @@ class Ca extends I {
|
|
|
1255
1258
|
const be = function(l) {
|
|
1256
1259
|
return {
|
|
1257
1260
|
/**
|
|
1258
|
-
* Retrieves a list of all embedded databases within the specified package. These are typically DuckDB
|
|
1261
|
+
* Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
|
|
1259
1262
|
* @summary List embedded databases
|
|
1260
1263
|
* @param {string} environmentName Name of the environment
|
|
1261
1264
|
* @param {string} packageName Name of the package
|
|
@@ -1281,7 +1284,7 @@ const be = function(l) {
|
|
|
1281
1284
|
const n = be(l);
|
|
1282
1285
|
return {
|
|
1283
1286
|
/**
|
|
1284
|
-
* Retrieves a list of all embedded databases within the specified package. These are typically DuckDB
|
|
1287
|
+
* Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
|
|
1285
1288
|
* @summary List embedded databases
|
|
1286
1289
|
* @param {string} environmentName Name of the environment
|
|
1287
1290
|
* @param {string} packageName Name of the package
|
|
@@ -1294,11 +1297,11 @@ const be = function(l) {
|
|
|
1294
1297
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
1295
1298
|
}
|
|
1296
1299
|
};
|
|
1297
|
-
},
|
|
1300
|
+
}, xa = function(l, n, e) {
|
|
1298
1301
|
const r = X(l);
|
|
1299
1302
|
return {
|
|
1300
1303
|
/**
|
|
1301
|
-
* Retrieves a list of all embedded databases within the specified package. These are typically DuckDB
|
|
1304
|
+
* Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
|
|
1302
1305
|
* @summary List embedded databases
|
|
1303
1306
|
* @param {string} environmentName Name of the environment
|
|
1304
1307
|
* @param {string} packageName Name of the package
|
|
@@ -1313,7 +1316,7 @@ const be = function(l) {
|
|
|
1313
1316
|
};
|
|
1314
1317
|
class ve extends I {
|
|
1315
1318
|
/**
|
|
1316
|
-
* Retrieves a list of all embedded databases within the specified package. These are typically DuckDB
|
|
1319
|
+
* Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
|
|
1317
1320
|
* @summary List embedded databases
|
|
1318
1321
|
* @param {string} environmentName Name of the environment
|
|
1319
1322
|
* @param {string} packageName Name of the package
|
|
@@ -1489,7 +1492,7 @@ const Ve = function(l) {
|
|
|
1489
1492
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
1490
1493
|
}
|
|
1491
1494
|
};
|
|
1492
|
-
},
|
|
1495
|
+
}, Aa = function(l, n, e) {
|
|
1493
1496
|
const r = N(l);
|
|
1494
1497
|
return {
|
|
1495
1498
|
/**
|
|
@@ -1826,7 +1829,7 @@ const Se = function(l) {
|
|
|
1826
1829
|
return (d, p) => V(s, h, u, l)(d, i || p);
|
|
1827
1830
|
}
|
|
1828
1831
|
};
|
|
1829
|
-
},
|
|
1832
|
+
}, Ra = function(l, n, e) {
|
|
1830
1833
|
const r = A(l);
|
|
1831
1834
|
return {
|
|
1832
1835
|
/**
|
|
@@ -1989,7 +1992,7 @@ class ke extends I {
|
|
|
1989
1992
|
return A(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
|
|
1990
1993
|
}
|
|
1991
1994
|
}
|
|
1992
|
-
const
|
|
1995
|
+
const Na = {
|
|
1993
1996
|
Stop: "stop"
|
|
1994
1997
|
}, ye = function(l) {
|
|
1995
1998
|
return {
|
|
@@ -2144,7 +2147,7 @@ const Ra = {
|
|
|
2144
2147
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2145
2148
|
}
|
|
2146
2149
|
};
|
|
2147
|
-
},
|
|
2150
|
+
}, Ta = function(l, n, e) {
|
|
2148
2151
|
const r = w(l);
|
|
2149
2152
|
return {
|
|
2150
2153
|
/**
|
|
@@ -2381,7 +2384,7 @@ const Ie = function(l) {
|
|
|
2381
2384
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2382
2385
|
}
|
|
2383
2386
|
};
|
|
2384
|
-
},
|
|
2387
|
+
}, Ua = function(l, n, e) {
|
|
2385
2388
|
const r = Q(l);
|
|
2386
2389
|
return {
|
|
2387
2390
|
/**
|
|
@@ -2475,7 +2478,7 @@ class xe extends I {
|
|
|
2475
2478
|
return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
|
|
2476
2479
|
}
|
|
2477
2480
|
}
|
|
2478
|
-
const
|
|
2481
|
+
const wa = {
|
|
2479
2482
|
True: "true",
|
|
2480
2483
|
False: "false"
|
|
2481
2484
|
}, Ae = function(l) {
|
|
@@ -2654,7 +2657,7 @@ const Ua = {
|
|
|
2654
2657
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2655
2658
|
}
|
|
2656
2659
|
};
|
|
2657
|
-
},
|
|
2660
|
+
}, Ea = function(l, n, e) {
|
|
2658
2661
|
const r = T(l);
|
|
2659
2662
|
return {
|
|
2660
2663
|
/**
|
|
@@ -2820,7 +2823,7 @@ const Ne = function(l) {
|
|
|
2820
2823
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
2821
2824
|
}
|
|
2822
2825
|
};
|
|
2823
|
-
},
|
|
2826
|
+
}, Ma = function(l, n, e) {
|
|
2824
2827
|
const r = Z(l);
|
|
2825
2828
|
return {
|
|
2826
2829
|
/**
|
|
@@ -2972,7 +2975,7 @@ const Ue = function(l) {
|
|
|
2972
2975
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
2973
2976
|
}
|
|
2974
2977
|
};
|
|
2975
|
-
},
|
|
2978
|
+
}, fa = function(l, n, e) {
|
|
2976
2979
|
const r = E(l);
|
|
2977
2980
|
return {
|
|
2978
2981
|
/**
|
|
@@ -3184,7 +3187,7 @@ const Ee = function(l) {
|
|
|
3184
3187
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
3185
3188
|
}
|
|
3186
3189
|
};
|
|
3187
|
-
},
|
|
3190
|
+
}, Ba = function(l, n, e) {
|
|
3188
3191
|
const r = M(l);
|
|
3189
3192
|
return {
|
|
3190
3193
|
/**
|
|
@@ -3360,21 +3363,21 @@ const B = {
|
|
|
3360
3363
|
// right wing of the M (semantic models)
|
|
3361
3364
|
darkBlue: "#1474a4"
|
|
3362
3365
|
// deep shadow of the M (package data)
|
|
3363
|
-
},
|
|
3366
|
+
}, Fa = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Qa = y(Y)({
|
|
3364
3367
|
display: "flex",
|
|
3365
3368
|
flexDirection: "column",
|
|
3366
3369
|
height: "100%",
|
|
3367
3370
|
boxShadow: "none",
|
|
3368
3371
|
border: "none",
|
|
3369
3372
|
backgroundColor: "transparent"
|
|
3370
|
-
}),
|
|
3373
|
+
}), za = y(J)({
|
|
3371
3374
|
display: "flex",
|
|
3372
3375
|
flexDirection: "column",
|
|
3373
3376
|
padding: "0",
|
|
3374
3377
|
flexGrow: 1
|
|
3375
|
-
}),
|
|
3378
|
+
}), $a = y(me)({
|
|
3376
3379
|
padding: "0"
|
|
3377
|
-
}),
|
|
3380
|
+
}), qa = y("div")(({ theme: l }) => ({
|
|
3378
3381
|
backgroundColor: l.palette.background.default,
|
|
3379
3382
|
padding: "0 8px 0px 8px",
|
|
3380
3383
|
borderRadius: "12px",
|
|
@@ -3388,19 +3391,19 @@ y("div")(({ theme: l }) => ({
|
|
|
3388
3391
|
paddingBottom: "24px",
|
|
3389
3392
|
borderBottom: `1px solid ${l.palette.divider}`
|
|
3390
3393
|
}));
|
|
3391
|
-
const
|
|
3394
|
+
const La = y("div")({
|
|
3392
3395
|
marginBottom: "48px",
|
|
3393
3396
|
padding: "0",
|
|
3394
3397
|
backgroundColor: "transparent",
|
|
3395
3398
|
border: "none",
|
|
3396
3399
|
boxShadow: "none"
|
|
3397
|
-
}),
|
|
3400
|
+
}), ja = y("div")({
|
|
3398
3401
|
marginBottom: "0",
|
|
3399
3402
|
padding: "0",
|
|
3400
3403
|
backgroundColor: "transparent",
|
|
3401
3404
|
border: "none",
|
|
3402
3405
|
boxShadow: "none"
|
|
3403
|
-
}),
|
|
3406
|
+
}), Ha = y("div")({
|
|
3404
3407
|
backgroundColor: "transparent",
|
|
3405
3408
|
paddingTop: "12px",
|
|
3406
3409
|
paddingBottom: "2px",
|
|
@@ -3430,7 +3433,7 @@ y("div")(({ theme: l }) => ({
|
|
|
3430
3433
|
justifyContent: "space-between",
|
|
3431
3434
|
alignItems: "center"
|
|
3432
3435
|
}));
|
|
3433
|
-
const
|
|
3436
|
+
const Da = y("div")({
|
|
3434
3437
|
height: "100%"
|
|
3435
3438
|
});
|
|
3436
3439
|
y("div")({
|
|
@@ -3440,7 +3443,7 @@ y("div")({
|
|
|
3440
3443
|
padding: "4px",
|
|
3441
3444
|
alignItems: "center"
|
|
3442
3445
|
});
|
|
3443
|
-
const
|
|
3446
|
+
const Wa = y("div")({
|
|
3444
3447
|
height: "75vh",
|
|
3445
3448
|
width: "100%",
|
|
3446
3449
|
overflowY: "auto"
|
|
@@ -3450,7 +3453,7 @@ y("div")({
|
|
|
3450
3453
|
height: "100%",
|
|
3451
3454
|
flex: "0 0 auto"
|
|
3452
3455
|
});
|
|
3453
|
-
const
|
|
3456
|
+
const _a = y(Y)(({ theme: l }) => ({
|
|
3454
3457
|
backgroundColor: l.palette.background.paper,
|
|
3455
3458
|
padding: "24px",
|
|
3456
3459
|
borderRadius: "8px",
|
|
@@ -3461,12 +3464,12 @@ const Wa = y(Y)(({ theme: l }) => ({
|
|
|
3461
3464
|
"&:hover": {
|
|
3462
3465
|
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
|
|
3463
3466
|
}
|
|
3464
|
-
})),
|
|
3467
|
+
})), Ga = y(J)({
|
|
3465
3468
|
padding: "0",
|
|
3466
3469
|
"&:last-child": {
|
|
3467
3470
|
paddingBottom: "0"
|
|
3468
3471
|
}
|
|
3469
|
-
}),
|
|
3472
|
+
}), Ya = y("div")(({ theme: l }) => ({
|
|
3470
3473
|
fontSize: "0.875rem",
|
|
3471
3474
|
fontWeight: 500,
|
|
3472
3475
|
color: l.palette.text.secondary,
|
|
@@ -3628,7 +3631,7 @@ function $e({
|
|
|
3628
3631
|
);
|
|
3629
3632
|
return /* @__PURE__ */ F(ae.Provider, { value: s, children: t });
|
|
3630
3633
|
}
|
|
3631
|
-
function
|
|
3634
|
+
function Ja() {
|
|
3632
3635
|
const l = G(ae);
|
|
3633
3636
|
return l || {
|
|
3634
3637
|
theme: ee([], "light"),
|
|
@@ -3651,7 +3654,7 @@ const qe = new le({
|
|
|
3651
3654
|
throwOnError: !1
|
|
3652
3655
|
}
|
|
3653
3656
|
}
|
|
3654
|
-
}),
|
|
3657
|
+
}), Ka = {
|
|
3655
3658
|
staleTime: 300 * 1e3,
|
|
3656
3659
|
refetchOnWindowFocus: !1,
|
|
3657
3660
|
refetchOnReconnect: !1
|
|
@@ -3702,7 +3705,7 @@ const te = _(void 0), De = (l, n) => {
|
|
|
3702
3705
|
),
|
|
3703
3706
|
watchMode: new Me(a, e, r)
|
|
3704
3707
|
};
|
|
3705
|
-
},
|
|
3708
|
+
}, Xa = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
|
|
3706
3709
|
children: l,
|
|
3707
3710
|
getAccessToken: n,
|
|
3708
3711
|
baseURL: e,
|
|
@@ -3759,23 +3762,23 @@ const te = _(void 0), De = (l, n) => {
|
|
|
3759
3762
|
children: l
|
|
3760
3763
|
}
|
|
3761
3764
|
) });
|
|
3762
|
-
},
|
|
3765
|
+
}, Za = () => {
|
|
3763
3766
|
const l = G(te);
|
|
3764
3767
|
if (l === void 0)
|
|
3765
3768
|
throw new Error("useServer must be used within a ServerProvider");
|
|
3766
3769
|
return l;
|
|
3767
3770
|
};
|
|
3768
3771
|
export {
|
|
3769
|
-
|
|
3772
|
+
Ie as $,
|
|
3770
3773
|
Xe as A,
|
|
3771
|
-
|
|
3774
|
+
xa as B,
|
|
3772
3775
|
ea as C,
|
|
3773
3776
|
oa as D,
|
|
3774
3777
|
ve as E,
|
|
3775
3778
|
sa as F,
|
|
3776
3779
|
Ve as G,
|
|
3777
3780
|
N as H,
|
|
3778
|
-
|
|
3781
|
+
Aa as I,
|
|
3779
3782
|
Oe as J,
|
|
3780
3783
|
Se as K,
|
|
3781
3784
|
ca as L,
|
|
@@ -3783,58 +3786,59 @@ export {
|
|
|
3783
3786
|
pa as N,
|
|
3784
3787
|
A as O,
|
|
3785
3788
|
ha as P,
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3789
|
+
Va as Q,
|
|
3790
|
+
Oa as R,
|
|
3791
|
+
Xa as S,
|
|
3792
|
+
ka as T,
|
|
3793
|
+
Ra as U,
|
|
3794
|
+
ke as V,
|
|
3795
|
+
Na as W,
|
|
3796
|
+
ye as X,
|
|
3797
|
+
w as Y,
|
|
3798
|
+
Ta as Z,
|
|
3799
|
+
Ce as _,
|
|
3797
3800
|
Ze as a,
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3801
|
+
Q as a0,
|
|
3802
|
+
Ua as a1,
|
|
3803
|
+
xe as a2,
|
|
3804
|
+
wa as a3,
|
|
3805
|
+
Ae as a4,
|
|
3806
|
+
T as a5,
|
|
3807
|
+
Ea as a6,
|
|
3808
|
+
Re as a7,
|
|
3809
|
+
Ne as a8,
|
|
3810
|
+
Z as a9,
|
|
3811
|
+
La as aA,
|
|
3812
|
+
Qe as aB,
|
|
3813
|
+
ee as aC,
|
|
3814
|
+
W as aD,
|
|
3815
|
+
ze as aE,
|
|
3816
|
+
$e as aF,
|
|
3817
|
+
Ma as aa,
|
|
3818
|
+
Te as ab,
|
|
3819
|
+
Ue as ac,
|
|
3820
|
+
E as ad,
|
|
3821
|
+
fa as ae,
|
|
3822
|
+
we as af,
|
|
3823
|
+
Ee as ag,
|
|
3824
|
+
M as ah,
|
|
3825
|
+
Ba as ai,
|
|
3826
|
+
Me as aj,
|
|
3827
|
+
fe as ak,
|
|
3828
|
+
$a as al,
|
|
3825
3829
|
Da as am,
|
|
3826
|
-
|
|
3827
|
-
|
|
3830
|
+
Wa as an,
|
|
3831
|
+
Ja as ao,
|
|
3828
3832
|
Qa as ap,
|
|
3829
|
-
|
|
3830
|
-
|
|
3833
|
+
za as aq,
|
|
3834
|
+
Fa as ar,
|
|
3831
3835
|
_a as as,
|
|
3832
3836
|
Ga as at,
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3837
|
+
Ya as au,
|
|
3838
|
+
B as av,
|
|
3839
|
+
Ka as aw,
|
|
3836
3840
|
ja as ax,
|
|
3837
|
-
|
|
3841
|
+
Ha as ay,
|
|
3838
3842
|
qa as az,
|
|
3839
3843
|
aa as b,
|
|
3840
3844
|
ta as c,
|
|
@@ -3849,16 +3853,16 @@ export {
|
|
|
3849
3853
|
Pa as l,
|
|
3850
3854
|
ba as m,
|
|
3851
3855
|
va as n,
|
|
3852
|
-
|
|
3856
|
+
Sa as o,
|
|
3853
3857
|
ue as p,
|
|
3854
3858
|
S as q,
|
|
3855
|
-
|
|
3859
|
+
ya as r,
|
|
3856
3860
|
ge as s,
|
|
3857
3861
|
Pe as t,
|
|
3858
|
-
|
|
3862
|
+
Za as u,
|
|
3859
3863
|
K as v,
|
|
3860
|
-
|
|
3861
|
-
|
|
3864
|
+
Ca as w,
|
|
3865
|
+
Ia as x,
|
|
3862
3866
|
be as y,
|
|
3863
3867
|
X as z
|
|
3864
3868
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const Q=require("react/jsx-runtime"),H=require("@tanstack/react-query"),h=require("axios"),A=require("react"),y=require("@mui/material"),u="http://localhost/api/v0".replace(/\/+$/,"");class x{constructor(n,e=u,r=h){this.basePath=e,this.axios=r,n&&(this.configuration=n,this.basePath=n.basePath??e)}configuration}class Te extends Error{constructor(n,e){super(e),this.field=n,this.name="RequiredError"}}const g={},P="https://example.com",m=function(l,n,e){if(e==null)throw new Te(n,`Required parameter ${n} was null or undefined when calling ${l}.`)};function q(l,n,e=""){n!=null&&(typeof n=="object"?Array.isArray(n)?n.forEach(r=>q(l,r,e)):Object.keys(n).forEach(r=>q(l,n[r],`${e}${e!==""?".":""}${r}`)):l.has(e)?l.append(e,n):l.set(e,n))}const b=function(l,...n){const e=new URLSearchParams(l.search);q(e,n),l.search=e.toString()},k=function(l,n,e){const r=typeof l!="string";return(r&&e&&e.isJsonMime?e.isJsonMime(n.headers["Content-Type"]):r)?JSON.stringify(l!==void 0?l:{}):l||""},v=function(l){return l.pathname+l.search+l.hash},V=function(l,n,e,r){return(a=n,t=e)=>{const o={...l.options,url:(a.defaults.baseURL?"":r?.basePath??t)+l.url};return a.request(o)}},Ne={Bigquery:"bigquery",Snowflake:"snowflake",Postgres:"postgres",Gcs:"gcs",S3:"s3",Azure:"azure"},Ee={ServicePrincipal:"service_principal",SasToken:"sas_token"},Ue={Error:"error",Warn:"warn",Debug:"debug"},Me={Success:"success",Error:"error"},we={Postgres:"postgres",Bigquery:"bigquery",Snowflake:"snowflake",Trino:"trino",Databricks:"databricks",Mysql:"mysql",Duckdb:"duckdb",Motherduck:"motherduck",Ducklake:"ducklake",Publisher:"publisher"},Fe={Ssh:"ssh"},fe={Ok:"ok",Failed:"failed"},Be={Embedded:"embedded",Materialized:"materialized"},Qe={Equal:"equal",In:"in",Like:"like",GreaterThan:"greater_than",LessThan:"less_than"},ze={Live:"live",StaleOk:"stale_ok",Fail:"fail"},$e={Debug:"debug",Info:"info",Warn:"warn",Error:"error"},qe={Live:"live",StaleOk:"stale_ok",Fail:"fail"},Le={Pending:"PENDING",ManifestRowsReady:"MANIFEST_ROWS_READY",ManifestFileReady:"MANIFEST_FILE_READY",Failed:"FAILED",Cancelled:"CANCELLED"},je={Markdown:"markdown",Code:"code"},He={Markdown:"markdown",Code:"code"},De={Version:"version",Package:"package"},We={Declared:"declared",All:"all"},_e={Unbound:"unbound",Bound:"bound",LiveFallback:"live_fallback"},Ge={Error:"error",Warn:"warn"},Ye={Viewport:"viewport"},Ke={Disable:"disable",NoVerify:"no-verify",VerifyCa:"verify-ca",VerifyFull:"verify-full"},Je={Query:"query",ServerDefault:"server_default"},Xe={Snapshot:"SNAPSHOT",Copy:"COPY"},Ze={Initializing:"initializing",Serving:"serving",Draining:"draining",Throttled:"throttled"},ea={Light:"light",Dark:"dark",Auto:"auto"},J=function(l){return{createConnection:async(n,e,r,a={})=>{m("createConnection","environmentName",n),m("createConnection","connectionName",e),m("createConnection","connection",r);const t="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}},deleteConnection:async(n,e,r={})=>{m("deleteConnection","environmentName",n),m("deleteConnection","connectionName",e);const a="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"DELETE",...o,...r},c={};b(t,{});let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}},getConnection:async(n,e,r={})=>{m("getConnection","environmentName",n),m("getConnection","connectionName",e);const a="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}},getTable:async(n,e,r,a,t={})=>{m("getTable","environmentName",n),m("getTable","connectionName",e),m("getTable","schemaName",r),m("getTable","tablePath",a);const o="/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))).replace("{schemaName}",encodeURIComponent(String(r))).replace("{tablePath}",encodeURIComponent(String(a))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},d={};b(s,{});let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},getTableInPackage:async(n,e,r,a,t,o={})=>{m("getTableInPackage","environmentName",n),m("getTableInPackage","packageName",e),m("getTableInPackage","connectionName",r),m("getTableInPackage","schemaName",a),m("getTableInPackage","tablePath",t);const s="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))).replace("{schemaName}",encodeURIComponent(String(a))).replace("{tablePath}",encodeURIComponent(String(t))),c=new URL(s,P);let i;l&&(i=l.baseOptions);const d={method:"GET",...i,...o},p={};b(c,{});let C=i&&i.headers?i.headers:{};return d.headers={...p,...C,...o.headers},{url:v(c),options:d}},listConnections:async(n,e={})=>{m("listConnections","environmentName",n);const r="/environments/{environmentName}/connections".replace("{environmentName}",encodeURIComponent(String(n))),a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"GET",...t,...e},s={};b(a,{});let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},{url:v(a),options:o}},listSchemas:async(n,e,r={})=>{m("listSchemas","environmentName",n),m("listSchemas","connectionName",e);const a="/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}},listSchemasInPackage:async(n,e,r,a={})=>{m("listSchemasInPackage","environmentName",n),m("listSchemasInPackage","packageName",e),m("listSchemasInPackage","connectionName",r);const t="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={};b(o,{});let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},{url:v(o),options:c}},listTables:async(n,e,r,a,t={})=>{m("listTables","environmentName",n),m("listTables","connectionName",e),m("listTables","schemaName",r);const o="/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))).replace("{schemaName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},d={},p={};a&&(p.tableNames=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},listTablesInPackage:async(n,e,r,a,t,o={})=>{m("listTablesInPackage","environmentName",n),m("listTablesInPackage","packageName",e),m("listTablesInPackage","connectionName",r),m("listTablesInPackage","schemaName",a);const s="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))).replace("{schemaName}",encodeURIComponent(String(a))),c=new URL(s,P);let i;l&&(i=l.baseOptions);const d={method:"GET",...i,...o},p={},O={};t&&(O.tableNames=t),b(c,O);let C=i&&i.headers?i.headers:{};return d.headers={...p,...C,...o.headers},{url:v(c),options:d}},postQuerydata:async(n,e,r,a={})=>{m("postQuerydata","environmentName",n),m("postQuerydata","connectionName",e),m("postQuerydata","postQuerydataRequest",r);const t="/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}},postQuerydataInPackage:async(n,e,r,a,t={})=>{m("postQuerydataInPackage","environmentName",n),m("postQuerydataInPackage","packageName",e),m("postQuerydataInPackage","connectionName",r),m("postQuerydataInPackage","postQuerydataRequest",a);const o="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},d={},p={};d["Content-Type"]="application/json",b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},i.data=k(a,i,l),{url:v(s),options:i}},postSqlsource:async(n,e,r,a={})=>{m("postSqlsource","environmentName",n),m("postSqlsource","connectionName",e),m("postSqlsource","postSqlsourceRequest",r);const t="/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}},postSqlsourceInPackage:async(n,e,r,a,t={})=>{m("postSqlsourceInPackage","environmentName",n),m("postSqlsourceInPackage","packageName",e),m("postSqlsourceInPackage","connectionName",r),m("postSqlsourceInPackage","postSqlsourceRequest",a);const o="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},d={},p={};d["Content-Type"]="application/json",b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},i.data=k(a,i,l),{url:v(s),options:i}},postTemporarytable:async(n,e,r,a={})=>{m("postTemporarytable","environmentName",n),m("postTemporarytable","connectionName",e),m("postTemporarytable","postSqlsourceRequest",r);const t="/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}},postTemporarytableInPackage:async(n,e,r,a,t={})=>{m("postTemporarytableInPackage","environmentName",n),m("postTemporarytableInPackage","packageName",e),m("postTemporarytableInPackage","connectionName",r),m("postTemporarytableInPackage","postSqlsourceRequest",a);const o="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},d={},p={};d["Content-Type"]="application/json",b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},i.data=k(a,i,l),{url:v(s),options:i}},updateConnection:async(n,e,r,a={})=>{m("updateConnection","environmentName",n),m("updateConnection","connectionName",e),m("updateConnection","updateConnectionRequest",r);const t="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"PATCH",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}}}},S=function(l){const n=J(l);return{async createConnection(e,r,a,t){const o=await n.createConnection(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.createConnection"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async deleteConnection(e,r,a){const t=await n.deleteConnection(e,r,a),o=l?.serverIndex??0,s=g["ConnectionsApi.deleteConnection"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async getConnection(e,r,a){const t=await n.getConnection(e,r,a),o=l?.serverIndex??0,s=g["ConnectionsApi.getConnection"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async getTable(e,r,a,t,o){const s=await n.getTable(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.getTable"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async getTableInPackage(e,r,a,t,o,s){const c=await n.getTableInPackage(e,r,a,t,o,s),i=l?.serverIndex??0,d=g["ConnectionsApi.getTableInPackage"]?.[i]?.url;return(p,O)=>V(c,h,u,l)(p,d||O)},async listConnections(e,r){const a=await n.listConnections(e,r),t=l?.serverIndex??0,o=g["ConnectionsApi.listConnections"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async listSchemas(e,r,a){const t=await n.listSchemas(e,r,a),o=l?.serverIndex??0,s=g["ConnectionsApi.listSchemas"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async listSchemasInPackage(e,r,a,t){const o=await n.listSchemasInPackage(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async listTables(e,r,a,t,o){const s=await n.listTables(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.listTables"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async listTablesInPackage(e,r,a,t,o,s){const c=await n.listTablesInPackage(e,r,a,t,o,s),i=l?.serverIndex??0,d=g["ConnectionsApi.listTablesInPackage"]?.[i]?.url;return(p,O)=>V(c,h,u,l)(p,d||O)},async postQuerydata(e,r,a,t){const o=await n.postQuerydata(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.postQuerydata"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async postQuerydataInPackage(e,r,a,t,o){const s=await n.postQuerydataInPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.postQuerydataInPackage"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async postSqlsource(e,r,a,t){const o=await n.postSqlsource(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.postSqlsource"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async postSqlsourceInPackage(e,r,a,t,o){const s=await n.postSqlsourceInPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async postTemporarytable(e,r,a,t){const o=await n.postTemporarytable(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.postTemporarytable"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async postTemporarytableInPackage(e,r,a,t,o){const s=await n.postTemporarytableInPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async updateConnection(e,r,a,t){const o=await n.updateConnection(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.updateConnection"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)}}},aa=function(l,n,e){const r=S(l);return{createConnection(a,t,o,s){return r.createConnection(a,t,o,s).then(c=>c(e,n))},deleteConnection(a,t,o){return r.deleteConnection(a,t,o).then(s=>s(e,n))},getConnection(a,t,o){return r.getConnection(a,t,o).then(s=>s(e,n))},getTable(a,t,o,s,c){return r.getTable(a,t,o,s,c).then(i=>i(e,n))},getTableInPackage(a,t,o,s,c,i){return r.getTableInPackage(a,t,o,s,c,i).then(d=>d(e,n))},listConnections(a,t){return r.listConnections(a,t).then(o=>o(e,n))},listSchemas(a,t,o){return r.listSchemas(a,t,o).then(s=>s(e,n))},listSchemasInPackage(a,t,o,s){return r.listSchemasInPackage(a,t,o,s).then(c=>c(e,n))},listTables(a,t,o,s,c){return r.listTables(a,t,o,s,c).then(i=>i(e,n))},listTablesInPackage(a,t,o,s,c,i){return r.listTablesInPackage(a,t,o,s,c,i).then(d=>d(e,n))},postQuerydata(a,t,o,s){return r.postQuerydata(a,t,o,s).then(c=>c(e,n))},postQuerydataInPackage(a,t,o,s,c){return r.postQuerydataInPackage(a,t,o,s,c).then(i=>i(e,n))},postSqlsource(a,t,o,s){return r.postSqlsource(a,t,o,s).then(c=>c(e,n))},postSqlsourceInPackage(a,t,o,s,c){return r.postSqlsourceInPackage(a,t,o,s,c).then(i=>i(e,n))},postTemporarytable(a,t,o,s){return r.postTemporarytable(a,t,o,s).then(c=>c(e,n))},postTemporarytableInPackage(a,t,o,s,c){return r.postTemporarytableInPackage(a,t,o,s,c).then(i=>i(e,n))},updateConnection(a,t,o,s){return r.updateConnection(a,t,o,s).then(c=>c(e,n))}}};class X extends x{createConnection(n,e,r,a){return S(this.configuration).createConnection(n,e,r,a).then(t=>t(this.axios,this.basePath))}deleteConnection(n,e,r){return S(this.configuration).deleteConnection(n,e,r).then(a=>a(this.axios,this.basePath))}getConnection(n,e,r){return S(this.configuration).getConnection(n,e,r).then(a=>a(this.axios,this.basePath))}getTable(n,e,r,a,t){return S(this.configuration).getTable(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}getTableInPackage(n,e,r,a,t,o){return S(this.configuration).getTableInPackage(n,e,r,a,t,o).then(s=>s(this.axios,this.basePath))}listConnections(n,e){return S(this.configuration).listConnections(n,e).then(r=>r(this.axios,this.basePath))}listSchemas(n,e,r){return S(this.configuration).listSchemas(n,e,r).then(a=>a(this.axios,this.basePath))}listSchemasInPackage(n,e,r,a){return S(this.configuration).listSchemasInPackage(n,e,r,a).then(t=>t(this.axios,this.basePath))}listTables(n,e,r,a,t){return S(this.configuration).listTables(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listTablesInPackage(n,e,r,a,t,o){return S(this.configuration).listTablesInPackage(n,e,r,a,t,o).then(s=>s(this.axios,this.basePath))}postQuerydata(n,e,r,a){return S(this.configuration).postQuerydata(n,e,r,a).then(t=>t(this.axios,this.basePath))}postQuerydataInPackage(n,e,r,a,t){return S(this.configuration).postQuerydataInPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}postSqlsource(n,e,r,a){return S(this.configuration).postSqlsource(n,e,r,a).then(t=>t(this.axios,this.basePath))}postSqlsourceInPackage(n,e,r,a,t){return S(this.configuration).postSqlsourceInPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}postTemporarytable(n,e,r,a){return S(this.configuration).postTemporarytable(n,e,r,a).then(t=>t(this.axios,this.basePath))}postTemporarytableInPackage(n,e,r,a,t){return S(this.configuration).postTemporarytableInPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}updateConnection(n,e,r,a){return S(this.configuration).updateConnection(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const Z=function(l){return{testConnectionConfiguration:async(n,e={})=>{m("testConnectionConfiguration","connection",n);const r="/connections/test",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"POST",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=k(n,o,l),{url:v(a),options:o}}}},D=function(l){const n=Z(l);return{async testConnectionConfiguration(e,r){const a=await n.testConnectionConfiguration(e,r),t=l?.serverIndex??0,o=g["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)}}},ta=function(l,n,e){const r=D(l);return{testConnectionConfiguration(a,t){return r.testConnectionConfiguration(a,t).then(o=>o(e,n))}}};class na extends x{testConnectionConfiguration(n,e){return D(this.configuration).testConnectionConfiguration(n,e).then(r=>r(this.axios,this.basePath))}}const ee=function(l){return{listDatabases:async(n,e,r,a={})=>{m("listDatabases","environmentName",n),m("listDatabases","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},d={};r!==void 0&&(d.versionId=r),b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},{url:v(o),options:c}}}},W=function(l){const n=ee(l);return{async listDatabases(e,r,a,t){const o=await n.listDatabases(e,r,a,t),s=l?.serverIndex??0,c=g["DatabasesApi.listDatabases"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)}}},ra=function(l,n,e){const r=W(l);return{listDatabases(a,t,o,s){return r.listDatabases(a,t,o,s).then(c=>c(e,n))}}};class ae extends x{listDatabases(n,e,r,a){return W(this.configuration).listDatabases(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const te=function(l){return{createEnvironment:async(n,e={})=>{m("createEnvironment","environment",n);const r="/environments",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"POST",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=k(n,o,l),{url:v(a),options:o}},deleteEnvironment:async(n,e={})=>{m("deleteEnvironment","environmentName",n);const r="/environments/{environmentName}".replace("{environmentName}",encodeURIComponent(String(n))),a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"DELETE",...t,...e},s={};b(a,{});let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},{url:v(a),options:o}},getEnvironment:async(n,e,r={})=>{m("getEnvironment","environmentName",n);const a="/environments/{environmentName}".replace("{environmentName}",encodeURIComponent(String(n))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={},i={};e!==void 0&&(i.reload=e),b(t,i);let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}},listEnvironments:async(n={})=>{const e="/environments",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},updateEnvironment:async(n,e,r={})=>{m("updateEnvironment","environmentName",n),m("updateEnvironment","environment",e);const a="/environments/{environmentName}".replace("{environmentName}",encodeURIComponent(String(n))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"PATCH",...o,...r},c={},i={};c["Content-Type"]="application/json",b(t,i);let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},s.data=k(e,s,l),{url:v(t),options:s}}}},T=function(l){const n=te(l);return{async createEnvironment(e,r){const a=await n.createEnvironment(e,r),t=l?.serverIndex??0,o=g["EnvironmentsApi.createEnvironment"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async deleteEnvironment(e,r){const a=await n.deleteEnvironment(e,r),t=l?.serverIndex??0,o=g["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async getEnvironment(e,r,a){const t=await n.getEnvironment(e,r,a),o=l?.serverIndex??0,s=g["EnvironmentsApi.getEnvironment"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async listEnvironments(e){const r=await n.listEnvironments(e),a=l?.serverIndex??0,t=g["EnvironmentsApi.listEnvironments"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async updateEnvironment(e,r,a){const t=await n.updateEnvironment(e,r,a),o=l?.serverIndex??0,s=g["EnvironmentsApi.updateEnvironment"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)}}},oa=function(l,n,e){const r=T(l);return{createEnvironment(a,t){return r.createEnvironment(a,t).then(o=>o(e,n))},deleteEnvironment(a,t){return r.deleteEnvironment(a,t).then(o=>o(e,n))},getEnvironment(a,t,o){return r.getEnvironment(a,t,o).then(s=>s(e,n))},listEnvironments(a){return r.listEnvironments(a).then(t=>t(e,n))},updateEnvironment(a,t,o){return r.updateEnvironment(a,t,o).then(s=>s(e,n))}}};class ne extends x{createEnvironment(n,e){return T(this.configuration).createEnvironment(n,e).then(r=>r(this.axios,this.basePath))}deleteEnvironment(n,e){return T(this.configuration).deleteEnvironment(n,e).then(r=>r(this.axios,this.basePath))}getEnvironment(n,e,r){return T(this.configuration).getEnvironment(n,e,r).then(a=>a(this.axios,this.basePath))}listEnvironments(n){return T(this.configuration).listEnvironments(n).then(e=>e(this.axios,this.basePath))}updateEnvironment(n,e,r){return T(this.configuration).updateEnvironment(n,e,r).then(a=>a(this.axios,this.basePath))}}const re=function(l){return{createMaterialization:async(n,e,r,a={})=>{m("createMaterialization","environmentName",n),m("createMaterialization","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}},deleteMaterialization:async(n,e,r,a,t={})=>{m("deleteMaterialization","environmentName",n),m("deleteMaterialization","packageName",e),m("deleteMaterialization","materializationId",r);const o="/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{materializationId}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"DELETE",...c,...t},d={},p={};a!==void 0&&(p.dropTables=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},getMaterialization:async(n,e,r,a={})=>{m("getMaterialization","environmentName",n),m("getMaterialization","packageName",e),m("getMaterialization","materializationId",r);const t="/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{materializationId}",encodeURIComponent(String(r))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={};b(o,{});let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},{url:v(o),options:c}},listEnvironmentMaterializations:async(n,e,r,a={})=>{m("listEnvironmentMaterializations","environmentName",n);const t="/environments/{environmentName}/packages/materializations".replace("{environmentName}",encodeURIComponent(String(n))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},d={};e!==void 0&&(d.limit=e),r!==void 0&&(d.offset=r),b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},{url:v(o),options:c}},listMaterializations:async(n,e,r,a,t={})=>{m("listMaterializations","environmentName",n),m("listMaterializations","packageName",e);const o="/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},d={},p={};r!==void 0&&(p.limit=r),a!==void 0&&(p.offset=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},materializationAction:async(n,e,r,a,t={})=>{m("materializationAction","environmentName",n),m("materializationAction","packageName",e),m("materializationAction","materializationId",r),m("materializationAction","action",a);const o="/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{materializationId}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},d={},p={};a!==void 0&&(p.action=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}}}},R=function(l){const n=re(l);return{async createMaterialization(e,r,a,t){const o=await n.createMaterialization(e,r,a,t),s=l?.serverIndex??0,c=g["MaterializationsApi.createMaterialization"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async deleteMaterialization(e,r,a,t,o){const s=await n.deleteMaterialization(e,r,a,t,o),c=l?.serverIndex??0,i=g["MaterializationsApi.deleteMaterialization"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async getMaterialization(e,r,a,t){const o=await n.getMaterialization(e,r,a,t),s=l?.serverIndex??0,c=g["MaterializationsApi.getMaterialization"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async listEnvironmentMaterializations(e,r,a,t){const o=await n.listEnvironmentMaterializations(e,r,a,t),s=l?.serverIndex??0,c=g["MaterializationsApi.listEnvironmentMaterializations"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)},async listMaterializations(e,r,a,t,o){const s=await n.listMaterializations(e,r,a,t,o),c=l?.serverIndex??0,i=g["MaterializationsApi.listMaterializations"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async materializationAction(e,r,a,t,o){const s=await n.materializationAction(e,r,a,t,o),c=l?.serverIndex??0,i=g["MaterializationsApi.materializationAction"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)}}},sa=function(l,n,e){const r=R(l);return{createMaterialization(a,t,o,s){return r.createMaterialization(a,t,o,s).then(c=>c(e,n))},deleteMaterialization(a,t,o,s,c){return r.deleteMaterialization(a,t,o,s,c).then(i=>i(e,n))},getMaterialization(a,t,o,s){return r.getMaterialization(a,t,o,s).then(c=>c(e,n))},listEnvironmentMaterializations(a,t,o,s){return r.listEnvironmentMaterializations(a,t,o,s).then(c=>c(e,n))},listMaterializations(a,t,o,s,c){return r.listMaterializations(a,t,o,s,c).then(i=>i(e,n))},materializationAction(a,t,o,s,c){return r.materializationAction(a,t,o,s,c).then(i=>i(e,n))}}};class oe extends x{createMaterialization(n,e,r,a){return R(this.configuration).createMaterialization(n,e,r,a).then(t=>t(this.axios,this.basePath))}deleteMaterialization(n,e,r,a,t){return R(this.configuration).deleteMaterialization(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}getMaterialization(n,e,r,a){return R(this.configuration).getMaterialization(n,e,r,a).then(t=>t(this.axios,this.basePath))}listEnvironmentMaterializations(n,e,r,a){return R(this.configuration).listEnvironmentMaterializations(n,e,r,a).then(t=>t(this.axios,this.basePath))}listMaterializations(n,e,r,a,t){return R(this.configuration).listMaterializations(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}materializationAction(n,e,r,a,t){return R(this.configuration).materializationAction(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}}const la={Stop:"stop"},se=function(l){return{compileModelSource:async(n,e,r,a,t={})=>{m("compileModelSource","environmentName",n),m("compileModelSource","packageName",e),m("compileModelSource","path",r),m("compileModelSource","compileRequest",a);const o="/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},d={},p={};d["Content-Type"]="application/json",b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},i.data=k(a,i,l),{url:v(s),options:i}},executeQueryModel:async(n,e,r,a,t={})=>{m("executeQueryModel","environmentName",n),m("executeQueryModel","packageName",e),m("executeQueryModel","path",r),m("executeQueryModel","queryRequest",a);const o="/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},d={},p={};d["Content-Type"]="application/json",b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},i.data=k(a,i,l),{url:v(s),options:i}},getModel:async(n,e,r,a,t={})=>{m("getModel","environmentName",n),m("getModel","packageName",e),m("getModel","path",r);const o="/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},d={},p={};a!==void 0&&(p.versionId=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},listModels:async(n,e,r,a={})=>{m("listModels","environmentName",n),m("listModels","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},d={};r!==void 0&&(d.versionId=r),b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},{url:v(o),options:c}}}},U=function(l){const n=se(l);return{async compileModelSource(e,r,a,t,o){const s=await n.compileModelSource(e,r,a,t,o),c=l?.serverIndex??0,i=g["ModelsApi.compileModelSource"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async executeQueryModel(e,r,a,t,o){const s=await n.executeQueryModel(e,r,a,t,o),c=l?.serverIndex??0,i=g["ModelsApi.executeQueryModel"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async getModel(e,r,a,t,o){const s=await n.getModel(e,r,a,t,o),c=l?.serverIndex??0,i=g["ModelsApi.getModel"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async listModels(e,r,a,t){const o=await n.listModels(e,r,a,t),s=l?.serverIndex??0,c=g["ModelsApi.listModels"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)}}},ca=function(l,n,e){const r=U(l);return{compileModelSource(a,t,o,s,c){return r.compileModelSource(a,t,o,s,c).then(i=>i(e,n))},executeQueryModel(a,t,o,s,c){return r.executeQueryModel(a,t,o,s,c).then(i=>i(e,n))},getModel(a,t,o,s,c){return r.getModel(a,t,o,s,c).then(i=>i(e,n))},listModels(a,t,o,s){return r.listModels(a,t,o,s).then(c=>c(e,n))}}};class le extends x{compileModelSource(n,e,r,a,t){return U(this.configuration).compileModelSource(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}executeQueryModel(n,e,r,a,t){return U(this.configuration).executeQueryModel(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}getModel(n,e,r,a,t){return U(this.configuration).getModel(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listModels(n,e,r,a){return U(this.configuration).listModels(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const ce=function(l){return{executeNotebookCell:async(n,e,r,a,t,o,s,c,i={})=>{m("executeNotebookCell","environmentName",n),m("executeNotebookCell","packageName",e),m("executeNotebookCell","path",r),m("executeNotebookCell","cellIndex",a);const d="/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))).replace("{cellIndex}",encodeURIComponent(String(a))),p=new URL(d,P);let O;l&&(O=l.baseOptions);const C={method:"GET",...O,...i},f={},I={};t!==void 0&&(I.versionId=t),o!==void 0&&(I.filter_params=o),s!==void 0&&(I.bypass_filters=s),c!==void 0&&(I.givens=c),b(p,I);let z=O&&O.headers?O.headers:{};return C.headers={...f,...z,...i.headers},{url:v(p),options:C}},getNotebook:async(n,e,r,a,t={})=>{m("getNotebook","environmentName",n),m("getNotebook","packageName",e),m("getNotebook","path",r);const o="/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},d={},p={};a!==void 0&&(p.versionId=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},listNotebooks:async(n,e,r,a={})=>{m("listNotebooks","environmentName",n),m("listNotebooks","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},d={};r!==void 0&&(d.versionId=r),b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},{url:v(o),options:c}}}},B=function(l){const n=ce(l);return{async executeNotebookCell(e,r,a,t,o,s,c,i,d){const p=await n.executeNotebookCell(e,r,a,t,o,s,c,i,d),O=l?.serverIndex??0,C=g["NotebooksApi.executeNotebookCell"]?.[O]?.url;return(f,I)=>V(p,h,u,l)(f,C||I)},async getNotebook(e,r,a,t,o){const s=await n.getNotebook(e,r,a,t,o),c=l?.serverIndex??0,i=g["NotebooksApi.getNotebook"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async listNotebooks(e,r,a,t){const o=await n.listNotebooks(e,r,a,t),s=l?.serverIndex??0,c=g["NotebooksApi.listNotebooks"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)}}},ia=function(l,n,e){const r=B(l);return{executeNotebookCell(a,t,o,s,c,i,d,p,O){return r.executeNotebookCell(a,t,o,s,c,i,d,p,O).then(C=>C(e,n))},getNotebook(a,t,o,s,c){return r.getNotebook(a,t,o,s,c).then(i=>i(e,n))},listNotebooks(a,t,o,s){return r.listNotebooks(a,t,o,s).then(c=>c(e,n))}}};class ie extends x{executeNotebookCell(n,e,r,a,t,o,s,c,i){return B(this.configuration).executeNotebookCell(n,e,r,a,t,o,s,c,i).then(d=>d(this.axios,this.basePath))}getNotebook(n,e,r,a,t){return B(this.configuration).getNotebook(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listNotebooks(n,e,r,a){return B(this.configuration).listNotebooks(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const da={True:"true",False:"false"},de=function(l){return{createPackage:async(n,e,r={})=>{m("createPackage","environmentName",n),m("createPackage","_package",e);const a="/environments/{environmentName}/packages".replace("{environmentName}",encodeURIComponent(String(n))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"POST",...o,...r},c={},i={};c["Content-Type"]="application/json",b(t,i);let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},s.data=k(e,s,l),{url:v(t),options:s}},deletePackage:async(n,e,r={})=>{m("deletePackage","environmentName",n),m("deletePackage","packageName",e);const a="/environments/{environmentName}/packages/{packageName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"DELETE",...o,...r},c={};b(t,{});let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}},getPackage:async(n,e,r,a,t={})=>{m("getPackage","environmentName",n),m("getPackage","packageName",e);const o="/environments/{environmentName}/packages/{packageName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},d={},p={};r!==void 0&&(p.versionId=r),a!==void 0&&(p.reload=a),b(s,p);let O=c&&c.headers?c.headers:{};return i.headers={...d,...O,...t.headers},{url:v(s),options:i}},listPackages:async(n,e={})=>{m("listPackages","environmentName",n);const r="/environments/{environmentName}/packages".replace("{environmentName}",encodeURIComponent(String(n))),a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"GET",...t,...e},s={};b(a,{});let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},{url:v(a),options:o}},updatePackage:async(n,e,r,a={})=>{m("updatePackage","environmentName",n),m("updatePackage","packageName",e),m("updatePackage","_package",r);const t="/environments/{environmentName}/packages/{packageName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"PATCH",...s,...a},i={},d={};i["Content-Type"]="application/json",b(o,d);let p=s&&s.headers?s.headers:{};return c.headers={...i,...p,...a.headers},c.data=k(r,c,l),{url:v(o),options:c}}}},N=function(l){const n=de(l);return{async createPackage(e,r,a){const t=await n.createPackage(e,r,a),o=l?.serverIndex??0,s=g["PackagesApi.createPackage"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async deletePackage(e,r,a){const t=await n.deletePackage(e,r,a),o=l?.serverIndex??0,s=g["PackagesApi.deletePackage"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async getPackage(e,r,a,t,o){const s=await n.getPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["PackagesApi.getPackage"]?.[c]?.url;return(d,p)=>V(s,h,u,l)(d,i||p)},async listPackages(e,r){const a=await n.listPackages(e,r),t=l?.serverIndex??0,o=g["PackagesApi.listPackages"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async updatePackage(e,r,a,t){const o=await n.updatePackage(e,r,a,t),s=l?.serverIndex??0,c=g["PackagesApi.updatePackage"]?.[s]?.url;return(i,d)=>V(o,h,u,l)(i,c||d)}}},pa=function(l,n,e){const r=N(l);return{createPackage(a,t,o){return r.createPackage(a,t,o).then(s=>s(e,n))},deletePackage(a,t,o){return r.deletePackage(a,t,o).then(s=>s(e,n))},getPackage(a,t,o,s,c){return r.getPackage(a,t,o,s,c).then(i=>i(e,n))},listPackages(a,t){return r.listPackages(a,t).then(o=>o(e,n))},updatePackage(a,t,o,s){return r.updatePackage(a,t,o,s).then(c=>c(e,n))}}};class pe extends x{createPackage(n,e,r){return N(this.configuration).createPackage(n,e,r).then(a=>a(this.axios,this.basePath))}deletePackage(n,e,r){return N(this.configuration).deletePackage(n,e,r).then(a=>a(this.axios,this.basePath))}getPackage(n,e,r,a,t){return N(this.configuration).getPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listPackages(n,e){return N(this.configuration).listPackages(n,e).then(r=>r(this.axios,this.basePath))}updatePackage(n,e,r,a){return N(this.configuration).updatePackage(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const me=function(l){return{listPages:async(n,e,r={})=>{m("listPages","environmentName",n),m("listPages","packageName",e);const a="/environments/{environmentName}/packages/{packageName}/pages".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}}}},_=function(l){const n=me(l);return{async listPages(e,r,a){const t=await n.listPages(e,r,a),o=l?.serverIndex??0,s=g["PagesApi.listPages"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)}}},ma=function(l,n,e){const r=_(l);return{listPages(a,t,o){return r.listPages(a,t,o).then(s=>s(e,n))}}};class he extends x{listPages(n,e,r){return _(this.configuration).listPages(n,e,r).then(a=>a(this.axios,this.basePath))}}const ue=function(l){return{deleteTheme:async(n={})=>{const e="/theme",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"DELETE",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},getStatus:async(n={})=>{const e="/status",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},getTheme:async(n={})=>{const e="/theme",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},updateTheme:async(n,e={})=>{m("updateTheme","theme",n);const r="/theme",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"PUT",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=k(n,o,l),{url:v(a),options:o}}}},M=function(l){const n=ue(l);return{async deleteTheme(e){const r=await n.deleteTheme(e),a=l?.serverIndex??0,t=g["PublisherApi.deleteTheme"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async getStatus(e){const r=await n.getStatus(e),a=l?.serverIndex??0,t=g["PublisherApi.getStatus"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async getTheme(e){const r=await n.getTheme(e),a=l?.serverIndex??0,t=g["PublisherApi.getTheme"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async updateTheme(e,r){const a=await n.updateTheme(e,r),t=l?.serverIndex??0,o=g["PublisherApi.updateTheme"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)}}},ha=function(l,n,e){const r=M(l);return{deleteTheme(a){return r.deleteTheme(a).then(t=>t(e,n))},getStatus(a){return r.getStatus(a).then(t=>t(e,n))},getTheme(a){return r.getTheme(a).then(t=>t(e,n))},updateTheme(a,t){return r.updateTheme(a,t).then(o=>o(e,n))}}};class ge extends x{deleteTheme(n){return M(this.configuration).deleteTheme(n).then(e=>e(this.axios,this.basePath))}getStatus(n){return M(this.configuration).getStatus(n).then(e=>e(this.axios,this.basePath))}getTheme(n){return M(this.configuration).getTheme(n).then(e=>e(this.axios,this.basePath))}updateTheme(n,e){return M(this.configuration).updateTheme(n,e).then(r=>r(this.axios,this.basePath))}}const Pe=function(l){return{getWatchStatus:async(n={})=>{const e="/watch-mode/status",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},startWatching:async(n,e={})=>{m("startWatching","startWatchRequest",n);const r="/watch-mode/start",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"POST",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=k(n,o,l),{url:v(a),options:o}},stopWatching:async(n={})=>{const e="/watch-mode/stop",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"POST",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},streamPackageEvents:async(n,e,r={})=>{m("streamPackageEvents","environmentName",n),m("streamPackageEvents","packageName",e);const a="/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let d=o&&o.headers?o.headers:{};return s.headers={...c,...d,...r.headers},{url:v(t),options:s}}}},w=function(l){const n=Pe(l);return{async getWatchStatus(e){const r=await n.getWatchStatus(e),a=l?.serverIndex??0,t=g["WatchModeApi.getWatchStatus"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async startWatching(e,r){const a=await n.startWatching(e,r),t=l?.serverIndex??0,o=g["WatchModeApi.startWatching"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async stopWatching(e){const r=await n.stopWatching(e),a=l?.serverIndex??0,t=g["WatchModeApi.stopWatching"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async streamPackageEvents(e,r,a){const t=await n.streamPackageEvents(e,r,a),o=l?.serverIndex??0,s=g["WatchModeApi.streamPackageEvents"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)}}},ua=function(l,n,e){const r=w(l);return{getWatchStatus(a){return r.getWatchStatus(a).then(t=>t(e,n))},startWatching(a,t){return r.startWatching(a,t).then(o=>o(e,n))},stopWatching(a){return r.stopWatching(a).then(t=>t(e,n))},streamPackageEvents(a,t,o){return r.streamPackageEvents(a,t,o).then(s=>s(e,n))}}};class be extends x{getWatchStatus(n){return w(this.configuration).getWatchStatus(n).then(e=>e(this.axios,this.basePath))}startWatching(n,e){return w(this.configuration).startWatching(n,e).then(r=>r(this.axios,this.basePath))}stopWatching(n){return w(this.configuration).stopWatching(n).then(e=>e(this.axios,this.basePath))}streamPackageEvents(n,e,r){return w(this.configuration).streamPackageEvents(n,e,r).then(a=>a(this.axios,this.basePath))}}class ve{apiKey;username;password;accessToken;basePath;serverIndex;baseOptions;formDataCtor;constructor(n={}){this.apiKey=n.apiKey,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.serverIndex=n.serverIndex,this.baseOptions={...n.baseOptions,headers:{...n.baseOptions?.headers}},this.formDataCtor=n.formDataCtor}isJsonMime(n){const e=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return n!==null&&(e.test(n)||n.toLowerCase()==="application/json-patch+json")}}const F={teal:"#14b3cb",orange:"#e47404",darkBlue:"#1474a4"},ga='"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace',Pa=y.styled(y.Card)({display:"flex",flexDirection:"column",height:"100%",boxShadow:"none",border:"none",backgroundColor:"transparent"}),ba=y.styled(y.CardContent)({display:"flex",flexDirection:"column",padding:"0",flexGrow:1}),va=y.styled(y.CardMedia)({padding:"0"}),Va=y.styled("div")(({theme:l})=>({backgroundColor:l.palette.background.default,padding:"0 8px 0px 8px",borderRadius:"12px",boxShadow:"none",border:"none",maxWidth:"1200px",margin:"0 auto"}));y.styled("div")(({theme:l})=>({marginBottom:"40px",paddingBottom:"24px",borderBottom:`1px solid ${l.palette.divider}`}));const Oa=y.styled("div")({marginBottom:"48px",padding:"0",backgroundColor:"transparent",border:"none",boxShadow:"none"}),ya=y.styled("div")({marginBottom:"0",padding:"0",backgroundColor:"transparent",border:"none",boxShadow:"none"}),Sa=y.styled("div")({backgroundColor:"transparent",paddingTop:"12px",paddingBottom:"2px",borderRadius:"8px",border:"none",boxShadow:"none",marginBottom:"0"});y.styled("div")(({theme:l})=>({backgroundColor:l.palette.mode==="dark"?"#1e293b":"#f8f9fa",padding:"16px",borderRadius:"8px",border:`1px solid ${l.palette.divider}`,fontFamily:"'Monaco', 'Menlo', 'Ubuntu Mono', monospace",fontSize:"13px",lineHeight:"1.5",overflowX:"auto",color:l.palette.text.primary}));y.styled("div")(({theme:l})=>({backgroundColor:l.palette.mode==="dark"?"#1e293b":"#f8f9fa",padding:"12px 16px",borderRadius:"8px",border:`1px solid ${l.palette.divider}`,marginBottom:"16px",display:"flex",justifyContent:"space-between",alignItems:"center"}));const ka=y.styled("div")({height:"100%"});y.styled("div")({height:"30px",backgroundColor:"rgba(225, 240, 255, 1)",display:"flex",padding:"4px",alignItems:"center"});const Ca=y.styled("div")({height:"75vh",width:"100%",overflowY:"auto"});y.styled("div")({position:"relative",height:"100%",flex:"0 0 auto"});const Aa=y.styled(y.Card)(({theme:l})=>({backgroundColor:l.palette.background.paper,padding:"24px",borderRadius:"8px",border:`1px solid ${l.palette.divider}`,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.04)",height:"100%",transition:"box-shadow 0.2s ease-in-out","&:hover":{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)"}})),xa=y.styled(y.CardContent)({padding:"0","&:last-child":{paddingBottom:"0"}}),Ia=y.styled("div")(({theme:l})=>({fontSize:"0.875rem",fontWeight:500,color:l.palette.text.secondary,marginBottom:"16px",paddingBottom:"8px",borderBottom:`1px solid ${l.palette.divider}`}));y.styled("div")({padding:"32px",maxWidth:"1400px",margin:"0 auto",minHeight:"100vh"});const Ra=[F.teal,F.orange,F.darkBlue,"#66cedc","#ec72b8","#f9c85b","#aacd85","#b87ced"],Ta="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",L={defaultMode:"light",allowUserToggle:!0,palette:{series:Ra,background:{light:"#ffffff",dark:"#1e293b"},tableHeader:{light:"#5d626b",dark:"#cbd5e1"},tableHeaderBackground:{light:"#f5fafc",dark:"#1e293b"},tableBody:{light:"#727883",dark:"#e2e8f0"},tile:{light:"#f5fafc",dark:"#0f172a"},tileTitle:{light:"#5d626b",dark:"#94a3b8"},mapColor:{light:F.teal,dark:F.teal}},font:{family:Ta,size:12}},Ve=["background","tableHeader","tableHeaderBackground","tableBody","tile","tileTitle","mapColor"];function G(l,n){const e=L.palette??{},r=L.font??{family:"sans-serif",size:12};let a=[...e.series??[]],t=r.family??"sans-serif",o=r.size??12;const s={background:{...e.background??{}},tableHeader:{...e.tableHeader??{}},tableHeaderBackground:{...e.tableHeaderBackground??{}},tableBody:{...e.tableBody??{}},tile:{...e.tile??{}},tileTitle:{...e.tileTitle??{}},mapColor:{...e.mapColor??{}}};for(const p of l)if(p){Array.isArray(p.palette?.series)&&(a=[...p.palette.series]);for(const O of Ve){const C=p.palette?.[O];C&&(s[O]={...s[O],...C})}typeof p.font?.family=="string"&&(t=p.font.family),typeof p.font?.size=="number"&&(o=p.font.size)}const c=n==="dark",i=p=>s[p][n]??e[p]?.[n],d=i("background");return{mode:n,series:a,font:{family:t,size:o},background:d,tableHeader:i("tableHeader"),tableHeaderBackground:i("tableHeaderBackground"),tableBody:i("tableBody"),tile:i("tile"),tileTitle:i("tileTitle"),mapColor:i("mapColor"),tableBackground:d,border:c?"1px solid #334155":"1px solid #e5e7eb",pinnedBorder:c?"1px solid #475569":"1px solid #daedf3",valueColor:c?"#f1f5f9":"#1f2937",foreground:c?"#e2e8f0":"#1f2937",axisFaint:c?"#475569":"#d1d5db",dashboardRoot:c?"#1e293b":"#ffffff"}}function Oe(l,n,e){const r=n??l??"light";return r==="auto"?e?"dark":"light":r}const ye=A.createContext(void 0);function Se({layers:l,mode:n,userChoice:e,setMode:r,allowUserToggle:a=!0,children:t}){const o=A.useMemo(()=>G(l,n),[l,n]),s=A.useMemo(()=>({theme:o,layers:l,mode:n,userChoice:e,setMode:r,allowUserToggle:a}),[o,l,n,e,r,a]);return Q.jsx(ye.Provider,{value:s,children:t})}function Na(){const l=A.useContext(ye);return l||{theme:G([],"light"),layers:[],mode:"light",userChoice:void 0,setMode:()=>{},allowUserToggle:!1}}const ke=new H.QueryClient({defaultOptions:{queries:{retry:!1,throwOnError:!1},mutations:{retry:!1,throwOnError:!1}}}),Ea={staleTime:300*1e3,refetchOnWindowFocus:!1,refetchOnReconnect:!1},j="publisher:themeMode";function Ua(){if(!(typeof window>"u"))try{const l=window.localStorage.getItem(j);if(l==="light"||l==="dark"||l==="auto")return l}catch{}}function Ma(l){if(!(typeof window>"u"))try{l===void 0?window.localStorage.removeItem(j):window.localStorage.setItem(j,l)}catch{}}function wa(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-color-scheme: dark)").matches}h.defaults.baseURL||(h.defaults.baseURL="IfYouAreSeeingThis_baseURL_IsNotSet");const Ce=A.createContext(void 0),Fa=(l,n)=>{const e=`${window.location.protocol}//${window.location.host}/api/v0`,r=h.create({baseURL:l||e,withCredentials:!0,timeout:6e5});r.interceptors.request.use(async t=>{const o=await n?.();return t.headers.Authorization=o||"",t});const a=new ve({basePath:e});return{models:new le(a,e,r),publisher:new ge(a,e,r),environments:new ne(a,e,r),packages:new pe(a,e,r),pages:new he(a,e,r),notebooks:new ie(a,e,r),connections:new X(a,e,r),databases:new ae(a,e,r),materializations:new oe(a,e,r),watchMode:new be(a,e,r)}},fa=l=>Q.jsx(H.QueryClientProvider,{client:ke,children:Q.jsx(Ba,{...l})}),Ba=({children:l,getAccessToken:n,baseURL:e,mutable:r,theme:a})=>{const t=A.useMemo(()=>Fa(e,n),[e,n]),o=e||`${window.location.protocol}//${window.location.host}/api/v0`,s=H.useQuery({queryKey:["status"],queryFn:async()=>(await t.publisher.getStatus()).data});s.error&&console.error("Failed to fetch publisher status:",s.error);const c=s.data?.frozenConfig,i=s.data?.theme,d=s.isLoading;let p;s.isLoading||s.error?p=r:c?p=!1:p=r??!0;const O=A.useMemo(()=>[i,a],[i,a]),[C,f]=A.useState(Ua),[I,z]=A.useState(wa);A.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const E=window.matchMedia("(prefers-color-scheme: dark)"),K=Re=>z(Re.matches);return E.addEventListener("change",K),()=>E.removeEventListener("change",K)},[]);const Ae=A.useCallback(E=>{f(E),Ma(E)},[]),Y=i?.allowUserToggle??!0,$=Y?C:void 0,xe=A.useMemo(()=>Oe(i?.defaultMode,$,I),[i?.defaultMode,$,I]),Ie={server:o,getAccessToken:n,apiClients:t,mutable:p,isLoadingStatus:d,instanceTheme:i};return Q.jsx(Ce.Provider,{value:Ie,children:Q.jsx(Se,{layers:O,mode:xe,userChoice:$,setMode:Ae,allowUserToggle:Y,children:l})})},Qa=()=>{const l=A.useContext(Ce);if(l===void 0)throw new Error("useServer must be used within a ServerProvider");return l};exports.AttachedDatabaseTypeEnum=Ne;exports.AzureConnectionAuthTypeEnum=Ee;exports.CHART_RESULT_QUERY_OPTIONS=Ea;exports.CleanMetricCard=Sa;exports.CleanNotebookCell=ya;exports.CleanNotebookContainer=Va;exports.CleanNotebookSection=Oa;exports.CompileProblemSeverityEnum=Ue;exports.CompileResultStatusEnum=Me;exports.Configuration=ve;exports.ConnectionProxyTypeEnum=Fe;exports.ConnectionStatusStatusEnum=fe;exports.ConnectionTypeEnum=we;exports.ConnectionsApi=X;exports.ConnectionsApiAxiosParamCreator=J;exports.ConnectionsApiFactory=aa;exports.ConnectionsApiFp=S;exports.ConnectionsTestApi=na;exports.ConnectionsTestApiAxiosParamCreator=Z;exports.ConnectionsTestApiFactory=ta;exports.ConnectionsTestApiFp=D;exports.DEFAULT_THEME=L;exports.DatabaseTypeEnum=Be;exports.DatabasesApi=ae;exports.DatabasesApiAxiosParamCreator=ee;exports.DatabasesApiFactory=ra;exports.DatabasesApiFp=W;exports.EnvironmentsApi=ne;exports.EnvironmentsApiAxiosParamCreator=te;exports.EnvironmentsApiFactory=oa;exports.EnvironmentsApiFp=T;exports.ExecuteNotebookCellBypassFiltersEnum=da;exports.FilterTypeEnum=Qe;exports.FreshnessFallbackEnum=ze;exports.LogMessageSeverityEnum=$e;exports.MALLOY_BRAND=F;exports.MONO_FONT_FAMILY=ga;exports.ManifestEntryFreshnessFallbackEnum=qe;exports.MaterializationActionActionEnum=la;exports.MaterializationStatus=Le;exports.MaterializationsApi=oe;exports.MaterializationsApiAxiosParamCreator=re;exports.MaterializationsApiFactory=sa;exports.MaterializationsApiFp=R;exports.ModelsApi=le;exports.ModelsApiAxiosParamCreator=se;exports.ModelsApiFactory=ca;exports.ModelsApiFp=U;exports.NotebookCellResultTypeEnum=He;exports.NotebookCellTypeEnum=je;exports.NotebooksApi=ie;exports.NotebooksApiAxiosParamCreator=ce;exports.NotebooksApiFactory=ia;exports.NotebooksApiFp=B;exports.PER_MODE_COLOR_KEYS=Ve;exports.PackageCard=Aa;exports.PackageCardContent=xa;exports.PackageManifestBindingStatusEnum=_e;exports.PackageQueryableSourcesEnum=We;exports.PackageScopeEnum=De;exports.PackageSectionTitle=Ia;exports.PackageWarningsInnerSeverityEnum=Ge;exports.PackagesApi=pe;exports.PackagesApiAxiosParamCreator=de;exports.PackagesApiFactory=pa;exports.PackagesApiFp=N;exports.PageFitEnum=Ye;exports.PagesApi=he;exports.PagesApiAxiosParamCreator=me;exports.PagesApiFactory=ma;exports.PagesApiFp=_;exports.PostgresConnectionSslmodeEnum=Ke;exports.PublisherApi=ge;exports.PublisherApiAxiosParamCreator=ue;exports.PublisherApiFactory=ha;exports.PublisherApiFp=M;exports.QueryResultQueryRowLimitSourceEnum=Je;exports.Realization=Xe;exports.ServerProvider=fa;exports.ServerStatusOperationalStateEnum=Ze;exports.StyledCard=Pa;exports.StyledCardContent=ba;exports.StyledCardMedia=va;exports.StyledExplorerContent=Ca;exports.StyledExplorerPage=ka;exports.ThemeDefaultModeEnum=ea;exports.ThemeProvider=Se;exports.WatchModeApi=be;exports.WatchModeApiAxiosParamCreator=Pe;exports.WatchModeApiFactory=ua;exports.WatchModeApiFp=w;exports.globalQueryClient=ke;exports.resolveMode=Oe;exports.resolveTheme=G;exports.usePublisherTheme=Na;exports.useServer=Qa;
|