odm-client 0.0.6 → 0.0.8
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/dist/client/cloudbase-client.d.ts +5 -0
- package/dist/client/mongodb-client.d.ts +5 -0
- package/dist/cloudbase.cjs +1 -1
- package/dist/cloudbase.js +79 -62
- package/dist/generate.cjs +6 -4
- package/dist/generate.js +18 -16
- package/dist/mongodb.cjs +5 -5
- package/dist/mongodb.js +707 -698
- package/package.json +1 -1
- /package/dist/deps/{_commonjsHelpers-KaVRbhAgd4-yb1md3dwe.js → _commonjsHelpers-KaVRbhAgd4-luyi60el4.js} +0 -0
- /package/dist/deps/{_commonjsHelpers-KaVRbhAgd4-wjnejzmz6.js → _commonjsHelpers-KaVRbhAgd4-uxdx7xq2m.js} +0 -0
- /package/dist/deps/{acorn-DYjaOAP8Gz-lcyky5srw.js → acorn-DYjaOAP8Gz-fc8a5vd6f.js} +0 -0
- /package/dist/deps/{acorn-DYjaOAP8Gz-vkxnlrhwa.js → acorn-DYjaOAP8Gz-mmbac6k56.js} +0 -0
- /package/dist/deps/{angular-1bp1uAROl4-apximaw11.js → angular-1bp1uAROl4-392hcgq9j.js} +0 -0
- /package/dist/deps/{angular-1bp1uAROl4-9fefttljf.js → angular-1bp1uAROl4-nu7ubqcdq.js} +0 -0
- /package/dist/deps/{babel-_P9jsDBVVy-ufr8nd82k.js → babel-_P9jsDBVVy-ny5fugicw.js} +0 -0
- /package/dist/deps/{babel-_P9jsDBVVy-om3seubsy.js → babel-_P9jsDBVVy-oseohiw1b.js} +0 -0
- /package/dist/deps/{estree-Q-oFBmJEml-hhewirwmi.js → estree-Q-oFBmJEml-d2f6a4nek.js} +0 -0
- /package/dist/deps/{estree-Q-oFBmJEml-0wyzrfhg9.js → estree-Q-oFBmJEml-vqrstqunn.js} +0 -0
- /package/dist/deps/{flow-j77MFvzLrn-w44sbl0aq.js → flow-j77MFvzLrn-6tjv6t0kh.js} +0 -0
- /package/dist/deps/{flow-j77MFvzLrn-piniwui6t.js → flow-j77MFvzLrn-bzfofy2wu.js} +0 -0
- /package/dist/deps/{glimmer-ewQPb5nTUl-5sajfp57j.js → glimmer-ewQPb5nTUl-79i0tvwqi.js} +0 -0
- /package/dist/deps/{glimmer-ewQPb5nTUl-ec1331ul8.js → glimmer-ewQPb5nTUl-f3nhh3bgt.js} +0 -0
- /package/dist/deps/{graphql-8EXR1_taGG-unrztobpq.js → graphql-8EXR1_taGG-hplrxo4fy.js} +0 -0
- /package/dist/deps/{graphql-8EXR1_taGG-udhm78gd4.js → graphql-8EXR1_taGG-lws2cspdc.js} +0 -0
- /package/dist/deps/{html-dGbiW_CFWL-poyjuvdaa.js → html-dGbiW_CFWL-0lmlt42z5.js} +0 -0
- /package/dist/deps/{html-dGbiW_CFWL-2oof56m2q.js → html-dGbiW_CFWL-ney778lgh.js} +0 -0
- /package/dist/deps/{markdown-vAYIRClyWZ-429ctefsk.js → markdown-vAYIRClyWZ-e7ndhqf52.js} +0 -0
- /package/dist/deps/{markdown-vAYIRClyWZ-1cemrbb6a.js → markdown-vAYIRClyWZ-o2ueqpioi.js} +0 -0
- /package/dist/deps/{meriyah-d5_qqf88x--o4esm3k5x.js → meriyah-d5_qqf88x--v93a4a260.js} +0 -0
- /package/dist/deps/{meriyah-d5_qqf88x--0mlax9uei.js → meriyah-d5_qqf88x--vl5irnno3.js} +0 -0
- /package/dist/deps/{postcss-Vz5bDQ3hJO-mo89mpl0m.js → postcss-Vz5bDQ3hJO-kz4viqh8k.js} +0 -0
- /package/dist/deps/{postcss-Vz5bDQ3hJO-pqn1dpwii.js → postcss-Vz5bDQ3hJO-rtvn3lj4a.js} +0 -0
- /package/dist/deps/{query-builder-h6B2D2BCoQ-zi2f107p9.js → query-builder-h6B2D2BCoQ-cdzloxcwh.js} +0 -0
- /package/dist/deps/{query-builder-h6B2D2BCoQ-xgzrq0az6.js → query-builder-h6B2D2BCoQ-uo54lu0fc.js} +0 -0
- /package/dist/deps/{typescript-2hCq12HCbJ-q59kbise6.js → typescript-2hCq12HCbJ-deifaq0ac.js} +0 -0
- /package/dist/deps/{typescript-2hCq12HCbJ-bwx78hlqe.js → typescript-2hCq12HCbJ-yk0uhwb78.js} +0 -0
- /package/dist/deps/{yaml-I5o0CrcX7J-ocpa2wi40.js → yaml-I5o0CrcX7J-89hx547ee.js} +0 -0
- /package/dist/deps/{yaml-I5o0CrcX7J-mr5s5j83i.js → yaml-I5o0CrcX7J-jmlyfocsv.js} +0 -0
package/dist/mongodb.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var se = (e, t, r) =>
|
|
4
|
-
import { Q as
|
|
1
|
+
var $l = Object.defineProperty;
|
|
2
|
+
var e2 = (e, t, r) => t in e ? $l(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var se = (e, t, r) => e2(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
import { Q as ir, a as t2, b as Ru } from "./deps/query-builder-h6B2D2BCoQ-uo54lu0fc.js";
|
|
5
5
|
import gn from "timers";
|
|
6
|
-
import
|
|
6
|
+
import Fc from "crypto";
|
|
7
7
|
import D1 from "fs";
|
|
8
8
|
import r2 from "http";
|
|
9
|
-
import
|
|
9
|
+
import Ar from "process";
|
|
10
10
|
import ao from "stream";
|
|
11
11
|
import n2 from "events";
|
|
12
12
|
import i2 from "util";
|
|
13
|
-
import
|
|
13
|
+
import Rc from "timers/promises";
|
|
14
14
|
import T1 from "dns";
|
|
15
|
-
import
|
|
16
|
-
import { g as
|
|
15
|
+
import Nc from "os";
|
|
16
|
+
import { g as pr, c as xt } from "./deps/_commonjsHelpers-KaVRbhAgd4-uxdx7xq2m.js";
|
|
17
17
|
import o2 from "url";
|
|
18
|
-
import
|
|
18
|
+
import Ic from "zlib";
|
|
19
19
|
import B1 from "net";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import vc from "fs/promises";
|
|
21
|
+
import Pc from "tls";
|
|
22
22
|
import s2 from "child_process";
|
|
23
23
|
var is = {}, ei = {}, pe = {}, Oe = {};
|
|
24
24
|
const u2 = (() => {
|
|
25
25
|
const e = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array.prototype), Symbol.toStringTag).get;
|
|
26
26
|
return (t) => e.call(t);
|
|
27
27
|
})();
|
|
28
|
-
function
|
|
28
|
+
function hr(e) {
|
|
29
29
|
return u2(e) === "Uint8Array";
|
|
30
30
|
}
|
|
31
31
|
function b1(e) {
|
|
@@ -47,7 +47,7 @@ function a2(e) {
|
|
|
47
47
|
if (e != null && typeof e == "object" && "stylize" in e && typeof e.stylize == "function")
|
|
48
48
|
return e.stylize;
|
|
49
49
|
}
|
|
50
|
-
const Rr = 7, dn = Symbol.for("@@mdb.bson.version"), ti = 2147483647, ri = -2147483648,
|
|
50
|
+
const Rr = 7, dn = Symbol.for("@@mdb.bson.version"), ti = 2147483647, ri = -2147483648, Lc = Math.pow(2, 63) - 1, kc = -Math.pow(2, 63), Uc = Math.pow(2, 53), xc = -Math.pow(2, 53), F1 = 1, jc = 2, R1 = 3, zc = 4, N1 = 5, c2 = 6, Vc = 7, Wc = 8, Gc = 9, I1 = 10, Yi = 11, l2 = 12, v1 = 13, qc = 14, Hc = 15, Hn = 16, Kc = 17, P1 = 18, Yc = 19, Xc = 255, Jc = 127, h2 = 0, L1 = 4, Qc = Object.freeze({
|
|
51
51
|
double: 1,
|
|
52
52
|
string: 2,
|
|
53
53
|
object: 3,
|
|
@@ -110,19 +110,19 @@ class jt extends q {
|
|
|
110
110
|
return "BSONOffsetError";
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
let
|
|
114
|
-
function
|
|
113
|
+
let Nu, Iu;
|
|
114
|
+
function Zc(e, t, r, n) {
|
|
115
115
|
if (n) {
|
|
116
|
-
|
|
116
|
+
Nu ?? (Nu = new TextDecoder("utf8", { fatal: !0 }));
|
|
117
117
|
try {
|
|
118
|
-
return
|
|
118
|
+
return Nu.decode(e.subarray(t, r));
|
|
119
119
|
} catch (i) {
|
|
120
120
|
throw new q("Invalid UTF-8 string in BSON document", { cause: i });
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
return
|
|
123
|
+
return Iu ?? (Iu = new TextDecoder("utf8", { fatal: !1 })), Iu.decode(e.subarray(t, r));
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function $c(e, t, r) {
|
|
126
126
|
if (e.length === 0)
|
|
127
127
|
return "";
|
|
128
128
|
const n = r - t;
|
|
@@ -168,7 +168,7 @@ const E2 = (() => {
|
|
|
168
168
|
const { crypto: e } = globalThis;
|
|
169
169
|
return e != null && typeof e.getRandomValues == "function" ? m2 : f2;
|
|
170
170
|
})(), yt = {
|
|
171
|
-
isUint8Array:
|
|
171
|
+
isUint8Array: hr,
|
|
172
172
|
toLocalBufferType(e) {
|
|
173
173
|
if (Buffer.isBuffer(e))
|
|
174
174
|
return e;
|
|
@@ -222,14 +222,14 @@ const E2 = (() => {
|
|
|
222
222
|
return yt.toLocalBufferType(e).toString("hex");
|
|
223
223
|
},
|
|
224
224
|
toUTF8(e, t, r, n) {
|
|
225
|
-
const i = r - t <= 20 ?
|
|
225
|
+
const i = r - t <= 20 ? $c(e, t, r) : null;
|
|
226
226
|
if (i != null)
|
|
227
227
|
return i;
|
|
228
228
|
const o = yt.toLocalBufferType(e).toString("utf8", t, r);
|
|
229
229
|
if (n) {
|
|
230
230
|
for (let u = 0; u < o.length; u++)
|
|
231
231
|
if (o.charCodeAt(u) === 65533) {
|
|
232
|
-
|
|
232
|
+
Zc(e, t, r, !0);
|
|
233
233
|
break;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
@@ -266,8 +266,8 @@ const p2 = (() => {
|
|
|
266
266
|
(t = r == null ? void 0 : r.warn) == null || t.call(r, "BSON: For React Native please polyfill crypto.getRandomValues, e.g. using: https://www.npmjs.com/package/react-native-get-random-values.");
|
|
267
267
|
}
|
|
268
268
|
return A2;
|
|
269
|
-
})(),
|
|
270
|
-
isUint8Array:
|
|
269
|
+
})(), vu = /(\d|[a-f])/i, Mr = {
|
|
270
|
+
isUint8Array: hr,
|
|
271
271
|
toLocalBufferType(e) {
|
|
272
272
|
const t = (e == null ? void 0 : e[Symbol.toStringTag]) ?? Object.prototype.toString.call(e);
|
|
273
273
|
if (t === "Uint8Array")
|
|
@@ -351,7 +351,7 @@ const p2 = (() => {
|
|
|
351
351
|
const t = e.length % 2 === 0 ? e : e.slice(0, e.length - 1), r = [];
|
|
352
352
|
for (let n = 0; n < t.length; n += 2) {
|
|
353
353
|
const i = t[n], o = t[n + 1];
|
|
354
|
-
if (!
|
|
354
|
+
if (!vu.test(i) || !vu.test(o))
|
|
355
355
|
break;
|
|
356
356
|
const u = Number.parseInt(`${i}${o}`, 16);
|
|
357
357
|
r.push(u);
|
|
@@ -362,8 +362,8 @@ const p2 = (() => {
|
|
|
362
362
|
return Array.from(e, (t) => t.toString(16).padStart(2, "0")).join("");
|
|
363
363
|
},
|
|
364
364
|
toUTF8(e, t, r, n) {
|
|
365
|
-
const i = r - t <= 20 ?
|
|
366
|
-
return i ??
|
|
365
|
+
const i = r - t <= 20 ? $c(e, t, r) : null;
|
|
366
|
+
return i ?? Zc(e, t, r, n);
|
|
367
367
|
},
|
|
368
368
|
utf8ByteLength(e) {
|
|
369
369
|
return new TextEncoder().encode(e).byteLength;
|
|
@@ -383,8 +383,8 @@ const p2 = (() => {
|
|
|
383
383
|
return e;
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
|
-
var
|
|
387
|
-
const C2 = typeof Buffer == "function" && ((
|
|
386
|
+
var Mc;
|
|
387
|
+
const C2 = typeof Buffer == "function" && ((Mc = Buffer.prototype) == null ? void 0 : Mc._isBuffer) !== !0, W = C2 ? yt : Mr, co = Symbol.for("@@mdb.bson.type");
|
|
388
388
|
class at {
|
|
389
389
|
get [co]() {
|
|
390
390
|
return this._bsontype;
|
|
@@ -674,7 +674,7 @@ class Xe extends xe {
|
|
|
674
674
|
return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, t;
|
|
675
675
|
}
|
|
676
676
|
static isValid(t) {
|
|
677
|
-
return t ? typeof t == "string" ? Xe.isValidUUIDString(t) :
|
|
677
|
+
return t ? typeof t == "string" ? Xe.isValidUUIDString(t) : hr(t) ? t.byteLength === ss : t._bsontype === "Binary" && t.sub_type === this.SUBTYPE_UUID && t.buffer.byteLength === 16 : !1;
|
|
678
678
|
}
|
|
679
679
|
static createFromHexString(t) {
|
|
680
680
|
const r = Xe.bytesFromString(t);
|
|
@@ -727,7 +727,7 @@ class Zt extends at {
|
|
|
727
727
|
` : ""})`;
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function e0(e) {
|
|
731
731
|
return e != null && typeof e == "object" && "$id" in e && e.$id != null && "$ref" in e && typeof e.$ref == "string" && (!("$db" in e) || "$db" in e && typeof e.$db == "string");
|
|
732
732
|
}
|
|
733
733
|
class Gt extends at {
|
|
@@ -779,7 +779,7 @@ class Gt extends at {
|
|
|
779
779
|
return o[1] = i === Et ? `new ObjectId(${o[1]})` : o[1], `new DBRef(${o.join(", ")})`;
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function t0(e) {
|
|
783
783
|
if (e === "")
|
|
784
784
|
return e;
|
|
785
785
|
let t = 0;
|
|
@@ -800,7 +800,7 @@ try {
|
|
|
800
800
|
Ct = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11])), {}).exports;
|
|
801
801
|
} catch {
|
|
802
802
|
}
|
|
803
|
-
const
|
|
803
|
+
const Pu = 65536, w2 = 1 << 24, ln = Pu * Pu, r0 = ln * ln, Lu = r0 / 2, ku = {}, Uu = {}, _2 = 20, D2 = /^(\+?0|(\+|-)?[1-9][0-9]*)$/, G = class G extends at {
|
|
804
804
|
constructor(r = 0, n, i) {
|
|
805
805
|
super();
|
|
806
806
|
se(this, "high");
|
|
@@ -820,7 +820,7 @@ const vu = 65536, w2 = 1 << 24, ln = vu * vu, t0 = ln * ln, Pu = t0 / 2, Lu = {}
|
|
|
820
820
|
}
|
|
821
821
|
static fromInt(r, n) {
|
|
822
822
|
let i, o, u;
|
|
823
|
-
return n ? (r >>>= 0, (u = 0 <= r && r < 256) && (o =
|
|
823
|
+
return n ? (r >>>= 0, (u = 0 <= r && r < 256) && (o = Uu[r], o) ? o : (i = G.fromBits(r, (r | 0) < 0 ? -1 : 0, !0), u && (Uu[r] = i), i)) : (r |= 0, (u = -128 <= r && r < 128) && (o = ku[r], o) ? o : (i = G.fromBits(r, r < 0 ? -1 : 0, !1), u && (ku[r] = i), i));
|
|
824
824
|
}
|
|
825
825
|
static fromNumber(r, n) {
|
|
826
826
|
if (isNaN(r))
|
|
@@ -828,12 +828,12 @@ const vu = 65536, w2 = 1 << 24, ln = vu * vu, t0 = ln * ln, Pu = t0 / 2, Lu = {}
|
|
|
828
828
|
if (n) {
|
|
829
829
|
if (r < 0)
|
|
830
830
|
return G.UZERO;
|
|
831
|
-
if (r >=
|
|
831
|
+
if (r >= r0)
|
|
832
832
|
return G.MAX_UNSIGNED_VALUE;
|
|
833
833
|
} else {
|
|
834
|
-
if (r <= -
|
|
834
|
+
if (r <= -Lu)
|
|
835
835
|
return G.MIN_VALUE;
|
|
836
|
-
if (r + 1 >=
|
|
836
|
+
if (r + 1 >= Lu)
|
|
837
837
|
return G.MAX_VALUE;
|
|
838
838
|
}
|
|
839
839
|
return r < 0 ? G.fromNumber(-r, n).neg() : G.fromBits(r % ln | 0, r / ln | 0, n);
|
|
@@ -870,7 +870,7 @@ const vu = 65536, w2 = 1 << 24, ln = vu * vu, t0 = ln * ln, Pu = t0 / 2, Lu = {}
|
|
|
870
870
|
throw new q(`Input: '${r}' contains leading and/or trailing whitespace`);
|
|
871
871
|
if (!O2(r, i))
|
|
872
872
|
throw new q(`Input: '${r}' contains invalid characters for radix: ${i}`);
|
|
873
|
-
const u =
|
|
873
|
+
const u = t0(r), c = G._fromString(u, o, i);
|
|
874
874
|
if (c.toString(i).toLowerCase() !== u.toLowerCase())
|
|
875
875
|
throw new q(`Input: ${r} is not representable as ${c.unsigned ? "an unsigned" : "a signed"} 64-bit Long ${i != null ? `with radix: ${i}` : ""}`);
|
|
876
876
|
return c;
|
|
@@ -1218,7 +1218,7 @@ const vu = 65536, w2 = 1 << 24, ln = vu * vu, t0 = ln * ln, Pu = t0 / 2, Lu = {}
|
|
|
1218
1218
|
};
|
|
1219
1219
|
se(G, "TWO_PWR_24", G.fromInt(w2)), se(G, "MAX_UNSIGNED_VALUE", G.fromBits(-1, -1, !0)), se(G, "ZERO", G.fromInt(0)), se(G, "UZERO", G.fromInt(0, !0)), se(G, "ONE", G.fromInt(1)), se(G, "UONE", G.fromInt(1, !0)), se(G, "NEG_ONE", G.fromInt(-1)), se(G, "MAX_VALUE", G.fromBits(-1, 2147483647, !1)), se(G, "MIN_VALUE", G.fromBits(0, -2147483648, !1));
|
|
1220
1220
|
let ie = G;
|
|
1221
|
-
const T2 = /^(\+|-)?(\d+|(\d*\.\d*))?(E|e)?([-+])?(\d+)?$/, B2 = /^(\+|-)?(Infinity|inf)$/i, b2 = /^(\+|-)?NaN$/i, Yr = 6111, On = -6176,
|
|
1221
|
+
const T2 = /^(\+|-)?(\d+|(\d*\.\d*))?(E|e)?([-+])?(\d+)?$/, B2 = /^(\+|-)?(Infinity|inf)$/i, b2 = /^(\+|-)?NaN$/i, Yr = 6111, On = -6176, xu = 6176, ju = 34, us = W.fromNumberArray([
|
|
1222
1222
|
124,
|
|
1223
1223
|
0,
|
|
1224
1224
|
0,
|
|
@@ -1235,7 +1235,7 @@ const T2 = /^(\+|-)?(\d+|(\d*\.\d*))?(E|e)?([-+])?(\d+)?$/, B2 = /^(\+|-)?(Infin
|
|
|
1235
1235
|
0,
|
|
1236
1236
|
0,
|
|
1237
1237
|
0
|
|
1238
|
-
].reverse()),
|
|
1238
|
+
].reverse()), zu = W.fromNumberArray([
|
|
1239
1239
|
248,
|
|
1240
1240
|
0,
|
|
1241
1241
|
0,
|
|
@@ -1252,7 +1252,7 @@ const T2 = /^(\+|-)?(\d+|(\d*\.\d*))?(E|e)?([-+])?(\d+)?$/, B2 = /^(\+|-)?(Infin
|
|
|
1252
1252
|
0,
|
|
1253
1253
|
0,
|
|
1254
1254
|
0
|
|
1255
|
-
].reverse()),
|
|
1255
|
+
].reverse()), Vu = W.fromNumberArray([
|
|
1256
1256
|
120,
|
|
1257
1257
|
0,
|
|
1258
1258
|
0,
|
|
@@ -1269,8 +1269,8 @@ const T2 = /^(\+|-)?(\d+|(\d*\.\d*))?(E|e)?([-+])?(\d+)?$/, B2 = /^(\+|-)?(Infin
|
|
|
1269
1269
|
0,
|
|
1270
1270
|
0,
|
|
1271
1271
|
0
|
|
1272
|
-
].reverse()), M2 = /^([-+])?(\d+)?$/, F2 = 31,
|
|
1273
|
-
function
|
|
1272
|
+
].reverse()), M2 = /^([-+])?(\d+)?$/, F2 = 31, Wu = 16383, R2 = 30, N2 = 31;
|
|
1273
|
+
function Gu(e) {
|
|
1274
1274
|
return !isNaN(parseInt(e, 10));
|
|
1275
1275
|
}
|
|
1276
1276
|
function I2(e) {
|
|
@@ -1311,7 +1311,7 @@ class $e extends at {
|
|
|
1311
1311
|
se(this, "bytes");
|
|
1312
1312
|
if (typeof r == "string")
|
|
1313
1313
|
this.bytes = $e.fromString(r).bytes;
|
|
1314
|
-
else if (r instanceof Uint8Array ||
|
|
1314
|
+
else if (r instanceof Uint8Array || hr(r)) {
|
|
1315
1315
|
if (r.byteLength !== 16)
|
|
1316
1316
|
throw new q("Decimal128 must take a Buffer of 16 bytes");
|
|
1317
1317
|
this.bytes = r;
|
|
@@ -1340,18 +1340,18 @@ class $e extends at {
|
|
|
1340
1340
|
const A = b[2], y = b[4], F = b[5], R = b[6];
|
|
1341
1341
|
y && R === void 0 && Bt(r, "missing exponent power"), y && A === void 0 && Bt(r, "missing exponent base"), y === void 0 && (F || R) && Bt(r, "missing e before exponent");
|
|
1342
1342
|
}
|
|
1343
|
-
if ((r[d] === "+" || r[d] === "-") && (o = !0, i = r[d++] === "-"), !
|
|
1343
|
+
if ((r[d] === "+" || r[d] === "-") && (o = !0, i = r[d++] === "-"), !Gu(r[d]) && r[d] !== ".") {
|
|
1344
1344
|
if (r[d] === "i" || r[d] === "I")
|
|
1345
|
-
return new $e(i ?
|
|
1345
|
+
return new $e(i ? zu : Vu);
|
|
1346
1346
|
if (r[d] === "N")
|
|
1347
1347
|
return new $e(us);
|
|
1348
1348
|
}
|
|
1349
|
-
for (;
|
|
1349
|
+
for (; Gu(r[d]) || r[d] === "."; ) {
|
|
1350
1350
|
if (r[d] === ".") {
|
|
1351
1351
|
u && Bt(r, "contains multiple periods"), u = !0, d = d + 1;
|
|
1352
1352
|
continue;
|
|
1353
1353
|
}
|
|
1354
|
-
C <
|
|
1354
|
+
C < ju && (r[d] !== "0" || c) && (c || (g = a), c = !0, m[S++] = parseInt(r[d], 10), C = C + 1), c && (E = E + 1), u && (h = h + 1), a = a + 1, d = d + 1;
|
|
1355
1355
|
}
|
|
1356
1356
|
if (u && !a)
|
|
1357
1357
|
throw new q("" + r + " not a valid Decimal128 string");
|
|
@@ -1369,7 +1369,7 @@ class $e extends at {
|
|
|
1369
1369
|
for (; r[g + s - 1 + Number(o) + Number(u)] === "0"; )
|
|
1370
1370
|
s = s - 1;
|
|
1371
1371
|
for (O <= h && h > O + 16384 ? O = On : O = O - h; O > Yr; ) {
|
|
1372
|
-
if (D = D + 1, D >=
|
|
1372
|
+
if (D = D + 1, D >= ju) {
|
|
1373
1373
|
if (s === 0) {
|
|
1374
1374
|
O = Yr;
|
|
1375
1375
|
break;
|
|
@@ -1414,7 +1414,7 @@ class $e extends at {
|
|
|
1414
1414
|
if (O < Yr)
|
|
1415
1415
|
O = O + 1, m[R] = 1;
|
|
1416
1416
|
else
|
|
1417
|
-
return new $e(i ?
|
|
1417
|
+
return new $e(i ? zu : Vu);
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
1420
|
} else {
|
|
@@ -1444,7 +1444,7 @@ class $e extends at {
|
|
|
1444
1444
|
p = p.multiply(ie.fromNumber(10)), p = p.add(ie.fromNumber(m[A]));
|
|
1445
1445
|
}
|
|
1446
1446
|
const w = v2(M, ie.fromString("100000000000000000"));
|
|
1447
|
-
w.low = w.low.add(p), P2(w.low, p) && (w.high = w.high.add(ie.fromNumber(1))), B = O +
|
|
1447
|
+
w.low = w.low.add(p), P2(w.low, p) && (w.high = w.high.add(ie.fromNumber(1))), B = O + xu;
|
|
1448
1448
|
const T = { low: ie.fromNumber(0), high: ie.fromNumber(0) };
|
|
1449
1449
|
w.high.shiftRightUnsigned(49).and(ie.fromNumber(1)).equals(ie.fromNumber(1)) ? (T.high = T.high.or(ie.fromNumber(3).shiftLeft(61)), T.high = T.high.or(ie.fromNumber(B).and(ie.fromNumber(16383).shiftLeft(47))), T.high = T.high.or(w.high.and(ie.fromNumber(140737488355327)))) : (T.high = T.high.or(ie.fromNumber(B & 16383).shiftLeft(49)), T.high = T.high.or(w.high.and(ie.fromNumber(562949953421311)))), T.low = w.low, i && (T.high = T.high.or(ie.fromString("9223372036854775808")));
|
|
1450
1450
|
const _ = W.allocateUnsafe(16);
|
|
@@ -1469,10 +1469,10 @@ class $e extends at {
|
|
|
1469
1469
|
return h.join("") + "Infinity";
|
|
1470
1470
|
if (M === N2)
|
|
1471
1471
|
return "NaN";
|
|
1472
|
-
r = D >> 15 &
|
|
1472
|
+
r = D >> 15 & Wu, c = 8 + (D >> 14 & 1);
|
|
1473
1473
|
} else
|
|
1474
|
-
c = D >> 14 & 7, r = D >> 17 &
|
|
1475
|
-
const p = r -
|
|
1474
|
+
c = D >> 14 & 7, r = D >> 17 & Wu;
|
|
1475
|
+
const p = r - xu;
|
|
1476
1476
|
if (s.parts[0] = (D & 16383) + ((c & 15) << 14), s.parts[1] = S, s.parts[2] = C, s.parts[3] = m, s.parts[0] === 0 && s.parts[1] === 0 && s.parts[2] === 0 && s.parts[3] === 0)
|
|
1477
1477
|
u = !0;
|
|
1478
1478
|
else
|
|
@@ -1585,7 +1585,7 @@ class $t extends at {
|
|
|
1585
1585
|
return "Int32";
|
|
1586
1586
|
}
|
|
1587
1587
|
static fromString(r) {
|
|
1588
|
-
const n =
|
|
1588
|
+
const n = t0(r), i = Number(r);
|
|
1589
1589
|
if (ti < i)
|
|
1590
1590
|
throw new q(`Input: '${r}' is larger than the maximum value for Int32`);
|
|
1591
1591
|
if (ri > i)
|
|
@@ -1776,25 +1776,25 @@ const wn = /* @__PURE__ */ new WeakMap(), ke = class ke extends at {
|
|
|
1776
1776
|
}
|
|
1777
1777
|
};
|
|
1778
1778
|
se(ke, "index", Math.floor(Math.random() * 16777215)), se(ke, "cacheHexString");
|
|
1779
|
-
let
|
|
1779
|
+
let Er = ke;
|
|
1780
1780
|
function ji(e, t, r) {
|
|
1781
1781
|
let n = 5;
|
|
1782
1782
|
if (Array.isArray(e))
|
|
1783
1783
|
for (let i = 0; i < e.length; i++)
|
|
1784
|
-
n +=
|
|
1784
|
+
n += qu(i.toString(), e[i], t, !0, r);
|
|
1785
1785
|
else {
|
|
1786
1786
|
typeof (e == null ? void 0 : e.toBSON) == "function" && (e = e.toBSON());
|
|
1787
1787
|
for (const i of Object.keys(e))
|
|
1788
|
-
n +=
|
|
1788
|
+
n += qu(i, e[i], t, !1, r);
|
|
1789
1789
|
}
|
|
1790
1790
|
return n;
|
|
1791
1791
|
}
|
|
1792
|
-
function
|
|
1792
|
+
function qu(e, t, r = !1, n = !1, i = !1) {
|
|
1793
1793
|
switch (typeof (t == null ? void 0 : t.toBSON) == "function" && (t = t.toBSON()), typeof t) {
|
|
1794
1794
|
case "string":
|
|
1795
1795
|
return 1 + W.utf8ByteLength(e) + 1 + 4 + W.utf8ByteLength(t) + 1;
|
|
1796
1796
|
case "number":
|
|
1797
|
-
return Math.floor(t) === t && t >=
|
|
1797
|
+
return Math.floor(t) === t && t >= xc && t <= Uc && t >= ri && t <= ti ? (e != null ? W.utf8ByteLength(e) + 1 : 0) + 5 : (e != null ? W.utf8ByteLength(e) + 1 : 0) + 9;
|
|
1798
1798
|
case "undefined":
|
|
1799
1799
|
return n || !i ? (e != null ? W.utf8ByteLength(e) + 1 : 0) + 1 : 0;
|
|
1800
1800
|
case "boolean":
|
|
@@ -1911,7 +1911,7 @@ class Vr extends at {
|
|
|
1911
1911
|
return i ?? (i = Et), `new BSONSymbol(${i(this.value, n)})`;
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
|
-
const k2 = ie,
|
|
1914
|
+
const k2 = ie, cr = class cr extends k2 {
|
|
1915
1915
|
get _bsontype() {
|
|
1916
1916
|
return "Timestamp";
|
|
1917
1917
|
}
|
|
@@ -1955,23 +1955,23 @@ const k2 = ie, ar = class ar extends k2 {
|
|
|
1955
1955
|
};
|
|
1956
1956
|
}
|
|
1957
1957
|
static fromInt(t) {
|
|
1958
|
-
return new
|
|
1958
|
+
return new cr(ie.fromInt(t, !0));
|
|
1959
1959
|
}
|
|
1960
1960
|
static fromNumber(t) {
|
|
1961
|
-
return new
|
|
1961
|
+
return new cr(ie.fromNumber(t, !0));
|
|
1962
1962
|
}
|
|
1963
1963
|
static fromBits(t, r) {
|
|
1964
|
-
return new
|
|
1964
|
+
return new cr({ i: t, t: r });
|
|
1965
1965
|
}
|
|
1966
1966
|
static fromString(t, r) {
|
|
1967
|
-
return new
|
|
1967
|
+
return new cr(ie.fromString(t, !0, r));
|
|
1968
1968
|
}
|
|
1969
1969
|
toExtendedJSON() {
|
|
1970
1970
|
return { $timestamp: { t: this.t, i: this.i } };
|
|
1971
1971
|
}
|
|
1972
1972
|
static fromExtendedJSON(t) {
|
|
1973
1973
|
const r = ie.isLong(t.$timestamp.i) ? t.$timestamp.i.getLowBitsUnsigned() : t.$timestamp.i, n = ie.isLong(t.$timestamp.t) ? t.$timestamp.t.getLowBitsUnsigned() : t.$timestamp.t;
|
|
1974
|
-
return new
|
|
1974
|
+
return new cr({ t: n, i: r });
|
|
1975
1975
|
}
|
|
1976
1976
|
inspect(t, r, n) {
|
|
1977
1977
|
n ?? (n = Et);
|
|
@@ -1979,10 +1979,10 @@ const k2 = ie, ar = class ar extends k2 {
|
|
|
1979
1979
|
return `new Timestamp({ t: ${i}, i: ${o} })`;
|
|
1980
1980
|
}
|
|
1981
1981
|
};
|
|
1982
|
-
se(
|
|
1983
|
-
let vr =
|
|
1984
|
-
const U2 = ie.fromNumber(
|
|
1985
|
-
function
|
|
1982
|
+
se(cr, "MAX_VALUE", ie.MAX_UNSIGNED_VALUE);
|
|
1983
|
+
let vr = cr;
|
|
1984
|
+
const U2 = ie.fromNumber(Uc), x2 = ie.fromNumber(xc);
|
|
1985
|
+
function n0(e, t, r) {
|
|
1986
1986
|
t = t ?? {};
|
|
1987
1987
|
const n = t && t.index ? t.index : 0, i = ue.getInt32LE(e, n);
|
|
1988
1988
|
if (i < 5)
|
|
@@ -2047,26 +2047,26 @@ function zi(e, t, r, n = !1) {
|
|
|
2047
2047
|
let l = !0;
|
|
2048
2048
|
g || C != null && C.has(f) ? l = m : l = !m, B !== !1 && f[0] === "$" && (B = j2.test(f));
|
|
2049
2049
|
let w;
|
|
2050
|
-
if (t = b + 1, d ===
|
|
2050
|
+
if (t = b + 1, d === jc) {
|
|
2051
2051
|
const T = ue.getInt32LE(e, t);
|
|
2052
2052
|
if (t += 4, T <= 0 || T > e.length - t || e[t + T - 1] !== 0)
|
|
2053
2053
|
throw new q("bad string length in bson");
|
|
2054
2054
|
w = W.toUTF8(e, t, t + T - 1, l), t = t + T;
|
|
2055
|
-
} else if (d ===
|
|
2055
|
+
} else if (d === Vc) {
|
|
2056
2056
|
const T = W.allocateUnsafe(12);
|
|
2057
2057
|
for (let _ = 0; _ < 12; _++)
|
|
2058
2058
|
T[_] = e[t + _];
|
|
2059
|
-
w = new
|
|
2059
|
+
w = new Er(T), t = t + 12;
|
|
2060
2060
|
} else if (d === Hn && a === !1)
|
|
2061
2061
|
w = new $t(ue.getInt32LE(e, t)), t += 4;
|
|
2062
2062
|
else if (d === Hn)
|
|
2063
2063
|
w = ue.getInt32LE(e, t), t += 4;
|
|
2064
2064
|
else if (d === F1)
|
|
2065
2065
|
w = ue.getFloat64LE(e, t), t += 8, a === !1 && (w = new Ot(w));
|
|
2066
|
-
else if (d ===
|
|
2066
|
+
else if (d === Gc) {
|
|
2067
2067
|
const T = ue.getInt32LE(e, t), _ = ue.getInt32LE(e, t + 4);
|
|
2068
2068
|
t += 8, w = new Date(new ie(T, _).toNumber());
|
|
2069
|
-
} else if (d ===
|
|
2069
|
+
} else if (d === Wc) {
|
|
2070
2070
|
if (e[t] !== 0 && e[t] !== 1)
|
|
2071
2071
|
throw new q("illegal boolean type value");
|
|
2072
2072
|
w = e[t++] === 1;
|
|
@@ -2081,7 +2081,7 @@ function zi(e, t, r, n = !1) {
|
|
|
2081
2081
|
g || (A = { ...r, validation: { utf8: l } }), w = zi(e, T, A, !1);
|
|
2082
2082
|
}
|
|
2083
2083
|
t = t + _;
|
|
2084
|
-
} else if (d ===
|
|
2084
|
+
} else if (d === zc) {
|
|
2085
2085
|
const T = t, _ = ue.getInt32LE(e, t);
|
|
2086
2086
|
let A = r;
|
|
2087
2087
|
const y = t + _;
|
|
@@ -2102,7 +2102,7 @@ function zi(e, t, r, n = !1) {
|
|
|
2102
2102
|
const A = new ie(T, _);
|
|
2103
2103
|
s && a === !0 ? w = A.lessThanOrEqual(U2) && A.greaterThanOrEqual(x2) ? A.toNumber() : A : w = A;
|
|
2104
2104
|
}
|
|
2105
|
-
else if (d ===
|
|
2105
|
+
else if (d === Yc) {
|
|
2106
2106
|
const T = W.allocateUnsafe(16);
|
|
2107
2107
|
for (let _ = 0; _ < 16; _++)
|
|
2108
2108
|
T[_] = e[t + _];
|
|
@@ -2162,20 +2162,20 @@ function zi(e, t, r, n = !1) {
|
|
|
2162
2162
|
throw new q("Bad BSON Document: illegal CString");
|
|
2163
2163
|
const _ = W.toUTF8(e, t, b, !1);
|
|
2164
2164
|
t = b + 1, w = new wt(T, _);
|
|
2165
|
-
} else if (d ===
|
|
2165
|
+
} else if (d === qc) {
|
|
2166
2166
|
const T = ue.getInt32LE(e, t);
|
|
2167
2167
|
if (t += 4, T <= 0 || T > e.length - t || e[t + T - 1] !== 0)
|
|
2168
2168
|
throw new q("bad string length in bson");
|
|
2169
2169
|
const _ = W.toUTF8(e, t, t + T - 1, l);
|
|
2170
2170
|
w = a ? _ : new Vr(_), t = t + T;
|
|
2171
|
-
} else if (d ===
|
|
2171
|
+
} else if (d === Kc)
|
|
2172
2172
|
w = new vr({
|
|
2173
2173
|
i: ue.getUint32LE(e, t),
|
|
2174
2174
|
t: ue.getUint32LE(e, t + 4)
|
|
2175
2175
|
}), t += 8;
|
|
2176
|
-
else if (d === Yc)
|
|
2177
|
-
w = new zr();
|
|
2178
2176
|
else if (d === Xc)
|
|
2177
|
+
w = new zr();
|
|
2178
|
+
else if (d === Jc)
|
|
2179
2179
|
w = new jr();
|
|
2180
2180
|
else if (d === v1) {
|
|
2181
2181
|
const T = ue.getInt32LE(e, t);
|
|
@@ -2183,7 +2183,7 @@ function zi(e, t, r, n = !1) {
|
|
|
2183
2183
|
throw new q("bad string length in bson");
|
|
2184
2184
|
const _ = W.toUTF8(e, t, t + T - 1, l);
|
|
2185
2185
|
w = new Zt(_), t = t + T;
|
|
2186
|
-
} else if (d ===
|
|
2186
|
+
} else if (d === Hc) {
|
|
2187
2187
|
const T = ue.getInt32LE(e, t);
|
|
2188
2188
|
if (t += 4, T < 13)
|
|
2189
2189
|
throw new q("code_w_scope total size shorter minimum expected length");
|
|
@@ -2207,7 +2207,7 @@ function zi(e, t, r, n = !1) {
|
|
|
2207
2207
|
const A = W.allocateUnsafe(12);
|
|
2208
2208
|
for (let F = 0; F < 12; F++)
|
|
2209
2209
|
A[F] = e[t + F];
|
|
2210
|
-
const y = new
|
|
2210
|
+
const y = new Er(A);
|
|
2211
2211
|
t = t + 12, w = new Gt(_, y);
|
|
2212
2212
|
} else
|
|
2213
2213
|
throw new q(`Detected unknown BSON type ${d.toString(16)} for fieldname "${f}"`);
|
|
@@ -2222,15 +2222,15 @@ function zi(e, t, r, n = !1) {
|
|
|
2222
2222
|
throw n ? new q("corrupt array bson") : new q("corrupt object bson");
|
|
2223
2223
|
if (!B)
|
|
2224
2224
|
return M;
|
|
2225
|
-
if (
|
|
2225
|
+
if (e0(M)) {
|
|
2226
2226
|
const d = Object.assign({}, M);
|
|
2227
2227
|
return delete d.$ref, delete d.$id, delete d.$db, new Gt(M.$ref, M.$id, M.$db, d);
|
|
2228
2228
|
}
|
|
2229
2229
|
return M;
|
|
2230
2230
|
}
|
|
2231
|
-
const Ji = /\x00/,
|
|
2231
|
+
const Ji = /\x00/, Hu = /* @__PURE__ */ new Set(["$db", "$ref", "$id", "$clusterTime"]);
|
|
2232
2232
|
function as(e, t, r, n) {
|
|
2233
|
-
e[n++] =
|
|
2233
|
+
e[n++] = jc;
|
|
2234
2234
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2235
2235
|
n = n + i + 1, e[n - 1] = 0;
|
|
2236
2236
|
const o = W.encodeUTF8Into(e, r, n + 4);
|
|
@@ -2253,12 +2253,12 @@ function Xr(e, t, r, n) {
|
|
|
2253
2253
|
return n = n + i, e[n++] = 0, n;
|
|
2254
2254
|
}
|
|
2255
2255
|
function hs(e, t, r, n) {
|
|
2256
|
-
e[n++] =
|
|
2256
|
+
e[n++] = Wc;
|
|
2257
2257
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2258
2258
|
return n = n + i, e[n++] = 0, e[n++] = r ? 1 : 0, n;
|
|
2259
2259
|
}
|
|
2260
2260
|
function ds(e, t, r, n) {
|
|
2261
|
-
e[n++] =
|
|
2261
|
+
e[n++] = Gc;
|
|
2262
2262
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2263
2263
|
n = n + i, e[n++] = 0;
|
|
2264
2264
|
const o = ie.fromNumber(r.getTime()), u = o.getLowBits(), c = o.getHighBits();
|
|
@@ -2281,12 +2281,12 @@ function ms(e, t, r, n) {
|
|
|
2281
2281
|
return n = n + W.encodeUTF8Into(e, o, n), e[n++] = 0, n;
|
|
2282
2282
|
}
|
|
2283
2283
|
function Es(e, t, r, n) {
|
|
2284
|
-
r === null ? e[n++] = I1 : r._bsontype === "MinKey" ? e[n++] =
|
|
2284
|
+
r === null ? e[n++] = I1 : r._bsontype === "MinKey" ? e[n++] = Xc : e[n++] = Jc;
|
|
2285
2285
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2286
2286
|
return n = n + i, e[n++] = 0, n;
|
|
2287
2287
|
}
|
|
2288
2288
|
function gs(e, t, r, n) {
|
|
2289
|
-
e[n++] =
|
|
2289
|
+
e[n++] = Vc;
|
|
2290
2290
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2291
2291
|
return n = n + i, e[n++] = 0, n += r.serializeInto(e, n), n;
|
|
2292
2292
|
}
|
|
@@ -2305,14 +2305,14 @@ function As(e, t, r, n) {
|
|
|
2305
2305
|
function ps(e, t, r, n, i, o, u, c, s) {
|
|
2306
2306
|
if (s.has(r))
|
|
2307
2307
|
throw new q("Cannot convert circular structure to BSON");
|
|
2308
|
-
s.add(r), e[n++] = Array.isArray(r) ?
|
|
2308
|
+
s.add(r), e[n++] = Array.isArray(r) ? zc : R1;
|
|
2309
2309
|
const a = W.encodeUTF8Into(e, t, n);
|
|
2310
2310
|
n = n + a, e[n++] = 0;
|
|
2311
2311
|
const E = ni(e, r, i, n, o + 1, u, c, s);
|
|
2312
2312
|
return s.delete(r), E;
|
|
2313
2313
|
}
|
|
2314
2314
|
function Cs(e, t, r, n) {
|
|
2315
|
-
e[n++] =
|
|
2315
|
+
e[n++] = Yc;
|
|
2316
2316
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2317
2317
|
n = n + i, e[n++] = 0;
|
|
2318
2318
|
for (let o = 0; o < 16; o++)
|
|
@@ -2320,7 +2320,7 @@ function Cs(e, t, r, n) {
|
|
|
2320
2320
|
return n + 16;
|
|
2321
2321
|
}
|
|
2322
2322
|
function Ss(e, t, r, n) {
|
|
2323
|
-
e[n++] = r._bsontype === "Long" ? P1 :
|
|
2323
|
+
e[n++] = r._bsontype === "Long" ? P1 : Kc;
|
|
2324
2324
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2325
2325
|
n = n + i, e[n++] = 0;
|
|
2326
2326
|
const o = r.getLowBits(), u = r.getHighBits();
|
|
@@ -2345,7 +2345,7 @@ function ws(e, t, r, n) {
|
|
|
2345
2345
|
}
|
|
2346
2346
|
function _s(e, t, r, n, i = !1, o = 0, u = !1, c = !0, s) {
|
|
2347
2347
|
if (r.scope && typeof r.scope == "object") {
|
|
2348
|
-
e[n++] =
|
|
2348
|
+
e[n++] = Hc;
|
|
2349
2349
|
const a = W.encodeUTF8Into(e, t, n);
|
|
2350
2350
|
n = n + a, e[n++] = 0;
|
|
2351
2351
|
let E = n;
|
|
@@ -2380,7 +2380,7 @@ function Ds(e, t, r, n) {
|
|
|
2380
2380
|
return n = n + r.position, n;
|
|
2381
2381
|
}
|
|
2382
2382
|
function Ts(e, t, r, n) {
|
|
2383
|
-
e[n++] =
|
|
2383
|
+
e[n++] = qc;
|
|
2384
2384
|
const i = W.encodeUTF8Into(e, t, n);
|
|
2385
2385
|
n = n + i, e[n++] = 0;
|
|
2386
2386
|
const o = W.encodeUTF8Into(e, r.value, n + 4) + 1;
|
|
@@ -2408,7 +2408,7 @@ function ni(e, t, r, n, i, o, u, c) {
|
|
|
2408
2408
|
throw new q("serialize does not support non-object as the root input");
|
|
2409
2409
|
if ("_bsontype" in t && typeof t._bsontype == "string")
|
|
2410
2410
|
throw new q("BSON types cannot be serialized as a document");
|
|
2411
|
-
if (an(t) || un(t) ||
|
|
2411
|
+
if (an(t) || un(t) || hr(t) || b1(t))
|
|
2412
2412
|
throw new q("date, regexp, typedarray, and arraybuffer cannot be BSON documents");
|
|
2413
2413
|
c = /* @__PURE__ */ new Set();
|
|
2414
2414
|
}
|
|
@@ -2433,7 +2433,7 @@ function ni(e, t, r, n, i, o, u, c) {
|
|
|
2433
2433
|
else if (m === "boolean")
|
|
2434
2434
|
s = hs(e, h, g, s);
|
|
2435
2435
|
else if (m === "object" && g._bsontype == null)
|
|
2436
|
-
g instanceof Date || an(g) ? s = ds(e, h, g, s) : g instanceof Uint8Array ||
|
|
2436
|
+
g instanceof Date || an(g) ? s = ds(e, h, g, s) : g instanceof Uint8Array || hr(g) ? s = As(e, h, g, s) : g instanceof RegExp || un(g) ? s = fs(e, h, g, s) : s = ps(e, h, g, s, r, i, o, u, c);
|
|
2437
2437
|
else if (m === "object") {
|
|
2438
2438
|
if (g[dn] !== Rr)
|
|
2439
2439
|
throw new Nr();
|
|
@@ -2474,7 +2474,7 @@ function ni(e, t, r, n, i, o, u, c) {
|
|
|
2474
2474
|
let C = g.value ? g.value[1] : void 0;
|
|
2475
2475
|
typeof (C == null ? void 0 : C.toBSON) == "function" && (C = C.toBSON());
|
|
2476
2476
|
const S = typeof C;
|
|
2477
|
-
if (typeof m == "string" && !
|
|
2477
|
+
if (typeof m == "string" && !Hu.has(m)) {
|
|
2478
2478
|
if (m.match(Ji) != null)
|
|
2479
2479
|
throw new q("key " + m + " must not contain null bytes");
|
|
2480
2480
|
if (r) {
|
|
@@ -2497,7 +2497,7 @@ function ni(e, t, r, n, i, o, u, c) {
|
|
|
2497
2497
|
else if (S === "boolean")
|
|
2498
2498
|
s = hs(e, m, C, s);
|
|
2499
2499
|
else if (S === "object" && C._bsontype == null)
|
|
2500
|
-
C instanceof Date || an(C) ? s = ds(e, m, C, s) : C instanceof Uint8Array ||
|
|
2500
|
+
C instanceof Date || an(C) ? s = ds(e, m, C, s) : C instanceof Uint8Array || hr(C) ? s = As(e, m, C, s) : C instanceof RegExp || un(C) ? s = fs(e, m, C, s) : s = ps(e, m, C, s, r, i, o, u, c);
|
|
2501
2501
|
else if (S === "object") {
|
|
2502
2502
|
if (C[dn] !== Rr)
|
|
2503
2503
|
throw new Nr();
|
|
@@ -2534,7 +2534,7 @@ function ni(e, t, r, n, i, o, u, c) {
|
|
|
2534
2534
|
let h = t[E];
|
|
2535
2535
|
typeof (h == null ? void 0 : h.toBSON) == "function" && (h = h.toBSON());
|
|
2536
2536
|
const g = typeof h;
|
|
2537
|
-
if (typeof E == "string" && !
|
|
2537
|
+
if (typeof E == "string" && !Hu.has(E)) {
|
|
2538
2538
|
if (E.match(Ji) != null)
|
|
2539
2539
|
throw new q("key " + E + " must not contain null bytes");
|
|
2540
2540
|
if (r) {
|
|
@@ -2557,7 +2557,7 @@ function ni(e, t, r, n, i, o, u, c) {
|
|
|
2557
2557
|
else if (g === "boolean")
|
|
2558
2558
|
s = hs(e, E, h, s);
|
|
2559
2559
|
else if (g === "object" && h._bsontype == null)
|
|
2560
|
-
h instanceof Date || an(h) ? s = ds(e, E, h, s) : h instanceof Uint8Array ||
|
|
2560
|
+
h instanceof Date || an(h) ? s = ds(e, E, h, s) : h instanceof Uint8Array || hr(h) ? s = As(e, E, h, s) : h instanceof RegExp || un(h) ? s = fs(e, E, h, s) : s = ps(e, E, h, s, r, i, o, u, c);
|
|
2561
2561
|
else if (g === "object") {
|
|
2562
2562
|
if (h[dn] !== Rr)
|
|
2563
2563
|
throw new Nr();
|
|
@@ -2596,7 +2596,7 @@ function z2(e) {
|
|
|
2596
2596
|
return e != null && typeof e == "object" && "_bsontype" in e && typeof e._bsontype == "string";
|
|
2597
2597
|
}
|
|
2598
2598
|
const V2 = {
|
|
2599
|
-
$oid:
|
|
2599
|
+
$oid: Er,
|
|
2600
2600
|
$binary: xe,
|
|
2601
2601
|
$uuid: xe,
|
|
2602
2602
|
$symbol: Vr,
|
|
@@ -2610,9 +2610,9 @@ const V2 = {
|
|
|
2610
2610
|
$regularExpression: wt,
|
|
2611
2611
|
$timestamp: vr
|
|
2612
2612
|
};
|
|
2613
|
-
function
|
|
2613
|
+
function i0(e, t = {}) {
|
|
2614
2614
|
if (typeof e == "number") {
|
|
2615
|
-
const n = e <= ti && e >= ri, i = e <=
|
|
2615
|
+
const n = e <= ti && e >= ri, i = e <= Lc && e >= kc;
|
|
2616
2616
|
if (t.relaxed || t.legacy)
|
|
2617
2617
|
return e;
|
|
2618
2618
|
if (Number.isInteger(e) && !Object.is(e, -0)) {
|
|
@@ -2658,9 +2658,9 @@ function n0(e, t = {}) {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
if (e.$code != null) {
|
|
2660
2660
|
const n = Object.assign({}, e);
|
|
2661
|
-
return e.$scope && (n.$scope =
|
|
2661
|
+
return e.$scope && (n.$scope = i0(e.$scope)), Zt.fromExtendedJSON(e);
|
|
2662
2662
|
}
|
|
2663
|
-
if (
|
|
2663
|
+
if (e0(e) || e.$dbPointer) {
|
|
2664
2664
|
const n = e.$ref ? e : e.$dbPointer;
|
|
2665
2665
|
if (n instanceof Gt)
|
|
2666
2666
|
return n;
|
|
@@ -2683,7 +2683,7 @@ function W2(e, t) {
|
|
|
2683
2683
|
}
|
|
2684
2684
|
});
|
|
2685
2685
|
}
|
|
2686
|
-
function
|
|
2686
|
+
function Ku(e) {
|
|
2687
2687
|
const t = e.toISOString();
|
|
2688
2688
|
return e.getUTCMilliseconds() !== 0 ? t : t.slice(0, -5) + "Z";
|
|
2689
2689
|
}
|
|
@@ -2713,13 +2713,13 @@ function Jt(e, t) {
|
|
|
2713
2713
|
return t.ignoreUndefined ? void 0 : null;
|
|
2714
2714
|
if (e instanceof Date || an(e)) {
|
|
2715
2715
|
const r = e.getTime(), n = r > -1 && r < 2534023188e5;
|
|
2716
|
-
return t.legacy ? t.relaxed && n ? { $date: e.getTime() } : { $date:
|
|
2716
|
+
return t.legacy ? t.relaxed && n ? { $date: e.getTime() } : { $date: Ku(e) } : t.relaxed && n ? { $date: Ku(e) } : { $date: { $numberLong: e.getTime().toString() } };
|
|
2717
2717
|
}
|
|
2718
2718
|
if (typeof e == "number" && (!t.relaxed || !isFinite(e))) {
|
|
2719
2719
|
if (Number.isInteger(e) && !Object.is(e, -0)) {
|
|
2720
2720
|
if (e >= ri && e <= ti)
|
|
2721
2721
|
return { $numberInt: e.toString() };
|
|
2722
|
-
if (e >=
|
|
2722
|
+
if (e >= kc && e <= Lc)
|
|
2723
2723
|
return { $numberLong: e.toString() };
|
|
2724
2724
|
}
|
|
2725
2725
|
return { $numberDouble: Object.is(e, -0) ? "-0.0" : e.toString() };
|
|
@@ -2746,7 +2746,7 @@ const G2 = {
|
|
|
2746
2746
|
Long: (e) => ie.fromBits(e.low != null ? e.low : e.low_, e.low != null ? e.high : e.high_, e.low != null ? e.unsigned : e.unsigned_),
|
|
2747
2747
|
MaxKey: () => new jr(),
|
|
2748
2748
|
MinKey: () => new zr(),
|
|
2749
|
-
ObjectId: (e) => new
|
|
2749
|
+
ObjectId: (e) => new Er(e),
|
|
2750
2750
|
BSONRegExp: (e) => new wt(e.pattern, e.options),
|
|
2751
2751
|
BSONSymbol: (e) => new Vr(e.value),
|
|
2752
2752
|
Timestamp: (e) => vr.fromBits(e.low, e.high)
|
|
@@ -2788,7 +2788,7 @@ function q2(e, t) {
|
|
|
2788
2788
|
throw new q("_bsontype must be a string, but was: " + typeof r);
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
2791
|
-
function
|
|
2791
|
+
function o0(e, t) {
|
|
2792
2792
|
const r = {
|
|
2793
2793
|
useBigInt64: (t == null ? void 0 : t.useBigInt64) ?? !1,
|
|
2794
2794
|
relaxed: (t == null ? void 0 : t.relaxed) ?? !0,
|
|
@@ -2797,10 +2797,10 @@ function i0(e, t) {
|
|
|
2797
2797
|
return JSON.parse(e, (n, i) => {
|
|
2798
2798
|
if (n.indexOf("\0") !== -1)
|
|
2799
2799
|
throw new q(`BSON Document field names cannot contain null bytes, found: ${JSON.stringify(n)}`);
|
|
2800
|
-
return
|
|
2800
|
+
return i0(i, r);
|
|
2801
2801
|
});
|
|
2802
2802
|
}
|
|
2803
|
-
function
|
|
2803
|
+
function s0(e, t, r, n) {
|
|
2804
2804
|
r != null && typeof r == "object" && (n = r, r = 0), t != null && typeof t == "object" && !Array.isArray(t) && (n = t, t = void 0, r = 0);
|
|
2805
2805
|
const i = Object.assign({ relaxed: !0, legacy: !1 }, n, {
|
|
2806
2806
|
seenObjects: [{ propertyName: "(root)", obj: null }]
|
|
@@ -2808,14 +2808,14 @@ function o0(e, t, r, n) {
|
|
|
2808
2808
|
return JSON.stringify(o, t, r);
|
|
2809
2809
|
}
|
|
2810
2810
|
function H2(e, t) {
|
|
2811
|
-
return t = t || {}, JSON.parse(
|
|
2811
|
+
return t = t || {}, JSON.parse(s0(e, t));
|
|
2812
2812
|
}
|
|
2813
2813
|
function K2(e, t) {
|
|
2814
|
-
return t = t || {},
|
|
2814
|
+
return t = t || {}, o0(JSON.stringify(e), t);
|
|
2815
2815
|
}
|
|
2816
2816
|
const Wr = /* @__PURE__ */ Object.create(null);
|
|
2817
|
-
Wr.parse =
|
|
2818
|
-
Wr.stringify =
|
|
2817
|
+
Wr.parse = o0;
|
|
2818
|
+
Wr.stringify = s0;
|
|
2819
2819
|
Wr.serialize = H2;
|
|
2820
2820
|
Wr.deserialize = K2;
|
|
2821
2821
|
Object.freeze(Wr);
|
|
@@ -2908,35 +2908,35 @@ An.parseToElements = Y2;
|
|
|
2908
2908
|
An.ByteUtils = W;
|
|
2909
2909
|
An.NumberUtils = ue;
|
|
2910
2910
|
Object.freeze(An);
|
|
2911
|
-
const
|
|
2912
|
-
let
|
|
2913
|
-
function
|
|
2914
|
-
|
|
2915
|
-
}
|
|
2916
|
-
function a0(e, t = {}) {
|
|
2917
|
-
const r = typeof t.checkKeys == "boolean" ? t.checkKeys : !1, n = typeof t.serializeFunctions == "boolean" ? t.serializeFunctions : !1, i = typeof t.ignoreUndefined == "boolean" ? t.ignoreUndefined : !0, o = typeof t.minInternalBufferSize == "number" ? t.minInternalBufferSize : s0;
|
|
2918
|
-
hr.length < o && (hr = W.allocate(o));
|
|
2919
|
-
const u = ni(hr, e, r, 0, 0, n, i, null), c = W.allocateUnsafe(u);
|
|
2920
|
-
return c.set(hr.subarray(0, u), 0), c;
|
|
2911
|
+
const u0 = 1024 * 1024 * 17;
|
|
2912
|
+
let dr = W.allocate(u0);
|
|
2913
|
+
function a0(e) {
|
|
2914
|
+
dr.length < e && (dr = W.allocate(e));
|
|
2921
2915
|
}
|
|
2922
|
-
function c0(e, t
|
|
2923
|
-
const
|
|
2924
|
-
|
|
2916
|
+
function c0(e, t = {}) {
|
|
2917
|
+
const r = typeof t.checkKeys == "boolean" ? t.checkKeys : !1, n = typeof t.serializeFunctions == "boolean" ? t.serializeFunctions : !1, i = typeof t.ignoreUndefined == "boolean" ? t.ignoreUndefined : !0, o = typeof t.minInternalBufferSize == "number" ? t.minInternalBufferSize : u0;
|
|
2918
|
+
dr.length < o && (dr = W.allocate(o));
|
|
2919
|
+
const u = ni(dr, e, r, 0, 0, n, i, null), c = W.allocateUnsafe(u);
|
|
2920
|
+
return c.set(dr.subarray(0, u), 0), c;
|
|
2925
2921
|
}
|
|
2926
|
-
function l0(e, t = {}) {
|
|
2927
|
-
|
|
2922
|
+
function l0(e, t, r = {}) {
|
|
2923
|
+
const n = typeof r.checkKeys == "boolean" ? r.checkKeys : !1, i = typeof r.serializeFunctions == "boolean" ? r.serializeFunctions : !1, o = typeof r.ignoreUndefined == "boolean" ? r.ignoreUndefined : !0, u = typeof r.index == "number" ? r.index : 0, c = ni(dr, e, n, 0, 0, i, o, null);
|
|
2924
|
+
return t.set(dr.subarray(0, c), u), u + c - 1;
|
|
2928
2925
|
}
|
|
2929
2926
|
function h0(e, t = {}) {
|
|
2927
|
+
return n0(W.toLocalBufferType(e), t);
|
|
2928
|
+
}
|
|
2929
|
+
function d0(e, t = {}) {
|
|
2930
2930
|
t = t || {};
|
|
2931
2931
|
const r = typeof t.serializeFunctions == "boolean" ? t.serializeFunctions : !1, n = typeof t.ignoreUndefined == "boolean" ? t.ignoreUndefined : !0;
|
|
2932
2932
|
return ji(e, r, n);
|
|
2933
2933
|
}
|
|
2934
|
-
function
|
|
2934
|
+
function f0(e, t, r, n, i, o) {
|
|
2935
2935
|
const u = Object.assign({ allowObjectSmallerThanBufferSize: !0, index: 0 }, o), c = W.toLocalBufferType(e);
|
|
2936
2936
|
let s = t;
|
|
2937
2937
|
for (let a = 0; a < r; a++) {
|
|
2938
2938
|
const E = ue.getInt32LE(c, s);
|
|
2939
|
-
u.index = s, n[i + a] =
|
|
2939
|
+
u.index = s, n[i + a] = n0(c, u), s = s + E;
|
|
2940
2940
|
}
|
|
2941
2941
|
return s;
|
|
2942
2942
|
}
|
|
@@ -2947,7 +2947,7 @@ var X2 = /* @__PURE__ */ Object.freeze({
|
|
|
2947
2947
|
BSONRegExp: wt,
|
|
2948
2948
|
BSONRuntimeError: Xi,
|
|
2949
2949
|
BSONSymbol: Vr,
|
|
2950
|
-
BSONType:
|
|
2950
|
+
BSONType: Qc,
|
|
2951
2951
|
BSONValue: at,
|
|
2952
2952
|
BSONVersionError: Nr,
|
|
2953
2953
|
Binary: xe,
|
|
@@ -2962,17 +2962,17 @@ var X2 = /* @__PURE__ */ Object.freeze({
|
|
|
2962
2962
|
MaxKey: jr,
|
|
2963
2963
|
MinKey: zr,
|
|
2964
2964
|
NumberUtils: ue,
|
|
2965
|
-
ObjectId:
|
|
2965
|
+
ObjectId: Er,
|
|
2966
2966
|
Timestamp: vr,
|
|
2967
2967
|
UUID: Xe,
|
|
2968
2968
|
bsonType: co,
|
|
2969
|
-
calculateObjectSize:
|
|
2970
|
-
deserialize:
|
|
2971
|
-
deserializeStream:
|
|
2969
|
+
calculateObjectSize: d0,
|
|
2970
|
+
deserialize: h0,
|
|
2971
|
+
deserializeStream: f0,
|
|
2972
2972
|
onDemand: An,
|
|
2973
|
-
serialize:
|
|
2974
|
-
serializeWithBufferAndIndex:
|
|
2975
|
-
setInternalBufferSize:
|
|
2973
|
+
serialize: c0,
|
|
2974
|
+
serializeWithBufferAndIndex: l0,
|
|
2975
|
+
setInternalBufferSize: a0
|
|
2976
2976
|
});
|
|
2977
2977
|
Oe.BSON = X2;
|
|
2978
2978
|
Oe.BSONError = q;
|
|
@@ -2980,7 +2980,7 @@ Oe.BSONOffsetError = jt;
|
|
|
2980
2980
|
Oe.BSONRegExp = wt;
|
|
2981
2981
|
Oe.BSONRuntimeError = Xi;
|
|
2982
2982
|
Oe.BSONSymbol = Vr;
|
|
2983
|
-
Oe.BSONType =
|
|
2983
|
+
Oe.BSONType = Qc;
|
|
2984
2984
|
Oe.BSONValue = at;
|
|
2985
2985
|
Oe.BSONVersionError = Nr;
|
|
2986
2986
|
Oe.Binary = xe;
|
|
@@ -2995,17 +2995,17 @@ Oe.Long = ie;
|
|
|
2995
2995
|
Oe.MaxKey = jr;
|
|
2996
2996
|
Oe.MinKey = zr;
|
|
2997
2997
|
Oe.NumberUtils = ue;
|
|
2998
|
-
Oe.ObjectId =
|
|
2998
|
+
Oe.ObjectId = Er;
|
|
2999
2999
|
Oe.Timestamp = vr;
|
|
3000
3000
|
Oe.UUID = Xe;
|
|
3001
3001
|
Oe.bsonType = co;
|
|
3002
|
-
Oe.calculateObjectSize =
|
|
3003
|
-
Oe.deserialize =
|
|
3004
|
-
Oe.deserializeStream =
|
|
3002
|
+
Oe.calculateObjectSize = d0;
|
|
3003
|
+
Oe.deserialize = h0;
|
|
3004
|
+
Oe.deserializeStream = f0;
|
|
3005
3005
|
Oe.onDemand = An;
|
|
3006
|
-
Oe.serialize =
|
|
3007
|
-
Oe.serializeWithBufferAndIndex =
|
|
3008
|
-
Oe.setInternalBufferSize =
|
|
3006
|
+
Oe.serialize = c0;
|
|
3007
|
+
Oe.serializeWithBufferAndIndex = l0;
|
|
3008
|
+
Oe.setInternalBufferSize = a0;
|
|
3009
3009
|
(function(e) {
|
|
3010
3010
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.toUTF8 = e.getBigInt64LE = e.getFloat64LE = e.getInt32LE = e.UUID = e.Timestamp = e.serialize = e.ObjectId = e.NumberUtils = e.MinKey = e.MaxKey = e.Long = e.Int32 = e.EJSON = e.Double = e.deserialize = e.Decimal128 = e.DBRef = e.Code = e.calculateObjectSize = e.BSONType = e.BSONSymbol = e.BSONRegExp = e.BSONError = e.BSON = e.Binary = void 0, e.parseToElementsToArray = n, e.pluckBSONSerializeOptions = i, e.resolveBSONOptions = o, e.parseUtf8ValidationOption = u;
|
|
3011
3011
|
const t = Oe;
|
|
@@ -4491,7 +4491,7 @@ var Pt = {};
|
|
|
4491
4491
|
}
|
|
4492
4492
|
e.ReadConcern = t;
|
|
4493
4493
|
})(Pt);
|
|
4494
|
-
var
|
|
4494
|
+
var or = {}, At = {}, lo = {};
|
|
4495
4495
|
Object.defineProperty(lo, "__esModule", { value: !0 });
|
|
4496
4496
|
lo.OnDemandDocument = void 0;
|
|
4497
4497
|
const me = pe, _n = {
|
|
@@ -4659,10 +4659,10 @@ class Qi {
|
|
|
4659
4659
|
}
|
|
4660
4660
|
}
|
|
4661
4661
|
lo.OnDemandDocument = Qi;
|
|
4662
|
-
var
|
|
4662
|
+
var Yu;
|
|
4663
4663
|
function De() {
|
|
4664
|
-
if (
|
|
4665
|
-
|
|
4664
|
+
if (Yu) return At;
|
|
4665
|
+
Yu = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.ClientBulkWriteCursorResponse = At.ExplainedCursorResponse = At.CursorResponse = At.MongoDBResponse = void 0, At.isErrorResponse = o;
|
|
4666
4666
|
const e = pe, t = Q, r = ne(), n = lo, i = {
|
|
4667
4667
|
nameOffset: 1,
|
|
4668
4668
|
nameLength: 2,
|
|
@@ -4913,12 +4913,12 @@ function De() {
|
|
|
4913
4913
|
}
|
|
4914
4914
|
return At.ClientBulkWriteCursorResponse = a, At;
|
|
4915
4915
|
}
|
|
4916
|
-
var
|
|
4916
|
+
var Xu;
|
|
4917
4917
|
function ct() {
|
|
4918
|
-
if (
|
|
4919
|
-
|
|
4918
|
+
if (Xu) return or;
|
|
4919
|
+
Xu = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.WriteConcern = or.WRITE_CONCERN_KEYS = void 0, or.throwIfWriteConcernError = n;
|
|
4920
4920
|
const e = De(), t = Q;
|
|
4921
|
-
|
|
4921
|
+
or.WRITE_CONCERN_KEYS = ["w", "wtimeout", "j", "journal", "fsync"];
|
|
4922
4922
|
class r {
|
|
4923
4923
|
/**
|
|
4924
4924
|
* Constructs a WriteConcern from the write concern properties.
|
|
@@ -4949,7 +4949,7 @@ function ct() {
|
|
|
4949
4949
|
return new r(E, h ?? S, g ?? C, m);
|
|
4950
4950
|
}
|
|
4951
4951
|
}
|
|
4952
|
-
|
|
4952
|
+
or.WriteConcern = r;
|
|
4953
4953
|
function n(i) {
|
|
4954
4954
|
if (typeof i == "object" && i != null) {
|
|
4955
4955
|
const o = e.MongoDBResponse.is(i) && i.has("writeConcernError") ? i.toObject() : !e.MongoDBResponse.is(i) && "writeConcernError" in i ? i : null;
|
|
@@ -4957,13 +4957,13 @@ function ct() {
|
|
|
4957
4957
|
throw new t.MongoWriteConcernError(o);
|
|
4958
4958
|
}
|
|
4959
4959
|
}
|
|
4960
|
-
return
|
|
4960
|
+
return or;
|
|
4961
4961
|
}
|
|
4962
|
-
var
|
|
4962
|
+
var Ju;
|
|
4963
4963
|
function ne() {
|
|
4964
|
-
return
|
|
4965
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.kDispose = e.randomBytes = e.COSMOS_DB_MSG = e.DOCUMENT_DB_MSG = e.COSMOS_DB_CHECK = e.DOCUMENT_DB_CHECK = e.MONGODB_WARNING_CODE = e.DEFAULT_PK_FACTORY = e.HostAddress = e.BufferPool = e.List = e.MongoDBCollectionNamespace = e.MongoDBNamespace = e.ByteUtils = void 0, e.isUint8Array = C, e.hostMatchesWildcards = S, e.normalizeHintField = D, e.isObject = M, e.mergeOptions = p, e.filterOptions = B, e.isPromiseLike = d, e.decorateWithCollation = b, e.decorateWithReadConcern = f, e.getTopology = l, e.ns = w, e.makeCounter = A, e.uuidV4 = y, e.maxWireVersion = F, e.arrayStrictEqual = R, e.errorStrictEqual = v, e.makeStateMachine = J, e.processTimeMS = I, e.calculateDurationInMs = N, e.hasAtomicOperators = x, e.resolveTimeoutOptions = j, e.resolveOptions = Y, e.isSuperset = $, e.isHello = K, e.setDifference = ee, e.isRecord = ye, e.emitWarning = Ee, e.emitWarningOnce = Ce, e.enumToString = _e, e.supportsRetryableWrites = He, e.shuffle = nt, e.commandSupportsReadConcern = k, e.compareObjectId = P, e.parseInteger = X, e.parseUnsignedInteger = V, e.checkParentDomainMatch = z, e.get = Z, e.isHostMatch = Be, e.promiseWithResolvers = lt, e.squashError = it, e.once =
|
|
4966
|
-
const t =
|
|
4964
|
+
return Ju || (Ju = 1, function(e) {
|
|
4965
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.kDispose = e.randomBytes = e.COSMOS_DB_MSG = e.DOCUMENT_DB_MSG = e.COSMOS_DB_CHECK = e.DOCUMENT_DB_CHECK = e.MONGODB_WARNING_CODE = e.DEFAULT_PK_FACTORY = e.HostAddress = e.BufferPool = e.List = e.MongoDBCollectionNamespace = e.MongoDBNamespace = e.ByteUtils = void 0, e.isUint8Array = C, e.hostMatchesWildcards = S, e.normalizeHintField = D, e.isObject = M, e.mergeOptions = p, e.filterOptions = B, e.isPromiseLike = d, e.decorateWithCollation = b, e.decorateWithReadConcern = f, e.getTopology = l, e.ns = w, e.makeCounter = A, e.uuidV4 = y, e.maxWireVersion = F, e.arrayStrictEqual = R, e.errorStrictEqual = v, e.makeStateMachine = J, e.processTimeMS = I, e.calculateDurationInMs = N, e.hasAtomicOperators = x, e.resolveTimeoutOptions = j, e.resolveOptions = Y, e.isSuperset = $, e.isHello = K, e.setDifference = ee, e.isRecord = ye, e.emitWarning = Ee, e.emitWarningOnce = Ce, e.enumToString = _e, e.supportsRetryableWrites = He, e.shuffle = nt, e.commandSupportsReadConcern = k, e.compareObjectId = P, e.parseInteger = X, e.parseUnsignedInteger = V, e.checkParentDomainMatch = z, e.get = Z, e.isHostMatch = Be, e.promiseWithResolvers = lt, e.squashError = it, e.once = Kl, e.maybeAddIdToDocuments = Yl, e.fileIsAccessible = Xl, e.csotMin = Jl, e.noop = Ql, e.decorateDecryptionResult = Fu, e.addAbortListener = rs, e.abortable = Zl;
|
|
4966
|
+
const t = Fc, r = D1, n = r2, i = Ar, o = gn, u = pe, c = fe, s = Ve, a = Q, E = Pt, h = Ke, g = Ne, m = ct();
|
|
4967
4967
|
e.ByteUtils = {
|
|
4968
4968
|
toLocalBufferType(L) {
|
|
4969
4969
|
return Buffer.isBuffer(L) ? L : Buffer.from(L.buffer, L.byteOffset, L.byteLength);
|
|
@@ -5467,7 +5467,7 @@ function ne() {
|
|
|
5467
5467
|
});
|
|
5468
5468
|
});
|
|
5469
5469
|
e.randomBytes = Ti;
|
|
5470
|
-
async function
|
|
5470
|
+
async function Kl(L, U, H) {
|
|
5471
5471
|
var yn;
|
|
5472
5472
|
(yn = H == null ? void 0 : H.signal) == null || yn.throwIfAborted();
|
|
5473
5473
|
const { promise: te, resolve: oe, reject: Le } = lt(), Re = (ns) => oe(ns), je = (ns) => Le(ns), gt = rs(H == null ? void 0 : H.signal, function() {
|
|
@@ -5480,21 +5480,21 @@ function ne() {
|
|
|
5480
5480
|
L.off(U, Re), L.off("error", je), gt == null || gt[e.kDispose]();
|
|
5481
5481
|
}
|
|
5482
5482
|
}
|
|
5483
|
-
function
|
|
5483
|
+
function Yl(L, U, H) {
|
|
5484
5484
|
var oe;
|
|
5485
5485
|
return (H.forceServerObjectId ?? ((oe = L.db.options) == null ? void 0 : oe.forceServerObjectId) ?? !1) || U._id == null && (U._id = L.s.pkFactory.createPk()), U;
|
|
5486
5486
|
}
|
|
5487
|
-
async function
|
|
5487
|
+
async function Xl(L, U) {
|
|
5488
5488
|
try {
|
|
5489
5489
|
return await r.promises.access(L, U), !0;
|
|
5490
5490
|
} catch {
|
|
5491
5491
|
return !1;
|
|
5492
5492
|
}
|
|
5493
5493
|
}
|
|
5494
|
-
function
|
|
5494
|
+
function Jl(L, U) {
|
|
5495
5495
|
return L === 0 ? U : U === 0 ? L : Math.min(L, U);
|
|
5496
5496
|
}
|
|
5497
|
-
function
|
|
5497
|
+
function Ql() {
|
|
5498
5498
|
}
|
|
5499
5499
|
function Fu(L, U, H = !0) {
|
|
5500
5500
|
if (H && (Buffer.isBuffer(U) && (U = (0, u.deserialize)(U)), Buffer.isBuffer(L)))
|
|
@@ -5519,7 +5519,7 @@ function ne() {
|
|
|
5519
5519
|
if (L != null)
|
|
5520
5520
|
return L.addEventListener("abort", U, { once: !0 }), { [e.kDispose]: () => L.removeEventListener("abort", U) };
|
|
5521
5521
|
}
|
|
5522
|
-
async function
|
|
5522
|
+
async function Zl(L, { signal: U }) {
|
|
5523
5523
|
if (U == null)
|
|
5524
5524
|
return await L;
|
|
5525
5525
|
const { promise: H, reject: te } = lt(), oe = U.aborted ? te(U.reason) : rs(U, function() {
|
|
@@ -5535,7 +5535,7 @@ function ne() {
|
|
|
5535
5535
|
}
|
|
5536
5536
|
Object.defineProperty(Te, "__esModule", { value: !0 });
|
|
5537
5537
|
Te.LegacyTimeoutContext = Te.CSOTTimeoutContext = Te.TimeoutContext = Te.Timeout = Te.TimeoutError = void 0;
|
|
5538
|
-
const
|
|
5538
|
+
const Qu = gn, br = Q, l1 = ne();
|
|
5539
5539
|
class h1 extends Error {
|
|
5540
5540
|
get name() {
|
|
5541
5541
|
return "TimeoutError";
|
|
@@ -5563,7 +5563,7 @@ class dt extends Promise {
|
|
|
5563
5563
|
let u;
|
|
5564
5564
|
super((c, s) => {
|
|
5565
5565
|
u = s, t(l1.noop, s);
|
|
5566
|
-
}), this.ended = null, this.timedOut = !1, this.cleared = !1, this.duration = n, this.start = Math.trunc(performance.now()), o == null && this.duration > 0 ? (this.id = (0,
|
|
5566
|
+
}), this.ended = null, this.timedOut = !1, this.cleared = !1, this.duration = n, this.start = Math.trunc(performance.now()), o == null && this.duration > 0 ? (this.id = (0, Qu.setTimeout)(() => {
|
|
5567
5567
|
this.ended = Math.trunc(performance.now()), this.timedOut = !0, u(new h1(`Expired after ${n}ms`, { duration: n }));
|
|
5568
5568
|
}, this.duration), typeof this.id.unref == "function" && i && this.id.unref()) : o != null && (this.ended = Math.trunc(performance.now()), this.timedOut = !0, u(o));
|
|
5569
5569
|
}
|
|
@@ -5571,7 +5571,7 @@ class dt extends Promise {
|
|
|
5571
5571
|
* Clears the underlying timeout. This method is idempotent
|
|
5572
5572
|
*/
|
|
5573
5573
|
clear() {
|
|
5574
|
-
(0,
|
|
5574
|
+
(0, Qu.clearTimeout)(this.id), this.id = void 0, this.timedOut = !1, this.cleared = !0;
|
|
5575
5575
|
}
|
|
5576
5576
|
throwIfExpired() {
|
|
5577
5577
|
if (this.timedOut)
|
|
@@ -5840,12 +5840,12 @@ var Me = {};
|
|
|
5840
5840
|
})(Me);
|
|
5841
5841
|
Object.defineProperty(Ie, "__esModule", { value: !0 });
|
|
5842
5842
|
Ie.CommandOperation = void 0;
|
|
5843
|
-
const $2 = fe, eh = Q, Rs = oi, th = Pt, Bi = ne(),
|
|
5843
|
+
const $2 = fe, eh = Q, Rs = oi, th = Pt, Bi = ne(), Zu = ct(), Or = Me;
|
|
5844
5844
|
class rh extends Or.AbstractOperation {
|
|
5845
5845
|
constructor(t, r) {
|
|
5846
5846
|
super(r), this.options = r ?? {};
|
|
5847
5847
|
const n = (r == null ? void 0 : r.dbName) || (r == null ? void 0 : r.authdb);
|
|
5848
|
-
if (n ? this.ns = new Bi.MongoDBNamespace(n, "$cmd") : this.ns = t ? t.s.namespace.withCollection("$cmd") : new Bi.MongoDBNamespace("admin", "$cmd"), this.readConcern = th.ReadConcern.fromOptions(r), this.writeConcern =
|
|
5848
|
+
if (n ? this.ns = new Bi.MongoDBNamespace(n, "$cmd") : this.ns = t ? t.s.namespace.withCollection("$cmd") : new Bi.MongoDBNamespace("admin", "$cmd"), this.readConcern = th.ReadConcern.fromOptions(r), this.writeConcern = Zu.WriteConcern.fromOptions(r), this.hasAspect(Or.Aspect.EXPLAINABLE))
|
|
5849
5849
|
this.explain = Rs.Explain.fromOptions(r), this.explain && (0, Rs.validateExplainTimeoutOptions)(this.options, this.explain);
|
|
5850
5850
|
else if ((r == null ? void 0 : r.explain) != null)
|
|
5851
5851
|
throw new eh.MongoInvalidArgumentError('Option "explain" is not supported on this command');
|
|
@@ -5864,7 +5864,7 @@ class rh extends Or.AbstractOperation {
|
|
|
5864
5864
|
}
|
|
5865
5865
|
buildCommand(t, r) {
|
|
5866
5866
|
const n = this.buildCommandDocument(t, r), i = this.session && this.session.inTransaction();
|
|
5867
|
-
return this.readConcern && (0, Bi.commandSupportsReadConcern)(n) && !i && Object.assign(n, { readConcern: this.readConcern }), this.writeConcern && this.hasAspect(Or.Aspect.WRITE_OPERATION) && !i &&
|
|
5867
|
+
return this.readConcern && (0, Bi.commandSupportsReadConcern)(n) && !i && Object.assign(n, { readConcern: this.readConcern }), this.writeConcern && this.hasAspect(Or.Aspect.WRITE_OPERATION) && !i && Zu.WriteConcern.apply(n, this.writeConcern), this.options.collation && typeof this.options.collation == "object" && !this.hasAspect(Or.Aspect.SKIP_COLLATION) && Object.assign(n, { collation: this.options.collation }), typeof this.options.maxTimeMS == "number" && (n.maxTimeMS = this.options.maxTimeMS), this.options.rawData != null && this.hasAspect(Or.Aspect.SUPPORTS_RAW_DATA) && (0, Bi.maxWireVersion)(t) >= $2.MIN_SUPPORTED_RAW_DATA_WIRE_VERSION && (n.rawData = this.options.rawData), this.hasAspect(Or.Aspect.EXPLAINABLE) && this.explain ? (0, Rs.decorateWithExplain)(n, this.explain) : n;
|
|
5868
5868
|
}
|
|
5869
5869
|
}
|
|
5870
5870
|
Ie.CommandOperation = rh;
|
|
@@ -5911,12 +5911,12 @@ Ie.CommandOperation = rh;
|
|
|
5911
5911
|
})(ii);
|
|
5912
5912
|
Object.defineProperty(qe, "__esModule", { value: !0 });
|
|
5913
5913
|
qe.executeOperation = uh;
|
|
5914
|
-
qe.autoConnect =
|
|
5915
|
-
const nh = fe, et = Q,
|
|
5914
|
+
qe.autoConnect = m0;
|
|
5915
|
+
const nh = fe, et = Q, $u = Ke, bi = pn, ih = Te, Zi = ne(), oh = ii, Yt = Me, sh = et.MONGODB_ERROR_CODES.IllegalOperation, ea = "This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.";
|
|
5916
5916
|
async function uh(e, t, r) {
|
|
5917
5917
|
if (!(t instanceof Yt.AbstractOperation))
|
|
5918
5918
|
throw new et.MongoRuntimeError("This method requires a valid operation instance");
|
|
5919
|
-
const n = e.topology == null ? await (0, Zi.abortable)(
|
|
5919
|
+
const n = e.topology == null ? await (0, Zi.abortable)(m0(e), t.options) : e.topology;
|
|
5920
5920
|
let i = t.session, o;
|
|
5921
5921
|
if (i == null)
|
|
5922
5922
|
o = Symbol(), i = e.startSession({ owner: o, explicit: !1 });
|
|
@@ -5929,8 +5929,8 @@ async function uh(e, t, r) {
|
|
|
5929
5929
|
throw new et.MongoInvalidArgumentError("ClientSession must be from the same MongoClient");
|
|
5930
5930
|
}
|
|
5931
5931
|
t.session ?? (t.session = i);
|
|
5932
|
-
const u = t.readPreference ??
|
|
5933
|
-
if (c && !u.equals(
|
|
5932
|
+
const u = t.readPreference ?? $u.ReadPreference.primary, c = !!(i != null && i.inTransaction()), s = t.hasAspect(Yt.Aspect.READ_OPERATION);
|
|
5933
|
+
if (c && !u.equals($u.ReadPreference.primary) && (s || t.commandName === "runCommand"))
|
|
5934
5934
|
throw new et.MongoTransactionError(`Read preference in a transaction must be primary, not: ${u.mode}`);
|
|
5935
5935
|
i != null && i.isPinned && i.transaction.isCommitted && !t.bypassPinningCheck && i.unpin(), r ?? (r = ih.TimeoutContext.create({
|
|
5936
5936
|
session: i,
|
|
@@ -5949,7 +5949,7 @@ async function uh(e, t, r) {
|
|
|
5949
5949
|
(i == null ? void 0 : i.owner) != null && i.owner === o && await i.endSession();
|
|
5950
5950
|
}
|
|
5951
5951
|
}
|
|
5952
|
-
async function
|
|
5952
|
+
async function m0(e) {
|
|
5953
5953
|
if (e.topology == null) {
|
|
5954
5954
|
if (e.s.hasBeenClosed)
|
|
5955
5955
|
throw new et.MongoNotConnectedError("Client must be connected before running operations");
|
|
@@ -5984,8 +5984,8 @@ async function ah(e, { topology: t, timeoutContext: r, session: n, readPreferenc
|
|
|
5984
5984
|
if (C) {
|
|
5985
5985
|
if (s && C.code === sh)
|
|
5986
5986
|
throw new et.MongoServerError({
|
|
5987
|
-
message:
|
|
5988
|
-
errmsg:
|
|
5987
|
+
message: ea,
|
|
5988
|
+
errmsg: ea,
|
|
5989
5989
|
originalError: C
|
|
5990
5990
|
});
|
|
5991
5991
|
if (e.hasAspect(Yt.Aspect.COMMAND_BATCHING) && !e.canRetryWrite || s && !(0, et.isRetryableWriteError)(C) || c && !(0, et.isRetryableReadError)(C))
|
|
@@ -6020,26 +6020,26 @@ async function ah(e, { topology: t, timeoutContext: r, session: n, readPreferenc
|
|
|
6020
6020
|
var fo = {};
|
|
6021
6021
|
Object.defineProperty(fo, "__esModule", { value: !0 });
|
|
6022
6022
|
fo.ListDatabasesOperation = void 0;
|
|
6023
|
-
const ch = De(),
|
|
6024
|
-
class
|
|
6023
|
+
const ch = De(), ta = ne(), lh = Ie, Ns = Me;
|
|
6024
|
+
class E0 extends lh.CommandOperation {
|
|
6025
6025
|
constructor(t, r) {
|
|
6026
|
-
super(t, r), this.SERVER_COMMAND_RESPONSE_TYPE = ch.MongoDBResponse, this.options = r ?? {}, this.ns = new
|
|
6026
|
+
super(t, r), this.SERVER_COMMAND_RESPONSE_TYPE = ch.MongoDBResponse, this.options = r ?? {}, this.ns = new ta.MongoDBNamespace("admin", "$cmd");
|
|
6027
6027
|
}
|
|
6028
6028
|
get commandName() {
|
|
6029
6029
|
return "listDatabases";
|
|
6030
6030
|
}
|
|
6031
6031
|
buildCommandDocument(t, r) {
|
|
6032
6032
|
const n = { listDatabases: 1 };
|
|
6033
|
-
return typeof this.options.nameOnly == "boolean" && (n.nameOnly = this.options.nameOnly), this.options.filter && (n.filter = this.options.filter), typeof this.options.authorizedDatabases == "boolean" && (n.authorizedDatabases = this.options.authorizedDatabases), (0,
|
|
6033
|
+
return typeof this.options.nameOnly == "boolean" && (n.nameOnly = this.options.nameOnly), this.options.filter && (n.filter = this.options.filter), typeof this.options.authorizedDatabases == "boolean" && (n.authorizedDatabases = this.options.authorizedDatabases), (0, ta.maxWireVersion)(t) >= 9 && this.options.comment !== void 0 && (n.comment = this.options.comment), n;
|
|
6034
6034
|
}
|
|
6035
6035
|
}
|
|
6036
|
-
fo.ListDatabasesOperation =
|
|
6037
|
-
(0, Ns.defineAspects)(
|
|
6036
|
+
fo.ListDatabasesOperation = E0;
|
|
6037
|
+
(0, Ns.defineAspects)(E0, [Ns.Aspect.READ_OPERATION, Ns.Aspect.RETRYABLE]);
|
|
6038
6038
|
var si = {};
|
|
6039
6039
|
Object.defineProperty(si, "__esModule", { value: !0 });
|
|
6040
6040
|
si.RemoveUserOperation = void 0;
|
|
6041
|
-
const hh = De(), dh = Ie,
|
|
6042
|
-
class
|
|
6041
|
+
const hh = De(), dh = Ie, ra = Me;
|
|
6042
|
+
class g0 extends dh.CommandOperation {
|
|
6043
6043
|
constructor(t, r, n) {
|
|
6044
6044
|
super(t, n), this.SERVER_COMMAND_RESPONSE_TYPE = hh.MongoDBResponse, this.options = n, this.username = r;
|
|
6045
6045
|
}
|
|
@@ -6053,15 +6053,15 @@ class E0 extends dh.CommandOperation {
|
|
|
6053
6053
|
return !0;
|
|
6054
6054
|
}
|
|
6055
6055
|
}
|
|
6056
|
-
si.RemoveUserOperation =
|
|
6057
|
-
(0,
|
|
6056
|
+
si.RemoveUserOperation = g0;
|
|
6057
|
+
(0, ra.defineAspects)(g0, [ra.Aspect.WRITE_OPERATION]);
|
|
6058
6058
|
var er = {};
|
|
6059
6059
|
Object.defineProperty(er, "__esModule", { value: !0 });
|
|
6060
6060
|
er.RunCursorCommandOperation = er.RunCommandOperation = void 0;
|
|
6061
|
-
const
|
|
6062
|
-
class
|
|
6061
|
+
const A0 = De(), fh = Me;
|
|
6062
|
+
class p0 extends fh.AbstractOperation {
|
|
6063
6063
|
constructor(t, r, n) {
|
|
6064
|
-
super(n), this.SERVER_COMMAND_RESPONSE_TYPE =
|
|
6064
|
+
super(n), this.SERVER_COMMAND_RESPONSE_TYPE = A0.MongoDBResponse, this.command = r, this.options = n, this.ns = t.withCollection("$cmd");
|
|
6065
6065
|
}
|
|
6066
6066
|
get commandName() {
|
|
6067
6067
|
return "runCommand";
|
|
@@ -6079,10 +6079,10 @@ class A0 extends fh.AbstractOperation {
|
|
|
6079
6079
|
};
|
|
6080
6080
|
}
|
|
6081
6081
|
}
|
|
6082
|
-
er.RunCommandOperation =
|
|
6083
|
-
class mh extends
|
|
6082
|
+
er.RunCommandOperation = p0;
|
|
6083
|
+
class mh extends p0 {
|
|
6084
6084
|
constructor() {
|
|
6085
|
-
super(...arguments), this.SERVER_COMMAND_RESPONSE_TYPE =
|
|
6085
|
+
super(...arguments), this.SERVER_COMMAND_RESPONSE_TYPE = A0.CursorResponse;
|
|
6086
6086
|
}
|
|
6087
6087
|
handleOk(t) {
|
|
6088
6088
|
return t;
|
|
@@ -6254,7 +6254,7 @@ class Eo extends Bh.CommandOperation {
|
|
|
6254
6254
|
}
|
|
6255
6255
|
}
|
|
6256
6256
|
Wt.DeleteOperation = Eo;
|
|
6257
|
-
class
|
|
6257
|
+
class C0 extends Eo {
|
|
6258
6258
|
constructor(t, r, n) {
|
|
6259
6259
|
super(t, [U1(r, { ...n, limit: 1 })], n);
|
|
6260
6260
|
}
|
|
@@ -6273,8 +6273,8 @@ class p0 extends Eo {
|
|
|
6273
6273
|
};
|
|
6274
6274
|
}
|
|
6275
6275
|
}
|
|
6276
|
-
Wt.DeleteOneOperation =
|
|
6277
|
-
class
|
|
6276
|
+
Wt.DeleteOneOperation = C0;
|
|
6277
|
+
class S0 extends Eo {
|
|
6278
6278
|
constructor(t, r, n) {
|
|
6279
6279
|
super(t, [U1(r, n)], n);
|
|
6280
6280
|
}
|
|
@@ -6293,7 +6293,7 @@ class C0 extends Eo {
|
|
|
6293
6293
|
};
|
|
6294
6294
|
}
|
|
6295
6295
|
}
|
|
6296
|
-
Wt.DeleteManyOperation =
|
|
6296
|
+
Wt.DeleteManyOperation = S0;
|
|
6297
6297
|
function U1(e, t) {
|
|
6298
6298
|
const r = {
|
|
6299
6299
|
q: e,
|
|
@@ -6306,14 +6306,14 @@ function U1(e, t) {
|
|
|
6306
6306
|
st.Aspect.WRITE_OPERATION,
|
|
6307
6307
|
st.Aspect.SUPPORTS_RAW_DATA
|
|
6308
6308
|
]);
|
|
6309
|
-
(0, st.defineAspects)(
|
|
6309
|
+
(0, st.defineAspects)(C0, [
|
|
6310
6310
|
st.Aspect.RETRYABLE,
|
|
6311
6311
|
st.Aspect.WRITE_OPERATION,
|
|
6312
6312
|
st.Aspect.EXPLAINABLE,
|
|
6313
6313
|
st.Aspect.SKIP_COLLATION,
|
|
6314
6314
|
st.Aspect.SUPPORTS_RAW_DATA
|
|
6315
6315
|
]);
|
|
6316
|
-
(0, st.defineAspects)(
|
|
6316
|
+
(0, st.defineAspects)(S0, [
|
|
6317
6317
|
st.Aspect.WRITE_OPERATION,
|
|
6318
6318
|
st.Aspect.EXPLAINABLE,
|
|
6319
6319
|
st.Aspect.SKIP_COLLATION,
|
|
@@ -6322,7 +6322,7 @@ function U1(e, t) {
|
|
|
6322
6322
|
var Pr = {};
|
|
6323
6323
|
Object.defineProperty(Pr, "__esModule", { value: !0 });
|
|
6324
6324
|
Pr.InsertOneOperation = Pr.InsertOperation = void 0;
|
|
6325
|
-
const bh = De(),
|
|
6325
|
+
const bh = De(), na = Q, Mh = ne(), Fh = Ie, fr = Me;
|
|
6326
6326
|
class x1 extends Fh.CommandOperation {
|
|
6327
6327
|
constructor(t, r, n) {
|
|
6328
6328
|
super(void 0, n), this.SERVER_COMMAND_RESPONSE_TYPE = bh.MongoDBResponse, this.options = { ...n, checkKeys: n.checkKeys ?? !1 }, this.ns = t, this.documents = r;
|
|
@@ -6340,7 +6340,7 @@ class x1 extends Fh.CommandOperation {
|
|
|
6340
6340
|
}
|
|
6341
6341
|
}
|
|
6342
6342
|
Pr.InsertOperation = x1;
|
|
6343
|
-
class
|
|
6343
|
+
class y0 extends x1 {
|
|
6344
6344
|
constructor(t, r, n) {
|
|
6345
6345
|
super(t.s.namespace, [(0, Mh.maybeAddIdToDocuments)(t, r, n)], n);
|
|
6346
6346
|
}
|
|
@@ -6348,30 +6348,30 @@ class S0 extends x1 {
|
|
|
6348
6348
|
var n;
|
|
6349
6349
|
const r = super.handleOk(t);
|
|
6350
6350
|
if (r.code)
|
|
6351
|
-
throw new
|
|
6351
|
+
throw new na.MongoServerError(r);
|
|
6352
6352
|
if (r.writeErrors)
|
|
6353
|
-
throw new
|
|
6353
|
+
throw new na.MongoServerError(r.writeErrors[0]);
|
|
6354
6354
|
return {
|
|
6355
6355
|
acknowledged: ((n = this.writeConcern) == null ? void 0 : n.w) !== 0,
|
|
6356
6356
|
insertedId: this.documents[0]._id
|
|
6357
6357
|
};
|
|
6358
6358
|
}
|
|
6359
6359
|
}
|
|
6360
|
-
Pr.InsertOneOperation =
|
|
6361
|
-
(0,
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6360
|
+
Pr.InsertOneOperation = y0;
|
|
6361
|
+
(0, fr.defineAspects)(x1, [
|
|
6362
|
+
fr.Aspect.RETRYABLE,
|
|
6363
|
+
fr.Aspect.WRITE_OPERATION,
|
|
6364
|
+
fr.Aspect.SUPPORTS_RAW_DATA
|
|
6365
6365
|
]);
|
|
6366
|
-
(0,
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6366
|
+
(0, fr.defineAspects)(y0, [
|
|
6367
|
+
fr.Aspect.RETRYABLE,
|
|
6368
|
+
fr.Aspect.WRITE_OPERATION,
|
|
6369
|
+
fr.Aspect.SUPPORTS_RAW_DATA
|
|
6370
6370
|
]);
|
|
6371
6371
|
var _t = {}, Gr = {};
|
|
6372
6372
|
Object.defineProperty(Gr, "__esModule", { value: !0 });
|
|
6373
6373
|
Gr.formatSort = zh;
|
|
6374
|
-
const
|
|
6374
|
+
const O0 = Q;
|
|
6375
6375
|
function Cn(e = 1) {
|
|
6376
6376
|
const t = `${e}`.toLowerCase();
|
|
6377
6377
|
if (Rh(e))
|
|
@@ -6386,7 +6386,7 @@ function Cn(e = 1) {
|
|
|
6386
6386
|
case "-1":
|
|
6387
6387
|
return -1;
|
|
6388
6388
|
default:
|
|
6389
|
-
throw new
|
|
6389
|
+
throw new O0.MongoInvalidArgumentError(`Invalid sort direction: ${JSON.stringify(e)}`);
|
|
6390
6390
|
}
|
|
6391
6391
|
}
|
|
6392
6392
|
function Rh(e) {
|
|
@@ -6440,7 +6440,7 @@ function zh(e, t) {
|
|
|
6440
6440
|
if (typeof e == "string")
|
|
6441
6441
|
return /* @__PURE__ */ new Map([[e, Cn(t)]]);
|
|
6442
6442
|
if (typeof e != "object")
|
|
6443
|
-
throw new
|
|
6443
|
+
throw new O0.MongoInvalidArgumentError(`Invalid sort format: ${JSON.stringify(e)} Sort must be a valid object`);
|
|
6444
6444
|
if (!Ph(e))
|
|
6445
6445
|
return vh(e) ? jh(e) : Object.keys(e).length ? xh(e) : void 0;
|
|
6446
6446
|
if (e.length)
|
|
@@ -6471,7 +6471,7 @@ class ai extends Gh.CommandOperation {
|
|
|
6471
6471
|
}
|
|
6472
6472
|
}
|
|
6473
6473
|
_t.UpdateOperation = ai;
|
|
6474
|
-
class
|
|
6474
|
+
class w0 extends ai {
|
|
6475
6475
|
constructor(t, r, n, i) {
|
|
6476
6476
|
if (super(t, [go(r, n, { ...i, multi: !1 })], i), !(0, j1.hasAtomicOperators)(n, i))
|
|
6477
6477
|
throw new Rt.MongoInvalidArgumentError("Update document requires atomic operators");
|
|
@@ -6494,8 +6494,8 @@ class O0 extends ai {
|
|
|
6494
6494
|
};
|
|
6495
6495
|
}
|
|
6496
6496
|
}
|
|
6497
|
-
_t.UpdateOneOperation =
|
|
6498
|
-
class
|
|
6497
|
+
_t.UpdateOneOperation = w0;
|
|
6498
|
+
class _0 extends ai {
|
|
6499
6499
|
constructor(t, r, n, i) {
|
|
6500
6500
|
if (super(t, [go(r, n, { ...i, multi: !0 })], i), !(0, j1.hasAtomicOperators)(n, i))
|
|
6501
6501
|
throw new Rt.MongoInvalidArgumentError("Update document requires atomic operators");
|
|
@@ -6518,8 +6518,8 @@ class w0 extends ai {
|
|
|
6518
6518
|
};
|
|
6519
6519
|
}
|
|
6520
6520
|
}
|
|
6521
|
-
_t.UpdateManyOperation =
|
|
6522
|
-
class
|
|
6521
|
+
_t.UpdateManyOperation = _0;
|
|
6522
|
+
class D0 extends ai {
|
|
6523
6523
|
constructor(t, r, n, i) {
|
|
6524
6524
|
if (super(t, [go(r, n, { ...i, multi: !1 })], i), (0, j1.hasAtomicOperators)(n))
|
|
6525
6525
|
throw new Rt.MongoInvalidArgumentError("Replacement document must not contain atomic operators");
|
|
@@ -6542,7 +6542,7 @@ class _0 extends ai {
|
|
|
6542
6542
|
};
|
|
6543
6543
|
}
|
|
6544
6544
|
}
|
|
6545
|
-
_t.ReplaceOneOperation =
|
|
6545
|
+
_t.ReplaceOneOperation = D0;
|
|
6546
6546
|
function go(e, t, r) {
|
|
6547
6547
|
if (e == null || typeof e != "object")
|
|
6548
6548
|
throw new Rt.MongoInvalidArgumentError("Selector must be a valid JavaScript object");
|
|
@@ -6557,20 +6557,20 @@ function go(e, t, r) {
|
|
|
6557
6557
|
ze.Aspect.SKIP_COLLATION,
|
|
6558
6558
|
ze.Aspect.SUPPORTS_RAW_DATA
|
|
6559
6559
|
]);
|
|
6560
|
-
(0, ze.defineAspects)(
|
|
6560
|
+
(0, ze.defineAspects)(w0, [
|
|
6561
6561
|
ze.Aspect.RETRYABLE,
|
|
6562
6562
|
ze.Aspect.WRITE_OPERATION,
|
|
6563
6563
|
ze.Aspect.EXPLAINABLE,
|
|
6564
6564
|
ze.Aspect.SKIP_COLLATION,
|
|
6565
6565
|
ze.Aspect.SUPPORTS_RAW_DATA
|
|
6566
6566
|
]);
|
|
6567
|
-
(0, ze.defineAspects)(
|
|
6567
|
+
(0, ze.defineAspects)(_0, [
|
|
6568
6568
|
ze.Aspect.WRITE_OPERATION,
|
|
6569
6569
|
ze.Aspect.EXPLAINABLE,
|
|
6570
6570
|
ze.Aspect.SKIP_COLLATION,
|
|
6571
6571
|
ze.Aspect.SUPPORTS_RAW_DATA
|
|
6572
6572
|
]);
|
|
6573
|
-
(0, ze.defineAspects)(
|
|
6573
|
+
(0, ze.defineAspects)(D0, [
|
|
6574
6574
|
ze.Aspect.RETRYABLE,
|
|
6575
6575
|
ze.Aspect.WRITE_OPERATION,
|
|
6576
6576
|
ze.Aspect.SKIP_COLLATION,
|
|
@@ -7153,7 +7153,7 @@ function go(e, t, r) {
|
|
|
7153
7153
|
})(Yn);
|
|
7154
7154
|
Object.defineProperty(ui, "__esModule", { value: !0 });
|
|
7155
7155
|
ui.OrderedBulkOperation = void 0;
|
|
7156
|
-
const qh = pe,
|
|
7156
|
+
const qh = pe, ia = Q, Fi = Yn;
|
|
7157
7157
|
class Hh extends Fi.BulkOperationBase {
|
|
7158
7158
|
/** @internal */
|
|
7159
7159
|
constructor(t, r) {
|
|
@@ -7167,7 +7167,7 @@ class Hh extends Fi.BulkOperationBase {
|
|
|
7167
7167
|
ignoreUndefined: !1
|
|
7168
7168
|
});
|
|
7169
7169
|
if (n >= this.s.maxBsonObjectSize)
|
|
7170
|
-
throw new
|
|
7170
|
+
throw new ia.MongoInvalidArgumentError(`Document is larger than the maximum size ${this.s.maxBsonObjectSize}`);
|
|
7171
7171
|
this.s.currentBatch == null && (this.s.currentBatch = new Fi.Batch(t, this.s.currentIndex));
|
|
7172
7172
|
const i = this.s.maxKeySize;
|
|
7173
7173
|
if (
|
|
@@ -7180,7 +7180,7 @@ class Hh extends Fi.BulkOperationBase {
|
|
|
7180
7180
|
_id: r._id
|
|
7181
7181
|
}), Array.isArray(r)
|
|
7182
7182
|
)
|
|
7183
|
-
throw new
|
|
7183
|
+
throw new ia.MongoInvalidArgumentError("Operation passed in cannot be an Array");
|
|
7184
7184
|
return this.s.currentBatch.originalIndexes.push(this.s.currentIndex), this.s.currentBatch.operations.push(r), this.s.currentBatchSize += 1, this.s.currentBatchSizeBytes += i + n, this.s.currentIndex += 1, this;
|
|
7185
7185
|
}
|
|
7186
7186
|
}
|
|
@@ -7188,7 +7188,7 @@ ui.OrderedBulkOperation = Hh;
|
|
|
7188
7188
|
var ci = {};
|
|
7189
7189
|
Object.defineProperty(ci, "__esModule", { value: !0 });
|
|
7190
7190
|
ci.UnorderedBulkOperation = void 0;
|
|
7191
|
-
const Kh = pe,
|
|
7191
|
+
const Kh = pe, oa = Q, Ht = Yn;
|
|
7192
7192
|
class Yh extends Ht.BulkOperationBase {
|
|
7193
7193
|
/** @internal */
|
|
7194
7194
|
constructor(t, r) {
|
|
@@ -7206,7 +7206,7 @@ class Yh extends Ht.BulkOperationBase {
|
|
|
7206
7206
|
ignoreUndefined: !1
|
|
7207
7207
|
});
|
|
7208
7208
|
if (n >= this.s.maxBsonObjectSize)
|
|
7209
|
-
throw new
|
|
7209
|
+
throw new oa.MongoInvalidArgumentError(`Document is larger than the maximum size ${this.s.maxBsonObjectSize}`);
|
|
7210
7210
|
this.s.currentBatch = void 0, t === Ht.BatchType.INSERT ? this.s.currentBatch = this.s.currentInsertBatch : t === Ht.BatchType.UPDATE ? this.s.currentBatch = this.s.currentUpdateBatch : t === Ht.BatchType.DELETE && (this.s.currentBatch = this.s.currentRemoveBatch);
|
|
7211
7211
|
const i = this.s.maxKeySize;
|
|
7212
7212
|
if (this.s.currentBatch == null && (this.s.currentBatch = new Ht.Batch(t, this.s.currentIndex)), // New batch if we exceed the max batch op size
|
|
@@ -7214,7 +7214,7 @@ class Yh extends Ht.BulkOperationBase {
|
|
|
7214
7214
|
// since we can't sent an empty batch
|
|
7215
7215
|
this.s.currentBatch.size > 0 && this.s.currentBatch.sizeBytes + i + n >= this.s.maxBatchSizeBytes || // New batch if the new op does not have the same op type as the current batch
|
|
7216
7216
|
this.s.currentBatch.batchType !== t) && (this.s.batches.push(this.s.currentBatch), this.s.currentBatch = new Ht.Batch(t, this.s.currentIndex)), Array.isArray(r))
|
|
7217
|
-
throw new
|
|
7217
|
+
throw new oa.MongoInvalidArgumentError("Operation passed in cannot be an Array");
|
|
7218
7218
|
return this.s.currentBatch.operations.push(r), this.s.currentBatch.originalIndexes.push(this.s.currentIndex), this.s.currentIndex = this.s.currentIndex + 1, t === Ht.BatchType.INSERT ? (this.s.currentInsertBatch = this.s.currentBatch, this.s.bulkResult.insertedIds.push({
|
|
7219
7219
|
index: this.s.bulkResult.insertedIds.length,
|
|
7220
7220
|
_id: r._id
|
|
@@ -7222,10 +7222,10 @@ class Yh extends Ht.BulkOperationBase {
|
|
|
7222
7222
|
}
|
|
7223
7223
|
}
|
|
7224
7224
|
ci.UnorderedBulkOperation = Yh;
|
|
7225
|
-
var Jr = {}, Dn = {}, qr = {}, tt = {}, Je = {},
|
|
7225
|
+
var Jr = {}, Dn = {}, qr = {}, tt = {}, Je = {}, Cr = {};
|
|
7226
7226
|
(function(e) {
|
|
7227
7227
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MongoLogger = e.MongoLoggableComponent = e.SEVERITY_LEVEL_MAP = e.DEFAULT_MAX_DOCUMENT_LENGTH = e.SeverityLevel = void 0, e.parseSeverityFromString = c, e.createStdioLogger = s, e.stringifyWithMaxLen = g, e.defaultLogTransform = p;
|
|
7228
|
-
const t =
|
|
7228
|
+
const t = Ar, r = i2, n = pe, i = Ve, o = ne();
|
|
7229
7229
|
e.SeverityLevel = Object.freeze({
|
|
7230
7230
|
EMERGENCY: "emergency",
|
|
7231
7231
|
ALERT: "alert",
|
|
@@ -7588,11 +7588,11 @@ var Jr = {}, Dn = {}, qr = {}, tt = {}, Je = {}, pr = {};
|
|
|
7588
7588
|
}
|
|
7589
7589
|
}
|
|
7590
7590
|
e.MongoLogger = B;
|
|
7591
|
-
})(
|
|
7591
|
+
})(Cr);
|
|
7592
7592
|
Object.defineProperty(Je, "__esModule", { value: !0 });
|
|
7593
7593
|
Je.CancellationToken = Je.TypedEventEmitter = void 0;
|
|
7594
|
-
const Xh = n2, Jh =
|
|
7595
|
-
class
|
|
7594
|
+
const Xh = n2, Jh = Cr, Qh = ne();
|
|
7595
|
+
class T0 extends Xh.EventEmitter {
|
|
7596
7596
|
/** @internal */
|
|
7597
7597
|
emitAndLog(t, ...r) {
|
|
7598
7598
|
var n;
|
|
@@ -7622,8 +7622,8 @@ class D0 extends Xh.EventEmitter {
|
|
|
7622
7622
|
}
|
|
7623
7623
|
}
|
|
7624
7624
|
}
|
|
7625
|
-
Je.TypedEventEmitter =
|
|
7626
|
-
class Zh extends
|
|
7625
|
+
Je.TypedEventEmitter = T0;
|
|
7626
|
+
class Zh extends T0 {
|
|
7627
7627
|
constructor(...t) {
|
|
7628
7628
|
super(...t), this.on("error", Qh.noop);
|
|
7629
7629
|
}
|
|
@@ -7632,8 +7632,8 @@ Je.CancellationToken = Zh;
|
|
|
7632
7632
|
var li = {};
|
|
7633
7633
|
Object.defineProperty(li, "__esModule", { value: !0 });
|
|
7634
7634
|
li.GetMoreOperation = void 0;
|
|
7635
|
-
const $h = De(),
|
|
7636
|
-
class
|
|
7635
|
+
const $h = De(), sa = Q, ed = ne(), Vi = Me;
|
|
7636
|
+
class B0 extends Vi.AbstractOperation {
|
|
7637
7637
|
constructor(t, r, n, i) {
|
|
7638
7638
|
super(i), this.SERVER_COMMAND_RESPONSE_TYPE = $h.CursorResponse, this.options = i, this.ns = t, this.cursorId = r, this.server = n;
|
|
7639
7639
|
}
|
|
@@ -7642,10 +7642,10 @@ class T0 extends Vi.AbstractOperation {
|
|
|
7642
7642
|
}
|
|
7643
7643
|
buildCommand(t) {
|
|
7644
7644
|
if (this.cursorId == null || this.cursorId.isZero())
|
|
7645
|
-
throw new
|
|
7645
|
+
throw new sa.MongoRuntimeError("Unable to iterate cursor with no id");
|
|
7646
7646
|
const r = this.ns.collection;
|
|
7647
7647
|
if (r == null)
|
|
7648
|
-
throw new
|
|
7648
|
+
throw new sa.MongoRuntimeError("A collection name must be determined before getMore");
|
|
7649
7649
|
const n = {
|
|
7650
7650
|
getMore: this.cursorId,
|
|
7651
7651
|
collection: r
|
|
@@ -7664,13 +7664,13 @@ class T0 extends Vi.AbstractOperation {
|
|
|
7664
7664
|
return t;
|
|
7665
7665
|
}
|
|
7666
7666
|
}
|
|
7667
|
-
li.GetMoreOperation =
|
|
7668
|
-
(0, Vi.defineAspects)(
|
|
7667
|
+
li.GetMoreOperation = B0;
|
|
7668
|
+
(0, Vi.defineAspects)(B0, [Vi.Aspect.READ_OPERATION, Vi.Aspect.MUST_SELECT_SAME_SERVER]);
|
|
7669
7669
|
var Ao = {};
|
|
7670
7670
|
Object.defineProperty(Ao, "__esModule", { value: !0 });
|
|
7671
7671
|
Ao.KillCursorsOperation = void 0;
|
|
7672
7672
|
const td = De(), rd = Q, d1 = Me;
|
|
7673
|
-
class
|
|
7673
|
+
class b0 extends d1.AbstractOperation {
|
|
7674
7674
|
constructor(t, r, n, i) {
|
|
7675
7675
|
super(i), this.SERVER_COMMAND_RESPONSE_TYPE = td.MongoDBResponse, this.ns = r, this.cursorId = t, this.server = n;
|
|
7676
7676
|
}
|
|
@@ -7695,8 +7695,8 @@ class B0 extends d1.AbstractOperation {
|
|
|
7695
7695
|
handleError(t) {
|
|
7696
7696
|
}
|
|
7697
7697
|
}
|
|
7698
|
-
Ao.KillCursorsOperation =
|
|
7699
|
-
(0, d1.defineAspects)(
|
|
7698
|
+
Ao.KillCursorsOperation = b0;
|
|
7699
|
+
(0, d1.defineAspects)(b0, [d1.Aspect.MUST_SELECT_SAME_SERVER]);
|
|
7700
7700
|
var ut = {}, hi = {};
|
|
7701
7701
|
Object.defineProperty(hi, "__esModule", { value: !0 });
|
|
7702
7702
|
hi.ConnectionPoolMetrics = void 0;
|
|
@@ -7841,7 +7841,7 @@ ut.ServerSessionPool = ut.ServerSession = ut.ClientSession = void 0;
|
|
|
7841
7841
|
ut.maybeClearPinnedConnection = Gi;
|
|
7842
7842
|
ut.applySession = ud;
|
|
7843
7843
|
ut.updateSessionFromResponse = ad;
|
|
7844
|
-
const nd =
|
|
7844
|
+
const nd = Rc, Wi = pe, $i = hi, M0 = Ve, de = Q, id = Je, Ri = qe, vs = er, od = Pt, Ps = Ke, m1 = Ne, Ls = Te, be = z1, Ye = ne(), Qr = ct();
|
|
7845
7845
|
class V1 extends id.TypedEventEmitter {
|
|
7846
7846
|
/**
|
|
7847
7847
|
* Create a client session.
|
|
@@ -7855,7 +7855,7 @@ class V1 extends id.TypedEventEmitter {
|
|
|
7855
7855
|
var u;
|
|
7856
7856
|
if (super(), this.timeoutContext = null, this.on("error", Ye.noop), t == null)
|
|
7857
7857
|
throw new de.MongoRuntimeError("ClientSession requires a MongoClient");
|
|
7858
|
-
if (r == null || !(r instanceof
|
|
7858
|
+
if (r == null || !(r instanceof R0))
|
|
7859
7859
|
throw new de.MongoRuntimeError("ClientSession requires a ServerSessionPool");
|
|
7860
7860
|
if (n = n ?? {}, this.snapshotEnabled = n.snapshot === !0, n.causalConsistency === !0 && this.snapshotEnabled)
|
|
7861
7861
|
throw new de.MongoInvalidArgumentError('Properties "causalConsistency" and "snapshot" are mutually exclusive');
|
|
@@ -7890,7 +7890,7 @@ class V1 extends id.TypedEventEmitter {
|
|
|
7890
7890
|
pin(t) {
|
|
7891
7891
|
if (this.pinnedConnection)
|
|
7892
7892
|
throw TypeError("Cannot pin multiple connections to the same session");
|
|
7893
|
-
this.pinnedConnection = t, t.emit(
|
|
7893
|
+
this.pinnedConnection = t, t.emit(M0.PINNED, this.inTransaction() ? $i.ConnectionPoolMetrics.TXN : $i.ConnectionPoolMetrics.CURSOR);
|
|
7894
7894
|
}
|
|
7895
7895
|
/** @internal */
|
|
7896
7896
|
unpin(t) {
|
|
@@ -8051,10 +8051,10 @@ class V1 extends id.TypedEventEmitter {
|
|
|
8051
8051
|
}), u);
|
|
8052
8052
|
return;
|
|
8053
8053
|
} catch (a) {
|
|
8054
|
-
throw
|
|
8054
|
+
throw aa(a) && a.addErrorLabel(de.MongoErrorLabel.UnknownTransactionCommitResult), ua(a) && this.unpin({ error: a }), a;
|
|
8055
8055
|
}
|
|
8056
8056
|
}
|
|
8057
|
-
throw
|
|
8057
|
+
throw aa(s) && s.addErrorLabel(de.MongoErrorLabel.UnknownTransactionCommitResult), ua(s) && this.unpin({ error: s }), s;
|
|
8058
8058
|
} finally {
|
|
8059
8059
|
this.transaction.transition(be.TxnState.TRANSACTION_COMMITTED);
|
|
8060
8060
|
}
|
|
@@ -8202,21 +8202,21 @@ const sd = /* @__PURE__ */ new Set([
|
|
|
8202
8202
|
"UnknownReplWriteConcern",
|
|
8203
8203
|
"UnsatisfiableWriteConcern"
|
|
8204
8204
|
]);
|
|
8205
|
-
function
|
|
8205
|
+
function ua(e) {
|
|
8206
8206
|
if (e instanceof de.MongoError) {
|
|
8207
8207
|
if ((0, de.isRetryableWriteError)(e) || e instanceof de.MongoWriteConcernError || po(e)) {
|
|
8208
|
-
if (
|
|
8208
|
+
if (F0(e))
|
|
8209
8209
|
return !0;
|
|
8210
8210
|
} else if (e.hasErrorLabel(de.MongoErrorLabel.TransientTransactionError))
|
|
8211
8211
|
return !0;
|
|
8212
8212
|
}
|
|
8213
8213
|
return !1;
|
|
8214
8214
|
}
|
|
8215
|
-
function
|
|
8215
|
+
function aa(e) {
|
|
8216
8216
|
let t = (0, de.isRetryableWriteError)(e);
|
|
8217
|
-
return t || (t = e instanceof de.MongoWriteConcernError), t || (t = po(e)), t && (t =
|
|
8217
|
+
return t || (t = e instanceof de.MongoWriteConcernError), t || (t = po(e)), t && (t = F0(e)), t;
|
|
8218
8218
|
}
|
|
8219
|
-
function
|
|
8219
|
+
function F0(e) {
|
|
8220
8220
|
const t = e instanceof de.MongoServerError && e.codeName && sd.has(e.codeName);
|
|
8221
8221
|
return po(e) || !t && e.code !== de.MONGODB_ERROR_CODES.UnsatisfiableWriteConcern && e.code !== de.MONGODB_ERROR_CODES.UnknownReplWriteConcern;
|
|
8222
8222
|
}
|
|
@@ -8227,7 +8227,7 @@ function Gi(e, t) {
|
|
|
8227
8227
|
const i = e.client.topology;
|
|
8228
8228
|
if (r && i != null) {
|
|
8229
8229
|
const u = Array.from(i.s.servers.values())[0];
|
|
8230
|
-
((t == null ? void 0 : t.error) == null || t != null && t.force) && (u.pool.checkIn(r), e.pinnedConnection = void 0, r.emit(
|
|
8230
|
+
((t == null ? void 0 : t.error) == null || t != null && t.force) && (u.pool.checkIn(r), e.pinnedConnection = void 0, r.emit(M0.UNPINNED, e.transaction.state !== be.TxnState.NO_TRANSACTION ? $i.ConnectionPoolMetrics.TXN : $i.ConnectionPoolMetrics.CURSOR), t != null && t.forceClear && u.pool.clear({ serviceId: r.serviceId }));
|
|
8231
8231
|
}
|
|
8232
8232
|
}
|
|
8233
8233
|
function po(e) {
|
|
@@ -8254,7 +8254,7 @@ class W1 {
|
|
|
8254
8254
|
}
|
|
8255
8255
|
}
|
|
8256
8256
|
ut.ServerSession = W1;
|
|
8257
|
-
class
|
|
8257
|
+
class R0 {
|
|
8258
8258
|
constructor(t) {
|
|
8259
8259
|
if (t == null)
|
|
8260
8260
|
throw new de.MongoRuntimeError("ServerSessionPool requires a MongoClient");
|
|
@@ -8296,7 +8296,7 @@ class F0 {
|
|
|
8296
8296
|
}
|
|
8297
8297
|
}
|
|
8298
8298
|
}
|
|
8299
|
-
ut.ServerSessionPool =
|
|
8299
|
+
ut.ServerSessionPool = R0;
|
|
8300
8300
|
function ud(e, t, r) {
|
|
8301
8301
|
var u, c;
|
|
8302
8302
|
if (e.hasEnded)
|
|
@@ -8940,13 +8940,13 @@ class ld extends cd.AbstractCursor {
|
|
|
8940
8940
|
Sn.ExplainableCursor = ld;
|
|
8941
8941
|
Object.defineProperty(qr, "__esModule", { value: !0 });
|
|
8942
8942
|
qr.AggregationCursor = void 0;
|
|
8943
|
-
const ks = Q,
|
|
8943
|
+
const ks = Q, ca = oi, la = ii, ha = qe, hd = ne(), da = tt, dd = Sn;
|
|
8944
8944
|
class G1 extends dd.ExplainableCursor {
|
|
8945
8945
|
/** @internal */
|
|
8946
8946
|
constructor(t, r, n = [], i = {}) {
|
|
8947
8947
|
super(t, r, i), this.pipeline = n, this.aggregateOptions = i;
|
|
8948
8948
|
const o = this.pipeline[this.pipeline.length - 1];
|
|
8949
|
-
if (this.cursorOptions.timeoutMS != null && this.cursorOptions.timeoutMode ===
|
|
8949
|
+
if (this.cursorOptions.timeoutMS != null && this.cursorOptions.timeoutMode === da.CursorTimeoutMode.ITERATION && ((o == null ? void 0 : o.$merge) != null || (o == null ? void 0 : o.$out) != null))
|
|
8950
8950
|
throw new ks.MongoAPIError("Cannot use $out or $merge stage with ITERATION timeoutMode");
|
|
8951
8951
|
}
|
|
8952
8952
|
clone() {
|
|
@@ -8968,16 +8968,16 @@ class G1 extends dd.ExplainableCursor {
|
|
|
8968
8968
|
};
|
|
8969
8969
|
if (r.explain)
|
|
8970
8970
|
try {
|
|
8971
|
-
(0,
|
|
8971
|
+
(0, ca.validateExplainTimeoutOptions)(r, ca.Explain.fromOptions(r));
|
|
8972
8972
|
} catch {
|
|
8973
8973
|
throw new ks.MongoAPIError("timeoutMS cannot be used with explain when explain is specified in aggregateOptions");
|
|
8974
8974
|
}
|
|
8975
|
-
const n = new
|
|
8975
|
+
const n = new la.AggregateOperation(this.namespace, this.pipeline, r), i = await (0, ha.executeOperation)(this.client, n, this.timeoutContext);
|
|
8976
8976
|
return { server: n.server, session: t, response: i };
|
|
8977
8977
|
}
|
|
8978
8978
|
async explain(t, r) {
|
|
8979
8979
|
const { explain: n, timeout: i } = this.resolveExplainTimeoutOptions(t, r);
|
|
8980
|
-
return (await (0,
|
|
8980
|
+
return (await (0, ha.executeOperation)(this.client, new la.AggregateOperation(this.namespace, this.pipeline, {
|
|
8981
8981
|
...this.aggregateOptions,
|
|
8982
8982
|
// NOTE: order matters here, we may need to refine this
|
|
8983
8983
|
...this.cursorOptions,
|
|
@@ -8986,7 +8986,7 @@ class G1 extends dd.ExplainableCursor {
|
|
|
8986
8986
|
}))).shift(this.deserializationOptions);
|
|
8987
8987
|
}
|
|
8988
8988
|
addStage(t) {
|
|
8989
|
-
if (this.throwIfInitialized(), this.cursorOptions.timeoutMS != null && this.cursorOptions.timeoutMode ===
|
|
8989
|
+
if (this.throwIfInitialized(), this.cursorOptions.timeoutMS != null && this.cursorOptions.timeoutMode === da.CursorTimeoutMode.ITERATION && (t.$out != null || t.$merge != null))
|
|
8990
8990
|
throw new ks.MongoAPIError("Cannot use $out or $merge stage with ITERATION timeoutMode");
|
|
8991
8991
|
return this.pipeline.push(t), this;
|
|
8992
8992
|
}
|
|
@@ -9079,7 +9079,7 @@ var Lr = {}, di = {};
|
|
|
9079
9079
|
Object.defineProperty(di, "__esModule", { value: !0 });
|
|
9080
9080
|
di.CountOperation = void 0;
|
|
9081
9081
|
const fd = De(), md = Ie, Ni = Me;
|
|
9082
|
-
class
|
|
9082
|
+
class N0 extends md.CommandOperation {
|
|
9083
9083
|
constructor(t, r, n) {
|
|
9084
9084
|
super({ s: { namespace: t } }, n), this.SERVER_COMMAND_RESPONSE_TYPE = fd.MongoDBResponse, this.options = n, this.collectionName = t.collection, this.query = r;
|
|
9085
9085
|
}
|
|
@@ -9097,13 +9097,13 @@ class R0 extends md.CommandOperation {
|
|
|
9097
9097
|
return t.getNumber("n") ?? 0;
|
|
9098
9098
|
}
|
|
9099
9099
|
}
|
|
9100
|
-
di.CountOperation =
|
|
9101
|
-
(0, Ni.defineAspects)(
|
|
9100
|
+
di.CountOperation = N0;
|
|
9101
|
+
(0, Ni.defineAspects)(N0, [Ni.Aspect.READ_OPERATION, Ni.Aspect.RETRYABLE, Ni.Aspect.SUPPORTS_RAW_DATA]);
|
|
9102
9102
|
var Co = {};
|
|
9103
9103
|
Object.defineProperty(Co, "__esModule", { value: !0 });
|
|
9104
9104
|
Co.FindOperation = void 0;
|
|
9105
9105
|
const Us = De(), Ed = Q, gd = Gr, Ad = ne(), pd = Ie, Zr = Me;
|
|
9106
|
-
class
|
|
9106
|
+
class I0 extends pd.CommandOperation {
|
|
9107
9107
|
constructor(t, r = {}, n = {}) {
|
|
9108
9108
|
if (super(void 0, n), this.SERVER_COMMAND_RESPONSE_TYPE = Us.CursorResponse, this.options = { ...n }, delete this.options.writeConcern, this.ns = t, typeof r != "object" || Array.isArray(r))
|
|
9109
9109
|
throw new Ed.MongoInvalidArgumentError("Query filter must be a plain object or ObjectId");
|
|
@@ -9128,7 +9128,7 @@ class N0 extends pd.CommandOperation {
|
|
|
9128
9128
|
return Cd(this.ns, this.filter, this.options);
|
|
9129
9129
|
}
|
|
9130
9130
|
}
|
|
9131
|
-
Co.FindOperation =
|
|
9131
|
+
Co.FindOperation = I0;
|
|
9132
9132
|
function Cd(e, t, r) {
|
|
9133
9133
|
const n = {
|
|
9134
9134
|
find: e.collection,
|
|
@@ -9140,7 +9140,7 @@ function Cd(e, t, r) {
|
|
|
9140
9140
|
}
|
|
9141
9141
|
return r.hint && (n.hint = (0, Ad.normalizeHintField)(r.hint)), typeof r.skip == "number" && (n.skip = r.skip), typeof r.limit == "number" && (r.limit < 0 ? (n.limit = -r.limit, n.singleBatch = !0) : n.limit = r.limit), typeof r.batchSize == "number" && (r.batchSize < 0 ? n.limit = -r.batchSize : r.batchSize === r.limit ? n.batchSize = r.batchSize + 1 : n.batchSize = r.batchSize), typeof r.singleBatch == "boolean" && (n.singleBatch = r.singleBatch), r.comment !== void 0 && (n.comment = r.comment), r.max && (n.max = r.max), r.min && (n.min = r.min), typeof r.returnKey == "boolean" && (n.returnKey = r.returnKey), typeof r.showRecordId == "boolean" && (n.showRecordId = r.showRecordId), typeof r.tailable == "boolean" && (n.tailable = r.tailable), typeof r.oplogReplay == "boolean" && (n.oplogReplay = r.oplogReplay), typeof r.timeout == "boolean" ? n.noCursorTimeout = !r.timeout : typeof r.noCursorTimeout == "boolean" && (n.noCursorTimeout = r.noCursorTimeout), typeof r.awaitData == "boolean" && (n.awaitData = r.awaitData), typeof r.allowPartialResults == "boolean" && (n.allowPartialResults = r.allowPartialResults), typeof r.allowDiskUse == "boolean" && (n.allowDiskUse = r.allowDiskUse), r.let && (n.let = r.let), n;
|
|
9142
9142
|
}
|
|
9143
|
-
(0, Zr.defineAspects)(
|
|
9143
|
+
(0, Zr.defineAspects)(I0, [
|
|
9144
9144
|
Zr.Aspect.READ_OPERATION,
|
|
9145
9145
|
Zr.Aspect.RETRYABLE,
|
|
9146
9146
|
Zr.Aspect.EXPLAINABLE,
|
|
@@ -9149,7 +9149,7 @@ function Cd(e, t, r) {
|
|
|
9149
9149
|
]);
|
|
9150
9150
|
Object.defineProperty(Lr, "__esModule", { value: !0 });
|
|
9151
9151
|
Lr.FindCursor = Lr.FLAGS = void 0;
|
|
9152
|
-
const Sd = De(), pt = Q,
|
|
9152
|
+
const Sd = De(), pt = Q, fa = oi, yd = di, xs = qe, ma = Co, js = Gr, Ii = ne(), Od = Sn;
|
|
9153
9153
|
Lr.FLAGS = [
|
|
9154
9154
|
"tailable",
|
|
9155
9155
|
"oplogReplay",
|
|
@@ -9183,11 +9183,11 @@ class q1 extends Od.ExplainableCursor {
|
|
|
9183
9183
|
};
|
|
9184
9184
|
if (r.explain)
|
|
9185
9185
|
try {
|
|
9186
|
-
(0,
|
|
9186
|
+
(0, fa.validateExplainTimeoutOptions)(r, fa.Explain.fromOptions(r));
|
|
9187
9187
|
} catch {
|
|
9188
9188
|
throw new pt.MongoAPIError("timeoutMS cannot be used with explain when explain is specified in findOptions");
|
|
9189
9189
|
}
|
|
9190
|
-
const n = new
|
|
9190
|
+
const n = new ma.FindOperation(this.namespace, this.cursorFilter, r), i = await (0, xs.executeOperation)(this.client, n, this.timeoutContext);
|
|
9191
9191
|
return this.numReturned = i.batchSize, { server: n.server, session: t, response: i };
|
|
9192
9192
|
}
|
|
9193
9193
|
/** @internal */
|
|
@@ -9230,7 +9230,7 @@ class q1 extends Od.ExplainableCursor {
|
|
|
9230
9230
|
}
|
|
9231
9231
|
async explain(t, r) {
|
|
9232
9232
|
const { explain: n, timeout: i } = this.resolveExplainTimeoutOptions(t, r);
|
|
9233
|
-
return (await (0, xs.executeOperation)(this.client, new
|
|
9233
|
+
return (await (0, xs.executeOperation)(this.client, new ma.FindOperation(this.namespace, this.cursorFilter, {
|
|
9234
9234
|
...this.findOptions,
|
|
9235
9235
|
// NOTE: order matters here, we may need to refine this
|
|
9236
9236
|
...this.cursorOptions,
|
|
@@ -9549,7 +9549,7 @@ class Jn extends Y1.CommandOperation {
|
|
|
9549
9549
|
}
|
|
9550
9550
|
}
|
|
9551
9551
|
Nt.CreateIndexesOperation = Jn;
|
|
9552
|
-
class
|
|
9552
|
+
class v0 extends Y1.CommandOperation {
|
|
9553
9553
|
constructor(t, r, n) {
|
|
9554
9554
|
super(t, n), this.SERVER_COMMAND_RESPONSE_TYPE = H1.MongoDBResponse, this.options = n ?? {}, this.collection = t, this.indexName = r, this.ns = t.fullNamespace;
|
|
9555
9555
|
}
|
|
@@ -9560,8 +9560,8 @@ class I0 extends Y1.CommandOperation {
|
|
|
9560
9560
|
return { dropIndexes: this.collection.collectionName, index: this.indexName };
|
|
9561
9561
|
}
|
|
9562
9562
|
}
|
|
9563
|
-
Nt.DropIndexOperation =
|
|
9564
|
-
class
|
|
9563
|
+
Nt.DropIndexOperation = v0;
|
|
9564
|
+
class P0 extends Y1.CommandOperation {
|
|
9565
9565
|
constructor(t, r) {
|
|
9566
9566
|
super(t, r), this.SERVER_COMMAND_RESPONSE_TYPE = H1.CursorResponse, this.options = { ...r }, delete this.options.writeConcern, this.collectionNamespace = t.s.namespace;
|
|
9567
9567
|
}
|
|
@@ -9576,15 +9576,15 @@ class v0 extends Y1.CommandOperation {
|
|
|
9576
9576
|
return t;
|
|
9577
9577
|
}
|
|
9578
9578
|
}
|
|
9579
|
-
Nt.ListIndexesOperation =
|
|
9580
|
-
(0, bt.defineAspects)(
|
|
9579
|
+
Nt.ListIndexesOperation = P0;
|
|
9580
|
+
(0, bt.defineAspects)(P0, [
|
|
9581
9581
|
bt.Aspect.READ_OPERATION,
|
|
9582
9582
|
bt.Aspect.RETRYABLE,
|
|
9583
9583
|
bt.Aspect.CURSOR_CREATING,
|
|
9584
9584
|
bt.Aspect.SUPPORTS_RAW_DATA
|
|
9585
9585
|
]);
|
|
9586
9586
|
(0, bt.defineAspects)(Jn, [bt.Aspect.WRITE_OPERATION, bt.Aspect.SUPPORTS_RAW_DATA]);
|
|
9587
|
-
(0, bt.defineAspects)(
|
|
9587
|
+
(0, bt.defineAspects)(v0, [bt.Aspect.WRITE_OPERATION, bt.Aspect.SUPPORTS_RAW_DATA]);
|
|
9588
9588
|
Object.defineProperty(fi, "__esModule", { value: !0 });
|
|
9589
9589
|
fi.ListIndexesCursor = void 0;
|
|
9590
9590
|
const Md = qe, Fd = Nt, Rd = tt;
|
|
@@ -9625,7 +9625,7 @@ var yo = {};
|
|
|
9625
9625
|
Object.defineProperty(yo, "__esModule", { value: !0 });
|
|
9626
9626
|
yo.DistinctOperation = void 0;
|
|
9627
9627
|
const vd = De(), Pd = Ie, Tn = Me;
|
|
9628
|
-
class
|
|
9628
|
+
class L0 extends Pd.CommandOperation {
|
|
9629
9629
|
/**
|
|
9630
9630
|
* Construct a Distinct operation.
|
|
9631
9631
|
*
|
|
@@ -9652,8 +9652,8 @@ class P0 extends Pd.CommandOperation {
|
|
|
9652
9652
|
return this.explain ? t.toObject(this.bsonOptions) : t.toObject(this.bsonOptions).values;
|
|
9653
9653
|
}
|
|
9654
9654
|
}
|
|
9655
|
-
yo.DistinctOperation =
|
|
9656
|
-
(0, Tn.defineAspects)(
|
|
9655
|
+
yo.DistinctOperation = L0;
|
|
9656
|
+
(0, Tn.defineAspects)(L0, [
|
|
9657
9657
|
Tn.Aspect.READ_OPERATION,
|
|
9658
9658
|
Tn.Aspect.RETRYABLE,
|
|
9659
9659
|
Tn.Aspect.EXPLAINABLE,
|
|
@@ -9663,7 +9663,7 @@ var Oo = {};
|
|
|
9663
9663
|
Object.defineProperty(Oo, "__esModule", { value: !0 });
|
|
9664
9664
|
Oo.EstimatedDocumentCountOperation = void 0;
|
|
9665
9665
|
const Ld = De(), kd = Ie, Bn = Me;
|
|
9666
|
-
class
|
|
9666
|
+
class k0 extends kd.CommandOperation {
|
|
9667
9667
|
constructor(t, r = {}) {
|
|
9668
9668
|
super(t, r), this.SERVER_COMMAND_RESPONSE_TYPE = Ld.MongoDBResponse, this.options = r, this.collectionName = t.collectionName;
|
|
9669
9669
|
}
|
|
@@ -9678,8 +9678,8 @@ class L0 extends kd.CommandOperation {
|
|
|
9678
9678
|
return t.getNumber("n") ?? 0;
|
|
9679
9679
|
}
|
|
9680
9680
|
}
|
|
9681
|
-
Oo.EstimatedDocumentCountOperation =
|
|
9682
|
-
(0, Bn.defineAspects)(
|
|
9681
|
+
Oo.EstimatedDocumentCountOperation = k0;
|
|
9682
|
+
(0, Bn.defineAspects)(k0, [
|
|
9683
9683
|
Bn.Aspect.READ_OPERATION,
|
|
9684
9684
|
Bn.Aspect.RETRYABLE,
|
|
9685
9685
|
Bn.Aspect.CURSOR_CREATING,
|
|
@@ -9777,10 +9777,10 @@ var J1 = {};
|
|
|
9777
9777
|
c.Aspect.SUPPORTS_RAW_DATA
|
|
9778
9778
|
]);
|
|
9779
9779
|
})(J1);
|
|
9780
|
-
var bn = {},
|
|
9781
|
-
function
|
|
9782
|
-
if (
|
|
9783
|
-
|
|
9780
|
+
var bn = {}, Ea;
|
|
9781
|
+
function U0() {
|
|
9782
|
+
if (Ea) return bn;
|
|
9783
|
+
Ea = 1, Object.defineProperty(bn, "__esModule", { value: !0 }), bn.RenameOperation = void 0;
|
|
9784
9784
|
const e = De(), t = mi(), r = ne(), n = Ie, i = Me;
|
|
9785
9785
|
class o extends n.CommandOperation {
|
|
9786
9786
|
constructor(c, s, a) {
|
|
@@ -9831,7 +9831,7 @@ wo.CreateSearchIndexesOperation = jd;
|
|
|
9831
9831
|
var _o = {};
|
|
9832
9832
|
Object.defineProperty(_o, "__esModule", { value: !0 });
|
|
9833
9833
|
_o.DropSearchIndexOperation = void 0;
|
|
9834
|
-
const zd = De(),
|
|
9834
|
+
const zd = De(), ga = Q, Vd = Me;
|
|
9835
9835
|
class Wd extends Vd.AbstractOperation {
|
|
9836
9836
|
constructor(t, r) {
|
|
9837
9837
|
super(), this.SERVER_COMMAND_RESPONSE_TYPE = zd.MongoDBResponse, this.collection = t, this.name = r, this.ns = t.fullNamespace;
|
|
@@ -9851,7 +9851,7 @@ class Wd extends Vd.AbstractOperation {
|
|
|
9851
9851
|
return { session: this.session, timeoutContext: t };
|
|
9852
9852
|
}
|
|
9853
9853
|
handleError(t) {
|
|
9854
|
-
if (!(t instanceof
|
|
9854
|
+
if (!(t instanceof ga.MongoServerError && t.code === ga.MONGODB_ERROR_CODES.NamespaceNotFound))
|
|
9855
9855
|
throw t;
|
|
9856
9856
|
}
|
|
9857
9857
|
}
|
|
@@ -9881,11 +9881,11 @@ class Hd extends qd.AbstractOperation {
|
|
|
9881
9881
|
}
|
|
9882
9882
|
}
|
|
9883
9883
|
Do.UpdateSearchIndexOperation = Hd;
|
|
9884
|
-
var
|
|
9884
|
+
var Aa;
|
|
9885
9885
|
function mi() {
|
|
9886
|
-
if (
|
|
9887
|
-
|
|
9888
|
-
const e = pe, t = ui, r = ci, n = wi(), i = qr, o = Lr, u = fi, c = So, s = Q, a = di, E = Wt, h = yo, g = Oo, m = qe, C = J1, S = Nt, D = Pr, O =
|
|
9886
|
+
if (Aa) return Dn;
|
|
9887
|
+
Aa = 1, Object.defineProperty(Dn, "__esModule", { value: !0 }), Dn.Collection = void 0;
|
|
9888
|
+
const e = pe, t = ui, r = ci, n = wi(), i = qr, o = Lr, u = fi, c = So, s = Q, a = di, E = Wt, h = yo, g = Oo, m = qe, C = J1, S = Nt, D = Pr, O = U0(), M = wo, p = _o, B = Do, d = _t, b = Pt, f = Ke, l = ne(), w = ct();
|
|
9889
9889
|
class T {
|
|
9890
9890
|
/**
|
|
9891
9891
|
* Create a new Collection instance
|
|
@@ -10513,10 +10513,10 @@ function mi() {
|
|
|
10513
10513
|
}
|
|
10514
10514
|
return Dn.Collection = T, Dn;
|
|
10515
10515
|
}
|
|
10516
|
-
var Mn = {},
|
|
10517
|
-
function
|
|
10518
|
-
if (
|
|
10519
|
-
|
|
10516
|
+
var Mn = {}, pa;
|
|
10517
|
+
function x0() {
|
|
10518
|
+
if (pa) return Mn;
|
|
10519
|
+
pa = 1, Object.defineProperty(Mn, "__esModule", { value: !0 }), Mn.ChangeStreamCursor = void 0;
|
|
10520
10520
|
const e = wi(), t = Ve, r = ii, n = qe, i = ne(), o = tt;
|
|
10521
10521
|
class u extends o.AbstractCursor {
|
|
10522
10522
|
constructor(s, a, E = [], h = {}) {
|
|
@@ -10567,7 +10567,7 @@ var Fn = {}, Ei = {}, To = {};
|
|
|
10567
10567
|
Object.defineProperty(To, "__esModule", { value: !0 });
|
|
10568
10568
|
To.ListCollectionsOperation = void 0;
|
|
10569
10569
|
const zs = De(), Kd = ne(), Yd = Ie, Rn = Me;
|
|
10570
|
-
class
|
|
10570
|
+
class j0 extends Yd.CommandOperation {
|
|
10571
10571
|
constructor(t, r, n) {
|
|
10572
10572
|
super(t, n), this.SERVER_COMMAND_RESPONSE_TYPE = zs.CursorResponse, this.options = { ...n }, delete this.options.writeConcern, this.db = t, this.filter = r, this.nameOnly = !!this.options.nameOnly, this.authorizedCollections = !!this.options.authorizedCollections, typeof this.options.batchSize == "number" && (this.batchSize = this.options.batchSize), this.SERVER_COMMAND_RESPONSE_TYPE = this.explain ? zs.ExplainedCursorResponse : zs.CursorResponse;
|
|
10573
10573
|
}
|
|
@@ -10588,8 +10588,8 @@ class x0 extends Yd.CommandOperation {
|
|
|
10588
10588
|
return t;
|
|
10589
10589
|
}
|
|
10590
10590
|
}
|
|
10591
|
-
To.ListCollectionsOperation =
|
|
10592
|
-
(0, Rn.defineAspects)(
|
|
10591
|
+
To.ListCollectionsOperation = j0;
|
|
10592
|
+
(0, Rn.defineAspects)(j0, [
|
|
10593
10593
|
Rn.Aspect.READ_OPERATION,
|
|
10594
10594
|
Rn.Aspect.RETRYABLE,
|
|
10595
10595
|
Rn.Aspect.CURSOR_CREATING,
|
|
@@ -10623,7 +10623,7 @@ Ei.ListCollectionsCursor = Q1;
|
|
|
10623
10623
|
var Bo = {};
|
|
10624
10624
|
Object.defineProperty(Bo, "__esModule", { value: !0 });
|
|
10625
10625
|
Bo.RunCommandCursor = void 0;
|
|
10626
|
-
const $r = Q,
|
|
10626
|
+
const $r = Q, Ca = qe, Zd = li, $d = er, ef = ne(), tf = tt;
|
|
10627
10627
|
class rf extends tf.AbstractCursor {
|
|
10628
10628
|
/**
|
|
10629
10629
|
* Controls the `getMore.comment` field
|
|
@@ -10678,7 +10678,7 @@ class rf extends tf.AbstractCursor {
|
|
|
10678
10678
|
...this.cursorOptions,
|
|
10679
10679
|
session: t,
|
|
10680
10680
|
readPreference: this.cursorOptions.readPreference
|
|
10681
|
-
}), n = await (0,
|
|
10681
|
+
}), n = await (0, Ca.executeOperation)(this.client, r, this.timeoutContext);
|
|
10682
10682
|
return {
|
|
10683
10683
|
server: r.server,
|
|
10684
10684
|
session: t,
|
|
@@ -10694,14 +10694,14 @@ class rf extends tf.AbstractCursor {
|
|
|
10694
10694
|
session: this.session,
|
|
10695
10695
|
...this.getMoreOptions
|
|
10696
10696
|
});
|
|
10697
|
-
return await (0,
|
|
10697
|
+
return await (0, Ca.executeOperation)(this.client, t, this.timeoutContext);
|
|
10698
10698
|
}
|
|
10699
10699
|
}
|
|
10700
10700
|
Bo.RunCommandCursor = rf;
|
|
10701
|
-
var en = {},
|
|
10701
|
+
var en = {}, Sa;
|
|
10702
10702
|
function nf() {
|
|
10703
|
-
if (
|
|
10704
|
-
|
|
10703
|
+
if (Sa) return en;
|
|
10704
|
+
Sa = 1, Object.defineProperty(en, "__esModule", { value: !0 }), en.CreateCollectionOperation = void 0, en.createCollections = m;
|
|
10705
10705
|
const e = fe, t = De(), r = mi(), n = Q, i = Te, o = ne(), u = Ie, c = qe, s = Nt, a = Me, E = /* @__PURE__ */ new Set([
|
|
10706
10706
|
"w",
|
|
10707
10707
|
"wtimeout",
|
|
@@ -10782,10 +10782,10 @@ function nf() {
|
|
|
10782
10782
|
}
|
|
10783
10783
|
return (0, a.defineAspects)(g, [a.Aspect.WRITE_OPERATION]), en;
|
|
10784
10784
|
}
|
|
10785
|
-
var
|
|
10785
|
+
var sr = {}, ya;
|
|
10786
10786
|
function of() {
|
|
10787
|
-
if (
|
|
10788
|
-
|
|
10787
|
+
if (ya) return sr;
|
|
10788
|
+
ya = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.DropDatabaseOperation = sr.DropCollectionOperation = void 0, sr.dropCollections = a;
|
|
10789
10789
|
const e = ts(), t = De(), r = tt, n = Q, i = Te, o = Ie, u = qe, c = Me;
|
|
10790
10790
|
class s extends o.CommandOperation {
|
|
10791
10791
|
constructor(g, m, C = {}) {
|
|
@@ -10806,7 +10806,7 @@ function of() {
|
|
|
10806
10806
|
return !1;
|
|
10807
10807
|
}
|
|
10808
10808
|
}
|
|
10809
|
-
|
|
10809
|
+
sr.DropCollectionOperation = s;
|
|
10810
10810
|
async function a(h, g, m) {
|
|
10811
10811
|
var O, M, p;
|
|
10812
10812
|
const C = i.TimeoutContext.create({
|
|
@@ -10847,12 +10847,12 @@ function of() {
|
|
|
10847
10847
|
return !0;
|
|
10848
10848
|
}
|
|
10849
10849
|
}
|
|
10850
|
-
return
|
|
10850
|
+
return sr.DropDatabaseOperation = E, (0, c.defineAspects)(s, [c.Aspect.WRITE_OPERATION]), (0, c.defineAspects)(E, [c.Aspect.WRITE_OPERATION]), sr;
|
|
10851
10851
|
}
|
|
10852
10852
|
var bo = {};
|
|
10853
10853
|
Object.defineProperty(bo, "__esModule", { value: !0 });
|
|
10854
10854
|
bo.ProfilingLevelOperation = void 0;
|
|
10855
|
-
const sf = pe, uf = De(),
|
|
10855
|
+
const sf = pe, uf = De(), Oa = Q, af = Ie;
|
|
10856
10856
|
class cf extends uf.MongoDBResponse {
|
|
10857
10857
|
get was() {
|
|
10858
10858
|
return this.get("was", sf.BSONType.int, !0);
|
|
@@ -10877,9 +10877,9 @@ class lf extends af.CommandOperation {
|
|
|
10877
10877
|
return "slow_only";
|
|
10878
10878
|
if (r === 2)
|
|
10879
10879
|
return "all";
|
|
10880
|
-
throw new
|
|
10880
|
+
throw new Oa.MongoUnexpectedServerResponseError(`Illegal profiling level value ${r}`);
|
|
10881
10881
|
} else
|
|
10882
|
-
throw new
|
|
10882
|
+
throw new Oa.MongoUnexpectedServerResponseError("Error with profile command");
|
|
10883
10883
|
}
|
|
10884
10884
|
}
|
|
10885
10885
|
bo.ProfilingLevelOperation = lf;
|
|
@@ -10928,8 +10928,8 @@ var Z1 = {};
|
|
|
10928
10928
|
var Mo = {};
|
|
10929
10929
|
Object.defineProperty(Mo, "__esModule", { value: !0 });
|
|
10930
10930
|
Mo.DbStatsOperation = void 0;
|
|
10931
|
-
const hf = De(), df = Ie,
|
|
10932
|
-
class
|
|
10931
|
+
const hf = De(), df = Ie, wa = Me;
|
|
10932
|
+
class z0 extends df.CommandOperation {
|
|
10933
10933
|
constructor(t, r) {
|
|
10934
10934
|
super(t, r), this.SERVER_COMMAND_RESPONSE_TYPE = hf.MongoDBResponse, this.options = r;
|
|
10935
10935
|
}
|
|
@@ -10941,13 +10941,13 @@ class j0 extends df.CommandOperation {
|
|
|
10941
10941
|
return this.options.scale != null && (r.scale = this.options.scale), r;
|
|
10942
10942
|
}
|
|
10943
10943
|
}
|
|
10944
|
-
Mo.DbStatsOperation =
|
|
10945
|
-
(0,
|
|
10946
|
-
var
|
|
10944
|
+
Mo.DbStatsOperation = z0;
|
|
10945
|
+
(0, wa.defineAspects)(z0, [wa.Aspect.READ_OPERATION]);
|
|
10946
|
+
var _a;
|
|
10947
10947
|
function $1() {
|
|
10948
|
-
if (
|
|
10949
|
-
|
|
10950
|
-
const e = ei, t = pe, r = wi(), n = mi(), i = Ve, o = qr, u = Ei, c = Bo, s = Q, a = nf(), E = of(), h = qe, g = Nt, m = bo, C = si, S =
|
|
10948
|
+
if (_a) return Fn;
|
|
10949
|
+
_a = 1, Object.defineProperty(Fn, "__esModule", { value: !0 }), Fn.Db = void 0;
|
|
10950
|
+
const e = ei, t = pe, r = wi(), n = mi(), i = Ve, o = qr, u = Ei, c = Bo, s = Q, a = nf(), E = of(), h = qe, g = Nt, m = bo, C = si, S = U0(), D = er, O = Z1, M = Mo, p = Pt, B = Ke, d = ne(), b = ct(), f = [
|
|
10951
10951
|
"writeConcern",
|
|
10952
10952
|
"readPreference",
|
|
10953
10953
|
"readPreferenceTags",
|
|
@@ -11294,25 +11294,25 @@ var wr = {}, Fo = {}, Ro = {}, Qe = {};
|
|
|
11294
11294
|
const ff = {}, mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11295
11295
|
__proto__: null,
|
|
11296
11296
|
default: ff
|
|
11297
|
-
}, Symbol.toStringTag, { value: "Module" })), Ef = /* @__PURE__ */
|
|
11297
|
+
}, Symbol.toStringTag, { value: "Module" })), Ef = /* @__PURE__ */ pr(mf), gf = {}, Af = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11298
11298
|
__proto__: null,
|
|
11299
11299
|
default: gf
|
|
11300
|
-
}, Symbol.toStringTag, { value: "Module" })), pf = /* @__PURE__ */
|
|
11300
|
+
}, Symbol.toStringTag, { value: "Module" })), pf = /* @__PURE__ */ pr(Af), Cf = {}, Sf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11301
11301
|
__proto__: null,
|
|
11302
11302
|
default: Cf
|
|
11303
|
-
}, Symbol.toStringTag, { value: "Module" })), yf = /* @__PURE__ */
|
|
11303
|
+
}, Symbol.toStringTag, { value: "Module" })), yf = /* @__PURE__ */ pr(Sf), Of = {}, wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11304
11304
|
__proto__: null,
|
|
11305
11305
|
default: Of
|
|
11306
|
-
}, Symbol.toStringTag, { value: "Module" })), _f = /* @__PURE__ */
|
|
11306
|
+
}, Symbol.toStringTag, { value: "Module" })), _f = /* @__PURE__ */ pr(wf), Df = {}, Tf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11307
11307
|
__proto__: null,
|
|
11308
11308
|
default: Df
|
|
11309
|
-
}, Symbol.toStringTag, { value: "Module" })), Bf = /* @__PURE__ */
|
|
11309
|
+
}, Symbol.toStringTag, { value: "Module" })), Bf = /* @__PURE__ */ pr(Tf), bf = {}, Mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11310
11310
|
__proto__: null,
|
|
11311
11311
|
default: bf
|
|
11312
|
-
}, Symbol.toStringTag, { value: "Module" })), Ff = /* @__PURE__ */
|
|
11312
|
+
}, Symbol.toStringTag, { value: "Module" })), Ff = /* @__PURE__ */ pr(Mf), Rf = {}, Nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11313
11313
|
__proto__: null,
|
|
11314
11314
|
default: Rf
|
|
11315
|
-
}, Symbol.toStringTag, { value: "Module" })), If = /* @__PURE__ */
|
|
11315
|
+
}, Symbol.toStringTag, { value: "Module" })), If = /* @__PURE__ */ pr(Nf);
|
|
11316
11316
|
Object.defineProperty(Qe, "__esModule", { value: !0 });
|
|
11317
11317
|
Qe.getKerberos = vf;
|
|
11318
11318
|
Qe.getZstdLibrary = Pf;
|
|
@@ -11427,7 +11427,7 @@ class Wf {
|
|
|
11427
11427
|
Dt.AuthProvider = Wf;
|
|
11428
11428
|
(function(e) {
|
|
11429
11429
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.GSSAPI = e.GSSAPICanonicalizationValue = void 0, e.performGSSAPICanonicalizeHostName = S, e.resolveCname = D;
|
|
11430
|
-
const t = T1, r =
|
|
11430
|
+
const t = T1, r = Nc, n = Qe, i = Q, o = ne(), u = Dt;
|
|
11431
11431
|
e.GSSAPICanonicalizationValue = Object.freeze({
|
|
11432
11432
|
on: !0,
|
|
11433
11433
|
off: !1,
|
|
@@ -11637,16 +11637,16 @@ var qt = {};
|
|
|
11637
11637
|
}
|
|
11638
11638
|
e.MongoCredentials = s;
|
|
11639
11639
|
})(Fo);
|
|
11640
|
-
var
|
|
11640
|
+
var Sr = {};
|
|
11641
11641
|
const Gf = "7.1.0", qf = {
|
|
11642
11642
|
version: Gf
|
|
11643
11643
|
};
|
|
11644
|
-
Object.defineProperty(
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
const vi =
|
|
11644
|
+
Object.defineProperty(Sr, "__esModule", { value: !0 });
|
|
11645
|
+
Sr.LimitedSizeDocument = void 0;
|
|
11646
|
+
Sr.isDriverInfoEqual = Yf;
|
|
11647
|
+
Sr.makeClientMetadata = Xf;
|
|
11648
|
+
Sr.getFAASEnv = V0;
|
|
11649
|
+
const vi = Nc, eu = Ar, Ir = pe, Da = Q, Hf = ne(), Kf = qf.version;
|
|
11650
11650
|
function Yf(e, t) {
|
|
11651
11651
|
const r = (n, i) => (n || (n = void 0), i || (i = void 0), n === i);
|
|
11652
11652
|
return r(e.name, t.name) && r(e.platform, t.platform) && r(e.version, t.version);
|
|
@@ -11669,7 +11669,7 @@ class tu {
|
|
|
11669
11669
|
});
|
|
11670
11670
|
}
|
|
11671
11671
|
}
|
|
11672
|
-
|
|
11672
|
+
Sr.LimitedSizeDocument = tu;
|
|
11673
11673
|
async function Xf(e, { appName: t = "" }) {
|
|
11674
11674
|
const r = new tu(512);
|
|
11675
11675
|
if (t.length > 0) {
|
|
@@ -11683,19 +11683,19 @@ async function Xf(e, { appName: t = "" }) {
|
|
|
11683
11683
|
for (const { name: c = "", version: s = "" } of e)
|
|
11684
11684
|
c.length > 0 && (n.name = `${n.name}|${c}`), s.length > 0 && (n.version = `${n.version}|${s}`);
|
|
11685
11685
|
if (!r.ifItFitsItSits("driver", n))
|
|
11686
|
-
throw new
|
|
11686
|
+
throw new Da.MongoInvalidArgumentError("Unable to include driverInfo name and version, metadata cannot exceed 512 bytes");
|
|
11687
11687
|
let i = Zf();
|
|
11688
11688
|
for (const { platform: c = "" } of e)
|
|
11689
11689
|
c.length > 0 && (i = `${i}|${c}`);
|
|
11690
11690
|
if (!r.ifItFitsItSits("platform", i))
|
|
11691
|
-
throw new
|
|
11691
|
+
throw new Da.MongoInvalidArgumentError("Unable to include driverInfo platform, metadata cannot exceed 512 bytes");
|
|
11692
11692
|
const o = (/* @__PURE__ */ new Map()).set("name", vi.platform()).set("architecture", vi.arch()).set("version", vi.release()).set("type", vi.type());
|
|
11693
11693
|
if (!r.ifItFitsItSits("os", o)) {
|
|
11694
11694
|
for (const c of o.keys())
|
|
11695
11695
|
if (o.delete(c), o.size === 0 || r.ifItFitsItSits("os", o))
|
|
11696
11696
|
break;
|
|
11697
11697
|
}
|
|
11698
|
-
const u =
|
|
11698
|
+
const u = V0();
|
|
11699
11699
|
if (u != null && !r.ifItFitsItSits("env", u)) {
|
|
11700
11700
|
for (const c of u.keys())
|
|
11701
11701
|
if (u.delete(c), u.size === 0 || r.ifItFitsItSits("env", u))
|
|
@@ -11703,10 +11703,10 @@ async function Xf(e, { appName: t = "" }) {
|
|
|
11703
11703
|
}
|
|
11704
11704
|
return await Qf(r.toObject());
|
|
11705
11705
|
}
|
|
11706
|
-
let
|
|
11706
|
+
let Ta;
|
|
11707
11707
|
async function Jf() {
|
|
11708
|
-
|
|
11709
|
-
const e = await
|
|
11708
|
+
Ta ?? (Ta = (0, Hf.fileIsAccessible)("/.dockerenv"));
|
|
11709
|
+
const e = await Ta, { KUBERNETES_SERVICE_HOST: t = "" } = eu.env, r = t.length > 0, n = {};
|
|
11710
11710
|
return e && (n.runtime = "docker"), r && (n.orchestrator = "kubernetes"), n;
|
|
11711
11711
|
}
|
|
11712
11712
|
async function Qf(e) {
|
|
@@ -11721,7 +11721,7 @@ async function Qf(e) {
|
|
|
11721
11721
|
i !== "env" ? r.ifItFitsItSits(i, o) : r.ifItFitsItSits("env", n) || r.ifItFitsItSits("env", o);
|
|
11722
11722
|
return "env" in e || r.ifItFitsItSits("env", n), r.toObject();
|
|
11723
11723
|
}
|
|
11724
|
-
function
|
|
11724
|
+
function V0() {
|
|
11725
11725
|
const { AWS_EXECUTION_ENV: e = "", AWS_LAMBDA_RUNTIME_API: t = "", FUNCTIONS_WORKER_RUNTIME: r = "", K_SERVICE: n = "", FUNCTION_NAME: i = "", VERCEL: o = "", AWS_LAMBDA_FUNCTION_MEMORY_SIZE: u = "", AWS_REGION: c = "", FUNCTION_MEMORY_MB: s = "", FUNCTION_REGION: a = "", FUNCTION_TIMEOUT_SEC: E = "", VERCEL_REGION: h = "" } = eu.env, g = e.startsWith("AWS_Lambda_") || t.length > 0, m = r.length > 0, C = n.length > 0 || i.length > 0, S = o.length > 0, D = /* @__PURE__ */ new Map();
|
|
11726
11726
|
return S && !(m || C) ? (h.length > 0 && D.set("region", h), D.set("name", "vercel"), D) : g && !(m || C || S) ? (c.length > 0 && D.set("region", c), u.length > 0 && Number.isInteger(+u) && D.set("memory_mb", new Ir.Int32(u)), D.set("name", "aws.lambda"), D) : m && !(C || g || S) ? (D.set("name", "azure.func"), D) : C && !(m || g || S) ? (a.length > 0 && D.set("region", a), s.length > 0 && Number.isInteger(+s) && D.set("memory_mb", new Ir.Int32(s)), E.length > 0 && Number.isInteger(+E) && D.set("timeout_sec", new Ir.Int32(E)), D.set("name", "gcp.func"), D) : null;
|
|
11727
11727
|
}
|
|
@@ -11730,7 +11730,7 @@ function Zf() {
|
|
|
11730
11730
|
const e = Ir.NumberUtils.isBigEndian ? "BE" : "LE";
|
|
11731
11731
|
return "Deno" in globalThis ? `Deno v${typeof ((t = Deno == null ? void 0 : Deno.version) == null ? void 0 : t.deno) == "string" ? (r = Deno == null ? void 0 : Deno.version) == null ? void 0 : r.deno : "0.0.0-unknown"}, ${e}` : "Bun" in globalThis ? `Bun v${typeof (Bun == null ? void 0 : Bun.version) == "string" ? Bun == null ? void 0 : Bun.version : "0.0.0-unknown"}, ${e}` : `Node.js ${eu.version}, ${e}`;
|
|
11732
11732
|
}
|
|
11733
|
-
var Vs = {}, Ws = {}, rt = {}, ru = {},
|
|
11733
|
+
var Vs = {}, Ws = {}, rt = {}, ru = {}, W0 = {}, Io = {};
|
|
11734
11734
|
(function(e) {
|
|
11735
11735
|
function t(O, M, p) {
|
|
11736
11736
|
return p.globals && (O = p.globals[O.name]), new O(`${p.context ? p.context : "Value"} ${M}.`);
|
|
@@ -11948,7 +11948,7 @@ var Vs = {}, Ws = {}, rt = {}, ru = {}, V0 = {}, Io = {};
|
|
|
11948
11948
|
return O;
|
|
11949
11949
|
}, e.DOMTimeStamp = e["unsigned long long"];
|
|
11950
11950
|
})(Io);
|
|
11951
|
-
var
|
|
11951
|
+
var G0 = { exports: {} };
|
|
11952
11952
|
(function(e, t) {
|
|
11953
11953
|
function r(j) {
|
|
11954
11954
|
return typeof j == "object" && j !== null || typeof j == "function";
|
|
@@ -12073,14 +12073,14 @@ var W0 = { exports: {} };
|
|
|
12073
12073
|
asyncIteratorEOI: x,
|
|
12074
12074
|
iteratorResult: d
|
|
12075
12075
|
};
|
|
12076
|
-
})(
|
|
12077
|
-
var nu =
|
|
12078
|
-
const fn = 2147483647, zt = 36, iu = 1, Qn = 26, $f = 38, e3 = 700,
|
|
12076
|
+
})(G0);
|
|
12077
|
+
var nu = G0.exports, Gs = {}, q0 = { exports: {} };
|
|
12078
|
+
const fn = 2147483647, zt = 36, iu = 1, Qn = 26, $f = 38, e3 = 700, H0 = 72, K0 = 128, Y0 = "-", t3 = /^xn--/, r3 = /[^\0-\x7F]/, n3 = /[\x2E\u3002\uFF0E\uFF61]/g, i3 = {
|
|
12079
12079
|
overflow: "Overflow: input needs wider integers to process",
|
|
12080
12080
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
12081
12081
|
"invalid-input": "Invalid input"
|
|
12082
12082
|
}, qs = zt - iu, Vt = Math.floor, Hs = String.fromCharCode;
|
|
12083
|
-
function
|
|
12083
|
+
function ar(e) {
|
|
12084
12084
|
throw new RangeError(i3[e]);
|
|
12085
12085
|
}
|
|
12086
12086
|
function o3(e, t) {
|
|
@@ -12090,7 +12090,7 @@ function o3(e, t) {
|
|
|
12090
12090
|
r[n] = t(e[n]);
|
|
12091
12091
|
return r;
|
|
12092
12092
|
}
|
|
12093
|
-
function
|
|
12093
|
+
function X0(e, t) {
|
|
12094
12094
|
const r = e.split("@");
|
|
12095
12095
|
let n = "";
|
|
12096
12096
|
r.length > 1 && (n = r[0] + "@", e = r[1]), e = e.replace(n3, ".");
|
|
@@ -12111,54 +12111,54 @@ function ou(e) {
|
|
|
12111
12111
|
}
|
|
12112
12112
|
return t;
|
|
12113
12113
|
}
|
|
12114
|
-
const
|
|
12114
|
+
const J0 = (e) => String.fromCodePoint(...e), s3 = function(e) {
|
|
12115
12115
|
return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : zt;
|
|
12116
|
-
},
|
|
12116
|
+
}, Ba = function(e, t) {
|
|
12117
12117
|
return e + 22 + 75 * (e < 26) - ((t != 0) << 5);
|
|
12118
|
-
},
|
|
12118
|
+
}, Q0 = function(e, t, r) {
|
|
12119
12119
|
let n = 0;
|
|
12120
12120
|
for (e = r ? Vt(e / e3) : e >> 1, e += Vt(e / t); e > qs * Qn >> 1; n += zt)
|
|
12121
12121
|
e = Vt(e / qs);
|
|
12122
12122
|
return Vt(n + (qs + 1) * e / (e + $f));
|
|
12123
12123
|
}, su = function(e) {
|
|
12124
12124
|
const t = [], r = e.length;
|
|
12125
|
-
let n = 0, i =
|
|
12125
|
+
let n = 0, i = K0, o = H0, u = e.lastIndexOf(Y0);
|
|
12126
12126
|
u < 0 && (u = 0);
|
|
12127
12127
|
for (let c = 0; c < u; ++c)
|
|
12128
|
-
e.charCodeAt(c) >= 128 &&
|
|
12128
|
+
e.charCodeAt(c) >= 128 && ar("not-basic"), t.push(e.charCodeAt(c));
|
|
12129
12129
|
for (let c = u > 0 ? u + 1 : 0; c < r; ) {
|
|
12130
12130
|
const s = n;
|
|
12131
12131
|
for (let E = 1, h = zt; ; h += zt) {
|
|
12132
|
-
c >= r &&
|
|
12132
|
+
c >= r && ar("invalid-input");
|
|
12133
12133
|
const g = s3(e.charCodeAt(c++));
|
|
12134
|
-
g >= zt &&
|
|
12134
|
+
g >= zt && ar("invalid-input"), g > Vt((fn - n) / E) && ar("overflow"), n += g * E;
|
|
12135
12135
|
const m = h <= o ? iu : h >= o + Qn ? Qn : h - o;
|
|
12136
12136
|
if (g < m)
|
|
12137
12137
|
break;
|
|
12138
12138
|
const C = zt - m;
|
|
12139
|
-
E > Vt(fn / C) &&
|
|
12139
|
+
E > Vt(fn / C) && ar("overflow"), E *= C;
|
|
12140
12140
|
}
|
|
12141
12141
|
const a = t.length + 1;
|
|
12142
|
-
o =
|
|
12142
|
+
o = Q0(n - s, a, s == 0), Vt(n / a) > fn - i && ar("overflow"), i += Vt(n / a), n %= a, t.splice(n++, 0, i);
|
|
12143
12143
|
}
|
|
12144
12144
|
return String.fromCodePoint(...t);
|
|
12145
12145
|
}, uu = function(e) {
|
|
12146
12146
|
const t = [];
|
|
12147
12147
|
e = ou(e);
|
|
12148
12148
|
const r = e.length;
|
|
12149
|
-
let n =
|
|
12149
|
+
let n = K0, i = 0, o = H0;
|
|
12150
12150
|
for (const s of e)
|
|
12151
12151
|
s < 128 && t.push(Hs(s));
|
|
12152
12152
|
const u = t.length;
|
|
12153
12153
|
let c = u;
|
|
12154
|
-
for (u && t.push(
|
|
12154
|
+
for (u && t.push(Y0); c < r; ) {
|
|
12155
12155
|
let s = fn;
|
|
12156
12156
|
for (const E of e)
|
|
12157
12157
|
E >= n && E < s && (s = E);
|
|
12158
12158
|
const a = c + 1;
|
|
12159
|
-
s - n > Vt((fn - i) / a) &&
|
|
12159
|
+
s - n > Vt((fn - i) / a) && ar("overflow"), i += (s - n) * a, n = s;
|
|
12160
12160
|
for (const E of e)
|
|
12161
|
-
if (E < n && ++i > fn &&
|
|
12161
|
+
if (E < n && ++i > fn && ar("overflow"), E === n) {
|
|
12162
12162
|
let h = i;
|
|
12163
12163
|
for (let g = zt; ; g += zt) {
|
|
12164
12164
|
const m = g <= o ? iu : g >= o + Qn ? Qn : g - o;
|
|
@@ -12166,20 +12166,20 @@ const X0 = (e) => String.fromCodePoint(...e), s3 = function(e) {
|
|
|
12166
12166
|
break;
|
|
12167
12167
|
const C = h - m, S = zt - m;
|
|
12168
12168
|
t.push(
|
|
12169
|
-
Hs(
|
|
12169
|
+
Hs(Ba(m + C % S, 0))
|
|
12170
12170
|
), h = Vt(C / S);
|
|
12171
12171
|
}
|
|
12172
|
-
t.push(Hs(
|
|
12172
|
+
t.push(Hs(Ba(h, 0))), o = Q0(i, a, c === u), i = 0, ++c;
|
|
12173
12173
|
}
|
|
12174
12174
|
++i, ++n;
|
|
12175
12175
|
}
|
|
12176
12176
|
return t.join("");
|
|
12177
|
-
},
|
|
12178
|
-
return
|
|
12177
|
+
}, Z0 = function(e) {
|
|
12178
|
+
return X0(e, function(t) {
|
|
12179
12179
|
return t3.test(t) ? su(t.slice(4).toLowerCase()) : t;
|
|
12180
12180
|
});
|
|
12181
|
-
},
|
|
12182
|
-
return
|
|
12181
|
+
}, $0 = function(e) {
|
|
12182
|
+
return X0(e, function(t) {
|
|
12183
12183
|
return r3.test(t) ? "xn--" + uu(t) : t;
|
|
12184
12184
|
});
|
|
12185
12185
|
}, u3 = {
|
|
@@ -12198,22 +12198,22 @@ const X0 = (e) => String.fromCodePoint(...e), s3 = function(e) {
|
|
|
12198
12198
|
*/
|
|
12199
12199
|
ucs2: {
|
|
12200
12200
|
decode: ou,
|
|
12201
|
-
encode:
|
|
12201
|
+
encode: J0
|
|
12202
12202
|
},
|
|
12203
12203
|
decode: su,
|
|
12204
12204
|
encode: uu,
|
|
12205
|
-
toASCII:
|
|
12206
|
-
toUnicode:
|
|
12205
|
+
toASCII: $0,
|
|
12206
|
+
toUnicode: Z0
|
|
12207
12207
|
}, a3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12208
12208
|
__proto__: null,
|
|
12209
12209
|
decode: su,
|
|
12210
12210
|
default: u3,
|
|
12211
12211
|
encode: uu,
|
|
12212
|
-
toASCII:
|
|
12213
|
-
toUnicode:
|
|
12212
|
+
toASCII: $0,
|
|
12213
|
+
toUnicode: Z0,
|
|
12214
12214
|
ucs2decode: ou,
|
|
12215
|
-
ucs2encode:
|
|
12216
|
-
}, Symbol.toStringTag, { value: "Module" })), c3 = /* @__PURE__ */ Ar(a3), l3 = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{11002}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11082}\u{110B0}-\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{11134}\u{11145}\u{11146}\u{11173}\u{11180}-\u{11182}\u{111B3}-\u{111C0}\u{111C9}-\u{111CC}\u{111CE}\u{111CF}\u{1122C}-\u{11237}\u{1123E}\u{11241}\u{112DF}-\u{112EA}\u{11300}-\u{11303}\u{1133B}\u{1133C}\u{1133E}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11357}\u{11362}\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113B8}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11435}-\u{11446}\u{1145E}\u{114B0}-\u{114C3}\u{115AF}-\u{115B5}\u{115B8}-\u{115C0}\u{115DC}\u{115DD}\u{11630}-\u{11640}\u{116AB}-\u{116B7}\u{1171D}-\u{1172B}\u{1182C}-\u{1183A}\u{11930}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{1193E}\u{11940}\u{11942}\u{11943}\u{119D1}-\u{119D7}\u{119DA}-\u{119E0}\u{119E4}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A39}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A5B}\u{11A8A}-\u{11A99}\u{11C2F}-\u{11C36}\u{11C38}-\u{11C3F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D8A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D97}\u{11EF3}-\u{11EF6}\u{11F00}\u{11F01}\u{11F03}\u{11F34}-\u{11F3A}\u{11F3E}-\u{11F42}\u{11F5A}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F51}-\u{16F87}\u{16F8F}-\u{16F92}\u{16FE4}\u{16FF0}\u{16FF1}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]/u, h3 = /[\u094D\u09CD\u0A4D\u0ACD\u0B4D\u0BCD\u0C4D\u0CCD\u0D3B\u0D3C\u0D4D\u0DCA\u0E3A\u0EBA\u0F84\u1039\u103A\u1714\u1715\u1734\u17D2\u1A60\u1B44\u1BAA\u1BAB\u1BF2\u1BF3\u2D7F\uA806\uA82C\uA8C4\uA953\uA9C0\uAAF6\uABED\u{10A3F}\u{11046}\u{11070}\u{1107F}\u{110B9}\u{11133}\u{11134}\u{111C0}\u{11235}\u{112EA}\u{1134D}\u{113CE}-\u{113D0}\u{11442}\u{114C2}\u{115BF}\u{1163F}\u{116B6}\u{1172B}\u{11839}\u{1193D}\u{1193E}\u{119E0}\u{11A34}\u{11A47}\u{11A99}\u{11C3F}\u{11D44}\u{11D45}\u{11D97}\u{11F41}\u{11F42}\u{1612F}]/u, d3 = /[\u0620\u0626\u0628\u062A-\u062E\u0633-\u063F\u0641-\u0647\u0649\u064A\u066E\u066F\u0678-\u0687\u069A-\u06BF\u06C1\u06C2\u06CC\u06CE\u06D0\u06D1\u06FA-\u06FC\u06FF\u0712-\u0714\u071A-\u071D\u071F-\u0727\u0729\u072B\u072D\u072E\u074E-\u0758\u075C-\u076A\u076D-\u0770\u0772\u0775-\u0777\u077A-\u077F\u07CA-\u07EA\u0841-\u0845\u0848\u084A-\u0853\u0855\u0860\u0862-\u0865\u0868\u0886\u0889-\u088D\u08A0-\u08A9\u08AF\u08B0\u08B3-\u08B8\u08BA-\u08C8\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA872\u{10AC0}-\u{10AC4}\u{10ACD}\u{10AD3}-\u{10ADC}\u{10ADE}-\u{10AE0}\u{10AEB}-\u{10AEE}\u{10B80}\u{10B82}\u{10B86}-\u{10B88}\u{10B8A}\u{10B8B}\u{10B8D}\u{10B90}\u{10BAD}\u{10BAE}\u{10D00}-\u{10D21}\u{10D23}\u{10EC3}\u{10EC4}\u{10F30}-\u{10F32}\u{10F34}-\u{10F44}\u{10F51}-\u{10F53}\u{10F70}-\u{10F73}\u{10F76}-\u{10F81}\u{10FB0}\u{10FB2}\u{10FB3}\u{10FB8}\u{10FBB}\u{10FBC}\u{10FBE}\u{10FBF}\u{10FC1}\u{10FC4}\u{10FCA}\u{10FCB}\u{1E900}-\u{1E943}][\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13430}-\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*\u200C[\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13430}-\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*[\u0620\u0622-\u063F\u0641-\u064A\u066E\u066F\u0671-\u0673\u0675-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u077F\u07CA-\u07EA\u0840-\u0858\u0860\u0862-\u0865\u0867-\u086A\u0870-\u0882\u0886\u0889-\u088E\u08A0-\u08AC\u08AE-\u08C8\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA871\u{10AC0}-\u{10AC5}\u{10AC7}\u{10AC9}\u{10ACA}\u{10ACE}-\u{10AD6}\u{10AD8}-\u{10AE1}\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B80}-\u{10B91}\u{10BA9}-\u{10BAE}\u{10D01}-\u{10D23}\u{10EC2}-\u{10EC4}\u{10F30}-\u{10F44}\u{10F51}-\u{10F54}\u{10F70}-\u{10F81}\u{10FB0}\u{10FB2}-\u{10FB6}\u{10FB8}-\u{10FBF}\u{10FC1}-\u{10FC4}\u{10FC9}\u{10FCA}\u{1E900}-\u{1E943}]/u, f3 = /[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D6F}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u, m3 = /[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B4E-\u1B6A\u1B74-\u1B7F\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113BA}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}\u{113CD}\u{113CF}\u{113D1}\u{113D3}-\u{113D5}\u{113D7}\u{113D8}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171E}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11BC0}-\u{11BE1}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11F02}-\u{11F10}\u{11F12}-\u{11F35}\u{11F3E}\u{11F3F}\u{11F41}\u{11F43}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1343F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{1612A}-\u{1612C}\u{16130}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D79}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CCD6}-\u{1CCEF}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D800}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E5D0}-\u{1E5ED}\u{1E5F0}-\u{1E5FA}\u{1E5FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u, E3 = /[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D4A}-\u{10D65}\u{10D6F}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u, g3 = /^[\0-\x08\x0E-\x1B!-@\[-`\{-\x84\x86-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02B9\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u036F\u0374\u0375\u037E\u0384\u0385\u0387\u03F6\u0483-\u0489\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\u0600-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u07FD-\u082D\u0830-\u083E\u0840-\u085B\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u0897-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09F2\u09F3\u09FB\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AF1\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0BF3-\u0BFA\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C78-\u0C7E\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E3F\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39-\u0F3D\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1390-\u1399\u1400\u169B\u169C\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DB\u17DD\u17F0-\u17F9\u1800-\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1940\u1944\u1945\u19DE-\u19FF\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u200B-\u200D\u200F-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20C0\u20D0-\u20F0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189-\u218B\u2190-\u2335\u237B-\u2394\u2396-\u2429\u2440-\u244A\u2460-\u249B\u24EA-\u26AB\u26AD-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF9-\u2CFF\u2D7F\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u302A-\u302D\u3030\u3036\u3037\u303D-\u303F\u3099-\u309C\u30A0\u30FB\u31C0-\u31E5\u31EF\u321D\u321E\u3250-\u325F\u327C-\u327E\u32B1-\u32BF\u32CC-\u32CF\u3377-\u337A\u33DE\u33DF\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA60D-\uA60F\uA66F-\uA67F\uA69E\uA69F\uA6F0\uA6F1\uA700-\uA721\uA788\uA802\uA806\uA80B\uA825\uA826\uA828-\uA82C\uA838\uA839\uA874-\uA877\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uAB6A\uAB6B\uABE5\uABE8\uABED\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10101}\u{10140}-\u{1018C}\u{10190}-\u{1019C}\u{101A0}\u{101FD}\u{102E0}-\u{102FB}\u{10376}-\u{1037A}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{1091F}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE6}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B39}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D69}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}-\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10EFC}-\u{10F27}\u{10F30}-\u{10F59}\u{10F70}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11001}\u{11038}-\u{11046}\u{11052}-\u{11065}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{11660}-\u{1166C}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{11FD5}-\u{11FF1}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE2}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CC00}-\u{1CCD5}\u{1CCF0}-\u{1CCF9}\u{1CD00}-\u{1CEB3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D1E9}\u{1D1EA}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D6C1}\u{1D6DB}\u{1D6FB}\u{1D715}\u{1D735}\u{1D74F}\u{1D76F}\u{1D789}\u{1D7A9}\u{1D7C3}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E2FF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10F}\u{1F12F}\u{1F16A}-\u{1F16F}\u{1F1AD}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DC}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F776}\u{1F77B}-\u{1F7D9}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}-\u{1F8BB}\u{1F8C0}\u{1F8C1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA7C}\u{1FA80}-\u{1FA89}\u{1FA8F}-\u{1FAC6}\u{1FACE}-\u{1FADC}\u{1FADF}-\u{1FAE9}\u{1FAF0}-\u{1FAF8}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBF9}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*$/u, A3 = /[0-9\xB2\xB3\xB9\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\u{102E1}-\u{102FB}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D6F}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1CCF0}-\u{1CCF9}\u{1D7CE}-\u{1D7FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u, p3 = /[0-9\xB2\xB3\xB9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\u{102E1}-\u{102FB}\u{1CCF0}-\u{1CCF9}\u{1D7CE}-\u{1D7FF}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}]/u, C3 = /[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u0890\u0891\u08E2\u{10D30}-\u{10D39}\u{10D40}-\u{10D49}\u{10E60}-\u{10E7E}]/u, S3 = /^[\0-\x08\x0E-\x1B!-\x84\x86-\u0377\u037A-\u037F\u0384-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u058A\u058D-\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0606\u0607\u0609\u060A\u060C\u060E-\u061A\u064B-\u065F\u066A\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07F6-\u07F9\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E3F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u13A0-\u13F5\u13F8-\u13FD\u1400-\u167F\u1681-\u169C\u16A0-\u16F8\u1700-\u1715\u171F-\u1736\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ACE\u1B00-\u1B4C\u1B4E-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD0-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200B-\u200E\u2010-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2071\u2074-\u208E\u2090-\u209C\u20A0-\u20C0\u20D0-\u20F0\u2100-\u218B\u2190-\u2429\u2440-\u244A\u2460-\u2B73\u2B76-\u2B95\u2B97-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u303F\u3041-\u3096\u3099-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31E5\u31EF-\u321E\u3220-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA6F7\uA700-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA82C\uA830-\uA839\uA840-\uA877\uA880-\uA8C5\uA8CE-\uA8D9\uA8E0-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB6B\uAB70-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1E\uFB29\uFD3E-\uFD4F\uFDCF\uFDFD-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}-\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1018E}\u{10190}-\u{1019C}\u{101A0}\u{101D0}-\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{1091F}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10B39}-\u{10B3F}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6E}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{1104D}\u{11052}-\u{11075}\u{1107F}-\u{110C2}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{11147}\u{11150}-\u{11176}\u{11180}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D5}\u{113D7}\u{113D8}\u{113E1}\u{113E2}\u{11400}-\u{1145B}\u{1145D}-\u{11461}\u{11480}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115DD}\u{11600}-\u{11644}\u{11650}-\u{11659}\u{11660}-\u{1166C}\u{11680}-\u{116B9}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{11746}\u{11800}-\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E4}\u{11A00}-\u{11A47}\u{11A50}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11BC0}-\u{11BE1}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF8}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F5A}\u{11FB0}\u{11FC0}-\u{11FF1}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{13455}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF5}\u{16B00}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D79}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}-\u{16FE4}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}-\u{1BCA3}\u{1CC00}-\u{1CCF9}\u{1CD00}-\u{1CEB3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D1EA}\u{1D200}-\u{1D245}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D300}-\u{1D356}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D7CB}\u{1D7CE}-\u{1DA8B}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E5D0}-\u{1E5FA}\u{1E5FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F1AD}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DC}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F776}\u{1F77B}-\u{1F7D9}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}-\u{1F8BB}\u{1F8C0}\u{1F8C1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA7C}\u{1FA80}-\u{1FA89}\u{1FA8F}-\u{1FAC6}\u{1FACE}-\u{1FADC}\u{1FADF}-\u{1FAE9}\u{1FAF0}-\u{1FAF8}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]*$/u, y3 = /[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u06F0-\u06F9\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B4E-\u1B6A\u1B74-\u1B7F\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u2488-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113BA}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}\u{113CD}\u{113CF}\u{113D1}\u{113D3}-\u{113D5}\u{113D7}\u{113D8}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171E}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11BC0}-\u{11BE1}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11F02}-\u{11F10}\u{11F12}-\u{11F35}\u{11F3E}\u{11F3F}\u{11F41}\u{11F43}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1343F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{1612A}-\u{1612C}\u{16130}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D79}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CCD6}-\u{1CCF9}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E5D0}-\u{1E5ED}\u{1E5F0}-\u{1E5FA}\u{1E5FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F100}-\u{1F10A}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u;
|
|
12215
|
+
ucs2encode: J0
|
|
12216
|
+
}, Symbol.toStringTag, { value: "Module" })), c3 = /* @__PURE__ */ pr(a3), l3 = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{11002}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11082}\u{110B0}-\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{11134}\u{11145}\u{11146}\u{11173}\u{11180}-\u{11182}\u{111B3}-\u{111C0}\u{111C9}-\u{111CC}\u{111CE}\u{111CF}\u{1122C}-\u{11237}\u{1123E}\u{11241}\u{112DF}-\u{112EA}\u{11300}-\u{11303}\u{1133B}\u{1133C}\u{1133E}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11357}\u{11362}\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113B8}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11435}-\u{11446}\u{1145E}\u{114B0}-\u{114C3}\u{115AF}-\u{115B5}\u{115B8}-\u{115C0}\u{115DC}\u{115DD}\u{11630}-\u{11640}\u{116AB}-\u{116B7}\u{1171D}-\u{1172B}\u{1182C}-\u{1183A}\u{11930}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{1193E}\u{11940}\u{11942}\u{11943}\u{119D1}-\u{119D7}\u{119DA}-\u{119E0}\u{119E4}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A39}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A5B}\u{11A8A}-\u{11A99}\u{11C2F}-\u{11C36}\u{11C38}-\u{11C3F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D8A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D97}\u{11EF3}-\u{11EF6}\u{11F00}\u{11F01}\u{11F03}\u{11F34}-\u{11F3A}\u{11F3E}-\u{11F42}\u{11F5A}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F51}-\u{16F87}\u{16F8F}-\u{16F92}\u{16FE4}\u{16FF0}\u{16FF1}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]/u, h3 = /[\u094D\u09CD\u0A4D\u0ACD\u0B4D\u0BCD\u0C4D\u0CCD\u0D3B\u0D3C\u0D4D\u0DCA\u0E3A\u0EBA\u0F84\u1039\u103A\u1714\u1715\u1734\u17D2\u1A60\u1B44\u1BAA\u1BAB\u1BF2\u1BF3\u2D7F\uA806\uA82C\uA8C4\uA953\uA9C0\uAAF6\uABED\u{10A3F}\u{11046}\u{11070}\u{1107F}\u{110B9}\u{11133}\u{11134}\u{111C0}\u{11235}\u{112EA}\u{1134D}\u{113CE}-\u{113D0}\u{11442}\u{114C2}\u{115BF}\u{1163F}\u{116B6}\u{1172B}\u{11839}\u{1193D}\u{1193E}\u{119E0}\u{11A34}\u{11A47}\u{11A99}\u{11C3F}\u{11D44}\u{11D45}\u{11D97}\u{11F41}\u{11F42}\u{1612F}]/u, d3 = /[\u0620\u0626\u0628\u062A-\u062E\u0633-\u063F\u0641-\u0647\u0649\u064A\u066E\u066F\u0678-\u0687\u069A-\u06BF\u06C1\u06C2\u06CC\u06CE\u06D0\u06D1\u06FA-\u06FC\u06FF\u0712-\u0714\u071A-\u071D\u071F-\u0727\u0729\u072B\u072D\u072E\u074E-\u0758\u075C-\u076A\u076D-\u0770\u0772\u0775-\u0777\u077A-\u077F\u07CA-\u07EA\u0841-\u0845\u0848\u084A-\u0853\u0855\u0860\u0862-\u0865\u0868\u0886\u0889-\u088D\u08A0-\u08A9\u08AF\u08B0\u08B3-\u08B8\u08BA-\u08C8\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA872\u{10AC0}-\u{10AC4}\u{10ACD}\u{10AD3}-\u{10ADC}\u{10ADE}-\u{10AE0}\u{10AEB}-\u{10AEE}\u{10B80}\u{10B82}\u{10B86}-\u{10B88}\u{10B8A}\u{10B8B}\u{10B8D}\u{10B90}\u{10BAD}\u{10BAE}\u{10D00}-\u{10D21}\u{10D23}\u{10EC3}\u{10EC4}\u{10F30}-\u{10F32}\u{10F34}-\u{10F44}\u{10F51}-\u{10F53}\u{10F70}-\u{10F73}\u{10F76}-\u{10F81}\u{10FB0}\u{10FB2}\u{10FB3}\u{10FB8}\u{10FBB}\u{10FBC}\u{10FBE}\u{10FBF}\u{10FC1}\u{10FC4}\u{10FCA}\u{10FCB}\u{1E900}-\u{1E943}][\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13430}-\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*\u200C[\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13430}-\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*[\u0620\u0622-\u063F\u0641-\u064A\u066E\u066F\u0671-\u0673\u0675-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u077F\u07CA-\u07EA\u0840-\u0858\u0860\u0862-\u0865\u0867-\u086A\u0870-\u0882\u0886\u0889-\u088E\u08A0-\u08AC\u08AE-\u08C8\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA871\u{10AC0}-\u{10AC5}\u{10AC7}\u{10AC9}\u{10ACA}\u{10ACE}-\u{10AD6}\u{10AD8}-\u{10AE1}\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B80}-\u{10B91}\u{10BA9}-\u{10BAE}\u{10D01}-\u{10D23}\u{10EC2}-\u{10EC4}\u{10F30}-\u{10F44}\u{10F51}-\u{10F54}\u{10F70}-\u{10F81}\u{10FB0}\u{10FB2}-\u{10FB6}\u{10FB8}-\u{10FBF}\u{10FC1}-\u{10FC4}\u{10FC9}\u{10FCA}\u{1E900}-\u{1E943}]/u, f3 = /[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D6F}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u, m3 = /[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B4E-\u1B6A\u1B74-\u1B7F\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113BA}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}\u{113CD}\u{113CF}\u{113D1}\u{113D3}-\u{113D5}\u{113D7}\u{113D8}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171E}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11BC0}-\u{11BE1}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11F02}-\u{11F10}\u{11F12}-\u{11F35}\u{11F3E}\u{11F3F}\u{11F41}\u{11F43}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1343F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{1612A}-\u{1612C}\u{16130}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D79}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CCD6}-\u{1CCEF}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D800}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E5D0}-\u{1E5ED}\u{1E5F0}-\u{1E5FA}\u{1E5FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u, E3 = /[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D4A}-\u{10D65}\u{10D6F}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u, g3 = /^[\0-\x08\x0E-\x1B!-@\[-`\{-\x84\x86-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02B9\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u036F\u0374\u0375\u037E\u0384\u0385\u0387\u03F6\u0483-\u0489\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\u0600-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u07FD-\u082D\u0830-\u083E\u0840-\u085B\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u0897-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09F2\u09F3\u09FB\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AF1\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0BF3-\u0BFA\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C78-\u0C7E\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E3F\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39-\u0F3D\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1390-\u1399\u1400\u169B\u169C\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DB\u17DD\u17F0-\u17F9\u1800-\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1940\u1944\u1945\u19DE-\u19FF\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u200B-\u200D\u200F-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20C0\u20D0-\u20F0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189-\u218B\u2190-\u2335\u237B-\u2394\u2396-\u2429\u2440-\u244A\u2460-\u249B\u24EA-\u26AB\u26AD-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF9-\u2CFF\u2D7F\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u302A-\u302D\u3030\u3036\u3037\u303D-\u303F\u3099-\u309C\u30A0\u30FB\u31C0-\u31E5\u31EF\u321D\u321E\u3250-\u325F\u327C-\u327E\u32B1-\u32BF\u32CC-\u32CF\u3377-\u337A\u33DE\u33DF\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA60D-\uA60F\uA66F-\uA67F\uA69E\uA69F\uA6F0\uA6F1\uA700-\uA721\uA788\uA802\uA806\uA80B\uA825\uA826\uA828-\uA82C\uA838\uA839\uA874-\uA877\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uAB6A\uAB6B\uABE5\uABE8\uABED\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10101}\u{10140}-\u{1018C}\u{10190}-\u{1019C}\u{101A0}\u{101FD}\u{102E0}-\u{102FB}\u{10376}-\u{1037A}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{1091F}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE6}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B39}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D69}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}-\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10EFC}-\u{10F27}\u{10F30}-\u{10F59}\u{10F70}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11001}\u{11038}-\u{11046}\u{11052}-\u{11065}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{11660}-\u{1166C}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{11FD5}-\u{11FF1}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE2}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CC00}-\u{1CCD5}\u{1CCF0}-\u{1CCF9}\u{1CD00}-\u{1CEB3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D1E9}\u{1D1EA}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D6C1}\u{1D6DB}\u{1D6FB}\u{1D715}\u{1D735}\u{1D74F}\u{1D76F}\u{1D789}\u{1D7A9}\u{1D7C3}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E2FF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10F}\u{1F12F}\u{1F16A}-\u{1F16F}\u{1F1AD}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DC}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F776}\u{1F77B}-\u{1F7D9}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}-\u{1F8BB}\u{1F8C0}\u{1F8C1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA7C}\u{1FA80}-\u{1FA89}\u{1FA8F}-\u{1FAC6}\u{1FACE}-\u{1FADC}\u{1FADF}-\u{1FAE9}\u{1FAF0}-\u{1FAF8}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBF9}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*$/u, A3 = /[0-9\xB2\xB3\xB9\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\u{102E1}-\u{102FB}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D6F}-\u{10D85}\u{10D8E}\u{10D8F}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1CCF0}-\u{1CCF9}\u{1D7CE}-\u{1D7FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u, p3 = /[0-9\xB2\xB3\xB9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\u{102E1}-\u{102FB}\u{1CCF0}-\u{1CCF9}\u{1D7CE}-\u{1D7FF}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}]/u, C3 = /[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u0890\u0891\u08E2\u{10D30}-\u{10D39}\u{10D40}-\u{10D49}\u{10E60}-\u{10E7E}]/u, S3 = /^[\0-\x08\x0E-\x1B!-\x84\x86-\u0377\u037A-\u037F\u0384-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u058A\u058D-\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0606\u0607\u0609\u060A\u060C\u060E-\u061A\u064B-\u065F\u066A\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07F6-\u07F9\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E3F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u13A0-\u13F5\u13F8-\u13FD\u1400-\u167F\u1681-\u169C\u16A0-\u16F8\u1700-\u1715\u171F-\u1736\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ACE\u1B00-\u1B4C\u1B4E-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD0-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200B-\u200E\u2010-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2071\u2074-\u208E\u2090-\u209C\u20A0-\u20C0\u20D0-\u20F0\u2100-\u218B\u2190-\u2429\u2440-\u244A\u2460-\u2B73\u2B76-\u2B95\u2B97-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u303F\u3041-\u3096\u3099-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31E5\u31EF-\u321E\u3220-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA6F7\uA700-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA82C\uA830-\uA839\uA840-\uA877\uA880-\uA8C5\uA8CE-\uA8D9\uA8E0-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB6B\uAB70-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1E\uFB29\uFD3E-\uFD4F\uFDCF\uFDFD-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}-\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1018E}\u{10190}-\u{1019C}\u{101A0}\u{101D0}-\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{1091F}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10B39}-\u{10B3F}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6E}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{1104D}\u{11052}-\u{11075}\u{1107F}-\u{110C2}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{11147}\u{11150}-\u{11176}\u{11180}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D5}\u{113D7}\u{113D8}\u{113E1}\u{113E2}\u{11400}-\u{1145B}\u{1145D}-\u{11461}\u{11480}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115DD}\u{11600}-\u{11644}\u{11650}-\u{11659}\u{11660}-\u{1166C}\u{11680}-\u{116B9}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{11746}\u{11800}-\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E4}\u{11A00}-\u{11A47}\u{11A50}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11BC0}-\u{11BE1}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF8}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F5A}\u{11FB0}\u{11FC0}-\u{11FF1}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{13455}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF5}\u{16B00}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D79}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}-\u{16FE4}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}-\u{1BCA3}\u{1CC00}-\u{1CCF9}\u{1CD00}-\u{1CEB3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D1EA}\u{1D200}-\u{1D245}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D300}-\u{1D356}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D7CB}\u{1D7CE}-\u{1DA8B}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E5D0}-\u{1E5FA}\u{1E5FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F1AD}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DC}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F776}\u{1F77B}-\u{1F7D9}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}-\u{1F8BB}\u{1F8C0}\u{1F8C1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA7C}\u{1FA80}-\u{1FA89}\u{1FA8F}-\u{1FAC6}\u{1FACE}-\u{1FADC}\u{1FADF}-\u{1FAE9}\u{1FAF0}-\u{1FAF8}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]*$/u, y3 = /[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u06F0-\u06F9\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B4E-\u1B6A\u1B74-\u1B7F\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u2488-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113BA}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}\u{113CD}\u{113CF}\u{113D1}\u{113D3}-\u{113D5}\u{113D7}\u{113D8}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171E}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11B00}-\u{11B09}\u{11BC0}-\u{11BE1}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11F02}-\u{11F10}\u{11F12}-\u{11F35}\u{11F3E}\u{11F3F}\u{11F41}\u{11F43}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1343F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{1612A}-\u{1612C}\u{16130}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D79}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CCD6}-\u{1CCF9}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E5D0}-\u{1E5ED}\u{1E5F0}-\u{1E5FA}\u{1E5FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F100}-\u{1F10A}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10D69}-\u{10D6D}\u{10EAB}\u{10EAC}\u{10EFC}-\u{10EFF}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{11241}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{113BB}-\u{113C0}\u{113CE}\u{113D0}\u{113D2}\u{113E1}\u{113E2}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11F00}\u{11F01}\u{11F36}-\u{11F3A}\u{11F40}\u{11F42}\u{11F5A}\u{13440}\u{13447}-\u{13455}\u{1611E}-\u{16129}\u{1612D}-\u{1612F}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E08F}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E4EC}-\u{1E4EF}\u{1E5EE}\u{1E5EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u;
|
|
12217
12217
|
var O3 = {
|
|
12218
12218
|
combiningMarks: l3,
|
|
12219
12219
|
combiningClassVirama: h3,
|
|
@@ -60822,22 +60822,22 @@ const w3 = [
|
|
|
60822
60822
|
3
|
|
60823
60823
|
]
|
|
60824
60824
|
];
|
|
60825
|
-
var
|
|
60826
|
-
|
|
60825
|
+
var el = {};
|
|
60826
|
+
el.STATUS_MAPPING = {
|
|
60827
60827
|
mapped: 1,
|
|
60828
60828
|
valid: 2,
|
|
60829
60829
|
disallowed: 3,
|
|
60830
60830
|
deviation: 6,
|
|
60831
60831
|
ignored: 7
|
|
60832
60832
|
};
|
|
60833
|
-
const au = c3, St = O3,
|
|
60833
|
+
const au = c3, St = O3, ba = w3, { STATUS_MAPPING: lr } = el;
|
|
60834
60834
|
function E1(e) {
|
|
60835
60835
|
return /[^\x00-\x7F]/u.test(e);
|
|
60836
60836
|
}
|
|
60837
|
-
function
|
|
60838
|
-
let t = 0, r =
|
|
60837
|
+
function tl(e) {
|
|
60838
|
+
let t = 0, r = ba.length - 1;
|
|
60839
60839
|
for (; t <= r; ) {
|
|
60840
|
-
const n = Math.floor((t + r) / 2), i =
|
|
60840
|
+
const n = Math.floor((t + r) / 2), i = ba[n], o = Array.isArray(i[0]) ? i[0][0] : i[0], u = Array.isArray(i[0]) ? i[0][1] : i[0];
|
|
60841
60841
|
if (o <= e && u >= e)
|
|
60842
60842
|
return i.slice(1);
|
|
60843
60843
|
o > e ? r = n - 1 : t = n + 1;
|
|
@@ -60847,20 +60847,20 @@ function el(e) {
|
|
|
60847
60847
|
function _3(e, { transitionalProcessing: t }) {
|
|
60848
60848
|
let r = "";
|
|
60849
60849
|
for (const n of e) {
|
|
60850
|
-
const [i, o] =
|
|
60850
|
+
const [i, o] = tl(n.codePointAt(0));
|
|
60851
60851
|
switch (i) {
|
|
60852
|
-
case
|
|
60852
|
+
case lr.disallowed:
|
|
60853
60853
|
r += n;
|
|
60854
60854
|
break;
|
|
60855
|
-
case
|
|
60855
|
+
case lr.ignored:
|
|
60856
60856
|
break;
|
|
60857
|
-
case
|
|
60857
|
+
case lr.mapped:
|
|
60858
60858
|
t && n === "ẞ" ? r += "ss" : r += o;
|
|
60859
60859
|
break;
|
|
60860
|
-
case
|
|
60860
|
+
case lr.deviation:
|
|
60861
60861
|
t ? r += o : r += n;
|
|
60862
60862
|
break;
|
|
60863
|
-
case
|
|
60863
|
+
case lr.valid:
|
|
60864
60864
|
r += n;
|
|
60865
60865
|
break;
|
|
60866
60866
|
}
|
|
@@ -60883,11 +60883,11 @@ function D3(e, {
|
|
|
60883
60883
|
if (t && (c[2] === "-" && c[3] === "-" || e.startsWith("-") || e.endsWith("-")) || !t && e.startsWith("xn--") || e.includes(".") || St.combiningMarks.test(c[0]))
|
|
60884
60884
|
return !1;
|
|
60885
60885
|
for (const s of c) {
|
|
60886
|
-
const a = s.codePointAt(0), [E] =
|
|
60886
|
+
const a = s.codePointAt(0), [E] = tl(a);
|
|
60887
60887
|
if (i) {
|
|
60888
|
-
if (E !==
|
|
60888
|
+
if (E !== lr.valid)
|
|
60889
60889
|
return !1;
|
|
60890
|
-
} else if (E !==
|
|
60890
|
+
} else if (E !== lr.valid && E !== lr.deviation)
|
|
60891
60891
|
return !1;
|
|
60892
60892
|
if (o && a <= 127 && !/^(?:[a-z]|[0-9]|-)$/u.test(s))
|
|
60893
60893
|
return !1;
|
|
@@ -60938,7 +60938,7 @@ function T3(e) {
|
|
|
60938
60938
|
}).join(".");
|
|
60939
60939
|
return St.bidiDomain.test(t);
|
|
60940
60940
|
}
|
|
60941
|
-
function
|
|
60941
|
+
function rl(e, t) {
|
|
60942
60942
|
let r = _3(e, t);
|
|
60943
60943
|
r = r.normalize("NFC");
|
|
60944
60944
|
const n = r.split("."), i = T3(n);
|
|
@@ -60982,7 +60982,7 @@ function B3(e, {
|
|
|
60982
60982
|
transitionalProcessing: u = !1,
|
|
60983
60983
|
ignoreInvalidPunycode: c = !1
|
|
60984
60984
|
} = {}) {
|
|
60985
|
-
const s =
|
|
60985
|
+
const s = rl(e, {
|
|
60986
60986
|
checkHyphens: t,
|
|
60987
60987
|
checkBidi: r,
|
|
60988
60988
|
checkJoiners: n,
|
|
@@ -61018,7 +61018,7 @@ function b3(e, {
|
|
|
61018
61018
|
transitionalProcessing: o = !1,
|
|
61019
61019
|
ignoreInvalidPunycode: u = !1
|
|
61020
61020
|
} = {}) {
|
|
61021
|
-
const c =
|
|
61021
|
+
const c = rl(e, {
|
|
61022
61022
|
checkHyphens: t,
|
|
61023
61023
|
checkBidi: r,
|
|
61024
61024
|
checkJoiners: n,
|
|
@@ -61038,18 +61038,18 @@ var M3 = {
|
|
|
61038
61038
|
function cu(e) {
|
|
61039
61039
|
return e >= 48 && e <= 57;
|
|
61040
61040
|
}
|
|
61041
|
-
function
|
|
61041
|
+
function nl(e) {
|
|
61042
61042
|
return e >= 65 && e <= 90 || e >= 97 && e <= 122;
|
|
61043
61043
|
}
|
|
61044
61044
|
function F3(e) {
|
|
61045
|
-
return
|
|
61045
|
+
return nl(e) || cu(e);
|
|
61046
61046
|
}
|
|
61047
61047
|
function R3(e) {
|
|
61048
61048
|
return cu(e) || e >= 65 && e <= 70 || e >= 97 && e <= 102;
|
|
61049
61049
|
}
|
|
61050
|
-
var
|
|
61050
|
+
var il = {
|
|
61051
61051
|
isASCIIDigit: cu,
|
|
61052
|
-
isASCIIAlpha:
|
|
61052
|
+
isASCIIAlpha: nl,
|
|
61053
61053
|
isASCIIAlphanumeric: F3,
|
|
61054
61054
|
isASCIIHex: R3
|
|
61055
61055
|
};
|
|
@@ -61064,7 +61064,7 @@ var lu = {
|
|
|
61064
61064
|
utf8Encode: v3,
|
|
61065
61065
|
utf8DecodeWithoutBOM: P3
|
|
61066
61066
|
};
|
|
61067
|
-
const { isASCIIHex:
|
|
61067
|
+
const { isASCIIHex: Ma } = il, { utf8Encode: ol } = lu;
|
|
61068
61068
|
function Se(e) {
|
|
61069
61069
|
return e.codePointAt(0);
|
|
61070
61070
|
}
|
|
@@ -61072,14 +61072,14 @@ function L3(e) {
|
|
|
61072
61072
|
let t = e.toString(16).toUpperCase();
|
|
61073
61073
|
return t.length === 1 && (t = `0${t}`), `%${t}`;
|
|
61074
61074
|
}
|
|
61075
|
-
function
|
|
61075
|
+
function sl(e) {
|
|
61076
61076
|
const t = new Uint8Array(e.byteLength);
|
|
61077
61077
|
let r = 0;
|
|
61078
61078
|
for (let n = 0; n < e.byteLength; ++n) {
|
|
61079
61079
|
const i = e[n];
|
|
61080
61080
|
if (i !== 37)
|
|
61081
61081
|
t[r++] = i;
|
|
61082
|
-
else if (i === 37 && (!
|
|
61082
|
+
else if (i === 37 && (!Ma(e[n + 1]) || !Ma(e[n + 2])))
|
|
61083
61083
|
t[r++] = i;
|
|
61084
61084
|
else {
|
|
61085
61085
|
const o = parseInt(String.fromCodePoint(e[n + 1], e[n + 2]), 16);
|
|
@@ -61089,8 +61089,8 @@ function ol(e) {
|
|
|
61089
61089
|
return t.slice(0, r);
|
|
61090
61090
|
}
|
|
61091
61091
|
function k3(e) {
|
|
61092
|
-
const t =
|
|
61093
|
-
return
|
|
61092
|
+
const t = ol(e);
|
|
61093
|
+
return sl(t);
|
|
61094
61094
|
}
|
|
61095
61095
|
function hu(e) {
|
|
61096
61096
|
return e <= 31 || e > 126;
|
|
@@ -61107,35 +61107,35 @@ function z3(e) {
|
|
|
61107
61107
|
return du(e) || e === Se("'");
|
|
61108
61108
|
}
|
|
61109
61109
|
const V3 = /* @__PURE__ */ new Set([Se("?"), Se("`"), Se("{"), Se("}"), Se("^")]);
|
|
61110
|
-
function
|
|
61110
|
+
function ul(e) {
|
|
61111
61111
|
return du(e) || V3.has(e);
|
|
61112
61112
|
}
|
|
61113
61113
|
const W3 = /* @__PURE__ */ new Set([Se("/"), Se(":"), Se(";"), Se("="), Se("@"), Se("["), Se("\\"), Se("]"), Se("|")]);
|
|
61114
|
-
function
|
|
61115
|
-
return
|
|
61114
|
+
function al(e) {
|
|
61115
|
+
return ul(e) || W3.has(e);
|
|
61116
61116
|
}
|
|
61117
61117
|
const G3 = /* @__PURE__ */ new Set([Se("$"), Se("%"), Se("&"), Se("+"), Se(",")]);
|
|
61118
61118
|
function q3(e) {
|
|
61119
|
-
return
|
|
61119
|
+
return al(e) || G3.has(e);
|
|
61120
61120
|
}
|
|
61121
61121
|
const H3 = /* @__PURE__ */ new Set([Se("!"), Se("'"), Se("("), Se(")"), Se("~")]);
|
|
61122
61122
|
function K3(e) {
|
|
61123
61123
|
return q3(e) || H3.has(e);
|
|
61124
61124
|
}
|
|
61125
|
-
function
|
|
61126
|
-
const r =
|
|
61125
|
+
function cl(e, t) {
|
|
61126
|
+
const r = ol(e);
|
|
61127
61127
|
let n = "";
|
|
61128
61128
|
for (const i of r)
|
|
61129
61129
|
t(i) ? n += L3(i) : n += String.fromCharCode(i);
|
|
61130
61130
|
return n;
|
|
61131
61131
|
}
|
|
61132
61132
|
function Y3(e, t) {
|
|
61133
|
-
return
|
|
61133
|
+
return cl(String.fromCodePoint(e), t);
|
|
61134
61134
|
}
|
|
61135
61135
|
function X3(e, t, r = !1) {
|
|
61136
61136
|
let n = "";
|
|
61137
61137
|
for (const i of e)
|
|
61138
|
-
r && i === " " ? n += "+" : n +=
|
|
61138
|
+
r && i === " " ? n += "+" : n += cl(i, t);
|
|
61139
61139
|
return n;
|
|
61140
61140
|
}
|
|
61141
61141
|
var fu = {
|
|
@@ -61143,16 +61143,16 @@ var fu = {
|
|
|
61143
61143
|
isFragmentPercentEncode: x3,
|
|
61144
61144
|
isQueryPercentEncode: du,
|
|
61145
61145
|
isSpecialQueryPercentEncode: z3,
|
|
61146
|
-
isPathPercentEncode:
|
|
61147
|
-
isUserinfoPercentEncode:
|
|
61146
|
+
isPathPercentEncode: ul,
|
|
61147
|
+
isUserinfoPercentEncode: al,
|
|
61148
61148
|
isURLEncodedPercentEncode: K3,
|
|
61149
61149
|
percentDecodeString: k3,
|
|
61150
|
-
percentDecodeBytes:
|
|
61150
|
+
percentDecodeBytes: sl,
|
|
61151
61151
|
utf8PercentEncodeString: X3,
|
|
61152
61152
|
utf8PercentEncodeCodePoint: Y3
|
|
61153
61153
|
};
|
|
61154
61154
|
(function(e) {
|
|
61155
|
-
const t = M3, r =
|
|
61155
|
+
const t = M3, r = il, { utf8DecodeWithoutBOM: n } = lu, {
|
|
61156
61156
|
percentDecodeString: i,
|
|
61157
61157
|
utf8PercentEncodeCodePoint: o,
|
|
61158
61158
|
utf8PercentEncodeString: u,
|
|
@@ -61628,11 +61628,11 @@ var fu = {
|
|
|
61628
61628
|
}, e.exports.parseURL = function(k, P) {
|
|
61629
61629
|
return P === void 0 && (P = {}), e.exports.basicURLParse(k, { baseURL: P.baseURL, encodingOverride: P.encodingOverride });
|
|
61630
61630
|
};
|
|
61631
|
-
})(
|
|
61632
|
-
var
|
|
61633
|
-
function
|
|
61634
|
-
if (
|
|
61635
|
-
|
|
61631
|
+
})(q0);
|
|
61632
|
+
var ll = q0.exports, Ks, Fa;
|
|
61633
|
+
function hl() {
|
|
61634
|
+
if (Fa) return Ks;
|
|
61635
|
+
Fa = 1;
|
|
61636
61636
|
const { utf8Encode: e, utf8DecodeWithoutBOM: t } = lu, { percentDecodeBytes: r, utf8PercentEncodeString: n, isURLEncodedPercentEncode: i } = fu;
|
|
61637
61637
|
function o(h) {
|
|
61638
61638
|
return h.codePointAt(0);
|
|
@@ -61679,9 +61679,9 @@ function ll() {
|
|
|
61679
61679
|
serializeUrlencoded: s
|
|
61680
61680
|
}, Ks;
|
|
61681
61681
|
}
|
|
61682
|
-
var mu = {},
|
|
61683
|
-
const
|
|
61684
|
-
|
|
61682
|
+
var mu = {}, dl = {};
|
|
61683
|
+
const Ra = Io, Pi = nu;
|
|
61684
|
+
dl.convert = (e, t, { context: r = "The provided value" } = {}) => {
|
|
61685
61685
|
if (typeof t != "function")
|
|
61686
61686
|
throw new e.TypeError(r + " is not a function");
|
|
61687
61687
|
function n(...i) {
|
|
@@ -61689,20 +61689,20 @@ hl.convert = (e, t, { context: r = "The provided value" } = {}) => {
|
|
|
61689
61689
|
let u;
|
|
61690
61690
|
for (let c = 0; c < i.length; c++)
|
|
61691
61691
|
i[c] = Pi.tryWrapperForImpl(i[c]);
|
|
61692
|
-
return u = Reflect.apply(t, o, i), u =
|
|
61692
|
+
return u = Reflect.apply(t, o, i), u = Ra.any(u, { context: r, globals: e }), u;
|
|
61693
61693
|
}
|
|
61694
61694
|
return n.construct = (...i) => {
|
|
61695
61695
|
for (let u = 0; u < i.length; u++)
|
|
61696
61696
|
i[u] = Pi.tryWrapperForImpl(i[u]);
|
|
61697
61697
|
let o = Reflect.construct(t, i);
|
|
61698
|
-
return o =
|
|
61698
|
+
return o = Ra.any(o, { context: r, globals: e }), o;
|
|
61699
61699
|
}, n[Pi.wrapperSymbol] = t, n.objectReference = t, n;
|
|
61700
61700
|
};
|
|
61701
|
-
var Ys = {},
|
|
61701
|
+
var Ys = {}, Na;
|
|
61702
61702
|
function J3() {
|
|
61703
|
-
if (
|
|
61704
|
-
|
|
61705
|
-
const e =
|
|
61703
|
+
if (Na) return Ys;
|
|
61704
|
+
Na = 1;
|
|
61705
|
+
const e = hl();
|
|
61706
61706
|
return Ys.implementation = class {
|
|
61707
61707
|
constructor(r, n, { doNotStripQMark: i = !1 }) {
|
|
61708
61708
|
let o = n[0];
|
|
@@ -61774,7 +61774,7 @@ function J3() {
|
|
|
61774
61774
|
}, Ys;
|
|
61775
61775
|
}
|
|
61776
61776
|
(function(e) {
|
|
61777
|
-
const t = Io, r = nu, n =
|
|
61777
|
+
const t = Io, r = nu, n = dl, i = r.newObjectInRealm, o = r.implSymbol, u = r.ctorRegistrySymbol, c = "URLSearchParams";
|
|
61778
61778
|
e.is = (h) => r.isObject(h) && r.hasOwn(h, o) && h[o] instanceof E.implementation, e.isImpl = (h) => r.isObject(h) && h instanceof E.implementation, e.convert = (h, g, { context: m = "The provided value" } = {}) => {
|
|
61779
61779
|
if (e.is(g))
|
|
61780
61780
|
return r.implForWrapper(g);
|
|
@@ -62118,12 +62118,12 @@ function J3() {
|
|
|
62118
62118
|
};
|
|
62119
62119
|
const E = J3();
|
|
62120
62120
|
})(mu);
|
|
62121
|
-
var
|
|
62121
|
+
var Ia;
|
|
62122
62122
|
function Q3() {
|
|
62123
|
-
if (
|
|
62124
|
-
|
|
62125
|
-
const e =
|
|
62126
|
-
return Gs.implementation = class
|
|
62123
|
+
if (Ia) return Gs;
|
|
62124
|
+
Ia = 1;
|
|
62125
|
+
const e = ll, t = hl(), r = mu;
|
|
62126
|
+
return Gs.implementation = class fl {
|
|
62127
62127
|
// Unlike the spec, we duplicate some code between the constructor and canParse, because we want to give useful error
|
|
62128
62128
|
// messages in the constructor that distinguish between the different causes of failure.
|
|
62129
62129
|
constructor(i, [o, u]) {
|
|
@@ -62138,7 +62138,7 @@ function Q3() {
|
|
|
62138
62138
|
}
|
|
62139
62139
|
static parse(i, o, u) {
|
|
62140
62140
|
try {
|
|
62141
|
-
return new
|
|
62141
|
+
return new fl(i, [o, u]);
|
|
62142
62142
|
} catch {
|
|
62143
62143
|
return null;
|
|
62144
62144
|
}
|
|
@@ -62537,11 +62537,11 @@ function Q3() {
|
|
|
62537
62537
|
});
|
|
62538
62538
|
};
|
|
62539
62539
|
const s = Q3();
|
|
62540
|
-
})(
|
|
62541
|
-
const Z3 =
|
|
62540
|
+
})(W0);
|
|
62541
|
+
const Z3 = W0, $3 = mu;
|
|
62542
62542
|
ru.URL = Z3;
|
|
62543
62543
|
ru.URLSearchParams = $3;
|
|
62544
|
-
const { URL: e6, URLSearchParams: t6 } = ru, Lt =
|
|
62544
|
+
const { URL: e6, URLSearchParams: t6 } = ru, Lt = ll, ml = fu, vo = { Array, Object, Promise, String, TypeError };
|
|
62545
62545
|
e6.install(vo, ["Window"]);
|
|
62546
62546
|
t6.install(vo, ["Window"]);
|
|
62547
62547
|
rt.URL = vo.URL;
|
|
@@ -62557,12 +62557,12 @@ rt.setTheUsername = Lt.setTheUsername;
|
|
|
62557
62557
|
rt.setThePassword = Lt.setThePassword;
|
|
62558
62558
|
rt.cannotHaveAUsernamePasswordPort = Lt.cannotHaveAUsernamePasswordPort;
|
|
62559
62559
|
rt.hasAnOpaquePath = Lt.hasAnOpaquePath;
|
|
62560
|
-
rt.percentDecodeString =
|
|
62561
|
-
rt.percentDecodeBytes =
|
|
62562
|
-
var Nn = {},
|
|
62560
|
+
rt.percentDecodeString = ml.percentDecodeString;
|
|
62561
|
+
rt.percentDecodeBytes = ml.percentDecodeBytes;
|
|
62562
|
+
var Nn = {}, va;
|
|
62563
62563
|
function r6() {
|
|
62564
|
-
if (
|
|
62565
|
-
|
|
62564
|
+
if (va) return Nn;
|
|
62565
|
+
va = 1;
|
|
62566
62566
|
var e = xt && xt.__createBinding || (Object.create ? function(u, c, s, a) {
|
|
62567
62567
|
a === void 0 && (a = s);
|
|
62568
62568
|
var E = Object.getOwnPropertyDescriptor(c, s);
|
|
@@ -62591,7 +62591,7 @@ function r6() {
|
|
|
62591
62591
|
};
|
|
62592
62592
|
}();
|
|
62593
62593
|
Object.defineProperty(Nn, "__esModule", { value: !0 }), Nn.redactValidConnectionString = i, Nn.redactConnectionString = o;
|
|
62594
|
-
const n = r(
|
|
62594
|
+
const n = r(El());
|
|
62595
62595
|
function i(u, c) {
|
|
62596
62596
|
const s = u.clone(), a = (c == null ? void 0 : c.replacementString) ?? "_credentials_", E = (c == null ? void 0 : c.redactUsernames) ?? !0;
|
|
62597
62597
|
if ((s.username || s.password) && E ? (s.username = a, s.password = "") : s.password && (s.password = a), s.searchParams.has("authMechanismProperties")) {
|
|
@@ -62622,9 +62622,9 @@ function r6() {
|
|
|
62622
62622
|
}
|
|
62623
62623
|
return Nn;
|
|
62624
62624
|
}
|
|
62625
|
-
var
|
|
62626
|
-
function
|
|
62627
|
-
return
|
|
62625
|
+
var Pa;
|
|
62626
|
+
function El() {
|
|
62627
|
+
return Pa || (Pa = 1, function(e) {
|
|
62628
62628
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CommaAndColonSeparatedRecord = e.ConnectionString = e.redactConnectionString = void 0;
|
|
62629
62629
|
const t = rt, r = r6();
|
|
62630
62630
|
Object.defineProperty(e, "redactConnectionString", { enumerable: !0, get: function() {
|
|
@@ -62830,10 +62830,10 @@ function ml() {
|
|
|
62830
62830
|
e.CommaAndColonSeparatedRecord = h, e.default = E;
|
|
62831
62831
|
}(Ws)), Ws;
|
|
62832
62832
|
}
|
|
62833
|
-
var Xs = {}, ot = {},
|
|
62833
|
+
var Xs = {}, ot = {}, La;
|
|
62834
62834
|
function Po() {
|
|
62835
|
-
if (
|
|
62836
|
-
|
|
62835
|
+
if (La) return ot;
|
|
62836
|
+
La = 1, Object.defineProperty(ot, "__esModule", { value: !0 }), ot.OpCompressedRequest = ot.OpMsgResponse = ot.OpMsgRequest = ot.DocumentSequence = ot.OpReply = ot.OpQueryRequest = void 0;
|
|
62837
62837
|
const e = pe, t = Q, r = Lo(), n = fe;
|
|
62838
62838
|
let i = 0;
|
|
62839
62839
|
const o = 2, u = 4, c = 8, s = 16, a = 32, E = 64, h = 128, g = 1, m = 2, C = 4, S = 8, D = e.BSON.onDemand.ByteUtils.encodeUTF8Into;
|
|
@@ -63055,11 +63055,11 @@ function Po() {
|
|
|
63055
63055
|
}
|
|
63056
63056
|
return ot.OpCompressedRequest = _, ot;
|
|
63057
63057
|
}
|
|
63058
|
-
var
|
|
63058
|
+
var ka;
|
|
63059
63059
|
function Lo() {
|
|
63060
|
-
return
|
|
63060
|
+
return ka || (ka = 1, function(e) {
|
|
63061
63061
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.uncompressibleCommands = e.Compressor = void 0, e.compress = m, e.decompress = C, e.compressCommand = O, e.decompressResponse = M;
|
|
63062
|
-
const t =
|
|
63062
|
+
const t = Ic, r = Ve, n = Qe, i = Q, o = Po(), u = fe;
|
|
63063
63063
|
e.Compressor = Object.freeze({
|
|
63064
63064
|
none: 0,
|
|
63065
63065
|
snappy: 1,
|
|
@@ -63282,7 +63282,7 @@ Ge.MongoCryptKMSRequestNetworkTimeoutError = c6;
|
|
|
63282
63282
|
var gi = {}, Eu = {}, Ai = {};
|
|
63283
63283
|
Object.defineProperty(Ai, "__esModule", { value: !0 });
|
|
63284
63284
|
Ai.AWSSDKCredentialProvider = void 0;
|
|
63285
|
-
const l6 =
|
|
63285
|
+
const l6 = Ar, h6 = Qe, d6 = Q;
|
|
63286
63286
|
class Ut {
|
|
63287
63287
|
/**
|
|
63288
63288
|
* Create the SDK credentials provider.
|
|
@@ -63450,11 +63450,11 @@ async function S6(e, t) {
|
|
|
63450
63450
|
let r = e;
|
|
63451
63451
|
return qi("aws", e) && (r = await (0, A6.loadAWSCredentials)(r, t == null ? void 0 : t.aws)), qi("gcp", e) && (r = await (0, C6.loadGCPCredentials)(r)), qi("azure", e) && (r = await (0, p6.loadAzureCredentials)(r)), r;
|
|
63452
63452
|
}
|
|
63453
|
-
var vn = {},
|
|
63454
|
-
function
|
|
63455
|
-
if (
|
|
63456
|
-
|
|
63457
|
-
const e =
|
|
63453
|
+
var vn = {}, Ua;
|
|
63454
|
+
function gl() {
|
|
63455
|
+
if (Ua) return vn;
|
|
63456
|
+
Ua = 1, Object.defineProperty(vn, "__esModule", { value: !0 }), vn.StateMachine = void 0;
|
|
63457
|
+
const e = vc, t = B1, r = Ar, n = Pc, i = pe, o = tt, u = Qe, c = Q, s = Te, a = ne(), E = pu(), h = Ge;
|
|
63458
63458
|
let g = null;
|
|
63459
63459
|
function m() {
|
|
63460
63460
|
if (g == null) {
|
|
@@ -63736,11 +63736,11 @@ function El() {
|
|
|
63736
63736
|
}
|
|
63737
63737
|
return vn.StateMachine = _, vn;
|
|
63738
63738
|
}
|
|
63739
|
-
var
|
|
63739
|
+
var xa;
|
|
63740
63740
|
function pu() {
|
|
63741
|
-
if (
|
|
63742
|
-
|
|
63743
|
-
const e = pe, t = Qe, r = Te, n = ne(), i = Ge, o = gi, u =
|
|
63741
|
+
if (xa) return tn;
|
|
63742
|
+
xa = 1, Object.defineProperty(tn, "__esModule", { value: !0 }), tn.ClientEncryption = void 0, tn.autoSelectSocketOptions = s;
|
|
63743
|
+
const e = pe, t = Qe, r = Te, n = ne(), i = Ge, o = gi, u = gl();
|
|
63744
63744
|
class c {
|
|
63745
63745
|
/** @internal */
|
|
63746
63746
|
static getMongoCrypt() {
|
|
@@ -64261,13 +64261,13 @@ const y6 = Q, so = class so {
|
|
|
64261
64261
|
so.DEFAULT_MONGOCRYPTD_URI = "mongodb://localhost:27020";
|
|
64262
64262
|
let g1 = so;
|
|
64263
64263
|
ko.MongocryptdManager = g1;
|
|
64264
|
-
var
|
|
64265
|
-
function
|
|
64266
|
-
if (
|
|
64267
|
-
|
|
64264
|
+
var ja;
|
|
64265
|
+
function Al() {
|
|
64266
|
+
if (ja) return _r;
|
|
64267
|
+
ja = 1;
|
|
64268
64268
|
var e;
|
|
64269
64269
|
Object.defineProperty(_r, "__esModule", { value: !0 }), _r.AutoEncrypter = _r.AutoEncryptionLoggerLevel = void 0;
|
|
64270
|
-
const t = B1, r = pe, n = Ve, i = Qe, o = Q, u = En(), c = ne(), s = pu(), a = Ge, E = ko, h = gi, g =
|
|
64270
|
+
const t = B1, r = pe, n = Ve, i = Qe, o = Q, u = En(), c = ne(), s = pu(), a = Ge, E = ko, h = gi, g = gl();
|
|
64271
64271
|
_r.AutoEncryptionLoggerLevel = Object.freeze({
|
|
64272
64272
|
FatalError: 0,
|
|
64273
64273
|
Error: 1,
|
|
@@ -64437,11 +64437,11 @@ function gl() {
|
|
|
64437
64437
|
let m = C;
|
|
64438
64438
|
return _r.AutoEncrypter = m, _r;
|
|
64439
64439
|
}
|
|
64440
|
-
var
|
|
64440
|
+
var za;
|
|
64441
64441
|
function O6() {
|
|
64442
|
-
if (
|
|
64443
|
-
|
|
64444
|
-
const e =
|
|
64442
|
+
if (za) return In;
|
|
64443
|
+
za = 1, Object.defineProperty(In, "__esModule", { value: !0 }), In.Encrypter = void 0;
|
|
64444
|
+
const e = Al(), t = Ve, r = Qe, n = Q, i = En();
|
|
64445
64445
|
class o {
|
|
64446
64446
|
constructor(c, s, a) {
|
|
64447
64447
|
if (typeof a.autoEncryption != "object")
|
|
@@ -64626,8 +64626,8 @@ var Js = {}, Cu = {}, It = {}, Su = {};
|
|
|
64626
64626
|
var Uo = {}, rr = {};
|
|
64627
64627
|
Object.defineProperty(rr, "__esModule", { value: !0 });
|
|
64628
64628
|
rr.ServerDescription = void 0;
|
|
64629
|
-
rr.parseServerType =
|
|
64630
|
-
rr.compareTopologyVersion =
|
|
64629
|
+
rr.parseServerType = pl;
|
|
64630
|
+
rr.compareTopologyVersion = Cl;
|
|
64631
64631
|
const rn = pe, w6 = Q, nn = ne(), We = Ne, _6 = /* @__PURE__ */ new Set([
|
|
64632
64632
|
We.ServerType.RSPrimary,
|
|
64633
64633
|
We.ServerType.Standalone,
|
|
@@ -64652,7 +64652,7 @@ class T6 {
|
|
|
64652
64652
|
var i, o, u, c, s, a, E;
|
|
64653
64653
|
if (t == null || t === "")
|
|
64654
64654
|
throw new w6.MongoRuntimeError("ServerDescription must be provided with a non-empty address");
|
|
64655
|
-
this.address = typeof t == "string" ? nn.HostAddress.fromString(t).toString() : t.toString(), this.type =
|
|
64655
|
+
this.address = typeof t == "string" ? nn.HostAddress.fromString(t).toString() : t.toString(), this.type = pl(r, n), this.hosts = ((i = r == null ? void 0 : r.hosts) == null ? void 0 : i.map((h) => h.toLowerCase())) ?? [], this.passives = ((o = r == null ? void 0 : r.passives) == null ? void 0 : o.map((h) => h.toLowerCase())) ?? [], this.arbiters = ((u = r == null ? void 0 : r.arbiters) == null ? void 0 : u.map((h) => h.toLowerCase())) ?? [], this.tags = (r == null ? void 0 : r.tags) ?? {}, this.minWireVersion = (r == null ? void 0 : r.minWireVersion) ?? 0, this.maxWireVersion = (r == null ? void 0 : r.maxWireVersion) ?? 0, this.roundTripTime = (n == null ? void 0 : n.roundTripTime) ?? -1, this.minRoundTripTime = (n == null ? void 0 : n.minRoundTripTime) ?? 0, this.lastUpdateTime = (0, nn.processTimeMS)(), this.lastWriteDate = ((c = r == null ? void 0 : r.lastWrite) == null ? void 0 : c.lastWriteDate) ?? 0, this.error = n.error ?? null, (s = this.error) == null || s.stack, this.topologyVersion = ((a = this.error) == null ? void 0 : a.topologyVersion) ?? (r == null ? void 0 : r.topologyVersion) ?? null, this.setName = (r == null ? void 0 : r.setName) ?? null, this.setVersion = (r == null ? void 0 : r.setVersion) ?? null, this.electionId = (r == null ? void 0 : r.electionId) ?? null, this.logicalSessionTimeoutMinutes = (r == null ? void 0 : r.logicalSessionTimeoutMinutes) ?? null, this.maxMessageSizeBytes = (r == null ? void 0 : r.maxMessageSizeBytes) ?? null, this.maxWriteBatchSize = (r == null ? void 0 : r.maxWriteBatchSize) ?? null, this.maxBsonObjectSize = (r == null ? void 0 : r.maxBsonObjectSize) ?? null, this.primary = (r == null ? void 0 : r.primary) ?? null, this.me = ((E = r == null ? void 0 : r.me) == null ? void 0 : E.toLowerCase()) ?? null, this.$clusterTime = (r == null ? void 0 : r.$clusterTime) ?? null, this.iscryptd = !!(r != null && r.iscryptd);
|
|
64656
64656
|
}
|
|
64657
64657
|
get hostAddress() {
|
|
64658
64658
|
return nn.HostAddress.fromString(this.address);
|
|
@@ -64685,19 +64685,19 @@ class T6 {
|
|
|
64685
64685
|
* @see https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md
|
|
64686
64686
|
*/
|
|
64687
64687
|
equals(t) {
|
|
64688
|
-
const r = this.topologyVersion === (t == null ? void 0 : t.topologyVersion) ||
|
|
64688
|
+
const r = this.topologyVersion === (t == null ? void 0 : t.topologyVersion) || Cl(this.topologyVersion, t == null ? void 0 : t.topologyVersion) === 0, n = this.electionId != null && (t == null ? void 0 : t.electionId) != null ? (0, nn.compareObjectId)(this.electionId, t.electionId) === 0 : this.electionId === (t == null ? void 0 : t.electionId);
|
|
64689
64689
|
return t != null && t.iscryptd === this.iscryptd && (0, nn.errorStrictEqual)(this.error, t.error) && this.type === t.type && this.minWireVersion === t.minWireVersion && (0, nn.arrayStrictEqual)(this.hosts, t.hosts) && B6(this.tags, t.tags) && this.setName === t.setName && this.setVersion === t.setVersion && n && this.primary === t.primary && this.logicalSessionTimeoutMinutes === t.logicalSessionTimeoutMinutes && r;
|
|
64690
64690
|
}
|
|
64691
64691
|
}
|
|
64692
64692
|
rr.ServerDescription = T6;
|
|
64693
|
-
function
|
|
64693
|
+
function pl(e, t) {
|
|
64694
64694
|
return t != null && t.loadBalanced ? We.ServerType.LoadBalancer : !e || !e.ok ? We.ServerType.Unknown : e.isreplicaset ? We.ServerType.RSGhost : e.msg && e.msg === "isdbgrid" ? We.ServerType.Mongos : e.setName ? e.hidden ? We.ServerType.RSOther : e.isWritablePrimary ? We.ServerType.RSPrimary : e.secondary ? We.ServerType.RSSecondary : e.arbiterOnly ? We.ServerType.RSArbiter : We.ServerType.RSOther : We.ServerType.Standalone;
|
|
64695
64695
|
}
|
|
64696
64696
|
function B6(e, t) {
|
|
64697
64697
|
const r = Object.keys(e), n = Object.keys(t);
|
|
64698
64698
|
return r.length === n.length && r.every((i) => t[i] === e[i]);
|
|
64699
64699
|
}
|
|
64700
|
-
function
|
|
64700
|
+
function Cl(e, t) {
|
|
64701
64701
|
if (e == null || t == null || !e.processId.equals(t.processId))
|
|
64702
64702
|
return -1;
|
|
64703
64703
|
const r = typeof e.counter == "bigint" ? rn.Long.fromBigInt(e.counter) : rn.Long.isLong(e.counter) ? e.counter : rn.Long.fromNumber(e.counter), n = typeof t.counter == "bigint" ? rn.Long.fromBigInt(t.counter) : rn.Long.isLong(t.counter) ? t.counter : rn.Long.fromNumber(t.counter);
|
|
@@ -64796,7 +64796,7 @@ function I6(e, { timeoutContext: t, signal: r }) {
|
|
|
64796
64796
|
var xo = {}, pi = {};
|
|
64797
64797
|
Object.defineProperty(pi, "__esModule", { value: !0 });
|
|
64798
64798
|
pi.TopologyDescription = void 0;
|
|
64799
|
-
const v6 = pe, jo = fe, Hi = Q, A1 = ne(), Ae = Ne,
|
|
64799
|
+
const v6 = pe, jo = fe, Hi = Q, A1 = ne(), Ae = Ne, mr = rr, P6 = jo.MIN_SUPPORTED_SERVER_VERSION, L6 = jo.MAX_SUPPORTED_SERVER_VERSION, Va = jo.MIN_SUPPORTED_WIRE_VERSION, Wa = jo.MAX_SUPPORTED_WIRE_VERSION, k6 = /* @__PURE__ */ new Set([Ae.ServerType.Mongos, Ae.ServerType.Unknown]), Ga = /* @__PURE__ */ new Set([Ae.ServerType.Mongos, Ae.ServerType.Standalone]), qa = /* @__PURE__ */ new Set([
|
|
64800
64800
|
Ae.ServerType.RSSecondary,
|
|
64801
64801
|
Ae.ServerType.RSArbiter,
|
|
64802
64802
|
Ae.ServerType.RSOther
|
|
@@ -64808,8 +64808,8 @@ class Gn {
|
|
|
64808
64808
|
constructor(t, r = null, n = null, i = null, o = null, u = null, c = null) {
|
|
64809
64809
|
c = c ?? {}, this.type = t ?? Ae.TopologyType.Unknown, this.servers = r ?? /* @__PURE__ */ new Map(), this.stale = !1, this.compatible = !0, this.heartbeatFrequencyMS = c.heartbeatFrequencyMS ?? 0, this.localThresholdMS = c.localThresholdMS ?? 15, this.setName = n ?? null, this.maxElectionId = o ?? null, this.maxSetVersion = i ?? null, this.commonWireVersion = u ?? 0;
|
|
64810
64810
|
for (const s of this.servers.values())
|
|
64811
|
-
if (!(s.type === Ae.ServerType.Unknown || s.type === Ae.ServerType.LoadBalancer) && (s.minWireVersion >
|
|
64812
|
-
this.compatible = !1, this.compatibilityError = `Server at ${s.address} reports wire version ${s.maxWireVersion}, but this version of the driver requires at least ${
|
|
64811
|
+
if (!(s.type === Ae.ServerType.Unknown || s.type === Ae.ServerType.LoadBalancer) && (s.minWireVersion > Wa && (this.compatible = !1, this.compatibilityError = `Server at ${s.address} requires wire version ${s.minWireVersion}, but this version of the driver only supports up to ${Wa} (MongoDB ${L6})`), s.maxWireVersion < Va)) {
|
|
64812
|
+
this.compatible = !1, this.compatibilityError = `Server at ${s.address} reports wire version ${s.maxWireVersion}, but this version of the driver requires at least ${Va} (MongoDB ${P6}).`;
|
|
64813
64813
|
break;
|
|
64814
64814
|
}
|
|
64815
64815
|
this.logicalSessionTimeoutMinutes = null;
|
|
@@ -64842,11 +64842,11 @@ class Gn {
|
|
|
64842
64842
|
if (o.size > 0) {
|
|
64843
64843
|
if (r === 0)
|
|
64844
64844
|
for (const s of o)
|
|
64845
|
-
c.set(s, new
|
|
64845
|
+
c.set(s, new mr.ServerDescription(s));
|
|
64846
64846
|
else if (c.size < r) {
|
|
64847
64847
|
const s = (0, A1.shuffle)(o, r - c.size);
|
|
64848
64848
|
for (const a of s)
|
|
64849
|
-
c.set(a, new
|
|
64849
|
+
c.set(a, new mr.ServerDescription(a));
|
|
64850
64850
|
}
|
|
64851
64851
|
}
|
|
64852
64852
|
return new Gn(this.type, c, this.setName, this.maxSetVersion, this.maxElectionId, this.commonWireVersion, { heartbeatFrequencyMS: this.heartbeatFrequencyMS, localThresholdMS: this.localThresholdMS });
|
|
@@ -64859,24 +64859,24 @@ class Gn {
|
|
|
64859
64859
|
const r = t.address;
|
|
64860
64860
|
let { type: n, setName: i, maxSetVersion: o, maxElectionId: u, commonWireVersion: c } = this;
|
|
64861
64861
|
const s = t.type, a = new Map(this.servers);
|
|
64862
|
-
if (t.maxWireVersion !== 0 && (c === 0 ? c = t.maxWireVersion : c = Math.min(c, t.maxWireVersion)), typeof t.setName == "string" && typeof i == "string" && t.setName !== i && (n === Ae.TopologyType.Single ? t = new
|
|
64862
|
+
if (t.maxWireVersion !== 0 && (c === 0 ? c = t.maxWireVersion : c = Math.min(c, t.maxWireVersion)), typeof t.setName == "string" && typeof i == "string" && t.setName !== i && (n === Ae.TopologyType.Single ? t = new mr.ServerDescription(r) : a.delete(r)), a.set(r, t), n === Ae.TopologyType.Single)
|
|
64863
64863
|
return new Gn(Ae.TopologyType.Single, a, i, o, u, c, { heartbeatFrequencyMS: this.heartbeatFrequencyMS, localThresholdMS: this.localThresholdMS });
|
|
64864
64864
|
if (n === Ae.TopologyType.Unknown && (s === Ae.ServerType.Standalone && this.servers.size !== 1 ? a.delete(r) : n = U6(s)), n === Ae.TopologyType.Sharded && (k6.has(s) || a.delete(r)), n === Ae.TopologyType.ReplicaSetNoPrimary) {
|
|
64865
|
-
if (
|
|
64866
|
-
const E =
|
|
64865
|
+
if (Ga.has(s) && a.delete(r), s === Ae.ServerType.RSPrimary) {
|
|
64866
|
+
const E = Ha(a, t, i, o, u);
|
|
64867
64867
|
n = E[0], i = E[1], o = E[2], u = E[3];
|
|
64868
|
-
} else if (
|
|
64868
|
+
} else if (qa.has(s)) {
|
|
64869
64869
|
const E = j6(a, t, i);
|
|
64870
64870
|
n = E[0], i = E[1];
|
|
64871
64871
|
}
|
|
64872
64872
|
}
|
|
64873
64873
|
if (n === Ae.TopologyType.ReplicaSetWithPrimary)
|
|
64874
|
-
if (
|
|
64874
|
+
if (Ga.has(s))
|
|
64875
64875
|
a.delete(r), n = Fr(a);
|
|
64876
64876
|
else if (s === Ae.ServerType.RSPrimary) {
|
|
64877
|
-
const E =
|
|
64877
|
+
const E = Ha(a, t, i, o, u);
|
|
64878
64878
|
n = E[0], i = E[1], o = E[2], u = E[3];
|
|
64879
|
-
} else
|
|
64879
|
+
} else qa.has(s) ? n = x6(a, t, i) : n = Fr(a);
|
|
64880
64880
|
return new Gn(n, a, i, o, u, c, { heartbeatFrequencyMS: this.heartbeatFrequencyMS, localThresholdMS: this.localThresholdMS });
|
|
64881
64881
|
}
|
|
64882
64882
|
get error() {
|
|
@@ -64928,7 +64928,7 @@ function U6(e) {
|
|
|
64928
64928
|
return Ae.TopologyType.Unknown;
|
|
64929
64929
|
}
|
|
64930
64930
|
}
|
|
64931
|
-
function
|
|
64931
|
+
function Ha(e, t, r = null, n = null, i = null) {
|
|
64932
64932
|
const o = (s, a, E) => `primary marked stale due to electionId/setVersion mismatch: server setVersion: ${s.setVersion}, server electionId: ${s.electionId}, topology setVersion: ${a}, topology electionId: ${E}`;
|
|
64933
64933
|
if (r = r || t.setName, r !== t.setName)
|
|
64934
64934
|
return e.delete(t.address), [Fr(e), r, n, i];
|
|
@@ -64937,14 +64937,14 @@ function qa(e, t, r = null, n = null, i = null) {
|
|
|
64937
64937
|
if (E || a && h)
|
|
64938
64938
|
i = t.electionId, n = t.setVersion;
|
|
64939
64939
|
else
|
|
64940
|
-
return e.set(t.address, new
|
|
64940
|
+
return e.set(t.address, new mr.ServerDescription(t.address, void 0, {
|
|
64941
64941
|
error: new Hi.MongoStalePrimaryError(o(t, n, i))
|
|
64942
64942
|
})), [Fr(e), r, n, i];
|
|
64943
64943
|
} else {
|
|
64944
64944
|
const s = t.electionId ? t.electionId : null;
|
|
64945
64945
|
if (t.setVersion && s) {
|
|
64946
64946
|
if (n && i && (n > t.setVersion || (0, A1.compareObjectId)(i, s) > 0))
|
|
64947
|
-
return e.set(t.address, new
|
|
64947
|
+
return e.set(t.address, new mr.ServerDescription(t.address, void 0, {
|
|
64948
64948
|
error: new Hi.MongoStalePrimaryError(o(t, n, i))
|
|
64949
64949
|
})), [Fr(e), r, n, i];
|
|
64950
64950
|
i = t.electionId;
|
|
@@ -64953,13 +64953,13 @@ function qa(e, t, r = null, n = null, i = null) {
|
|
|
64953
64953
|
}
|
|
64954
64954
|
for (const [s, a] of e)
|
|
64955
64955
|
if (a.type === Ae.ServerType.RSPrimary && a.address !== t.address) {
|
|
64956
|
-
e.set(s, new
|
|
64956
|
+
e.set(s, new mr.ServerDescription(a.address, void 0, {
|
|
64957
64957
|
error: new Hi.MongoStalePrimaryError("primary marked stale due to discovery of newer primary")
|
|
64958
64958
|
}));
|
|
64959
64959
|
break;
|
|
64960
64960
|
}
|
|
64961
64961
|
t.allHosts.forEach((s) => {
|
|
64962
|
-
e.has(s) || e.set(s, new
|
|
64962
|
+
e.has(s) || e.set(s, new mr.ServerDescription(s));
|
|
64963
64963
|
});
|
|
64964
64964
|
const u = Array.from(e.keys()), c = t.allHosts;
|
|
64965
64965
|
return u.filter((s) => c.indexOf(s) === -1).forEach((s) => {
|
|
@@ -64974,7 +64974,7 @@ function x6(e, t, r = null) {
|
|
|
64974
64974
|
function j6(e, t, r = null) {
|
|
64975
64975
|
const n = Ae.TopologyType.ReplicaSetNoPrimary;
|
|
64976
64976
|
return r = r ?? t.setName, r !== t.setName ? (e.delete(t.address), [n, r]) : (t.allHosts.forEach((i) => {
|
|
64977
|
-
e.has(i) || e.set(i, new
|
|
64977
|
+
e.has(i) || e.set(i, new mr.ServerDescription(i));
|
|
64978
64978
|
}), t.me && t.address !== t.me && e.delete(t.address), [n, r]);
|
|
64979
64979
|
}
|
|
64980
64980
|
function Fr(e) {
|
|
@@ -64986,7 +64986,7 @@ function Fr(e) {
|
|
|
64986
64986
|
Object.defineProperty(xo, "__esModule", { value: !0 });
|
|
64987
64987
|
xo.getReadPreference = W6;
|
|
64988
64988
|
xo.isSharded = G6;
|
|
64989
|
-
const z6 = Q, Qs = Ke,
|
|
64989
|
+
const z6 = Q, Qs = Ke, Ka = Ne, V6 = pi;
|
|
64990
64990
|
function W6(e) {
|
|
64991
64991
|
let t = (e == null ? void 0 : e.readPreference) ?? Qs.ReadPreference.primary;
|
|
64992
64992
|
if (typeof t == "string" && (t = Qs.ReadPreference.fromString(t)), !(t instanceof Qs.ReadPreference))
|
|
@@ -64994,12 +64994,12 @@ function W6(e) {
|
|
|
64994
64994
|
return t;
|
|
64995
64995
|
}
|
|
64996
64996
|
function G6(e) {
|
|
64997
|
-
return e == null ? !1 : e.description && e.description.type ===
|
|
64997
|
+
return e == null ? !1 : e.description && e.description.type === Ka.ServerType.Mongos ? !0 : e.description && e.description instanceof V6.TopologyDescription ? Array.from(e.description.servers.values()).some((r) => r.type === Ka.ServerType.Mongos) : !1;
|
|
64998
64998
|
}
|
|
64999
64999
|
Object.defineProperty(It, "__esModule", { value: !0 });
|
|
65000
65000
|
It.CryptoConnection = It.SizedMessageTransform = It.Connection = void 0;
|
|
65001
65001
|
It.hasSessionSupport = $6;
|
|
65002
|
-
const q6 = ao,
|
|
65002
|
+
const q6 = ao, Sl = gn, H6 = pe, ur = Ve, ve = Q, Ya = Cr, K6 = Je, Y6 = Ke, X6 = Ne, Xa = ut, Ja = Te, ht = ne(), Zs = Su, Li = Po(), J6 = Uo, Q6 = Lo(), Z6 = yu, qn = De(), $s = xo;
|
|
65003
65003
|
function $6(e) {
|
|
65004
65004
|
return e.description.logicalSessionTimeoutMinutes != null;
|
|
65005
65005
|
}
|
|
@@ -65011,7 +65011,7 @@ function em(e, t) {
|
|
|
65011
65011
|
}
|
|
65012
65012
|
const Ze = class Ze extends K6.TypedEventEmitter {
|
|
65013
65013
|
constructor(t, r) {
|
|
65014
|
-
super(), this.lastHelloMS = -1, this.helloOk = !1, this.delayedTimeoutId = null, this.closed = !1, this.clusterTime = null, this.error = null, this.dataEvents = null, this.on("error", ht.noop), this.socket = t, this.id = r.id, this.address = em(t, r), this.socketTimeoutMS = r.socketTimeoutMS ?? 0, this.monitorCommands = r.monitorCommands, this.serverApi = r.serverApi, this.mongoLogger = r.mongoLogger, this.established = !1, this.description = new J6.StreamDescription(this.address, r), this.generation = r.generation, this.lastUseTime = (0, ht.processTimeMS)(), this.messageStream = this.socket.on("error", this.onSocketError.bind(this)).pipe(new
|
|
65014
|
+
super(), this.lastHelloMS = -1, this.helloOk = !1, this.delayedTimeoutId = null, this.closed = !1, this.clusterTime = null, this.error = null, this.dataEvents = null, this.on("error", ht.noop), this.socket = t, this.id = r.id, this.address = em(t, r), this.socketTimeoutMS = r.socketTimeoutMS ?? 0, this.monitorCommands = r.monitorCommands, this.serverApi = r.serverApi, this.mongoLogger = r.mongoLogger, this.established = !1, this.description = new J6.StreamDescription(this.address, r), this.generation = r.generation, this.lastUseTime = (0, ht.processTimeMS)(), this.messageStream = this.socket.on("error", this.onSocketError.bind(this)).pipe(new yl({ connection: this })).on("error", this.onTransformError.bind(this)), this.socket.on("close", this.onClose.bind(this)), this.socket.on("timeout", this.onTimeout.bind(this)), this.messageStream.pause();
|
|
65015
65015
|
}
|
|
65016
65016
|
get hello() {
|
|
65017
65017
|
return this.description.hello;
|
|
@@ -65039,7 +65039,7 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65039
65039
|
}
|
|
65040
65040
|
get shouldEmitAndLogCommand() {
|
|
65041
65041
|
var t, r;
|
|
65042
|
-
return (this.monitorCommands || this.established && !((t = this.authContext) != null && t.reauthenticating) && ((r = this.mongoLogger) == null ? void 0 : r.willLog(
|
|
65042
|
+
return (this.monitorCommands || this.established && !((t = this.authContext) != null && t.reauthenticating) && ((r = this.mongoLogger) == null ? void 0 : r.willLog(Ya.MongoLoggableComponent.COMMAND, Ya.SeverityLevel.DEBUG))) ?? !1;
|
|
65043
65043
|
}
|
|
65044
65044
|
markAvailable() {
|
|
65045
65045
|
this.lastUseTime = (0, ht.processTimeMS)();
|
|
@@ -65058,7 +65058,7 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65058
65058
|
this.cleanup(new ve.MongoNetworkError(t));
|
|
65059
65059
|
}
|
|
65060
65060
|
onTimeout() {
|
|
65061
|
-
this.delayedTimeoutId = (0,
|
|
65061
|
+
this.delayedTimeoutId = (0, Sl.setTimeout)(() => {
|
|
65062
65062
|
const t = `connection ${this.id} to ${this.address} timed out`, r = this.hello == null;
|
|
65063
65063
|
this.cleanup(new ve.MongoNetworkTimeoutError(t, { beforeHandshake: r }));
|
|
65064
65064
|
}, 1).unref();
|
|
@@ -65093,7 +65093,7 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65093
65093
|
}
|
|
65094
65094
|
if (this.hasSessionSupport && u) {
|
|
65095
65095
|
u.clusterTime && c && u.clusterTime.clusterTime.greaterThan(c.clusterTime) && (c = u.clusterTime);
|
|
65096
|
-
const h = (0,
|
|
65096
|
+
const h = (0, Xa.applySession)(u, i, n);
|
|
65097
65097
|
if (h)
|
|
65098
65098
|
throw h;
|
|
65099
65099
|
} else if (u != null && u.explicit)
|
|
@@ -65153,7 +65153,7 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65153
65153
|
try {
|
|
65154
65154
|
this.throwIfAborted();
|
|
65155
65155
|
for await (s of this.sendWire(o, n, i)) {
|
|
65156
|
-
if (a = void 0, n.session != null && (0,
|
|
65156
|
+
if (a = void 0, n.session != null && (0, Xa.updateSessionFromResponse)(n.session, s), s.$clusterTime && (this.clusterTime = s.$clusterTime, this.emit(Ze.CLUSTER_TIME_RECEIVED, s.$clusterTime)), s.ok === 0)
|
|
65157
65157
|
throw (h = n.timeoutContext) != null && h.csotEnabled() && s.isMaxTimeExpiredError ? new ve.MongoOperationTimeoutError("Server reported a timeout error", {
|
|
65158
65158
|
cause: new ve.MongoServerError(a ?? (a = s.toObject(c)))
|
|
65159
65159
|
}) : new ve.MongoServerError(a ?? (a = s.toObject(c)));
|
|
@@ -65221,7 +65221,7 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65221
65221
|
try {
|
|
65222
65222
|
return await c;
|
|
65223
65223
|
} catch (h) {
|
|
65224
|
-
if (
|
|
65224
|
+
if (Ja.TimeoutError.is(h)) {
|
|
65225
65225
|
const g = new ve.MongoOperationTimeoutError("Timed out at socket write");
|
|
65226
65226
|
throw this.onError(g), g;
|
|
65227
65227
|
} else h === ((E = r.signal) == null ? void 0 : E.reason) && this.onError(h);
|
|
@@ -65249,7 +65249,7 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65249
65249
|
return;
|
|
65250
65250
|
}
|
|
65251
65251
|
} catch (n) {
|
|
65252
|
-
if (
|
|
65252
|
+
if (Ja.TimeoutError.is(n)) {
|
|
65253
65253
|
const i = new ve.MongoOperationTimeoutError(`Timed out during socket read (${n.duration}ms)`);
|
|
65254
65254
|
throw this.dataEvents = null, this.onError(i), i;
|
|
65255
65255
|
} else n === ((r = t.signal) == null ? void 0 : r.reason) && this.onError(n);
|
|
@@ -65259,15 +65259,15 @@ const Ze = class Ze extends K6.TypedEventEmitter {
|
|
|
65259
65259
|
}
|
|
65260
65260
|
}
|
|
65261
65261
|
};
|
|
65262
|
-
Ze.COMMAND_STARTED =
|
|
65262
|
+
Ze.COMMAND_STARTED = ur.COMMAND_STARTED, Ze.COMMAND_SUCCEEDED = ur.COMMAND_SUCCEEDED, Ze.COMMAND_FAILED = ur.COMMAND_FAILED, Ze.CLUSTER_TIME_RECEIVED = ur.CLUSTER_TIME_RECEIVED, Ze.CLOSE = ur.CLOSE, Ze.PINNED = ur.PINNED, Ze.UNPINNED = ur.UNPINNED;
|
|
65263
65263
|
let eo = Ze;
|
|
65264
65264
|
It.Connection = eo;
|
|
65265
|
-
class
|
|
65265
|
+
class yl extends q6.Transform {
|
|
65266
65266
|
constructor({ connection: t }) {
|
|
65267
65267
|
super({ writableObjectMode: !1, readableObjectMode: !0 }), this.bufferPool = new ht.BufferPool(), this.connection = t;
|
|
65268
65268
|
}
|
|
65269
65269
|
_transform(t, r, n) {
|
|
65270
|
-
for (this.connection.delayedTimeoutId != null && ((0,
|
|
65270
|
+
for (this.connection.delayedTimeoutId != null && ((0, Sl.clearTimeout)(this.connection.delayedTimeoutId), this.connection.delayedTimeoutId = null), this.bufferPool.append(t); this.bufferPool.length; ) {
|
|
65271
65271
|
const i = this.bufferPool.getInt32();
|
|
65272
65272
|
if (i == null)
|
|
65273
65273
|
break;
|
|
@@ -65282,7 +65282,7 @@ class Sl extends q6.Transform {
|
|
|
65282
65282
|
n();
|
|
65283
65283
|
}
|
|
65284
65284
|
}
|
|
65285
|
-
It.SizedMessageTransform =
|
|
65285
|
+
It.SizedMessageTransform = yl;
|
|
65286
65286
|
class tm extends eo {
|
|
65287
65287
|
constructor(t, r) {
|
|
65288
65288
|
super(t, r), this.autoEncrypter = r.autoEncrypter;
|
|
@@ -65306,13 +65306,13 @@ class tm extends eo {
|
|
|
65306
65306
|
// So that we can ensure we have access to the on-demand APIs for decorate response
|
|
65307
65307
|
i ?? qn.MongoDBResponse
|
|
65308
65308
|
), h = await o.decrypt(E.toBytes(), n), g = (i == null ? void 0 : i.make(h)) ?? (0, H6.deserialize)(h, n);
|
|
65309
|
-
return o[
|
|
65309
|
+
return o[ur.kDecorateResult] && (i == null ? (0, ht.decorateDecryptionResult)(g, E.toObject(), !0) : g instanceof qn.CursorResponse && (g.encryptedResponse = E)), g;
|
|
65310
65310
|
}
|
|
65311
65311
|
}
|
|
65312
65312
|
It.CryptoConnection = tm;
|
|
65313
65313
|
(function(e) {
|
|
65314
65314
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.LEGAL_TCP_SOCKET_OPTIONS = e.LEGAL_TLS_SOCKET_OPTIONS = void 0, e.connect = g, e.makeConnection = m, e.performInitialHandshake = S, e.prepareHandshakeDocument = D, e.makeSocket = p;
|
|
65315
|
-
const t = B1, r =
|
|
65315
|
+
const t = B1, r = Pc, n = Ve, i = Qe, o = Q, u = ne(), c = Dt, s = qt, a = It, E = fe;
|
|
65316
65316
|
function h(f) {
|
|
65317
65317
|
f.addErrorLabel(o.MongoErrorLabel.SystemOverloadedError), f.addErrorLabel(o.MongoErrorLabel.RetryableError);
|
|
65318
65318
|
}
|
|
@@ -65595,7 +65595,7 @@ class lm {
|
|
|
65595
65595
|
}
|
|
65596
65596
|
}
|
|
65597
65597
|
Ue.ServerHeartbeatFailedEvent = lm;
|
|
65598
|
-
var Ln = {},
|
|
65598
|
+
var Ln = {}, Ol = {}, Fe = {};
|
|
65599
65599
|
Object.defineProperty(Fe, "__esModule", { value: !0 });
|
|
65600
65600
|
Fe.ConnectionPoolClearedEvent = Fe.ConnectionCheckedInEvent = Fe.ConnectionCheckedOutEvent = Fe.ConnectionCheckOutFailedEvent = Fe.ConnectionCheckOutStartedEvent = Fe.ConnectionClosedEvent = Fe.ConnectionReadyEvent = Fe.ConnectionCreatedEvent = Fe.ConnectionPoolClosedEvent = Fe.ConnectionPoolReadyEvent = Fe.ConnectionPoolCreatedEvent = Fe.ConnectionPoolMonitoringEvent = void 0;
|
|
65601
65601
|
const kt = Ve, Ou = ne();
|
|
@@ -65709,7 +65709,7 @@ class Om extends to.MongoDriverError {
|
|
|
65709
65709
|
}
|
|
65710
65710
|
}
|
|
65711
65711
|
Ft.PoolClosedError = Om;
|
|
65712
|
-
class
|
|
65712
|
+
class wl extends to.MongoNetworkError {
|
|
65713
65713
|
/**
|
|
65714
65714
|
* **Do not use this constructor!**
|
|
65715
65715
|
*
|
|
@@ -65730,8 +65730,8 @@ class Ol extends to.MongoNetworkError {
|
|
|
65730
65730
|
return "MongoPoolClearedError";
|
|
65731
65731
|
}
|
|
65732
65732
|
}
|
|
65733
|
-
Ft.PoolClearedError =
|
|
65734
|
-
class wm extends
|
|
65733
|
+
Ft.PoolClearedError = wl;
|
|
65734
|
+
class wm extends wl {
|
|
65735
65735
|
/**
|
|
65736
65736
|
* **Do not use this constructor!**
|
|
65737
65737
|
*
|
|
@@ -66085,12 +66085,12 @@ Ft.WaitQueueTimeoutError = _m;
|
|
|
66085
66085
|
m.CONNECTION_POOL_CREATED = r.CONNECTION_POOL_CREATED, m.CONNECTION_POOL_CLOSED = r.CONNECTION_POOL_CLOSED, m.CONNECTION_POOL_CLEARED = r.CONNECTION_POOL_CLEARED, m.CONNECTION_POOL_READY = r.CONNECTION_POOL_READY, m.CONNECTION_CREATED = r.CONNECTION_CREATED, m.CONNECTION_READY = r.CONNECTION_READY, m.CONNECTION_CLOSED = r.CONNECTION_CLOSED, m.CONNECTION_CHECK_OUT_STARTED = r.CONNECTION_CHECK_OUT_STARTED, m.CONNECTION_CHECK_OUT_FAILED = r.CONNECTION_CHECK_OUT_FAILED, m.CONNECTION_CHECKED_OUT = r.CONNECTION_CHECKED_OUT, m.CONNECTION_CHECKED_IN = r.CONNECTION_CHECKED_IN;
|
|
66086
66086
|
let g = m;
|
|
66087
66087
|
e.ConnectionPool = g;
|
|
66088
|
-
})(
|
|
66089
|
-
var
|
|
66090
|
-
function
|
|
66091
|
-
if (
|
|
66092
|
-
|
|
66093
|
-
const e = It, t =
|
|
66088
|
+
})(Ol);
|
|
66089
|
+
var Qa;
|
|
66090
|
+
function _l() {
|
|
66091
|
+
if (Qa) return Ln;
|
|
66092
|
+
Qa = 1, Object.defineProperty(Ln, "__esModule", { value: !0 }), Ln.Server = void 0;
|
|
66093
|
+
const e = It, t = Ol, r = Ft, n = Ve, i = Q, o = Je, u = ii, c = z1, s = ne(), a = ct(), E = Ne, h = Dl(), g = rr, m = pn, C = (0, s.makeStateMachine)({
|
|
66094
66094
|
[E.STATE_CLOSED]: [E.STATE_CLOSED, E.STATE_CONNECTING],
|
|
66095
66095
|
[E.STATE_CONNECTING]: [E.STATE_CONNECTING, E.STATE_CLOSING, E.STATE_CONNECTED, E.STATE_CLOSED],
|
|
66096
66096
|
[E.STATE_CONNECTED]: [E.STATE_CONNECTED, E.STATE_CLOSING, E.STATE_CLOSED],
|
|
@@ -66298,11 +66298,11 @@ function wl() {
|
|
|
66298
66298
|
}
|
|
66299
66299
|
return Ln;
|
|
66300
66300
|
}
|
|
66301
|
-
var
|
|
66302
|
-
function
|
|
66303
|
-
return
|
|
66301
|
+
var Za;
|
|
66302
|
+
function Dl() {
|
|
66303
|
+
return Za || (Za = 1, function(e) {
|
|
66304
66304
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.RTTSampler = e.MonitorInterval = e.RTTPinger = e.Monitor = e.ServerMonitoringMode = void 0;
|
|
66305
|
-
const t = gn, r = pe, n = Cu, i =
|
|
66305
|
+
const t = gn, r = pe, n = Cu, i = Sr, o = Ve, u = Q, c = Cr, s = Je, a = ne(), E = Ne, h = Ue, g = _l(), m = "idle", C = "monitoring", S = (0, a.makeStateMachine)({
|
|
66306
66306
|
[E.STATE_CLOSING]: [E.STATE_CLOSING, m, E.STATE_CLOSED],
|
|
66307
66307
|
[E.STATE_CLOSED]: [E.STATE_CLOSED, C],
|
|
66308
66308
|
[m]: [m, C, E.STATE_CLOSING],
|
|
@@ -66618,11 +66618,11 @@ function _l() {
|
|
|
66618
66618
|
e.RTTSampler = T;
|
|
66619
66619
|
}(Js)), Js;
|
|
66620
66620
|
}
|
|
66621
|
-
var
|
|
66622
|
-
function
|
|
66623
|
-
return
|
|
66621
|
+
var $a;
|
|
66622
|
+
function Tl() {
|
|
66623
|
+
return $a || ($a = 1, function(e) {
|
|
66624
66624
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DEFAULT_OPTIONS = e.OPTIONS = void 0, e.resolveSRVRecord = l, e.parseOptions = R;
|
|
66625
|
-
const t = T1, r =
|
|
66625
|
+
const t = T1, r = El(), n = Ar, i = o2, o = Fo, u = qt, c = Lo(), s = O6(), a = Q, E = En(), h = Cr, g = Pt, m = Ke, C = Dl(), S = ne(), D = ct(), O = ["authSource", "replicaSet", "loadBalanced"], M = "loadBalanced option only supported with a single host in the URI", p = "loadBalanced option not supported with a replicaSet option", B = "loadBalanced option not supported when directConnection is provided";
|
|
66626
66626
|
function d(I) {
|
|
66627
66627
|
return async function(x) {
|
|
66628
66628
|
try {
|
|
@@ -67451,7 +67451,7 @@ function Dl() {
|
|
|
67451
67451
|
var Ci = {}, zo = {}, wu = {};
|
|
67452
67452
|
Object.defineProperty(wu, "__esModule", { value: !0 });
|
|
67453
67453
|
wu.aws4Sign = Dm;
|
|
67454
|
-
const ro = pe,
|
|
67454
|
+
const ro = pe, ec = async (e) => {
|
|
67455
67455
|
const t = p1(e), r = await crypto.subtle.digest("SHA-256", t);
|
|
67456
67456
|
return ro.BSON.onDemand.ByteUtils.toHex(new Uint8Array(r));
|
|
67457
67457
|
}, kn = async (e, t) => {
|
|
@@ -67475,7 +67475,7 @@ async function Dm(e, t) {
|
|
|
67475
67475
|
});
|
|
67476
67476
|
"sessionToken" in t && t.sessionToken && s.append("x-amz-security-token", Dr(t.sessionToken));
|
|
67477
67477
|
const a = Array.from(s.entries()).map(([w, T]) => `${w.toLowerCase()}:${T}`).sort().join(`
|
|
67478
|
-
`), h = Array.from(s.keys()).map((w) => w.toLowerCase()).sort().join(";"), g = await
|
|
67478
|
+
`), h = Array.from(s.keys()).map((w) => w.toLowerCase()).sort().join(";"), g = await ec(e.body), m = [
|
|
67479
67479
|
o,
|
|
67480
67480
|
u,
|
|
67481
67481
|
c,
|
|
@@ -67484,7 +67484,7 @@ async function Dm(e, t) {
|
|
|
67484
67484
|
h,
|
|
67485
67485
|
g
|
|
67486
67486
|
].join(`
|
|
67487
|
-
`), C = await
|
|
67487
|
+
`), C = await ec(m), S = "AWS4-HMAC-SHA256", D = `${i}/${e.region}/${e.service}/aws4_request`, O = [S, n, D, C].join(`
|
|
67488
67488
|
`), M = await kn("AWS4" + t.secretAccessKey, i), p = await kn(M, e.region), B = await kn(p, e.service), d = await kn(B, "aws4_request"), b = await kn(d, O), f = ro.BSON.onDemand.ByteUtils.toHex(b);
|
|
67489
67489
|
return {
|
|
67490
67490
|
Authorization: [
|
|
@@ -67579,7 +67579,7 @@ var r1 = {}, Un = {}, Qt = {}, Vo = {};
|
|
|
67579
67579
|
Object.defineProperty(Vo, "__esModule", { value: !0 });
|
|
67580
67580
|
Vo.finishCommandDocument = Pm;
|
|
67581
67581
|
Vo.startCommandDocument = Lm;
|
|
67582
|
-
const hn = pe,
|
|
67582
|
+
const hn = pe, Bl = qt;
|
|
67583
67583
|
function Pm(e, t) {
|
|
67584
67584
|
return t != null ? {
|
|
67585
67585
|
saslContinue: 1,
|
|
@@ -67587,7 +67587,7 @@ function Pm(e, t) {
|
|
|
67587
67587
|
payload: new hn.Binary(hn.BSON.serialize({ jwt: e }))
|
|
67588
67588
|
} : {
|
|
67589
67589
|
saslStart: 1,
|
|
67590
|
-
mechanism:
|
|
67590
|
+
mechanism: Bl.AuthMechanism.MONGODB_OIDC,
|
|
67591
67591
|
payload: new hn.Binary(hn.BSON.serialize({ jwt: e }))
|
|
67592
67592
|
};
|
|
67593
67593
|
}
|
|
@@ -67596,13 +67596,13 @@ function Lm(e) {
|
|
|
67596
67596
|
return e.username && (t.n = e.username), {
|
|
67597
67597
|
saslStart: 1,
|
|
67598
67598
|
autoAuthorize: 1,
|
|
67599
|
-
mechanism:
|
|
67599
|
+
mechanism: Bl.AuthMechanism.MONGODB_OIDC,
|
|
67600
67600
|
payload: new hn.Binary(hn.BSON.serialize(t))
|
|
67601
67601
|
};
|
|
67602
67602
|
}
|
|
67603
67603
|
Object.defineProperty(Qt, "__esModule", { value: !0 });
|
|
67604
67604
|
Qt.CallbackWorkflow = Qt.AUTOMATED_TIMEOUT_MS = Qt.HUMAN_TIMEOUT_MS = void 0;
|
|
67605
|
-
const km =
|
|
67605
|
+
const km = Rc, Um = Q, tc = ne(), n1 = Vo;
|
|
67606
67606
|
Qt.HUMAN_TIMEOUT_MS = 3e5;
|
|
67607
67607
|
Qt.AUTOMATED_TIMEOUT_MS = 6e4;
|
|
67608
67608
|
const xm = ["accessToken", "expiresInSeconds", "refreshToken"], jm = "User provided OIDC callbacks must return a valid object with an accessToken.", i1 = 100;
|
|
@@ -67641,13 +67641,13 @@ class zm {
|
|
|
67641
67641
|
*/
|
|
67642
67642
|
async startAuthentication(t, r, n) {
|
|
67643
67643
|
let i;
|
|
67644
|
-
return n != null && n.speculativeAuthenticate ? i = n.speculativeAuthenticate : i = await t.command((0,
|
|
67644
|
+
return n != null && n.speculativeAuthenticate ? i = n.speculativeAuthenticate : i = await t.command((0, tc.ns)(r.source), (0, n1.startCommandDocument)(r), void 0), i;
|
|
67645
67645
|
}
|
|
67646
67646
|
/**
|
|
67647
67647
|
* Finishes the callback authentication process.
|
|
67648
67648
|
*/
|
|
67649
67649
|
async finishAuthentication(t, r, n, i) {
|
|
67650
|
-
await t.command((0,
|
|
67650
|
+
await t.command((0, tc.ns)(r.source), (0, n1.finishCommandDocument)(n, i), void 0);
|
|
67651
67651
|
}
|
|
67652
67652
|
/**
|
|
67653
67653
|
* Executes the callback and validates the output.
|
|
@@ -67674,10 +67674,10 @@ Qt.CallbackWorkflow = zm;
|
|
|
67674
67674
|
function Vm(e) {
|
|
67675
67675
|
return e == null || typeof e != "object" || !("accessToken" in e) ? !0 : !Object.getOwnPropertyNames(e).every((t) => xm.includes(t));
|
|
67676
67676
|
}
|
|
67677
|
-
var
|
|
67678
|
-
function
|
|
67679
|
-
if (
|
|
67680
|
-
|
|
67677
|
+
var rc;
|
|
67678
|
+
function bl() {
|
|
67679
|
+
if (rc) return Un;
|
|
67680
|
+
rc = 1, Object.defineProperty(Un, "__esModule", { value: !0 }), Un.AutomatedCallbackWorkflow = void 0;
|
|
67681
67681
|
const e = Q, t = Te, r = _u(), n = Qt;
|
|
67682
67682
|
class i extends n.CallbackWorkflow {
|
|
67683
67683
|
/**
|
|
@@ -67728,7 +67728,7 @@ function Bl() {
|
|
|
67728
67728
|
var Wo = {};
|
|
67729
67729
|
Object.defineProperty(Wo, "__esModule", { value: !0 });
|
|
67730
67730
|
Wo.callback = void 0;
|
|
67731
|
-
const
|
|
67731
|
+
const nc = gu, C1 = Q, Wm = ne(), Gm = Object.freeze({ Metadata: "true", Accept: "application/json" }), qm = "Azure endpoint did not return a value with only access_token and expires_in properties", Hm = "TOKEN_RESOURCE must be set in the auth mechanism properties when ENVIRONMENT is azure.", Km = async (e) => {
|
|
67732
67732
|
const t = e.tokenAudience, r = e.username;
|
|
67733
67733
|
if (!t)
|
|
67734
67734
|
throw new C1.MongoAzureError(Hm);
|
|
@@ -67739,8 +67739,8 @@ const rc = gu, C1 = Q, Wm = ne(), Gm = Object.freeze({ Metadata: "true", Accept:
|
|
|
67739
67739
|
};
|
|
67740
67740
|
Wo.callback = Km;
|
|
67741
67741
|
async function Ym(e, t) {
|
|
67742
|
-
const r = new URL(
|
|
67743
|
-
(0,
|
|
67742
|
+
const r = new URL(nc.AZURE_BASE_URL);
|
|
67743
|
+
(0, nc.addAzureParams)(r, e, t);
|
|
67744
67744
|
const n = await (0, Wm.get)(r, {
|
|
67745
67745
|
headers: Gm
|
|
67746
67746
|
});
|
|
@@ -67758,10 +67758,10 @@ function Xm(e) {
|
|
|
67758
67758
|
var Go = {};
|
|
67759
67759
|
Object.defineProperty(Go, "__esModule", { value: !0 });
|
|
67760
67760
|
Go.callback = void 0;
|
|
67761
|
-
const
|
|
67761
|
+
const Ml = Q, Jm = ne(), Qm = "http://metadata/computeMetadata/v1/instance/service-accounts/default/identity", Zm = Object.freeze({ "Metadata-Flavor": "Google" }), $m = "TOKEN_RESOURCE must be set in the auth mechanism properties when ENVIRONMENT is gcp.", eE = async (e) => {
|
|
67762
67762
|
const t = e.tokenAudience;
|
|
67763
67763
|
if (!t)
|
|
67764
|
-
throw new
|
|
67764
|
+
throw new Ml.MongoGCPError($m);
|
|
67765
67765
|
return await tE(t);
|
|
67766
67766
|
};
|
|
67767
67767
|
Go.callback = eE;
|
|
@@ -67772,15 +67772,15 @@ async function tE(e) {
|
|
|
67772
67772
|
headers: Zm
|
|
67773
67773
|
});
|
|
67774
67774
|
if (r.status !== 200)
|
|
67775
|
-
throw new
|
|
67775
|
+
throw new Ml.MongoGCPError(`Status code ${r.status} returned from the GCP endpoint. Response body: ${r.body}`);
|
|
67776
67776
|
return { accessToken: r.body };
|
|
67777
67777
|
}
|
|
67778
67778
|
var qo = {};
|
|
67779
67779
|
Object.defineProperty(qo, "__esModule", { value: !0 });
|
|
67780
67780
|
qo.callback = void 0;
|
|
67781
|
-
const rE =
|
|
67781
|
+
const rE = vc, ki = Ar, nE = "/var/run/secrets/kubernetes.io/serviceaccount/token", ic = "AZURE_FEDERATED_TOKEN_FILE", oc = "AWS_WEB_IDENTITY_TOKEN_FILE", iE = async () => {
|
|
67782
67782
|
let e;
|
|
67783
|
-
return ki.env[
|
|
67783
|
+
return ki.env[ic] ? e = ki.env[ic] : ki.env[oc] ? e = ki.env[oc] : e = nE, { accessToken: await (0, rE.readFile)(e, "utf8") };
|
|
67784
67784
|
};
|
|
67785
67785
|
qo.callback = iE;
|
|
67786
67786
|
var Si = {};
|
|
@@ -67828,18 +67828,18 @@ Si.TokenCache = sE;
|
|
|
67828
67828
|
var Ho = {};
|
|
67829
67829
|
Object.defineProperty(Ho, "__esModule", { value: !0 });
|
|
67830
67830
|
Ho.callback = void 0;
|
|
67831
|
-
const uE = D1, aE =
|
|
67831
|
+
const uE = D1, aE = Ar, cE = Q, lE = "OIDC_TOKEN_FILE must be set in the environment.", hE = async () => {
|
|
67832
67832
|
const e = aE.env.OIDC_TOKEN_FILE;
|
|
67833
67833
|
if (!e)
|
|
67834
67834
|
throw new cE.MongoAWSError(lE);
|
|
67835
67835
|
return { accessToken: await uE.promises.readFile(e, "utf8") };
|
|
67836
67836
|
};
|
|
67837
67837
|
Ho.callback = hE;
|
|
67838
|
-
var
|
|
67838
|
+
var sc;
|
|
67839
67839
|
function _u() {
|
|
67840
|
-
return
|
|
67840
|
+
return sc || (sc = 1, function(e) {
|
|
67841
67841
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MongoDBOIDC = e.OIDC_WORKFLOWS = e.OIDC_VERSION = void 0;
|
|
67842
|
-
const t = Q, r = Dt, n =
|
|
67842
|
+
const t = Q, r = Dt, n = bl(), i = Wo, o = Go, u = qo, c = Si, s = Ho, a = "AuthContext must provide credentials.";
|
|
67843
67843
|
e.OIDC_VERSION = 1, e.OIDC_WORKFLOWS = /* @__PURE__ */ new Map(), e.OIDC_WORKFLOWS.set("test", () => new n.AutomatedCallbackWorkflow(new c.TokenCache(), s.callback)), e.OIDC_WORKFLOWS.set("azure", () => new n.AutomatedCallbackWorkflow(new c.TokenCache(), i.callback)), e.OIDC_WORKFLOWS.set("gcp", () => new n.AutomatedCallbackWorkflow(new c.TokenCache(), o.callback)), e.OIDC_WORKFLOWS.set("k8s", () => new n.AutomatedCallbackWorkflow(new c.TokenCache(), u.callback));
|
|
67844
67844
|
class E extends r.AuthProvider {
|
|
67845
67845
|
/**
|
|
@@ -67881,7 +67881,7 @@ function _u() {
|
|
|
67881
67881
|
var Ko = {};
|
|
67882
67882
|
Object.defineProperty(Ko, "__esModule", { value: !0 });
|
|
67883
67883
|
Ko.HumanCallbackWorkflow = void 0;
|
|
67884
|
-
const dE = pe, xn = Q,
|
|
67884
|
+
const dE = pe, xn = Q, uc = Te, fE = _u(), s1 = Qt;
|
|
67885
67885
|
class mE extends s1.CallbackWorkflow {
|
|
67886
67886
|
/**
|
|
67887
67887
|
* Instantiate the human callback workflow.
|
|
@@ -67928,11 +67928,11 @@ class mE extends s1.CallbackWorkflow {
|
|
|
67928
67928
|
idpInfo: t
|
|
67929
67929
|
};
|
|
67930
67930
|
r.username && (o.username = r.username), n && (o.refreshToken = n);
|
|
67931
|
-
const u =
|
|
67931
|
+
const u = uc.Timeout.expires(s1.HUMAN_TIMEOUT_MS);
|
|
67932
67932
|
try {
|
|
67933
67933
|
return await Promise.race([this.executeAndValidateCallback(o), u]);
|
|
67934
67934
|
} catch (c) {
|
|
67935
|
-
throw
|
|
67935
|
+
throw uc.TimeoutError.is(c) ? (i.abort(), new xn.MongoOIDCError(`OIDC callback timed out after ${s1.HUMAN_TIMEOUT_MS}ms.`)) : c;
|
|
67936
67936
|
} finally {
|
|
67937
67937
|
u.clear();
|
|
67938
67938
|
}
|
|
@@ -67959,8 +67959,8 @@ class CE extends pE.AuthProvider {
|
|
|
67959
67959
|
}
|
|
67960
67960
|
Yo.Plain = CE;
|
|
67961
67961
|
var mn = {};
|
|
67962
|
-
const
|
|
67963
|
-
function
|
|
67962
|
+
const ac = (e) => e.codePointAt(0), SE = (e) => e[0], yE = (e) => e[e.length - 1];
|
|
67963
|
+
function cc(e) {
|
|
67964
67964
|
const t = [], r = e.length;
|
|
67965
67965
|
for (let n = 0; n < r; n += 1) {
|
|
67966
67966
|
const i = e.charCodeAt(n);
|
|
@@ -67981,7 +67981,7 @@ function Zn({ unassigned_code_points: e, commonly_mapped_to_nothing: t, non_ASCI
|
|
|
67981
67981
|
throw new TypeError("Expected string.");
|
|
67982
67982
|
if (u.length === 0)
|
|
67983
67983
|
return "";
|
|
67984
|
-
const E =
|
|
67984
|
+
const E = cc(u).map((M) => s.get(M) ? 32 : M).filter((M) => !a.get(M)), h = String.fromCodePoint.apply(null, E).normalize("NFKC"), g = cc(h);
|
|
67985
67985
|
if (g.some((M) => n.get(M)))
|
|
67986
67986
|
throw new Error("Prohibited character, see https://tools.ietf.org/html/rfc4013#section-2.3");
|
|
67987
67987
|
if (c.allowUnassigned !== !0 && g.some((p) => e.get(p)))
|
|
@@ -67989,7 +67989,7 @@ function Zn({ unassigned_code_points: e, commonly_mapped_to_nothing: t, non_ASCI
|
|
|
67989
67989
|
const C = g.some((M) => i.get(M)), S = g.some((M) => o.get(M));
|
|
67990
67990
|
if (C && S)
|
|
67991
67991
|
throw new Error("String must not contain RandALCat and LCat at the same time, see https://tools.ietf.org/html/rfc3454#section-6");
|
|
67992
|
-
const D = i.get(
|
|
67992
|
+
const D = i.get(ac(SE(h))), O = i.get(ac(yE(h)));
|
|
67993
67993
|
if (C && !(D && O))
|
|
67994
67994
|
throw new Error("Bidirectional RandALCat character must be the first and the last character of the string, see https://tools.ietf.org/html/rfc3454#section-6");
|
|
67995
67995
|
return h;
|
|
@@ -68032,7 +68032,7 @@ tr.prototype._array = function(e, t) {
|
|
|
68032
68032
|
};
|
|
68033
68033
|
tr.prototype.get = function(e, t) {
|
|
68034
68034
|
var r = this._array(e, t), n = this.path[0], i = r && r[n];
|
|
68035
|
-
return !i && !t && (i = r[n] = new
|
|
68035
|
+
return !i && !t && (i = r[n] = new Fl(e, Xo(this.pageSize)), e >= this.length && (this.length = e + 1)), i && i.buffer === this.deduplicate && this.deduplicate && !t && (i.buffer = TE(i.buffer), i.deduplicate = 0), i;
|
|
68036
68036
|
};
|
|
68037
68037
|
tr.prototype.set = function(e, t) {
|
|
68038
68038
|
var r = this._array(e, !1), n = this.path[0];
|
|
@@ -68042,7 +68042,7 @@ tr.prototype.set = function(e, t) {
|
|
|
68042
68042
|
}
|
|
68043
68043
|
this.deduplicate && t.equals && t.equals(this.deduplicate) && (t = this.deduplicate);
|
|
68044
68044
|
var i = r[n], o = DE(t, this.pageSize);
|
|
68045
|
-
i ? i.buffer = o : r[n] = new
|
|
68045
|
+
i ? i.buffer = o : r[n] = new Fl(e, o);
|
|
68046
68046
|
};
|
|
68047
68047
|
tr.prototype.toBuffer = function() {
|
|
68048
68048
|
for (var e = new Array(this.length), t = Xo(this.pageSize), r = 0; r < e.length; )
|
|
@@ -68071,15 +68071,15 @@ function TE(e) {
|
|
|
68071
68071
|
var t = Buffer.allocUnsafe ? Buffer.allocUnsafe(e.length) : new Buffer(e.length);
|
|
68072
68072
|
return e.copy(t), t;
|
|
68073
68073
|
}
|
|
68074
|
-
function
|
|
68074
|
+
function Fl(e, t) {
|
|
68075
68075
|
this.offset = e * t.length, this.buffer = t, this.updated = !1, this.deduplicate = 0;
|
|
68076
68076
|
}
|
|
68077
68077
|
function BE(e, t) {
|
|
68078
68078
|
e = (e - (t[0] = e & 32767)) / 32768, e = (e - (t[1] = e & 32767)) / 32768, t[3] = (e - (t[2] = e & 32767)) / 32768 & 32767;
|
|
68079
68079
|
}
|
|
68080
|
-
var bE = wE, ME =
|
|
68081
|
-
function
|
|
68082
|
-
if (!(this instanceof
|
|
68080
|
+
var bE = wE, ME = gr;
|
|
68081
|
+
function gr(e) {
|
|
68082
|
+
if (!(this instanceof gr)) return new gr(e);
|
|
68083
68083
|
if (e || (e = {}), Buffer.isBuffer(e) && (e = { buffer: e }), this.pageOffset = e.pageOffset || 0, this.pageSize = e.pageSize || 1024, this.pages = e.pages || bE(this.pageSize), this.byteLength = this.pages.length * this.pageSize, this.length = 8 * this.byteLength, !RE(this.pageSize)) throw new Error("The page size should be a power of two");
|
|
68084
68084
|
if (this._trackUpdates = !!e.trackUpdates, this._pageMask = this.pageSize - 1, e.buffer) {
|
|
68085
68085
|
for (var t = 0; t < e.buffer.length; t += this.pageSize)
|
|
@@ -68087,26 +68087,26 @@ function Er(e) {
|
|
|
68087
68087
|
this.byteLength = e.buffer.length, this.length = 8 * this.byteLength;
|
|
68088
68088
|
}
|
|
68089
68089
|
}
|
|
68090
|
-
|
|
68090
|
+
gr.prototype.get = function(e) {
|
|
68091
68091
|
var t = e & 7, r = (e - t) / 8;
|
|
68092
68092
|
return !!(this.getByte(r) & 128 >> t);
|
|
68093
68093
|
};
|
|
68094
|
-
|
|
68094
|
+
gr.prototype.getByte = function(e) {
|
|
68095
68095
|
var t = e & this._pageMask, r = (e - t) / this.pageSize, n = this.pages.get(r, !0);
|
|
68096
68096
|
return n ? n.buffer[t + this.pageOffset] : 0;
|
|
68097
68097
|
};
|
|
68098
|
-
|
|
68098
|
+
gr.prototype.set = function(e, t) {
|
|
68099
68099
|
var r = e & 7, n = (e - r) / 8, i = this.getByte(n);
|
|
68100
68100
|
return this.setByte(n, t ? i | 128 >> r : i & (255 ^ 128 >> r));
|
|
68101
68101
|
};
|
|
68102
|
-
|
|
68102
|
+
gr.prototype.toBuffer = function() {
|
|
68103
68103
|
for (var e = FE(this.pages.length * this.pageSize), t = 0; t < this.pages.length; t++) {
|
|
68104
68104
|
var r = this.pages.get(t, !0), n = t * this.pageSize;
|
|
68105
68105
|
r && r.buffer.copy(e, n, this.pageOffset, this.pageOffset + this.pageSize);
|
|
68106
68106
|
}
|
|
68107
68107
|
return e;
|
|
68108
68108
|
};
|
|
68109
|
-
|
|
68109
|
+
gr.prototype.setByte = function(e, t) {
|
|
68110
68110
|
var r = e & this._pageMask, n = (e - r) / this.pageSize, i = this.pages.get(n, !1);
|
|
68111
68111
|
return r += this.pageOffset, i.buffer[r] === t ? !1 : (i.buffer[r] = t, e >= this.byteLength && (this.byteLength = e + 1, this.length = this.byteLength * 8), this._trackUpdates && this.pages.updated(i), !0);
|
|
68112
68112
|
};
|
|
@@ -68144,12 +68144,12 @@ function vE(e) {
|
|
|
68144
68144
|
}
|
|
68145
68145
|
var Tu = {};
|
|
68146
68146
|
Object.defineProperty(Tu, "__esModule", { value: !0 });
|
|
68147
|
-
const PE =
|
|
68147
|
+
const PE = Ic;
|
|
68148
68148
|
Tu.default = (0, PE.gunzipSync)(Buffer.from("H4sIAAAAAAACA+3dTYgcaRkA4LemO9Mhxm0FITnE9Cwr4jHgwgZ22B6YywqCJ0HQg5CL4sGTuOjCtGSF4CkHEW856MlTQHD3EJnWkU0Owh5VxE3LHlYQdNxd2U6mU59UV/d09fw4M2EySSXPAzNdP1/9fX/99bzVNZEN4jisRDulVFnQmLxm1aXF9Id/2/xMxNJ4XZlg576yuYlGt9gupV6xoFf8jhu9YvulVrFlp5XSx+lfvYhORGPXvqIRWSxERKtIm8bKFd10WNfKDS5Fo9jJWrq2+M2IlW+8uHgl/+BsROfPF4v5L7148Ur68Sha6dqZpYiVVy8tvLCWXo80Sf/lS89dGX2wHGvpzoXVn75/YWH5wmqe8uika82ViJXTy83Ve2k5Urozm38wm4/ls6t5uT6yfsTSJ7J3T0VKt8c5ExEXI8aFkH729c3eT+7EC6ca8cVULZUiYacX0R5PNWNxlh9L1y90q5kyzrpyy+9WcvOV6URntqw7La9sNVstXyczWVaWYbaaTYqzOHpr7pyiNT3/YzKuT63Z/FqKZlFTiuXtFM2vVOtIq7jiyKJbWZaOWD0euz0yoV2Z7kY0xq2x0YhfzVpmM5px9nTEH7JZ0ot5u39p0ma75Z472/s/H+2yr2inYyuq7fMvJivH2rM72N/Z3lyL31F2b1ya1P0zn816k2KP6JU9UzseucdQH5YqVeH/lFajSN2udg+TLJ9rksNxlvV2lki19rXKI43TPLejFu4ov7k3nMbhyhfY3Xb37f8BAGCf0eMTOH5szf154KmnNgKcnLb+Fzi2AfXktbN7fJelwTAiO/W5uQ2KINXRYu+znqo/WTAdLadURHmy3qciazd3bra4T3w16/f7t7Ms9U5gfJu10955sx1r3vmhBAAAAAAAgId20J1iZbDowNvIjuH427Gr5l/eiC+8OplZON8sVjx/qr9y+Pj+YRItT+NqAM+kkZs3AAAAAID6yfx1FwCAI97/dCh1/ub6SA0AAAAAAAAAgNoT/wcAAAAAAACA+hP/BwAAAAAAAID6E/8HAAAAAAAAgPoT/wcAAAAAAACA+hP/BwAAAAAAAID6E/8HAAAAAAAAgPoT/wcAAAAAAACA+hP/BwAAAAAAAID6E/8HAAAAAAAAgPoT/wcAAAAAAACA+hutp5SiQpYAAAAAAAAAQO2MIpZiT804flnAE2fhwjOeAZXr76kOAAAAAAAA8FjNf4N/l0NE3U/vuVQskLpSd4/Yh2xu9xTu0tFeeNYsLI2f/VMdNxTzj6Je9E/+6pp6Nn3awW3A54goe4Bss6v+PGsjQGMAAAAAAOBp5XEgwH6e7J7rwEQHRb/XvAMAAAAAAAA8yzoDeQDwVGjIAgAAAAAAAACoPfF/AAAAAAAAAKg/8X8AAAAAAAAAqD/xfwAAAAAAAACoP/F/AAAAAAAAAKg/8X8AAAAAAAAAqD/xfwAAAAAAAACoP/F/AAAAAAAAAKg/8X8AAAAAAAAAqD/xfwAAAAAAAACoP/F/AAAAAAAAAKg/8X8AAAAAAAAAqL/GSkSkClkCAAAAAAAAALXTSAAAAAAAAABA3Y1kAQAAAAAAAADUX8RSXZ9dsHC9+M8Fg2Ex/em1lAZpEBGttcrVjZqLEa+k0XpKw9mG4zWx4ukPUMhkAQAAAAAAABzBqbSe3//rXOS9HxGdo4TqR2XkutCdBu+LaPZw/lBbO7cbHnh2C7N7AIo4evEznllqLqWUp/LnYOtpM2bnOH66wI1+9GO4sOuISwv/TOlumu56FDv3NZhc4mR9v7zYIrafr40j/Cccvj9Xns3t3mu99E7qxUv3bqS0/ouNH/08++RGemfQ+nsx/5uNXsQPGulynPvv3ZTW37zd+1ovrqaYpP/122X6Xpx779Z3zr/3YOPKW1lkaRDf31pPaf3j/msRsVGkL+d/f+/m4sJsPm1cfSsr16e8m9Ldj/KsnyIuR3nXw83Is3EhxLd/2V773ks3m/cj/THKUummdP9qKhIOImuOU0Xjwb3y+oqt735rpTetVbF9n8R4x9crRfO77TKqVOZpDclv5bfK18lMnk+q0K18UpxF/RrGXE0Zxtqx3tWSj+vxbL4XaasfKb0dRbtLW73JsfPGg177H+OmGKlfvS1msllt7JEJm9XOJqXR+Fkfo1H66uy5H1v3Xx5+uJmGLw9jro2u7Loj4PnuR6+f+e3d261+eazNhzrL7X83MohoHpS4PddV8ki1it61//pw1g7z6p1U/26Nm2llST57B5rUvuG0XqSU/rPd7jYrqWcbd+beJQ77BgPMDwn37/8BAGCf0eMTOH4cPlufv9VGgJOzqf8Fjm1APXkd7B7f5dF57GPMaWy/MTvjvNvtXj6h8W2+GXvnzXaseeeHEgAAAAAAAB7aQXeKlcGiadBoEOeLb2dtpGOL2MyOtf391a3P/zD96c3JzIP3t4oV797vrh8+vn+YRL5bBuj/AQAAAABqJvfHXQAAHkX82zfXAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACeAgkAAAAAAAAAqLuRLAAAAAAAAACA2hv9D1iu/VAYaAYA", "base64"));
|
|
68149
|
-
var
|
|
68149
|
+
var Rl = xt && xt.__importDefault || function(e) {
|
|
68150
68150
|
return e && e.__esModule ? e : { default: e };
|
|
68151
68151
|
};
|
|
68152
|
-
const LE =
|
|
68152
|
+
const LE = Rl(OE), kE = Du, UE = Rl(Tu), xE = (0, kE.createMemoryCodePoints)(UE.default);
|
|
68153
68153
|
function $n(e, t) {
|
|
68154
68154
|
return (0, LE.default)(xE, e, t);
|
|
68155
68155
|
}
|
|
@@ -68158,8 +68158,8 @@ $n.default = $n;
|
|
|
68158
68158
|
var jE = $n;
|
|
68159
68159
|
Object.defineProperty(mn, "__esModule", { value: !0 });
|
|
68160
68160
|
mn.ScramSHA256 = mn.ScramSHA1 = void 0;
|
|
68161
|
-
const zE = jE, kr =
|
|
68162
|
-
class
|
|
68161
|
+
const zE = jE, kr = Fc, S1 = pe, Mt = Q, no = ne(), VE = Dt, lc = qt;
|
|
68162
|
+
class Nl extends VE.AuthProvider {
|
|
68163
68163
|
constructor(t) {
|
|
68164
68164
|
super(), this.cryptoMethod = t || "sha1";
|
|
68165
68165
|
}
|
|
@@ -68171,20 +68171,20 @@ class Rl extends VE.AuthProvider {
|
|
|
68171
68171
|
return r.nonce = o, {
|
|
68172
68172
|
...t,
|
|
68173
68173
|
speculativeAuthenticate: {
|
|
68174
|
-
...
|
|
68174
|
+
...Pl(n, i, o),
|
|
68175
68175
|
db: i.source
|
|
68176
68176
|
}
|
|
68177
68177
|
};
|
|
68178
68178
|
}
|
|
68179
68179
|
async auth(t) {
|
|
68180
68180
|
const { reauthenticating: r, response: n } = t;
|
|
68181
|
-
return n != null && n.speculativeAuthenticate && !r ? await
|
|
68181
|
+
return n != null && n.speculativeAuthenticate && !r ? await Ll(this.cryptoMethod, n.speculativeAuthenticate, t) : await WE(this.cryptoMethod, t);
|
|
68182
68182
|
}
|
|
68183
68183
|
}
|
|
68184
|
-
function
|
|
68184
|
+
function Il(e) {
|
|
68185
68185
|
return e.replace("=", "=3D").replace(",", "=2C");
|
|
68186
68186
|
}
|
|
68187
|
-
function
|
|
68187
|
+
function vl(e, t) {
|
|
68188
68188
|
return Buffer.concat([
|
|
68189
68189
|
Buffer.from("n=", "utf8"),
|
|
68190
68190
|
Buffer.from(e, "utf8"),
|
|
@@ -68192,12 +68192,12 @@ function Il(e, t) {
|
|
|
68192
68192
|
Buffer.from(t.toString("base64"), "utf8")
|
|
68193
68193
|
]);
|
|
68194
68194
|
}
|
|
68195
|
-
function
|
|
68196
|
-
const n =
|
|
68195
|
+
function Pl(e, t, r) {
|
|
68196
|
+
const n = Il(t.username);
|
|
68197
68197
|
return {
|
|
68198
68198
|
saslStart: 1,
|
|
68199
|
-
mechanism: e === "sha1" ?
|
|
68200
|
-
payload: new S1.Binary(Buffer.concat([Buffer.from("n,,", "utf8"),
|
|
68199
|
+
mechanism: e === "sha1" ? lc.AuthMechanism.MONGODB_SCRAM_SHA1 : lc.AuthMechanism.MONGODB_SCRAM_SHA256,
|
|
68200
|
+
payload: new S1.Binary(Buffer.concat([Buffer.from("n,,", "utf8"), vl(n, r)])),
|
|
68201
68201
|
autoAuthorize: 1,
|
|
68202
68202
|
options: { skipEmptyExchange: !0 }
|
|
68203
68203
|
};
|
|
@@ -68208,30 +68208,30 @@ async function WE(e, t) {
|
|
|
68208
68208
|
throw new Mt.MongoMissingCredentialsError("AuthContext must provide credentials.");
|
|
68209
68209
|
if (!t.nonce)
|
|
68210
68210
|
throw new Mt.MongoInvalidArgumentError("AuthContext must contain a valid nonce property");
|
|
68211
|
-
const i = t.nonce, o = n.source, u =
|
|
68212
|
-
await
|
|
68211
|
+
const i = t.nonce, o = n.source, u = Pl(e, n, i), c = await r.command((0, no.ns)(`${o}.$cmd`), u, void 0);
|
|
68212
|
+
await Ll(e, c, t);
|
|
68213
68213
|
}
|
|
68214
|
-
async function
|
|
68214
|
+
async function Ll(e, t, r) {
|
|
68215
68215
|
const n = r.connection, i = r.credentials;
|
|
68216
68216
|
if (!i)
|
|
68217
68217
|
throw new Mt.MongoMissingCredentialsError("AuthContext must provide credentials.");
|
|
68218
68218
|
if (!r.nonce)
|
|
68219
68219
|
throw new Mt.MongoInvalidArgumentError("Unable to continue SCRAM without valid nonce");
|
|
68220
|
-
const o = r.nonce, u = i.source, c =
|
|
68220
|
+
const o = r.nonce, u = i.source, c = Il(i.username), s = i.password, a = e === "sha256" ? (0, zE.saslprep)(s) : GE(c, s), E = Buffer.isBuffer(t.payload) ? new S1.Binary(t.payload) : t.payload, h = hc(E), g = parseInt(h.i, 10);
|
|
68221
68221
|
if (g && g < 4096)
|
|
68222
68222
|
throw new Mt.MongoRuntimeError(`Server returned an invalid iteration count ${g}`);
|
|
68223
68223
|
const m = h.s, C = h.r;
|
|
68224
68224
|
if (C.startsWith("nonce"))
|
|
68225
68225
|
throw new Mt.MongoRuntimeError(`Server returned an invalid nonce: ${C}`);
|
|
68226
68226
|
const S = `c=biws,r=${C}`, D = XE(a, Buffer.from(m, "base64"), g, e), O = Ui(e, D, "Client Key"), M = Ui(e, D, "Server Key"), p = HE(e, O), B = [
|
|
68227
|
-
|
|
68227
|
+
vl(c, o),
|
|
68228
68228
|
E.toString("utf8"),
|
|
68229
68229
|
S
|
|
68230
68230
|
].join(","), d = Ui(e, p, B), b = `p=${qE(O, d)}`, f = [S, b].join(","), l = Ui(e, M, B), w = {
|
|
68231
68231
|
saslContinue: 1,
|
|
68232
68232
|
conversationId: t.conversationId,
|
|
68233
68233
|
payload: new S1.Binary(Buffer.from(f))
|
|
68234
|
-
}, T = await n.command((0, no.ns)(`${u}.$cmd`), w, void 0), _ =
|
|
68234
|
+
}, T = await n.command((0, no.ns)(`${u}.$cmd`), w, void 0), _ = hc(T.payload);
|
|
68235
68235
|
if (!JE(Buffer.from(_.v, "base64"), l))
|
|
68236
68236
|
throw new Mt.MongoRuntimeError("Server returned an invalid signature");
|
|
68237
68237
|
if (T.done !== !1)
|
|
@@ -68243,7 +68243,7 @@ async function Pl(e, t, r) {
|
|
|
68243
68243
|
};
|
|
68244
68244
|
await n.command((0, no.ns)(`${u}.$cmd`), A, void 0);
|
|
68245
68245
|
}
|
|
68246
|
-
function
|
|
68246
|
+
function hc(e) {
|
|
68247
68247
|
const t = e.toString("utf8"), r = {}, n = t.split(",");
|
|
68248
68248
|
for (let i = 0; i < n.length; i++) {
|
|
68249
68249
|
const o = (n[i].match(/^([^=]*)=(.*)$/) ?? []).slice(1);
|
|
@@ -68304,13 +68304,13 @@ function JE(e, t) {
|
|
|
68304
68304
|
r |= e[n] ^ t[n];
|
|
68305
68305
|
return r === 0;
|
|
68306
68306
|
}
|
|
68307
|
-
class QE extends
|
|
68307
|
+
class QE extends Nl {
|
|
68308
68308
|
constructor() {
|
|
68309
68309
|
super("sha1");
|
|
68310
68310
|
}
|
|
68311
68311
|
}
|
|
68312
68312
|
mn.ScramSHA1 = QE;
|
|
68313
|
-
class ZE extends
|
|
68313
|
+
class ZE extends Nl {
|
|
68314
68314
|
constructor() {
|
|
68315
68315
|
super("sha256");
|
|
68316
68316
|
}
|
|
@@ -68319,39 +68319,39 @@ mn.ScramSHA256 = ZE;
|
|
|
68319
68319
|
var Jo = {};
|
|
68320
68320
|
Object.defineProperty(Jo, "__esModule", { value: !0 });
|
|
68321
68321
|
Jo.X509 = void 0;
|
|
68322
|
-
const
|
|
68322
|
+
const dc = Q, $E = ne(), e4 = Dt;
|
|
68323
68323
|
class t4 extends e4.AuthProvider {
|
|
68324
68324
|
async prepare(t, r) {
|
|
68325
68325
|
const { credentials: n } = r;
|
|
68326
68326
|
if (!n)
|
|
68327
|
-
throw new
|
|
68328
|
-
return { ...t, speculativeAuthenticate:
|
|
68327
|
+
throw new dc.MongoMissingCredentialsError("AuthContext must provide credentials.");
|
|
68328
|
+
return { ...t, speculativeAuthenticate: fc(n) };
|
|
68329
68329
|
}
|
|
68330
68330
|
async auth(t) {
|
|
68331
68331
|
const r = t.connection, n = t.credentials;
|
|
68332
68332
|
if (!n)
|
|
68333
|
-
throw new
|
|
68333
|
+
throw new dc.MongoMissingCredentialsError("AuthContext must provide credentials.");
|
|
68334
68334
|
const i = t.response;
|
|
68335
|
-
i != null && i.speculativeAuthenticate || await r.command((0, $E.ns)("$external.$cmd"),
|
|
68335
|
+
i != null && i.speculativeAuthenticate || await r.command((0, $E.ns)("$external.$cmd"), fc(n), void 0);
|
|
68336
68336
|
}
|
|
68337
68337
|
}
|
|
68338
68338
|
Jo.X509 = t4;
|
|
68339
|
-
function
|
|
68339
|
+
function fc(e) {
|
|
68340
68340
|
const t = { authenticate: 1, mechanism: "MONGODB-X509" };
|
|
68341
68341
|
return e.username && (t.user = e.username), t;
|
|
68342
68342
|
}
|
|
68343
68343
|
Object.defineProperty(Ci, "__esModule", { value: !0 });
|
|
68344
68344
|
Ci.MongoClientAuthProviders = void 0;
|
|
68345
|
-
const r4 = Ro, n4 = zo,
|
|
68345
|
+
const r4 = Ro, n4 = zo, kl = _u(), i4 = bl(), o4 = Ko, mc = Si, s4 = Yo, Tr = qt, Ec = mn, u4 = Jo, Ul = Q, a4 = /* @__PURE__ */ new Map([
|
|
68346
68346
|
[
|
|
68347
68347
|
Tr.AuthMechanism.MONGODB_AWS,
|
|
68348
68348
|
({ AWS_CREDENTIAL_PROVIDER: e }) => new n4.MongoDBAWS(e)
|
|
68349
68349
|
],
|
|
68350
68350
|
[Tr.AuthMechanism.MONGODB_GSSAPI, () => new r4.GSSAPI()],
|
|
68351
|
-
[Tr.AuthMechanism.MONGODB_OIDC, (e) => new
|
|
68351
|
+
[Tr.AuthMechanism.MONGODB_OIDC, (e) => new kl.MongoDBOIDC(l4(e))],
|
|
68352
68352
|
[Tr.AuthMechanism.MONGODB_PLAIN, () => new s4.Plain()],
|
|
68353
|
-
[Tr.AuthMechanism.MONGODB_SCRAM_SHA1, () => new
|
|
68354
|
-
[Tr.AuthMechanism.MONGODB_SCRAM_SHA256, () => new
|
|
68353
|
+
[Tr.AuthMechanism.MONGODB_SCRAM_SHA1, () => new Ec.ScramSHA1()],
|
|
68354
|
+
[Tr.AuthMechanism.MONGODB_SCRAM_SHA256, () => new Ec.ScramSHA256()],
|
|
68355
68355
|
[Tr.AuthMechanism.MONGODB_X509, () => new u4.X509()]
|
|
68356
68356
|
]);
|
|
68357
68357
|
class c4 {
|
|
@@ -68373,7 +68373,7 @@ class c4 {
|
|
|
68373
68373
|
return n;
|
|
68374
68374
|
const i = a4.get(t);
|
|
68375
68375
|
if (!i)
|
|
68376
|
-
throw new
|
|
68376
|
+
throw new Ul.MongoInvalidArgumentError(`authMechanism ${t} not supported`);
|
|
68377
68377
|
const o = i(r);
|
|
68378
68378
|
return this.existingProviders.set(t, o), o;
|
|
68379
68379
|
}
|
|
@@ -68382,13 +68382,13 @@ Ci.MongoClientAuthProviders = c4;
|
|
|
68382
68382
|
function l4(e) {
|
|
68383
68383
|
var t;
|
|
68384
68384
|
if (e.OIDC_HUMAN_CALLBACK)
|
|
68385
|
-
return new o4.HumanCallbackWorkflow(new
|
|
68385
|
+
return new o4.HumanCallbackWorkflow(new mc.TokenCache(), e.OIDC_HUMAN_CALLBACK);
|
|
68386
68386
|
if (e.OIDC_CALLBACK)
|
|
68387
|
-
return new i4.AutomatedCallbackWorkflow(new
|
|
68387
|
+
return new i4.AutomatedCallbackWorkflow(new mc.TokenCache(), e.OIDC_CALLBACK);
|
|
68388
68388
|
{
|
|
68389
|
-
const r = e.ENVIRONMENT, n = (t =
|
|
68389
|
+
const r = e.ENVIRONMENT, n = (t = kl.OIDC_WORKFLOWS.get(r)) == null ? void 0 : t();
|
|
68390
68390
|
if (!n)
|
|
68391
|
-
throw new
|
|
68391
|
+
throw new Ul.MongoInvalidArgumentError(`Could not load workflow for environment ${e.ENVIRONMENT}`);
|
|
68392
68392
|
return n;
|
|
68393
68393
|
}
|
|
68394
68394
|
}
|
|
@@ -68396,7 +68396,7 @@ var jn = {}, Qo = {}, yi = {};
|
|
|
68396
68396
|
Object.defineProperty(yi, "__esModule", { value: !0 });
|
|
68397
68397
|
yi.ClientBulkWriteOperation = void 0;
|
|
68398
68398
|
const h4 = De(), d4 = ne(), f4 = Ie, Br = Me;
|
|
68399
|
-
class
|
|
68399
|
+
class xl extends f4.CommandOperation {
|
|
68400
68400
|
get commandName() {
|
|
68401
68401
|
return "bulkWrite";
|
|
68402
68402
|
}
|
|
@@ -68417,8 +68417,8 @@ class Ul extends f4.CommandOperation {
|
|
|
68417
68417
|
return this.canRetryWrite || (this.options.willRetryWrite = !1), n;
|
|
68418
68418
|
}
|
|
68419
68419
|
}
|
|
68420
|
-
yi.ClientBulkWriteOperation =
|
|
68421
|
-
(0, Br.defineAspects)(
|
|
68420
|
+
yi.ClientBulkWriteOperation = xl;
|
|
68421
|
+
(0, Br.defineAspects)(xl, [
|
|
68422
68422
|
Br.Aspect.WRITE_OPERATION,
|
|
68423
68423
|
Br.Aspect.SKIP_COLLATION,
|
|
68424
68424
|
Br.Aspect.CURSOR_CREATING,
|
|
@@ -68428,11 +68428,11 @@ yi.ClientBulkWriteOperation = Ul;
|
|
|
68428
68428
|
]);
|
|
68429
68429
|
Object.defineProperty(Qo, "__esModule", { value: !0 });
|
|
68430
68430
|
Qo.ClientBulkWriteCursor = void 0;
|
|
68431
|
-
const m4 = yi, E4 = qe,
|
|
68431
|
+
const m4 = yi, E4 = qe, gc = ne(), g4 = tt;
|
|
68432
68432
|
class Bu extends g4.AbstractCursor {
|
|
68433
68433
|
/** @internal */
|
|
68434
68434
|
constructor(t, r, n = {}) {
|
|
68435
|
-
super(t, new
|
|
68435
|
+
super(t, new gc.MongoDBNamespace("admin", "$cmd"), n), this.commandBuilder = r, this.clientBulkWriteOptions = n;
|
|
68436
68436
|
}
|
|
68437
68437
|
/**
|
|
68438
68438
|
* We need a way to get the top level cursor response fields for
|
|
@@ -68445,7 +68445,7 @@ class Bu extends g4.AbstractCursor {
|
|
|
68445
68445
|
return this.commandBuilder.lastOperations;
|
|
68446
68446
|
}
|
|
68447
68447
|
clone() {
|
|
68448
|
-
const t = (0,
|
|
68448
|
+
const t = (0, gc.mergeOptions)({}, this.clientBulkWriteOptions);
|
|
68449
68449
|
return delete t.session, new Bu(this.client, this.commandBuilder, {
|
|
68450
68450
|
...t
|
|
68451
68451
|
});
|
|
@@ -68461,7 +68461,7 @@ class Bu extends g4.AbstractCursor {
|
|
|
68461
68461
|
}
|
|
68462
68462
|
}
|
|
68463
68463
|
Qo.ClientBulkWriteCursor = Bu;
|
|
68464
|
-
var
|
|
68464
|
+
var jl = {};
|
|
68465
68465
|
(function(e) {
|
|
68466
68466
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.buildReplaceOneOperation = e.buildUpdateManyOperation = e.buildUpdateOneOperation = e.buildDeleteManyOperation = e.buildDeleteOneOperation = e.buildInsertOneOperation = e.ClientBulkWriteCommandBuilder = void 0, e.buildOperation = M;
|
|
68467
68467
|
const t = pe, r = Po(), n = Q, i = Gr, o = ne(), u = 1e3;
|
|
@@ -68617,11 +68617,11 @@ var xl = {};
|
|
|
68617
68617
|
return (0, e.buildReplaceOneOperation)(p, B);
|
|
68618
68618
|
}
|
|
68619
68619
|
}
|
|
68620
|
-
})(
|
|
68621
|
-
var zn = {},
|
|
68620
|
+
})(jl);
|
|
68621
|
+
var zn = {}, Ac;
|
|
68622
68622
|
function A4() {
|
|
68623
|
-
if (
|
|
68624
|
-
|
|
68623
|
+
if (Ac) return zn;
|
|
68624
|
+
Ac = 1, Object.defineProperty(zn, "__esModule", { value: !0 }), zn.ClientBulkWriteResultsMerger = void 0;
|
|
68625
68625
|
const e = ts(), t = Q, r = {
|
|
68626
68626
|
acknowledged: !1,
|
|
68627
68627
|
insertedCount: 0,
|
|
@@ -68763,11 +68763,11 @@ function A4() {
|
|
|
68763
68763
|
}
|
|
68764
68764
|
return zn.ClientBulkWriteResultsMerger = n, zn;
|
|
68765
68765
|
}
|
|
68766
|
-
var
|
|
68766
|
+
var pc;
|
|
68767
68767
|
function p4() {
|
|
68768
|
-
if (
|
|
68769
|
-
|
|
68770
|
-
const e = tt, t = Qo, r = Q, n = Te, i = ne(), o = ct(), u = qe, c = yi, s =
|
|
68768
|
+
if (pc) return jn;
|
|
68769
|
+
pc = 1, Object.defineProperty(jn, "__esModule", { value: !0 }), jn.ClientBulkWriteExecutor = void 0;
|
|
68770
|
+
const e = tt, t = Qo, r = Q, n = Te, i = ne(), o = ct(), u = qe, c = yi, s = jl, a = A4();
|
|
68771
68771
|
class E {
|
|
68772
68772
|
/**
|
|
68773
68773
|
* Instantiate the executor.
|
|
@@ -68840,8 +68840,8 @@ function p4() {
|
|
|
68840
68840
|
var Zo = {};
|
|
68841
68841
|
Object.defineProperty(Zo, "__esModule", { value: !0 });
|
|
68842
68842
|
Zo.EndSessionsOperation = void 0;
|
|
68843
|
-
const C4 = De(), S4 = Ie, y4 = Ke, O4 = ne(),
|
|
68844
|
-
class
|
|
68843
|
+
const C4 = De(), S4 = Ie, y4 = Ke, O4 = ne(), Cc = Me;
|
|
68844
|
+
class zl extends S4.CommandOperation {
|
|
68845
68845
|
constructor(t) {
|
|
68846
68846
|
super(), this.writeConcern = { w: 0 }, this.ns = O4.MongoDBNamespace.fromString("admin.$cmd"), this.SERVER_COMMAND_RESPONSE_TYPE = C4.MongoDBResponse, this.sessions = t;
|
|
68847
68847
|
}
|
|
@@ -68860,8 +68860,8 @@ class jl extends S4.CommandOperation {
|
|
|
68860
68860
|
return "endSessions";
|
|
68861
68861
|
}
|
|
68862
68862
|
}
|
|
68863
|
-
Zo.EndSessionsOperation =
|
|
68864
|
-
(0,
|
|
68863
|
+
Zo.EndSessionsOperation = zl;
|
|
68864
|
+
(0, Cc.defineAspects)(zl, Cc.Aspect.WRITE_OPERATION);
|
|
68865
68865
|
var Vn = {}, ft = {};
|
|
68866
68866
|
Object.defineProperty(ft, "__esModule", { value: !0 });
|
|
68867
68867
|
ft.WaitingForSuitableServerEvent = ft.ServerSelectionSucceededEvent = ft.ServerSelectionFailedEvent = ft.ServerSelectionStartedEvent = ft.ServerSelectionEvent = void 0;
|
|
@@ -68907,7 +68907,7 @@ var Ur = {};
|
|
|
68907
68907
|
Object.defineProperty(Ur, "__esModule", { value: !0 });
|
|
68908
68908
|
Ur.SrvPoller = Ur.SrvPollingEvent = void 0;
|
|
68909
68909
|
const b4 = T1, u1 = gn, M4 = Q, F4 = Je, Wn = ne();
|
|
68910
|
-
class
|
|
68910
|
+
class Vl {
|
|
68911
68911
|
constructor(t) {
|
|
68912
68912
|
this.srvRecords = t;
|
|
68913
68913
|
}
|
|
@@ -68915,7 +68915,7 @@ class zl {
|
|
|
68915
68915
|
return new Set(this.srvRecords.map((t) => Wn.HostAddress.fromSrvRecord(t).toString()));
|
|
68916
68916
|
}
|
|
68917
68917
|
}
|
|
68918
|
-
Ur.SrvPollingEvent =
|
|
68918
|
+
Ur.SrvPollingEvent = Vl;
|
|
68919
68919
|
const uo = class uo extends F4.TypedEventEmitter {
|
|
68920
68920
|
constructor(t) {
|
|
68921
68921
|
if (super(), this.on("error", Wn.noop), !t || !t.srvHost)
|
|
@@ -68941,7 +68941,7 @@ const uo = class uo extends F4.TypedEventEmitter {
|
|
|
68941
68941
|
}, this.intervalMS);
|
|
68942
68942
|
}
|
|
68943
68943
|
success(t) {
|
|
68944
|
-
this.haMode = !1, this.schedule(), this.emit(uo.SRV_RECORD_DISCOVERY, new
|
|
68944
|
+
this.haMode = !1, this.schedule(), this.emit(uo.SRV_RECORD_DISCOVERY, new Vl(t));
|
|
68945
68945
|
}
|
|
68946
68946
|
failure() {
|
|
68947
68947
|
this.haMode = !0, this.schedule();
|
|
@@ -68974,11 +68974,11 @@ const uo = class uo extends F4.TypedEventEmitter {
|
|
|
68974
68974
|
uo.SRV_RECORD_DISCOVERY = "srvRecordDiscovery";
|
|
68975
68975
|
let O1 = uo;
|
|
68976
68976
|
Ur.SrvPoller = O1;
|
|
68977
|
-
var
|
|
68977
|
+
var Sc;
|
|
68978
68978
|
function R4() {
|
|
68979
|
-
if (
|
|
68980
|
-
|
|
68981
|
-
const e =
|
|
68979
|
+
if (Sc) return Vn;
|
|
68980
|
+
Sc = 1, Object.defineProperty(Vn, "__esModule", { value: !0 }), Vn.Topology = void 0;
|
|
68981
|
+
const e = Tl(), t = Ve, r = Q, n = Cr, i = Je, o = Ke, u = Te, c = ne(), s = Ne, a = Ue, E = _l(), h = rr, g = pn, m = ft, C = Ur, S = pi;
|
|
68982
68982
|
let D = 0;
|
|
68983
68983
|
const O = (0, c.makeStateMachine)({
|
|
68984
68984
|
[s.STATE_CLOSED]: [s.STATE_CLOSED, s.STATE_CONNECTING],
|
|
@@ -69330,11 +69330,11 @@ function R4() {
|
|
|
69330
69330
|
}
|
|
69331
69331
|
return Vn;
|
|
69332
69332
|
}
|
|
69333
|
-
var
|
|
69333
|
+
var yc;
|
|
69334
69334
|
function En() {
|
|
69335
|
-
if (
|
|
69336
|
-
|
|
69337
|
-
const e = D1, t = ts(), r = pe, n = wi(), i = Fo, o = qt, u =
|
|
69335
|
+
if (yc) return wr;
|
|
69336
|
+
yc = 1, Object.defineProperty(wr, "__esModule", { value: !0 }), wr.MongoClient = wr.ServerApiVersion = void 0;
|
|
69337
|
+
const e = D1, t = ts(), r = pe, n = wi(), i = Fo, o = qt, u = Sr, c = Tl(), s = Ve, a = $1(), E = Q, h = Ci, g = Cr, m = Je, C = p4(), S = Zo, D = qe, O = Ke, M = pn, p = R4(), B = ut, d = ne();
|
|
69338
69338
|
wr.ServerApiVersion = Object.freeze({
|
|
69339
69339
|
v1: "1"
|
|
69340
69340
|
});
|
|
@@ -69733,11 +69733,11 @@ function En() {
|
|
|
69733
69733
|
}
|
|
69734
69734
|
return wr.MongoClient = b, wr;
|
|
69735
69735
|
}
|
|
69736
|
-
var
|
|
69736
|
+
var Oc;
|
|
69737
69737
|
function wi() {
|
|
69738
|
-
if (
|
|
69739
|
-
|
|
69740
|
-
const e = mi(), t = Ve, r = tt, n =
|
|
69738
|
+
if (Oc) return Jr;
|
|
69739
|
+
Oc = 1, Object.defineProperty(Jr, "__esModule", { value: !0 }), Jr.ChangeStream = void 0, Jr.filterOutOptions = D;
|
|
69740
|
+
const e = mi(), t = Ve, r = tt, n = x0(), i = $1(), o = Q, u = En(), c = Je, s = pn, a = Te, E = ne(), h = {
|
|
69741
69741
|
COLLECTION: Symbol("Collection"),
|
|
69742
69742
|
DATABASE: Symbol("Database"),
|
|
69743
69743
|
CLUSTER: Symbol("Cluster")
|
|
@@ -70109,7 +70109,7 @@ const N4 = ao, I4 = tt, mt = Q, v4 = Te, bu = class bu extends N4.Readable {
|
|
|
70109
70109
|
* @param start - 0-based offset in bytes to start streaming from
|
|
70110
70110
|
*/
|
|
70111
70111
|
start(t = 0) {
|
|
70112
|
-
return
|
|
70112
|
+
return wc(this), this.s.options.start = t, this;
|
|
70113
70113
|
}
|
|
70114
70114
|
/**
|
|
70115
70115
|
* Sets the 0-based offset in bytes to start streaming from. Throws
|
|
@@ -70119,7 +70119,7 @@ const N4 = ao, I4 = tt, mt = Q, v4 = Te, bu = class bu extends N4.Readable {
|
|
|
70119
70119
|
* @param end - Offset in bytes to stop reading at
|
|
70120
70120
|
*/
|
|
70121
70121
|
end(t = 0) {
|
|
70122
|
-
return
|
|
70122
|
+
return wc(this), this.s.options.end = t, this;
|
|
70123
70123
|
}
|
|
70124
70124
|
/**
|
|
70125
70125
|
* Marks this stream as aborted (will never push another `data` event)
|
|
@@ -70136,7 +70136,7 @@ const N4 = ao, I4 = tt, mt = Q, v4 = Te, bu = class bu extends N4.Readable {
|
|
|
70136
70136
|
bu.FILE = "file";
|
|
70137
70137
|
let io = bu;
|
|
70138
70138
|
_i.GridFSBucketReadStream = io;
|
|
70139
|
-
function
|
|
70139
|
+
function wc(e) {
|
|
70140
70140
|
if (e.s.init)
|
|
70141
70141
|
throw new mt.MongoGridFSStreamError("Options cannot be changed after the stream is initialized");
|
|
70142
70142
|
}
|
|
@@ -70263,7 +70263,7 @@ function x4(e, t, r, n) {
|
|
|
70263
70263
|
var Di = {};
|
|
70264
70264
|
Object.defineProperty(Di, "__esModule", { value: !0 });
|
|
70265
70265
|
Di.GridFSBucketWriteStream = void 0;
|
|
70266
|
-
const j4 = ao,
|
|
70266
|
+
const j4 = ao, Wl = pe, Gl = tt, vt = Q, z4 = Te, _c = ne(), V4 = ct();
|
|
70267
70267
|
class W4 extends j4.Writable {
|
|
70268
70268
|
/**
|
|
70269
70269
|
* @param bucket - Handle for this stream's corresponding bucket
|
|
@@ -70272,14 +70272,14 @@ class W4 extends j4.Writable {
|
|
|
70272
70272
|
* @internal
|
|
70273
70273
|
*/
|
|
70274
70274
|
constructor(t, r, n) {
|
|
70275
|
-
super(), this.gridFSFile = null, n = n ?? {}, this.bucket = t, this.chunks = t.s._chunksCollection, this.filename = r, this.files = t.s._filesCollection, this.options = n, this.writeConcern = V4.WriteConcern.fromOptions(n) || t.s.options.writeConcern, this.done = !1, this.id = n.id ? n.id : new
|
|
70275
|
+
super(), this.gridFSFile = null, n = n ?? {}, this.bucket = t, this.chunks = t.s._chunksCollection, this.filename = r, this.files = t.s._filesCollection, this.options = n, this.writeConcern = V4.WriteConcern.fromOptions(n) || t.s.options.writeConcern, this.done = !1, this.id = n.id ? n.id : new Wl.ObjectId(), this.chunkSizeBytes = n.chunkSizeBytes || this.bucket.s.options.chunkSizeBytes, this.bufToStore = Buffer.alloc(this.chunkSizeBytes), this.length = 0, this.n = 0, this.pos = 0, this.state = {
|
|
70276
70276
|
streamEnd: !1,
|
|
70277
70277
|
outstandingRequests: 0,
|
|
70278
70278
|
errored: !1,
|
|
70279
70279
|
aborted: !1
|
|
70280
70280
|
}, n.timeoutMS != null && (this.timeoutContext = new z4.CSOTTimeoutContext({
|
|
70281
70281
|
timeoutMS: n.timeoutMS,
|
|
70282
|
-
serverSelectionTimeoutMS: (0,
|
|
70282
|
+
serverSelectionTimeoutMS: (0, _c.resolveTimeoutOptions)(this.bucket.s.db.client, {}).serverSelectionTimeoutMS
|
|
70283
70283
|
}));
|
|
70284
70284
|
}
|
|
70285
70285
|
/**
|
|
@@ -70294,7 +70294,7 @@ class W4 extends j4.Writable {
|
|
|
70294
70294
|
}, (r) => {
|
|
70295
70295
|
if (r instanceof vt.MongoOperationTimeoutError)
|
|
70296
70296
|
return xr(this, r, t);
|
|
70297
|
-
(0,
|
|
70297
|
+
(0, _c.squashError)(r), t();
|
|
70298
70298
|
});
|
|
70299
70299
|
else
|
|
70300
70300
|
return queueMicrotask(t);
|
|
@@ -70339,9 +70339,9 @@ function xr(e, t, r) {
|
|
|
70339
70339
|
}
|
|
70340
70340
|
e.state.errored = !0, queueMicrotask(() => r(t));
|
|
70341
70341
|
}
|
|
70342
|
-
function
|
|
70342
|
+
function ql(e, t, r) {
|
|
70343
70343
|
return {
|
|
70344
|
-
_id: new
|
|
70344
|
+
_id: new Wl.ObjectId(),
|
|
70345
70345
|
files_id: e,
|
|
70346
70346
|
n: t,
|
|
70347
70347
|
data: r
|
|
@@ -70355,7 +70355,7 @@ async function G4(e) {
|
|
|
70355
70355
|
let n;
|
|
70356
70356
|
try {
|
|
70357
70357
|
n = await e.chunks.listIndexes({
|
|
70358
|
-
timeoutMode: r != null ?
|
|
70358
|
+
timeoutMode: r != null ? Gl.CursorTimeoutMode.LIFETIME : void 0,
|
|
70359
70359
|
timeoutMS: r
|
|
70360
70360
|
}).toArray();
|
|
70361
70361
|
} catch (a) {
|
|
@@ -70402,7 +70402,7 @@ async function q4(e) {
|
|
|
70402
70402
|
let i;
|
|
70403
70403
|
t = (E = e.timeoutContext) == null ? void 0 : E.getRemainingTimeMSOrThrow(`Upload timed out after ${(a = e.timeoutContext) == null ? void 0 : a.timeoutMS}ms`);
|
|
70404
70404
|
const o = {
|
|
70405
|
-
timeoutMode: t != null ?
|
|
70405
|
+
timeoutMode: t != null ? Gl.CursorTimeoutMode.LIFETIME : void 0,
|
|
70406
70406
|
timeoutMS: t
|
|
70407
70407
|
};
|
|
70408
70408
|
try {
|
|
@@ -70440,7 +70440,7 @@ function K4(e, t, r, n) {
|
|
|
70440
70440
|
i.copy(e.bufToStore, e.pos, h, h + c), e.pos += c, u -= c;
|
|
70441
70441
|
let g;
|
|
70442
70442
|
if (u === 0) {
|
|
70443
|
-
g =
|
|
70443
|
+
g = ql(e.id, e.n, Buffer.from(e.bufToStore));
|
|
70444
70444
|
const m = (a = e.timeoutContext) == null ? void 0 : a.remainingTimeMS;
|
|
70445
70445
|
if (m != null && m <= 0)
|
|
70446
70446
|
return xr(e, new vt.MongoOperationTimeoutError(`Upload timed out after ${(E = e.timeoutContext) == null ? void 0 : E.timeoutMS}ms`), n);
|
|
@@ -70459,7 +70459,7 @@ function Y4(e, t) {
|
|
|
70459
70459
|
return w1(e, t);
|
|
70460
70460
|
const r = Buffer.alloc(e.pos);
|
|
70461
70461
|
e.bufToStore.copy(r, 0, 0, e.pos);
|
|
70462
|
-
const n =
|
|
70462
|
+
const n = ql(e.id, e.n, r);
|
|
70463
70463
|
if (oo(e, t))
|
|
70464
70464
|
return;
|
|
70465
70465
|
const i = (o = e.timeoutContext) == null ? void 0 : o.remainingTimeMS;
|
|
@@ -70474,7 +70474,7 @@ function oo(e, t) {
|
|
|
70474
70474
|
}
|
|
70475
70475
|
Object.defineProperty(es, "__esModule", { value: !0 });
|
|
70476
70476
|
es.GridFSBucket = void 0;
|
|
70477
|
-
const a1 = Q, X4 = Je,
|
|
70477
|
+
const a1 = Q, X4 = Je, Dc = Te, xi = ne(), J4 = ct(), Tc = _i, Bc = Di, Q4 = {
|
|
70478
70478
|
bucketName: "fs",
|
|
70479
70479
|
chunkSizeBytes: 255 * 1024
|
|
70480
70480
|
}, Mu = class Mu extends X4.TypedEventEmitter {
|
|
@@ -70503,7 +70503,7 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70503
70503
|
* @param options - Optional settings.
|
|
70504
70504
|
*/
|
|
70505
70505
|
openUploadStream(t, r) {
|
|
70506
|
-
return new
|
|
70506
|
+
return new Bc.GridFSBucketWriteStream(this, t, {
|
|
70507
70507
|
timeoutMS: this.s.options.timeoutMS,
|
|
70508
70508
|
...r
|
|
70509
70509
|
});
|
|
@@ -70514,7 +70514,7 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70514
70514
|
* file's id.
|
|
70515
70515
|
*/
|
|
70516
70516
|
openUploadStreamWithId(t, r, n) {
|
|
70517
|
-
return new
|
|
70517
|
+
return new Bc.GridFSBucketWriteStream(this, r, {
|
|
70518
70518
|
timeoutMS: this.s.options.timeoutMS,
|
|
70519
70519
|
...n,
|
|
70520
70520
|
id: t
|
|
@@ -70522,7 +70522,7 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70522
70522
|
}
|
|
70523
70523
|
/** Returns a readable stream (GridFSBucketReadStream) for streaming file data from GridFS. */
|
|
70524
70524
|
openDownloadStream(t, r) {
|
|
70525
|
-
return new
|
|
70525
|
+
return new Tc.GridFSBucketReadStream(this.s._chunksCollection, this.s._filesCollection, this.s.options.readPreference, { _id: t }, { timeoutMS: this.s.options.timeoutMS, ...r });
|
|
70526
70526
|
}
|
|
70527
70527
|
/**
|
|
70528
70528
|
* Deletes a file with the given id
|
|
@@ -70532,7 +70532,7 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70532
70532
|
async delete(t, r) {
|
|
70533
70533
|
const { timeoutMS: n } = (0, xi.resolveOptions)(this.s.db, r);
|
|
70534
70534
|
let i;
|
|
70535
|
-
n && (i = new
|
|
70535
|
+
n && (i = new Dc.CSOTTimeoutContext({
|
|
70536
70536
|
timeoutMS: n,
|
|
70537
70537
|
serverSelectionTimeoutMS: this.s.db.client.s.options.serverSelectionTimeoutMS
|
|
70538
70538
|
}));
|
|
@@ -70555,7 +70555,7 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70555
70555
|
*/
|
|
70556
70556
|
openDownloadStreamByName(t, r) {
|
|
70557
70557
|
let n = { uploadDate: -1 }, i;
|
|
70558
|
-
return r && r.revision != null && (r.revision >= 0 ? (n = { uploadDate: 1 }, i = r.revision) : i = -r.revision - 1), new
|
|
70558
|
+
return r && r.revision != null && (r.revision >= 0 ? (n = { uploadDate: 1 }, i = r.revision) : i = -r.revision - 1), new Tc.GridFSBucketReadStream(this.s._chunksCollection, this.s._filesCollection, this.s.options.readPreference, { filename: t }, { timeoutMS: this.s.options.timeoutMS, ...r, sort: n, skip: i });
|
|
70559
70559
|
}
|
|
70560
70560
|
/**
|
|
70561
70561
|
* Renames the file with the given _id to the given string
|
|
@@ -70572,7 +70572,7 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70572
70572
|
async drop(t) {
|
|
70573
70573
|
const { timeoutMS: r } = (0, xi.resolveOptions)(this.s.db, t);
|
|
70574
70574
|
let n;
|
|
70575
|
-
if (r && (n = new
|
|
70575
|
+
if (r && (n = new Dc.CSOTTimeoutContext({
|
|
70576
70576
|
timeoutMS: r,
|
|
70577
70577
|
serverSelectionTimeoutMS: this.s.db.client.s.options.serverSelectionTimeoutMS
|
|
70578
70578
|
})), n) {
|
|
@@ -70586,9 +70586,9 @@ const a1 = Q, X4 = Je, _c = Te, xi = ne(), J4 = ct(), Dc = _i, Tc = Di, Q4 = {
|
|
|
70586
70586
|
Mu.INDEX = "index";
|
|
70587
70587
|
let _1 = Mu;
|
|
70588
70588
|
es.GridFSBucket = _1;
|
|
70589
|
-
var
|
|
70589
|
+
var bc;
|
|
70590
70590
|
function ts() {
|
|
70591
|
-
return
|
|
70591
|
+
return bc || (bc = 1, function(e) {
|
|
70592
70592
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MongoRuntimeError = e.MongoParseError = e.MongoOperationTimeoutError = e.MongoOIDCError = e.MongoNotConnectedError = e.MongoNetworkTimeoutError = e.MongoNetworkError = e.MongoMissingDependencyError = e.MongoMissingCredentialsError = e.MongoKerberosError = e.MongoInvalidArgumentError = e.MongoGridFSStreamError = e.MongoGridFSChunkError = e.MongoGCPError = e.MongoExpiredSessionError = e.MongoError = e.MongoDriverError = e.MongoDecompressionError = e.MongoCursorInUseError = e.MongoCursorExhaustedError = e.MongoCompatibilityError = e.MongoClientClosedError = e.MongoClientBulkWriteExecutionError = e.MongoClientBulkWriteError = e.MongoClientBulkWriteCursorError = e.MongoChangeStreamError = e.MongoBatchReExecutionError = e.MongoAzureError = e.MongoAWSError = e.MongoAPIError = e.ExplainableCursor = e.ChangeStreamCursor = e.ClientEncryption = e.MongoBulkWriteError = e.UUID = e.Timestamp = e.ObjectId = e.MinKey = e.MaxKey = e.Long = e.Int32 = e.Double = e.Decimal128 = e.DBRef = e.Code = e.BSONType = e.BSONSymbol = e.BSONRegExp = e.Binary = e.BSON = void 0, e.CommandStartedEvent = e.CommandFailedEvent = e.WriteConcern = e.ReadPreference = e.ReadConcern = e.TopologyType = e.ServerType = e.ReadPreferenceMode = e.ReadConcernLevel = e.ProfilingLevel = e.ReturnDocument = e.SeverityLevel = e.MongoLoggableComponent = e.ServerApiVersion = e.ExplainVerbosity = e.MongoErrorLabel = e.CursorTimeoutMode = e.CURSOR_FLAGS = e.Compressor = e.AuthMechanism = e.GSSAPICanonicalizationValue = e.AutoEncryptionLoggerLevel = e.BatchType = e.UnorderedBulkOperation = e.OrderedBulkOperation = e.MongoClient = e.ListIndexesCursor = e.ListCollectionsCursor = e.GridFSBucketWriteStream = e.GridFSBucketReadStream = e.GridFSBucket = e.FindCursor = e.Db = e.Collection = e.ClientSession = e.ChangeStream = e.CancellationToken = e.AggregationCursor = e.Admin = e.AbstractCursor = e.MongoWriteConcernError = e.MongoUnexpectedServerResponseError = e.MongoTransactionError = e.MongoTopologyClosedError = e.MongoTailableCursorError = e.MongoSystemError = e.MongoStalePrimaryError = e.MongoServerSelectionError = e.MongoServerError = e.MongoServerClosedError = void 0, e.MongoClientAuthProviders = e.MongoCryptKMSRequestNetworkTimeoutError = e.MongoCryptInvalidArgumentError = e.MongoCryptError = e.MongoCryptCreateEncryptedCollectionError = e.MongoCryptCreateDataKeyError = e.MongoCryptAzureKMSRequestError = e.SrvPollingEvent = e.WaitingForSuitableServerEvent = e.ServerSelectionSucceededEvent = e.ServerSelectionStartedEvent = e.ServerSelectionFailedEvent = e.ServerSelectionEvent = e.TopologyOpeningEvent = e.TopologyDescriptionChangedEvent = e.TopologyClosedEvent = e.ServerOpeningEvent = e.ServerHeartbeatSucceededEvent = e.ServerHeartbeatStartedEvent = e.ServerHeartbeatFailedEvent = e.ServerDescriptionChangedEvent = e.ServerClosedEvent = e.ConnectionReadyEvent = e.ConnectionPoolReadyEvent = e.ConnectionPoolMonitoringEvent = e.ConnectionPoolCreatedEvent = e.ConnectionPoolClosedEvent = e.ConnectionPoolClearedEvent = e.ConnectionCreatedEvent = e.ConnectionClosedEvent = e.ConnectionCheckOutStartedEvent = e.ConnectionCheckOutFailedEvent = e.ConnectionCheckedOutEvent = e.ConnectionCheckedInEvent = e.CommandSucceededEvent = void 0;
|
|
70593
70593
|
const t = ei;
|
|
70594
70594
|
Object.defineProperty(e, "Admin", { enumerable: !0, get: function() {
|
|
@@ -70702,7 +70702,7 @@ function ts() {
|
|
|
70702
70702
|
Object.defineProperty(e, "ClientEncryption", { enumerable: !0, get: function() {
|
|
70703
70703
|
return d.ClientEncryption;
|
|
70704
70704
|
} });
|
|
70705
|
-
var b =
|
|
70705
|
+
var b = x0();
|
|
70706
70706
|
Object.defineProperty(e, "ChangeStreamCursor", { enumerable: !0, get: function() {
|
|
70707
70707
|
return b.ChangeStreamCursor;
|
|
70708
70708
|
} });
|
|
@@ -70796,7 +70796,7 @@ function ts() {
|
|
|
70796
70796
|
Object.defineProperty(e, "BatchType", { enumerable: !0, get: function() {
|
|
70797
70797
|
return w.BatchType;
|
|
70798
70798
|
} });
|
|
70799
|
-
var T =
|
|
70799
|
+
var T = Al();
|
|
70800
70800
|
Object.defineProperty(e, "AutoEncryptionLoggerLevel", { enumerable: !0, get: function() {
|
|
70801
70801
|
return T.AutoEncryptionLoggerLevel;
|
|
70802
70802
|
} });
|
|
@@ -70830,7 +70830,7 @@ function ts() {
|
|
|
70830
70830
|
Object.defineProperty(e, "ServerApiVersion", { enumerable: !0, get: function() {
|
|
70831
70831
|
return J.ServerApiVersion;
|
|
70832
70832
|
} });
|
|
70833
|
-
var I =
|
|
70833
|
+
var I = Cr;
|
|
70834
70834
|
Object.defineProperty(e, "MongoLoggableComponent", { enumerable: !0, get: function() {
|
|
70835
70835
|
return I.MongoLoggableComponent;
|
|
70836
70836
|
} }), Object.defineProperty(e, "SeverityLevel", { enumerable: !0, get: function() {
|
|
@@ -71002,7 +71002,7 @@ class Z4 {
|
|
|
71002
71002
|
buildFindOptions(t) {
|
|
71003
71003
|
const r = {};
|
|
71004
71004
|
if (t != null && t.select && (r.projection = t.select), (t == null ? void 0 : t.offset) != null && (r.skip = t.offset), (t == null ? void 0 : t.limit) != null && (r.limit = t.limit), t != null && t.orderBy) {
|
|
71005
|
-
const n =
|
|
71005
|
+
const n = ir.getOrderByArray(t.orderBy);
|
|
71006
71006
|
n.length > 0 && (r.sort = this.buildSort(n));
|
|
71007
71007
|
}
|
|
71008
71008
|
return r;
|
|
@@ -71013,7 +71013,7 @@ class Z4 {
|
|
|
71013
71013
|
const a = { [this.idField]: this.normalizeId(r[this.idField]) }, E = {};
|
|
71014
71014
|
return n && (E.projection = n), await i.findOne(a, { ...E, session: this.session });
|
|
71015
71015
|
}
|
|
71016
|
-
const u =
|
|
71016
|
+
const u = ir.buildMongodbQuery(r, this.fieldMetaMap[t], this.getObjectId), c = {};
|
|
71017
71017
|
return n && (c.projection = n), (await i.find(u, { ...c, limit: 1, session: this.session }).toArray())[0] ?? null;
|
|
71018
71018
|
}
|
|
71019
71019
|
async findUniqueOrThrow(t, { where: r, select: n }) {
|
|
@@ -71023,7 +71023,7 @@ class Z4 {
|
|
|
71023
71023
|
return i;
|
|
71024
71024
|
}
|
|
71025
71025
|
async findFirst(t, r) {
|
|
71026
|
-
const n = this.getCollection(t), i =
|
|
71026
|
+
const n = this.getCollection(t), i = ir.buildMongodbQuery((r == null ? void 0 : r.where) ?? {}, this.fieldMetaMap[t], this.getObjectId), o = this.buildFindOptions({ ...r, limit: 1 });
|
|
71027
71027
|
return await n.findOne(i, { ...o, session: this.session });
|
|
71028
71028
|
}
|
|
71029
71029
|
async findFirstOrThrow(t, r) {
|
|
@@ -71033,7 +71033,7 @@ class Z4 {
|
|
|
71033
71033
|
return n;
|
|
71034
71034
|
}
|
|
71035
71035
|
async findManyInner(t, r) {
|
|
71036
|
-
const n = this.getCollection(t), i =
|
|
71036
|
+
const n = this.getCollection(t), i = ir.buildMongodbQuery((r == null ? void 0 : r.where) ?? {}, this.fieldMetaMap[t], this.getObjectId), o = this.buildFindOptions(r);
|
|
71037
71037
|
return { data: await n.find(i, { ...o, session: this.session }).toArray() };
|
|
71038
71038
|
}
|
|
71039
71039
|
async findMany(t, r) {
|
|
@@ -71048,19 +71048,23 @@ class Z4 {
|
|
|
71048
71048
|
return { data: g, total: m, page: c, pageCount: C, limit: i, hasPrev: c > 1, hasNext: c < C };
|
|
71049
71049
|
}
|
|
71050
71050
|
async create(t, { data: r }) {
|
|
71051
|
-
const n = this.getCollection(t), i =
|
|
71051
|
+
const n = this.getCollection(t), i = t2(r, this.schemaMeta[t], this.context);
|
|
71052
71052
|
return { _id: (await n.insertOne(i, { session: this.session })).insertedId.toString() };
|
|
71053
71053
|
}
|
|
71054
71054
|
async update(t, { where: r, data: n }) {
|
|
71055
|
-
const i = this.getCollection(t), o =
|
|
71055
|
+
const i = this.getCollection(t), o = Ru(n, this.schemaMeta[t]), u = Object.keys(r ?? {});
|
|
71056
71056
|
if (u.length === 1 && u[0] === this.idField) {
|
|
71057
71057
|
const s = { [this.idField]: this.normalizeId(r[this.idField]) };
|
|
71058
71058
|
await i.updateOne(s, o, { session: this.session });
|
|
71059
71059
|
return;
|
|
71060
71060
|
}
|
|
71061
|
-
const c =
|
|
71061
|
+
const c = ir.buildMongodbQuery(r, this.fieldMetaMap[t], this.getObjectId);
|
|
71062
71062
|
await i.updateMany(c, o, { session: this.session });
|
|
71063
71063
|
}
|
|
71064
|
+
async updateAndReturn(t, { where: r, data: n }) {
|
|
71065
|
+
const i = this.getCollection(t), o = Ru(n, this.schemaMeta[t]), u = ir.buildMongodbQuery(r, this.fieldMetaMap[t], this.getObjectId);
|
|
71066
|
+
return await i.findOneAndUpdate(u, o, { session: this.session, returnDocument: "after" }) ?? null;
|
|
71067
|
+
}
|
|
71064
71068
|
async delete(t, { where: r }) {
|
|
71065
71069
|
const n = this.getCollection(t), i = Object.keys(r ?? {});
|
|
71066
71070
|
if (i.length === 1 && i[0] === this.idField) {
|
|
@@ -71068,20 +71072,23 @@ class Z4 {
|
|
|
71068
71072
|
await n.deleteOne(u, { session: this.session });
|
|
71069
71073
|
return;
|
|
71070
71074
|
}
|
|
71071
|
-
const o =
|
|
71075
|
+
const o = ir.buildMongodbQuery(r, this.fieldMetaMap[t], this.getObjectId);
|
|
71072
71076
|
await n.deleteMany(o, { session: this.session });
|
|
71073
71077
|
}
|
|
71074
71078
|
async count(t, r) {
|
|
71075
71079
|
try {
|
|
71076
|
-
const n = this.getCollection(t), i =
|
|
71080
|
+
const n = this.getCollection(t), i = ir.buildMongodbQuery((r == null ? void 0 : r.where) ?? {}, this.fieldMetaMap[t], this.getObjectId);
|
|
71077
71081
|
return await n.countDocuments(i, { session: this.session });
|
|
71078
71082
|
} catch (n) {
|
|
71079
71083
|
throw console.error("count error:", n), n;
|
|
71080
71084
|
}
|
|
71081
71085
|
}
|
|
71086
|
+
async aggregate(t, r) {
|
|
71087
|
+
return await this.getCollection(t).aggregate(r, { session: this.session }).toArray();
|
|
71088
|
+
}
|
|
71082
71089
|
}
|
|
71083
|
-
function
|
|
71084
|
-
const i = new Z4(e, t, r, n), o = {};
|
|
71090
|
+
function Hl(e, t, r, n) {
|
|
71091
|
+
const i = new Z4(e, t, r, n), o = { $dbClient: e };
|
|
71085
71092
|
return Object.keys(t).forEach((u) => {
|
|
71086
71093
|
o[u] = {
|
|
71087
71094
|
findUnique: (c) => i.findUnique(u, c),
|
|
@@ -71092,14 +71099,16 @@ function ql(e, t, r, n) {
|
|
|
71092
71099
|
findPage: (c) => i.findPage(u, c),
|
|
71093
71100
|
create: (c) => i.create(u, c),
|
|
71094
71101
|
update: (c) => i.update(u, c),
|
|
71102
|
+
updateAndReturn: (c) => i.updateAndReturn(u, c),
|
|
71095
71103
|
delete: (c) => i.delete(u, c),
|
|
71096
|
-
count: (c) => i.count(u, c)
|
|
71104
|
+
count: (c) => i.count(u, c),
|
|
71105
|
+
aggregate: (c) => i.aggregate(u, c)
|
|
71097
71106
|
};
|
|
71098
71107
|
}), o.$transaction = async (u) => {
|
|
71099
71108
|
const c = e.startSession();
|
|
71100
71109
|
try {
|
|
71101
71110
|
c.startTransaction();
|
|
71102
|
-
const s =
|
|
71111
|
+
const s = Hl(e, t, r, c);
|
|
71103
71112
|
s.$transaction = void 0;
|
|
71104
71113
|
const a = await u(s);
|
|
71105
71114
|
return await c.commitTransaction(), await c.endSession(), a;
|
|
@@ -71109,7 +71118,7 @@ function ql(e, t, r, n) {
|
|
|
71109
71118
|
}, o;
|
|
71110
71119
|
}
|
|
71111
71120
|
function y9(e, t, r) {
|
|
71112
|
-
return
|
|
71121
|
+
return Hl(e, t, r);
|
|
71113
71122
|
}
|
|
71114
71123
|
export {
|
|
71115
71124
|
y9 as createMongoDBClient
|