@networkpro/web 0.6.2 → 0.7.0
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/LICENSE.md +2 -0
- package/README.md +2 -0
- package/index.html +1 -1
- package/index.html.br +0 -0
- package/js/app.db27971a5f177cdf8a3b.js +356 -0
- package/js/app.db27971a5f177cdf8a3b.js.br +0 -0
- package/legal/LICENSE.md +2 -0
- package/legal/PRIVACY.md +2 -0
- package/legal/TERMS.md +2 -0
- package/package.json +6 -3
- package/robots.txt +2 -0
- package/sitemap.xml +2 -0
- package/js/app.a39beffd45ef9ef01be3.js +0 -10
package/LICENSE.md
CHANGED
package/README.md
CHANGED
package/index.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<meta http-equiv="Permissions-Policy" content="interest-cohort=()"/>
|
|
57
57
|
|
|
58
58
|
<meta name="facebook-domain-verification" content="bx4ham0zkpvzztzu213bhpt76m9siq"/>
|
|
59
|
-
<script defer="defer" src="js/runtime.aacedc5fe7f60f6e1917.js"></script><script defer="defer" src="js/app.
|
|
59
|
+
<script defer="defer" src="js/runtime.aacedc5fe7f60f6e1917.js"></script><script defer="defer" src="js/app.db27971a5f177cdf8a3b.js"></script></head>
|
|
60
60
|
|
|
61
61
|
<body>
|
|
62
62
|
|
package/index.html.br
CHANGED
|
Binary file
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
(self.webpackChunk_networkpro_web = self.webpackChunk_networkpro_web || []).push([ [ 524 ], {
|
|
4
|
+
68: (t, n) => {
|
|
5
|
+
const {hasOwnProperty: e} = Object.prototype, r = g();
|
|
6
|
+
r.configure = g, r.stringify = r, r.default = r, n.stringify = r, n.configure = g,
|
|
7
|
+
t.exports = r;
|
|
8
|
+
const i = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;
|
|
9
|
+
function o(t) {
|
|
10
|
+
return t.length < 5e3 && !i.test(t) ? `"${t}"` : JSON.stringify(t);
|
|
11
|
+
}
|
|
12
|
+
function u(t, n) {
|
|
13
|
+
if (t.length > 200 || n) return t.sort(n);
|
|
14
|
+
for (let n = 1; n < t.length; n++) {
|
|
15
|
+
const e = t[n];
|
|
16
|
+
let r = n;
|
|
17
|
+
for (;0 !== r && t[r - 1] > e; ) t[r] = t[r - 1], r--;
|
|
18
|
+
t[r] = e;
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
}
|
|
22
|
+
const l = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)), Symbol.toStringTag).get;
|
|
23
|
+
function f(t) {
|
|
24
|
+
return void 0 !== l.call(t) && 0 !== t.length;
|
|
25
|
+
}
|
|
26
|
+
function c(t, n, e) {
|
|
27
|
+
t.length < e && (e = t.length);
|
|
28
|
+
const r = "," === n ? "" : " ";
|
|
29
|
+
let i = `"0":${r}${t[0]}`;
|
|
30
|
+
for (let o = 1; o < e; o++) i += `${n}"${o}":${r}${t[o]}`;
|
|
31
|
+
return i;
|
|
32
|
+
}
|
|
33
|
+
function s(t, n) {
|
|
34
|
+
let r;
|
|
35
|
+
if (e.call(t, n)) {
|
|
36
|
+
if (r = t[n], "number" != typeof r) throw new TypeError(`The "${n}" argument must be of type number`);
|
|
37
|
+
if (!Number.isInteger(r)) throw new TypeError(`The "${n}" argument must be an integer`);
|
|
38
|
+
if (r < 1) throw new RangeError(`The "${n}" argument must be >= 1`);
|
|
39
|
+
}
|
|
40
|
+
return void 0 === r ? 1 / 0 : r;
|
|
41
|
+
}
|
|
42
|
+
function a(t) {
|
|
43
|
+
return 1 === t ? "1 item" : `${t} items`;
|
|
44
|
+
}
|
|
45
|
+
function g(t) {
|
|
46
|
+
const n = function(t) {
|
|
47
|
+
if (e.call(t, "strict")) {
|
|
48
|
+
const n = t.strict;
|
|
49
|
+
if ("boolean" != typeof n) throw new TypeError('The "strict" argument must be of type boolean');
|
|
50
|
+
if (n) return t => {
|
|
51
|
+
let n = "Object can not safely be stringified. Received type " + typeof t;
|
|
52
|
+
throw "function" != typeof t && (n += ` (${t.toString()})`), new Error(n);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}(t = {
|
|
56
|
+
...t
|
|
57
|
+
});
|
|
58
|
+
n && (void 0 === t.bigint && (t.bigint = !1), "circularValue" in t || (t.circularValue = Error));
|
|
59
|
+
const r = function(t) {
|
|
60
|
+
if (e.call(t, "circularValue")) {
|
|
61
|
+
const n = t.circularValue;
|
|
62
|
+
if ("string" == typeof n) return `"${n}"`;
|
|
63
|
+
if (null == n) return n;
|
|
64
|
+
if (n === Error || n === TypeError) return {
|
|
65
|
+
toString() {
|
|
66
|
+
throw new TypeError("Converting circular structure to JSON");
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined');
|
|
70
|
+
}
|
|
71
|
+
return '"[Circular]"';
|
|
72
|
+
}(t), i = function(t, n) {
|
|
73
|
+
let r;
|
|
74
|
+
if (e.call(t, n) && (r = t[n], "boolean" != typeof r)) throw new TypeError(`The "${n}" argument must be of type boolean`);
|
|
75
|
+
return void 0 === r || r;
|
|
76
|
+
}(t, "bigint"), l = function(t) {
|
|
77
|
+
let n;
|
|
78
|
+
if (e.call(t, "deterministic") && (n = t.deterministic, "boolean" != typeof n && "function" != typeof n)) throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');
|
|
79
|
+
return void 0 === n || n;
|
|
80
|
+
}(t), g = "function" == typeof l ? l : void 0, h = s(t, "maximumDepth"), p = s(t, "maximumBreadth");
|
|
81
|
+
function $(t, e, c, s, y, b) {
|
|
82
|
+
let d = e[t];
|
|
83
|
+
switch ("object" == typeof d && null !== d && "function" == typeof d.toJSON && (d = d.toJSON(t)),
|
|
84
|
+
d = s.call(e, t, d), typeof d) {
|
|
85
|
+
case "string":
|
|
86
|
+
return o(d);
|
|
87
|
+
|
|
88
|
+
case "object":
|
|
89
|
+
{
|
|
90
|
+
if (null === d) return "null";
|
|
91
|
+
if (-1 !== c.indexOf(d)) return r;
|
|
92
|
+
let t = "", n = ",";
|
|
93
|
+
const e = b;
|
|
94
|
+
if (Array.isArray(d)) {
|
|
95
|
+
if (0 === d.length) return "[]";
|
|
96
|
+
if (h < c.length + 1) return '"[Array]"';
|
|
97
|
+
c.push(d), "" !== y && (t += `\n${b += y}`, n = `,\n${b}`);
|
|
98
|
+
const r = Math.min(d.length, p);
|
|
99
|
+
let i = 0;
|
|
100
|
+
for (;i < r - 1; i++) {
|
|
101
|
+
const e = $(String(i), d, c, s, y, b);
|
|
102
|
+
t += void 0 !== e ? e : "null", t += n;
|
|
103
|
+
}
|
|
104
|
+
const o = $(String(i), d, c, s, y, b);
|
|
105
|
+
if (t += void 0 !== o ? o : "null", d.length - 1 > p) {
|
|
106
|
+
t += `${n}"... ${a(d.length - p - 1)} not stringified"`;
|
|
107
|
+
}
|
|
108
|
+
return "" !== y && (t += `\n${e}`), c.pop(), `[${t}]`;
|
|
109
|
+
}
|
|
110
|
+
let i = Object.keys(d);
|
|
111
|
+
const m = i.length;
|
|
112
|
+
if (0 === m) return "{}";
|
|
113
|
+
if (h < c.length + 1) return '"[Object]"';
|
|
114
|
+
let w = "", S = "";
|
|
115
|
+
"" !== y && (n = `,\n${b += y}`, w = " ");
|
|
116
|
+
const O = Math.min(m, p);
|
|
117
|
+
l && !f(d) && (i = u(i, g)), c.push(d);
|
|
118
|
+
for (let e = 0; e < O; e++) {
|
|
119
|
+
const r = i[e], u = $(r, d, c, s, y, b);
|
|
120
|
+
void 0 !== u && (t += `${S}${o(r)}:${w}${u}`, S = n);
|
|
121
|
+
}
|
|
122
|
+
if (m > p) {
|
|
123
|
+
t += `${S}"...":${w}"${a(m - p)} not stringified"`, S = n;
|
|
124
|
+
}
|
|
125
|
+
return "" !== y && S.length > 1 && (t = `\n${b}${t}\n${e}`), c.pop(), `{${t}}`;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
case "number":
|
|
129
|
+
return isFinite(d) ? String(d) : n ? n(d) : "null";
|
|
130
|
+
|
|
131
|
+
case "boolean":
|
|
132
|
+
return !0 === d ? "true" : "false";
|
|
133
|
+
|
|
134
|
+
case "undefined":
|
|
135
|
+
return;
|
|
136
|
+
|
|
137
|
+
case "bigint":
|
|
138
|
+
if (i) return String(d);
|
|
139
|
+
|
|
140
|
+
default:
|
|
141
|
+
return n ? n(d) : void 0;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function y(t, e, u, l, f, c) {
|
|
145
|
+
switch ("object" == typeof e && null !== e && "function" == typeof e.toJSON && (e = e.toJSON(t)),
|
|
146
|
+
typeof e) {
|
|
147
|
+
case "string":
|
|
148
|
+
return o(e);
|
|
149
|
+
|
|
150
|
+
case "object":
|
|
151
|
+
{
|
|
152
|
+
if (null === e) return "null";
|
|
153
|
+
if (-1 !== u.indexOf(e)) return r;
|
|
154
|
+
const t = c;
|
|
155
|
+
let n = "", i = ",";
|
|
156
|
+
if (Array.isArray(e)) {
|
|
157
|
+
if (0 === e.length) return "[]";
|
|
158
|
+
if (h < u.length + 1) return '"[Array]"';
|
|
159
|
+
u.push(e), "" !== f && (n += `\n${c += f}`, i = `,\n${c}`);
|
|
160
|
+
const r = Math.min(e.length, p);
|
|
161
|
+
let o = 0;
|
|
162
|
+
for (;o < r - 1; o++) {
|
|
163
|
+
const t = y(String(o), e[o], u, l, f, c);
|
|
164
|
+
n += void 0 !== t ? t : "null", n += i;
|
|
165
|
+
}
|
|
166
|
+
const s = y(String(o), e[o], u, l, f, c);
|
|
167
|
+
if (n += void 0 !== s ? s : "null", e.length - 1 > p) {
|
|
168
|
+
n += `${i}"... ${a(e.length - p - 1)} not stringified"`;
|
|
169
|
+
}
|
|
170
|
+
return "" !== f && (n += `\n${t}`), u.pop(), `[${n}]`;
|
|
171
|
+
}
|
|
172
|
+
u.push(e);
|
|
173
|
+
let s = "";
|
|
174
|
+
"" !== f && (i = `,\n${c += f}`, s = " ");
|
|
175
|
+
let g = "";
|
|
176
|
+
for (const t of l) {
|
|
177
|
+
const r = y(t, e[t], u, l, f, c);
|
|
178
|
+
void 0 !== r && (n += `${g}${o(t)}:${s}${r}`, g = i);
|
|
179
|
+
}
|
|
180
|
+
return "" !== f && g.length > 1 && (n = `\n${c}${n}\n${t}`), u.pop(), `{${n}}`;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
case "number":
|
|
184
|
+
return isFinite(e) ? String(e) : n ? n(e) : "null";
|
|
185
|
+
|
|
186
|
+
case "boolean":
|
|
187
|
+
return !0 === e ? "true" : "false";
|
|
188
|
+
|
|
189
|
+
case "undefined":
|
|
190
|
+
return;
|
|
191
|
+
|
|
192
|
+
case "bigint":
|
|
193
|
+
if (i) return String(e);
|
|
194
|
+
|
|
195
|
+
default:
|
|
196
|
+
return n ? n(e) : void 0;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
function b(t, e, s, $, y) {
|
|
200
|
+
switch (typeof e) {
|
|
201
|
+
case "string":
|
|
202
|
+
return o(e);
|
|
203
|
+
|
|
204
|
+
case "object":
|
|
205
|
+
{
|
|
206
|
+
if (null === e) return "null";
|
|
207
|
+
if ("function" == typeof e.toJSON) {
|
|
208
|
+
if ("object" != typeof (e = e.toJSON(t))) return b(t, e, s, $, y);
|
|
209
|
+
if (null === e) return "null";
|
|
210
|
+
}
|
|
211
|
+
if (-1 !== s.indexOf(e)) return r;
|
|
212
|
+
const n = y;
|
|
213
|
+
if (Array.isArray(e)) {
|
|
214
|
+
if (0 === e.length) return "[]";
|
|
215
|
+
if (h < s.length + 1) return '"[Array]"';
|
|
216
|
+
s.push(e);
|
|
217
|
+
let t = `\n${y += $}`;
|
|
218
|
+
const r = `,\n${y}`, i = Math.min(e.length, p);
|
|
219
|
+
let o = 0;
|
|
220
|
+
for (;o < i - 1; o++) {
|
|
221
|
+
const n = b(String(o), e[o], s, $, y);
|
|
222
|
+
t += void 0 !== n ? n : "null", t += r;
|
|
223
|
+
}
|
|
224
|
+
const u = b(String(o), e[o], s, $, y);
|
|
225
|
+
if (t += void 0 !== u ? u : "null", e.length - 1 > p) {
|
|
226
|
+
t += `${r}"... ${a(e.length - p - 1)} not stringified"`;
|
|
227
|
+
}
|
|
228
|
+
return t += `\n${n}`, s.pop(), `[${t}]`;
|
|
229
|
+
}
|
|
230
|
+
let i = Object.keys(e);
|
|
231
|
+
const d = i.length;
|
|
232
|
+
if (0 === d) return "{}";
|
|
233
|
+
if (h < s.length + 1) return '"[Object]"';
|
|
234
|
+
const m = `,\n${y += $}`;
|
|
235
|
+
let w = "", S = "", O = Math.min(d, p);
|
|
236
|
+
f(e) && (w += c(e, m, p), i = i.slice(e.length), O -= e.length, S = m), l && (i = u(i, g)),
|
|
237
|
+
s.push(e);
|
|
238
|
+
for (let t = 0; t < O; t++) {
|
|
239
|
+
const n = i[t], r = b(n, e[n], s, $, y);
|
|
240
|
+
void 0 !== r && (w += `${S}${o(n)}: ${r}`, S = m);
|
|
241
|
+
}
|
|
242
|
+
if (d > p) {
|
|
243
|
+
w += `${S}"...": "${a(d - p)} not stringified"`, S = m;
|
|
244
|
+
}
|
|
245
|
+
return "" !== S && (w = `\n${y}${w}\n${n}`), s.pop(), `{${w}}`;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
case "number":
|
|
249
|
+
return isFinite(e) ? String(e) : n ? n(e) : "null";
|
|
250
|
+
|
|
251
|
+
case "boolean":
|
|
252
|
+
return !0 === e ? "true" : "false";
|
|
253
|
+
|
|
254
|
+
case "undefined":
|
|
255
|
+
return;
|
|
256
|
+
|
|
257
|
+
case "bigint":
|
|
258
|
+
if (i) return String(e);
|
|
259
|
+
|
|
260
|
+
default:
|
|
261
|
+
return n ? n(e) : void 0;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
function d(t, e, s) {
|
|
265
|
+
switch (typeof e) {
|
|
266
|
+
case "string":
|
|
267
|
+
return o(e);
|
|
268
|
+
|
|
269
|
+
case "object":
|
|
270
|
+
{
|
|
271
|
+
if (null === e) return "null";
|
|
272
|
+
if ("function" == typeof e.toJSON) {
|
|
273
|
+
if ("object" != typeof (e = e.toJSON(t))) return d(t, e, s);
|
|
274
|
+
if (null === e) return "null";
|
|
275
|
+
}
|
|
276
|
+
if (-1 !== s.indexOf(e)) return r;
|
|
277
|
+
let n = "";
|
|
278
|
+
const i = void 0 !== e.length;
|
|
279
|
+
if (i && Array.isArray(e)) {
|
|
280
|
+
if (0 === e.length) return "[]";
|
|
281
|
+
if (h < s.length + 1) return '"[Array]"';
|
|
282
|
+
s.push(e);
|
|
283
|
+
const t = Math.min(e.length, p);
|
|
284
|
+
let r = 0;
|
|
285
|
+
for (;r < t - 1; r++) {
|
|
286
|
+
const t = d(String(r), e[r], s);
|
|
287
|
+
n += void 0 !== t ? t : "null", n += ",";
|
|
288
|
+
}
|
|
289
|
+
const i = d(String(r), e[r], s);
|
|
290
|
+
if (n += void 0 !== i ? i : "null", e.length - 1 > p) {
|
|
291
|
+
n += `,"... ${a(e.length - p - 1)} not stringified"`;
|
|
292
|
+
}
|
|
293
|
+
return s.pop(), `[${n}]`;
|
|
294
|
+
}
|
|
295
|
+
let $ = Object.keys(e);
|
|
296
|
+
const y = $.length;
|
|
297
|
+
if (0 === y) return "{}";
|
|
298
|
+
if (h < s.length + 1) return '"[Object]"';
|
|
299
|
+
let b = "", m = Math.min(y, p);
|
|
300
|
+
i && f(e) && (n += c(e, ",", p), $ = $.slice(e.length), m -= e.length, b = ","),
|
|
301
|
+
l && ($ = u($, g)), s.push(e);
|
|
302
|
+
for (let t = 0; t < m; t++) {
|
|
303
|
+
const r = $[t], i = d(r, e[r], s);
|
|
304
|
+
void 0 !== i && (n += `${b}${o(r)}:${i}`, b = ",");
|
|
305
|
+
}
|
|
306
|
+
if (y > p) {
|
|
307
|
+
n += `${b}"...":"${a(y - p)} not stringified"`;
|
|
308
|
+
}
|
|
309
|
+
return s.pop(), `{${n}}`;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
case "number":
|
|
313
|
+
return isFinite(e) ? String(e) : n ? n(e) : "null";
|
|
314
|
+
|
|
315
|
+
case "boolean":
|
|
316
|
+
return !0 === e ? "true" : "false";
|
|
317
|
+
|
|
318
|
+
case "undefined":
|
|
319
|
+
return;
|
|
320
|
+
|
|
321
|
+
case "bigint":
|
|
322
|
+
if (i) return String(e);
|
|
323
|
+
|
|
324
|
+
default:
|
|
325
|
+
return n ? n(e) : void 0;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
return function(t, n, e) {
|
|
329
|
+
if (arguments.length > 1) {
|
|
330
|
+
let r = "";
|
|
331
|
+
if ("number" == typeof e ? r = " ".repeat(Math.min(e, 10)) : "string" == typeof e && (r = e.slice(0, 10)),
|
|
332
|
+
null != n) {
|
|
333
|
+
if ("function" == typeof n) return $("", {
|
|
334
|
+
"": t
|
|
335
|
+
}, [], n, r, "");
|
|
336
|
+
if (Array.isArray(n)) return y("", t, [], function(t) {
|
|
337
|
+
const n = new Set;
|
|
338
|
+
for (const e of t) "string" != typeof e && "number" != typeof e || n.add(String(e));
|
|
339
|
+
return n;
|
|
340
|
+
}(n), r, "");
|
|
341
|
+
}
|
|
342
|
+
if (0 !== r.length) return b("", t, [], r, "");
|
|
343
|
+
}
|
|
344
|
+
return d("", t, []);
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
482: (t, n, e) => {
|
|
349
|
+
var r = e(68);
|
|
350
|
+
r.configure;
|
|
351
|
+
globalThis.self;
|
|
352
|
+
}
|
|
353
|
+
}, t => {
|
|
354
|
+
var n;
|
|
355
|
+
n = 482, t(t.s = n);
|
|
356
|
+
} ]);
|
|
Binary file
|
package/legal/LICENSE.md
CHANGED
package/legal/PRIVACY.md
CHANGED
package/legal/TERMS.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@networkpro/web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Locking Down Networks, Unlocking Confidence — Network Pro",
|
|
6
6
|
"keywords": [
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"test": "test"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"test": "mocha",
|
|
34
|
+
"test": "mocha test/**/*.mjs",
|
|
35
|
+
"test:coverage": "c8 mocha test/**/*.mjs",
|
|
35
36
|
"lint": "npx eslint && prettier --check .",
|
|
36
37
|
"fix": "npx eslint --fix && prettier --write .",
|
|
37
38
|
"clean": "rm -rf dist/* && npm update",
|
|
@@ -45,9 +46,11 @@
|
|
|
45
46
|
"astroturf-loader": "^1.0.0",
|
|
46
47
|
"autoprefixer": "^10.4.20",
|
|
47
48
|
"browserslist": "^4.24.4",
|
|
49
|
+
"c8": "^10.1.3",
|
|
48
50
|
"globalthis": "^1.0.4",
|
|
49
51
|
"normalize.css": "^8.0.1",
|
|
50
|
-
"postcss-cli": "^11.0.0"
|
|
52
|
+
"postcss-cli": "^11.0.0",
|
|
53
|
+
"safe-stable-stringify": "^2.5.0"
|
|
51
54
|
},
|
|
52
55
|
"devDependencies": {
|
|
53
56
|
"@babel/core": "^7.26.9",
|
package/robots.txt
CHANGED
package/sitemap.xml
CHANGED