@orieljs/framework 0.1.0-alpha.4 → 0.1.0-alpha.6

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.
@@ -0,0 +1,2613 @@
1
+ import {
2
+ Application,
3
+ ConfigRepository,
4
+ Container
5
+ } from "./chunk-I63ZFMX6.js";
6
+
7
+ // ../Container/dist/index.js
8
+ import { AsyncLocalStorage } from "async_hooks";
9
+ function describe(abstract) {
10
+ return typeof abstract === "function" ? abstract.name || "<anonymous class>" : abstract.description;
11
+ }
12
+ var BindingResolutionError = class extends Error {
13
+ kind = "BindingResolution";
14
+ name = "BindingResolutionError";
15
+ };
16
+ var CircularDependencyError = class extends Error {
17
+ constructor(chain) {
18
+ super(`Circular dependency detected: ${chain.join(" -> ")}`);
19
+ this.chain = chain;
20
+ }
21
+ chain;
22
+ kind = "CircularDependency";
23
+ name = "CircularDependencyError";
24
+ };
25
+ var ContainerNotAvailableError = class extends Error {
26
+ kind = "ContainerNotAvailable";
27
+ name = "ContainerNotAvailableError";
28
+ constructor(what) {
29
+ super(
30
+ `Cannot resolve [${what}]: no container is available. inject(), helpers and facades only work while the application is running (inside a request, job, command, provider or app.run()). Don't call them at module top level.`
31
+ );
32
+ }
33
+ };
34
+ var ALS_KEY = /* @__PURE__ */ Symbol.for("oriel:container.als");
35
+ var GLOBAL_KEY = /* @__PURE__ */ Symbol.for("oriel:container.instance");
36
+ var BUILDING_KEY = /* @__PURE__ */ Symbol.for("oriel:container.building");
37
+ var g = globalThis;
38
+ var storage = g[ALS_KEY] ??= new AsyncLocalStorage();
39
+ var building = g[BUILDING_KEY] ??= {
40
+ keys: [],
41
+ names: [],
42
+ containers: []
43
+ };
44
+ function currentContainer() {
45
+ return building.containers.at(-1) ?? storage.getStore() ?? g[GLOBAL_KEY];
46
+ }
47
+ function inject(abstract) {
48
+ const container = currentContainer();
49
+ if (!container) throw new ContainerNotAvailableError(describe(abstract));
50
+ return container.make(abstract);
51
+ }
52
+ var globals = globalThis;
53
+ var keyOf = (abstract) => typeof abstract === "function" ? abstract : abstract.id;
54
+ var isClass = (fn) => typeof fn === "function" && /^class[\s{]/.test(Function.prototype.toString.call(fn));
55
+ var Container2 = class _Container {
56
+ static getInstance() {
57
+ return globals[GLOBAL_KEY];
58
+ }
59
+ static setInstance(container) {
60
+ globals[GLOBAL_KEY] = container;
61
+ }
62
+ shared;
63
+ root;
64
+ parent;
65
+ local = /* @__PURE__ */ new Map();
66
+ constructor(parent) {
67
+ this.parent = parent;
68
+ this.root = parent?.root ?? this;
69
+ this.shared = parent?.shared ?? { bindings: /* @__PURE__ */ new Map(), extenders: /* @__PURE__ */ new Map(), resolving: /* @__PURE__ */ new Map(), resolved: /* @__PURE__ */ new Set() };
70
+ this.local.set(keyOf(Container), this);
71
+ this.local.set(_Container, this);
72
+ }
73
+ bind(abstract, concrete) {
74
+ this.#assertRoot("bind");
75
+ this.#addBinding(abstract, concrete, "transient");
76
+ }
77
+ singleton(abstract, concrete) {
78
+ this.#assertRoot("singleton");
79
+ this.#addBinding(abstract, concrete, "singleton");
80
+ }
81
+ scoped(abstract, concrete) {
82
+ this.#assertRoot("scoped");
83
+ this.#addBinding(abstract, concrete, "scoped");
84
+ }
85
+ instance(abstract, instance) {
86
+ const key = keyOf(abstract);
87
+ this.local.set(key, instance);
88
+ if (this === this.root) this.shared.resolved.add(key);
89
+ return instance;
90
+ }
91
+ make(abstract) {
92
+ const key = keyOf(abstract);
93
+ const owner = this.#owning(key);
94
+ if (owner) return owner.local.get(key);
95
+ const binding = this.shared.bindings.get(key) ?? this.#implicitBinding(abstract);
96
+ if (binding.lifetime === "scoped" && this === this.root) {
97
+ throw new BindingResolutionError(
98
+ `Scoped binding [${describe(abstract)}] was resolved outside a scope. Resolve it inside app.createScope().run(...), and don't inject scoped services into singletons.`
99
+ );
100
+ }
101
+ const builder = binding.lifetime === "singleton" ? this.root : this;
102
+ const instance = builder.build(abstract, key, binding);
103
+ if (binding.lifetime === "singleton") this.root.local.set(key, instance);
104
+ if (binding.lifetime === "scoped") this.local.set(key, instance);
105
+ return instance;
106
+ }
107
+ bound(abstract) {
108
+ const key = keyOf(abstract);
109
+ return this.shared.bindings.has(key) || this.#owning(key) !== void 0;
110
+ }
111
+ resolved(abstract) {
112
+ const key = keyOf(abstract);
113
+ return this.shared.resolved.has(key) || this.#owning(key) !== void 0;
114
+ }
115
+ extend(abstract, extender) {
116
+ this.#assertRoot("extend");
117
+ const key = keyOf(abstract);
118
+ const list = this.shared.extenders.get(key) ?? [];
119
+ list.push(extender);
120
+ this.shared.extenders.set(key, list);
121
+ if (this.local.has(key)) this.local.set(key, extender(this.local.get(key), this));
122
+ }
123
+ resolving(abstract, callback) {
124
+ this.#assertRoot("resolving");
125
+ const key = keyOf(abstract);
126
+ const list = this.shared.resolving.get(key) ?? [];
127
+ list.push(callback);
128
+ this.shared.resolving.set(key, list);
129
+ }
130
+ forgetInstance(abstract) {
131
+ this.local.delete(keyOf(abstract));
132
+ }
133
+ /** Scopes are always plain Containers (never subclasses such as Application). */
134
+ createScope() {
135
+ return new _Container(this);
136
+ }
137
+ run(fn) {
138
+ return storage.run(this, fn);
139
+ }
140
+ /** The nearest container in this -> parent scopes -> root that holds an instance for the key. */
141
+ #owning(key) {
142
+ if (this.local.has(key)) return this;
143
+ return this.parent === void 0 ? void 0 : this.parent.#owning(key);
144
+ }
145
+ /** Bindings, extenders and callbacks are app-wide state: a request scope must never write them. */
146
+ #assertRoot(method) {
147
+ if (this !== this.root) {
148
+ throw new Error(
149
+ `Cannot register bindings on a request scope (${method}). Register them on the application in a service provider; use instance() for per-request values.`
150
+ );
151
+ }
152
+ }
153
+ #addBinding(abstract, concrete, lifetime) {
154
+ const key = keyOf(abstract);
155
+ let factory;
156
+ if (concrete === void 0) {
157
+ if (typeof abstract !== "function") throw new TypeError(`bind(${describe(abstract)}) needs a concrete: tokens can't be constructed`);
158
+ factory = () => new abstract();
159
+ } else if (isClass(concrete)) {
160
+ factory = () => new concrete();
161
+ } else {
162
+ factory = concrete;
163
+ }
164
+ this.shared.bindings.set(key, { lifetime, factory });
165
+ this.local.delete(key);
166
+ }
167
+ #implicitBinding(abstract) {
168
+ if (typeof abstract === "function") {
169
+ return { lifetime: "transient", factory: () => new abstract() };
170
+ }
171
+ throw new BindingResolutionError(
172
+ `Target [${abstract.description}] is not bound. Is its service provider registered in bootstrap/providers.ts?`
173
+ );
174
+ }
175
+ build(abstract, key, binding) {
176
+ const stackIndex = building.keys.indexOf(key);
177
+ if (stackIndex !== -1) {
178
+ const chain = [...building.names.slice(stackIndex), describe(abstract)];
179
+ throw new CircularDependencyError(chain);
180
+ }
181
+ building.keys.push(key);
182
+ building.names.push(describe(abstract));
183
+ building.containers.push(this);
184
+ try {
185
+ let instance = binding.factory(this);
186
+ for (const extender of this.shared.extenders.get(key) ?? []) instance = extender(instance, this);
187
+ for (const callback of this.shared.resolving.get(key) ?? []) callback(instance, this);
188
+ this.shared.resolved.add(key);
189
+ return instance;
190
+ } finally {
191
+ building.keys.pop();
192
+ building.names.pop();
193
+ building.containers.pop();
194
+ }
195
+ }
196
+ };
197
+
198
+ // ../Collections/dist/index.js
199
+ function compare(left, operator, right) {
200
+ switch (operator) {
201
+ case "=":
202
+ case "==":
203
+ return left == right;
204
+ case "===":
205
+ return left === right;
206
+ case "!=":
207
+ case "<>":
208
+ return left != right;
209
+ case "!==":
210
+ return left !== right;
211
+ case "<":
212
+ return left < right;
213
+ case "<=":
214
+ return left <= right;
215
+ case ">":
216
+ return left > right;
217
+ case ">=":
218
+ return left >= right;
219
+ }
220
+ }
221
+ function ascending(a, b) {
222
+ const aNil = a === null || a === void 0;
223
+ const bNil = b === null || b === void 0;
224
+ if (aNil || bNil) return aNil === bNil ? 0 : aNil ? 1 : -1;
225
+ if (typeof a === "number" && typeof b === "number") return a - b;
226
+ if (a instanceof Date && b instanceof Date) return a.getTime() - b.getTime();
227
+ return String(a).localeCompare(String(b));
228
+ }
229
+ var read = (item, getter) => typeof getter === "function" ? getter(item) : item?.[getter];
230
+ var isArrayable = (v) => typeof v === "object" && v !== null && typeof v.toArray === "function";
231
+ var numbers = (items, getter) => items.map((item) => getter === void 0 ? item : read(item, getter)).filter((v) => typeof v === "number" && !Number.isNaN(v));
232
+ var Collection = class _Collection {
233
+ items;
234
+ constructor(items = []) {
235
+ this.items = [...items];
236
+ }
237
+ static make(items = []) {
238
+ return new _Collection(items);
239
+ }
240
+ /** Laravel semantics: callback receives 1..n. */
241
+ static times(count, callback) {
242
+ return new _Collection(Array.from({ length: Math.max(0, count) }, (_, i) => callback(i + 1)));
243
+ }
244
+ [Symbol.iterator]() {
245
+ return this.items[Symbol.iterator]();
246
+ }
247
+ all() {
248
+ return [...this.items];
249
+ }
250
+ count() {
251
+ return this.items.length;
252
+ }
253
+ isEmpty() {
254
+ return this.items.length === 0;
255
+ }
256
+ isNotEmpty() {
257
+ return this.items.length > 0;
258
+ }
259
+ toArray() {
260
+ return this.items.map((i) => isArrayable(i) ? i.toArray() : i);
261
+ }
262
+ toJSON() {
263
+ return this.all();
264
+ }
265
+ toJson() {
266
+ return JSON.stringify(this);
267
+ }
268
+ map(callback) {
269
+ return new _Collection(this.items.map(callback));
270
+ }
271
+ flatMap(callback) {
272
+ return new _Collection(
273
+ this.items.flatMap((item, i) => {
274
+ const out = callback(item, i);
275
+ return out instanceof _Collection ? out.all() : out;
276
+ })
277
+ );
278
+ }
279
+ filter(callback) {
280
+ return new _Collection(this.items.filter(callback ?? ((item) => Boolean(item))));
281
+ }
282
+ reject(callback) {
283
+ return new _Collection(this.items.filter((item, i) => !callback(item, i)));
284
+ }
285
+ /** Return false from the callback to stop. */
286
+ each(callback) {
287
+ for (let i = 0; i < this.items.length; i++) if (callback(this.items[i], i) === false) break;
288
+ return this;
289
+ }
290
+ reduce(callback, initial) {
291
+ return this.items.reduce(callback, initial);
292
+ }
293
+ first(callback, defaultValue) {
294
+ if (!callback) return this.items[0];
295
+ const index = this.items.findIndex(callback);
296
+ return index === -1 ? defaultValue : this.items[index];
297
+ }
298
+ last(callback, defaultValue) {
299
+ if (!callback) return this.items.at(-1);
300
+ const index = this.items.findLastIndex(callback);
301
+ return index === -1 ? defaultValue : this.items[index];
302
+ }
303
+ where(key, operatorOrValue, value2) {
304
+ const [op, expected] = arguments.length === 2 ? ["=", operatorOrValue] : [operatorOrValue, value2];
305
+ return this.filter((item) => compare(read(item, key), op, expected));
306
+ }
307
+ firstWhere(key, operatorOrValue, value2) {
308
+ const [op, expected] = arguments.length === 2 ? ["=", operatorOrValue] : [operatorOrValue, value2];
309
+ return this.items.find((item) => compare(read(item, key), op, expected));
310
+ }
311
+ whereIn(key, values) {
312
+ const set = new Set(values);
313
+ return this.filter((item) => set.has(read(item, key)));
314
+ }
315
+ whereNotIn(key, values) {
316
+ const set = new Set(values);
317
+ return this.filter((item) => !set.has(read(item, key)));
318
+ }
319
+ pluck(key) {
320
+ return this.map((item) => read(item, key));
321
+ }
322
+ keyBy(key) {
323
+ return Object.fromEntries(this.items.map((item) => [String(read(item, key)), item]));
324
+ }
325
+ groupBy(key) {
326
+ const groups = {};
327
+ for (const item of this.items) (groups[String(read(item, key))] ??= new _Collection()).push(item);
328
+ return groups;
329
+ }
330
+ mapWithKeys(callback) {
331
+ return Object.fromEntries(this.items.map(callback));
332
+ }
333
+ sortBy(key, direction = "asc") {
334
+ const sign = direction === "asc" ? 1 : -1;
335
+ return new _Collection(
336
+ this.items.map((item, index) => ({ item, index, value: read(item, key) })).sort((a, b) => {
337
+ const aNil = a.value === null || a.value === void 0;
338
+ const bNil = b.value === null || b.value === void 0;
339
+ if (aNil || bNil) return aNil === bNil ? a.index - b.index : aNil ? 1 : -1;
340
+ return sign * ascending(a.value, b.value) || a.index - b.index;
341
+ }).map((x) => x.item)
342
+ );
343
+ }
344
+ sortByDesc(key) {
345
+ return this.sortBy(key, "desc");
346
+ }
347
+ sum(key) {
348
+ return numbers(this.items, key).reduce((a, b) => a + b, 0);
349
+ }
350
+ avg(key) {
351
+ const values = numbers(this.items, key);
352
+ return values.length ? values.reduce((a, b) => a + b, 0) / values.length : void 0;
353
+ }
354
+ min(key) {
355
+ const values = numbers(this.items, key);
356
+ return values.length ? Math.min(...values) : void 0;
357
+ }
358
+ max(key) {
359
+ const values = numbers(this.items, key);
360
+ return values.length ? Math.max(...values) : void 0;
361
+ }
362
+ unique(key) {
363
+ const seen = /* @__PURE__ */ new Set();
364
+ return this.filter((item) => {
365
+ const v = key === void 0 ? item : read(item, key);
366
+ if (seen.has(v)) return false;
367
+ seen.add(v);
368
+ return true;
369
+ });
370
+ }
371
+ chunk(size) {
372
+ if (size <= 0) return new _Collection();
373
+ const chunks = [];
374
+ for (let i = 0; i < this.items.length; i += size) chunks.push(new _Collection(this.items.slice(i, i + size)));
375
+ return new _Collection(chunks);
376
+ }
377
+ /** Negative count takes from the end. */
378
+ take(count) {
379
+ return new _Collection(count < 0 ? this.items.slice(count) : this.items.slice(0, count));
380
+ }
381
+ skip(count) {
382
+ return new _Collection(this.items.slice(count));
383
+ }
384
+ slice(offset, length) {
385
+ return new _Collection(this.items.slice(offset, length === void 0 ? void 0 : offset + length));
386
+ }
387
+ values() {
388
+ return new _Collection(this.items);
389
+ }
390
+ contains(keyOrValue, value2) {
391
+ if (arguments.length === 2) return this.items.some((item) => read(item, keyOrValue) === value2);
392
+ if (typeof keyOrValue === "function") return this.items.some(keyOrValue);
393
+ return this.items.includes(keyOrValue);
394
+ }
395
+ /** Mutates, like Laravel. */
396
+ push(...values) {
397
+ this.items.push(...values);
398
+ return this;
399
+ }
400
+ concat(values) {
401
+ return new _Collection([...this.items, ...values]);
402
+ }
403
+ partition(callback) {
404
+ return [this.filter(callback), this.reject(callback)];
405
+ }
406
+ implode(keyOrGlue, glue) {
407
+ if (glue === void 0) return this.items.join(keyOrGlue);
408
+ return this.items.map((item) => read(item, keyOrGlue)).join(glue);
409
+ }
410
+ when(condition, callback) {
411
+ return condition ? callback(this) : this;
412
+ }
413
+ pipe(callback) {
414
+ return callback(this);
415
+ }
416
+ tap(callback) {
417
+ callback(this);
418
+ return this;
419
+ }
420
+ };
421
+ function collect(items = []) {
422
+ return new Collection(items);
423
+ }
424
+ var LazyCollection = class _LazyCollection {
425
+ constructor(source) {
426
+ this.source = source;
427
+ }
428
+ source;
429
+ static make(source) {
430
+ return new _LazyCollection(source);
431
+ }
432
+ async *[Symbol.asyncIterator]() {
433
+ yield* this.source();
434
+ }
435
+ map(callback) {
436
+ const self = this;
437
+ return new _LazyCollection(async function* () {
438
+ let i = 0;
439
+ for await (const item of self) yield await callback(item, i++);
440
+ });
441
+ }
442
+ filter(callback) {
443
+ const self = this;
444
+ return new _LazyCollection(async function* () {
445
+ let i = 0;
446
+ for await (const item of self) if (await callback(item, i++)) yield item;
447
+ });
448
+ }
449
+ take(count) {
450
+ const self = this;
451
+ return new _LazyCollection(async function* () {
452
+ if (count <= 0) return;
453
+ let taken = 0;
454
+ for await (const item of self) {
455
+ yield item;
456
+ if (++taken >= count) return;
457
+ }
458
+ });
459
+ }
460
+ chunk(size) {
461
+ const self = this;
462
+ return new _LazyCollection(async function* () {
463
+ if (size <= 0) return;
464
+ let buffer = [];
465
+ for await (const item of self) {
466
+ buffer.push(item);
467
+ if (buffer.length === size) {
468
+ yield new Collection(buffer);
469
+ buffer = [];
470
+ }
471
+ }
472
+ if (buffer.length) yield new Collection(buffer);
473
+ });
474
+ }
475
+ /** Return false from the callback to stop. */
476
+ async each(callback) {
477
+ let i = 0;
478
+ for await (const item of this) if (await callback(item, i++) === false) return;
479
+ }
480
+ async first(callback) {
481
+ for await (const item of this) if (!callback || await callback(item)) return item;
482
+ return void 0;
483
+ }
484
+ async count() {
485
+ let n = 0;
486
+ for await (const item of this) {
487
+ void item;
488
+ n++;
489
+ }
490
+ return n;
491
+ }
492
+ async collect() {
493
+ const items = [];
494
+ for await (const item of this) items.push(item);
495
+ return new Collection(items);
496
+ }
497
+ };
498
+
499
+ // ../Support/dist/index.js
500
+ import { randomBytes, randomUUID } from "crypto";
501
+ import pluralize from "pluralize";
502
+ import { setTimeout as sleep } from "timers/promises";
503
+ var __defProp = Object.defineProperty;
504
+ var __export = (target, all) => {
505
+ for (var name in all)
506
+ __defProp(target, name, { get: all[name], enumerable: true });
507
+ };
508
+ var TABLE = new Map(
509
+ Object.entries({
510
+ "\xC1": "A",
511
+ "\xE1": "a",
512
+ "\xC4": "A",
513
+ "\xE4": "a",
514
+ "\xC0": "A",
515
+ "\xE0": "a",
516
+ "\xC2": "A",
517
+ "\xE2": "a",
518
+ "\xC9": "E",
519
+ "\xE9": "e",
520
+ "\xCB": "E",
521
+ "\xEB": "e",
522
+ "\xC8": "E",
523
+ "\xE8": "e",
524
+ "\xCA": "E",
525
+ "\xEA": "e",
526
+ "\xCD": "I",
527
+ "\xED": "i",
528
+ "\xCF": "I",
529
+ "\xEF": "i",
530
+ "\xCC": "I",
531
+ "\xEC": "i",
532
+ "\xCE": "I",
533
+ "\xEE": "i",
534
+ "\xD3": "O",
535
+ "\xF3": "o",
536
+ "\xD6": "O",
537
+ "\xF6": "o",
538
+ "\xD2": "O",
539
+ "\xF2": "o",
540
+ "\xD4": "O",
541
+ "\xF4": "o",
542
+ "\xDA": "U",
543
+ "\xFA": "u",
544
+ "\xDC": "U",
545
+ "\xFC": "u",
546
+ "\xD9": "U",
547
+ "\xF9": "u",
548
+ "\xDB": "U",
549
+ "\xFB": "u",
550
+ "\xDD": "Y",
551
+ "\xFD": "y",
552
+ "\u0178": "Y",
553
+ "\u0410": "A",
554
+ "\u0411": "B",
555
+ "\u0412": "V",
556
+ "\u0413": "G",
557
+ "\u0414": "D",
558
+ "\u0403": "Gj",
559
+ "\u0415": "E",
560
+ "\u0416": "Z",
561
+ "\u0417": "Z",
562
+ "\u0405": "Dz",
563
+ "\u0418": "I",
564
+ "\u0408": "j",
565
+ "\u041A": "K",
566
+ "\u041B": "L",
567
+ "\u0409": "Lj",
568
+ "\u041C": "M",
569
+ "\u041D": "N",
570
+ "\u040A": "Nj",
571
+ "\u041E": "O",
572
+ "\u041F": "P",
573
+ "\u0420": "R",
574
+ "\u0421": "S",
575
+ "\u0422": "T",
576
+ "\u040C": "Kj",
577
+ "\u0423": "U",
578
+ "\u0424": "F",
579
+ "\u0425": "X",
580
+ "\u0426": "C",
581
+ "\u0427": "C",
582
+ "\u040F": "Dz",
583
+ "\u0428": "S",
584
+ "\u0430": "a",
585
+ "\u0431": "b",
586
+ "\u0432": "v",
587
+ "\u0433": "g",
588
+ "\u0434": "d",
589
+ "\u0453": "gj",
590
+ "\u0435": "e",
591
+ "\u0436": "z",
592
+ "\u0437": "z",
593
+ "\u0455": "dz",
594
+ "\u0438": "i",
595
+ "\u0458": "j",
596
+ "\u043A": "k",
597
+ "\u043B": "l",
598
+ "\u0459": "lj",
599
+ "\u043C": "m",
600
+ "\u043D": "n",
601
+ "\u045A": "nj",
602
+ "\u043E": "o",
603
+ "\u043F": "p",
604
+ "\u0440": "r",
605
+ "\u0441": "s",
606
+ "\u0442": "t",
607
+ "\u045C": "kj",
608
+ "\u0443": "u",
609
+ "\u0444": "f",
610
+ "\u0445": "x",
611
+ "\u0446": "c",
612
+ "\u0447": "c",
613
+ "\u045F": "dz",
614
+ "\u0448": "s",
615
+ "\xE6": "ae",
616
+ "\u01FD": "ae",
617
+ "\xC3": "A",
618
+ "\xC5": "A",
619
+ "\u01FA": "A",
620
+ "\u0102": "A",
621
+ "\u01CD": "A",
622
+ "\xC6": "AE",
623
+ "\u01FC": "AE",
624
+ "\xE3": "a",
625
+ "\xE5": "a",
626
+ "\u01FB": "a",
627
+ "\u0103": "a",
628
+ "\u01CE": "a",
629
+ "\xAA": "a",
630
+ "\u0108": "C",
631
+ "\u010A": "C",
632
+ "\xC7": "C",
633
+ "\xE7": "c",
634
+ "\u0109": "c",
635
+ "\u010B": "c",
636
+ "\xD0": "D",
637
+ "\u0110": "D",
638
+ "\xF0": "d",
639
+ "\u0111": "d",
640
+ "\u0114": "E",
641
+ "\u0116": "E",
642
+ "\u0115": "e",
643
+ "\u0117": "e",
644
+ "\u0192": "f",
645
+ "\u011C": "G",
646
+ "\u0120": "G",
647
+ "\u011D": "g",
648
+ "\u0121": "g",
649
+ "\u0124": "H",
650
+ "\u0126": "H",
651
+ "\u0125": "h",
652
+ "\u0127": "h",
653
+ "\u0128": "I",
654
+ "\u012C": "I",
655
+ "\u01CF": "I",
656
+ "\u012E": "I",
657
+ "\u0132": "IJ",
658
+ "\u0129": "i",
659
+ "\u012D": "i",
660
+ "\u01D0": "i",
661
+ "\u012F": "i",
662
+ "\u0133": "ij",
663
+ "\u0134": "J",
664
+ "\u0135": "j",
665
+ "\u0139": "L",
666
+ "\u013D": "L",
667
+ "\u013F": "L",
668
+ "\u013A": "l",
669
+ "\u013E": "l",
670
+ "\u0140": "l",
671
+ "\xD1": "N",
672
+ "\xF1": "n",
673
+ "\u0149": "n",
674
+ "\xD5": "O",
675
+ "\u014C": "O",
676
+ "\u014E": "O",
677
+ "\u01D1": "O",
678
+ "\u0150": "O",
679
+ "\u01A0": "O",
680
+ "\xD8": "O",
681
+ "\u01FE": "O",
682
+ "\u0152": "OE",
683
+ "\xF5": "o",
684
+ "\u014D": "o",
685
+ "\u014F": "o",
686
+ "\u01D2": "o",
687
+ "\u0151": "o",
688
+ "\u01A1": "o",
689
+ "\xF8": "o",
690
+ "\u01FF": "o",
691
+ "\xBA": "o",
692
+ "\u0153": "oe",
693
+ "\u0154": "R",
694
+ "\u0156": "R",
695
+ "\u0155": "r",
696
+ "\u0157": "r",
697
+ "\u015C": "S",
698
+ "\u0218": "S",
699
+ "\u015D": "s",
700
+ "\u0219": "s",
701
+ "\u017F": "s",
702
+ "\u0162": "T",
703
+ "\u021A": "T",
704
+ "\u0166": "T",
705
+ "\xDE": "TH",
706
+ "\u0163": "t",
707
+ "\u021B": "t",
708
+ "\u0167": "t",
709
+ "\xFE": "th",
710
+ "\u0168": "U",
711
+ "\u016C": "U",
712
+ "\u0170": "U",
713
+ "\u0172": "U",
714
+ "\u01AF": "U",
715
+ "\u01D3": "U",
716
+ "\u01D5": "U",
717
+ "\u01D7": "U",
718
+ "\u01D9": "U",
719
+ "\u01DB": "U",
720
+ "\u0169": "u",
721
+ "\u016D": "u",
722
+ "\u0171": "u",
723
+ "\u0173": "u",
724
+ "\u01B0": "u",
725
+ "\u01D4": "u",
726
+ "\u01D6": "u",
727
+ "\u01D8": "u",
728
+ "\u01DA": "u",
729
+ "\u01DC": "u",
730
+ "\u0174": "W",
731
+ "\u0175": "w",
732
+ "\u0176": "Y",
733
+ "\xFF": "y",
734
+ "\u0177": "y",
735
+ "\u0391\u03A5": "AU",
736
+ "\u0391\u038E": "AU",
737
+ "\u0391\u03C5": "Au",
738
+ "\u0391\u03CD": "Au",
739
+ "\u0395\u038A": "I",
740
+ "\u0395\u0399": "I",
741
+ "\u0395\u03B9": "Ei",
742
+ "\u0395\u03A5": "EF",
743
+ "\u0395\u038E": "EU",
744
+ "\u0395\u03AF": "I",
745
+ "\u0395\u03C5": "Ef",
746
+ "\u0395\u03CD": "Eu",
747
+ "\u039F\u0399": "I",
748
+ "\u039F\u038A": "I",
749
+ "\u039F\u03A5": "U",
750
+ "\u039F\u038E": "OU",
751
+ "\u039F\u03B9": "Oi",
752
+ "\u039F\u03AF": "I",
753
+ "\u039F\u03C5": "Oy",
754
+ "\u039F\u03CD": "Ou",
755
+ "\u03A5\u0399": "I",
756
+ "\u038E\u0399": "I",
757
+ "\u03A5\u03B9": "Yi",
758
+ "\u038E\u03B9": "I",
759
+ "\u03A5\u038A": "I",
760
+ "\u03A5\u03AF": "I",
761
+ "\u03B1\u03C5": "au",
762
+ "\u03B1\u03CD": "au",
763
+ "\u03B5\u03AF": "i",
764
+ "\u03B5\u03B9": "ei",
765
+ "\u03B5\u03C5": "ef",
766
+ "\u03B5\u03CD": "eu",
767
+ "\u03BF\u03B9": "oi",
768
+ "\u03BF\u03AF": "i",
769
+ "\u03BF\u03C5": "oy",
770
+ "\u03BF\u03CD": "ou",
771
+ "\u03C5\u03B9": "yi",
772
+ "\u03CD\u03B9": "i",
773
+ "\u03C5\u03AF": "i",
774
+ "\u0391": "A",
775
+ "\u0386": "A",
776
+ "\u0392": "B",
777
+ "\u0394": "D",
778
+ "\u0395": "E",
779
+ "\u0388": "E",
780
+ "\u03A6": "F",
781
+ "\u0393": "G",
782
+ "\u0397": "H",
783
+ "\u0389": "I",
784
+ "\u0399": "I",
785
+ "\u038A": "I",
786
+ "\u03AA": "I",
787
+ "\u039A": "K",
788
+ "\u039E": "Ks",
789
+ "\u039B": "L",
790
+ "\u039C": "M",
791
+ "\u039D": "N",
792
+ "\u03A0": "P",
793
+ "\u039F": "O",
794
+ "\u038C": "O",
795
+ "\u03A8": "Ps",
796
+ "\u03A1": "R",
797
+ "\u03A3": "S",
798
+ "\u03A4": "T",
799
+ "\u0398": "Th",
800
+ "\u03A9": "O",
801
+ "\u038F": "W",
802
+ "\u03A7": "X",
803
+ "\u03D2": "Y",
804
+ "\u03A5": "Y",
805
+ "\u038E": "Y",
806
+ "\u03AB": "Y",
807
+ "\u0396": "Z",
808
+ "\u03B1": "a",
809
+ "\u03AC": "a",
810
+ "\u03B2": "v",
811
+ "\u03B4": "d",
812
+ "\u03B5": "e",
813
+ "\u03AD": "e",
814
+ "\u03C6": "f",
815
+ "\u03B3": "gh",
816
+ "\u03B7": "i",
817
+ "\u03AE": "i",
818
+ "\u03B9": "i",
819
+ "\u03AF": "i",
820
+ "\u03CA": "i",
821
+ "\u0390": "i",
822
+ "\u03BA": "k",
823
+ "\u03BE": "ks",
824
+ "\u03BB": "l",
825
+ "\u03BC": "m",
826
+ "\u03BD": "n",
827
+ "\u03BF": "o",
828
+ "\u03CC": "o",
829
+ "\u03C0": "p",
830
+ "\u03C8": "ps",
831
+ "\u03C1": "r",
832
+ "\u03C3": "s",
833
+ "\u03C2": "s",
834
+ "\u03C4": "t",
835
+ "\u03D1": "th",
836
+ "\u03B8": "th",
837
+ "\u03D0": "v",
838
+ "\u03C9": "o",
839
+ "\u03CE": "w",
840
+ "\u03C7": "kh",
841
+ "\u03C5": "i",
842
+ "\u03CD": "y",
843
+ "\u03B0": "y",
844
+ "\u03CB": "y",
845
+ "\u03B6": "z",
846
+ "\u0905": "a",
847
+ "\u0906": "aa",
848
+ "\u090F": "e",
849
+ "\u0908": "ii",
850
+ "\u090D": "ei",
851
+ "\u090E": "ae",
852
+ "\u0910": "ai",
853
+ "\u0907": "i",
854
+ "\u0913": "o",
855
+ "\u0911": "oi",
856
+ "\u0912": "oii",
857
+ "\u090A": "uu",
858
+ "\u0914": "ou",
859
+ "\u0909": "u",
860
+ "\u092C": "B",
861
+ "\u092D": "Bha",
862
+ "\u091A": "Ca",
863
+ "\u091B": "Chha",
864
+ "\u0921": "Da",
865
+ "\u0922": "Dha",
866
+ "\u092B": "Fa",
867
+ "\u092B\u093C": "Fi",
868
+ "\u0917": "Ga",
869
+ "\u0918": "Gha",
870
+ "\u0917\u093C": "Ghi",
871
+ "\u0939": "Ha",
872
+ "\u091C": "Ja",
873
+ "\u091D": "Jha",
874
+ "\u0915": "Ka",
875
+ "\u0916": "Kha",
876
+ "\u0916\u093C": "Khi",
877
+ "\u0932": "L",
878
+ "\u0933": "Li",
879
+ "\u090C": "Li",
880
+ "\u0934": "Lii",
881
+ "\u0961": "Lii",
882
+ "\u092E": "Ma",
883
+ "\u0928": "Na",
884
+ "\u0919": "Na",
885
+ "\u091E": "Nia",
886
+ "\u0923": "Nae",
887
+ "\u0929": "Ni",
888
+ "\u0950": "oms",
889
+ "\u092A": "Pa",
890
+ "\u0915\u093C": "Qi",
891
+ "\u0930": "Ra",
892
+ "\u090B": "Ri",
893
+ "\u0960": "Ri",
894
+ "\u0931": "Ri",
895
+ "\u0938": "Sa",
896
+ "\u0936": "Sha",
897
+ "\u0937": "Shha",
898
+ "\u091F": "Ta",
899
+ "\u0924": "Ta",
900
+ "\u0920": "Tha",
901
+ "\u0926": "Tha",
902
+ "\u0925": "Tha",
903
+ "\u0927": "Thha",
904
+ "\u0921\u093C": "ugDha",
905
+ "\u0922\u093C": "ugDhha",
906
+ "\u0935": "Va",
907
+ "\u092F": "Ya",
908
+ "\u092F\u093C": "Yi",
909
+ "\u091C\u093C": "Za",
910
+ "\u0531": "A",
911
+ "\u0532": "B",
912
+ "\u0533": "G",
913
+ "\u0534": "D",
914
+ "\u0535": "E",
915
+ "\u0536": "Z",
916
+ "\u0537": "E",
917
+ "\u0538": "Y",
918
+ "\u0539": "Th",
919
+ "\u053A": "Zh",
920
+ "\u053B": "I",
921
+ "\u053C": "L",
922
+ "\u053D": "Kh",
923
+ "\u053E": "Ts",
924
+ "\u053F": "K",
925
+ "\u0540": "H",
926
+ "\u0541": "Dz",
927
+ "\u0542": "Gh",
928
+ "\u0543": "Tch",
929
+ "\u0544": "M",
930
+ "\u0545": "Y",
931
+ "\u0546": "N",
932
+ "\u0547": "Sh",
933
+ "\u0548": "Vo",
934
+ "\u0549": "Ch",
935
+ "\u054A": "P",
936
+ "\u054B": "J",
937
+ "\u054C": "R",
938
+ "\u054D": "S",
939
+ "\u054E": "V",
940
+ "\u054F": "T",
941
+ "\u0550": "R",
942
+ "\u0551": "C",
943
+ "\u0552": "u",
944
+ "\u0553": "Ph",
945
+ "\u0554": "Q",
946
+ "\u0587": "ev",
947
+ "\u0555": "O",
948
+ "\u0556": "F",
949
+ "\u0561": "a",
950
+ "\u0562": "b",
951
+ "\u0563": "g",
952
+ "\u0564": "d",
953
+ "\u0565": "e",
954
+ "\u0566": "z",
955
+ "\u0567": "e",
956
+ "\u0568": "y",
957
+ "\u0569": "th",
958
+ "\u056A": "zh",
959
+ "\u056B": "i",
960
+ "\u056C": "l",
961
+ "\u056D": "kh",
962
+ "\u056E": "ts",
963
+ "\u056F": "k",
964
+ "\u0570": "h",
965
+ "\u0571": "dz",
966
+ "\u0572": "gh",
967
+ "\u0573": "tch",
968
+ "\u0574": "m",
969
+ "\u0575": "y",
970
+ "\u0576": "n",
971
+ "\u0577": "sh",
972
+ "\u0578": "vo",
973
+ "\u0579": "ch",
974
+ "\u057A": "p",
975
+ "\u057B": "j",
976
+ "\u057C": "r",
977
+ "\u057D": "s",
978
+ "\u057E": "v",
979
+ "\u057F": "t",
980
+ "\u0580": "r",
981
+ "\u0581": "c",
982
+ "\u0582": "u",
983
+ "\u0583": "ph",
984
+ "\u0584": "q",
985
+ "\u0585": "o",
986
+ "\u0586": "f",
987
+ "\u017D": "Z",
988
+ "\u0147": "N",
989
+ "\u015E": "S",
990
+ "\u017E": "z",
991
+ "\u0148": "n",
992
+ "\u015F": "s",
993
+ "\u0131": "i",
994
+ "\u0130": "I",
995
+ "\u011F": "g",
996
+ "\u011E": "G",
997
+ "\u044C\u043E": "yo",
998
+ "\u0419": "i",
999
+ "\u0429": "Shh",
1000
+ "\u042A": "Ie",
1001
+ "\u042C": "",
1002
+ "\u042E": "Iu",
1003
+ "\u042F": "Ia",
1004
+ "\u0439": "i",
1005
+ "\u0449": "shh",
1006
+ "\u044A": "ie",
1007
+ "\u044C": "",
1008
+ "\u044E": "iu",
1009
+ "\u044F": "ia",
1010
+ "\u0112": "E",
1011
+ "\u0113": "e",
1012
+ "\u102D\u1010\u103A": "eik",
1013
+ "\u102F\u1010\u103A": "ok",
1014
+ "\u102F\u1014\u103A": "on",
1015
+ "\u1031\u1010\u103A": "it",
1016
+ "\u102F\u1012\u103A": "ait",
1017
+ "\u102C\u1014\u103A": "an",
1018
+ "\u102D\u1014\u103A": "ein",
1019
+ "\u103D\u1010\u103A": "ut",
1020
+ "\u1031\u102B\u103A": "aw",
1021
+ "\u103D\u1014\u103A": "un",
1022
+ "\u102D\u1015\u103A": "eik",
1023
+ "\u102F\u1015\u103A": "ok",
1024
+ "\u103D\u1015\u103A": "ut",
1025
+ "\u102D\u1019\u103A": "ein",
1026
+ "\u102F\u1019\u103A": "on",
1027
+ "\u1031\u102C\u103A": "aw",
1028
+ "\u103D\u1019\u103A": "un",
1029
+ "\u1000\u103A": "et",
1030
+ "\u1031\u102B": "aw",
1031
+ "\u1031\u102C": "aw",
1032
+ "\u103B\u103D": "ywa",
1033
+ "\u103C\u103D": "yw",
1034
+ "\u102D\u102F": "o",
1035
+ "\u102F\u1036": "on",
1036
+ "\u1010\u103A": "at",
1037
+ "\u1004\u103A": "in",
1038
+ "\u100A\u103A": "i",
1039
+ "\u1012\u103A": "d",
1040
+ "\u1014\u103A": "an",
1041
+ "\u1015\u103A": "at",
1042
+ "\u1019\u103A": "an",
1043
+ "\u1005\u103B": "za",
1044
+ "\u101A\u103A": "e",
1045
+ "\u1009\u103A": "in",
1046
+ "\u1005\u103A": "it",
1047
+ "\u102D\u1036": "ein",
1048
+ "\u1032": "e",
1049
+ "\u1038": "",
1050
+ "\u102C": "a",
1051
+ "\u102B": "a",
1052
+ "\u1031": "e",
1053
+ "\u1036": "an",
1054
+ "\u102D": "i",
1055
+ "\u102E": "i",
1056
+ "\u102F": "u",
1057
+ "\u1030": "u",
1058
+ "\u103A": "at",
1059
+ "\u1039": "",
1060
+ "\u1037": "",
1061
+ "\u1000": "k",
1062
+ "\u1049": "9",
1063
+ "\u1010": "t",
1064
+ "\u101B": "ya",
1065
+ "\u101A": "y",
1066
+ "\u1019": "m",
1067
+ "\u1018": "ba",
1068
+ "\u1017": "b",
1069
+ "\u1016": "pa",
1070
+ "\u1015": "p",
1071
+ "\u1014": "n",
1072
+ "\u1013": "da",
1073
+ "\u1012": "d",
1074
+ "\u1011": "ta",
1075
+ "\u100F": "na",
1076
+ "\u101D": "w",
1077
+ "\u100E": "da",
1078
+ "\u100D": "d",
1079
+ "\u100C": "ta",
1080
+ "\u100B": "t",
1081
+ "\u100A": "ny",
1082
+ "\u1007": "z",
1083
+ "\u1006": "sa",
1084
+ "\u1005": "s",
1085
+ "\u1004": "ng",
1086
+ "\u1003": "ga",
1087
+ "\u1002": "g",
1088
+ "\u101C": "l",
1089
+ "\u101E": "th",
1090
+ "\u1048": "8",
1091
+ "\u1029": "aw",
1092
+ "\u1001": "kh",
1093
+ "\u1046": "6",
1094
+ "\u1045": "5",
1095
+ "\u1044": "4",
1096
+ "\u1043": "3",
1097
+ "\u1042": "2",
1098
+ "\u1041": "1",
1099
+ "\u1040": "0",
1100
+ "\u104C": "hnaik",
1101
+ "\u104D": "ywae",
1102
+ "\u102A": "aw",
1103
+ "\u1026": "-u",
1104
+ "\u101F": "h",
1105
+ "\u1009": "u",
1106
+ "\u1024": "-i",
1107
+ "\u1023": "i",
1108
+ "\u104F": "-e",
1109
+ "\u1027": "e",
1110
+ "\u103E": "h",
1111
+ "\u103D": "w",
1112
+ "\u103B": "ya",
1113
+ "\u103C": "y",
1114
+ "\u1021": "a",
1115
+ "\u1020": "la",
1116
+ "\u1047": "7",
1117
+ "D\u017D": "DZ",
1118
+ "D\u017E": "Dz",
1119
+ "d\u017E": "dz",
1120
+ "\u01F1": "DZ",
1121
+ "\u01F2": "Dz",
1122
+ "\u01F3": "dz",
1123
+ "\u01C7": "LJ",
1124
+ "\u01C8": "Lj",
1125
+ "\u01C9": "lj",
1126
+ "\u01CA": "NJ",
1127
+ "\u01CB": "Nj",
1128
+ "\u01CC": "nj",
1129
+ "\u010D": "c",
1130
+ "\u010C": "C",
1131
+ "\u0107": "c",
1132
+ "\u0106": "C",
1133
+ "\u0161": "s",
1134
+ "\u0160": "S",
1135
+ "\u10D0": "a",
1136
+ "\u10D1": "b",
1137
+ "\u10D2": "g",
1138
+ "\u10D3": "d",
1139
+ "\u10D4": "e",
1140
+ "\u10D5": "v",
1141
+ "\u10D6": "z",
1142
+ "\u10D7": "t",
1143
+ "\u10D8": "i",
1144
+ "\u10D9": "k",
1145
+ "\u10DA": "l",
1146
+ "\u10DB": "m",
1147
+ "\u10DC": "n",
1148
+ "\u10DD": "o",
1149
+ "\u10DE": "p",
1150
+ "\u10DF": "zh",
1151
+ "\u10E0": "r",
1152
+ "\u10E1": "s",
1153
+ "\u10E2": "t",
1154
+ "\u10E3": "u",
1155
+ "\u10E4": "f",
1156
+ "\u10E5": "q",
1157
+ "\u10E6": "gh",
1158
+ "\u10E7": "y",
1159
+ "\u10E8": "sh",
1160
+ "\u10E9": "ch",
1161
+ "\u10EA": "ts",
1162
+ "\u10EB": "dz",
1163
+ "\u10EC": "ts",
1164
+ "\u10ED": "ch",
1165
+ "\u10EE": "kh",
1166
+ "\u10EF": "j",
1167
+ "\u10F0": "h",
1168
+ "\u0401": "E",
1169
+ "\u0451": "e",
1170
+ "\u042B": "Y",
1171
+ "\u044B": "y",
1172
+ "\u042D": "E",
1173
+ "\u044D": "e",
1174
+ "\u0406": "I",
1175
+ "\u0456": "i",
1176
+ "\u0472": "F",
1177
+ "\u0473": "f",
1178
+ "\u0462": "E",
1179
+ "\u0463": "e",
1180
+ "\u0474": "I",
1181
+ "\u0475": "i",
1182
+ "\u0404": "Je",
1183
+ "\u0454": "je",
1184
+ "\u0464": "Je",
1185
+ "\u0465": "je",
1186
+ "\uA64A": "U",
1187
+ "\uA64B": "u",
1188
+ "\u0460": "O",
1189
+ "\u0461": "o",
1190
+ "\u047E": "Ot",
1191
+ "\u047F": "ot",
1192
+ "\u046A": "U",
1193
+ "\u046B": "u",
1194
+ "\u0466": "Ja",
1195
+ "\u0467": "ja",
1196
+ "\u046C": "Ju",
1197
+ "\u046D": "ju",
1198
+ "\u0468": "Ja",
1199
+ "\u0469": "Ja",
1200
+ "\u046E": "Ks",
1201
+ "\u046F": "ks",
1202
+ "\u0470": "Ps",
1203
+ "\u0471": "ps",
1204
+ "\u0490": "G",
1205
+ "\u0491": "g",
1206
+ "\u0407": "Yi",
1207
+ "\u0457": "yi",
1208
+ "\u04D8": "A",
1209
+ "\u0492": "G",
1210
+ "\u049A": "Q",
1211
+ "\u04A2": "N",
1212
+ "\u04E8": "O",
1213
+ "\u04B0": "U",
1214
+ "\u04AE": "U",
1215
+ "\u04BA": "H",
1216
+ "\u04D9": "a",
1217
+ "\u0493": "g",
1218
+ "\u049B": "q",
1219
+ "\u04A3": "n",
1220
+ "\u04E9": "o",
1221
+ "\u04B1": "u",
1222
+ "\u04AF": "u",
1223
+ "\u04BB": "h",
1224
+ "\u010F": "d",
1225
+ "\u010E": "D",
1226
+ "\u011B": "e",
1227
+ "\u011A": "E",
1228
+ "\u0159": "r",
1229
+ "\u0158": "R",
1230
+ "\u0165": "t",
1231
+ "\u0164": "T",
1232
+ "\u016F": "u",
1233
+ "\u016E": "U",
1234
+ "\u0105": "a",
1235
+ "\u0119": "e",
1236
+ "\u0142": "l",
1237
+ "\u0144": "n",
1238
+ "\u015B": "s",
1239
+ "\u017A": "z",
1240
+ "\u017C": "z",
1241
+ "\u0104": "A",
1242
+ "\u0118": "E",
1243
+ "\u0141": "L",
1244
+ "\u0143": "N",
1245
+ "\u015A": "S",
1246
+ "\u0179": "Z",
1247
+ "\u017B": "Z",
1248
+ "\u0101": "a",
1249
+ "\u0123": "g",
1250
+ "\u012B": "i",
1251
+ "\u0137": "k",
1252
+ "\u013C": "l",
1253
+ "\u0146": "n",
1254
+ "\u016B": "u",
1255
+ "\u0100": "A",
1256
+ "\u0122": "G",
1257
+ "\u012A": "I",
1258
+ "\u0136": "k",
1259
+ "\u013B": "L",
1260
+ "\u0145": "N",
1261
+ "\u016A": "U",
1262
+ "\u1EA2": "A",
1263
+ "\u1EA0": "A",
1264
+ "\u1EAE": "A",
1265
+ "\u1EB0": "A",
1266
+ "\u1EB2": "A",
1267
+ "\u1EB4": "A",
1268
+ "\u1EB6": "A",
1269
+ "\u1EA4": "A",
1270
+ "\u1EA6": "A",
1271
+ "\u1EA8": "A",
1272
+ "\u1EAA": "A",
1273
+ "\u1EAC": "A",
1274
+ "\u1EA3": "a",
1275
+ "\u1EA1": "a",
1276
+ "\u1EAF": "a",
1277
+ "\u1EB1": "a",
1278
+ "\u1EB3": "a",
1279
+ "\u1EB5": "a",
1280
+ "\u1EB7": "a",
1281
+ "\u1EA5": "a",
1282
+ "\u1EA7": "a",
1283
+ "\u1EA9": "a",
1284
+ "\u1EAB": "a",
1285
+ "\u1EAD": "a",
1286
+ "\u1EBA": "E",
1287
+ "\u1EBC": "E",
1288
+ "\u1EB8": "E",
1289
+ "\u1EBE": "E",
1290
+ "\u1EC0": "E",
1291
+ "\u1EC2": "E",
1292
+ "\u1EC4": "E",
1293
+ "\u1EC6": "E",
1294
+ "\u1EBB": "e",
1295
+ "\u1EBD": "e",
1296
+ "\u1EB9": "e",
1297
+ "\u1EBF": "e",
1298
+ "\u1EC1": "e",
1299
+ "\u1EC3": "e",
1300
+ "\u1EC5": "e",
1301
+ "\u1EC7": "e",
1302
+ "\u1EC8": "I",
1303
+ "\u1ECA": "I",
1304
+ "\u1EC9": "i",
1305
+ "\u1ECB": "i",
1306
+ "\u1ECE": "O",
1307
+ "\u1ECC": "O",
1308
+ "\u1ED0": "O",
1309
+ "\u1ED2": "O",
1310
+ "\u1ED4": "O",
1311
+ "\u1ED6": "O",
1312
+ "\u1ED8": "O",
1313
+ "\u1EDA": "O",
1314
+ "\u1EDC": "O",
1315
+ "\u1EDE": "O",
1316
+ "\u1EE0": "O",
1317
+ "\u1EE2": "O",
1318
+ "\u1ECF": "o",
1319
+ "\u1ECD": "o",
1320
+ "\u1ED1": "o",
1321
+ "\u1ED3": "o",
1322
+ "\u1ED5": "o",
1323
+ "\u1ED7": "o",
1324
+ "\u1ED9": "o",
1325
+ "\u1EDB": "o",
1326
+ "\u1EDD": "o",
1327
+ "\u1EDF": "o",
1328
+ "\u1EE1": "o",
1329
+ "\u1EE3": "o",
1330
+ "\u1EE6": "U",
1331
+ "\u1EE4": "U",
1332
+ "\u1EE8": "U",
1333
+ "\u1EEA": "U",
1334
+ "\u1EEC": "U",
1335
+ "\u1EEE": "U",
1336
+ "\u1EF0": "U",
1337
+ "\u1EE7": "u",
1338
+ "\u1EE5": "u",
1339
+ "\u1EE9": "u",
1340
+ "\u1EEB": "u",
1341
+ "\u1EED": "u",
1342
+ "\u1EEF": "u",
1343
+ "\u1EF1": "u",
1344
+ "\u1EF2": "Y",
1345
+ "\u1EF6": "Y",
1346
+ "\u1EF8": "Y",
1347
+ "\u1EF4": "Y",
1348
+ "\u1EF3": "y",
1349
+ "\u1EF7": "y",
1350
+ "\u1EF9": "y",
1351
+ "\u1EF5": "y",
1352
+ "\u0627": "a",
1353
+ "\u0628": "b",
1354
+ "\u067E": "p",
1355
+ "\u062A": "t",
1356
+ "\u062B": "th",
1357
+ "\u062C": "g",
1358
+ "\u0686": "ch",
1359
+ "\u062D": "h",
1360
+ "\u062E": "kh",
1361
+ "\u062F": "d",
1362
+ "\u0630": "th",
1363
+ "\u0631": "r",
1364
+ "\u0632": "z",
1365
+ "\u0633": "s",
1366
+ "\u0634": "sh",
1367
+ "\u0635": "s",
1368
+ "\u0636": "d",
1369
+ "\u0637": "t",
1370
+ "\u0638": "th",
1371
+ "\u0639": "aa",
1372
+ "\u063A": "gh",
1373
+ "\u0641": "f",
1374
+ "\u0642": "k",
1375
+ "\u06A9": "k",
1376
+ "\u06AF": "g",
1377
+ "\u0644": "l",
1378
+ "\u0698": "zh",
1379
+ "\u0643": "k",
1380
+ "\u0645": "m",
1381
+ "\u0646": "n",
1382
+ "\u0647": "h",
1383
+ "\u0648": "o",
1384
+ "\u06CC": "y",
1385
+ "\u0622": "a",
1386
+ "\u0660": "0",
1387
+ "\u0661": "1",
1388
+ "\u0662": "2",
1389
+ "\u0663": "3",
1390
+ "\u0664": "4",
1391
+ "\u0665": "5",
1392
+ "\u0666": "6",
1393
+ "\u0667": "7",
1394
+ "\u0668": "8",
1395
+ "\u0669": "9",
1396
+ "\u0623": "a",
1397
+ "\u064A": "y",
1398
+ "\u0625": "a",
1399
+ "\u0624": "o",
1400
+ "\u0626": "y",
1401
+ "\u0621": "aa",
1402
+ "\u0452": "dj",
1403
+ "\u045B": "c",
1404
+ "\u0402": "Dj",
1405
+ "\u040B": "C",
1406
+ "\u0259": "e",
1407
+ "\u018F": "E",
1408
+ "\xDF": "ss",
1409
+ "\u1E9E": "SS",
1410
+ "\u09AD\u09CD\u09B2": "vl",
1411
+ "\u09AA\u09B6": "psh",
1412
+ "\u09AC\u09CD\u09A7": "bdh",
1413
+ "\u09AC\u09CD\u099C": "bj",
1414
+ "\u09AC\u09CD\u09A6": "bd",
1415
+ "\u09AC\u09CD\u09AC": "bb",
1416
+ "\u09AC\u09CD\u09B2": "bl",
1417
+ "\u09AD": "v",
1418
+ "\u09AC": "b",
1419
+ "\u099A\u09CD\u099E": "cNG",
1420
+ "\u099A\u09CD\u099B": "cch",
1421
+ "\u099A\u09CD\u099A": "cc",
1422
+ "\u099B": "ch",
1423
+ "\u099A": "c",
1424
+ "\u09A7\u09CD\u09A8": "dhn",
1425
+ "\u09A7\u09CD\u09AE": "dhm",
1426
+ "\u09A6\u09CD\u0998": "dgh",
1427
+ "\u09A6\u09CD\u09A7": "ddh",
1428
+ "\u09A6\u09CD\u09AD": "dv",
1429
+ "\u09A6\u09CD\u09AE": "dm",
1430
+ "\u09A1\u09CD\u09A1": "DD",
1431
+ "\u09A2": "Dh",
1432
+ "\u09A7": "dh",
1433
+ "\u09A6\u09CD\u0997": "dg",
1434
+ "\u09A6\u09CD\u09A6": "dd",
1435
+ "\u09A1": "D",
1436
+ "\u09A6": "d",
1437
+ "\u0964": ".",
1438
+ "\u0998\u09CD\u09A8": "Ghn",
1439
+ "\u0997\u09CD\u09A7": "Gdh",
1440
+ "\u0997\u09CD\u09A3": "GN",
1441
+ "\u0997\u09CD\u09A8": "Gn",
1442
+ "\u0997\u09CD\u09AE": "Gm",
1443
+ "\u0997\u09CD\u09B2": "Gl",
1444
+ "\u099C\u09CD\u099E": "jNG",
1445
+ "\u0998": "Gh",
1446
+ "\u0997": "g",
1447
+ "\u09B9\u09CD\u09A3": "hN",
1448
+ "\u09B9\u09CD\u09A8": "hn",
1449
+ "\u09B9\u09CD\u09AE": "hm",
1450
+ "\u09B9\u09CD\u09B2": "hl",
1451
+ "\u09B9": "h",
1452
+ "\u099C\u09CD\u099D": "jjh",
1453
+ "\u099D": "jh",
1454
+ "\u099C\u09CD\u099C": "jj",
1455
+ "\u099C": "j",
1456
+ "\u0995\u09CD\u09B7": "ksh",
1457
+ "\u0995\u09B6": "ksh",
1458
+ "\u0995\u09CD\u0995": "kk",
1459
+ "\u0995\u09CD\u099F": "kT",
1460
+ "\u0995\u09CD\u09A4": "kt",
1461
+ "\u0995\u09CD\u09B2": "kl",
1462
+ "\u0995\u09CD\u09B8": "ks",
1463
+ "\u0996": "kh",
1464
+ "\u0995": "k",
1465
+ "\u09B2\u09CD\u09AD": "lv",
1466
+ "\u09B2\u09CD\u09A7": "ldh",
1467
+ "\u09B2\u0996": "lkh",
1468
+ "\u09B2\u0998": "lgh",
1469
+ "\u09B2\u09AB": "lph",
1470
+ "\u09B2\u09CD\u0995": "lk",
1471
+ "\u09B2\u09CD\u0997": "lg",
1472
+ "\u09B2\u09CD\u099F": "lT",
1473
+ "\u09B2\u09CD\u09A1": "lD",
1474
+ "\u09B2\u09CD\u09AA": "lp",
1475
+ "\u09B2\u09CD\u09AE": "lm",
1476
+ "\u09B2\u09CD\u09B2": "ll",
1477
+ "\u09B2\u09CD\u09AC": "lb",
1478
+ "\u09B2": "l",
1479
+ "\u09AE\u09CD\u09A5": "mth",
1480
+ "\u09AE\u09CD\u09AB": "mf",
1481
+ "\u09AE\u09CD\u09AD": "mv",
1482
+ "\u09AE\u09CD\u09A8": "mn",
1483
+ "\u09AE\u09CD\u09AA": "mp",
1484
+ "\u09AE\u09CD\u09AE": "mm",
1485
+ "\u09AE\u09CD\u09B2": "ml",
1486
+ "\u09AE\u09CD\u09AC": "mb",
1487
+ "\u09AE": "m",
1488
+ "\u09E6": "0",
1489
+ "\u09E7": "1",
1490
+ "\u09E8": "2",
1491
+ "\u09E9": "3",
1492
+ "\u09EA": "4",
1493
+ "\u09EB": "5",
1494
+ "\u09EC": "6",
1495
+ "\u09ED": "7",
1496
+ "\u09EE": "8",
1497
+ "\u09EF": "9",
1498
+ "\u099E\u09CD\u099B": "nch",
1499
+ "\u0999\u09CD\u0998": "ngh",
1500
+ "\u0999\u09CD\u0996": "nkh",
1501
+ "\u099E\u09CD\u099D": "njh",
1502
+ "\u099E\u09CD\u099A": "nc",
1503
+ "\u0999\u09CD\u0995": "nk",
1504
+ "\u0999\u09CD\u09B7": "Ngx",
1505
+ "\u0999\u09CD\u0997": "ngo",
1506
+ "\u0999\u09CD\u09AE": "Ngm",
1507
+ "\u099E\u09CD\u099C": "nj",
1508
+ "\u09A8\u09CD\u09A7": "ndh",
1509
+ "\u09A8\u09CD\u09A0": "nTh",
1510
+ "\u09A3\u09CD\u09A0": "NTh",
1511
+ "\u09A8\u09CD\u09A5": "nth",
1512
+ "\u09A3\u09CD\u09A2": "NDh",
1513
+ "\u09A8\u09B6": "nsh",
1514
+ "\u0999\u09B0": "Ngr",
1515
+ "\u099E\u09B0": "NGr",
1516
+ "\u0982\u09B0": "ngr",
1517
+ "\u0999": "Ng",
1518
+ "\u099E": "NG",
1519
+ "\u0982": "ng",
1520
+ "\u09A8\u09CD\u09A8": "nn",
1521
+ "\u09A3\u09CD\u09A3": "NN",
1522
+ "\u09A3\u09CD\u09A8": "Nn",
1523
+ "\u09A8\u09CD\u09AE": "nm",
1524
+ "\u09A3\u09CD\u09AE": "Nm",
1525
+ "\u09A8\u09CD\u09A6": "nd",
1526
+ "\u09A8\u09CD\u099F": "nT",
1527
+ "\u09A3\u09CD\u099F": "NT",
1528
+ "\u09A8\u09CD\u09A1": "nD",
1529
+ "\u09A3\u09CD\u09A1": "ND",
1530
+ "\u09A8\u09CD\u09A4": "nt",
1531
+ "\u09A8\u09CD\u09B8": "ns",
1532
+ "\u09A8": "n",
1533
+ "\u09A3": "N",
1534
+ "\u09C8": "OI",
1535
+ "\u09CC": "OU",
1536
+ "\u09CB": "O",
1537
+ "\u0990": "OI",
1538
+ "\u0994": "OU",
1539
+ "\u0985": "o",
1540
+ "\u0993": "oo",
1541
+ "\u09AB\u09CD\u09B2": "fl",
1542
+ "\u09AA\u09CD\u099F": "pT",
1543
+ "\u09AA\u09CD\u09A4": "pt",
1544
+ "\u09AA\u09CD\u09A8": "pn",
1545
+ "\u09AA\u09CD\u09AA": "pp",
1546
+ "\u09AA\u09CD\u09B2": "pl",
1547
+ "\u09AA\u09CD\u09B8": "ps",
1548
+ "\u09AB": "f",
1549
+ "\u09AA": "p",
1550
+ "\u09C3": "rri",
1551
+ "\u098B": "rri",
1552
+ "\u09CD\u09B0\u09B0": "rr",
1553
+ "\u09DC\u09CD\u0997": "Rg",
1554
+ "\u09DD": "Rh",
1555
+ "\u09DC": "R",
1556
+ "\u09B0": "r",
1557
+ "\u09CD\u09B0": "r",
1558
+ "\u09B6\u09CD\u099B": "Sch",
1559
+ "\u09B7\u09CD\u09A0": "ShTh",
1560
+ "\u09B7\u09CD\u09AB": "Shf",
1561
+ "\u09B8\u09CD\u0996": "skh",
1562
+ "\u09B8\u09CD\u09A5": "sth",
1563
+ "\u09B8\u09CD\u09AB": "sf",
1564
+ "\u09B6\u09CD\u099A": "Sc",
1565
+ "\u09B6\u09CD\u09A4": "St",
1566
+ "\u09B6\u09CD\u09A8": "Sn",
1567
+ "\u09B6\u09CD\u09AE": "Sm",
1568
+ "\u09B6\u09CD\u09B2": "Sl",
1569
+ "\u09B7\u09CD\u0995": "Shk",
1570
+ "\u09B7\u09CD\u099F": "ShT",
1571
+ "\u09B7\u09CD\u09A3": "ShN",
1572
+ "\u09B7\u09CD\u09AA": "Shp",
1573
+ "\u09B7\u09CD\u09AE": "Shm",
1574
+ "\u09B8\u09CD\u0995": "sk",
1575
+ "\u09B8\u09CD\u099F": "sT",
1576
+ "\u09B8\u09CD\u09A4": "st",
1577
+ "\u09B8\u09CD\u09A8": "sn",
1578
+ "\u09B8\u09CD\u09AA": "sp",
1579
+ "\u09B8\u09CD\u09AE": "sm",
1580
+ "\u09B8\u09CD\u09B2": "sl",
1581
+ "\u09B6": "S",
1582
+ "\u09B7": "Sh",
1583
+ "\u09B8": "s",
1584
+ "\u09C1": "u",
1585
+ "\u0989": "u",
1586
+ "\u0985\u09CD\u09AF": "oZ",
1587
+ "\u09A4\u09CD\u09A5": "tth",
1588
+ "\u09CE": "tt",
1589
+ "\u099F\u09CD\u099F": "TT",
1590
+ "\u099F\u09CD\u09AE": "Tm",
1591
+ "\u09A0": "Th",
1592
+ "\u09A4\u09CD\u09A8": "tn",
1593
+ "\u09A4\u09CD\u09AE": "tm",
1594
+ "\u09A5": "th",
1595
+ "\u09A4\u09CD\u09A4": "tt",
1596
+ "\u099F": "T",
1597
+ "\u09A4": "t",
1598
+ "\u09BE": "a",
1599
+ "\u0986": "a",
1600
+ "\u09DF\u09BE": "ya",
1601
+ "\u09DF": "y",
1602
+ "\u09BF": "i",
1603
+ "\u0987": "i",
1604
+ "\u09C0": "ee",
1605
+ "\u0988": "ee",
1606
+ "\u09C2": "uu",
1607
+ "\u098A": "uu",
1608
+ "\u09C7": "e",
1609
+ "\u098F": "e",
1610
+ "\u09AF": "z",
1611
+ "\u09CD\u09AF": "Z",
1612
+ "\u0987\u09DF": "y",
1613
+ "\u0993\u09DF": "w",
1614
+ "\u09CD\u09AC": "w",
1615
+ "\u0983": ":",
1616
+ "\u0981": "nn",
1617
+ "\u09CD\u200C": "",
1618
+ "\u02DA": "0",
1619
+ "\xB9": "1",
1620
+ "\xB2": "2",
1621
+ "\xB3": "3",
1622
+ "\u2074": "4",
1623
+ "\u2075": "5",
1624
+ "\u2076": "6",
1625
+ "\u2077": "7",
1626
+ "\u2078": "8",
1627
+ "\u2079": "9",
1628
+ "\u2080": "0",
1629
+ "\u2081": "1",
1630
+ "\u2082": "2",
1631
+ "\u2083": "3",
1632
+ "\u2084": "4",
1633
+ "\u2085": "5",
1634
+ "\u2086": "6",
1635
+ "\u2087": "7",
1636
+ "\u2088": "8",
1637
+ "\u2089": "9",
1638
+ "\u0BE6": "0",
1639
+ "\u0BE7": "1",
1640
+ "\u0BE8": "2",
1641
+ "\u0BE9": "3",
1642
+ "\u0BEA": "4",
1643
+ "\u0BEB": "5",
1644
+ "\u0BEC": "6",
1645
+ "\u0BED": "7",
1646
+ "\u0BEE": "8",
1647
+ "\u0BEF": "9",
1648
+ "\u0BF0": "10",
1649
+ "\u0BF1": "100",
1650
+ "\u0BF2": "1000",
1651
+ "\uA732": "AA",
1652
+ "\uA733": "aa",
1653
+ "\uA734": "AO",
1654
+ "\uA735": "ao",
1655
+ "\uA736": "AU",
1656
+ "\uA737": "au",
1657
+ "\uA738": "AV",
1658
+ "\uA739": "av",
1659
+ "\uA73A": "av",
1660
+ "\uA73B": "av",
1661
+ "\uA73C": "AY",
1662
+ "\uA73D": "ay",
1663
+ "\u0238": "db",
1664
+ "\u02A3": "dz",
1665
+ "\u02A5": "dz",
1666
+ "\u02A4": "dezh",
1667
+ "\u{1F670}": "et",
1668
+ "\uFB00": "ff",
1669
+ "\uFB03": "ffi",
1670
+ "\uFB04": "ffl",
1671
+ "\uFB01": "fi",
1672
+ "\uFB02": "fl",
1673
+ "\u02A9": "feng",
1674
+ "\u02AA": "ls",
1675
+ "\u02AB": "lz",
1676
+ "\u026E": "lezh",
1677
+ "\u0239": "qp",
1678
+ "\u02A8": "tc",
1679
+ "\u02A6": "ts",
1680
+ "\u02A7": "tesh",
1681
+ "\uA74E": "OO",
1682
+ "\uA74F": "oo",
1683
+ "\uFB06": "st",
1684
+ "\uFB05": "st",
1685
+ "\uA728": "TZ",
1686
+ "\uA729": "tz",
1687
+ "\u1D6B": "ue",
1688
+ "A\u03B9": "Ai",
1689
+ "\u03B1\u03B9": "ai",
1690
+ "\u1F00": "a",
1691
+ "\u1F01": "a",
1692
+ "\u1F02": "a",
1693
+ "\u1F03": "a",
1694
+ "\u1F04": "a",
1695
+ "\u1F05": "a",
1696
+ "\u1F06": "a",
1697
+ "\u1F07": "a",
1698
+ "\u1F08": "A",
1699
+ "\u1F09": "A",
1700
+ "\u1F0A": "A",
1701
+ "\u1F0B": "A",
1702
+ "\u1F0C": "A",
1703
+ "\u1F0D": "A",
1704
+ "\u1F0E": "A",
1705
+ "\u1F0F": "A",
1706
+ "\u1FB0": "a",
1707
+ "\u1FB1": "a",
1708
+ "\u1FB2": "a",
1709
+ "\u1FB3": "a",
1710
+ "\u1FB4": "a",
1711
+ "\u1FB6": "a",
1712
+ "\u1FB7": "a",
1713
+ "\u1FB8": "A",
1714
+ "\u1FB9": "A",
1715
+ "\u1FBA": "A",
1716
+ "\u1FBB": "A",
1717
+ "\u1FBC": "A",
1718
+ "A\u0327": "A",
1719
+ "a\u0327": "a",
1720
+ "\u023A": "A",
1721
+ "\u2C65": "a",
1722
+ "\u0226": "A",
1723
+ "\u0227": "a",
1724
+ "\u0181": "B",
1725
+ "C\u0308": "C",
1726
+ "c\u0308": "c",
1727
+ "C\u0328": "C",
1728
+ "c\u0328": "c",
1729
+ "\u023B": "C",
1730
+ "\u023C": "c",
1731
+ "C\u0300": "C",
1732
+ "c\u0300": "c",
1733
+ "C\u0323": "C",
1734
+ "c\u0323": "c",
1735
+ "C\u0304": "C",
1736
+ "c\u0304": "c",
1737
+ "C\u0303": "C",
1738
+ "c\u0303": "c",
1739
+ "\u0228": "E",
1740
+ "\u0229": "e",
1741
+ "\u0246": "E",
1742
+ "\u0247": "e",
1743
+ "I\u0327": "I",
1744
+ "i\u0327": "i",
1745
+ "\u0197": "I",
1746
+ "\u0268": "i",
1747
+ "i": "i",
1748
+ "J\u0301\u0301": "J",
1749
+ "j\u0301": "j",
1750
+ "J\u0300\u0300": "J",
1751
+ "j\u0300": "j",
1752
+ "J\u0308": "J",
1753
+ "j\u0308": "j",
1754
+ "J\u0327": "J",
1755
+ "j\u0327": "j",
1756
+ "J\u0328": "J",
1757
+ "j\u0328": "j",
1758
+ "\u0248": "J",
1759
+ "\u0249": "j",
1760
+ "J\u030C": "J",
1761
+ "\u01F0": "j",
1762
+ "J\u0307": "J",
1763
+ "j": "j",
1764
+ "J\u0323": "J",
1765
+ "j\u0323": "j",
1766
+ "J\u0304": "J",
1767
+ "j\u0304": "j",
1768
+ "J\u0303": "J",
1769
+ "j\u0303": "j",
1770
+ "\u0138": "k",
1771
+ "L\u0300": "L",
1772
+ "l\u0300": "l",
1773
+ "L\u0302": "L",
1774
+ "l\u0302": "l",
1775
+ "L\u0308": "L",
1776
+ "l\u0308": "l",
1777
+ "L\u0328": "L",
1778
+ "l\u0328": "l",
1779
+ "\u023D": "L",
1780
+ "\u019A": "l",
1781
+ "L\u0307": "L",
1782
+ "l\u0307": "l",
1783
+ "\u1E36": "L",
1784
+ "\u1E37": "l",
1785
+ "L\u0304": "L",
1786
+ "l\u0304": "l",
1787
+ "L\u0303": "L",
1788
+ "l\u0303": "l",
1789
+ "\u014A": "N",
1790
+ "\u014B": "n",
1791
+ "\u01F8": "N",
1792
+ "\u01F9": "n",
1793
+ "N\u0302": "N",
1794
+ "n\u0302": "n",
1795
+ "N\u0308": "N",
1796
+ "n\u0308": "n",
1797
+ "N\u0328": "N",
1798
+ "n\u0328": "n",
1799
+ "\uA7A4": "N",
1800
+ "\uA7A5": "n",
1801
+ "\u1E44": "N",
1802
+ "\u1E45": "n",
1803
+ "\u1E46": "N",
1804
+ "\u1E47": "n",
1805
+ "N\u0304": "N",
1806
+ "n\u0304": "n",
1807
+ "O\u0327": "O",
1808
+ "o\u0327": "o",
1809
+ "\u01EA": "O",
1810
+ "\u01EB": "o",
1811
+ "\u019F": "O",
1812
+ "\u0275": "o",
1813
+ "\u022E": "O",
1814
+ "\u022F": "o",
1815
+ "S\u0300": "S",
1816
+ "s\u0300": "s",
1817
+ "\u015C\u0300": "S",
1818
+ "S\u0308": "S",
1819
+ "s\u0308": "s",
1820
+ "S\u0328": "S",
1821
+ "s\u0328": "s",
1822
+ "\uA7A8": "S",
1823
+ "\uA7A9": "s",
1824
+ "\u1E60": "S",
1825
+ "\u1E61": "s",
1826
+ "\u1E62": "S",
1827
+ "\u1E63": "s",
1828
+ "S\u0304": "S",
1829
+ "s\u0304": "s",
1830
+ "S\u0303": "S",
1831
+ "s\u0303": "s",
1832
+ "T\u0301": "T",
1833
+ "t\u0301": "t",
1834
+ "T\u0300": "T",
1835
+ "t\u0300": "t",
1836
+ "T\u0302": "T",
1837
+ "t\u0302": "t",
1838
+ "T\u0308": "T",
1839
+ "\u1E97": "t",
1840
+ "T\u0328": "T",
1841
+ "t\u0328": "t",
1842
+ "\u023E": "T",
1843
+ "\u2C66": "t",
1844
+ "\u1E6A": "T",
1845
+ "\u1E6B": "t",
1846
+ "\u1E6C": "T",
1847
+ "\u1E6D": "t",
1848
+ "T\u0304": "T",
1849
+ "t\u0304": "t",
1850
+ "T\u0303": "T",
1851
+ "t\u0303": "t",
1852
+ "U\u0327": "U",
1853
+ "u\u0327": "u",
1854
+ "\u0244": "U",
1855
+ "\u0289": "u",
1856
+ "U\u0307": "U",
1857
+ "u\u0307": "u",
1858
+ "\u01B1": "U",
1859
+ "\u028A": "u",
1860
+ "\u1E80": "W",
1861
+ "\u1E81": "w",
1862
+ "\u1E82": "W",
1863
+ "\u1E83": "w",
1864
+ "\u1E84": "W",
1865
+ "\u1E85": "w",
1866
+ "\uA656": "Ja",
1867
+ "\uA657": "ja",
1868
+ "Y\u0327": "Y",
1869
+ "y\u0327": "y",
1870
+ "Y\u0328": "Y",
1871
+ "y\u0328": "y",
1872
+ "\u024E": "Y",
1873
+ "\u024F": "y",
1874
+ "Y\u030C": "Y",
1875
+ "y\u030C": "y",
1876
+ "\u1E8E": "Y",
1877
+ "\u1E8F": "y",
1878
+ "\u0232": "Y",
1879
+ "\u0233": "y",
1880
+ "Z\u0300": "Z",
1881
+ "z\u0300": "z",
1882
+ "\u1E90": "Z",
1883
+ "\u1E91": "z",
1884
+ "Z\u0308": "Z",
1885
+ "z\u0308": "z",
1886
+ "Z\u0327": "Z",
1887
+ "z\u0327": "z",
1888
+ "Z\u0328": "Z",
1889
+ "z\u0328": "z",
1890
+ "\u01B5": "Z",
1891
+ "\u01B6": "z",
1892
+ "\u1E92": "Z",
1893
+ "\u1E93": "z",
1894
+ "Z\u0304": "Z",
1895
+ "z\u0304": "z",
1896
+ "Z\u0303": "Z",
1897
+ "z\u0303": "z",
1898
+ "\xA0": " ",
1899
+ "\u1680": " ",
1900
+ "\u2000": " ",
1901
+ "\u2001": " ",
1902
+ "\u2002": " ",
1903
+ "\u2003": " ",
1904
+ "\u2004": " ",
1905
+ "\u2005": " ",
1906
+ "\u2006": " ",
1907
+ "\u2007": " ",
1908
+ "\u2008": " ",
1909
+ "\u2009": " ",
1910
+ "\u200A": " ",
1911
+ "\u2028": " ",
1912
+ "\u2029": " ",
1913
+ "\u200B": " ",
1914
+ "\u202F": " ",
1915
+ "\u205F": " ",
1916
+ "\u3000": " ",
1917
+ "\uFFA0": " ",
1918
+ "\xAB": "<<",
1919
+ "\xBB": ">>",
1920
+ "\u2018": "'",
1921
+ "\u2019": "'",
1922
+ "\u201A": "'",
1923
+ "\u201B": "'",
1924
+ "\u201C": '"',
1925
+ "\u201D": '"',
1926
+ "\u201E": '"',
1927
+ "\u201F": '"',
1928
+ "\u2039": "'",
1929
+ "\u203A": "'",
1930
+ "\u2013": "-",
1931
+ "\u2014": "-",
1932
+ "\u2026": "...",
1933
+ "\u20AC": "EUR",
1934
+ "$": "$",
1935
+ "\u20A2": "Cr",
1936
+ "\u20A3": "Fr.",
1937
+ "\xA3": "PS",
1938
+ "\u20A4": "L.",
1939
+ "\u2133": "M",
1940
+ "\u20A5": "mil",
1941
+ "\u20A6": "N",
1942
+ "\u20A7": "Pts",
1943
+ "\u20A8": "Rs",
1944
+ "\u0DBB\u0DD4": "LKR",
1945
+ "\u0BB0\u0BC2": "LKR",
1946
+ "\u0BF9": "Rs",
1947
+ "\u0930\u0942": "NPR",
1948
+ "\u20B9": "Rs",
1949
+ "\u0AF1": "Rs",
1950
+ "\u20A9": "W",
1951
+ "\u20AA": "NS",
1952
+ "\u20B8": "KZT",
1953
+ "\u20AB": "D",
1954
+ "\u058F": "AMD",
1955
+ "\u20AD": "K",
1956
+ "\u20BA": "TL",
1957
+ "\u20BC": "AZN",
1958
+ "\u20AE": "T",
1959
+ "\u20AF": "Dr",
1960
+ "\u20B2": "PYG",
1961
+ "\u20BE": "GEL",
1962
+ "\u20B3": "ARA",
1963
+ "\u20B4": "UAH",
1964
+ "\u20BD": "RUB",
1965
+ "\u20B5": "GHS",
1966
+ "\u20A1": "CL",
1967
+ "\xA2": "c",
1968
+ "\xA5": "YEN",
1969
+ "\u5186": "JPY",
1970
+ "\u09F3": "BDT",
1971
+ "\u5143": "CNY",
1972
+ "\uFDFC": "SAR",
1973
+ "\u17DB": "KR",
1974
+ "\u20A0": "ECU",
1975
+ "\xA4": "$?",
1976
+ "\u0E3F": "THB",
1977
+ "\u060B": "AFN"
1978
+ })
1979
+ );
1980
+ var UNSUPPORTED = /[^\x09\x10\x13\x0A\x0D\x20-\x7E]/gu;
1981
+ function toAscii(value2) {
1982
+ const characters = value2.match(UNSUPPORTED) ?? [];
1983
+ const done = /* @__PURE__ */ new Set();
1984
+ let result = value2;
1985
+ const replace = (run) => {
1986
+ const ascii2 = TABLE.get(run);
1987
+ if (ascii2 === void 0 || done.has(run) || !result.includes(run)) return;
1988
+ done.add(run);
1989
+ result = result.replaceAll(run, ascii2);
1990
+ };
1991
+ for (const size of [3, 2]) {
1992
+ for (let index = 0; index + size <= characters.length; index++) replace(characters.slice(index, index + size).join(""));
1993
+ }
1994
+ for (const character of characters) replace(character);
1995
+ return result.replace(/\n\r|\n|\r|\t/g, " ").replace(UNSUPPORTED, "");
1996
+ }
1997
+ var INVISIBLE = "\\u0009\\u0020\\u00a0\\u00ad\\u034f\\u061c\\u115f\\u1160\\u17b4\\u17b5\\u180e\\u2000-\\u200f\\u202f\\u205f\\u2060-\\u2065\\u206a-\\u206f\\u3000\\u2800\\u3164\\ufeff\\uffa0\\u{1d159}\\u{1d173}-\\u{1d17a}\\u{e0020}";
1998
+ var LEADING = new RegExp(`^[\\s\\0\\v${INVISIBLE}]+`, "u");
1999
+ var TRAILING = new RegExp(`[\\s\\0\\v${INVISIBLE}]+$`, "u");
2000
+ var TRUE_VALUES = /* @__PURE__ */ new Set(["1", "true", "on", "yes"]);
2001
+ var startTrimmed = (value2, characters) => {
2002
+ let start = 0;
2003
+ while (start < value2.length && characters.includes(value2[start])) start++;
2004
+ return value2.slice(start);
2005
+ };
2006
+ var endTrimmed = (value2, characters) => {
2007
+ let end = value2.length;
2008
+ while (end > 0 && characters.includes(value2[end - 1])) end--;
2009
+ return value2.slice(0, end);
2010
+ };
2011
+ var Stringable = class _Stringable {
2012
+ #value;
2013
+ constructor(value2 = "") {
2014
+ this.#value = value2;
2015
+ }
2016
+ after(search) {
2017
+ return new _Stringable(Str.after(this.#value, search));
2018
+ }
2019
+ afterLast(search) {
2020
+ return new _Stringable(Str.afterLast(this.#value, search));
2021
+ }
2022
+ append(...values) {
2023
+ return new _Stringable(this.#value + values.join(""));
2024
+ }
2025
+ ascii() {
2026
+ return new _Stringable(Str.ascii(this.#value));
2027
+ }
2028
+ before(search) {
2029
+ return new _Stringable(Str.before(this.#value, search));
2030
+ }
2031
+ beforeLast(search) {
2032
+ return new _Stringable(Str.beforeLast(this.#value, search));
2033
+ }
2034
+ between(from, to) {
2035
+ return new _Stringable(Str.between(this.#value, from, to));
2036
+ }
2037
+ camel() {
2038
+ return new _Stringable(Str.camel(this.#value));
2039
+ }
2040
+ contains(needles) {
2041
+ return Str.contains(this.#value, needles);
2042
+ }
2043
+ endsWith(needles) {
2044
+ return Str.endsWith(this.#value, needles);
2045
+ }
2046
+ /** The same string as `value` (a string or another Stringable). */
2047
+ exactly(value2) {
2048
+ return this.#value === String(value2);
2049
+ }
2050
+ /** The parts between the delimiters, as a Collection (PHP's explode()). */
2051
+ explode(delimiter) {
2052
+ return new Collection(this.#value.split(delimiter));
2053
+ }
2054
+ finish(cap) {
2055
+ return new _Stringable(Str.finish(this.#value, cap));
2056
+ }
2057
+ /** Wildcard match, as Str.is(): `*` matches anything. */
2058
+ is(pattern) {
2059
+ return Str.is(pattern, this.#value);
2060
+ }
2061
+ isEmpty() {
2062
+ return this.#value === "";
2063
+ }
2064
+ isNotEmpty() {
2065
+ return this.#value !== "";
2066
+ }
2067
+ kebab() {
2068
+ return new _Stringable(Str.kebab(this.#value));
2069
+ }
2070
+ lcfirst() {
2071
+ return new _Stringable(Str.lcfirst(this.#value));
2072
+ }
2073
+ /** The number of characters (code points, as PHP's mb_strlen()). */
2074
+ length() {
2075
+ return [...this.#value].length;
2076
+ }
2077
+ limit(limit = 100, end = "...") {
2078
+ return new _Stringable(Str.limit(this.#value, limit, end));
2079
+ }
2080
+ lower() {
2081
+ return new _Stringable(this.#value.toLowerCase());
2082
+ }
2083
+ /** Strips whitespace and invisible characters from the start, or the characters given. */
2084
+ ltrim(characters) {
2085
+ return new _Stringable(characters === void 0 ? this.#value.replace(LEADING, "") : startTrimmed(this.#value, characters));
2086
+ }
2087
+ plural(count = 2) {
2088
+ return new _Stringable(Str.plural(this.#value, count));
2089
+ }
2090
+ prepend(...values) {
2091
+ return new _Stringable(values.join("") + this.#value);
2092
+ }
2093
+ /** Replaces every occurrence of the search string (or of each of several) with `replace`. */
2094
+ replace(search, replace) {
2095
+ let value2 = this.#value;
2096
+ for (const needle of [search].flat()) if (needle !== "") value2 = value2.replaceAll(needle, replace);
2097
+ return new _Stringable(value2);
2098
+ }
2099
+ /** Strips whitespace and invisible characters from the end, or the characters given. */
2100
+ rtrim(characters) {
2101
+ return new _Stringable(characters === void 0 ? this.#value.replace(TRAILING, "") : endTrimmed(this.#value, characters));
2102
+ }
2103
+ singular() {
2104
+ return new _Stringable(Str.singular(this.#value));
2105
+ }
2106
+ slug(separator = "-") {
2107
+ return new _Stringable(Str.slug(this.#value, separator));
2108
+ }
2109
+ snake(delimiter = "_") {
2110
+ return new _Stringable(Str.snake(this.#value, delimiter));
2111
+ }
2112
+ start(prefix) {
2113
+ return new _Stringable(Str.start(this.#value, prefix));
2114
+ }
2115
+ startsWith(needles) {
2116
+ return Str.startsWith(this.#value, needles);
2117
+ }
2118
+ studly() {
2119
+ return new _Stringable(Str.studly(this.#value));
2120
+ }
2121
+ title() {
2122
+ return new _Stringable(Str.title(this.#value));
2123
+ }
2124
+ /** PHP's filter_var(FILTER_VALIDATE_BOOLEAN): '1', 'true', 'on' and 'yes' (any case, trimmed) are true. */
2125
+ toBoolean() {
2126
+ return TRUE_VALUES.has(this.#value.trim().toLowerCase());
2127
+ }
2128
+ /** PHP's floatval(): the leading number, else 0. */
2129
+ toFloat() {
2130
+ const parsed = Number.parseFloat(this.#value);
2131
+ return Number.isNaN(parsed) ? 0 : parsed;
2132
+ }
2133
+ /** PHP's intval(): the leading digits, else 0. */
2134
+ toInteger() {
2135
+ const parsed = Number.parseInt(this.#value.trim(), 10);
2136
+ return Number.isNaN(parsed) ? 0 : parsed;
2137
+ }
2138
+ toJSON() {
2139
+ return this.#value;
2140
+ }
2141
+ toString() {
2142
+ return this.#value;
2143
+ }
2144
+ /** Strips whitespace and invisible characters from both ends (Laravel's Str::trim()), or the characters given. */
2145
+ trim(characters) {
2146
+ return this.ltrim(characters).rtrim(characters);
2147
+ }
2148
+ ucfirst() {
2149
+ return new _Stringable(Str.ucfirst(this.#value));
2150
+ }
2151
+ upper() {
2152
+ return new _Stringable(this.#value.toUpperCase());
2153
+ }
2154
+ value() {
2155
+ return this.#value;
2156
+ }
2157
+ };
2158
+ var words = (value2) => value2.replace(/([a-z\d])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").split(/[^A-Za-z\d]+/).filter(Boolean);
2159
+ var ALPHANUM = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
2160
+ var CROCKFORD = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
2161
+ var UUID = /^[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}$/;
2162
+ var ULID = /^[0-7][0-9A-HJKMNP-TV-Z]{25}$/i;
2163
+ var escapeRegex = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2164
+ var escapeClass = (s) => s.replace(/[\\\]^-]/g, "\\$&");
2165
+ var trimCharacters = (value2, characters) => {
2166
+ const set = new Set(characters);
2167
+ let start = 0;
2168
+ let end = value2.length;
2169
+ while (start < end && set.has(value2[start])) start++;
2170
+ while (end > start && set.has(value2[end - 1])) end--;
2171
+ return value2.slice(start, end);
2172
+ };
2173
+ var timestamp48 = (time) => {
2174
+ const ms = time.getTime();
2175
+ if (!(ms >= 0 && ms <= 2 ** 48 - 1)) throw new TypeError("The timestamp must be between 1970-01-01 and 10889-08-02.");
2176
+ return ms;
2177
+ };
2178
+ var anyOf = (needles) => (Array.isArray(needles) ? needles : [needles]).filter((n) => n !== "");
2179
+ var Str = {
2180
+ /** Laravel's Str::of(): the value as a Stringable, for chaining: Str.of(title).trim().slug(). */
2181
+ of: (value2 = "") => new Stringable(value2 === null || value2 === void 0 ? "" : String(value2)),
2182
+ ucfirst: (v) => v.charAt(0).toUpperCase() + v.slice(1),
2183
+ lcfirst: (v) => v.charAt(0).toLowerCase() + v.slice(1),
2184
+ studly: (v) => words(v).map((w) => Str.ucfirst(w.toLowerCase())).join(""),
2185
+ camel: (v) => Str.lcfirst(Str.studly(v)),
2186
+ snake: (v, delimiter = "_") => words(v).map((w) => w.toLowerCase()).join(delimiter),
2187
+ kebab: (v) => Str.snake(v, "-"),
2188
+ title: (v) => v.toLowerCase().replace(/(^|\s)\S/g, (m) => m.toUpperCase()),
2189
+ /** Laravel's Str::ascii(): the value in plain ASCII ('Café' → 'Cafe', 'Ελληνικά' → 'Ellinika'), as for English. */
2190
+ ascii: (v) => toAscii(v),
2191
+ /**
2192
+ * Laravel's Str::slug(): transliterated to ASCII first (unless `language` is null), '@' read as 'at', then lower-cased
2193
+ * letters and digits joined by the separator: 'Café crème' → 'cafe-creme'. What has no ASCII form is dropped.
2194
+ */
2195
+ slug: (title, separator = "-", language = "en", dictionary = { "@": "at" }) => {
2196
+ let value2 = language === null ? title : toAscii(title);
2197
+ const flip = separator === "-" ? "_" : "-";
2198
+ value2 = value2.replace(new RegExp(`[${escapeClass(flip)}]+`, "gu"), separator);
2199
+ for (const [key, word] of Object.entries(dictionary)) value2 = value2.replaceAll(key, `${separator}${word}${separator}`);
2200
+ value2 = value2.toLowerCase().replace(new RegExp(`[^${escapeClass(separator)}\\p{L}\\p{N}\\s]+`, "gu"), "");
2201
+ value2 = value2.replace(new RegExp(`[${escapeClass(separator)}\\s]+`, "gu"), separator);
2202
+ return trimCharacters(value2, separator);
2203
+ },
2204
+ plural: (v, count = 2) => pluralize(v, count),
2205
+ singular: (v) => pluralize.singular(v),
2206
+ random: (length = 16) => {
2207
+ let out = "";
2208
+ while (out.length < length) {
2209
+ for (const byte of randomBytes(length)) {
2210
+ if (byte < 248 && out.length < length) out += ALPHANUM[byte % 62];
2211
+ }
2212
+ }
2213
+ return out;
2214
+ },
2215
+ uuid: () => randomUUID(),
2216
+ /**
2217
+ * A version 7 UUID (RFC 9562): the time in milliseconds first, so ids from later milliseconds sort after earlier ones
2218
+ * (within one millisecond the order is random). Throws a TypeError for a time before 1970, after 10889 or invalid.
2219
+ */
2220
+ uuid7: (time = /* @__PURE__ */ new Date()) => {
2221
+ const ms = timestamp48(time);
2222
+ const bytes = randomBytes(16);
2223
+ bytes.writeUIntBE(ms, 0, 6);
2224
+ bytes[6] = 112 | bytes[6] & 15;
2225
+ bytes[8] = 128 | bytes[8] & 63;
2226
+ const hex = bytes.toString("hex");
2227
+ return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
2228
+ },
2229
+ /**
2230
+ * A ULID: 26 upper-case Crockford characters, ten for the time in milliseconds and sixteen random, so ids from later
2231
+ * milliseconds sort after earlier ones. Throws a TypeError for a time before 1970, after 10889 or invalid.
2232
+ */
2233
+ ulid: (time = /* @__PURE__ */ new Date()) => {
2234
+ let out = "";
2235
+ for (let ms = timestamp48(time), i = 0; i < 10; i++, ms = Math.floor(ms / 32)) out = CROCKFORD[ms % 32] + out;
2236
+ let random = BigInt(`0x${randomBytes(10).toString("hex")}`);
2237
+ let tail = "";
2238
+ for (let i = 0; i < 16; i++, random >>= 5n) tail = CROCKFORD[Number(random & 31n)] + tail;
2239
+ return out + tail;
2240
+ },
2241
+ /** Laravel's Str::isUuid(): five groups of hex digits, any version. */
2242
+ isUuid: (value2) => typeof value2 === "string" && UUID.test(value2),
2243
+ /** Laravel's Str::isUlid(): 26 Crockford characters in either case, the first at most 7. */
2244
+ isUlid: (value2) => typeof value2 === "string" && ULID.test(value2),
2245
+ /** Wildcard match: `*` matches anything; everything else is literal. */
2246
+ is: (pattern, value2) => pattern === value2 || new RegExp(`^${pattern.split("*").map(escapeRegex).join(".*")}$`, "s").test(value2),
2247
+ startsWith: (v, needles) => anyOf(needles).some((n) => v.startsWith(n)),
2248
+ endsWith: (v, needles) => anyOf(needles).some((n) => v.endsWith(n)),
2249
+ contains: (v, needles) => anyOf(needles).some((n) => v.includes(n)),
2250
+ after: (v, search) => search === "" || !v.includes(search) ? v : v.slice(v.indexOf(search) + search.length),
2251
+ afterLast: (v, search) => search === "" || !v.includes(search) ? v : v.slice(v.lastIndexOf(search) + search.length),
2252
+ before: (v, search) => search === "" || !v.includes(search) ? v : v.slice(0, v.indexOf(search)),
2253
+ beforeLast: (v, search) => search === "" || !v.includes(search) ? v : v.slice(0, v.lastIndexOf(search)),
2254
+ between: (v, from, to) => Str.beforeLast(Str.after(v, from), to),
2255
+ limit: (v, limit = 100, end = "...") => v.length <= limit ? v : v.slice(0, limit).trimEnd() + end,
2256
+ start: (v, prefix) => v.startsWith(prefix) ? v : prefix + v,
2257
+ finish: (v, cap) => v.endsWith(cap) ? v : v + cap
2258
+ };
2259
+ var FORBIDDEN = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
2260
+ var isWalkable = (v) => typeof v === "object" && v !== null;
2261
+ var segments = (key) => key.split(".");
2262
+ var Arr = {
2263
+ get(target, key, defaultValue) {
2264
+ if (key === void 0 || key === "") return target;
2265
+ let current = target;
2266
+ for (const segment of segments(key)) {
2267
+ if (!isWalkable(current) || !Object.hasOwn(current, segment)) return defaultValue;
2268
+ current = current[segment];
2269
+ }
2270
+ return current;
2271
+ },
2272
+ has(target, key) {
2273
+ const missing = /* @__PURE__ */ Symbol("missing");
2274
+ return Arr.get(target, key, missing) !== missing;
2275
+ },
2276
+ set(target, key, value2) {
2277
+ const parts = segments(key);
2278
+ if (parts.some((p) => FORBIDDEN.has(p))) throw new Error(`Refusing to set unsafe key "${key}"`);
2279
+ let current = target;
2280
+ parts.slice(0, -1).forEach((segment) => {
2281
+ if (!isWalkable(current[segment])) current[segment] = {};
2282
+ current = current[segment];
2283
+ });
2284
+ current[parts.at(-1)] = value2;
2285
+ return target;
2286
+ },
2287
+ forget(target, key) {
2288
+ const parts = segments(key);
2289
+ const parent = parts.length === 1 ? target : Arr.get(target, parts.slice(0, -1).join("."));
2290
+ if (isWalkable(parent)) delete parent[parts.at(-1)];
2291
+ },
2292
+ dot(target, prefix = "") {
2293
+ const out = {};
2294
+ for (const [k, v] of Object.entries(target)) {
2295
+ const path = prefix + k;
2296
+ if (isWalkable(v) && Object.keys(v).length > 0) Object.assign(out, Arr.dot(v, `${path}.`));
2297
+ else out[path] = v;
2298
+ }
2299
+ return out;
2300
+ },
2301
+ undot(flat) {
2302
+ const out = {};
2303
+ for (const [k, v] of Object.entries(flat)) Arr.set(out, k, v);
2304
+ return out;
2305
+ },
2306
+ only(target, keys) {
2307
+ return Object.fromEntries(keys.filter((k) => Object.hasOwn(target, k)).map((k) => [k, target[k]]));
2308
+ },
2309
+ except(target, keys) {
2310
+ const skip = new Set(keys);
2311
+ return Object.fromEntries(Object.entries(target).filter(([k]) => !skip.has(k)));
2312
+ },
2313
+ wrap(value2) {
2314
+ if (value2 === null || value2 === void 0) return [];
2315
+ return Array.isArray(value2) ? value2 : [value2];
2316
+ },
2317
+ first(items, predicate, defaultValue) {
2318
+ const index = predicate ? items.findIndex(predicate) : items.length > 0 ? 0 : -1;
2319
+ return index === -1 ? defaultValue : items[index];
2320
+ },
2321
+ last(items, predicate, defaultValue) {
2322
+ const index = predicate ? items.findLastIndex(predicate) : items.length - 1;
2323
+ return index === -1 ? defaultValue : items[index];
2324
+ }
2325
+ };
2326
+ var ServiceProvider = class {
2327
+ constructor(app2) {
2328
+ this.app = app2;
2329
+ }
2330
+ app;
2331
+ register() {
2332
+ }
2333
+ boot() {
2334
+ }
2335
+ /** Package defaults under `key`; values the app already set win (shallow merge, like Laravel). */
2336
+ mergeConfigFrom(defaults, key) {
2337
+ const config2 = this.app.make(ConfigRepository);
2338
+ config2.set(key, { ...defaults, ...config2.get(key, {}) });
2339
+ }
2340
+ };
2341
+ function facade(abstract, extras) {
2342
+ const container = () => {
2343
+ const c = currentContainer();
2344
+ if (!c) throw new ContainerNotAvailableError(describe(abstract));
2345
+ return c;
2346
+ };
2347
+ const statics = {
2348
+ getFacadeRoot: () => container().make(abstract),
2349
+ swap: (instance) => void container().instance(abstract, instance)
2350
+ };
2351
+ const proxy = new Proxy({}, {
2352
+ get(_target, prop) {
2353
+ if (typeof prop === "symbol" || prop === "then") return void 0;
2354
+ if (extras && Object.hasOwn(extras, prop)) {
2355
+ const extra = extras[prop];
2356
+ return typeof extra === "function" ? extra.bind(proxy) : extra;
2357
+ }
2358
+ if (Object.hasOwn(statics, prop)) return statics[prop];
2359
+ const root = statics.getFacadeRoot();
2360
+ const value2 = Reflect.get(root, prop, root);
2361
+ return typeof value2 === "function" ? value2.bind(root) : value2;
2362
+ }
2363
+ });
2364
+ return proxy;
2365
+ }
2366
+ var ClassRegistry = class {
2367
+ byName = /* @__PURE__ */ new Map();
2368
+ byClass = /* @__PURE__ */ new Map();
2369
+ register(cls, name = cls.name) {
2370
+ const existingName = this.byClass.get(cls);
2371
+ if (existingName !== void 0) return existingName;
2372
+ if (!name) throw new Error('Anonymous classes need an explicit name: registry.register(cls, "Some.Name")');
2373
+ const existing = this.byName.get(name);
2374
+ if (existing && existing !== cls) {
2375
+ throw new Error(`"${name}" is already registered to a different class. Pass an explicit name: register(cls, "Module.${name}")`);
2376
+ }
2377
+ this.byName.set(name, cls);
2378
+ this.byClass.set(cls, name);
2379
+ return name;
2380
+ }
2381
+ nameOf(cls) {
2382
+ return this.byClass.get(cls);
2383
+ }
2384
+ resolve(name) {
2385
+ const cls = this.byName.get(name);
2386
+ if (!cls) throw new Error(`No class registered as "${name}". Is it registered by its service provider?`);
2387
+ return cls;
2388
+ }
2389
+ has(name) {
2390
+ return this.byName.has(name);
2391
+ }
2392
+ };
2393
+ var SCOPE_METHODS = /* @__PURE__ */ new Set(["make", "instance", "bound", "resolved", "forgetInstance", "createScope", "run"]);
2394
+ var scopedViews = /* @__PURE__ */ new WeakMap();
2395
+ function viewFrom(scope, application) {
2396
+ let view = scopedViews.get(scope);
2397
+ if (view === void 0) {
2398
+ view = new Proxy(application, {
2399
+ get(target, property) {
2400
+ const source = SCOPE_METHODS.has(property) ? scope : target;
2401
+ const member = Reflect.get(source, property, source);
2402
+ return typeof member === "function" ? member.bind(source) : member;
2403
+ }
2404
+ });
2405
+ scopedViews.set(scope, view);
2406
+ }
2407
+ return view;
2408
+ }
2409
+ function app(abstract) {
2410
+ if (abstract !== void 0) return inject(abstract);
2411
+ const application = inject(Application);
2412
+ const current = currentContainer();
2413
+ return current === void 0 || current === application ? application : viewFrom(current, application);
2414
+ }
2415
+ function config(keyOrValues, defaultValue) {
2416
+ const repository = inject(ConfigRepository);
2417
+ if (keyOrValues === void 0) return repository;
2418
+ if (typeof keyOrValues === "string") return repository.get(keyOrValues, defaultValue);
2419
+ repository.set(keyOrValues);
2420
+ return void 0;
2421
+ }
2422
+ var now = () => /* @__PURE__ */ new Date();
2423
+ var value = (v) => typeof v === "function" ? v() : v;
2424
+ function tap(target, callback) {
2425
+ callback(target);
2426
+ return target;
2427
+ }
2428
+ async function retry(times, fn, sleepMs = 0, when) {
2429
+ for (let attempt = 1; ; attempt++) {
2430
+ try {
2431
+ return await fn(attempt);
2432
+ } catch (error) {
2433
+ if (attempt >= times || when && !when(error)) throw error;
2434
+ const ms = typeof sleepMs === "function" ? sleepMs(attempt) : sleepMs;
2435
+ if (ms > 0) await sleep(ms);
2436
+ }
2437
+ }
2438
+ }
2439
+ var LINES = {
2440
+ "auth.failed": "These credentials do not match our records.",
2441
+ "auth.password": "The provided password is incorrect.",
2442
+ "auth.throttle": "Too many login attempts. Please try again in :seconds seconds.",
2443
+ "passwords.reset": "Your password has been reset.",
2444
+ "passwords.sent": "We have emailed your password reset link.",
2445
+ "passwords.throttled": "Please wait before retrying.",
2446
+ "passwords.token": "This password reset token is invalid.",
2447
+ "passwords.user": "We can't find a user with that email address."
2448
+ };
2449
+ function __(key, replace = {}) {
2450
+ let line = LINES[key] ?? key;
2451
+ const names = Object.keys(replace).sort((a, b) => b.length - a.length);
2452
+ for (const name of names) {
2453
+ const value2 = String(replace[name]);
2454
+ const capitalized = name.charAt(0).toUpperCase() + name.slice(1);
2455
+ line = line.replaceAll(`:${capitalized}`, value2.charAt(0).toUpperCase() + value2.slice(1)).replaceAll(`:${name.toUpperCase()}`, value2.toUpperCase()).replaceAll(`:${name}`, value2);
2456
+ }
2457
+ return line;
2458
+ }
2459
+ var fileType_exports = {};
2460
+ __export(fileType_exports, {
2461
+ AVIF: () => AVIF,
2462
+ BINARY_AND_MARKUP_TYPES: () => BINARY_AND_MARKUP_TYPES,
2463
+ BMP: () => BMP,
2464
+ EMPTY: () => EMPTY,
2465
+ GIF: () => GIF,
2466
+ HTML: () => HTML,
2467
+ JPEG: () => JPEG,
2468
+ PDF: () => PDF,
2469
+ PNG: () => PNG,
2470
+ RASTER_IMAGES: () => RASTER_IMAGES,
2471
+ SNIFF_BYTES: () => SNIFF_BYTES,
2472
+ SVG: () => SVG,
2473
+ TEXT: () => TEXT,
2474
+ UNKNOWN: () => UNKNOWN,
2475
+ WEBP: () => WEBP,
2476
+ XML: () => XML,
2477
+ detectFileType: () => detectFileType
2478
+ });
2479
+ var type = (mime, ...extensions) => Object.freeze({ mime, extensions: Object.freeze(extensions) });
2480
+ var JPEG = type("image/jpeg", "jpg", "jpeg");
2481
+ var PNG = type("image/png", "png");
2482
+ var GIF = type("image/gif", "gif");
2483
+ var WEBP = type("image/webp", "webp");
2484
+ var AVIF = type("image/avif", "avif");
2485
+ var BMP = type("image/bmp", "bmp");
2486
+ var SVG = type("image/svg+xml", "svg");
2487
+ var PDF = type("application/pdf", "pdf");
2488
+ var HTML = type("text/html", "html", "htm");
2489
+ var XML = type("text/xml", "xml");
2490
+ var TEXT = type("text/plain", "txt");
2491
+ var UNKNOWN = type("application/octet-stream");
2492
+ var EMPTY = type("application/x-empty");
2493
+ var RASTER_IMAGES = new Set([JPEG, PNG, GIF, WEBP, AVIF, BMP].map(({ mime }) => mime));
2494
+ var BINARY_AND_MARKUP_TYPES = [JPEG, PNG, GIF, WEBP, AVIF, BMP, SVG, PDF, HTML, XML];
2495
+ var SNIFF_BYTES = 1024 * 1024;
2496
+ var MARKUP_SNIFF_BYTES = 64 * 1024;
2497
+ var MAX_PROLOG_ITEMS = 64;
2498
+ var BINARY_BYTES = new Uint8Array(256).fill(1, 0, 32);
2499
+ for (const byte of [7, 8, 9, 10, 11, 12, 13, 27]) BINARY_BYTES[byte] = 0;
2500
+ BINARY_BYTES[127] = 1;
2501
+ var FTYP_SCAN_BYTES = 1024;
2502
+ var BMP_HEADER_SIZES = /* @__PURE__ */ new Set([12, 40, 52, 56, 64, 108, 124]);
2503
+ var ascii = (bytes, offset, length) => String.fromCharCode(...bytes.subarray(offset, offset + length));
2504
+ var startsWith = (bytes, signature) => bytes.length >= signature.length && signature.every((byte, i) => bytes[i] === byte);
2505
+ var u32be = (bytes, offset) => (bytes[offset] << 24 | bytes[offset + 1] << 16 | bytes[offset + 2] << 8 | bytes[offset + 3]) >>> 0;
2506
+ var u32le = (bytes, offset) => (bytes[offset] | bytes[offset + 1] << 8 | bytes[offset + 2] << 16 | bytes[offset + 3] << 24) >>> 0;
2507
+ function detectFileType(bytes) {
2508
+ if (bytes.length === 0) return EMPTY;
2509
+ if (startsWith(bytes, [255, 216, 255])) return JPEG;
2510
+ if (startsWith(bytes, [137, 80, 78, 71, 13, 10, 26, 10])) return PNG;
2511
+ const head = ascii(bytes, 0, 6);
2512
+ if (head === "GIF87a" || head === "GIF89a") return GIF;
2513
+ if (ascii(bytes, 0, 4) === "RIFF" && ascii(bytes, 8, 4) === "WEBP") return WEBP;
2514
+ if (isAvif(bytes)) return AVIF;
2515
+ if (ascii(bytes, 0, 2) === "BM" && bytes.length >= 18 && BMP_HEADER_SIZES.has(u32le(bytes, 14))) return BMP;
2516
+ if (ascii(bytes, 0, 5) === "%PDF-") return PDF;
2517
+ return detectText(bytes);
2518
+ }
2519
+ function isAvif(bytes) {
2520
+ if (bytes.length < 16 || ascii(bytes, 4, 4) !== "ftyp") return false;
2521
+ const isAvifBrand = (offset) => {
2522
+ const brand = ascii(bytes, offset, 4);
2523
+ return brand === "avif" || brand === "avis";
2524
+ };
2525
+ if (isAvifBrand(8)) return true;
2526
+ const end = Math.min(u32be(bytes, 0), bytes.length, FTYP_SCAN_BYTES);
2527
+ for (let offset = 16; offset + 4 <= end; offset += 4) {
2528
+ if (isAvifBrand(offset)) return true;
2529
+ }
2530
+ return false;
2531
+ }
2532
+ function detectText(bytes) {
2533
+ const end = Math.min(bytes.length, SNIFF_BYTES);
2534
+ for (let i = 0; i < end; i++) {
2535
+ if (BINARY_BYTES[bytes[i]] === 1) return UNKNOWN;
2536
+ }
2537
+ const content = new TextDecoder().decode(bytes.subarray(0, MARKUP_SNIFF_BYTES)).trimStart();
2538
+ if (!content.startsWith("<")) return TEXT;
2539
+ const root = rootElement(content);
2540
+ if (root === "svg" || root?.endsWith(":svg")) return SVG;
2541
+ if (root === "html") return HTML;
2542
+ return content.startsWith("<?xml") ? XML : HTML;
2543
+ }
2544
+ function rootElement(markup) {
2545
+ let rest = markup;
2546
+ for (let items = 0; ; items++) {
2547
+ const skip = prologItemLength(rest);
2548
+ if (skip === 0) return /^<([A-Za-z_][\w.:-]*)/.exec(rest)?.[1]?.toLowerCase();
2549
+ if (skip === -1 || items === MAX_PROLOG_ITEMS) return void 0;
2550
+ rest = rest.slice(skip).trimStart();
2551
+ }
2552
+ }
2553
+ function prologItemLength(rest) {
2554
+ const through = (index, length) => index === -1 ? -1 : index + length;
2555
+ if (rest.startsWith("<?")) return through(rest.indexOf("?>"), 2);
2556
+ if (rest.startsWith("<!--")) return through(rest.indexOf("-->"), 3);
2557
+ if (/^<!doctype/i.test(rest)) {
2558
+ const close = rest.indexOf(">");
2559
+ if (close === -1) return -1;
2560
+ const subset = rest.slice(0, close).indexOf("[");
2561
+ if (subset === -1) return close + 1;
2562
+ const subsetEnd = rest.indexOf("]", subset);
2563
+ return subsetEnd === -1 ? -1 : through(rest.indexOf(">", subsetEnd), 1);
2564
+ }
2565
+ return 0;
2566
+ }
2567
+
2568
+ export {
2569
+ BindingResolutionError,
2570
+ CircularDependencyError,
2571
+ ContainerNotAvailableError,
2572
+ currentContainer,
2573
+ inject,
2574
+ Container2 as Container,
2575
+ Collection,
2576
+ collect,
2577
+ LazyCollection,
2578
+ Stringable,
2579
+ Str,
2580
+ Arr,
2581
+ ServiceProvider,
2582
+ facade,
2583
+ ClassRegistry,
2584
+ app,
2585
+ config,
2586
+ now,
2587
+ value,
2588
+ tap,
2589
+ retry,
2590
+ __,
2591
+ fileType_exports
2592
+ };
2593
+ /*!
2594
+ * Laravel's Str::ascii() table for English: the transliterations of voku/portable-ascii 2.0, merged as its to_ascii()
2595
+ * merges them for the 'en' language (runs of up to three characters; longer runs never apply to 'en'). The keys are
2596
+ * written as \u escapes so this file stays plain ASCII.
2597
+ *
2598
+ * voku/portable-ascii: Copyright (C) 2019 Lars Moelleken
2599
+ *
2600
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
2601
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
2602
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
2603
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
2604
+ *
2605
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
2606
+ * Software.
2607
+ *
2608
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
2609
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
2610
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
2611
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2612
+ */
2613
+ //# sourceMappingURL=chunk-POEP4B2M.js.map