jmash-core 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -52
- package/dist/{401-B2rrSASz.mjs → 401-uY9Y-mJm.mjs} +3 -3
- package/dist/{404-2zUjBTeD.mjs → 404-CyHTRvMF.mjs} +3 -3
- package/dist/{BarChart-CUqL43_r.mjs → BarChart-Bso-9T3d.mjs} +3 -3
- package/dist/{FunnelChart-DPisFRDu.mjs → FunnelChart-Ci14WUay.mjs} +1 -1
- package/dist/{PieChart-Ceza7eIr.mjs → PieChart-C60V9Kgc.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CjKWzA-2.mjs → PieChart.vue_vue_type_script_setup_true_lang-D1-1NDvg.mjs} +1 -1
- package/dist/{RadarChart-Dvq6tgrV.mjs → RadarChart-BBq1VxXC.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DxP18bev.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BNLujpKR.mjs} +1 -1
- package/dist/{index-D5Fo3f2g.mjs → index-B3bBQvl1.mjs} +164 -200
- package/dist/{index-B6OqjWxw.mjs → index-BgCGIfHe.mjs} +122 -239
- package/dist/{index-xq7nUfWe.mjs → index-BhTGHn1a.mjs} +424 -434
- package/dist/{index-CyvpXHZV.mjs → index-e-2Meq7o.mjs} +7 -7
- package/dist/{index-BcKChmRZ.mjs → index-nFD-4eMS.mjs} +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{profile-0t1TF_h6.mjs → profile-DDI3ULYw.mjs} +2 -2
- package/dist/{runAs-CQsoOzCP.mjs → runAs-Bv1uzdbN.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-vTFxZ-Iz.mjs → runAs.vue_vue_type_script_setup_true_lang-BtZwf5_h.mjs} +122 -118
- package/dist/style.css +1 -1
- package/dist/{types-D0phGUIX.mjs → types-CWVisbCo.mjs} +1 -1
- package/dist/{updatePwd-D9beeBas.mjs → updatePwd-CMlw0Uaf.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-TsNgGuut.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DCLZb4OE.mjs} +1 -1
- package/dts/src/api/index.d.ts +1 -4
- package/dts/src/components/Pagination/index.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dts/src/api/system/dept/index.d.ts +0 -91
- package/dts/src/api/system/dept/types.d.ts +0 -63
- package/dts/src/api/system/index.d.ts +0 -7
- package/dts/src/api/system/job/index.d.ts +0 -42
- package/dts/src/api/system/job/types.d.ts +0 -60
- package/dts/src/api/system/log/index.d.ts +0 -29
- package/dts/src/api/system/log/types.d.ts +0 -42
- package/dts/src/api/system/menu/index.d.ts +0 -103
- package/dts/src/api/system/menu/types.d.ts +0 -96
- package/dts/src/api/system/module/index.d.ts +0 -57
- package/dts/src/api/system/module/types.d.ts +0 -13
- package/dts/src/api/system/operation/index.d.ts +0 -51
- package/dts/src/api/system/operation/types.d.ts +0 -12
- package/dts/src/api/system/permission/index.d.ts +0 -50
- package/dts/src/api/system/permission/types.d.ts +0 -12
- package/dts/src/api/system/role/index.d.ts +0 -77
- package/dts/src/api/system/role/types.d.ts +0 -26
- package/dts/src/api/system/user/index.d.ts +0 -133
- package/dts/src/api/system/user/types.d.ts +0 -53
- package/dts/src/api/system/userLog/index.d.ts +0 -29
- package/dts/src/api/system/userLog/types.d.ts +0 -22
- package/dts/src/assets/components/a-fixed.vue.d.ts +0 -2
- package/dts/src/assets/components/a-list.vue.d.ts +0 -2
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +0 -2
- package/dts/src/assets/components/api.vue.d.ts +0 -2
- package/dts/src/assets/components/bumenguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +0 -2
- package/dts/src/assets/components/captcha.vue.d.ts +0 -2
- package/dts/src/assets/components/cascader.vue.d.ts +0 -2
- package/dts/src/assets/components/client.vue.d.ts +0 -2
- package/dts/src/assets/components/close-all.vue.d.ts +0 -2
- package/dts/src/assets/components/close-left.vue.d.ts +0 -2
- package/dts/src/assets/components/close-other.vue.d.ts +0 -2
- package/dts/src/assets/components/close-right.vue.d.ts +0 -2
- package/dts/src/assets/components/close.vue.d.ts +0 -2
- package/dts/src/assets/components/dict.vue.d.ts +0 -2
- package/dts/src/assets/components/document.vue.d.ts +0 -2
- package/dts/src/assets/components/download.vue.d.ts +0 -2
- package/dts/src/assets/components/drag.vue.d.ts +0 -2
- package/dts/src/assets/components/edit.vue.d.ts +0 -2
- package/dts/src/assets/components/email.vue.d.ts +0 -2
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +0 -2
- package/dts/src/assets/components/eye-open.vue.d.ts +0 -2
- package/dts/src/assets/components/eye.vue.d.ts +0 -2
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +0 -2
- package/dts/src/assets/components/fullscreen.vue.d.ts +0 -2
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/github.vue.d.ts +0 -2
- package/dts/src/assets/components/homepage.vue.d.ts +0 -2
- package/dts/src/assets/components/icon-eye.vue.d.ts +0 -2
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +0 -2
- package/dts/src/assets/components/icon.vue.d.ts +0 -2
- package/dts/src/assets/components/indent-decrease.vue.d.ts +0 -2
- package/dts/src/assets/components/ip.vue.d.ts +0 -2
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +0 -2
- package/dts/src/assets/components/language.vue.d.ts +0 -2
- package/dts/src/assets/components/link.vue.d.ts +0 -2
- package/dts/src/assets/components/lock.vue.d.ts +0 -2
- package/dts/src/assets/components/log.vue.d.ts +0 -2
- package/dts/src/assets/components/menu.vue.d.ts +0 -2
- package/dts/src/assets/components/message.vue.d.ts +0 -2
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/money.vue.d.ts +0 -2
- package/dts/src/assets/components/monitor.vue.d.ts +0 -2
- package/dts/src/assets/components/moon.vue.d.ts +0 -2
- package/dts/src/assets/components/order.vue.d.ts +0 -2
- package/dts/src/assets/components/password.vue.d.ts +0 -2
- package/dts/src/assets/components/peoples.vue.d.ts +0 -2
- package/dts/src/assets/components/phone.vue.d.ts +0 -2
- package/dts/src/assets/components/project.vue.d.ts +0 -2
- package/dts/src/assets/components/publish.vue.d.ts +0 -2
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/redis.vue.d.ts +0 -2
- package/dts/src/assets/components/refresh.vue.d.ts +0 -2
- package/dts/src/assets/components/role.vue.d.ts +0 -2
- package/dts/src/assets/components/security.vue.d.ts +0 -2
- package/dts/src/assets/components/setting.vue.d.ts +0 -2
- package/dts/src/assets/components/shoujihao.vue.d.ts +0 -2
- package/dts/src/assets/components/shrink.vue.d.ts +0 -2
- package/dts/src/assets/components/size.vue.d.ts +0 -2
- package/dts/src/assets/components/sunny.vue.d.ts +0 -2
- package/dts/src/assets/components/system.vue.d.ts +0 -2
- package/dts/src/assets/components/table.vue.d.ts +0 -2
- package/dts/src/assets/components/team.vue.d.ts +0 -2
- package/dts/src/assets/components/todolist.vue.d.ts +0 -2
- package/dts/src/assets/components/tree.vue.d.ts +0 -2
- package/dts/src/assets/components/user.vue.d.ts +0 -2
- package/dts/src/assets/components/visit.vue.d.ts +0 -2
- package/dts/src/assets/components/xingming.vue.d.ts +0 -2
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +0 -2
- package/dts/src/assets/components/youxiang.vue.d.ts +0 -2
- package/dts/src/components/TableSet/index.vue.d.ts +0 -30
- package/dts/src/hooks/useColumnToggleTable.d.ts +0 -7
- package/dts/src/views/system/dept/edit.vue.d.ts +0 -31
- package/dts/src/views/system/dept/index.vue.d.ts +0 -2
- package/dts/src/views/system/job/edit.vue.d.ts +0 -30
- package/dts/src/views/system/job/index.vue.d.ts +0 -2
- package/dts/src/views/system/log/oplog/index.vue.d.ts +0 -2
- package/dts/src/views/system/log/userLog/index.vue.d.ts +0 -2
- package/dts/src/views/system/menu/edit.vue.d.ts +0 -31
- package/dts/src/views/system/menu/index.vue.d.ts +0 -2
- package/dts/src/views/system/module/edit.vue.d.ts +0 -31
- package/dts/src/views/system/module/index.vue.d.ts +0 -2
- package/dts/src/views/system/operation/edit.vue.d.ts +0 -31
- package/dts/src/views/system/operation/index.vue.d.ts +0 -2
- package/dts/src/views/system/permission/edit.vue.d.ts +0 -30
- package/dts/src/views/system/permission/index.vue.d.ts +0 -2
- package/dts/src/views/system/role/edit.vue.d.ts +0 -31
- package/dts/src/views/system/role/index.vue.d.ts +0 -2
- package/dts/src/views/system/user/edit.vue.d.ts +0 -31
- package/dts/src/views/system/user/index.vue.d.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var Z3 = Object.defineProperty;
|
|
2
2
|
var J3 = (e, t, r) => t in e ? Z3(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
-
var f0 = (e, t, r) =>
|
|
3
|
+
var f0 = (e, t, r) => J3(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import { reactive as E2, ref as e0, getCurrentScope as x6, onScopeDispose as m6, unref as Y, onMounted as qe, nextTick as v1, isRef as D2, readonly as g6, getCurrentInstance as R2, watch as Z0, shallowRef as er, computed as u0, watchEffect as w6, defineComponent as y, openBlock as x, createElementBlock as C, createElementVNode as s, createStaticVNode as x1, resolveComponent as m0, createBlock as w0, withCtx as h0, createCommentVNode as F2, Fragment as v2, renderList as M2, renderSlot as G2, resolveDynamicComponent as y6, normalizeStyle as Et, mergeModels as Ct, useModel as Bt, createVNode as g0, createTextVNode as U2, toDisplayString as h2, normalizeClass as A2, withModifiers as C6, createSlots as B6, toRef as tr, withDirectives as Te, vShow as _1, onBeforeMount as rr, toRefs as m1, warn as ar, inject as le, provide as nr, mergeProps as or, Transition as b6, shallowReactive as sr, isVNode as A6, render as Kt, resolveDirective as ir } from "vue";
|
|
5
5
|
import lr from "axios";
|
|
6
6
|
import { defineStore as $e, createPinia as cr } from "pinia";
|
|
@@ -28,9 +28,9 @@ const fr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAA
|
|
|
28
28
|
APP_API_URL: "/",
|
|
29
29
|
APP_BASE_API: "/",
|
|
30
30
|
APP_CLIENT_ID: "pc_vue3"
|
|
31
|
-
}), g1 = /* @__PURE__ */ new Map(), E6 = [], vr = () => import("./index-
|
|
31
|
+
}), g1 = /* @__PURE__ */ new Map(), E6 = [], vr = () => import("./index-BhTGHn1a.mjs");
|
|
32
32
|
g1.set("Layout", vr);
|
|
33
|
-
const xr = /* @__PURE__ */ Object.assign({ "./views/dashboard/components/BarChart.vue": () => import("./BarChart-
|
|
33
|
+
const xr = /* @__PURE__ */ Object.assign({ "./views/dashboard/components/BarChart.vue": () => import("./BarChart-Bso-9T3d.mjs"), "./views/dashboard/components/FunnelChart.vue": () => import("./FunnelChart-Ci14WUay.mjs"), "./views/dashboard/components/PieChart.vue": () => import("./PieChart-C60V9Kgc.mjs"), "./views/dashboard/components/RadarChart.vue": () => import("./RadarChart-BBq1VxXC.mjs"), "./views/dashboard/index.vue": () => import("./index-e-2Meq7o.mjs"), "./views/error-page/401.vue": () => import("./401-uY9Y-mJm.mjs"), "./views/error-page/404.vue": () => import("./404-CyHTRvMF.mjs"), "./views/login/components/types.vue": () => import("./types-CWVisbCo.mjs"), "./views/login/index.vue": () => import("./index-nFD-4eMS.mjs"), "./views/my/profile.vue": () => import("./profile-DDI3ULYw.mjs"), "./views/my/runAs.vue": () => import("./runAs-Bv1uzdbN.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-CMlw0Uaf.mjs"), "./views/redirect/index.vue": () => import("./index-uykKwY2Z.mjs") });
|
|
34
34
|
mr(xr, 7);
|
|
35
35
|
function mr(e, t) {
|
|
36
36
|
for (const r in e)
|
|
@@ -84,8 +84,7 @@ function Xw() {
|
|
|
84
84
|
return e;
|
|
85
85
|
}
|
|
86
86
|
function Xt(e, ...t) {
|
|
87
|
-
if (!t.length)
|
|
88
|
-
return e;
|
|
87
|
+
if (!t.length) return e;
|
|
89
88
|
const r = t.shift();
|
|
90
89
|
if (S1(e) && S1(r))
|
|
91
90
|
for (const a in r)
|
|
@@ -223,7 +222,7 @@ function iy() {
|
|
|
223
222
|
params: e
|
|
224
223
|
});
|
|
225
224
|
}
|
|
226
|
-
const H1 = () => import("./index-
|
|
225
|
+
const H1 = () => import("./index-BhTGHn1a.mjs"), zr = () => import("./index-nFD-4eMS.mjs"), Er = () => import("./types-CWVisbCo.mjs"), Dr = () => import("./profile-DDI3ULYw.mjs"), Mr = () => import("./401-uY9Y-mJm.mjs"), Sr = () => import("./404-CyHTRvMF.mjs"), Hr = () => import("./index-e-2Meq7o.mjs"), Vr = () => import("./index-uykKwY2Z.mjs"), M6 = [
|
|
227
226
|
{
|
|
228
227
|
path: "/redirect",
|
|
229
228
|
component: H1,
|
|
@@ -1599,8 +1598,7 @@ function X0(e, t, r, a = {}) {
|
|
|
1599
1598
|
if (!z && u) {
|
|
1600
1599
|
const P = d.read(D);
|
|
1601
1600
|
return typeof u == "function" ? u(P, b) : A === "object" && !Array.isArray(P) ? { ...b, ...P } : P;
|
|
1602
|
-
} else
|
|
1603
|
-
return typeof D != "string" ? D : d.read(D);
|
|
1601
|
+
} else return typeof D != "string" ? D : d.read(D);
|
|
1604
1602
|
}
|
|
1605
1603
|
function L(z) {
|
|
1606
1604
|
if (!(z && z.storageArea !== r)) {
|
|
@@ -2511,16 +2509,14 @@ function O6(e) {
|
|
|
2511
2509
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2512
2510
|
}
|
|
2513
2511
|
function xa(e) {
|
|
2514
|
-
if (e.__esModule)
|
|
2515
|
-
return e;
|
|
2512
|
+
if (e.__esModule) return e;
|
|
2516
2513
|
var t = e.default;
|
|
2517
2514
|
if (typeof t == "function") {
|
|
2518
2515
|
var r = function a() {
|
|
2519
2516
|
return this instanceof a ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
|
|
2520
2517
|
};
|
|
2521
2518
|
r.prototype = t.prototype;
|
|
2522
|
-
} else
|
|
2523
|
-
r = {};
|
|
2519
|
+
} else r = {};
|
|
2524
2520
|
return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(a) {
|
|
2525
2521
|
var n = Object.getOwnPropertyDescriptor(e, a);
|
|
2526
2522
|
Object.defineProperty(r, a, n.get ? n : {
|
|
@@ -2567,12 +2563,9 @@ var N6 = { exports: {} };
|
|
|
2567
2563
|
var g = 52;
|
|
2568
2564
|
o.prototype.FV = Math.pow(2, g), o.prototype.F1 = g - r, o.prototype.F2 = 2 * r - g;
|
|
2569
2565
|
var i = "0123456789abcdefghijklmnopqrstuvwxyz", l = new Array(), p, w;
|
|
2570
|
-
for (p = 48, w = 0; w <= 9; ++w)
|
|
2571
|
-
|
|
2572
|
-
for (p =
|
|
2573
|
-
l[p++] = w;
|
|
2574
|
-
for (p = 65, w = 10; w < 36; ++w)
|
|
2575
|
-
l[p++] = w;
|
|
2566
|
+
for (p = 48, w = 0; w <= 9; ++w) l[p++] = w;
|
|
2567
|
+
for (p = 97, w = 10; w < 36; ++w) l[p++] = w;
|
|
2568
|
+
for (p = 65, w = 10; w < 36; ++w) l[p++] = w;
|
|
2576
2569
|
function b(f) {
|
|
2577
2570
|
return i.charAt(f);
|
|
2578
2571
|
}
|
|
@@ -2581,8 +2574,7 @@ var N6 = { exports: {} };
|
|
|
2581
2574
|
return E ?? -1;
|
|
2582
2575
|
}
|
|
2583
2576
|
function d(f) {
|
|
2584
|
-
for (var B = this.t - 1; B >= 0; --B)
|
|
2585
|
-
f[B] = this[B];
|
|
2577
|
+
for (var B = this.t - 1; B >= 0; --B) f[B] = this[B];
|
|
2586
2578
|
f.t = this.t, f.s = this.s;
|
|
2587
2579
|
}
|
|
2588
2580
|
function m(f) {
|
|
@@ -2594,18 +2586,12 @@ var N6 = { exports: {} };
|
|
|
2594
2586
|
}
|
|
2595
2587
|
function M(f, B) {
|
|
2596
2588
|
var E;
|
|
2597
|
-
if (B == 16)
|
|
2598
|
-
|
|
2599
|
-
else if (B == 8
|
|
2600
|
-
|
|
2601
|
-
else if (B ==
|
|
2602
|
-
|
|
2603
|
-
else if (B == 2)
|
|
2604
|
-
E = 1;
|
|
2605
|
-
else if (B == 32)
|
|
2606
|
-
E = 5;
|
|
2607
|
-
else if (B == 4)
|
|
2608
|
-
E = 2;
|
|
2589
|
+
if (B == 16) E = 4;
|
|
2590
|
+
else if (B == 8) E = 3;
|
|
2591
|
+
else if (B == 256) E = 8;
|
|
2592
|
+
else if (B == 2) E = 1;
|
|
2593
|
+
else if (B == 32) E = 5;
|
|
2594
|
+
else if (B == 4) E = 2;
|
|
2609
2595
|
else {
|
|
2610
2596
|
this.fromRadix(f, B);
|
|
2611
2597
|
return;
|
|
@@ -2622,25 +2608,17 @@ var N6 = { exports: {} };
|
|
|
2622
2608
|
E == 8 && f[0] & 128 && (this.s = -1, j > 0 && (this[this.t - 1] |= (1 << this.DB - j) - 1 << j)), this.clamp(), q && o.ZERO.subTo(this, this);
|
|
2623
2609
|
}
|
|
2624
2610
|
function V() {
|
|
2625
|
-
for (var f = this.s & this.DM; this.t > 0 && this[this.t - 1] == f; )
|
|
2626
|
-
--this.t;
|
|
2611
|
+
for (var f = this.s & this.DM; this.t > 0 && this[this.t - 1] == f; ) --this.t;
|
|
2627
2612
|
}
|
|
2628
2613
|
function H(f) {
|
|
2629
|
-
if (this.s < 0)
|
|
2630
|
-
return "-" + this.negate().toString(f);
|
|
2614
|
+
if (this.s < 0) return "-" + this.negate().toString(f);
|
|
2631
2615
|
var B;
|
|
2632
|
-
if (f == 16)
|
|
2633
|
-
|
|
2634
|
-
else if (f ==
|
|
2635
|
-
|
|
2636
|
-
else if (f == 2
|
|
2637
|
-
|
|
2638
|
-
else if (f == 32)
|
|
2639
|
-
B = 5;
|
|
2640
|
-
else if (f == 4)
|
|
2641
|
-
B = 2;
|
|
2642
|
-
else
|
|
2643
|
-
return this.toRadix(f);
|
|
2616
|
+
if (f == 16) B = 4;
|
|
2617
|
+
else if (f == 8) B = 3;
|
|
2618
|
+
else if (f == 2) B = 1;
|
|
2619
|
+
else if (f == 32) B = 5;
|
|
2620
|
+
else if (f == 4) B = 2;
|
|
2621
|
+
else return this.toRadix(f);
|
|
2644
2622
|
var E = (1 << B) - 1, I, q = !1, j = "", K = this.t, J = this.DB - K * this.DB % B;
|
|
2645
2623
|
if (K-- > 0)
|
|
2646
2624
|
for (J < this.DB && (I = this[K] >> J) > 0 && (q = !0, j = b(I)); K >= 0; )
|
|
@@ -2656,14 +2634,10 @@ var N6 = { exports: {} };
|
|
|
2656
2634
|
}
|
|
2657
2635
|
function z(f) {
|
|
2658
2636
|
var B = this.s - f.s;
|
|
2659
|
-
if (B != 0)
|
|
2660
|
-
return B;
|
|
2637
|
+
if (B != 0) return B;
|
|
2661
2638
|
var E = this.t;
|
|
2662
|
-
if (B = E - f.t, B != 0)
|
|
2663
|
-
|
|
2664
|
-
for (; --E >= 0; )
|
|
2665
|
-
if ((B = this[E] - f[E]) != 0)
|
|
2666
|
-
return B;
|
|
2639
|
+
if (B = E - f.t, B != 0) return this.s < 0 ? -B : B;
|
|
2640
|
+
for (; --E >= 0; ) if ((B = this[E] - f[E]) != 0) return B;
|
|
2667
2641
|
return 0;
|
|
2668
2642
|
}
|
|
2669
2643
|
function D(f) {
|
|
@@ -2675,23 +2649,19 @@ var N6 = { exports: {} };
|
|
|
2675
2649
|
}
|
|
2676
2650
|
function T(f, B) {
|
|
2677
2651
|
var E;
|
|
2678
|
-
for (E = this.t - 1; E >= 0; --E)
|
|
2679
|
-
|
|
2680
|
-
for (E = f - 1; E >= 0; --E)
|
|
2681
|
-
B[E] = 0;
|
|
2652
|
+
for (E = this.t - 1; E >= 0; --E) B[E + f] = this[E];
|
|
2653
|
+
for (E = f - 1; E >= 0; --E) B[E] = 0;
|
|
2682
2654
|
B.t = this.t + f, B.s = this.s;
|
|
2683
2655
|
}
|
|
2684
2656
|
function N(f, B) {
|
|
2685
|
-
for (var E = f; E < this.t; ++E)
|
|
2686
|
-
B[E - f] = this[E];
|
|
2657
|
+
for (var E = f; E < this.t; ++E) B[E - f] = this[E];
|
|
2687
2658
|
B.t = Math.max(this.t - f, 0), B.s = this.s;
|
|
2688
2659
|
}
|
|
2689
2660
|
function $(f, B) {
|
|
2690
2661
|
var E = f % this.DB, I = this.DB - E, q = (1 << I) - 1, j = Math.floor(f / this.DB), K = this.s << E & this.DM, J;
|
|
2691
2662
|
for (J = this.t - 1; J >= 0; --J)
|
|
2692
2663
|
B[J + j + 1] = this[J] >> I | K, K = (this[J] & q) << E;
|
|
2693
|
-
for (J = j - 1; J >= 0; --J)
|
|
2694
|
-
B[J] = 0;
|
|
2664
|
+
for (J = j - 1; J >= 0; --J) B[J] = 0;
|
|
2695
2665
|
B[j] = K, B.t = this.t + j + 1, B.s = this.s, B.clamp();
|
|
2696
2666
|
}
|
|
2697
2667
|
function G(f, B) {
|
|
@@ -2723,15 +2693,12 @@ var N6 = { exports: {} };
|
|
|
2723
2693
|
}
|
|
2724
2694
|
function Q(f, B) {
|
|
2725
2695
|
var E = this.abs(), I = f.abs(), q = E.t;
|
|
2726
|
-
for (B.t = q + I.t; --q >= 0; )
|
|
2727
|
-
|
|
2728
|
-
for (q = 0; q < I.t; ++q)
|
|
2729
|
-
B[q + E.t] = E.am(0, I[q], B, q, 0, E.t);
|
|
2696
|
+
for (B.t = q + I.t; --q >= 0; ) B[q] = 0;
|
|
2697
|
+
for (q = 0; q < I.t; ++q) B[q + E.t] = E.am(0, I[q], B, q, 0, E.t);
|
|
2730
2698
|
B.s = 0, B.clamp(), this.s != f.s && o.ZERO.subTo(B, B);
|
|
2731
2699
|
}
|
|
2732
2700
|
function p0(f) {
|
|
2733
|
-
for (var B = this.abs(), E = f.t = 2 * B.t; --E >= 0; )
|
|
2734
|
-
f[E] = 0;
|
|
2701
|
+
for (var B = this.abs(), E = f.t = 2 * B.t; --E >= 0; ) f[E] = 0;
|
|
2735
2702
|
for (E = 0; E < B.t - 1; ++E) {
|
|
2736
2703
|
var I = B.am(E, B[E], f, 2 * E, 0, 1);
|
|
2737
2704
|
(f[E + B.t] += B.am(E + 1, 2 * B[E], f, 2 * E + 1, I, B.t - E - 1)) >= B.DV && (f[E + B.t] -= B.DV, f[E + B.t + 1] = 1);
|
|
@@ -2752,13 +2719,11 @@ var N6 = { exports: {} };
|
|
|
2752
2719
|
var L0 = j.t, n2 = j[L0 - 1];
|
|
2753
2720
|
if (n2 != 0) {
|
|
2754
2721
|
var t2 = n2 * (1 << this.F1) + (L0 > 1 ? j[L0 - 2] >> this.F2 : 0), I2 = this.FV / t2, e1 = (1 << this.F1) / t2, c2 = 1 << this.F2, u2 = E.t, t1 = u2 - L0, k2 = B ?? _();
|
|
2755
|
-
for (j.dlShiftTo(t1, k2), E.compareTo(k2) >= 0 && (E[E.t++] = 1, E.subTo(k2, E)), o.ONE.dlShiftTo(L0, k2), k2.subTo(j, j); j.t < L0; )
|
|
2756
|
-
j[j.t++] = 0;
|
|
2722
|
+
for (j.dlShiftTo(t1, k2), E.compareTo(k2) >= 0 && (E[E.t++] = 1, E.subTo(k2, E)), o.ONE.dlShiftTo(L0, k2), k2.subTo(j, j); j.t < L0; ) j[j.t++] = 0;
|
|
2757
2723
|
for (; --t1 >= 0; ) {
|
|
2758
2724
|
var M1 = E[--u2] == n2 ? this.DM : Math.floor(E[u2] * I2 + (E[u2 - 1] + c2) * e1);
|
|
2759
2725
|
if ((E[u2] += j.am(0, M1, E, t1, 0, L0)) < M1)
|
|
2760
|
-
for (j.dlShiftTo(t1, k2), E.subTo(k2, E); E[u2] < --M1; )
|
|
2761
|
-
E.subTo(k2, E);
|
|
2726
|
+
for (j.dlShiftTo(t1, k2), E.subTo(k2, E); E[u2] < --M1; ) E.subTo(k2, E);
|
|
2762
2727
|
}
|
|
2763
2728
|
B != null && (E.drShiftTo(L0, B), K != J && o.ZERO.subTo(B, B)), E.t = L0, E.clamp(), b0 > 0 && E.rShiftTo(b0, E), K < 0 && o.ZERO.subTo(E, E);
|
|
2764
2729
|
}
|
|
@@ -2788,11 +2753,9 @@ var N6 = { exports: {} };
|
|
|
2788
2753
|
}
|
|
2789
2754
|
k.prototype.convert = W, k.prototype.revert = U, k.prototype.reduce = C0, k.prototype.mulTo = _0, k.prototype.sqrTo = X;
|
|
2790
2755
|
function r0() {
|
|
2791
|
-
if (this.t < 1)
|
|
2792
|
-
return 0;
|
|
2756
|
+
if (this.t < 1) return 0;
|
|
2793
2757
|
var f = this[0];
|
|
2794
|
-
if (!(f & 1))
|
|
2795
|
-
return 0;
|
|
2758
|
+
if (!(f & 1)) return 0;
|
|
2796
2759
|
var B = f & 3;
|
|
2797
2760
|
return B = B * (2 - (f & 15) * B) & 15, B = B * (2 - (f & 255) * B) & 255, B = B * (2 - ((f & 65535) * B & 65535)) & 65535, B = B * (2 - f * B % this.DV) % this.DV, B > 0 ? this.DV - B : -B;
|
|
2798
2761
|
}
|
|
@@ -2828,12 +2791,10 @@ var N6 = { exports: {} };
|
|
|
2828
2791
|
return (this.t > 0 ? this[0] & 1 : this.s) == 0;
|
|
2829
2792
|
}
|
|
2830
2793
|
function H2(f, B) {
|
|
2831
|
-
if (f > 4294967295 || f < 1)
|
|
2832
|
-
return o.ONE;
|
|
2794
|
+
if (f > 4294967295 || f < 1) return o.ONE;
|
|
2833
2795
|
var E = _(), I = _(), q = B.convert(this), j = D(f) - 1;
|
|
2834
2796
|
for (q.copyTo(E); --j >= 0; )
|
|
2835
|
-
if (B.sqrTo(E, I), (f & 1 << j) > 0)
|
|
2836
|
-
B.mulTo(I, q, E);
|
|
2797
|
+
if (B.sqrTo(E, I), (f & 1 << j) > 0) B.mulTo(I, q, E);
|
|
2837
2798
|
else {
|
|
2838
2799
|
var K = E;
|
|
2839
2800
|
E = I, I = K;
|
|
@@ -2851,15 +2812,11 @@ var N6 = { exports: {} };
|
|
|
2851
2812
|
}
|
|
2852
2813
|
function O() {
|
|
2853
2814
|
if (this.s < 0) {
|
|
2854
|
-
if (this.t == 1)
|
|
2855
|
-
|
|
2856
|
-
if (this.t == 0)
|
|
2857
|
-
return -1;
|
|
2815
|
+
if (this.t == 1) return this[0] - this.DV;
|
|
2816
|
+
if (this.t == 0) return -1;
|
|
2858
2817
|
} else {
|
|
2859
|
-
if (this.t == 1)
|
|
2860
|
-
|
|
2861
|
-
if (this.t == 0)
|
|
2862
|
-
return 0;
|
|
2818
|
+
if (this.t == 1) return this[0];
|
|
2819
|
+
if (this.t == 0) return 0;
|
|
2863
2820
|
}
|
|
2864
2821
|
return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0];
|
|
2865
2822
|
}
|
|
@@ -2876,8 +2833,7 @@ var N6 = { exports: {} };
|
|
|
2876
2833
|
return this.s < 0 ? -1 : this.t <= 0 || this.t == 1 && this[0] <= 0 ? 0 : 1;
|
|
2877
2834
|
}
|
|
2878
2835
|
function x0(f) {
|
|
2879
|
-
if (f == null && (f = 10), this.signum() == 0 || f < 2 || f > 36)
|
|
2880
|
-
return "0";
|
|
2836
|
+
if (f == null && (f = 10), this.signum() == 0 || f < 2 || f > 36) return "0";
|
|
2881
2837
|
var B = this.chunkSize(f), E = Math.pow(f, B), I = F(E), q = _(), j = _(), K = "";
|
|
2882
2838
|
for (this.divRemTo(I, q, j); q.signum() > 0; )
|
|
2883
2839
|
K = (E + j.intValue()).toString(f).substr(1) + K, q.divRemTo(I, q, j);
|
|
@@ -2897,8 +2853,7 @@ var N6 = { exports: {} };
|
|
|
2897
2853
|
}
|
|
2898
2854
|
function d0(f, B, E) {
|
|
2899
2855
|
if (typeof B == "number")
|
|
2900
|
-
if (f < 2)
|
|
2901
|
-
this.fromInt(1);
|
|
2856
|
+
if (f < 2) this.fromInt(1);
|
|
2902
2857
|
else
|
|
2903
2858
|
for (this.fromNumber(f, E), this.testBit(f - 1) || this.bitwiseTo(o.ONE.shiftLeft(f - 1), z0, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(B); )
|
|
2904
2859
|
this.dAddOffset(2, 0), this.bitLength() > f && this.subTo(o.ONE.shiftLeft(f - 1), this);
|
|
@@ -2927,15 +2882,12 @@ var N6 = { exports: {} };
|
|
|
2927
2882
|
}
|
|
2928
2883
|
function E0(f, B, E) {
|
|
2929
2884
|
var I, q, j = Math.min(f.t, this.t);
|
|
2930
|
-
for (I = 0; I < j; ++I)
|
|
2931
|
-
E[I] = B(this[I], f[I]);
|
|
2885
|
+
for (I = 0; I < j; ++I) E[I] = B(this[I], f[I]);
|
|
2932
2886
|
if (f.t < this.t) {
|
|
2933
|
-
for (q = f.s & this.DM, I = j; I < this.t; ++I)
|
|
2934
|
-
E[I] = B(this[I], q);
|
|
2887
|
+
for (q = f.s & this.DM, I = j; I < this.t; ++I) E[I] = B(this[I], q);
|
|
2935
2888
|
E.t = this.t;
|
|
2936
2889
|
} else {
|
|
2937
|
-
for (q = this.s & this.DM, I = j; I < f.t; ++I)
|
|
2938
|
-
E[I] = B(q, f[I]);
|
|
2890
|
+
for (q = this.s & this.DM, I = j; I < f.t; ++I) E[I] = B(q, f[I]);
|
|
2939
2891
|
E.t = f.t;
|
|
2940
2892
|
}
|
|
2941
2893
|
E.s = B(this.s, f.s), E.clamp();
|
|
@@ -2969,8 +2921,7 @@ var N6 = { exports: {} };
|
|
|
2969
2921
|
return this.bitwiseTo(f, O0, B), B;
|
|
2970
2922
|
}
|
|
2971
2923
|
function g2() {
|
|
2972
|
-
for (var f = _(), B = 0; B < this.t; ++B)
|
|
2973
|
-
f[B] = this.DM & ~this[B];
|
|
2924
|
+
for (var f = _(), B = 0; B < this.t; ++B) f[B] = this.DM & ~this[B];
|
|
2974
2925
|
return f.t = this.t, f.s = ~this.s, f;
|
|
2975
2926
|
}
|
|
2976
2927
|
function a2(f) {
|
|
@@ -2982,15 +2933,13 @@ var N6 = { exports: {} };
|
|
|
2982
2933
|
return f < 0 ? this.lShiftTo(-f, B) : this.rShiftTo(f, B), B;
|
|
2983
2934
|
}
|
|
2984
2935
|
function J0(f) {
|
|
2985
|
-
if (f == 0)
|
|
2986
|
-
return -1;
|
|
2936
|
+
if (f == 0) return -1;
|
|
2987
2937
|
var B = 0;
|
|
2988
2938
|
return f & 65535 || (f >>= 16, B += 16), f & 255 || (f >>= 8, B += 8), f & 15 || (f >>= 4, B += 4), f & 3 || (f >>= 2, B += 2), f & 1 || ++B, B;
|
|
2989
2939
|
}
|
|
2990
2940
|
function w2() {
|
|
2991
2941
|
for (var f = 0; f < this.t; ++f)
|
|
2992
|
-
if (this[f] != 0)
|
|
2993
|
-
return f * this.DB + J0(this[f]);
|
|
2942
|
+
if (this[f] != 0) return f * this.DB + J0(this[f]);
|
|
2994
2943
|
return this.s < 0 ? this.t * this.DB : -1;
|
|
2995
2944
|
}
|
|
2996
2945
|
function fe(f) {
|
|
@@ -2999,8 +2948,7 @@ var N6 = { exports: {} };
|
|
|
2999
2948
|
return B;
|
|
3000
2949
|
}
|
|
3001
2950
|
function K2() {
|
|
3002
|
-
for (var f = 0, B = this.s & this.DM, E = 0; E < this.t; ++E)
|
|
3003
|
-
f += fe(this[E] ^ B);
|
|
2951
|
+
for (var f = 0, B = this.s & this.DM, E = 0; E < this.t; ++E) f += fe(this[E] ^ B);
|
|
3004
2952
|
return f;
|
|
3005
2953
|
}
|
|
3006
2954
|
function ve(f) {
|
|
@@ -3067,8 +3015,7 @@ var N6 = { exports: {} };
|
|
|
3067
3015
|
}
|
|
3068
3016
|
function Se(f, B) {
|
|
3069
3017
|
if (f != 0) {
|
|
3070
|
-
for (; this.t <= B; )
|
|
3071
|
-
this[this.t++] = 0;
|
|
3018
|
+
for (; this.t <= B; ) this[this.t++] = 0;
|
|
3072
3019
|
for (this[B] += f; this[B] >= this.DV; )
|
|
3073
3020
|
this[B] -= this.DV, ++B >= this.t && (this[this.t++] = 0), ++this[B];
|
|
3074
3021
|
}
|
|
@@ -3090,20 +3037,16 @@ var N6 = { exports: {} };
|
|
|
3090
3037
|
}
|
|
3091
3038
|
function Ke(f, B, E) {
|
|
3092
3039
|
var I = Math.min(this.t + f.t, B);
|
|
3093
|
-
for (E.s = 0, E.t = I; I > 0; )
|
|
3094
|
-
E[--I] = 0;
|
|
3040
|
+
for (E.s = 0, E.t = I; I > 0; ) E[--I] = 0;
|
|
3095
3041
|
var q;
|
|
3096
|
-
for (q = E.t - this.t; I < q; ++I)
|
|
3097
|
-
|
|
3098
|
-
for (q = Math.min(f.t, B); I < q; ++I)
|
|
3099
|
-
this.am(0, f[I], E, I, 0, B - I);
|
|
3042
|
+
for (q = E.t - this.t; I < q; ++I) E[I + this.t] = this.am(0, f[I], E, I, 0, this.t);
|
|
3043
|
+
for (q = Math.min(f.t, B); I < q; ++I) this.am(0, f[I], E, I, 0, B - I);
|
|
3100
3044
|
E.clamp();
|
|
3101
3045
|
}
|
|
3102
3046
|
function Xe(f, B, E) {
|
|
3103
3047
|
--B;
|
|
3104
3048
|
var I = E.t = this.t + f.t - B;
|
|
3105
|
-
for (E.s = 0; --I >= 0; )
|
|
3106
|
-
E[I] = 0;
|
|
3049
|
+
for (E.s = 0; --I >= 0; ) E[I] = 0;
|
|
3107
3050
|
for (I = Math.max(B - this.t, 0); I < f.t; ++I)
|
|
3108
3051
|
E[this.t + I - B] = this.am(B - I, f[I], E, 0, 0, this.t + I - B);
|
|
3109
3052
|
E.clamp(), E.drShiftTo(1, E);
|
|
@@ -3112,10 +3055,8 @@ var N6 = { exports: {} };
|
|
|
3112
3055
|
this.r2 = _(), this.q3 = _(), o.ONE.dlShiftTo(2 * f.t, this.r2), this.mu = this.r2.divide(f), this.m = f;
|
|
3113
3056
|
}
|
|
3114
3057
|
function Ze(f) {
|
|
3115
|
-
if (f.s < 0 || f.t > 2 * this.m.t)
|
|
3116
|
-
|
|
3117
|
-
if (f.compareTo(this.m) < 0)
|
|
3118
|
-
return f;
|
|
3058
|
+
if (f.s < 0 || f.t > 2 * this.m.t) return f.mod(this.m);
|
|
3059
|
+
if (f.compareTo(this.m) < 0) return f;
|
|
3119
3060
|
var B = _();
|
|
3120
3061
|
return f.copyTo(B), this.reduce(B), B;
|
|
3121
3062
|
}
|
|
@@ -3123,10 +3064,8 @@ var N6 = { exports: {} };
|
|
|
3123
3064
|
return f;
|
|
3124
3065
|
}
|
|
3125
3066
|
function L3(f) {
|
|
3126
|
-
for (f.drShiftTo(this.m.t - 1, this.r2), f.t > this.m.t + 1 && (f.t = this.m.t + 1, f.clamp()), this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); f.compareTo(this.r2) < 0; )
|
|
3127
|
-
|
|
3128
|
-
for (f.subTo(this.r2, f); f.compareTo(this.m) >= 0; )
|
|
3129
|
-
f.subTo(this.m, f);
|
|
3067
|
+
for (f.drShiftTo(this.m.t - 1, this.r2), f.t > this.m.t + 1 && (f.t = this.m.t + 1, f.clamp()), this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); f.compareTo(this.r2) < 0; ) f.dAddOffset(1, this.m.t + 1);
|
|
3068
|
+
for (f.subTo(this.r2, f); f.compareTo(this.m) >= 0; ) f.subTo(this.m, f);
|
|
3130
3069
|
}
|
|
3131
3070
|
function P3(f, B) {
|
|
3132
3071
|
f.squareTo(B), this.reduce(B);
|
|
@@ -3137,8 +3076,7 @@ var N6 = { exports: {} };
|
|
|
3137
3076
|
C2.prototype.convert = Ze, C2.prototype.revert = we, C2.prototype.reduce = L3, C2.prototype.mulTo = R3, C2.prototype.sqrTo = P3;
|
|
3138
3077
|
function k3(f, B) {
|
|
3139
3078
|
var E = f.bitLength(), I, q = F(1), j;
|
|
3140
|
-
if (E <= 0)
|
|
3141
|
-
return q;
|
|
3079
|
+
if (E <= 0) return q;
|
|
3142
3080
|
E < 18 ? I = 1 : E < 48 ? I = 3 : E < 144 ? I = 4 : E < 768 ? I = 5 : I = 6, E < 8 ? j = new k(B) : B.isEven() ? j = new C2(B) : j = new U0(B);
|
|
3143
3081
|
var K = new Array(), J = 3, b0 = I - 1, L0 = (1 << I) - 1;
|
|
3144
3082
|
if (K[1] = j.convert(this), I > 1) {
|
|
@@ -3169,28 +3107,22 @@ var N6 = { exports: {} };
|
|
|
3169
3107
|
B = E, E = I;
|
|
3170
3108
|
}
|
|
3171
3109
|
var q = B.getLowestSetBit(), j = E.getLowestSetBit();
|
|
3172
|
-
if (j < 0)
|
|
3173
|
-
return B;
|
|
3110
|
+
if (j < 0) return B;
|
|
3174
3111
|
for (q < j && (j = q), j > 0 && (B.rShiftTo(j, B), E.rShiftTo(j, E)); B.signum() > 0; )
|
|
3175
3112
|
(q = B.getLowestSetBit()) > 0 && B.rShiftTo(q, B), (q = E.getLowestSetBit()) > 0 && E.rShiftTo(q, E), B.compareTo(E) >= 0 ? (B.subTo(E, B), B.rShiftTo(1, B)) : (E.subTo(B, E), E.rShiftTo(1, E));
|
|
3176
3113
|
return j > 0 && E.lShiftTo(j, E), E;
|
|
3177
3114
|
}
|
|
3178
3115
|
function $3(f) {
|
|
3179
|
-
if (f <= 0)
|
|
3180
|
-
return 0;
|
|
3116
|
+
if (f <= 0) return 0;
|
|
3181
3117
|
var B = this.DV % f, E = this.s < 0 ? f - 1 : 0;
|
|
3182
3118
|
if (this.t > 0)
|
|
3183
|
-
if (B == 0)
|
|
3184
|
-
|
|
3185
|
-
else
|
|
3186
|
-
for (var I = this.t - 1; I >= 0; --I)
|
|
3187
|
-
E = (B * E + this[I]) % f;
|
|
3119
|
+
if (B == 0) E = this[0] % f;
|
|
3120
|
+
else for (var I = this.t - 1; I >= 0; --I) E = (B * E + this[I]) % f;
|
|
3188
3121
|
return E;
|
|
3189
3122
|
}
|
|
3190
3123
|
function O3(f) {
|
|
3191
3124
|
var B = f.isEven();
|
|
3192
|
-
if (this.isEven() && B || f.signum() == 0)
|
|
3193
|
-
return o.ZERO;
|
|
3125
|
+
if (this.isEven() && B || f.signum() == 0) return o.ZERO;
|
|
3194
3126
|
for (var E = f.clone(), I = this.clone(), q = F(1), j = F(0), K = F(0), J = F(1); E.signum() != 0; ) {
|
|
3195
3127
|
for (; E.isEven(); )
|
|
3196
3128
|
E.rShiftTo(1, E), B ? ((!q.isEven() || !j.isEven()) && (q.addTo(this, q), j.subTo(f, j)), q.rShiftTo(1, q)) : j.isEven() || j.subTo(f, j), j.rShiftTo(1, j);
|
|
@@ -3198,14 +3130,10 @@ var N6 = { exports: {} };
|
|
|
3198
3130
|
I.rShiftTo(1, I), B ? ((!K.isEven() || !J.isEven()) && (K.addTo(this, K), J.subTo(f, J)), K.rShiftTo(1, K)) : J.isEven() || J.subTo(f, J), J.rShiftTo(1, J);
|
|
3199
3131
|
E.compareTo(I) >= 0 ? (E.subTo(I, E), B && q.subTo(K, q), j.subTo(J, j)) : (I.subTo(E, I), B && K.subTo(q, K), J.subTo(j, J));
|
|
3200
3132
|
}
|
|
3201
|
-
if (I.compareTo(o.ONE) != 0)
|
|
3202
|
-
|
|
3203
|
-
if (J.
|
|
3204
|
-
|
|
3205
|
-
if (J.signum() < 0)
|
|
3206
|
-
J.addTo(f, J);
|
|
3207
|
-
else
|
|
3208
|
-
return J;
|
|
3133
|
+
if (I.compareTo(o.ONE) != 0) return o.ZERO;
|
|
3134
|
+
if (J.compareTo(f) >= 0) return J.subtract(f);
|
|
3135
|
+
if (J.signum() < 0) J.addTo(f, J);
|
|
3136
|
+
else return J;
|
|
3209
3137
|
return J.signum() < 0 ? J.add(f) : J;
|
|
3210
3138
|
}
|
|
3211
3139
|
var G0 = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], N3 = (1 << 26) / G0[G0.length - 1];
|
|
@@ -3213,25 +3141,19 @@ var N6 = { exports: {} };
|
|
|
3213
3141
|
var B, E = this.abs();
|
|
3214
3142
|
if (E.t == 1 && E[0] <= G0[G0.length - 1]) {
|
|
3215
3143
|
for (B = 0; B < G0.length; ++B)
|
|
3216
|
-
if (E[0] == G0[B])
|
|
3217
|
-
return !0;
|
|
3144
|
+
if (E[0] == G0[B]) return !0;
|
|
3218
3145
|
return !1;
|
|
3219
3146
|
}
|
|
3220
|
-
if (E.isEven())
|
|
3221
|
-
return !1;
|
|
3147
|
+
if (E.isEven()) return !1;
|
|
3222
3148
|
for (B = 1; B < G0.length; ) {
|
|
3223
|
-
for (var I = G0[B], q = B + 1; q < G0.length && I < N3; )
|
|
3224
|
-
|
|
3225
|
-
for (I = E.modInt(I); B < q; )
|
|
3226
|
-
if (I % G0[B++] == 0)
|
|
3227
|
-
return !1;
|
|
3149
|
+
for (var I = G0[B], q = B + 1; q < G0.length && I < N3; ) I *= G0[q++];
|
|
3150
|
+
for (I = E.modInt(I); B < q; ) if (I % G0[B++] == 0) return !1;
|
|
3228
3151
|
}
|
|
3229
3152
|
return E.millerRabin(f);
|
|
3230
3153
|
}
|
|
3231
3154
|
function j3(f) {
|
|
3232
3155
|
var B = this.subtract(o.ONE), E = B.getLowestSetBit();
|
|
3233
|
-
if (E <= 0)
|
|
3234
|
-
return !1;
|
|
3156
|
+
if (E <= 0) return !1;
|
|
3235
3157
|
var I = B.shiftRight(E);
|
|
3236
3158
|
f = f + 1 >> 1, f > G0.length && (f = G0.length);
|
|
3237
3159
|
for (var q = _(), j = 0; j < f; ++j) {
|
|
@@ -3239,10 +3161,8 @@ var N6 = { exports: {} };
|
|
|
3239
3161
|
var K = q.modPow(I, this);
|
|
3240
3162
|
if (K.compareTo(o.ONE) != 0 && K.compareTo(B) != 0) {
|
|
3241
3163
|
for (var J = 1; J++ < E && K.compareTo(B) != 0; )
|
|
3242
|
-
if (K = K.modPowInt(2, this), K.compareTo(o.ONE) == 0)
|
|
3243
|
-
|
|
3244
|
-
if (K.compareTo(B) != 0)
|
|
3245
|
-
return !1;
|
|
3164
|
+
if (K = K.modPowInt(2, this), K.compareTo(o.ONE) == 0) return !1;
|
|
3165
|
+
if (K.compareTo(B) != 0) return !1;
|
|
3246
3166
|
}
|
|
3247
3167
|
}
|
|
3248
3168
|
return !0;
|
|
@@ -3283,8 +3203,7 @@ var N6 = { exports: {} };
|
|
|
3283
3203
|
}
|
|
3284
3204
|
function Y3(f) {
|
|
3285
3205
|
var B;
|
|
3286
|
-
for (B = 0; B < f.length; ++B)
|
|
3287
|
-
f[B] = G3();
|
|
3206
|
+
for (B = 0; B < f.length; ++B) f[B] = G3();
|
|
3288
3207
|
}
|
|
3289
3208
|
function Qt() {
|
|
3290
3209
|
}
|
|
@@ -3327,8 +3246,7 @@ function ma(e) {
|
|
|
3327
3246
|
let r = t.length;
|
|
3328
3247
|
r % 2 === 1 ? r += 1 : t.match(/^[0-7]/) || (r += 2);
|
|
3329
3248
|
let a = "";
|
|
3330
|
-
for (let n = 0; n < r; n++)
|
|
3331
|
-
a += "f";
|
|
3249
|
+
for (let n = 0; n < r; n++) a += "f";
|
|
3332
3250
|
a = new Ae(a, 16), t = a.xor(e).add(Ae.ONE), t = t.toString(16).replace(/^-/, "");
|
|
3333
3251
|
}
|
|
3334
3252
|
return t;
|
|
@@ -3498,10 +3416,8 @@ class W2 {
|
|
|
3498
3416
|
* z3 = λ10 * λ8
|
|
3499
3417
|
*/
|
|
3500
3418
|
add(t) {
|
|
3501
|
-
if (this.isInfinity())
|
|
3502
|
-
|
|
3503
|
-
if (t.isInfinity())
|
|
3504
|
-
return this;
|
|
3419
|
+
if (this.isInfinity()) return t;
|
|
3420
|
+
if (t.isInfinity()) return this;
|
|
3505
3421
|
const r = this.x.toBigInteger(), a = this.y.toBigInteger(), n = this.z, o = t.x.toBigInteger(), _ = t.y.toBigInteger(), h = t.z, v = this.curve.q, u = r.multiply(h).mod(v), c = o.multiply(n).mod(v), g = u.subtract(c), i = a.multiply(h).mod(v), l = _.multiply(n).mod(v), p = i.subtract(l);
|
|
3506
3422
|
if (Y0.ZERO.equals(g))
|
|
3507
3423
|
return Y0.ZERO.equals(p) ? this.twice() : this.curve.infinity;
|
|
@@ -3524,10 +3440,8 @@ class W2 {
|
|
|
3524
3440
|
* z3 = λ2 * λ5
|
|
3525
3441
|
*/
|
|
3526
3442
|
twice() {
|
|
3527
|
-
if (this.isInfinity())
|
|
3528
|
-
|
|
3529
|
-
if (!this.y.toBigInteger().signum())
|
|
3530
|
-
return this.curve.infinity;
|
|
3443
|
+
if (this.isInfinity()) return this;
|
|
3444
|
+
if (!this.y.toBigInteger().signum()) return this.curve.infinity;
|
|
3531
3445
|
const t = this.x.toBigInteger(), r = this.y.toBigInteger(), a = this.z, n = this.curve.q, o = this.curve.a.toBigInteger(), _ = t.square().multiply(i4).add(o.multiply(a.square())).mod(n), h = r.shiftLeft(1).multiply(a).mod(n), v = r.square().mod(n), u = v.multiply(t).multiply(a).mod(n), c = h.square().mod(n), g = _.square().subtract(u.shiftLeft(3)).mod(n), i = h.multiply(g).mod(n), l = _.multiply(u.shiftLeft(2).subtract(g)).subtract(c.shiftLeft(1).multiply(v)).mod(n), p = h.multiply(c).mod(n);
|
|
3532
3446
|
return new W2(this.curve, this.curve.fromBigInteger(i), this.curve.fromBigInteger(l), p);
|
|
3533
3447
|
}
|
|
@@ -3535,10 +3449,8 @@ class W2 {
|
|
|
3535
3449
|
* 倍点计算
|
|
3536
3450
|
*/
|
|
3537
3451
|
multiply(t) {
|
|
3538
|
-
if (this.isInfinity())
|
|
3539
|
-
|
|
3540
|
-
if (!t.signum())
|
|
3541
|
-
return this.curve.infinity;
|
|
3452
|
+
if (this.isInfinity()) return this;
|
|
3453
|
+
if (!t.signum()) return this.curve.infinity;
|
|
3542
3454
|
const r = t.multiply(i4), a = this.negate();
|
|
3543
3455
|
let n = this;
|
|
3544
3456
|
for (let o = r.bitLength() - 2; o > 0; o--) {
|
|
@@ -3609,8 +3521,7 @@ function Ea(e, t, r) {
|
|
|
3609
3521
|
return { privateKey: o, publicKey: u };
|
|
3610
3522
|
}
|
|
3611
3523
|
function Da(e) {
|
|
3612
|
-
if (e.length !== 130)
|
|
3613
|
-
throw new Error("Invalid public key to compress");
|
|
3524
|
+
if (e.length !== 130) throw new Error("Invalid public key to compress");
|
|
3614
3525
|
const t = (e.length - 2) / 2, r = e.substr(2, t), a = new p2(e.substr(t + 2, t), 16);
|
|
3615
3526
|
let n = "03";
|
|
3616
3527
|
return a.mod(new p2("2")).equals(p2.ZERO) && (n = "02"), n + r;
|
|
@@ -3659,15 +3570,13 @@ function Va(e) {
|
|
|
3659
3570
|
}
|
|
3660
3571
|
function Ta(e) {
|
|
3661
3572
|
const t = Be.decodePointHex(e);
|
|
3662
|
-
if (!t)
|
|
3663
|
-
return !1;
|
|
3573
|
+
if (!t) return !1;
|
|
3664
3574
|
const r = t.getX();
|
|
3665
3575
|
return t.getY().square().equals(r.multiply(r.square()).add(r.multiply(Be.a)).add(Be.b));
|
|
3666
3576
|
}
|
|
3667
3577
|
function Ia(e, t) {
|
|
3668
3578
|
const r = Be.decodePointHex(e);
|
|
3669
|
-
if (!r)
|
|
3670
|
-
return !1;
|
|
3579
|
+
if (!r) return !1;
|
|
3671
3580
|
const a = Be.decodePointHex(t);
|
|
3672
3581
|
return a ? r.equals(a) : !1;
|
|
3673
3582
|
}
|
|
@@ -3691,8 +3600,7 @@ function o2(e, t) {
|
|
|
3691
3600
|
}
|
|
3692
3601
|
function c4(e, t) {
|
|
3693
3602
|
const r = [];
|
|
3694
|
-
for (let a = e.length - 1; a >= 0; a--)
|
|
3695
|
-
r[a] = (e[a] ^ t[a]) & 255;
|
|
3603
|
+
for (let a = e.length - 1; a >= 0; a--) r[a] = (e[a] ^ t[a]) & 255;
|
|
3696
3604
|
return r;
|
|
3697
3605
|
}
|
|
3698
3606
|
function Pa(e) {
|
|
@@ -3705,17 +3613,14 @@ function c1(e) {
|
|
|
3705
3613
|
let t = e.length * 8, r = t % 512;
|
|
3706
3614
|
r = r >= 448 ? 512 - r % 448 - 1 : 448 - r - 1;
|
|
3707
3615
|
const a = new Array((r - 7) / 8), n = new Array(8);
|
|
3708
|
-
for (let c = 0, g = a.length; c < g; c++)
|
|
3709
|
-
|
|
3710
|
-
for (let c = 0, g = n.length; c < g; c++)
|
|
3711
|
-
n[c] = 0;
|
|
3616
|
+
for (let c = 0, g = a.length; c < g; c++) a[c] = 0;
|
|
3617
|
+
for (let c = 0, g = n.length; c < g; c++) n[c] = 0;
|
|
3712
3618
|
t = t.toString(2);
|
|
3713
3619
|
for (let c = 7; c >= 0; c--)
|
|
3714
3620
|
if (t.length > 8) {
|
|
3715
3621
|
const g = t.length - 8;
|
|
3716
3622
|
n[c] = parseInt(t.substr(g), 2), t = t.substr(0, g);
|
|
3717
|
-
} else
|
|
3718
|
-
t.length > 0 && (n[c] = parseInt(t, 2), t = "");
|
|
3623
|
+
} else t.length > 0 && (n[c] = parseInt(t, 2), t = "");
|
|
3719
3624
|
const o = new Uint8Array([...e, 128, ...a, ...n]), _ = new DataView(o.buffer, 0), h = o.length / 64, v = new Uint32Array([1937774191, 1226093241, 388252375, 3666478592, 2842636476, 372324522, 3817729613, 2969243214]);
|
|
3720
3625
|
for (let c = 0; c < h; c++) {
|
|
3721
3626
|
_2.fill(0), P1.fill(0);
|
|
@@ -3743,8 +3648,7 @@ const Le = 64, G6 = new Uint8Array(Le), Y6 = new Uint8Array(Le);
|
|
|
3743
3648
|
for (let e = 0; e < Le; e++)
|
|
3744
3649
|
G6[e] = 54, Y6[e] = 92;
|
|
3745
3650
|
function ka(e, t) {
|
|
3746
|
-
for (t.length > Le && (t = c1(t)); t.length < Le; )
|
|
3747
|
-
t.push(0);
|
|
3651
|
+
for (t.length > Le && (t = c1(t)); t.length < Le; ) t.push(0);
|
|
3748
3652
|
const r = c4(t, G6), a = c4(t, Y6), n = c1([...r, ...e]);
|
|
3749
3653
|
return c1([...a, ...n]);
|
|
3750
3654
|
}
|
|
@@ -3815,8 +3719,7 @@ function ja(e, t, r, { der: a, hash: n, userId: o } = {}) {
|
|
|
3815
3719
|
} else
|
|
3816
3720
|
h = new r2(t.substring(0, 64), 16), v = new r2(t.substring(64), 16);
|
|
3817
3721
|
const u = K6.decodePointHex(r), c = new r2(_, 16), g = h.add(v).mod(ye);
|
|
3818
|
-
if (g.equals(r2.ZERO))
|
|
3819
|
-
return !1;
|
|
3722
|
+
if (g.equals(r2.ZERO)) return !1;
|
|
3820
3723
|
const i = se.multiply(v).add(u.multiply(g)), l = c.add(i.getX().toBigInteger()).mod(ye);
|
|
3821
3724
|
return h.equals(l);
|
|
3822
3725
|
}
|
|
@@ -3889,11 +3792,9 @@ function Xa(e) {
|
|
|
3889
3792
|
}
|
|
3890
3793
|
var Za = function(e, t) {
|
|
3891
3794
|
if (e = typeof e == "string" ? Xa(e) : Array.prototype.slice.call(e), t) {
|
|
3892
|
-
if ((t.mode || "hmac") !== "hmac")
|
|
3893
|
-
throw new Error("invalid mode");
|
|
3795
|
+
if ((t.mode || "hmac") !== "hmac") throw new Error("invalid mode");
|
|
3894
3796
|
let a = t.key;
|
|
3895
|
-
if (!a)
|
|
3896
|
-
throw new Error("invalid key");
|
|
3797
|
+
if (!a) throw new Error("invalid key");
|
|
3897
3798
|
return a = typeof a == "string" ? Ka(a) : Array.prototype.slice.call(a), u4(Ya(e, a));
|
|
3898
3799
|
}
|
|
3899
3800
|
return u4(Ga(e));
|
|
@@ -4266,8 +4167,7 @@ function _4(e, t, r, {
|
|
|
4266
4167
|
throw new Error("key is invalid");
|
|
4267
4168
|
if (typeof e == "string" ? r !== q2 ? e = t8(e) : e = R1(e) : e = [...e], (a === "pkcs#5" || a === "pkcs#7") && r !== q2) {
|
|
4268
4169
|
const i = ae - e.length % ae;
|
|
4269
|
-
for (let l = 0; l < i; l++)
|
|
4270
|
-
e.push(i);
|
|
4170
|
+
for (let l = 0; l < i; l++) e.push(i);
|
|
4271
4171
|
}
|
|
4272
4172
|
const h = new Array(Ja);
|
|
4273
4173
|
n8(t, h, r);
|
|
@@ -4286,8 +4186,7 @@ function _4(e, t, r, {
|
|
|
4286
4186
|
if ((a === "pkcs#5" || a === "pkcs#7") && r === q2) {
|
|
4287
4187
|
const i = v.length, l = v[i - 1];
|
|
4288
4188
|
for (let p = 1; p <= l; p++)
|
|
4289
|
-
if (v[i - p] !== l)
|
|
4290
|
-
throw new Error("padding is invalid");
|
|
4189
|
+
if (v[i - p] !== l) throw new Error("padding is invalid");
|
|
4291
4190
|
v.splice(i - l, l);
|
|
4292
4191
|
}
|
|
4293
4192
|
return _ !== "array" ? r !== q2 ? e8(v) : r8(v) : v;
|
|
@@ -4547,10 +4446,8 @@ var t3 = { exports: {} };
|
|
|
4547
4446
|
o(l);
|
|
4548
4447
|
}, 0));
|
|
4549
4448
|
} : "msSaveOrOpenBlob" in navigator ? function(u, c, g) {
|
|
4550
|
-
if (c = c || u.name || "download", typeof u != "string")
|
|
4551
|
-
|
|
4552
|
-
else if (n(u))
|
|
4553
|
-
a(u, c, g);
|
|
4449
|
+
if (c = c || u.name || "download", typeof u != "string") navigator.msSaveOrOpenBlob(r(u, g), c);
|
|
4450
|
+
else if (n(u)) a(u, c, g);
|
|
4554
4451
|
else {
|
|
4555
4452
|
var i = document.createElement("a");
|
|
4556
4453
|
i.href = u, i.target = "_blank", setTimeout(function() {
|
|
@@ -4558,8 +4455,7 @@ var t3 = { exports: {} };
|
|
|
4558
4455
|
});
|
|
4559
4456
|
}
|
|
4560
4457
|
} : function(u, c, g, i) {
|
|
4561
|
-
if (i = i || open("", "_blank"), i && (i.document.title = i.document.body.innerText = "downloading..."), typeof u == "string")
|
|
4562
|
-
return a(u, c, g);
|
|
4458
|
+
if (i = i || open("", "_blank"), i && (i.document.title = i.document.body.innerText = "downloading..."), typeof u == "string") return a(u, c, g);
|
|
4563
4459
|
var l = u.type === "application/octet-stream", p = /constructor/i.test(_.HTMLElement) || _.safari, w = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
4564
4460
|
if ((w || l && p || h) && typeof FileReader < "u") {
|
|
4565
4461
|
var b = new FileReader();
|
|
@@ -11110,7 +11006,7 @@ const Rv = { name: "ep-search", render: Pv }, kv = /* @__PURE__ */ y({
|
|
|
11110
11006
|
for (const [a, n] of t)
|
|
11111
11007
|
r[a] = n;
|
|
11112
11008
|
return r;
|
|
11113
|
-
}, B1 = /* @__PURE__ */ It(kv, [["__scopeId", "data-v-
|
|
11009
|
+
}, B1 = /* @__PURE__ */ It(kv, [["__scopeId", "data-v-c88d620b"]]), qv = { class: "table-list" }, $v = ["onClick"], Ov = { class: "table-footer" }, Nv = /* @__PURE__ */ y({
|
|
11114
11010
|
__name: "index",
|
|
11115
11011
|
props: /* @__PURE__ */ Ct({
|
|
11116
11012
|
labelName: {
|
|
@@ -16408,11 +16304,9 @@ class Ax {
|
|
|
16408
16304
|
}
|
|
16409
16305
|
compatible() {
|
|
16410
16306
|
try {
|
|
16411
|
-
if (typeof FileReader > "u" || typeof Blob > "u")
|
|
16412
|
-
return !1;
|
|
16307
|
+
if (typeof FileReader > "u" || typeof Blob > "u") return !1;
|
|
16413
16308
|
const t = new Blob();
|
|
16414
|
-
if (!t.slice && !("webkitSlice" in t))
|
|
16415
|
-
return !1;
|
|
16309
|
+
if (!t.slice && !("webkitSlice" in t)) return !1;
|
|
16416
16310
|
} catch {
|
|
16417
16311
|
return !1;
|
|
16418
16312
|
}
|
|
@@ -16549,10 +16443,8 @@ var _3 = { exports: {} };
|
|
|
16549
16443
|
return Object.prototype.toString.call(A) === "[object Array]";
|
|
16550
16444
|
};
|
|
16551
16445
|
function c(A) {
|
|
16552
|
-
if (typeof this != "object")
|
|
16553
|
-
|
|
16554
|
-
if (typeof A != "function")
|
|
16555
|
-
throw new TypeError("not a function");
|
|
16446
|
+
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
16447
|
+
if (typeof A != "function") throw new TypeError("not a function");
|
|
16556
16448
|
this._state = null, this._value = null, this._deferreds = [], b(A, v(i, this), v(l, this));
|
|
16557
16449
|
}
|
|
16558
16450
|
function g(A) {
|
|
@@ -16579,8 +16471,7 @@ var _3 = { exports: {} };
|
|
|
16579
16471
|
}
|
|
16580
16472
|
function i(A) {
|
|
16581
16473
|
try {
|
|
16582
|
-
if (A === this)
|
|
16583
|
-
throw new TypeError("A promise cannot be resolved with itself.");
|
|
16474
|
+
if (A === this) throw new TypeError("A promise cannot be resolved with itself.");
|
|
16584
16475
|
if (A && (typeof A == "object" || typeof A == "function")) {
|
|
16585
16476
|
var d = A.then;
|
|
16586
16477
|
if (typeof d == "function") {
|
|
@@ -16613,8 +16504,7 @@ var _3 = { exports: {} };
|
|
|
16613
16504
|
F || (F = !0, m(M));
|
|
16614
16505
|
});
|
|
16615
16506
|
} catch (M) {
|
|
16616
|
-
if (F)
|
|
16617
|
-
return;
|
|
16507
|
+
if (F) return;
|
|
16618
16508
|
F = !0, m(M);
|
|
16619
16509
|
}
|
|
16620
16510
|
}
|
|
@@ -16628,8 +16518,7 @@ var _3 = { exports: {} };
|
|
|
16628
16518
|
}, c.all = function() {
|
|
16629
16519
|
var A = Array.prototype.slice.call(arguments.length === 1 && u(arguments[0]) ? arguments[0] : arguments);
|
|
16630
16520
|
return new c(function(d, m) {
|
|
16631
|
-
if (A.length === 0)
|
|
16632
|
-
return d([]);
|
|
16521
|
+
if (A.length === 0) return d([]);
|
|
16633
16522
|
var F = A.length;
|
|
16634
16523
|
function M(H, L) {
|
|
16635
16524
|
try {
|
|
@@ -16971,10 +16860,8 @@ Content-Type: ` + p.type + `\r
|
|
|
16971
16860
|
var o, _;
|
|
16972
16861
|
(function() {
|
|
16973
16862
|
var h = !1, v = function(S) {
|
|
16974
|
-
if (S instanceof v)
|
|
16975
|
-
|
|
16976
|
-
if (!(this instanceof v))
|
|
16977
|
-
return new v(S);
|
|
16863
|
+
if (S instanceof v) return S;
|
|
16864
|
+
if (!(this instanceof v)) return new v(S);
|
|
16978
16865
|
this.EXIFwrapped = S;
|
|
16979
16866
|
};
|
|
16980
16867
|
typeof r < "u" && r.exports && (a = r.exports = v), a.EXIF = v;
|
|
@@ -17513,15 +17400,13 @@ Content-Type: ` + p.type + `\r
|
|
|
17513
17400
|
if (l(S))
|
|
17514
17401
|
return S.exifdata[z];
|
|
17515
17402
|
}, v.getAllTags = function(S) {
|
|
17516
|
-
if (!l(S))
|
|
17517
|
-
return {};
|
|
17403
|
+
if (!l(S)) return {};
|
|
17518
17404
|
var z, D = S.exifdata, P = {};
|
|
17519
17405
|
for (z in D)
|
|
17520
17406
|
D.hasOwnProperty(z) && (P[z] = D[z]);
|
|
17521
17407
|
return P;
|
|
17522
17408
|
}, v.pretty = function(S) {
|
|
17523
|
-
if (!l(S))
|
|
17524
|
-
return "";
|
|
17409
|
+
if (!l(S)) return "";
|
|
17525
17410
|
var z, D = S.exifdata, P = "";
|
|
17526
17411
|
for (z in D)
|
|
17527
17412
|
D.hasOwnProperty(z) && (typeof D[z] == "object" ? D[z] instanceof Number ? P += z + " : " + D[z] + " [" + D[z].numerator + "/" + D[z].denominator + `]\r
|
|
@@ -17648,8 +17533,7 @@ Content-Type: ` + p.type + `\r
|
|
|
17648
17533
|
var A = this.srcImage, d = A.src, m = d.length, F = A.naturalWidth, M = A.naturalHeight, V = p.width, H = p.height, L = p.maxWidth, S = p.maxHeight, z = this.blob && this.blob.type === "image/jpeg" || d.indexOf("data:image/jpeg") === 0 || d.indexOf(".jpg") === m - 4 || d.indexOf(".jpeg") === m - 5;
|
|
17649
17534
|
V && !H ? H = M * V / F << 0 : H && !V ? V = F * H / M << 0 : (V = F, H = M), L && V > L && (V = L, H = M * V / F << 0), S && H > S && (H = S, V = F * H / M << 0);
|
|
17650
17535
|
var D = { width: V, height: H };
|
|
17651
|
-
for (var P in p)
|
|
17652
|
-
D[P] = p[P];
|
|
17536
|
+
for (var P in p) D[P] = p[P];
|
|
17653
17537
|
var T = l.tagName.toLowerCase();
|
|
17654
17538
|
T === "img" ? l.src = u(this.srcImage, D, z) : T === "canvas" && c(this.srcImage, l, D, z), typeof this.onrender == "function" && this.onrender(l), w && w();
|
|
17655
17539
|
}, o = [], _ = (function() {
|
|
@@ -17859,8 +17743,7 @@ Content-Type: ` + p.type + `\r
|
|
|
17859
17743
|
}(navigator.userAgent);
|
|
17860
17744
|
function u(i, l) {
|
|
17861
17745
|
var p = this;
|
|
17862
|
-
if (!i)
|
|
17863
|
-
throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");
|
|
17746
|
+
if (!i) throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");
|
|
17864
17747
|
l = l || {}, p.defaults = {
|
|
17865
17748
|
width: null,
|
|
17866
17749
|
height: null,
|
|
@@ -18208,7 +18091,7 @@ const $x = { class: "icon-list" }, Ox = ["onClick"], Nx = /* @__PURE__ */ y({
|
|
|
18208
18091
|
], 512);
|
|
18209
18092
|
};
|
|
18210
18093
|
}
|
|
18211
|
-
}), Ux = /* @__PURE__ */ It(Nx, [["__scopeId", "data-v-
|
|
18094
|
+
}), Ux = /* @__PURE__ */ It(Nx, [["__scopeId", "data-v-e85de0de"]]), jx = /* @__PURE__ */ y({
|
|
18212
18095
|
__name: "index",
|
|
18213
18096
|
props: {
|
|
18214
18097
|
/**
|
|
@@ -18449,7 +18332,7 @@ const $x = { class: "icon-list" }, Ox = ["onClick"], Nx = /* @__PURE__ */ y({
|
|
|
18449
18332
|
], 2);
|
|
18450
18333
|
};
|
|
18451
18334
|
}
|
|
18452
|
-
}), Jx = /* @__PURE__ */ It(Zx, [["__scopeId", "data-v-
|
|
18335
|
+
}), Jx = /* @__PURE__ */ It(Zx, [["__scopeId", "data-v-683f4e33"]]);
|
|
18453
18336
|
var Q4;
|
|
18454
18337
|
const pe = typeof window < "u", em = (e) => typeof e == "string", tm = () => {
|
|
18455
18338
|
};
|
|
@@ -18580,7 +18463,7 @@ dm({
|
|
|
18580
18463
|
linear: rm
|
|
18581
18464
|
}, fm);
|
|
18582
18465
|
/**
|
|
18583
|
-
* @vue/shared v3.4.
|
|
18466
|
+
* @vue/shared v3.4.30
|
|
18584
18467
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18585
18468
|
* @license MIT
|
|
18586
18469
|
**/
|