@camstack/addon-tailscale-client 0.1.12

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.
Files changed (43) hide show
  1. package/dist/@mf-types/compiled-types/page/TailscaleClientOverviewPage.d.ts +20 -0
  2. package/dist/@mf-types/compiled-types/page/TailscaleClientOverviewPage.d.ts.map +1 -0
  3. package/dist/@mf-types/compiled-types/page/page.d.ts +8 -0
  4. package/dist/@mf-types/compiled-types/page/page.d.ts.map +1 -0
  5. package/dist/@mf-types/page.d.ts +2 -0
  6. package/dist/@mf-types.d.ts +3 -0
  7. package/dist/@mf-types.zip +0 -0
  8. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-bYM9BuS1.mjs +12 -0
  9. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CtHD1dC0.mjs +12 -0
  10. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-fz-lQtUx.mjs +12 -0
  11. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-B-3nffMn.mjs +73 -0
  12. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-6CvhJC3f.mjs +42 -0
  13. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-Sv3rXvki.mjs +46 -0
  14. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare__react__loadShare__.mjs-BBqTAV2L.mjs +56 -0
  15. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-BK8BTUon.mjs +18 -0
  16. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare__react_mf_2_dom__loadShare__.mjs-B6pR25zU.mjs +28 -0
  17. package/dist/__mfe_internal__addon_tailscale_client_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-kyoamNQ7.mjs +18 -0
  18. package/dist/_stub.js +652 -0
  19. package/dist/_virtual_mf-localSharedImportMap___mfe_internal__addon_tailscale_client_page-PXP_-hRW.mjs +156 -0
  20. package/dist/addon-tailscale-client.css +3 -0
  21. package/dist/client-1J4MstR_.mjs +7592 -0
  22. package/dist/dist-C168hexw.mjs +17192 -0
  23. package/dist/dist-CPnIfsyh.mjs +2229 -0
  24. package/dist/dist-CmoRvaEc.mjs +2483 -0
  25. package/dist/dist-CwyDJZhZ.mjs +16329 -0
  26. package/dist/dist-DNrrMIdr.mjs +662 -0
  27. package/dist/dist-i1I4ldIE.mjs +1260 -0
  28. package/dist/getErrorShape-BPSzUA7W-C2H3tqHP.mjs +189 -0
  29. package/dist/hostInit-KpnzzkeJ.mjs +144 -0
  30. package/dist/index.js +9 -0
  31. package/dist/index.mjs +2 -0
  32. package/dist/jsx-runtime-BmcMHbj3.mjs +22 -0
  33. package/dist/modern-CWdms43F.mjs +2184 -0
  34. package/dist/react-BXkW-3WQ.mjs +293 -0
  35. package/dist/react-dom-BcGsvCWU.mjs +131 -0
  36. package/dist/remoteEntry.js +83 -0
  37. package/dist/rolldown-runtime-DC4cgjXG.mjs +20 -0
  38. package/dist/tailscale.addon.js +633 -0
  39. package/dist/tailscale.addon.js.map +1 -0
  40. package/dist/tailscale.addon.mjs +627 -0
  41. package/dist/tailscale.addon.mjs.map +1 -0
  42. package/dist/virtualExposes-wANYNTM2.mjs +27 -0
  43. package/package.json +94 -0
