sanity 3.74.2-corel.18 → 3.74.2-coreui.20
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/lib/_chunks-cjs/runtime.js +8 -4
- package/lib/_chunks-cjs/runtime.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/lib/_legacy/version.esm.js +1 -1
- package/package.json +10 -11
- package/src/_internal/cli/server/renderDocument.tsx +12 -0
- package/src/_internal/cli/server/runtime.ts +13 -10
- package/src/_internal/cli/server/vite/plugin-sanity-build-entries.ts +14 -12
- package/dist/BroadcastDisplayedDocument-BHYI8o6u.mjs +0 -19
- package/dist/BroadcastDisplayedDocument-BHYI8o6u.mjs.map +0 -1
- package/dist/DisplayedDocumentBroadcaster-DfHPxc7C.mjs +0 -58
- package/dist/DisplayedDocumentBroadcaster-DfHPxc7C.mjs.map +0 -1
- package/dist/LiveQueries-sYvgBCKh.mjs +0 -267
- package/dist/LiveQueries-sYvgBCKh.mjs.map +0 -1
- package/dist/LoaderQueries-AQneabiG.mjs +0 -581
- package/dist/LoaderQueries-AQneabiG.mjs.map +0 -1
- package/dist/Observable-wwWYwtkh.mjs +0 -551
- package/dist/Observable-wwWYwtkh.mjs.map +0 -1
- package/dist/PostMessageDocuments-DLMdHDk6.mjs +0 -75
- package/dist/PostMessageDocuments-DLMdHDk6.mjs.map +0 -1
- package/dist/PostMessageFeatures-CazMQz3f.mjs +0 -21
- package/dist/PostMessageFeatures-CazMQz3f.mjs.map +0 -1
- package/dist/PostMessagePerspective-m4uZ6sI5.mjs +0 -23
- package/dist/PostMessagePerspective-m4uZ6sI5.mjs.map +0 -1
- package/dist/PostMessagePreviewSnapshots-Dr7CEAiM.mjs +0 -66
- package/dist/PostMessagePreviewSnapshots-Dr7CEAiM.mjs.map +0 -1
- package/dist/PostMessageRefreshMutations-CWb9UqSy.mjs +0 -66
- package/dist/PostMessageRefreshMutations-CWb9UqSy.mjs.map +0 -1
- package/dist/PostMessageSchema-BVFyZOH1.mjs +0 -514
- package/dist/PostMessageSchema-BVFyZOH1.mjs.map +0 -1
- package/dist/PostMessageTelemetry-CSluBvcC.mjs +0 -51
- package/dist/PostMessageTelemetry-CSluBvcC.mjs.map +0 -1
- package/dist/PresentationToolGrantsCheck-4zo266wj.mjs +0 -3919
- package/dist/PresentationToolGrantsCheck-4zo266wj.mjs.map +0 -1
- package/dist/QRCodeSVG-D6VfGEbM.mjs +0 -648
- package/dist/QRCodeSVG-D6VfGEbM.mjs.map +0 -1
- package/dist/SourceContext-T8zcpOpp.mjs +0 -33
- package/dist/SourceContext-T8zcpOpp.mjs.map +0 -1
- package/dist/StructureToolProvider-BMLps71e.mjs +0 -13815
- package/dist/StructureToolProvider-BMLps71e.mjs.map +0 -1
- package/dist/Subject-DP0DoUP_.mjs +0 -108
- package/dist/Subject-DP0DoUP_.mjs.map +0 -1
- package/dist/ViteDevServerStopped-DdibXNvO.mjs +0 -44
- package/dist/ViteDevServerStopped-DdibXNvO.mjs.map +0 -1
- package/dist/_createContext.mjs +0 -36
- package/dist/_createContext.mjs.map +0 -1
- package/dist/_singletons.mjs +0 -195
- package/dist/_singletons.mjs.map +0 -1
- package/dist/browser-BzDH2pyp.mjs +0 -455
- package/dist/browser-BzDH2pyp.mjs.map +0 -1
- package/dist/browser-DWCoWoiH.mjs +0 -3988
- package/dist/browser-DWCoWoiH.mjs.map +0 -1
- package/dist/debounceTime-BeoKrERE.mjs +0 -130
- package/dist/debounceTime-BeoKrERE.mjs.map +0 -1
- package/dist/desk.mjs +0 -52
- package/dist/desk.mjs.map +0 -1
- package/dist/first-Di4GZDIY.mjs +0 -42
- package/dist/first-Di4GZDIY.mjs.map +0 -1
- package/dist/get-psIoeD-z.mjs +0 -327
- package/dist/get-psIoeD-z.mjs.map +0 -1
- package/dist/hooks-4sgcd521.mjs +0 -90
- package/dist/hooks-4sgcd521.mjs.map +0 -1
- package/dist/index-9PJcXUTv.mjs +0 -87
- package/dist/index-9PJcXUTv.mjs.map +0 -1
- package/dist/index-ByFK-IwD.mjs +0 -528
- package/dist/index-ByFK-IwD.mjs.map +0 -1
- package/dist/index-C2OAo3To.mjs +0 -7079
- package/dist/index-C2OAo3To.mjs.map +0 -1
- package/dist/index-C3OvVLVP.mjs +0 -4636
- package/dist/index-C3OvVLVP.mjs.map +0 -1
- package/dist/index-DBPVDKJN.mjs +0 -1198
- package/dist/index-DBPVDKJN.mjs.map +0 -1
- package/dist/index-DkvUNBNf.mjs +0 -73
- package/dist/index-DkvUNBNf.mjs.map +0 -1
- package/dist/index-Sp9w8lMg.mjs +0 -118
- package/dist/index-Sp9w8lMg.mjs.map +0 -1
- package/dist/index.browser-BxT2qp9y.mjs +0 -104
- package/dist/index.browser-BxT2qp9y.mjs.map +0 -1
- package/dist/index.mjs +0 -129019
- package/dist/index.mjs.map +0 -1
- package/dist/isObservable-ByOheaM8.mjs +0 -8
- package/dist/isObservable-ByOheaM8.mjs.map +0 -1
- package/dist/never-ChKjLemk.mjs +0 -6
- package/dist/never-ChKjLemk.mjs.map +0 -1
- package/dist/pane-C4tskUPg.mjs +0 -5
- package/dist/pane-C4tskUPg.mjs.map +0 -1
- package/dist/pane-Dhx8FvsK.mjs +0 -5
- package/dist/pane-Dhx8FvsK.mjs.map +0 -1
- package/dist/presentation-CSS9GR9X.mjs +0 -984
- package/dist/presentation-CSS9GR9X.mjs.map +0 -1
- package/dist/presentation.mjs +0 -14
- package/dist/presentation.mjs.map +0 -1
- package/dist/resources-4cbq8YlR.mjs +0 -124
- package/dist/resources-4cbq8YlR.mjs.map +0 -1
- package/dist/resources-BVETz6Ur.mjs +0 -57
- package/dist/resources-BVETz6Ur.mjs.map +0 -1
- package/dist/resources-D4AaU75F.mjs +0 -434
- package/dist/resources-D4AaU75F.mjs.map +0 -1
- package/dist/resources-Dc-6ZcPg.mjs +0 -157
- package/dist/resources-Dc-6ZcPg.mjs.map +0 -1
- package/dist/resources-DgU0prBM.mjs +0 -179
- package/dist/resources-DgU0prBM.mjs.map +0 -1
- package/dist/resources-MD8RsYhH.mjs +0 -288
- package/dist/resources-MD8RsYhH.mjs.map +0 -1
- package/dist/router.mjs +0 -689
- package/dist/router.mjs.map +0 -1
- package/dist/share-bcOpIdQz.mjs +0 -71
- package/dist/share-bcOpIdQz.mjs.map +0 -1
- package/dist/shareReplay-Dj1O6fKV.mjs +0 -43
- package/dist/shareReplay-Dj1O6fKV.mjs.map +0 -1
- package/dist/stegaEncodeSourceMap-DXdUZQye.mjs +0 -342
- package/dist/stegaEncodeSourceMap-DXdUZQye.mjs.map +0 -1
- package/dist/structure.mjs +0 -56
- package/dist/structure.mjs.map +0 -1
- package/dist/takeUntil-CgZP1bze.mjs +0 -111
- package/dist/takeUntil-CgZP1bze.mjs.map +0 -1
- package/dist/v4-C78sE4Gb.mjs +0 -27082
- package/dist/v4-C78sE4Gb.mjs.map +0 -1
- package/dist/version-D7UZEoYI.mjs +0 -5
- package/dist/version-D7UZEoYI.mjs.map +0 -1
@@ -1,130 +0,0 @@
|
|
1
|
-
import { _ as a, S as p, g as y, h as A, a as m } from "./Observable-wwWYwtkh.mjs";
|
2
|
-
import { d as w } from "./share-bcOpIdQz.mjs";
|
3
|
-
import { l as g, n as I } from "./v4-C78sE4Gb.mjs";
|
4
|
-
var b = function(r) {
|
5
|
-
a(i, r);
|
6
|
-
function i(n, t) {
|
7
|
-
return r.call(this) || this;
|
8
|
-
}
|
9
|
-
return i.prototype.schedule = function(n, t) {
|
10
|
-
return this;
|
11
|
-
}, i;
|
12
|
-
}(p), h = {
|
13
|
-
setInterval: function(r, i) {
|
14
|
-
for (var n = [], t = 2; t < arguments.length; t++)
|
15
|
-
n[t - 2] = arguments[t];
|
16
|
-
return setInterval.apply(void 0, y([r, i], A(n)));
|
17
|
-
},
|
18
|
-
clearInterval: function(r) {
|
19
|
-
return clearInterval(r);
|
20
|
-
},
|
21
|
-
delegate: void 0
|
22
|
-
}, _ = function(r) {
|
23
|
-
a(i, r);
|
24
|
-
function i(n, t) {
|
25
|
-
var e = r.call(this, n, t) || this;
|
26
|
-
return e.scheduler = n, e.work = t, e.pending = !1, e;
|
27
|
-
}
|
28
|
-
return i.prototype.schedule = function(n, t) {
|
29
|
-
var e;
|
30
|
-
if (t === void 0 && (t = 0), this.closed)
|
31
|
-
return this;
|
32
|
-
this.state = n;
|
33
|
-
var s = this.id, u = this.scheduler;
|
34
|
-
return s != null && (this.id = this.recycleAsyncId(u, s, t)), this.pending = !0, this.delay = t, this.id = (e = this.id) !== null && e !== void 0 ? e : this.requestAsyncId(u, this.id, t), this;
|
35
|
-
}, i.prototype.requestAsyncId = function(n, t, e) {
|
36
|
-
return e === void 0 && (e = 0), h.setInterval(n.flush.bind(n, this), e);
|
37
|
-
}, i.prototype.recycleAsyncId = function(n, t, e) {
|
38
|
-
if (e === void 0 && (e = 0), e != null && this.delay === e && this.pending === !1)
|
39
|
-
return t;
|
40
|
-
t != null && h.clearInterval(t);
|
41
|
-
}, i.prototype.execute = function(n, t) {
|
42
|
-
if (this.closed)
|
43
|
-
return new Error("executing a cancelled action");
|
44
|
-
this.pending = !1;
|
45
|
-
var e = this._execute(n, t);
|
46
|
-
if (e)
|
47
|
-
return e;
|
48
|
-
this.pending === !1 && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null));
|
49
|
-
}, i.prototype._execute = function(n, t) {
|
50
|
-
var e = !1, s;
|
51
|
-
try {
|
52
|
-
this.work(n);
|
53
|
-
} catch (u) {
|
54
|
-
e = !0, s = u || new Error("Scheduled action threw falsy error");
|
55
|
-
}
|
56
|
-
if (e)
|
57
|
-
return this.unsubscribe(), s;
|
58
|
-
}, i.prototype.unsubscribe = function() {
|
59
|
-
if (!this.closed) {
|
60
|
-
var n = this, t = n.id, e = n.scheduler, s = e.actions;
|
61
|
-
this.work = this.state = this.scheduler = null, this.pending = !1, m(s, this), t != null && (this.id = this.recycleAsyncId(e, t, null)), this.delay = null, r.prototype.unsubscribe.call(this);
|
62
|
-
}
|
63
|
-
}, i;
|
64
|
-
}(b), d = function() {
|
65
|
-
function r(i, n) {
|
66
|
-
n === void 0 && (n = r.now), this.schedulerActionCtor = i, this.now = n;
|
67
|
-
}
|
68
|
-
return r.prototype.schedule = function(i, n, t) {
|
69
|
-
return n === void 0 && (n = 0), new this.schedulerActionCtor(this, i).schedule(t, n);
|
70
|
-
}, r.now = w.now, r;
|
71
|
-
}(), S = function(r) {
|
72
|
-
a(i, r);
|
73
|
-
function i(n, t) {
|
74
|
-
t === void 0 && (t = d.now);
|
75
|
-
var e = r.call(this, n, t) || this;
|
76
|
-
return e.actions = [], e._active = !1, e;
|
77
|
-
}
|
78
|
-
return i.prototype.flush = function(n) {
|
79
|
-
var t = this.actions;
|
80
|
-
if (this._active) {
|
81
|
-
t.push(n);
|
82
|
-
return;
|
83
|
-
}
|
84
|
-
var e;
|
85
|
-
this._active = !0;
|
86
|
-
do
|
87
|
-
if (e = n.execute(n.state, n.delay))
|
88
|
-
break;
|
89
|
-
while (n = t.shift());
|
90
|
-
if (this._active = !1, e) {
|
91
|
-
for (; n = t.shift(); )
|
92
|
-
n.unsubscribe();
|
93
|
-
throw e;
|
94
|
-
}
|
95
|
-
}, i;
|
96
|
-
}(d), f = new S(_), q = f;
|
97
|
-
function C(r, i) {
|
98
|
-
return i === void 0 && (i = f), g(function(n, t) {
|
99
|
-
var e = null, s = null, u = null, l = function() {
|
100
|
-
if (e) {
|
101
|
-
e.unsubscribe(), e = null;
|
102
|
-
var c = s;
|
103
|
-
s = null, t.next(c);
|
104
|
-
}
|
105
|
-
};
|
106
|
-
function v() {
|
107
|
-
var c = u + r, o = i.now();
|
108
|
-
if (o < c) {
|
109
|
-
e = this.schedule(void 0, c - o), t.add(e);
|
110
|
-
return;
|
111
|
-
}
|
112
|
-
l();
|
113
|
-
}
|
114
|
-
n.subscribe(I(t, function(c) {
|
115
|
-
s = c, u = i.now(), e || (e = i.schedule(v, r), t.add(e));
|
116
|
-
}, function() {
|
117
|
-
l(), t.complete();
|
118
|
-
}, void 0, function() {
|
119
|
-
s = e = null;
|
120
|
-
}));
|
121
|
-
});
|
122
|
-
}
|
123
|
-
export {
|
124
|
-
_ as A,
|
125
|
-
S as a,
|
126
|
-
q as b,
|
127
|
-
f as c,
|
128
|
-
C as d
|
129
|
-
};
|
130
|
-
//# sourceMappingURL=debounceTime-BeoKrERE.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"debounceTime-BeoKrERE.mjs","sources":["../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Scheduler.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/async.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { Subscription } from '../Subscription';\nvar Action = (function (_super) {\n __extends(Action, _super);\n function Action(scheduler, work) {\n return _super.call(this) || this;\n }\n Action.prototype.schedule = function (state, delay) {\n if (delay === void 0) { delay = 0; }\n return this;\n };\n return Action;\n}(Subscription));\nexport { Action };\n//# sourceMappingURL=Action.js.map","import { __read, __spreadArray } from \"tslib\";\nexport var intervalProvider = {\n setInterval: function (handler, timeout) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var delegate = intervalProvider.delegate;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval.apply(delegate, __spreadArray([handler, timeout], __read(args)));\n }\n return setInterval.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n },\n clearInterval: function (handle) {\n var delegate = intervalProvider.delegate;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=intervalProvider.js.map","import { __extends } from \"tslib\";\nimport { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nvar AsyncAction = (function (_super) {\n __extends(AsyncAction, _super);\n function AsyncAction(scheduler, work) {\n var _this = _super.call(this, scheduler, work) || this;\n _this.scheduler = scheduler;\n _this.work = work;\n _this.pending = false;\n return _this;\n }\n AsyncAction.prototype.schedule = function (state, delay) {\n var _a;\n if (delay === void 0) { delay = 0; }\n if (this.closed) {\n return this;\n }\n this.state = state;\n var id = this.id;\n var scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n };\n AsyncAction.prototype.requestAsyncId = function (scheduler, _id, delay) {\n if (delay === void 0) { delay = 0; }\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n };\n AsyncAction.prototype.recycleAsyncId = function (_scheduler, id, delay) {\n if (delay === void 0) { delay = 0; }\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n };\n AsyncAction.prototype.execute = function (state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n var error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n };\n AsyncAction.prototype._execute = function (state, _delay) {\n var errored = false;\n var errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n };\n AsyncAction.prototype.unsubscribe = function () {\n if (!this.closed) {\n var _a = this, id = _a.id, scheduler = _a.scheduler;\n var actions = scheduler.actions;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n _super.prototype.unsubscribe.call(this);\n }\n };\n return AsyncAction;\n}(Action));\nexport { AsyncAction };\n//# sourceMappingURL=AsyncAction.js.map","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nvar Scheduler = (function () {\n function Scheduler(schedulerActionCtor, now) {\n if (now === void 0) { now = Scheduler.now; }\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n Scheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) { delay = 0; }\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n };\n Scheduler.now = dateTimestampProvider.now;\n return Scheduler;\n}());\nexport { Scheduler };\n//# sourceMappingURL=Scheduler.js.map","import { __extends } from \"tslib\";\nimport { Scheduler } from '../Scheduler';\nvar AsyncScheduler = (function (_super) {\n __extends(AsyncScheduler, _super);\n function AsyncScheduler(SchedulerAction, now) {\n if (now === void 0) { now = Scheduler.now; }\n var _this = _super.call(this, SchedulerAction, now) || this;\n _this.actions = [];\n _this._active = false;\n return _this;\n }\n AsyncScheduler.prototype.flush = function (action) {\n var actions = this.actions;\n if (this._active) {\n actions.push(action);\n return;\n }\n var error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AsyncScheduler;\n}(Scheduler));\nexport { AsyncScheduler };\n//# sourceMappingURL=AsyncScheduler.js.map","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport var asyncScheduler = new AsyncScheduler(AsyncAction);\nexport var async = asyncScheduler;\n//# sourceMappingURL=async.js.map","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler) {\n if (scheduler === void 0) { scheduler = asyncScheduler; }\n return operate(function (source, subscriber) {\n var activeTask = null;\n var lastValue = null;\n var lastTime = null;\n var emit = function () {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n var value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n var targetTime = lastTime + dueTime;\n var now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, function () {\n emit();\n subscriber.complete();\n }, undefined, function () {\n lastValue = activeTask = null;\n }));\n });\n}\n//# sourceMappingURL=debounceTime.js.map"],"names":["Action","_super","__extends","scheduler","work","state","delay","Subscription","intervalProvider","handler","timeout","args","_i","__spreadArray","__read","handle","AsyncAction","_this","_a","id","_id","_scheduler","error","_delay","errored","errorValue","e","actions","arrRemove","Scheduler","schedulerActionCtor","now","dateTimestampProvider","AsyncScheduler","SchedulerAction","action","asyncScheduler","async","debounceTime","dueTime","operate","source","subscriber","activeTask","lastValue","lastTime","emit","value","emitWhenIdle","targetTime","createOperatorSubscriber"],"mappings":"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","x_google_ignoreList":[0,1,2,3,4,5,6]}
|
package/dist/desk.mjs
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
import { i as e, Q as t, C as n, y as o, W as s, k as a, D as r, n as i, p as u, h as c, d as m, c as l, r as d, R as I, G as $, T as p, K as D, I as B, L as T, A as L, M as V, J as P, b as y, S as F, O as S, j as E, v as g, z as C, V as M, l as h, m as w, N as z, E as N, F as f, o as b, q as G, w as k, B as H, H as R, U as _, x as v, t as A, s as O, X as U, g as W, f as x, u as j } from "./StructureToolProvider-BMLps71e.mjs";
|
2
|
-
const J = e, K = t, Q = n, X = o, Y = s, Z = a, ee = r, te = i, ne = u, oe = c, se = m, ae = l, re = d, ie = I, ue = $, ce = p, me = D, le = B, de = T, Ie = L, $e = V, pe = P, De = y, Be = F, Te = S, Le = E, Ve = g, Pe = C, ye = M, Fe = h, Se = w, Ee = z, ge = N, Ce = f, Me = b, he = G, we = k, ze = H, Ne = R, fe = _, be = v, Ge = A, ke = O, He = U, Re = W, _e = x, ve = j;
|
3
|
-
export {
|
4
|
-
J as ComponentBuilder,
|
5
|
-
K as ComponentViewBuilder,
|
6
|
-
Q as ConfirmDeleteDialog,
|
7
|
-
X as DEFAULT_INTENT_HANDLER,
|
8
|
-
Y as DeskToolProvider,
|
9
|
-
Z as DocumentBuilder,
|
10
|
-
ee as DocumentInspectorHeader,
|
11
|
-
te as DocumentListBuilder,
|
12
|
-
ne as DocumentListItemBuilder,
|
13
|
-
oe as DocumentListPane,
|
14
|
-
se as DocumentPane,
|
15
|
-
ae as DocumentPaneProvider,
|
16
|
-
re as DocumentTypeListBuilder,
|
17
|
-
ie as FormViewBuilder,
|
18
|
-
ue as GenericListBuilder,
|
19
|
-
ce as GenericViewBuilder,
|
20
|
-
me as HELP_URL,
|
21
|
-
le as InitialValueTemplateItemBuilder,
|
22
|
-
de as ListBuilder,
|
23
|
-
Ie as ListItemBuilder,
|
24
|
-
$e as MenuItemBuilder,
|
25
|
-
pe as MenuItemGroupBuilder,
|
26
|
-
De as PaneLayout,
|
27
|
-
Be as SerializeError,
|
28
|
-
Te as component,
|
29
|
-
Le as createStructureBuilder,
|
30
|
-
Ve as defaultInitialValueTemplateItems,
|
31
|
-
Pe as defaultIntentChecker,
|
32
|
-
ye as deskTool,
|
33
|
-
Fe as documentFromEditor,
|
34
|
-
Se as documentFromEditorWithInitialValue,
|
35
|
-
Ee as form,
|
36
|
-
ge as getOrderingMenuItem,
|
37
|
-
Ce as getOrderingMenuItemsForSchemaType,
|
38
|
-
Me as getTypeNamesFromFilter,
|
39
|
-
he as isDocumentListItem,
|
40
|
-
we as maybeSerializeInitialValueTemplateItem,
|
41
|
-
ze as maybeSerializeMenuItem,
|
42
|
-
Ne as maybeSerializeMenuItemGroup,
|
43
|
-
fe as maybeSerializeView,
|
44
|
-
be as menuItemsFromInitialValueTemplateItems,
|
45
|
-
Ge as shallowIntentChecker,
|
46
|
-
ke as structureLocaleNamespace,
|
47
|
-
He as useDeskTool,
|
48
|
-
Re as useDocumentPane,
|
49
|
-
_e as useDocumentTitle,
|
50
|
-
ve as usePaneRouter
|
51
|
-
};
|
52
|
-
//# sourceMappingURL=desk.mjs.map
|
package/dist/desk.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"desk.mjs","sources":["../src/desk/index.ts"],"sourcesContent":["/**\n * This is a _FALLBACK MODULE_ provided for backwards compatibility, and is likely to be removed\n * in Sanity v4.0.0. Please import from `sanity/structure` instead.\n *\n * @deprecated Use `sanity/structure` instead.\n */\nimport {\n type BackLinkProps as _BackLinkProps,\n type BaseGenericList as _BaseGenericList,\n type BaseIntentParams as _BaseIntentParams,\n type BaseView as _BaseView,\n type BuildableComponent as _BuildableComponent,\n type BuildableGenericList as _BuildableGenericList,\n type BuildableList as _BuildableList,\n type Builder as _Builder,\n type Child as _Child,\n type ChildLinkProps as _ChildLinkProps,\n type ChildObservable as _ChildObservable,\n type ChildResolver as _ChildResolver,\n type ChildResolverOptions as _ChildResolverOptions,\n type Collection as _Collection,\n type CollectionBuilder as _CollectionBuilder,\n type Component as _Component,\n component as _component,\n ComponentBuilder as _ComponentBuilder,\n type ComponentInput as _ComponentInput,\n type ComponentView as _ComponentView,\n ComponentViewBuilder as _ComponentViewBuilder,\n ConfirmDeleteDialog as _ConfirmDeleteDialog,\n type ConfirmDeleteDialogProps as _ConfirmDeleteDialogProps,\n createStructureBuilder as _createStructureBuilder,\n type CustomComponentPaneNode as _CustomComponentPaneNode,\n DEFAULT_INTENT_HANDLER as _DEFAULT_INTENT_HANDLER,\n type DefaultDocumentNodeContext as _DefaultDocumentNodeContext,\n type DefaultDocumentNodeResolver as _DefaultDocumentNodeResolver,\n defaultInitialValueTemplateItems as _defaultInitialValueTemplateItems,\n defaultIntentChecker as _defaultIntentChecker,\n type Divider as _Divider,\n DocumentBuilder as _DocumentBuilder,\n type DocumentFieldMenuActionNode as _DocumentFieldMenuActionNode,\n documentFromEditor as _documentFromEditor,\n documentFromEditorWithInitialValue as _documentFromEditorWithInitialValue,\n DocumentInspectorHeader as _DocumentInspectorHeader,\n type DocumentList as _DocumentList,\n DocumentListBuilder as _DocumentListBuilder,\n type DocumentListInput as _DocumentListInput,\n type DocumentListItem as _DocumentListItem,\n DocumentListItemBuilder as _DocumentListItemBuilder,\n type DocumentListItemInput as _DocumentListItemInput,\n type DocumentListOptions as _DocumentListOptions,\n DocumentListPane as _DocumentListPane,\n type DocumentListPaneNode as _DocumentListPaneNode,\n type DocumentListPaneProps as _DocumentListPaneProps,\n type DocumentNode as _DocumentNode,\n type DocumentOptions as _DocumentOptions,\n DocumentPane as _DocumentPane,\n type DocumentPaneNode as _DocumentPaneNode,\n DocumentPaneProvider as _DocumentPaneProvider,\n type DocumentPaneProviderProps as _DocumentPaneProviderProps,\n DocumentTypeListBuilder as _DocumentTypeListBuilder,\n type DocumentTypeListInput as _DocumentTypeListInput,\n type EditorNode as _EditorNode,\n type EditReferenceOptions as _EditReferenceOptions,\n form as _form,\n type FormView as _FormView,\n FormViewBuilder as _FormViewBuilder,\n type GenericList as _GenericList,\n GenericListBuilder as _GenericListBuilder,\n type GenericListInput as _GenericListInput,\n GenericViewBuilder as _GenericViewBuilder,\n getOrderingMenuItem as _getOrderingMenuItem,\n getOrderingMenuItemsForSchemaType as _getOrderingMenuItemsForSchemaType,\n getTypeNamesFromFilter as _getTypeNamesFromFilter,\n HELP_URL as _HELP_URL,\n InitialValueTemplateItemBuilder as _InitialValueTemplateItemBuilder,\n type Intent as _Intent,\n type IntentChecker as _IntentChecker,\n type IntentJsonParams as _IntentJsonParams,\n type IntentParams as _IntentParams,\n isDocumentListItem as _isDocumentListItem,\n type ItemChild as _ItemChild,\n type List as _List,\n ListBuilder as _ListBuilder,\n type ListDisplayOptions as _ListDisplayOptions,\n type ListInput as _ListInput,\n type ListItem as _ListItem,\n ListItemBuilder as _ListItemBuilder,\n type ListItemChild as _ListItemChild,\n type ListItemDisplayOptions as _ListItemDisplayOptions,\n type ListItemInput as _ListItemInput,\n type ListItemSerializeOptions as _ListItemSerializeOptions,\n type ListPaneNode as _ListPaneNode,\n maybeSerializeInitialValueTemplateItem as _maybeSerializeInitialValueTemplateItem,\n maybeSerializeMenuItem as _maybeSerializeMenuItem,\n maybeSerializeMenuItemGroup as _maybeSerializeMenuItemGroup,\n maybeSerializeView as _maybeSerializeView,\n type MenuItem as _MenuItem,\n type MenuItemActionType as _MenuItemActionType,\n MenuItemBuilder as _MenuItemBuilder,\n type MenuItemGroup as _MenuItemGroup,\n MenuItemGroupBuilder as _MenuItemGroupBuilder,\n type MenuItemParamsType as _MenuItemParamsType,\n menuItemsFromInitialValueTemplateItems as _menuItemsFromInitialValueTemplateItems,\n PaneLayout as _PaneLayout,\n type PaneListItem as _PaneListItem,\n type PaneListItemDivider as _PaneListItemDivider,\n type PaneMenuItem as _PaneMenuItem,\n type PaneMenuItemGroup as _PaneMenuItemGroup,\n type PaneNode as _PaneNode,\n type PaneNodeResolver as _PaneNodeResolver,\n type PaneRouterContextValue as _PaneRouterContextValue,\n type ParameterizedLinkProps as _ParameterizedLinkProps,\n type PartialDocumentList as _PartialDocumentList,\n type PartialDocumentListItem as _PartialDocumentListItem,\n type PartialDocumentNode as _PartialDocumentNode,\n type PartialListItem as _PartialListItem,\n type PartialMenuItem as _PartialMenuItem,\n type ReferenceChildLinkProps as _ReferenceChildLinkProps,\n type RouterPaneGroup as _RouterPaneGroup,\n type RouterPanes as _RouterPanes,\n type RouterPaneSibling as _RouterPaneSibling,\n type RouterPaneSiblingContext as _RouterPaneSiblingContext,\n type SerializablePaneNode as _SerializablePaneNode,\n SerializeError as _SerializeError,\n type SerializeOptions as _SerializeOptions,\n type SerializePath as _SerializePath,\n shallowIntentChecker as _shallowIntentChecker,\n type SortMenuItem as _SortMenuItem,\n type StructureBuilder as _StructureBuilder,\n type StructureBuilderOptions as _StructureBuilderOptions,\n type StructureContext as _StructureContext,\n structureLocaleNamespace as _structureLocaleNamespace,\n type StructureLocaleResourceKeys as _StructureLocaleResourceKeys,\n type StructureNode as _StructureNode,\n type StructureResolver as _StructureResolver,\n type StructureResolverContext as _StructureResolverContext,\n structureTool as _structureTool,\n type StructureToolContextValue as _DeskToolContextValue,\n type StructureToolFeatures as _DeskToolFeatures,\n type StructureToolMenuItem as _DeskToolMenuItem,\n type StructureToolOptions as _DeskToolOptions,\n type StructureToolPaneActionHandler as _DeskToolPaneActionHandler,\n StructureToolProvider as _DeskToolProvider,\n type StructureToolProviderProps as _DeskToolProviderProps,\n type UnresolvedPaneNode as _UnresolvedPaneNode,\n type UnserializedListItem as _UnserializedListItem,\n type UnserializedListItemChild as _UnserializedListItemChild,\n useDocumentPane as _useDocumentPane,\n useDocumentTitle as _useDocumentTitle,\n usePaneRouter as _usePaneRouter,\n type UserComponent as _UserComponent,\n type UserViewComponent as _UserViewComponent,\n useStructureTool as _useStructureTool,\n type View as _View,\n type ViewBuilder as _ViewBuilder,\n} from '../structure'\n\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BackLinkProps = _BackLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseGenericList = _BaseGenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseIntentParams = _BaseIntentParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type {BaseResolvedPaneNode} from '../structure'\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseView = _BaseView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableComponent = _BuildableComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableGenericList = _BuildableGenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableList = _BuildableList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Builder = _Builder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Child = _Child\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildLinkProps = _ChildLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildObservable = _ChildObservable\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildResolver = _ChildResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildResolverOptions = _ChildResolverOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Collection = _Collection\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type CollectionBuilder = _CollectionBuilder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Component = _Component\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ComponentInput = _ComponentInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ComponentView = _ComponentView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ConfirmDeleteDialogProps = _ConfirmDeleteDialogProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type CustomComponentPaneNode = _CustomComponentPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DefaultDocumentNodeContext = _DefaultDocumentNodeContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DefaultDocumentNodeResolver = _DefaultDocumentNodeResolver\n/**\n * @deprecated Import `StructureToolContextValue` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolContextValue = _DeskToolContextValue\n/**\n * @deprecated Import `StructureToolFeatures` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolFeatures = _DeskToolFeatures\n/**\n * @deprecated Import `StructureToolMenuItem` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolMenuItem = _DeskToolMenuItem\n/**\n * @deprecated Import `StructureToolOptions` from `sanity/structure` instead\n * @hidden\n * @public\n */\nexport type DeskToolOptions = _DeskToolOptions\n/**\n * @deprecated Import `StructureToolPaneActionHandler` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolPaneActionHandler = _DeskToolPaneActionHandler\n/**\n * @deprecated Import `StructureToolProviderProps` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolProviderProps = _DeskToolProviderProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Divider = _Divider\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentFieldMenuActionNode = _DocumentFieldMenuActionNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentList = _DocumentList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListInput = _DocumentListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListItem = _DocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListItemInput = _DocumentListItemInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListOptions = _DocumentListOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListPaneNode = _DocumentListPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListPaneProps = _DocumentListPaneProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentNode = _DocumentNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentOptions = _DocumentOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentPaneNode = _DocumentPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentPaneProviderProps = _DocumentPaneProviderProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentTypeListInput = _DocumentTypeListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type EditReferenceOptions = _EditReferenceOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type EditorNode = _EditorNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type FormView = _FormView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type GenericList = _GenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type GenericListInput = _GenericListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Intent = _Intent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentChecker = _IntentChecker\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentJsonParams = _IntentJsonParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentParams = _IntentParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ItemChild = _ItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type List = _List\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListDisplayOptions = _ListDisplayOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListInput = _ListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItem = _ListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemChild = _ListItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemDisplayOptions = _ListItemDisplayOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemInput = _ListItemInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemSerializeOptions = _ListItemSerializeOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListPaneNode = _ListPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItem = _MenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemActionType = _MenuItemActionType\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemGroup = _MenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemParamsType = _MenuItemParamsType\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneListItem = _PaneListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneListItemDivider = _PaneListItemDivider\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneMenuItem = _PaneMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneMenuItemGroup = _PaneMenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneNode = _PaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneNodeResolver = _PaneNodeResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneRouterContextValue = _PaneRouterContextValue\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ParameterizedLinkProps = _ParameterizedLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentList = _PartialDocumentList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentListItem = _PartialDocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentNode = _PartialDocumentNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialListItem = _PartialListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialMenuItem = _PartialMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ReferenceChildLinkProps = _ReferenceChildLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneGroup = _RouterPaneGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneSibling = _RouterPaneSibling\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneSiblingContext = _RouterPaneSiblingContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPanes = _RouterPanes\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type {Serializable} from '../structure'\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializablePaneNode = _SerializablePaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializeOptions = _SerializeOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializePath = _SerializePath\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SortMenuItem = _SortMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureBuilder = _StructureBuilder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureBuilderOptions = _StructureBuilderOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureContext = _StructureContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureLocaleResourceKeys = _StructureLocaleResourceKeys\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureNode = _StructureNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureResolver = _StructureResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureResolverContext = _StructureResolverContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnresolvedPaneNode = _UnresolvedPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnserializedListItem = _UnserializedListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnserializedListItemChild = _UnserializedListItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UserComponent = _UserComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UserViewComponent = _UserViewComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type View = _View\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ViewBuilder = _ViewBuilder\n\n/** --------- NON-TYPES FOLLOW --------- */\n\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ComponentBuilder = _ComponentBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ComponentViewBuilder = _ComponentViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ConfirmDeleteDialog = _ConfirmDeleteDialog\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DEFAULT_INTENT_HANDLER = _DEFAULT_INTENT_HANDLER\n/**\n * @deprecated Import `StructureToolProvider` from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DeskToolProvider = _DeskToolProvider\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentBuilder = _DocumentBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentInspectorHeader = _DocumentInspectorHeader\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListBuilder = _DocumentListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListItemBuilder = _DocumentListItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListPane = _DocumentListPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentPane = _DocumentPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentPaneProvider = _DocumentPaneProvider\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentTypeListBuilder = _DocumentTypeListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const FormViewBuilder = _FormViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const GenericListBuilder = _GenericListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const GenericViewBuilder = _GenericViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const HELP_URL = _HELP_URL\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const InitialValueTemplateItemBuilder = _InitialValueTemplateItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ListBuilder = _ListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ListItemBuilder = _ListItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const MenuItemBuilder = _MenuItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const MenuItemGroupBuilder = _MenuItemGroupBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const PaneLayout = _PaneLayout\n\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const SerializeError = _SerializeError\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const component = _component\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const createStructureBuilder = _createStructureBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const defaultInitialValueTemplateItems = _defaultInitialValueTemplateItems\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const defaultIntentChecker = _defaultIntentChecker\n/**\n * @deprecated Import `structureTool` from `sanity/structure` instead!\n * @hidden\n * @public\n */\nexport const deskTool = _structureTool\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const documentFromEditor = _documentFromEditor\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const documentFromEditorWithInitialValue = _documentFromEditorWithInitialValue\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const form = _form\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getOrderingMenuItem = _getOrderingMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getOrderingMenuItemsForSchemaType = _getOrderingMenuItemsForSchemaType\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getTypeNamesFromFilter = _getTypeNamesFromFilter\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const isDocumentListItem = _isDocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeInitialValueTemplateItem = _maybeSerializeInitialValueTemplateItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeMenuItem = _maybeSerializeMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeMenuItemGroup = _maybeSerializeMenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeView = _maybeSerializeView\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const menuItemsFromInitialValueTemplateItems = _menuItemsFromInitialValueTemplateItems\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const shallowIntentChecker = _shallowIntentChecker\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const structureLocaleNamespace = _structureLocaleNamespace\n/**\n * @deprecated Import `useStructureTool` from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDeskTool = _useStructureTool\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDocumentPane = _useDocumentPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDocumentTitle = _useDocumentTitle\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const usePaneRouter = _usePaneRouter\n"],"names":["ComponentBuilder","_ComponentBuilder","ComponentViewBuilder","_ComponentViewBuilder","ConfirmDeleteDialog","_ConfirmDeleteDialog","DEFAULT_INTENT_HANDLER","_DEFAULT_INTENT_HANDLER","DeskToolProvider","_DeskToolProvider","DocumentBuilder","_DocumentBuilder","DocumentInspectorHeader","_DocumentInspectorHeader","DocumentListBuilder","_DocumentListBuilder","DocumentListItemBuilder","_DocumentListItemBuilder","DocumentListPane","_DocumentListPane","DocumentPane","_DocumentPane","DocumentPaneProvider","_DocumentPaneProvider","DocumentTypeListBuilder","_DocumentTypeListBuilder","FormViewBuilder","_FormViewBuilder","GenericListBuilder","_GenericListBuilder","GenericViewBuilder","_GenericViewBuilder","HELP_URL","_HELP_URL","InitialValueTemplateItemBuilder","_InitialValueTemplateItemBuilder","ListBuilder","_ListBuilder","ListItemBuilder","_ListItemBuilder","MenuItemBuilder","_MenuItemBuilder","MenuItemGroupBuilder","_MenuItemGroupBuilder","PaneLayout","_PaneLayout","SerializeError","_SerializeError","component","_component","createStructureBuilder","_createStructureBuilder","defaultInitialValueTemplateItems","_defaultInitialValueTemplateItems","defaultIntentChecker","_defaultIntentChecker","deskTool","_structureTool","documentFromEditor","_documentFromEditor","documentFromEditorWithInitialValue","_documentFromEditorWithInitialValue","form","_form","getOrderingMenuItem","_getOrderingMenuItem","getOrderingMenuItemsForSchemaType","_getOrderingMenuItemsForSchemaType","getTypeNamesFromFilter","_getTypeNamesFromFilter","isDocumentListItem","_isDocumentListItem","maybeSerializeInitialValueTemplateItem","_maybeSerializeInitialValueTemplateItem","maybeSerializeMenuItem","_maybeSerializeMenuItem","maybeSerializeMenuItemGroup","_maybeSerializeMenuItemGroup","maybeSerializeView","_maybeSerializeView","menuItemsFromInitialValueTemplateItems","_menuItemsFromInitialValueTemplateItems","shallowIntentChecker","_shallowIntentChecker","structureLocaleNamespace","_structureLocaleNamespace","useDeskTool","_useStructureTool","useDocumentPane","_useDocumentPane","useDocumentTitle","_useDocumentTitle","usePaneRouter","_usePaneRouter"],"mappings":";AA+wBO,MAAMA,IAAmBC,GAMnBC,IAAuBC,GAMvBC,IAAsBC,GAMtBC,IAAyBC,GAMzBC,IAAmBC,GAMnBC,IAAkBC,GAMlBC,KAA0BC,GAM1BC,KAAsBC,GAMtBC,KAA0BC,GAM1BC,KAAmBC,GAMnBC,KAAeC,GAMfC,KAAuBC,GAMvBC,KAA0BC,GAM1BC,KAAkBC,GAMlBC,KAAqBC,GAMrBC,KAAqBC,GAMrBC,KAAWC,GAMXC,KAAkCC,GAMlCC,KAAcC,GAMdC,KAAkBC,GAMlBC,KAAkBC,GAMlBC,KAAuBC,GAMvBC,KAAaC,GAObC,KAAiBC,GAMjBC,KAAYC,GAMZC,KAAyBC,GAMzBC,KAAmCC,GAMnCC,KAAuBC,GAMvBC,KAAWC,GAMXC,KAAqBC,GAMrBC,KAAqCC,GAMrCC,KAAOC,GAMPC,KAAsBC,GAMtBC,KAAoCC,GAMpCC,KAAyBC,GAMzBC,KAAqBC,GAMrBC,KAAyCC,GAMzCC,KAAyBC,GAMzBC,KAA8BC,GAM9BC,KAAqBC,GAMrBC,KAAyCC,GAMzCC,KAAuBC,GAMvBC,KAA2BC,GAM3BC,KAAcC,GAMdC,KAAkBC,GAMlBC,KAAmBC,GAMnBC,KAAgBC;"}
|
package/dist/first-Di4GZDIY.mjs
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import { E as a, a as l, f as m } from "./takeUntil-CgZP1bze.mjs";
|
2
|
-
import { l as u, n as o } from "./v4-C78sE4Gb.mjs";
|
3
|
-
import { d as p } from "./Observable-wwWYwtkh.mjs";
|
4
|
-
function c(n) {
|
5
|
-
return u(function(f, t) {
|
6
|
-
var e = !1;
|
7
|
-
f.subscribe(o(t, function(r) {
|
8
|
-
e = !0, t.next(r);
|
9
|
-
}, function() {
|
10
|
-
e || t.next(n), t.complete();
|
11
|
-
}));
|
12
|
-
});
|
13
|
-
}
|
14
|
-
function s(n) {
|
15
|
-
return n === void 0 && (n = d), u(function(f, t) {
|
16
|
-
var e = !1;
|
17
|
-
f.subscribe(o(t, function(r) {
|
18
|
-
e = !0, t.next(r);
|
19
|
-
}, function() {
|
20
|
-
return e ? t.complete() : t.error(n());
|
21
|
-
}));
|
22
|
-
});
|
23
|
-
}
|
24
|
-
function d() {
|
25
|
-
return new a();
|
26
|
-
}
|
27
|
-
function v(n, f) {
|
28
|
-
var t = arguments.length >= 2;
|
29
|
-
return function(e) {
|
30
|
-
return e.pipe(n ? m(function(r, i) {
|
31
|
-
return n(r, i, e);
|
32
|
-
}) : p, l(1), t ? c(f) : s(function() {
|
33
|
-
return new a();
|
34
|
-
}));
|
35
|
-
};
|
36
|
-
}
|
37
|
-
export {
|
38
|
-
c as d,
|
39
|
-
v as f,
|
40
|
-
s as t
|
41
|
-
};
|
42
|
-
//# sourceMappingURL=first-Di4GZDIY.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"first-Di4GZDIY.mjs","sources":["../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/first.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=defaultIfEmpty.js.map","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory) {\n if (errorFactory === void 0) { errorFactory = defaultErrorFactory; }\n return operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () { return (hasValue ? subscriber.complete() : subscriber.error(errorFactory())); }));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n//# sourceMappingURL=throwIfEmpty.js.map","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n var hasDefaultValue = arguments.length >= 2;\n return function (source) {\n return source.pipe(predicate ? filter(function (v, i) { return predicate(v, i, source); }) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(function () { return new EmptyError(); }));\n };\n}\n//# sourceMappingURL=first.js.map"],"names":["defaultIfEmpty","defaultValue","operate","source","subscriber","hasValue","createOperatorSubscriber","value","throwIfEmpty","errorFactory","defaultErrorFactory","EmptyError","first","predicate","hasDefaultValue","filter","v","identity","take"],"mappings":";;;AAEO,SAASA,EAAeC,GAAc;AACzC,SAAOC,EAAQ,SAAUC,GAAQC,GAAY;AACzC,QAAIC,IAAW;AACf,IAAAF,EAAO,UAAUG,EAAyBF,GAAY,SAAUG,GAAO;AACnE,MAAAF,IAAW,IACXD,EAAW,KAAKG,CAAK;AAAA,IACjC,GAAW,WAAY;AACX,MAAKF,KACDD,EAAW,KAAKH,CAAY,GAEhCG,EAAW,SAAU;AAAA,IACjC,CAAS,CAAC;AAAA,EACV,CAAK;AACL;ACZO,SAASI,EAAaC,GAAc;AACvC,SAAIA,MAAiB,WAAUA,IAAeC,IACvCR,EAAQ,SAAUC,GAAQC,GAAY;AACzC,QAAIC,IAAW;AACf,IAAAF,EAAO,UAAUG,EAAyBF,GAAY,SAAUG,GAAO;AACnE,MAAAF,IAAW,IACXD,EAAW,KAAKG,CAAK;AAAA,IACxB,GAAE,WAAY;AAAE,aAAQF,IAAWD,EAAW,SAAQ,IAAKA,EAAW,MAAMK,GAAc;AAAA,IAAK,CAAA,CAAC;AAAA,EACzG,CAAK;AACL;AACA,SAASC,IAAsB;AAC3B,SAAO,IAAIC,EAAY;AAC3B;ACTO,SAASC,EAAMC,GAAWZ,GAAc;AAC3C,MAAIa,IAAkB,UAAU,UAAU;AAC1C,SAAO,SAAUX,GAAQ;AACrB,WAAOA,EAAO,KAAKU,IAAYE,EAAO,SAAUC,GAAG,GAAG;AAAE,aAAOH,EAAUG,GAAG,GAAGb,CAAM;AAAA,IAAE,CAAE,IAAIc,GAAUC,EAAK,CAAC,GAAGJ,IAAkBd,EAAeC,CAAY,IAAIO,EAAa,WAAY;AAAE,aAAO,IAAIG,EAAY;AAAA,IAAG,CAAA,CAAC;AAAA,EAC1N;AACL;","x_google_ignoreList":[0,1,2]}
|
package/dist/get-psIoeD-z.mjs
DELETED
@@ -1,327 +0,0 @@
|
|
1
|
-
import { a as u, g as M } from "./index-DkvUNBNf.mjs";
|
2
|
-
function N(t, e) {
|
3
|
-
for (var a = -1, r = t == null ? 0 : t.length, n = Array(r); ++a < r; )
|
4
|
-
n[a] = e(t[a], a, t);
|
5
|
-
return n;
|
6
|
-
}
|
7
|
-
var A = N;
|
8
|
-
function F() {
|
9
|
-
this.__data__ = [], this.size = 0;
|
10
|
-
}
|
11
|
-
var K = F;
|
12
|
-
function R(t, e) {
|
13
|
-
return t === e || t !== t && e !== e;
|
14
|
-
}
|
15
|
-
var L = R, q = L;
|
16
|
-
function U(t, e) {
|
17
|
-
for (var a = t.length; a--; )
|
18
|
-
if (q(t[a][0], e))
|
19
|
-
return a;
|
20
|
-
return -1;
|
21
|
-
}
|
22
|
-
var l = U, J = l, V = Array.prototype, X = V.splice;
|
23
|
-
function Z(t) {
|
24
|
-
var e = this.__data__, a = J(e, t);
|
25
|
-
if (a < 0)
|
26
|
-
return !1;
|
27
|
-
var r = e.length - 1;
|
28
|
-
return a == r ? e.pop() : X.call(e, a, 1), --this.size, !0;
|
29
|
-
}
|
30
|
-
var k = Z, B = l;
|
31
|
-
function Q(t) {
|
32
|
-
var e = this.__data__, a = B(e, t);
|
33
|
-
return a < 0 ? void 0 : e[a][1];
|
34
|
-
}
|
35
|
-
var W = Q, Y = l;
|
36
|
-
function tt(t) {
|
37
|
-
return Y(this.__data__, t) > -1;
|
38
|
-
}
|
39
|
-
var et = tt, at = l;
|
40
|
-
function rt(t, e) {
|
41
|
-
var a = this.__data__, r = at(a, t);
|
42
|
-
return r < 0 ? (++this.size, a.push([t, e])) : a[r][1] = e, this;
|
43
|
-
}
|
44
|
-
var nt = rt, it = K, st = k, ot = W, ct = et, ht = nt;
|
45
|
-
function s(t) {
|
46
|
-
var e = -1, a = t == null ? 0 : t.length;
|
47
|
-
for (this.clear(); ++e < a; ) {
|
48
|
-
var r = t[e];
|
49
|
-
this.set(r[0], r[1]);
|
50
|
-
}
|
51
|
-
}
|
52
|
-
s.prototype.clear = it;
|
53
|
-
s.prototype.delete = st;
|
54
|
-
s.prototype.get = ot;
|
55
|
-
s.prototype.has = ct;
|
56
|
-
s.prototype.set = ht;
|
57
|
-
var ut = s, lt = typeof u == "object" && u && u.Object === Object && u, vt = lt, pt = vt, ft = typeof self == "object" && self && self.Object === Object && self, _t = pt || ft || Function("return this")(), _ = _t, gt = _, dt = gt.Symbol, g = dt, C = g, G = Object.prototype, $t = G.hasOwnProperty, yt = G.toString, h = C ? C.toStringTag : void 0;
|
58
|
-
function bt(t) {
|
59
|
-
var e = $t.call(t, h), a = t[h];
|
60
|
-
try {
|
61
|
-
t[h] = void 0;
|
62
|
-
var r = !0;
|
63
|
-
} catch {
|
64
|
-
}
|
65
|
-
var n = yt.call(t);
|
66
|
-
return r && (e ? t[h] = a : delete t[h]), n;
|
67
|
-
}
|
68
|
-
var mt = bt, Ct = Object.prototype, St = Ct.toString;
|
69
|
-
function Ot(t) {
|
70
|
-
return St.call(t);
|
71
|
-
}
|
72
|
-
var jt = Ot, S = g, Tt = mt, Pt = jt, wt = "[object Null]", xt = "[object Undefined]", O = S ? S.toStringTag : void 0;
|
73
|
-
function Dt(t) {
|
74
|
-
return t == null ? t === void 0 ? xt : wt : O && O in Object(t) ? Tt(t) : Pt(t);
|
75
|
-
}
|
76
|
-
var I = Dt;
|
77
|
-
function Mt(t) {
|
78
|
-
var e = typeof t;
|
79
|
-
return t != null && (e == "object" || e == "function");
|
80
|
-
}
|
81
|
-
var d = Mt;
|
82
|
-
const ur = /* @__PURE__ */ M(d);
|
83
|
-
var Gt = I, It = d, zt = "[object AsyncFunction]", Ht = "[object Function]", Et = "[object GeneratorFunction]", Nt = "[object Proxy]";
|
84
|
-
function At(t) {
|
85
|
-
if (!It(t))
|
86
|
-
return !1;
|
87
|
-
var e = Gt(t);
|
88
|
-
return e == Ht || e == Et || e == zt || e == Nt;
|
89
|
-
}
|
90
|
-
var Ft = At, Kt = _, Rt = Kt["__core-js_shared__"], Lt = Rt, f = Lt, j = function() {
|
91
|
-
var t = /[^.]+$/.exec(f && f.keys && f.keys.IE_PROTO || "");
|
92
|
-
return t ? "Symbol(src)_1." + t : "";
|
93
|
-
}();
|
94
|
-
function qt(t) {
|
95
|
-
return !!j && j in t;
|
96
|
-
}
|
97
|
-
var Ut = qt, Jt = Function.prototype, Vt = Jt.toString;
|
98
|
-
function Xt(t) {
|
99
|
-
if (t != null) {
|
100
|
-
try {
|
101
|
-
return Vt.call(t);
|
102
|
-
} catch {
|
103
|
-
}
|
104
|
-
try {
|
105
|
-
return t + "";
|
106
|
-
} catch {
|
107
|
-
}
|
108
|
-
}
|
109
|
-
return "";
|
110
|
-
}
|
111
|
-
var Zt = Xt, kt = Ft, Bt = Ut, Qt = d, Wt = Zt, Yt = /[\\^$.*+?()[\]{}|]/g, te = /^\[object .+?Constructor\]$/, ee = Function.prototype, ae = Object.prototype, re = ee.toString, ne = ae.hasOwnProperty, ie = RegExp(
|
112
|
-
"^" + re.call(ne).replace(Yt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
113
|
-
);
|
114
|
-
function se(t) {
|
115
|
-
if (!Qt(t) || Bt(t))
|
116
|
-
return !1;
|
117
|
-
var e = kt(t) ? ie : te;
|
118
|
-
return e.test(Wt(t));
|
119
|
-
}
|
120
|
-
var oe = se;
|
121
|
-
function ce(t, e) {
|
122
|
-
return t == null ? void 0 : t[e];
|
123
|
-
}
|
124
|
-
var he = ce, ue = oe, le = he;
|
125
|
-
function ve(t, e) {
|
126
|
-
var a = le(t, e);
|
127
|
-
return ue(a) ? a : void 0;
|
128
|
-
}
|
129
|
-
var z = ve, pe = z, fe = _, _e = pe(fe, "Map"), ge = _e, de = z, $e = de(Object, "create"), v = $e, T = v;
|
130
|
-
function ye() {
|
131
|
-
this.__data__ = T ? T(null) : {}, this.size = 0;
|
132
|
-
}
|
133
|
-
var be = ye;
|
134
|
-
function me(t) {
|
135
|
-
var e = this.has(t) && delete this.__data__[t];
|
136
|
-
return this.size -= e ? 1 : 0, e;
|
137
|
-
}
|
138
|
-
var Ce = me, Se = v, Oe = "__lodash_hash_undefined__", je = Object.prototype, Te = je.hasOwnProperty;
|
139
|
-
function Pe(t) {
|
140
|
-
var e = this.__data__;
|
141
|
-
if (Se) {
|
142
|
-
var a = e[t];
|
143
|
-
return a === Oe ? void 0 : a;
|
144
|
-
}
|
145
|
-
return Te.call(e, t) ? e[t] : void 0;
|
146
|
-
}
|
147
|
-
var we = Pe, xe = v, De = Object.prototype, Me = De.hasOwnProperty;
|
148
|
-
function Ge(t) {
|
149
|
-
var e = this.__data__;
|
150
|
-
return xe ? e[t] !== void 0 : Me.call(e, t);
|
151
|
-
}
|
152
|
-
var Ie = Ge, ze = v, He = "__lodash_hash_undefined__";
|
153
|
-
function Ee(t, e) {
|
154
|
-
var a = this.__data__;
|
155
|
-
return this.size += this.has(t) ? 0 : 1, a[t] = ze && e === void 0 ? He : e, this;
|
156
|
-
}
|
157
|
-
var Ne = Ee, Ae = be, Fe = Ce, Ke = we, Re = Ie, Le = Ne;
|
158
|
-
function o(t) {
|
159
|
-
var e = -1, a = t == null ? 0 : t.length;
|
160
|
-
for (this.clear(); ++e < a; ) {
|
161
|
-
var r = t[e];
|
162
|
-
this.set(r[0], r[1]);
|
163
|
-
}
|
164
|
-
}
|
165
|
-
o.prototype.clear = Ae;
|
166
|
-
o.prototype.delete = Fe;
|
167
|
-
o.prototype.get = Ke;
|
168
|
-
o.prototype.has = Re;
|
169
|
-
o.prototype.set = Le;
|
170
|
-
var qe = o, P = qe, Ue = ut, Je = ge;
|
171
|
-
function Ve() {
|
172
|
-
this.size = 0, this.__data__ = {
|
173
|
-
hash: new P(),
|
174
|
-
map: new (Je || Ue)(),
|
175
|
-
string: new P()
|
176
|
-
};
|
177
|
-
}
|
178
|
-
var Xe = Ve;
|
179
|
-
function Ze(t) {
|
180
|
-
var e = typeof t;
|
181
|
-
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
182
|
-
}
|
183
|
-
var ke = Ze, Be = ke;
|
184
|
-
function Qe(t, e) {
|
185
|
-
var a = t.__data__;
|
186
|
-
return Be(e) ? a[typeof e == "string" ? "string" : "hash"] : a.map;
|
187
|
-
}
|
188
|
-
var p = Qe, We = p;
|
189
|
-
function Ye(t) {
|
190
|
-
var e = We(this, t).delete(t);
|
191
|
-
return this.size -= e ? 1 : 0, e;
|
192
|
-
}
|
193
|
-
var ta = Ye, ea = p;
|
194
|
-
function aa(t) {
|
195
|
-
return ea(this, t).get(t);
|
196
|
-
}
|
197
|
-
var ra = aa, na = p;
|
198
|
-
function ia(t) {
|
199
|
-
return na(this, t).has(t);
|
200
|
-
}
|
201
|
-
var sa = ia, oa = p;
|
202
|
-
function ca(t, e) {
|
203
|
-
var a = oa(this, t), r = a.size;
|
204
|
-
return a.set(t, e), this.size += a.size == r ? 0 : 1, this;
|
205
|
-
}
|
206
|
-
var ha = ca, ua = Xe, la = ta, va = ra, pa = sa, fa = ha;
|
207
|
-
function c(t) {
|
208
|
-
var e = -1, a = t == null ? 0 : t.length;
|
209
|
-
for (this.clear(); ++e < a; ) {
|
210
|
-
var r = t[e];
|
211
|
-
this.set(r[0], r[1]);
|
212
|
-
}
|
213
|
-
}
|
214
|
-
c.prototype.clear = ua;
|
215
|
-
c.prototype.delete = la;
|
216
|
-
c.prototype.get = va;
|
217
|
-
c.prototype.has = pa;
|
218
|
-
c.prototype.set = fa;
|
219
|
-
var _a = c;
|
220
|
-
function ga(t) {
|
221
|
-
return t != null && typeof t == "object";
|
222
|
-
}
|
223
|
-
var da = ga, $a = Array.isArray, $ = $a, ya = I, ba = da, ma = "[object Symbol]";
|
224
|
-
function Ca(t) {
|
225
|
-
return typeof t == "symbol" || ba(t) && ya(t) == ma;
|
226
|
-
}
|
227
|
-
var y = Ca, Sa = $, Oa = y, ja = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ta = /^\w*$/;
|
228
|
-
function Pa(t, e) {
|
229
|
-
if (Sa(t))
|
230
|
-
return !1;
|
231
|
-
var a = typeof t;
|
232
|
-
return a == "number" || a == "symbol" || a == "boolean" || t == null || Oa(t) ? !0 : Ta.test(t) || !ja.test(t) || e != null && t in Object(e);
|
233
|
-
}
|
234
|
-
var wa = Pa, H = _a, xa = "Expected a function";
|
235
|
-
function b(t, e) {
|
236
|
-
if (typeof t != "function" || e != null && typeof e != "function")
|
237
|
-
throw new TypeError(xa);
|
238
|
-
var a = function() {
|
239
|
-
var r = arguments, n = e ? e.apply(this, r) : r[0], i = a.cache;
|
240
|
-
if (i.has(n))
|
241
|
-
return i.get(n);
|
242
|
-
var m = t.apply(this, r);
|
243
|
-
return a.cache = i.set(n, m) || i, m;
|
244
|
-
};
|
245
|
-
return a.cache = new (b.Cache || H)(), a;
|
246
|
-
}
|
247
|
-
b.Cache = H;
|
248
|
-
var Da = b, Ma = Da, Ga = 500;
|
249
|
-
function Ia(t) {
|
250
|
-
var e = Ma(t, function(r) {
|
251
|
-
return a.size === Ga && a.clear(), r;
|
252
|
-
}), a = e.cache;
|
253
|
-
return e;
|
254
|
-
}
|
255
|
-
var za = Ia, Ha = za, Ea = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Na = /\\(\\)?/g, Aa = Ha(function(t) {
|
256
|
-
var e = [];
|
257
|
-
return t.charCodeAt(0) === 46 && e.push(""), t.replace(Ea, function(a, r, n, i) {
|
258
|
-
e.push(n ? i.replace(Na, "$1") : r || a);
|
259
|
-
}), e;
|
260
|
-
}), Fa = Aa, w = g, Ka = A, Ra = $, La = y, x = w ? w.prototype : void 0, D = x ? x.toString : void 0;
|
261
|
-
function E(t) {
|
262
|
-
if (typeof t == "string")
|
263
|
-
return t;
|
264
|
-
if (Ra(t))
|
265
|
-
return Ka(t, E) + "";
|
266
|
-
if (La(t))
|
267
|
-
return D ? D.call(t) : "";
|
268
|
-
var e = t + "";
|
269
|
-
return e == "0" && 1 / t == -1 / 0 ? "-0" : e;
|
270
|
-
}
|
271
|
-
var qa = E, Ua = qa;
|
272
|
-
function Ja(t) {
|
273
|
-
return t == null ? "" : Ua(t);
|
274
|
-
}
|
275
|
-
var Va = Ja, Xa = $, Za = wa, ka = Fa, Ba = Va;
|
276
|
-
function Qa(t, e) {
|
277
|
-
return Xa(t) ? t : Za(t, e) ? [t] : ka(Ba(t));
|
278
|
-
}
|
279
|
-
var Wa = Qa, Ya = y;
|
280
|
-
function tr(t) {
|
281
|
-
if (typeof t == "string" || Ya(t))
|
282
|
-
return t;
|
283
|
-
var e = t + "";
|
284
|
-
return e == "0" && 1 / t == -1 / 0 ? "-0" : e;
|
285
|
-
}
|
286
|
-
var er = tr, ar = Wa, rr = er;
|
287
|
-
function nr(t, e) {
|
288
|
-
e = ar(e, t);
|
289
|
-
for (var a = 0, r = e.length; t != null && a < r; )
|
290
|
-
t = t[rr(e[a++])];
|
291
|
-
return a && a == r ? t : void 0;
|
292
|
-
}
|
293
|
-
var ir = nr, sr = ir;
|
294
|
-
function or(t, e, a) {
|
295
|
-
var r = t == null ? void 0 : sr(t, e);
|
296
|
-
return r === void 0 ? a : r;
|
297
|
-
}
|
298
|
-
var cr = or;
|
299
|
-
const lr = /* @__PURE__ */ M(cr);
|
300
|
-
export {
|
301
|
-
ut as _,
|
302
|
-
ge as a,
|
303
|
-
_a as b,
|
304
|
-
z as c,
|
305
|
-
I as d,
|
306
|
-
L as e,
|
307
|
-
_ as f,
|
308
|
-
lr as g,
|
309
|
-
vt as h,
|
310
|
-
da as i,
|
311
|
-
$ as j,
|
312
|
-
Ft as k,
|
313
|
-
d as l,
|
314
|
-
Zt as m,
|
315
|
-
g as n,
|
316
|
-
ir as o,
|
317
|
-
Wa as p,
|
318
|
-
er as q,
|
319
|
-
A as r,
|
320
|
-
cr as s,
|
321
|
-
wa as t,
|
322
|
-
Va as u,
|
323
|
-
y as v,
|
324
|
-
Fa as w,
|
325
|
-
ur as x
|
326
|
-
};
|
327
|
-
//# sourceMappingURL=get-psIoeD-z.mjs.map
|