jmash-core 0.0.92 → 0.0.94
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-DzsN-Kud.mjs → 401-CoAB6cjl.mjs} +3 -3
- package/dist/{404-CA-WREsv.mjs → 404-B_wF-a5B.mjs} +3 -3
- package/dist/{BarChart-VzsTVeG0.mjs → BarChart-CpOrvpya.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-B2j_A8g-.mjs → index-CKaDvMkc.mjs} +41 -53
- package/dist/{index-BV11zBKp.mjs → index-CfvSTYho.mjs} +7 -7
- package/dist/{index-DSs4gPi2.mjs → index-DVoe0Vdc.mjs} +3 -3
- package/dist/{index-C2uWEN55.mjs → index-GVChDW8f.mjs} +122 -239
- package/dist/index.mjs +1 -1
- package/dist/{profile-BSlnExKc.mjs → profile-BR5UYBXi.mjs} +2 -2
- package/dist/{runAs-BJ1QgJ5V.mjs → runAs-C3Kb_ixf.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-B9uywJWI.mjs → runAs.vue_vue_type_script_setup_true_lang-BZAgIV8m.mjs} +122 -118
- package/dist/style.css +1 -1
- package/dist/{types-sKUE9zBt.mjs → types-Be63aiPK.mjs} +1 -1
- package/dist/{updatePwd-Bt8LTpDM.mjs → updatePwd-DCyp61jo.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CvGLSPG1.mjs → updatePwd.vue_vue_type_script_setup_true_lang-FwgjJx97.mjs} +1 -1
- package/dts/src/api/index.d.ts +1 -4
- 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 d0 = (e, t, r) =>
|
|
3
|
+
var d0 = (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 Q, onMounted as $e, nextTick as v1, isRef as D2, readonly as g6, getCurrentInstance as P2, 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 Le, 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 qe, createPinia as cr } from "pinia";
|
|
@@ -28,9 +28,9 @@ const dr = "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-CKaDvMkc.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-CpOrvpya.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-CfvSTYho.mjs"), "./views/error-page/401.vue": () => import("./401-CoAB6cjl.mjs"), "./views/error-page/404.vue": () => import("./404-B_wF-a5B.mjs"), "./views/login/components/types.vue": () => import("./types-Be63aiPK.mjs"), "./views/login/index.vue": () => import("./index-DVoe0Vdc.mjs"), "./views/my/profile.vue": () => import("./profile-BR5UYBXi.mjs"), "./views/my/runAs.vue": () => import("./runAs-C3Kb_ixf.mjs"), "./views/my/updatePwd.vue": () => import("./updatePwd-DCyp61jo.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 (H1(e) && H1(r))
|
|
91
90
|
for (const a in r)
|
|
@@ -223,7 +222,7 @@ function iy() {
|
|
|
223
222
|
params: e
|
|
224
223
|
});
|
|
225
224
|
}
|
|
226
|
-
const S1 = () => import("./index-
|
|
225
|
+
const S1 = () => import("./index-CKaDvMkc.mjs"), zr = () => import("./index-DVoe0Vdc.mjs"), Er = () => import("./types-Be63aiPK.mjs"), Dr = () => import("./profile-BR5UYBXi.mjs"), Mr = () => import("./401-CoAB6cjl.mjs"), Hr = () => import("./404-B_wF-a5B.mjs"), Sr = () => import("./index-CfvSTYho.mjs"), Vr = () => import("./index-uykKwY2Z.mjs"), M6 = [
|
|
227
226
|
{
|
|
228
227
|
path: "/redirect",
|
|
229
228
|
component: S1,
|
|
@@ -1238,8 +1237,7 @@ function X0(e, t, r, a = {}) {
|
|
|
1238
1237
|
if (!z && u) {
|
|
1239
1238
|
const k = f.read(D);
|
|
1240
1239
|
return typeof u == "function" ? u(k, b) : A === "object" && !Array.isArray(k) ? { ...b, ...k } : k;
|
|
1241
|
-
} else
|
|
1242
|
-
return typeof D != "string" ? D : f.read(D);
|
|
1240
|
+
} else return typeof D != "string" ? D : f.read(D);
|
|
1243
1241
|
}
|
|
1244
1242
|
function T(z) {
|
|
1245
1243
|
if (!(z && z.storageArea !== r)) {
|
|
@@ -2150,16 +2148,14 @@ function O6(e) {
|
|
|
2150
2148
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2151
2149
|
}
|
|
2152
2150
|
function xa(e) {
|
|
2153
|
-
if (e.__esModule)
|
|
2154
|
-
return e;
|
|
2151
|
+
if (e.__esModule) return e;
|
|
2155
2152
|
var t = e.default;
|
|
2156
2153
|
if (typeof t == "function") {
|
|
2157
2154
|
var r = function a() {
|
|
2158
2155
|
return this instanceof a ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
|
|
2159
2156
|
};
|
|
2160
2157
|
r.prototype = t.prototype;
|
|
2161
|
-
} else
|
|
2162
|
-
r = {};
|
|
2158
|
+
} else r = {};
|
|
2163
2159
|
return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(a) {
|
|
2164
2160
|
var n = Object.getOwnPropertyDescriptor(e, a);
|
|
2165
2161
|
Object.defineProperty(r, a, n.get ? n : {
|
|
@@ -2206,12 +2202,9 @@ var N6 = { exports: {} };
|
|
|
2206
2202
|
var g = 52;
|
|
2207
2203
|
o.prototype.FV = Math.pow(2, g), o.prototype.F1 = g - r, o.prototype.F2 = 2 * r - g;
|
|
2208
2204
|
var i = "0123456789abcdefghijklmnopqrstuvwxyz", l = new Array(), p, w;
|
|
2209
|
-
for (p = 48, w = 0; w <= 9; ++w)
|
|
2210
|
-
|
|
2211
|
-
for (p =
|
|
2212
|
-
l[p++] = w;
|
|
2213
|
-
for (p = 65, w = 10; w < 36; ++w)
|
|
2214
|
-
l[p++] = w;
|
|
2205
|
+
for (p = 48, w = 0; w <= 9; ++w) l[p++] = w;
|
|
2206
|
+
for (p = 97, w = 10; w < 36; ++w) l[p++] = w;
|
|
2207
|
+
for (p = 65, w = 10; w < 36; ++w) l[p++] = w;
|
|
2215
2208
|
function b(d) {
|
|
2216
2209
|
return i.charAt(d);
|
|
2217
2210
|
}
|
|
@@ -2220,8 +2213,7 @@ var N6 = { exports: {} };
|
|
|
2220
2213
|
return E ?? -1;
|
|
2221
2214
|
}
|
|
2222
2215
|
function f(d) {
|
|
2223
|
-
for (var B = this.t - 1; B >= 0; --B)
|
|
2224
|
-
d[B] = this[B];
|
|
2216
|
+
for (var B = this.t - 1; B >= 0; --B) d[B] = this[B];
|
|
2225
2217
|
d.t = this.t, d.s = this.s;
|
|
2226
2218
|
}
|
|
2227
2219
|
function m(d) {
|
|
@@ -2233,18 +2225,12 @@ var N6 = { exports: {} };
|
|
|
2233
2225
|
}
|
|
2234
2226
|
function M(d, B) {
|
|
2235
2227
|
var E;
|
|
2236
|
-
if (B == 16)
|
|
2237
|
-
|
|
2238
|
-
else if (B == 8
|
|
2239
|
-
|
|
2240
|
-
else if (B ==
|
|
2241
|
-
|
|
2242
|
-
else if (B == 2)
|
|
2243
|
-
E = 1;
|
|
2244
|
-
else if (B == 32)
|
|
2245
|
-
E = 5;
|
|
2246
|
-
else if (B == 4)
|
|
2247
|
-
E = 2;
|
|
2228
|
+
if (B == 16) E = 4;
|
|
2229
|
+
else if (B == 8) E = 3;
|
|
2230
|
+
else if (B == 256) E = 8;
|
|
2231
|
+
else if (B == 2) E = 1;
|
|
2232
|
+
else if (B == 32) E = 5;
|
|
2233
|
+
else if (B == 4) E = 2;
|
|
2248
2234
|
else {
|
|
2249
2235
|
this.fromRadix(d, B);
|
|
2250
2236
|
return;
|
|
@@ -2261,25 +2247,17 @@ var N6 = { exports: {} };
|
|
|
2261
2247
|
E == 8 && d[0] & 128 && (this.s = -1, j > 0 && (this[this.t - 1] |= (1 << this.DB - j) - 1 << j)), this.clamp(), $ && o.ZERO.subTo(this, this);
|
|
2262
2248
|
}
|
|
2263
2249
|
function V() {
|
|
2264
|
-
for (var d = this.s & this.DM; this.t > 0 && this[this.t - 1] == d; )
|
|
2265
|
-
--this.t;
|
|
2250
|
+
for (var d = this.s & this.DM; this.t > 0 && this[this.t - 1] == d; ) --this.t;
|
|
2266
2251
|
}
|
|
2267
2252
|
function S(d) {
|
|
2268
|
-
if (this.s < 0)
|
|
2269
|
-
return "-" + this.negate().toString(d);
|
|
2253
|
+
if (this.s < 0) return "-" + this.negate().toString(d);
|
|
2270
2254
|
var B;
|
|
2271
|
-
if (d == 16)
|
|
2272
|
-
|
|
2273
|
-
else if (d ==
|
|
2274
|
-
|
|
2275
|
-
else if (d == 2
|
|
2276
|
-
|
|
2277
|
-
else if (d == 32)
|
|
2278
|
-
B = 5;
|
|
2279
|
-
else if (d == 4)
|
|
2280
|
-
B = 2;
|
|
2281
|
-
else
|
|
2282
|
-
return this.toRadix(d);
|
|
2255
|
+
if (d == 16) B = 4;
|
|
2256
|
+
else if (d == 8) B = 3;
|
|
2257
|
+
else if (d == 2) B = 1;
|
|
2258
|
+
else if (d == 32) B = 5;
|
|
2259
|
+
else if (d == 4) B = 2;
|
|
2260
|
+
else return this.toRadix(d);
|
|
2283
2261
|
var E = (1 << B) - 1, I, $ = !1, j = "", K = this.t, J = this.DB - K * this.DB % B;
|
|
2284
2262
|
if (K-- > 0)
|
|
2285
2263
|
for (J < this.DB && (I = this[K] >> J) > 0 && ($ = !0, j = b(I)); K >= 0; )
|
|
@@ -2295,14 +2273,10 @@ var N6 = { exports: {} };
|
|
|
2295
2273
|
}
|
|
2296
2274
|
function z(d) {
|
|
2297
2275
|
var B = this.s - d.s;
|
|
2298
|
-
if (B != 0)
|
|
2299
|
-
return B;
|
|
2276
|
+
if (B != 0) return B;
|
|
2300
2277
|
var E = this.t;
|
|
2301
|
-
if (B = E - d.t, B != 0)
|
|
2302
|
-
|
|
2303
|
-
for (; --E >= 0; )
|
|
2304
|
-
if ((B = this[E] - d[E]) != 0)
|
|
2305
|
-
return B;
|
|
2278
|
+
if (B = E - d.t, B != 0) return this.s < 0 ? -B : B;
|
|
2279
|
+
for (; --E >= 0; ) if ((B = this[E] - d[E]) != 0) return B;
|
|
2306
2280
|
return 0;
|
|
2307
2281
|
}
|
|
2308
2282
|
function D(d) {
|
|
@@ -2314,23 +2288,19 @@ var N6 = { exports: {} };
|
|
|
2314
2288
|
}
|
|
2315
2289
|
function L(d, B) {
|
|
2316
2290
|
var E;
|
|
2317
|
-
for (E = this.t - 1; E >= 0; --E)
|
|
2318
|
-
|
|
2319
|
-
for (E = d - 1; E >= 0; --E)
|
|
2320
|
-
B[E] = 0;
|
|
2291
|
+
for (E = this.t - 1; E >= 0; --E) B[E + d] = this[E];
|
|
2292
|
+
for (E = d - 1; E >= 0; --E) B[E] = 0;
|
|
2321
2293
|
B.t = this.t + d, B.s = this.s;
|
|
2322
2294
|
}
|
|
2323
2295
|
function N(d, B) {
|
|
2324
|
-
for (var E = d; E < this.t; ++E)
|
|
2325
|
-
B[E - d] = this[E];
|
|
2296
|
+
for (var E = d; E < this.t; ++E) B[E - d] = this[E];
|
|
2326
2297
|
B.t = Math.max(this.t - d, 0), B.s = this.s;
|
|
2327
2298
|
}
|
|
2328
2299
|
function q(d, B) {
|
|
2329
2300
|
var E = d % this.DB, I = this.DB - E, $ = (1 << I) - 1, j = Math.floor(d / this.DB), K = this.s << E & this.DM, J;
|
|
2330
2301
|
for (J = this.t - 1; J >= 0; --J)
|
|
2331
2302
|
B[J + j + 1] = this[J] >> I | K, K = (this[J] & $) << E;
|
|
2332
|
-
for (J = j - 1; J >= 0; --J)
|
|
2333
|
-
B[J] = 0;
|
|
2303
|
+
for (J = j - 1; J >= 0; --J) B[J] = 0;
|
|
2334
2304
|
B[j] = K, B.t = this.t + j + 1, B.s = this.s, B.clamp();
|
|
2335
2305
|
}
|
|
2336
2306
|
function G(d, B) {
|
|
@@ -2362,15 +2332,12 @@ var N6 = { exports: {} };
|
|
|
2362
2332
|
}
|
|
2363
2333
|
function Y(d, B) {
|
|
2364
2334
|
var E = this.abs(), I = d.abs(), $ = E.t;
|
|
2365
|
-
for (B.t = $ + I.t; --$ >= 0; )
|
|
2366
|
-
|
|
2367
|
-
for ($ = 0; $ < I.t; ++$)
|
|
2368
|
-
B[$ + E.t] = E.am(0, I[$], B, $, 0, E.t);
|
|
2335
|
+
for (B.t = $ + I.t; --$ >= 0; ) B[$] = 0;
|
|
2336
|
+
for ($ = 0; $ < I.t; ++$) B[$ + E.t] = E.am(0, I[$], B, $, 0, E.t);
|
|
2369
2337
|
B.s = 0, B.clamp(), this.s != d.s && o.ZERO.subTo(B, B);
|
|
2370
2338
|
}
|
|
2371
2339
|
function p0(d) {
|
|
2372
|
-
for (var B = this.abs(), E = d.t = 2 * B.t; --E >= 0; )
|
|
2373
|
-
d[E] = 0;
|
|
2340
|
+
for (var B = this.abs(), E = d.t = 2 * B.t; --E >= 0; ) d[E] = 0;
|
|
2374
2341
|
for (E = 0; E < B.t - 1; ++E) {
|
|
2375
2342
|
var I = B.am(E, B[E], d, 2 * E, 0, 1);
|
|
2376
2343
|
(d[E + B.t] += B.am(E + 1, 2 * B[E], d, 2 * E + 1, I, B.t - E - 1)) >= B.DV && (d[E + B.t] -= B.DV, d[E + B.t + 1] = 1);
|
|
@@ -2391,13 +2358,11 @@ var N6 = { exports: {} };
|
|
|
2391
2358
|
var T0 = j.t, n2 = j[T0 - 1];
|
|
2392
2359
|
if (n2 != 0) {
|
|
2393
2360
|
var t2 = n2 * (1 << this.F1) + (T0 > 1 ? j[T0 - 2] >> this.F2 : 0), I2 = this.FV / t2, e1 = (1 << this.F1) / t2, c2 = 1 << this.F2, u2 = E.t, t1 = u2 - T0, R2 = B ?? _();
|
|
2394
|
-
for (j.dlShiftTo(t1, R2), E.compareTo(R2) >= 0 && (E[E.t++] = 1, E.subTo(R2, E)), o.ONE.dlShiftTo(T0, R2), R2.subTo(j, j); j.t < T0; )
|
|
2395
|
-
j[j.t++] = 0;
|
|
2361
|
+
for (j.dlShiftTo(t1, R2), E.compareTo(R2) >= 0 && (E[E.t++] = 1, E.subTo(R2, E)), o.ONE.dlShiftTo(T0, R2), R2.subTo(j, j); j.t < T0; ) j[j.t++] = 0;
|
|
2396
2362
|
for (; --t1 >= 0; ) {
|
|
2397
2363
|
var M1 = E[--u2] == n2 ? this.DM : Math.floor(E[u2] * I2 + (E[u2 - 1] + c2) * e1);
|
|
2398
2364
|
if ((E[u2] += j.am(0, M1, E, t1, 0, T0)) < M1)
|
|
2399
|
-
for (j.dlShiftTo(t1, R2), E.subTo(R2, E); E[u2] < --M1; )
|
|
2400
|
-
E.subTo(R2, E);
|
|
2365
|
+
for (j.dlShiftTo(t1, R2), E.subTo(R2, E); E[u2] < --M1; ) E.subTo(R2, E);
|
|
2401
2366
|
}
|
|
2402
2367
|
B != null && (E.drShiftTo(T0, B), K != J && o.ZERO.subTo(B, B)), E.t = T0, E.clamp(), b0 > 0 && E.rShiftTo(b0, E), K < 0 && o.ZERO.subTo(E, E);
|
|
2403
2368
|
}
|
|
@@ -2427,11 +2392,9 @@ var N6 = { exports: {} };
|
|
|
2427
2392
|
}
|
|
2428
2393
|
R.prototype.convert = W, R.prototype.revert = U, R.prototype.reduce = C0, R.prototype.mulTo = _0, R.prototype.sqrTo = X;
|
|
2429
2394
|
function r0() {
|
|
2430
|
-
if (this.t < 1)
|
|
2431
|
-
return 0;
|
|
2395
|
+
if (this.t < 1) return 0;
|
|
2432
2396
|
var d = this[0];
|
|
2433
|
-
if (!(d & 1))
|
|
2434
|
-
return 0;
|
|
2397
|
+
if (!(d & 1)) return 0;
|
|
2435
2398
|
var B = d & 3;
|
|
2436
2399
|
return B = B * (2 - (d & 15) * B) & 15, B = B * (2 - (d & 255) * B) & 255, B = B * (2 - ((d & 65535) * B & 65535)) & 65535, B = B * (2 - d * B % this.DV) % this.DV, B > 0 ? this.DV - B : -B;
|
|
2437
2400
|
}
|
|
@@ -2467,12 +2430,10 @@ var N6 = { exports: {} };
|
|
|
2467
2430
|
return (this.t > 0 ? this[0] & 1 : this.s) == 0;
|
|
2468
2431
|
}
|
|
2469
2432
|
function S2(d, B) {
|
|
2470
|
-
if (d > 4294967295 || d < 1)
|
|
2471
|
-
return o.ONE;
|
|
2433
|
+
if (d > 4294967295 || d < 1) return o.ONE;
|
|
2472
2434
|
var E = _(), I = _(), $ = B.convert(this), j = D(d) - 1;
|
|
2473
2435
|
for ($.copyTo(E); --j >= 0; )
|
|
2474
|
-
if (B.sqrTo(E, I), (d & 1 << j) > 0)
|
|
2475
|
-
B.mulTo(I, $, E);
|
|
2436
|
+
if (B.sqrTo(E, I), (d & 1 << j) > 0) B.mulTo(I, $, E);
|
|
2476
2437
|
else {
|
|
2477
2438
|
var K = E;
|
|
2478
2439
|
E = I, I = K;
|
|
@@ -2490,15 +2451,11 @@ var N6 = { exports: {} };
|
|
|
2490
2451
|
}
|
|
2491
2452
|
function O() {
|
|
2492
2453
|
if (this.s < 0) {
|
|
2493
|
-
if (this.t == 1)
|
|
2494
|
-
|
|
2495
|
-
if (this.t == 0)
|
|
2496
|
-
return -1;
|
|
2454
|
+
if (this.t == 1) return this[0] - this.DV;
|
|
2455
|
+
if (this.t == 0) return -1;
|
|
2497
2456
|
} else {
|
|
2498
|
-
if (this.t == 1)
|
|
2499
|
-
|
|
2500
|
-
if (this.t == 0)
|
|
2501
|
-
return 0;
|
|
2457
|
+
if (this.t == 1) return this[0];
|
|
2458
|
+
if (this.t == 0) return 0;
|
|
2502
2459
|
}
|
|
2503
2460
|
return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0];
|
|
2504
2461
|
}
|
|
@@ -2515,8 +2472,7 @@ var N6 = { exports: {} };
|
|
|
2515
2472
|
return this.s < 0 ? -1 : this.t <= 0 || this.t == 1 && this[0] <= 0 ? 0 : 1;
|
|
2516
2473
|
}
|
|
2517
2474
|
function x0(d) {
|
|
2518
|
-
if (d == null && (d = 10), this.signum() == 0 || d < 2 || d > 36)
|
|
2519
|
-
return "0";
|
|
2475
|
+
if (d == null && (d = 10), this.signum() == 0 || d < 2 || d > 36) return "0";
|
|
2520
2476
|
var B = this.chunkSize(d), E = Math.pow(d, B), I = F(E), $ = _(), j = _(), K = "";
|
|
2521
2477
|
for (this.divRemTo(I, $, j); $.signum() > 0; )
|
|
2522
2478
|
K = (E + j.intValue()).toString(d).substr(1) + K, $.divRemTo(I, $, j);
|
|
@@ -2536,8 +2492,7 @@ var N6 = { exports: {} };
|
|
|
2536
2492
|
}
|
|
2537
2493
|
function f0(d, B, E) {
|
|
2538
2494
|
if (typeof B == "number")
|
|
2539
|
-
if (d < 2)
|
|
2540
|
-
this.fromInt(1);
|
|
2495
|
+
if (d < 2) this.fromInt(1);
|
|
2541
2496
|
else
|
|
2542
2497
|
for (this.fromNumber(d, E), this.testBit(d - 1) || this.bitwiseTo(o.ONE.shiftLeft(d - 1), z0, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(B); )
|
|
2543
2498
|
this.dAddOffset(2, 0), this.bitLength() > d && this.subTo(o.ONE.shiftLeft(d - 1), this);
|
|
@@ -2566,15 +2521,12 @@ var N6 = { exports: {} };
|
|
|
2566
2521
|
}
|
|
2567
2522
|
function E0(d, B, E) {
|
|
2568
2523
|
var I, $, j = Math.min(d.t, this.t);
|
|
2569
|
-
for (I = 0; I < j; ++I)
|
|
2570
|
-
E[I] = B(this[I], d[I]);
|
|
2524
|
+
for (I = 0; I < j; ++I) E[I] = B(this[I], d[I]);
|
|
2571
2525
|
if (d.t < this.t) {
|
|
2572
|
-
for ($ = d.s & this.DM, I = j; I < this.t; ++I)
|
|
2573
|
-
E[I] = B(this[I], $);
|
|
2526
|
+
for ($ = d.s & this.DM, I = j; I < this.t; ++I) E[I] = B(this[I], $);
|
|
2574
2527
|
E.t = this.t;
|
|
2575
2528
|
} else {
|
|
2576
|
-
for ($ = this.s & this.DM, I = j; I < d.t; ++I)
|
|
2577
|
-
E[I] = B($, d[I]);
|
|
2529
|
+
for ($ = this.s & this.DM, I = j; I < d.t; ++I) E[I] = B($, d[I]);
|
|
2578
2530
|
E.t = d.t;
|
|
2579
2531
|
}
|
|
2580
2532
|
E.s = B(this.s, d.s), E.clamp();
|
|
@@ -2608,8 +2560,7 @@ var N6 = { exports: {} };
|
|
|
2608
2560
|
return this.bitwiseTo(d, O0, B), B;
|
|
2609
2561
|
}
|
|
2610
2562
|
function g2() {
|
|
2611
|
-
for (var d = _(), B = 0; B < this.t; ++B)
|
|
2612
|
-
d[B] = this.DM & ~this[B];
|
|
2563
|
+
for (var d = _(), B = 0; B < this.t; ++B) d[B] = this.DM & ~this[B];
|
|
2613
2564
|
return d.t = this.t, d.s = ~this.s, d;
|
|
2614
2565
|
}
|
|
2615
2566
|
function a2(d) {
|
|
@@ -2621,15 +2572,13 @@ var N6 = { exports: {} };
|
|
|
2621
2572
|
return d < 0 ? this.lShiftTo(-d, B) : this.rShiftTo(d, B), B;
|
|
2622
2573
|
}
|
|
2623
2574
|
function J0(d) {
|
|
2624
|
-
if (d == 0)
|
|
2625
|
-
return -1;
|
|
2575
|
+
if (d == 0) return -1;
|
|
2626
2576
|
var B = 0;
|
|
2627
2577
|
return d & 65535 || (d >>= 16, B += 16), d & 255 || (d >>= 8, B += 8), d & 15 || (d >>= 4, B += 4), d & 3 || (d >>= 2, B += 2), d & 1 || ++B, B;
|
|
2628
2578
|
}
|
|
2629
2579
|
function w2() {
|
|
2630
2580
|
for (var d = 0; d < this.t; ++d)
|
|
2631
|
-
if (this[d] != 0)
|
|
2632
|
-
return d * this.DB + J0(this[d]);
|
|
2581
|
+
if (this[d] != 0) return d * this.DB + J0(this[d]);
|
|
2633
2582
|
return this.s < 0 ? this.t * this.DB : -1;
|
|
2634
2583
|
}
|
|
2635
2584
|
function de(d) {
|
|
@@ -2638,8 +2587,7 @@ var N6 = { exports: {} };
|
|
|
2638
2587
|
return B;
|
|
2639
2588
|
}
|
|
2640
2589
|
function K2() {
|
|
2641
|
-
for (var d = 0, B = this.s & this.DM, E = 0; E < this.t; ++E)
|
|
2642
|
-
d += de(this[E] ^ B);
|
|
2590
|
+
for (var d = 0, B = this.s & this.DM, E = 0; E < this.t; ++E) d += de(this[E] ^ B);
|
|
2643
2591
|
return d;
|
|
2644
2592
|
}
|
|
2645
2593
|
function ve(d) {
|
|
@@ -2706,8 +2654,7 @@ var N6 = { exports: {} };
|
|
|
2706
2654
|
}
|
|
2707
2655
|
function He(d, B) {
|
|
2708
2656
|
if (d != 0) {
|
|
2709
|
-
for (; this.t <= B; )
|
|
2710
|
-
this[this.t++] = 0;
|
|
2657
|
+
for (; this.t <= B; ) this[this.t++] = 0;
|
|
2711
2658
|
for (this[B] += d; this[B] >= this.DV; )
|
|
2712
2659
|
this[B] -= this.DV, ++B >= this.t && (this[this.t++] = 0), ++this[B];
|
|
2713
2660
|
}
|
|
@@ -2729,20 +2676,16 @@ var N6 = { exports: {} };
|
|
|
2729
2676
|
}
|
|
2730
2677
|
function Ke(d, B, E) {
|
|
2731
2678
|
var I = Math.min(this.t + d.t, B);
|
|
2732
|
-
for (E.s = 0, E.t = I; I > 0; )
|
|
2733
|
-
E[--I] = 0;
|
|
2679
|
+
for (E.s = 0, E.t = I; I > 0; ) E[--I] = 0;
|
|
2734
2680
|
var $;
|
|
2735
|
-
for ($ = E.t - this.t; I < $; ++I)
|
|
2736
|
-
|
|
2737
|
-
for ($ = Math.min(d.t, B); I < $; ++I)
|
|
2738
|
-
this.am(0, d[I], E, I, 0, B - I);
|
|
2681
|
+
for ($ = E.t - this.t; I < $; ++I) E[I + this.t] = this.am(0, d[I], E, I, 0, this.t);
|
|
2682
|
+
for ($ = Math.min(d.t, B); I < $; ++I) this.am(0, d[I], E, I, 0, B - I);
|
|
2739
2683
|
E.clamp();
|
|
2740
2684
|
}
|
|
2741
2685
|
function Xe(d, B, E) {
|
|
2742
2686
|
--B;
|
|
2743
2687
|
var I = E.t = this.t + d.t - B;
|
|
2744
|
-
for (E.s = 0; --I >= 0; )
|
|
2745
|
-
E[I] = 0;
|
|
2688
|
+
for (E.s = 0; --I >= 0; ) E[I] = 0;
|
|
2746
2689
|
for (I = Math.max(B - this.t, 0); I < d.t; ++I)
|
|
2747
2690
|
E[this.t + I - B] = this.am(B - I, d[I], E, 0, 0, this.t + I - B);
|
|
2748
2691
|
E.clamp(), E.drShiftTo(1, E);
|
|
@@ -2751,10 +2694,8 @@ var N6 = { exports: {} };
|
|
|
2751
2694
|
this.r2 = _(), this.q3 = _(), o.ONE.dlShiftTo(2 * d.t, this.r2), this.mu = this.r2.divide(d), this.m = d;
|
|
2752
2695
|
}
|
|
2753
2696
|
function Ze(d) {
|
|
2754
|
-
if (d.s < 0 || d.t > 2 * this.m.t)
|
|
2755
|
-
|
|
2756
|
-
if (d.compareTo(this.m) < 0)
|
|
2757
|
-
return d;
|
|
2697
|
+
if (d.s < 0 || d.t > 2 * this.m.t) return d.mod(this.m);
|
|
2698
|
+
if (d.compareTo(this.m) < 0) return d;
|
|
2758
2699
|
var B = _();
|
|
2759
2700
|
return d.copyTo(B), this.reduce(B), B;
|
|
2760
2701
|
}
|
|
@@ -2762,10 +2703,8 @@ var N6 = { exports: {} };
|
|
|
2762
2703
|
return d;
|
|
2763
2704
|
}
|
|
2764
2705
|
function T3(d) {
|
|
2765
|
-
for (d.drShiftTo(this.m.t - 1, this.r2), d.t > this.m.t + 1 && (d.t = this.m.t + 1, d.clamp()), this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); d.compareTo(this.r2) < 0; )
|
|
2766
|
-
|
|
2767
|
-
for (d.subTo(this.r2, d); d.compareTo(this.m) >= 0; )
|
|
2768
|
-
d.subTo(this.m, d);
|
|
2706
|
+
for (d.drShiftTo(this.m.t - 1, this.r2), d.t > this.m.t + 1 && (d.t = this.m.t + 1, d.clamp()), this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); d.compareTo(this.r2) < 0; ) d.dAddOffset(1, this.m.t + 1);
|
|
2707
|
+
for (d.subTo(this.r2, d); d.compareTo(this.m) >= 0; ) d.subTo(this.m, d);
|
|
2769
2708
|
}
|
|
2770
2709
|
function k3(d, B) {
|
|
2771
2710
|
d.squareTo(B), this.reduce(B);
|
|
@@ -2776,8 +2715,7 @@ var N6 = { exports: {} };
|
|
|
2776
2715
|
C2.prototype.convert = Ze, C2.prototype.revert = we, C2.prototype.reduce = T3, C2.prototype.mulTo = P3, C2.prototype.sqrTo = k3;
|
|
2777
2716
|
function R3(d, B) {
|
|
2778
2717
|
var E = d.bitLength(), I, $ = F(1), j;
|
|
2779
|
-
if (E <= 0)
|
|
2780
|
-
return $;
|
|
2718
|
+
if (E <= 0) return $;
|
|
2781
2719
|
E < 18 ? I = 1 : E < 48 ? I = 3 : E < 144 ? I = 4 : E < 768 ? I = 5 : I = 6, E < 8 ? j = new R(B) : B.isEven() ? j = new C2(B) : j = new U0(B);
|
|
2782
2720
|
var K = new Array(), J = 3, b0 = I - 1, T0 = (1 << I) - 1;
|
|
2783
2721
|
if (K[1] = j.convert(this), I > 1) {
|
|
@@ -2808,28 +2746,22 @@ var N6 = { exports: {} };
|
|
|
2808
2746
|
B = E, E = I;
|
|
2809
2747
|
}
|
|
2810
2748
|
var $ = B.getLowestSetBit(), j = E.getLowestSetBit();
|
|
2811
|
-
if (j < 0)
|
|
2812
|
-
return B;
|
|
2749
|
+
if (j < 0) return B;
|
|
2813
2750
|
for ($ < j && (j = $), j > 0 && (B.rShiftTo(j, B), E.rShiftTo(j, E)); B.signum() > 0; )
|
|
2814
2751
|
($ = B.getLowestSetBit()) > 0 && B.rShiftTo($, B), ($ = E.getLowestSetBit()) > 0 && E.rShiftTo($, E), B.compareTo(E) >= 0 ? (B.subTo(E, B), B.rShiftTo(1, B)) : (E.subTo(B, E), E.rShiftTo(1, E));
|
|
2815
2752
|
return j > 0 && E.lShiftTo(j, E), E;
|
|
2816
2753
|
}
|
|
2817
2754
|
function q3(d) {
|
|
2818
|
-
if (d <= 0)
|
|
2819
|
-
return 0;
|
|
2755
|
+
if (d <= 0) return 0;
|
|
2820
2756
|
var B = this.DV % d, E = this.s < 0 ? d - 1 : 0;
|
|
2821
2757
|
if (this.t > 0)
|
|
2822
|
-
if (B == 0)
|
|
2823
|
-
|
|
2824
|
-
else
|
|
2825
|
-
for (var I = this.t - 1; I >= 0; --I)
|
|
2826
|
-
E = (B * E + this[I]) % d;
|
|
2758
|
+
if (B == 0) E = this[0] % d;
|
|
2759
|
+
else for (var I = this.t - 1; I >= 0; --I) E = (B * E + this[I]) % d;
|
|
2827
2760
|
return E;
|
|
2828
2761
|
}
|
|
2829
2762
|
function O3(d) {
|
|
2830
2763
|
var B = d.isEven();
|
|
2831
|
-
if (this.isEven() && B || d.signum() == 0)
|
|
2832
|
-
return o.ZERO;
|
|
2764
|
+
if (this.isEven() && B || d.signum() == 0) return o.ZERO;
|
|
2833
2765
|
for (var E = d.clone(), I = this.clone(), $ = F(1), j = F(0), K = F(0), J = F(1); E.signum() != 0; ) {
|
|
2834
2766
|
for (; E.isEven(); )
|
|
2835
2767
|
E.rShiftTo(1, E), B ? ((!$.isEven() || !j.isEven()) && ($.addTo(this, $), j.subTo(d, j)), $.rShiftTo(1, $)) : j.isEven() || j.subTo(d, j), j.rShiftTo(1, j);
|
|
@@ -2837,14 +2769,10 @@ var N6 = { exports: {} };
|
|
|
2837
2769
|
I.rShiftTo(1, I), B ? ((!K.isEven() || !J.isEven()) && (K.addTo(this, K), J.subTo(d, J)), K.rShiftTo(1, K)) : J.isEven() || J.subTo(d, J), J.rShiftTo(1, J);
|
|
2838
2770
|
E.compareTo(I) >= 0 ? (E.subTo(I, E), B && $.subTo(K, $), j.subTo(J, j)) : (I.subTo(E, I), B && K.subTo($, K), J.subTo(j, J));
|
|
2839
2771
|
}
|
|
2840
|
-
if (I.compareTo(o.ONE) != 0)
|
|
2841
|
-
|
|
2842
|
-
if (J.
|
|
2843
|
-
|
|
2844
|
-
if (J.signum() < 0)
|
|
2845
|
-
J.addTo(d, J);
|
|
2846
|
-
else
|
|
2847
|
-
return J;
|
|
2772
|
+
if (I.compareTo(o.ONE) != 0) return o.ZERO;
|
|
2773
|
+
if (J.compareTo(d) >= 0) return J.subtract(d);
|
|
2774
|
+
if (J.signum() < 0) J.addTo(d, J);
|
|
2775
|
+
else return J;
|
|
2848
2776
|
return J.signum() < 0 ? J.add(d) : J;
|
|
2849
2777
|
}
|
|
2850
2778
|
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];
|
|
@@ -2852,25 +2780,19 @@ var N6 = { exports: {} };
|
|
|
2852
2780
|
var B, E = this.abs();
|
|
2853
2781
|
if (E.t == 1 && E[0] <= G0[G0.length - 1]) {
|
|
2854
2782
|
for (B = 0; B < G0.length; ++B)
|
|
2855
|
-
if (E[0] == G0[B])
|
|
2856
|
-
return !0;
|
|
2783
|
+
if (E[0] == G0[B]) return !0;
|
|
2857
2784
|
return !1;
|
|
2858
2785
|
}
|
|
2859
|
-
if (E.isEven())
|
|
2860
|
-
return !1;
|
|
2786
|
+
if (E.isEven()) return !1;
|
|
2861
2787
|
for (B = 1; B < G0.length; ) {
|
|
2862
|
-
for (var I = G0[B], $ = B + 1; $ < G0.length && I < N3; )
|
|
2863
|
-
|
|
2864
|
-
for (I = E.modInt(I); B < $; )
|
|
2865
|
-
if (I % G0[B++] == 0)
|
|
2866
|
-
return !1;
|
|
2788
|
+
for (var I = G0[B], $ = B + 1; $ < G0.length && I < N3; ) I *= G0[$++];
|
|
2789
|
+
for (I = E.modInt(I); B < $; ) if (I % G0[B++] == 0) return !1;
|
|
2867
2790
|
}
|
|
2868
2791
|
return E.millerRabin(d);
|
|
2869
2792
|
}
|
|
2870
2793
|
function j3(d) {
|
|
2871
2794
|
var B = this.subtract(o.ONE), E = B.getLowestSetBit();
|
|
2872
|
-
if (E <= 0)
|
|
2873
|
-
return !1;
|
|
2795
|
+
if (E <= 0) return !1;
|
|
2874
2796
|
var I = B.shiftRight(E);
|
|
2875
2797
|
d = d + 1 >> 1, d > G0.length && (d = G0.length);
|
|
2876
2798
|
for (var $ = _(), j = 0; j < d; ++j) {
|
|
@@ -2878,10 +2800,8 @@ var N6 = { exports: {} };
|
|
|
2878
2800
|
var K = $.modPow(I, this);
|
|
2879
2801
|
if (K.compareTo(o.ONE) != 0 && K.compareTo(B) != 0) {
|
|
2880
2802
|
for (var J = 1; J++ < E && K.compareTo(B) != 0; )
|
|
2881
|
-
if (K = K.modPowInt(2, this), K.compareTo(o.ONE) == 0)
|
|
2882
|
-
|
|
2883
|
-
if (K.compareTo(B) != 0)
|
|
2884
|
-
return !1;
|
|
2803
|
+
if (K = K.modPowInt(2, this), K.compareTo(o.ONE) == 0) return !1;
|
|
2804
|
+
if (K.compareTo(B) != 0) return !1;
|
|
2885
2805
|
}
|
|
2886
2806
|
}
|
|
2887
2807
|
return !0;
|
|
@@ -2922,8 +2842,7 @@ var N6 = { exports: {} };
|
|
|
2922
2842
|
}
|
|
2923
2843
|
function Q3(d) {
|
|
2924
2844
|
var B;
|
|
2925
|
-
for (B = 0; B < d.length; ++B)
|
|
2926
|
-
d[B] = G3();
|
|
2845
|
+
for (B = 0; B < d.length; ++B) d[B] = G3();
|
|
2927
2846
|
}
|
|
2928
2847
|
function Yt() {
|
|
2929
2848
|
}
|
|
@@ -2966,8 +2885,7 @@ function ma(e) {
|
|
|
2966
2885
|
let r = t.length;
|
|
2967
2886
|
r % 2 === 1 ? r += 1 : t.match(/^[0-7]/) || (r += 2);
|
|
2968
2887
|
let a = "";
|
|
2969
|
-
for (let n = 0; n < r; n++)
|
|
2970
|
-
a += "f";
|
|
2888
|
+
for (let n = 0; n < r; n++) a += "f";
|
|
2971
2889
|
a = new Ae(a, 16), t = a.xor(e).add(Ae.ONE), t = t.toString(16).replace(/^-/, "");
|
|
2972
2890
|
}
|
|
2973
2891
|
return t;
|
|
@@ -3137,10 +3055,8 @@ class W2 {
|
|
|
3137
3055
|
* z3 = λ10 * λ8
|
|
3138
3056
|
*/
|
|
3139
3057
|
add(t) {
|
|
3140
|
-
if (this.isInfinity())
|
|
3141
|
-
|
|
3142
|
-
if (t.isInfinity())
|
|
3143
|
-
return this;
|
|
3058
|
+
if (this.isInfinity()) return t;
|
|
3059
|
+
if (t.isInfinity()) return this;
|
|
3144
3060
|
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);
|
|
3145
3061
|
if (Q0.ZERO.equals(g))
|
|
3146
3062
|
return Q0.ZERO.equals(p) ? this.twice() : this.curve.infinity;
|
|
@@ -3163,10 +3079,8 @@ class W2 {
|
|
|
3163
3079
|
* z3 = λ2 * λ5
|
|
3164
3080
|
*/
|
|
3165
3081
|
twice() {
|
|
3166
|
-
if (this.isInfinity())
|
|
3167
|
-
|
|
3168
|
-
if (!this.y.toBigInteger().signum())
|
|
3169
|
-
return this.curve.infinity;
|
|
3082
|
+
if (this.isInfinity()) return this;
|
|
3083
|
+
if (!this.y.toBigInteger().signum()) return this.curve.infinity;
|
|
3170
3084
|
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);
|
|
3171
3085
|
return new W2(this.curve, this.curve.fromBigInteger(i), this.curve.fromBigInteger(l), p);
|
|
3172
3086
|
}
|
|
@@ -3174,10 +3088,8 @@ class W2 {
|
|
|
3174
3088
|
* 倍点计算
|
|
3175
3089
|
*/
|
|
3176
3090
|
multiply(t) {
|
|
3177
|
-
if (this.isInfinity())
|
|
3178
|
-
|
|
3179
|
-
if (!t.signum())
|
|
3180
|
-
return this.curve.infinity;
|
|
3091
|
+
if (this.isInfinity()) return this;
|
|
3092
|
+
if (!t.signum()) return this.curve.infinity;
|
|
3181
3093
|
const r = t.multiply(i4), a = this.negate();
|
|
3182
3094
|
let n = this;
|
|
3183
3095
|
for (let o = r.bitLength() - 2; o > 0; o--) {
|
|
@@ -3248,8 +3160,7 @@ function Ea(e, t, r) {
|
|
|
3248
3160
|
return { privateKey: o, publicKey: u };
|
|
3249
3161
|
}
|
|
3250
3162
|
function Da(e) {
|
|
3251
|
-
if (e.length !== 130)
|
|
3252
|
-
throw new Error("Invalid public key to compress");
|
|
3163
|
+
if (e.length !== 130) throw new Error("Invalid public key to compress");
|
|
3253
3164
|
const t = (e.length - 2) / 2, r = e.substr(2, t), a = new p2(e.substr(t + 2, t), 16);
|
|
3254
3165
|
let n = "03";
|
|
3255
3166
|
return a.mod(new p2("2")).equals(p2.ZERO) && (n = "02"), n + r;
|
|
@@ -3298,15 +3209,13 @@ function Va(e) {
|
|
|
3298
3209
|
}
|
|
3299
3210
|
function La(e) {
|
|
3300
3211
|
const t = Be.decodePointHex(e);
|
|
3301
|
-
if (!t)
|
|
3302
|
-
return !1;
|
|
3212
|
+
if (!t) return !1;
|
|
3303
3213
|
const r = t.getX();
|
|
3304
3214
|
return t.getY().square().equals(r.multiply(r.square()).add(r.multiply(Be.a)).add(Be.b));
|
|
3305
3215
|
}
|
|
3306
3216
|
function Ia(e, t) {
|
|
3307
3217
|
const r = Be.decodePointHex(e);
|
|
3308
|
-
if (!r)
|
|
3309
|
-
return !1;
|
|
3218
|
+
if (!r) return !1;
|
|
3310
3219
|
const a = Be.decodePointHex(t);
|
|
3311
3220
|
return a ? r.equals(a) : !1;
|
|
3312
3221
|
}
|
|
@@ -3330,8 +3239,7 @@ function o2(e, t) {
|
|
|
3330
3239
|
}
|
|
3331
3240
|
function c4(e, t) {
|
|
3332
3241
|
const r = [];
|
|
3333
|
-
for (let a = e.length - 1; a >= 0; a--)
|
|
3334
|
-
r[a] = (e[a] ^ t[a]) & 255;
|
|
3242
|
+
for (let a = e.length - 1; a >= 0; a--) r[a] = (e[a] ^ t[a]) & 255;
|
|
3335
3243
|
return r;
|
|
3336
3244
|
}
|
|
3337
3245
|
function ka(e) {
|
|
@@ -3344,17 +3252,14 @@ function c1(e) {
|
|
|
3344
3252
|
let t = e.length * 8, r = t % 512;
|
|
3345
3253
|
r = r >= 448 ? 512 - r % 448 - 1 : 448 - r - 1;
|
|
3346
3254
|
const a = new Array((r - 7) / 8), n = new Array(8);
|
|
3347
|
-
for (let c = 0, g = a.length; c < g; c++)
|
|
3348
|
-
|
|
3349
|
-
for (let c = 0, g = n.length; c < g; c++)
|
|
3350
|
-
n[c] = 0;
|
|
3255
|
+
for (let c = 0, g = a.length; c < g; c++) a[c] = 0;
|
|
3256
|
+
for (let c = 0, g = n.length; c < g; c++) n[c] = 0;
|
|
3351
3257
|
t = t.toString(2);
|
|
3352
3258
|
for (let c = 7; c >= 0; c--)
|
|
3353
3259
|
if (t.length > 8) {
|
|
3354
3260
|
const g = t.length - 8;
|
|
3355
3261
|
n[c] = parseInt(t.substr(g), 2), t = t.substr(0, g);
|
|
3356
|
-
} else
|
|
3357
|
-
t.length > 0 && (n[c] = parseInt(t, 2), t = "");
|
|
3262
|
+
} else t.length > 0 && (n[c] = parseInt(t, 2), t = "");
|
|
3358
3263
|
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]);
|
|
3359
3264
|
for (let c = 0; c < h; c++) {
|
|
3360
3265
|
_2.fill(0), k1.fill(0);
|
|
@@ -3382,8 +3287,7 @@ const Te = 64, G6 = new Uint8Array(Te), Q6 = new Uint8Array(Te);
|
|
|
3382
3287
|
for (let e = 0; e < Te; e++)
|
|
3383
3288
|
G6[e] = 54, Q6[e] = 92;
|
|
3384
3289
|
function Ra(e, t) {
|
|
3385
|
-
for (t.length > Te && (t = c1(t)); t.length < Te; )
|
|
3386
|
-
t.push(0);
|
|
3290
|
+
for (t.length > Te && (t = c1(t)); t.length < Te; ) t.push(0);
|
|
3387
3291
|
const r = c4(t, G6), a = c4(t, Q6), n = c1([...r, ...e]);
|
|
3388
3292
|
return c1([...a, ...n]);
|
|
3389
3293
|
}
|
|
@@ -3454,8 +3358,7 @@ function ja(e, t, r, { der: a, hash: n, userId: o } = {}) {
|
|
|
3454
3358
|
} else
|
|
3455
3359
|
h = new r2(t.substring(0, 64), 16), v = new r2(t.substring(64), 16);
|
|
3456
3360
|
const u = K6.decodePointHex(r), c = new r2(_, 16), g = h.add(v).mod(ye);
|
|
3457
|
-
if (g.equals(r2.ZERO))
|
|
3458
|
-
return !1;
|
|
3361
|
+
if (g.equals(r2.ZERO)) return !1;
|
|
3459
3362
|
const i = se.multiply(v).add(u.multiply(g)), l = c.add(i.getX().toBigInteger()).mod(ye);
|
|
3460
3363
|
return h.equals(l);
|
|
3461
3364
|
}
|
|
@@ -3528,11 +3431,9 @@ function Xa(e) {
|
|
|
3528
3431
|
}
|
|
3529
3432
|
var Za = function(e, t) {
|
|
3530
3433
|
if (e = typeof e == "string" ? Xa(e) : Array.prototype.slice.call(e), t) {
|
|
3531
|
-
if ((t.mode || "hmac") !== "hmac")
|
|
3532
|
-
throw new Error("invalid mode");
|
|
3434
|
+
if ((t.mode || "hmac") !== "hmac") throw new Error("invalid mode");
|
|
3533
3435
|
let a = t.key;
|
|
3534
|
-
if (!a)
|
|
3535
|
-
throw new Error("invalid key");
|
|
3436
|
+
if (!a) throw new Error("invalid key");
|
|
3536
3437
|
return a = typeof a == "string" ? Ka(a) : Array.prototype.slice.call(a), u4(Qa(e, a));
|
|
3537
3438
|
}
|
|
3538
3439
|
return u4(Ga(e));
|
|
@@ -3905,8 +3806,7 @@ function _4(e, t, r, {
|
|
|
3905
3806
|
throw new Error("key is invalid");
|
|
3906
3807
|
if (typeof e == "string" ? r !== $2 ? e = t8(e) : e = P1(e) : e = [...e], (a === "pkcs#5" || a === "pkcs#7") && r !== $2) {
|
|
3907
3808
|
const i = ae - e.length % ae;
|
|
3908
|
-
for (let l = 0; l < i; l++)
|
|
3909
|
-
e.push(i);
|
|
3809
|
+
for (let l = 0; l < i; l++) e.push(i);
|
|
3910
3810
|
}
|
|
3911
3811
|
const h = new Array(Ja);
|
|
3912
3812
|
n8(t, h, r);
|
|
@@ -3925,8 +3825,7 @@ function _4(e, t, r, {
|
|
|
3925
3825
|
if ((a === "pkcs#5" || a === "pkcs#7") && r === $2) {
|
|
3926
3826
|
const i = v.length, l = v[i - 1];
|
|
3927
3827
|
for (let p = 1; p <= l; p++)
|
|
3928
|
-
if (v[i - p] !== l)
|
|
3929
|
-
throw new Error("padding is invalid");
|
|
3828
|
+
if (v[i - p] !== l) throw new Error("padding is invalid");
|
|
3930
3829
|
v.splice(i - l, l);
|
|
3931
3830
|
}
|
|
3932
3831
|
return _ !== "array" ? r !== $2 ? e8(v) : r8(v) : v;
|
|
@@ -4186,10 +4085,8 @@ var t3 = { exports: {} };
|
|
|
4186
4085
|
o(l);
|
|
4187
4086
|
}, 0));
|
|
4188
4087
|
} : "msSaveOrOpenBlob" in navigator ? function(u, c, g) {
|
|
4189
|
-
if (c = c || u.name || "download", typeof u != "string")
|
|
4190
|
-
|
|
4191
|
-
else if (n(u))
|
|
4192
|
-
a(u, c, g);
|
|
4088
|
+
if (c = c || u.name || "download", typeof u != "string") navigator.msSaveOrOpenBlob(r(u, g), c);
|
|
4089
|
+
else if (n(u)) a(u, c, g);
|
|
4193
4090
|
else {
|
|
4194
4091
|
var i = document.createElement("a");
|
|
4195
4092
|
i.href = u, i.target = "_blank", setTimeout(function() {
|
|
@@ -4197,8 +4094,7 @@ var t3 = { exports: {} };
|
|
|
4197
4094
|
});
|
|
4198
4095
|
}
|
|
4199
4096
|
} : function(u, c, g, i) {
|
|
4200
|
-
if (i = i || open("", "_blank"), i && (i.document.title = i.document.body.innerText = "downloading..."), typeof u == "string")
|
|
4201
|
-
return a(u, c, g);
|
|
4097
|
+
if (i = i || open("", "_blank"), i && (i.document.title = i.document.body.innerText = "downloading..."), typeof u == "string") return a(u, c, g);
|
|
4202
4098
|
var l = u.type === "application/octet-stream", p = /constructor/i.test(_.HTMLElement) || _.safari, w = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
4203
4099
|
if ((w || l && p || h) && typeof FileReader < "u") {
|
|
4204
4100
|
var b = new FileReader();
|
|
@@ -10749,7 +10645,7 @@ const Pv = { name: "ep-search", render: kv }, Rv = /* @__PURE__ */ y({
|
|
|
10749
10645
|
for (const [a, n] of t)
|
|
10750
10646
|
r[a] = n;
|
|
10751
10647
|
return r;
|
|
10752
|
-
}, B1 = /* @__PURE__ */ It(Rv, [["__scopeId", "data-v-
|
|
10648
|
+
}, B1 = /* @__PURE__ */ It(Rv, [["__scopeId", "data-v-c88d620b"]]), $v = { class: "table-list" }, qv = ["onClick"], Ov = { class: "table-footer" }, Nv = /* @__PURE__ */ y({
|
|
10753
10649
|
__name: "index",
|
|
10754
10650
|
props: /* @__PURE__ */ Ct({
|
|
10755
10651
|
labelName: {
|
|
@@ -16047,11 +15943,9 @@ class Ax {
|
|
|
16047
15943
|
}
|
|
16048
15944
|
compatible() {
|
|
16049
15945
|
try {
|
|
16050
|
-
if (typeof FileReader > "u" || typeof Blob > "u")
|
|
16051
|
-
return !1;
|
|
15946
|
+
if (typeof FileReader > "u" || typeof Blob > "u") return !1;
|
|
16052
15947
|
const t = new Blob();
|
|
16053
|
-
if (!t.slice && !("webkitSlice" in t))
|
|
16054
|
-
return !1;
|
|
15948
|
+
if (!t.slice && !("webkitSlice" in t)) return !1;
|
|
16055
15949
|
} catch {
|
|
16056
15950
|
return !1;
|
|
16057
15951
|
}
|
|
@@ -16188,10 +16082,8 @@ var _3 = { exports: {} };
|
|
|
16188
16082
|
return Object.prototype.toString.call(A) === "[object Array]";
|
|
16189
16083
|
};
|
|
16190
16084
|
function c(A) {
|
|
16191
|
-
if (typeof this != "object")
|
|
16192
|
-
|
|
16193
|
-
if (typeof A != "function")
|
|
16194
|
-
throw new TypeError("not a function");
|
|
16085
|
+
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
16086
|
+
if (typeof A != "function") throw new TypeError("not a function");
|
|
16195
16087
|
this._state = null, this._value = null, this._deferreds = [], b(A, v(i, this), v(l, this));
|
|
16196
16088
|
}
|
|
16197
16089
|
function g(A) {
|
|
@@ -16218,8 +16110,7 @@ var _3 = { exports: {} };
|
|
|
16218
16110
|
}
|
|
16219
16111
|
function i(A) {
|
|
16220
16112
|
try {
|
|
16221
|
-
if (A === this)
|
|
16222
|
-
throw new TypeError("A promise cannot be resolved with itself.");
|
|
16113
|
+
if (A === this) throw new TypeError("A promise cannot be resolved with itself.");
|
|
16223
16114
|
if (A && (typeof A == "object" || typeof A == "function")) {
|
|
16224
16115
|
var f = A.then;
|
|
16225
16116
|
if (typeof f == "function") {
|
|
@@ -16252,8 +16143,7 @@ var _3 = { exports: {} };
|
|
|
16252
16143
|
F || (F = !0, m(M));
|
|
16253
16144
|
});
|
|
16254
16145
|
} catch (M) {
|
|
16255
|
-
if (F)
|
|
16256
|
-
return;
|
|
16146
|
+
if (F) return;
|
|
16257
16147
|
F = !0, m(M);
|
|
16258
16148
|
}
|
|
16259
16149
|
}
|
|
@@ -16267,8 +16157,7 @@ var _3 = { exports: {} };
|
|
|
16267
16157
|
}, c.all = function() {
|
|
16268
16158
|
var A = Array.prototype.slice.call(arguments.length === 1 && u(arguments[0]) ? arguments[0] : arguments);
|
|
16269
16159
|
return new c(function(f, m) {
|
|
16270
|
-
if (A.length === 0)
|
|
16271
|
-
return f([]);
|
|
16160
|
+
if (A.length === 0) return f([]);
|
|
16272
16161
|
var F = A.length;
|
|
16273
16162
|
function M(S, T) {
|
|
16274
16163
|
try {
|
|
@@ -16610,10 +16499,8 @@ Content-Type: ` + p.type + `\r
|
|
|
16610
16499
|
var o, _;
|
|
16611
16500
|
(function() {
|
|
16612
16501
|
var h = !1, v = function(H) {
|
|
16613
|
-
if (H instanceof v)
|
|
16614
|
-
|
|
16615
|
-
if (!(this instanceof v))
|
|
16616
|
-
return new v(H);
|
|
16502
|
+
if (H instanceof v) return H;
|
|
16503
|
+
if (!(this instanceof v)) return new v(H);
|
|
16617
16504
|
this.EXIFwrapped = H;
|
|
16618
16505
|
};
|
|
16619
16506
|
typeof r < "u" && r.exports && (a = r.exports = v), a.EXIF = v;
|
|
@@ -17152,15 +17039,13 @@ Content-Type: ` + p.type + `\r
|
|
|
17152
17039
|
if (l(H))
|
|
17153
17040
|
return H.exifdata[z];
|
|
17154
17041
|
}, v.getAllTags = function(H) {
|
|
17155
|
-
if (!l(H))
|
|
17156
|
-
return {};
|
|
17042
|
+
if (!l(H)) return {};
|
|
17157
17043
|
var z, D = H.exifdata, k = {};
|
|
17158
17044
|
for (z in D)
|
|
17159
17045
|
D.hasOwnProperty(z) && (k[z] = D[z]);
|
|
17160
17046
|
return k;
|
|
17161
17047
|
}, v.pretty = function(H) {
|
|
17162
|
-
if (!l(H))
|
|
17163
|
-
return "";
|
|
17048
|
+
if (!l(H)) return "";
|
|
17164
17049
|
var z, D = H.exifdata, k = "";
|
|
17165
17050
|
for (z in D)
|
|
17166
17051
|
D.hasOwnProperty(z) && (typeof D[z] == "object" ? D[z] instanceof Number ? k += z + " : " + D[z] + " [" + D[z].numerator + "/" + D[z].denominator + `]\r
|
|
@@ -17287,8 +17172,7 @@ Content-Type: ` + p.type + `\r
|
|
|
17287
17172
|
var A = this.srcImage, f = A.src, m = f.length, F = A.naturalWidth, M = A.naturalHeight, V = p.width, S = p.height, T = p.maxWidth, H = p.maxHeight, z = this.blob && this.blob.type === "image/jpeg" || f.indexOf("data:image/jpeg") === 0 || f.indexOf(".jpg") === m - 4 || f.indexOf(".jpeg") === m - 5;
|
|
17288
17173
|
V && !S ? S = M * V / F << 0 : S && !V ? V = F * S / M << 0 : (V = F, S = M), T && V > T && (V = T, S = M * V / F << 0), H && S > H && (S = H, V = F * S / M << 0);
|
|
17289
17174
|
var D = { width: V, height: S };
|
|
17290
|
-
for (var k in p)
|
|
17291
|
-
D[k] = p[k];
|
|
17175
|
+
for (var k in p) D[k] = p[k];
|
|
17292
17176
|
var L = l.tagName.toLowerCase();
|
|
17293
17177
|
L === "img" ? l.src = u(this.srcImage, D, z) : L === "canvas" && c(this.srcImage, l, D, z), typeof this.onrender == "function" && this.onrender(l), w && w();
|
|
17294
17178
|
}, o = [], _ = (function() {
|
|
@@ -17498,8 +17382,7 @@ Content-Type: ` + p.type + `\r
|
|
|
17498
17382
|
}(navigator.userAgent);
|
|
17499
17383
|
function u(i, l) {
|
|
17500
17384
|
var p = this;
|
|
17501
|
-
if (!i)
|
|
17502
|
-
throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");
|
|
17385
|
+
if (!i) throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");
|
|
17503
17386
|
l = l || {}, p.defaults = {
|
|
17504
17387
|
width: null,
|
|
17505
17388
|
height: null,
|
|
@@ -17847,7 +17730,7 @@ const qx = { class: "icon-list" }, Ox = ["onClick"], Nx = /* @__PURE__ */ y({
|
|
|
17847
17730
|
], 512);
|
|
17848
17731
|
};
|
|
17849
17732
|
}
|
|
17850
|
-
}), Ux = /* @__PURE__ */ It(Nx, [["__scopeId", "data-v-
|
|
17733
|
+
}), Ux = /* @__PURE__ */ It(Nx, [["__scopeId", "data-v-e85de0de"]]), jx = /* @__PURE__ */ y({
|
|
17851
17734
|
__name: "index",
|
|
17852
17735
|
props: {
|
|
17853
17736
|
/**
|
|
@@ -18088,7 +17971,7 @@ const qx = { class: "icon-list" }, Ox = ["onClick"], Nx = /* @__PURE__ */ y({
|
|
|
18088
17971
|
], 2);
|
|
18089
17972
|
};
|
|
18090
17973
|
}
|
|
18091
|
-
}), Jx = /* @__PURE__ */ It(Zx, [["__scopeId", "data-v-
|
|
17974
|
+
}), Jx = /* @__PURE__ */ It(Zx, [["__scopeId", "data-v-683f4e33"]]);
|
|
18092
17975
|
var Y4;
|
|
18093
17976
|
const pe = typeof window < "u", em = (e) => typeof e == "string", tm = () => {
|
|
18094
17977
|
};
|
|
@@ -18219,7 +18102,7 @@ fm({
|
|
|
18219
18102
|
linear: rm
|
|
18220
18103
|
}, dm);
|
|
18221
18104
|
/**
|
|
18222
|
-
* @vue/shared v3.4.
|
|
18105
|
+
* @vue/shared v3.4.30
|
|
18223
18106
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18224
18107
|
* @license MIT
|
|
18225
18108
|
**/
|