@@ -0,0 +1,293 @@
1
+ import { t as e } from "./rolldown-runtime-DC4cgjXG.mjs";
2
+ //#region ../../node_modules/react/cjs/react.production.js
3
+ var t = /* @__PURE__ */ e(((e) => {
4
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
5
+ function m(e) {
6
+ return typeof e != "object" || !e ? null : (e = p && e[p] || e["@@iterator"], typeof e == "function" ? e : null);
7
+ }
8
+ var h = {
9
+ isMounted: function() {
10
+ return !1;
11
+ },
12
+ enqueueForceUpdate: function() {},
13
+ enqueueReplaceState: function() {},
14
+ enqueueSetState: function() {}
15
+ }, g = Object.assign, _ = {};
16
+ function v(e, t, n) {
17
+ this.props = e, this.context = t, this.refs = _, this.updater = n || h;
18
+ }
19
+ v.prototype.isReactComponent = {}, v.prototype.setState = function(e, t) {
20
+ if (typeof e != "object" && typeof e != "function" && e != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
21
+ this.updater.enqueueSetState(this, e, t, "setState");
22
+ }, v.prototype.forceUpdate = function(e) {
23
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
24
+ };
25
+ function y() {}
26
+ y.prototype = v.prototype;
27
+ function b(e, t, n) {
28
+ this.props = e, this.context = t, this.refs = _, this.updater = n || h;
29
+ }
30
+ var x = b.prototype = new y();
31
+ x.constructor = b, g(x, v.prototype), x.isPureReactComponent = !0;
32
+ var S = Array.isArray;
33
+ function C() {}
34
+ var w = {
35
+ H: null,
36
+ A: null,
37
+ T: null,
38
+ S: null
39
+ }, T = Object.prototype.hasOwnProperty;
40
+ function E(e, n, r) {
41
+ var i = r.ref;
42
+ return {
43
+ $$typeof: t,
44
+ type: e,
45
+ key: n,
46
+ ref: i === void 0 ? null : i,
47
+ props: r
48
+ };
49
+ }
50
+ function D(e, t) {
51
+ return E(e.type, t, e.props);
52
+ }
53
+ function O(e) {
54
+ return typeof e == "object" && !!e && e.$$typeof === t;
55
+ }
56
+ function k(e) {
57
+ var t = {
58
+ "=": "=0",
59
+ ":": "=2"
60
+ };
61
+ return "$" + e.replace(/[=:]/g, function(e) {
62
+ return t[e];
63
+ });
64
+ }
65
+ var A = /\/+/g;
66
+ function j(e, t) {
67
+ return typeof e == "object" && e && e.key != null ? k("" + e.key) : t.toString(36);
68
+ }
69
+ function M(e) {
70
+ switch (e.status) {
71
+ case "fulfilled": return e.value;
72
+ case "rejected": throw e.reason;
73
+ default: switch (typeof e.status == "string" ? e.then(C, C) : (e.status = "pending", e.then(function(t) {
74
+ e.status === "pending" && (e.status = "fulfilled", e.value = t);
75
+ }, function(t) {
76
+ e.status === "pending" && (e.status = "rejected", e.reason = t);
77
+ })), e.status) {
78
+ case "fulfilled": return e.value;
79
+ case "rejected": throw e.reason;
80
+ }
81
+ }
82
+ throw e;
83
+ }
84
+ function N(e, r, i, a, o) {
85
+ var s = typeof e;
86
+ (s === "undefined" || s === "boolean") && (e = null);
87
+ var c = !1;
88
+ if (e === null) c = !0;
89
+ else switch (s) {
90
+ case "bigint":
91
+ case "string":
92
+ case "number":
93
+ c = !0;
94
+ break;
95
+ case "object": switch (e.$$typeof) {
96
+ case t:
97
+ case n:
98
+ c = !0;
99
+ break;
100
+ case d: return c = e._init, N(c(e._payload), r, i, a, o);
101
+ }
102
+ }
103
+ if (c) return o = o(e), c = a === "" ? "." + j(e, 0) : a, S(o) ? (i = "", c != null && (i = c.replace(A, "$&/") + "/"), N(o, r, i, "", function(e) {
104
+ return e;
105
+ })) : o != null && (O(o) && (o = D(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(A, "$&/") + "/") + c)), r.push(o)), 1;
106
+ c = 0;
107
+ var l = a === "" ? "." : a + ":";
108
+ if (S(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + j(a, u), c += N(a, r, i, s, o);
109
+ else if (u = m(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + j(a, u++), c += N(a, r, i, s, o);
110
+ else if (s === "object") {
111
+ if (typeof e.then == "function") return N(M(e), r, i, a, o);
112
+ throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
113
+ }
114
+ return c;
115
+ }
116
+ function P(e, t, n) {
117
+ if (e == null) return e;
118
+ var r = [], i = 0;
119
+ return N(e, r, "", "", function(e) {
120
+ return t.call(n, e, i++);
121
+ }), r;
122
+ }
123
+ function F(e) {
124
+ if (e._status === -1) {
125
+ var t = e._result;
126
+ t = t(), t.then(function(t) {
127
+ (e._status === 0 || e._status === -1) && (e._status = 1, e._result = t);
128
+ }, function(t) {
129
+ (e._status === 0 || e._status === -1) && (e._status = 2, e._result = t);
130
+ }), e._status === -1 && (e._status = 0, e._result = t);
131
+ }
132
+ if (e._status === 1) return e._result.default;
133
+ throw e._result;
134
+ }
135
+ var I = typeof reportError == "function" ? reportError : function(e) {
136
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
137
+ var t = new window.ErrorEvent("error", {
138
+ bubbles: !0,
139
+ cancelable: !0,
140
+ message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),
141
+ error: e
142
+ });
143
+ if (!window.dispatchEvent(t)) return;
144
+ } else if (typeof process == "object" && typeof process.emit == "function") {
145
+ process.emit("uncaughtException", e);
146
+ return;
147
+ }
148
+ console.error(e);
149
+ }, L = {
150
+ map: P,
151
+ forEach: function(e, t, n) {
152
+ P(e, function() {
153
+ t.apply(this, arguments);
154
+ }, n);
155
+ },
156
+ count: function(e) {
157
+ var t = 0;
158
+ return P(e, function() {
159
+ t++;
160
+ }), t;
161
+ },
162
+ toArray: function(e) {
163
+ return P(e, function(e) {
164
+ return e;
165
+ }) || [];
166
+ },
167
+ only: function(e) {
168
+ if (!O(e)) throw Error("React.Children.only expected to receive a single React element child.");
169
+ return e;
170
+ }
171
+ };
172
+ e.Activity = f, e.Children = L, e.Component = v, e.Fragment = r, e.Profiler = a, e.PureComponent = b, e.StrictMode = i, e.Suspense = l, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = w, e.__COMPILER_RUNTIME = {
173
+ __proto__: null,
174
+ c: function(e) {
175
+ return w.H.useMemoCache(e);
176
+ }
177
+ }, e.cache = function(e) {
178
+ return function() {
179
+ return e.apply(null, arguments);
180
+ };
181
+ }, e.cacheSignal = function() {
182
+ return null;
183
+ }, e.cloneElement = function(e, t, n) {
184
+ if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
185
+ var r = g({}, e.props), i = e.key;
186
+ if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !T.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
187
+ var a = arguments.length - 2;
188
+ if (a === 1) r.children = n;
189
+ else if (1 < a) {
190
+ for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
191
+ r.children = o;
192
+ }
193
+ return E(e.type, i, r);
194
+ }, e.createContext = function(e) {
195
+ return e = {
196
+ $$typeof: s,
197
+ _currentValue: e,
198
+ _currentValue2: e,
199
+ _threadCount: 0,
200
+ Provider: null,
201
+ Consumer: null
202
+ }, e.Provider = e, e.Consumer = {
203
+ $$typeof: o,
204
+ _context: e
205
+ }, e;
206
+ }, e.createElement = function(e, t, n) {
207
+ var r, i = {}, a = null;
208
+ if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) T.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
209
+ var o = arguments.length - 2;
210
+ if (o === 1) i.children = n;
211
+ else if (1 < o) {
212
+ for (var s = Array(o), c = 0; c < o; c++) s[c] = arguments[c + 2];
213
+ i.children = s;
214
+ }
215
+ if (e && e.defaultProps) for (r in o = e.defaultProps, o) i[r] === void 0 && (i[r] = o[r]);
216
+ return E(e, a, i);
217
+ }, e.createRef = function() {
218
+ return { current: null };
219
+ }, e.forwardRef = function(e) {
220
+ return {
221
+ $$typeof: c,
222
+ render: e
223
+ };
224
+ }, e.isValidElement = O, e.lazy = function(e) {
225
+ return {
226
+ $$typeof: d,
227
+ _payload: {
228
+ _status: -1,
229
+ _result: e
230
+ },
231
+ _init: F
232
+ };
233
+ }, e.memo = function(e, t) {
234
+ return {
235
+ $$typeof: u,
236
+ type: e,
237
+ compare: t === void 0 ? null : t
238
+ };
239
+ }, e.startTransition = function(e) {
240
+ var t = w.T, n = {};
241
+ w.T = n;
242
+ try {
243
+ var r = e(), i = w.S;
244
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(C, I);
245
+ } catch (e) {
246
+ I(e);
247
+ } finally {
248
+ t !== null && n.types !== null && (t.types = n.types), w.T = t;
249
+ }
250
+ }, e.unstable_useCacheRefresh = function() {
251
+ return w.H.useCacheRefresh();
252
+ }, e.use = function(e) {
253
+ return w.H.use(e);
254
+ }, e.useActionState = function(e, t, n) {
255
+ return w.H.useActionState(e, t, n);
256
+ }, e.useCallback = function(e, t) {
257
+ return w.H.useCallback(e, t);
258
+ }, e.useContext = function(e) {
259
+ return w.H.useContext(e);
260
+ }, e.useDebugValue = function() {}, e.useDeferredValue = function(e, t) {
261
+ return w.H.useDeferredValue(e, t);
262
+ }, e.useEffect = function(e, t) {
263
+ return w.H.useEffect(e, t);
264
+ }, e.useEffectEvent = function(e) {
265
+ return w.H.useEffectEvent(e);
266
+ }, e.useId = function() {
267
+ return w.H.useId();
268
+ }, e.useImperativeHandle = function(e, t, n) {
269
+ return w.H.useImperativeHandle(e, t, n);
270
+ }, e.useInsertionEffect = function(e, t) {
271
+ return w.H.useInsertionEffect(e, t);
272
+ }, e.useLayoutEffect = function(e, t) {
273
+ return w.H.useLayoutEffect(e, t);
274
+ }, e.useMemo = function(e, t) {
275
+ return w.H.useMemo(e, t);
276
+ }, e.useOptimistic = function(e, t) {
277
+ return w.H.useOptimistic(e, t);
278
+ }, e.useReducer = function(e, t, n) {
279
+ return w.H.useReducer(e, t, n);
280
+ }, e.useRef = function(e) {
281
+ return w.H.useRef(e);
282
+ }, e.useState = function(e) {
283
+ return w.H.useState(e);
284
+ }, e.useSyncExternalStore = function(e, t, n) {
285
+ return w.H.useSyncExternalStore(e, t, n);
286
+ }, e.useTransition = function() {
287
+ return w.H.useTransition();
288
+ }, e.version = "19.2.5";
289
+ })), n = /* @__PURE__ */ e(((e, n) => {
290
+ n.exports = t();
291
+ }));
292
+ //#endregion
293
+ export default n();
@@ -0,0 +1,131 @@
1
+ import { i as e, t } from "./rolldown-runtime-DC4cgjXG.mjs";
2
+ import { h as n, m as r } from "./__mfe_internal__addon_tailscale_client_page__loadShare__react__loadShare__.mjs-BBqTAV2L.mjs";
3
+ //#region ../../node_modules/react-dom/cjs/react-dom.production.js
4
+ var i = /* @__PURE__ */ t(((t) => {
5
+ var i = (n(), e(r));
6
+ function a(e) {
7
+ var t = "https://react.dev/errors/" + e;
8
+ if (1 < arguments.length) {
9
+ t += "?args[]=" + encodeURIComponent(arguments[1]);
10
+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
11
+ }
12
+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
13
+ }
14
+ function o() {}
15
+ var s = {
16
+ d: {
17
+ f: o,
18
+ r: function() {
19
+ throw Error(a(522));
20
+ },
21
+ D: o,
22
+ C: o,
23
+ L: o,
24
+ m: o,
25
+ X: o,
26
+ S: o,
27
+ M: o
28
+ },
29
+ p: 0,
30
+ findDOMNode: null
31
+ }, c = Symbol.for("react.portal");
32
+ function l(e, t, n) {
33
+ var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
34
+ return {
35
+ $$typeof: c,
36
+ key: r == null ? null : "" + r,
37
+ children: e,
38
+ containerInfo: t,
39
+ implementation: n
40
+ };
41
+ }
42
+ var u = i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
43
+ function d(e, t) {
44
+ if (e === "font") return "";
45
+ if (typeof t == "string") return t === "use-credentials" ? t : "";
46
+ }
47
+ t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = s, t.createPortal = function(e, t) {
48
+ var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
49
+ if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(a(299));
50
+ return l(e, t, null, n);
51
+ }, t.flushSync = function(e) {
52
+ var t = u.T, n = s.p;
53
+ try {
54
+ if (u.T = null, s.p = 2, e) return e();
55
+ } finally {
56
+ u.T = t, s.p = n, s.d.f();
57
+ }
58
+ }, t.preconnect = function(e, t) {
59
+ typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, s.d.C(e, t));
60
+ }, t.prefetchDNS = function(e) {
61
+ typeof e == "string" && s.d.D(e);
62
+ }, t.preinit = function(e, t) {
63
+ if (typeof e == "string" && t && typeof t.as == "string") {
64
+ var n = t.as, r = d(n, t.crossOrigin), i = typeof t.integrity == "string" ? t.integrity : void 0, a = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
65
+ n === "style" ? s.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
66
+ crossOrigin: r,
67
+ integrity: i,
68
+ fetchPriority: a
69
+ }) : n === "script" && s.d.X(e, {
70
+ crossOrigin: r,
71
+ integrity: i,
72
+ fetchPriority: a,
73
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0
74
+ });
75
+ }
76
+ }, t.preinitModule = function(e, t) {
77
+ if (typeof e == "string") if (typeof t == "object" && t) {
78
+ if (t.as == null || t.as === "script") {
79
+ var n = d(t.as, t.crossOrigin);
80
+ s.d.M(e, {
81
+ crossOrigin: n,
82
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
83
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0
84
+ });
85
+ }
86
+ } else t ?? s.d.M(e);
87
+ }, t.preload = function(e, t) {
88
+ if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
89
+ var n = t.as, r = d(n, t.crossOrigin);
90
+ s.d.L(e, n, {
91
+ crossOrigin: r,
92
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
93
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,
94
+ type: typeof t.type == "string" ? t.type : void 0,
95
+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
96
+ referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
97
+ imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
98
+ imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
99
+ media: typeof t.media == "string" ? t.media : void 0
100
+ });
101
+ }
102
+ }, t.preloadModule = function(e, t) {
103
+ if (typeof e == "string") if (t) {
104
+ var n = d(t.as, t.crossOrigin);
105
+ s.d.m(e, {
106
+ as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
107
+ crossOrigin: n,
108
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0
109
+ });
110
+ } else s.d.m(e);
111
+ }, t.requestFormReset = function(e) {
112
+ s.d.r(e);
113
+ }, t.unstable_batchedUpdates = function(e, t) {
114
+ return e(t);
115
+ }, t.useFormState = function(e, t, n) {
116
+ return u.H.useFormState(e, t, n);
117
+ }, t.useFormStatus = function() {
118
+ return u.H.useHostTransitionStatus();
119
+ }, t.version = "19.2.5";
120
+ })), a = /* @__PURE__ */ t(((e, t) => {
121
+ function n() {
122
+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
123
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
124
+ } catch (e) {
125
+ console.error(e);
126
+ }
127
+ }
128
+ n(), t.exports = i();
129
+ }));
130
+ //#endregion
131
+ export default a();
@@ -0,0 +1,83 @@
1
+ import { t as e } from "./dist-CPnIfsyh.mjs";
2
+ //#region virtual:mf-REMOTE_ENTRY_ID:__mfe_internal__addon_tailscale_client_page__remoteEntry_js
3
+ typeof __VUE_HMR_RUNTIME__ > "u" && (globalThis.__VUE_HMR_RUNTIME__ = {
4
+ createRecord() {},
5
+ rerender() {},
6
+ reload() {}
7
+ });
8
+ var t = "__mf_init____mf__virtual/__mfe_internal__addon_tailscale_client_page__mf_v__runtimeInit__mf_v__.js__", n = globalThis[t];
9
+ if (!n) {
10
+ let e, r, i = new Promise((t, n) => {
11
+ e = t, r = n;
12
+ });
13
+ n = globalThis[t] = {
14
+ initPromise: i,
15
+ initResolve: e,
16
+ initReject: r
17
+ }, typeof window > "u" && e({
18
+ loadRemote: function() {
19
+ return Promise.resolve(void 0);
20
+ },
21
+ loadShare: function() {
22
+ return Promise.resolve(void 0);
23
+ }
24
+ });
25
+ }
26
+ var r = n.initResolve, i = "__mf_module_cache__";
27
+ globalThis[i] ||= {
28
+ share: {},
29
+ remote: {}
30
+ }, globalThis[i].share ||= {}, globalThis[i].remote ||= {}, globalThis[i];
31
+ var a = {}, o = "default", s = "__mfe_internal__addon_tailscale_client_page", c, l, u, d = !1, f = (e) => new Promise((t) => setTimeout(t, e));
32
+ async function p(e) {
33
+ for (let t = 0;; t++) try {
34
+ return await e();
35
+ } catch (e) {
36
+ if (!(typeof d == "function" && d(e)) || t >= 19) throw e;
37
+ await f(250);
38
+ }
39
+ }
40
+ async function m() {
41
+ return l ||= p(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_tailscale_client_page-PXP_-hRW.mjs")).catch((e) => {
42
+ throw l = void 0, e;
43
+ }), l;
44
+ }
45
+ async function h() {
46
+ return u ||= p(() => import("./virtualExposes-wANYNTM2.mjs")).then((e) => e.default ?? e).catch((e) => {
47
+ throw u = void 0, e;
48
+ }), u;
49
+ }
50
+ async function g(t = {}, n = []) {
51
+ let { usedShared: i, usedRemotes: l } = await m(), u = {
52
+ name: s,
53
+ remotes: l,
54
+ shared: i,
55
+ plugins: [],
56
+ shareStrategy: "version-first"
57
+ };
58
+ c ? c.initOptions(u) : c = e(u);
59
+ let d = c;
60
+ var f = a[o];
61
+ if (f ||= a[o] = { from: s }, !(n.indexOf(f) >= 0)) {
62
+ n.push(f), d.initShareScopeMap("default", t), r(d);
63
+ try {
64
+ await p(async () => {
65
+ await Promise.all(await d.initializeSharing("default", {
66
+ strategy: "version-first",
67
+ from: "build",
68
+ initScope: n
69
+ }));
70
+ });
71
+ } catch (e) {
72
+ console.error("[Module Federation]", e);
73
+ }
74
+ return d;
75
+ }
76
+ }
77
+ async function _(e) {
78
+ let t = await h();
79
+ if (!(e in t)) throw Error(`[Module Federation] Module ${e} does not exist in container.`);
80
+ return t[e]().then((e) => () => e);
81
+ }
82
+ //#endregion
83
+ export { _ as get, g as init };
@@ -0,0 +1,20 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, l = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, u = (n, r, a) => (a = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule ? t(a, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : a, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e);
19
+ //#endregion
20
+ export { u as a, d as i, o as n, c as r, s as t };