@formatjs/intl-locale 3.0.8 → 3.0.11
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/package.json +4 -4
- package/polyfill.iife.js +139 -113
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-locale",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "Intl.Locale polyfill",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@formatjs/ecma402-abstract": "1.14.
|
|
28
|
-
"@formatjs/intl-getcanonicallocales": "2.0.
|
|
29
|
-
"tslib": "2.4.0"
|
|
27
|
+
"@formatjs/ecma402-abstract": "1.14.3",
|
|
28
|
+
"@formatjs/intl-getcanonicallocales": "2.0.5",
|
|
29
|
+
"tslib": "^2.4.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/polyfill.iife.js
CHANGED
|
@@ -21,34 +21,34 @@
|
|
|
21
21
|
mod
|
|
22
22
|
));
|
|
23
23
|
|
|
24
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
24
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js
|
|
25
25
|
var require_tslib = __commonJS({
|
|
26
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
26
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
27
27
|
var __extends2;
|
|
28
28
|
var __assign2;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
29
|
+
var __rest2;
|
|
30
|
+
var __decorate2;
|
|
31
|
+
var __param2;
|
|
32
|
+
var __metadata2;
|
|
33
|
+
var __awaiter2;
|
|
34
|
+
var __generator2;
|
|
35
|
+
var __exportStar2;
|
|
36
|
+
var __values2;
|
|
37
|
+
var __read2;
|
|
38
|
+
var __spread2;
|
|
39
|
+
var __spreadArrays2;
|
|
40
40
|
var __spreadArray2;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
41
|
+
var __await2;
|
|
42
|
+
var __asyncGenerator2;
|
|
43
|
+
var __asyncDelegator2;
|
|
44
|
+
var __asyncValues2;
|
|
45
|
+
var __makeTemplateObject2;
|
|
46
|
+
var __importStar2;
|
|
47
|
+
var __importDefault2;
|
|
48
|
+
var __classPrivateFieldGet2;
|
|
49
|
+
var __classPrivateFieldSet2;
|
|
50
|
+
var __classPrivateFieldIn2;
|
|
51
|
+
var __createBinding2;
|
|
52
52
|
(function(factory) {
|
|
53
53
|
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
|
54
54
|
if (typeof define === "function" && define.amd) {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
return t;
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
__rest2 = function(s, e) {
|
|
102
102
|
var t = {};
|
|
103
103
|
for (var p in s)
|
|
104
104
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
return t;
|
|
112
112
|
};
|
|
113
|
-
|
|
113
|
+
__decorate2 = function(decorators, target, key, desc) {
|
|
114
114
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
115
115
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
116
116
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -120,16 +120,16 @@
|
|
|
120
120
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
121
121
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
122
122
|
};
|
|
123
|
-
|
|
123
|
+
__param2 = function(paramIndex, decorator) {
|
|
124
124
|
return function(target, key) {
|
|
125
125
|
decorator(target, key, paramIndex);
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
|
-
|
|
128
|
+
__metadata2 = function(metadataKey, metadataValue) {
|
|
129
129
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
130
130
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
131
131
|
};
|
|
132
|
-
|
|
132
|
+
__awaiter2 = function(thisArg, _arguments, P, generator) {
|
|
133
133
|
function adopt(value) {
|
|
134
134
|
return value instanceof P ? value : new P(function(resolve) {
|
|
135
135
|
resolve(value);
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
157
157
|
});
|
|
158
158
|
};
|
|
159
|
-
|
|
159
|
+
__generator2 = function(thisArg, body) {
|
|
160
160
|
var _ = { label: 0, sent: function() {
|
|
161
161
|
if (t[0] & 1)
|
|
162
162
|
throw t[1];
|
|
@@ -232,12 +232,12 @@
|
|
|
232
232
|
return { value: op[0] ? op[1] : void 0, done: true };
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
|
-
|
|
235
|
+
__exportStar2 = function(m, o) {
|
|
236
236
|
for (var p in m)
|
|
237
237
|
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
238
|
-
|
|
238
|
+
__createBinding2(o, m, p);
|
|
239
239
|
};
|
|
240
|
-
|
|
240
|
+
__createBinding2 = Object.create ? function(o, m, k, k2) {
|
|
241
241
|
if (k2 === void 0)
|
|
242
242
|
k2 = k;
|
|
243
243
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
k2 = k;
|
|
253
253
|
o[k2] = m[k];
|
|
254
254
|
};
|
|
255
|
-
|
|
255
|
+
__values2 = function(o) {
|
|
256
256
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
257
257
|
if (m)
|
|
258
258
|
return m.call(o);
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
};
|
|
267
267
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
268
268
|
};
|
|
269
|
-
|
|
269
|
+
__read2 = function(o, n) {
|
|
270
270
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
271
271
|
if (!m)
|
|
272
272
|
return o;
|
|
@@ -287,12 +287,12 @@
|
|
|
287
287
|
}
|
|
288
288
|
return ar;
|
|
289
289
|
};
|
|
290
|
-
|
|
290
|
+
__spread2 = function() {
|
|
291
291
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
292
|
-
ar = ar.concat(
|
|
292
|
+
ar = ar.concat(__read2(arguments[i]));
|
|
293
293
|
return ar;
|
|
294
294
|
};
|
|
295
|
-
|
|
295
|
+
__spreadArrays2 = function() {
|
|
296
296
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
297
297
|
s += arguments[i].length;
|
|
298
298
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
@@ -311,10 +311,10 @@
|
|
|
311
311
|
}
|
|
312
312
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
313
313
|
};
|
|
314
|
-
|
|
315
|
-
return this instanceof
|
|
314
|
+
__await2 = function(v) {
|
|
315
|
+
return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
|
|
316
316
|
};
|
|
317
|
-
|
|
317
|
+
__asyncGenerator2 = function(thisArg, _arguments, generator) {
|
|
318
318
|
if (!Symbol.asyncIterator)
|
|
319
319
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
320
320
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
function step(r) {
|
|
340
|
-
r.value instanceof
|
|
340
|
+
r.value instanceof __await2 ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
341
341
|
}
|
|
342
342
|
function fulfill(value) {
|
|
343
343
|
resume("next", value);
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
resume(q[0][0], q[0][1]);
|
|
351
351
|
}
|
|
352
352
|
};
|
|
353
|
-
|
|
353
|
+
__asyncDelegator2 = function(o) {
|
|
354
354
|
var i, p;
|
|
355
355
|
return i = {}, verb("next"), verb("throw", function(e) {
|
|
356
356
|
throw e;
|
|
@@ -359,15 +359,15 @@
|
|
|
359
359
|
}, i;
|
|
360
360
|
function verb(n, f) {
|
|
361
361
|
i[n] = o[n] ? function(v) {
|
|
362
|
-
return (p = !p) ? { value:
|
|
362
|
+
return (p = !p) ? { value: __await2(o[n](v)), done: n === "return" } : f ? f(v) : v;
|
|
363
363
|
} : f;
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
|
-
|
|
366
|
+
__asyncValues2 = function(o) {
|
|
367
367
|
if (!Symbol.asyncIterator)
|
|
368
368
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
369
369
|
var m = o[Symbol.asyncIterator], i;
|
|
370
|
-
return m ? m.call(o) : (o = typeof
|
|
370
|
+
return m ? m.call(o) : (o = typeof __values2 === "function" ? __values2(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
371
371
|
return this;
|
|
372
372
|
}, i);
|
|
373
373
|
function verb(n) {
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
}, reject);
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
|
-
|
|
386
|
+
__makeTemplateObject2 = function(cooked, raw) {
|
|
387
387
|
if (Object.defineProperty) {
|
|
388
388
|
Object.defineProperty(cooked, "raw", { value: raw });
|
|
389
389
|
} else {
|
|
@@ -396,29 +396,29 @@
|
|
|
396
396
|
} : function(o, v) {
|
|
397
397
|
o["default"] = v;
|
|
398
398
|
};
|
|
399
|
-
|
|
399
|
+
__importStar2 = function(mod) {
|
|
400
400
|
if (mod && mod.__esModule)
|
|
401
401
|
return mod;
|
|
402
402
|
var result = {};
|
|
403
403
|
if (mod != null) {
|
|
404
404
|
for (var k in mod)
|
|
405
405
|
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
406
|
-
|
|
406
|
+
__createBinding2(result, mod, k);
|
|
407
407
|
}
|
|
408
408
|
__setModuleDefault(result, mod);
|
|
409
409
|
return result;
|
|
410
410
|
};
|
|
411
|
-
|
|
411
|
+
__importDefault2 = function(mod) {
|
|
412
412
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
413
413
|
};
|
|
414
|
-
|
|
414
|
+
__classPrivateFieldGet2 = function(receiver, state, kind, f) {
|
|
415
415
|
if (kind === "a" && !f)
|
|
416
416
|
throw new TypeError("Private accessor was defined without a getter");
|
|
417
417
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
418
418
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
419
419
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
420
420
|
};
|
|
421
|
-
|
|
421
|
+
__classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
|
|
422
422
|
if (kind === "m")
|
|
423
423
|
throw new TypeError("Private method is not writable");
|
|
424
424
|
if (kind === "a" && !f)
|
|
@@ -427,43 +427,43 @@
|
|
|
427
427
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
428
428
|
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
429
429
|
};
|
|
430
|
-
|
|
430
|
+
__classPrivateFieldIn2 = function(state, receiver) {
|
|
431
431
|
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
|
|
432
432
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
433
433
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
434
434
|
};
|
|
435
435
|
exporter("__extends", __extends2);
|
|
436
436
|
exporter("__assign", __assign2);
|
|
437
|
-
exporter("__rest",
|
|
438
|
-
exporter("__decorate",
|
|
439
|
-
exporter("__param",
|
|
440
|
-
exporter("__metadata",
|
|
441
|
-
exporter("__awaiter",
|
|
442
|
-
exporter("__generator",
|
|
443
|
-
exporter("__exportStar",
|
|
444
|
-
exporter("__createBinding",
|
|
445
|
-
exporter("__values",
|
|
446
|
-
exporter("__read",
|
|
447
|
-
exporter("__spread",
|
|
448
|
-
exporter("__spreadArrays",
|
|
437
|
+
exporter("__rest", __rest2);
|
|
438
|
+
exporter("__decorate", __decorate2);
|
|
439
|
+
exporter("__param", __param2);
|
|
440
|
+
exporter("__metadata", __metadata2);
|
|
441
|
+
exporter("__awaiter", __awaiter2);
|
|
442
|
+
exporter("__generator", __generator2);
|
|
443
|
+
exporter("__exportStar", __exportStar2);
|
|
444
|
+
exporter("__createBinding", __createBinding2);
|
|
445
|
+
exporter("__values", __values2);
|
|
446
|
+
exporter("__read", __read2);
|
|
447
|
+
exporter("__spread", __spread2);
|
|
448
|
+
exporter("__spreadArrays", __spreadArrays2);
|
|
449
449
|
exporter("__spreadArray", __spreadArray2);
|
|
450
|
-
exporter("__await",
|
|
451
|
-
exporter("__asyncGenerator",
|
|
452
|
-
exporter("__asyncDelegator",
|
|
453
|
-
exporter("__asyncValues",
|
|
454
|
-
exporter("__makeTemplateObject",
|
|
455
|
-
exporter("__importStar",
|
|
456
|
-
exporter("__importDefault",
|
|
457
|
-
exporter("__classPrivateFieldGet",
|
|
458
|
-
exporter("__classPrivateFieldSet",
|
|
459
|
-
exporter("__classPrivateFieldIn",
|
|
450
|
+
exporter("__await", __await2);
|
|
451
|
+
exporter("__asyncGenerator", __asyncGenerator2);
|
|
452
|
+
exporter("__asyncDelegator", __asyncDelegator2);
|
|
453
|
+
exporter("__asyncValues", __asyncValues2);
|
|
454
|
+
exporter("__makeTemplateObject", __makeTemplateObject2);
|
|
455
|
+
exporter("__importStar", __importStar2);
|
|
456
|
+
exporter("__importDefault", __importDefault2);
|
|
457
|
+
exporter("__classPrivateFieldGet", __classPrivateFieldGet2);
|
|
458
|
+
exporter("__classPrivateFieldSet", __classPrivateFieldSet2);
|
|
459
|
+
exporter("__classPrivateFieldIn", __classPrivateFieldIn2);
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
463
|
|
|
464
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
464
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/parser.js
|
|
465
465
|
var require_parser = __commonJS({
|
|
466
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
466
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/parser.js"(exports) {
|
|
467
467
|
"use strict";
|
|
468
468
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
469
469
|
exports.parseUnicodeLocaleId = exports.parseUnicodeLanguageId = exports.isUnicodeVariantSubtag = exports.isUnicodeScriptSubtag = exports.isUnicodeRegionSubtag = exports.isStructurallyValidLanguageTag = exports.isUnicodeLanguageSubtag = exports.SEPARATOR = void 0;
|
|
@@ -701,9 +701,9 @@
|
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
704
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/emitter.js
|
|
705
705
|
var require_emitter = __commonJS({
|
|
706
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
706
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/emitter.js"(exports) {
|
|
707
707
|
"use strict";
|
|
708
708
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
709
709
|
exports.emitUnicodeLocaleId = exports.emitUnicodeLanguageId = void 0;
|
|
@@ -743,9 +743,9 @@
|
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
745
|
|
|
746
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
746
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/aliases.generated.js
|
|
747
747
|
var require_aliases_generated = __commonJS({
|
|
748
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
748
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/aliases.generated.js"(exports) {
|
|
749
749
|
"use strict";
|
|
750
750
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
751
751
|
exports.variantAlias = exports.scriptAlias = exports.territoryAlias = exports.languageAlias = void 0;
|
|
@@ -1887,9 +1887,9 @@
|
|
|
1887
1887
|
}
|
|
1888
1888
|
});
|
|
1889
1889
|
|
|
1890
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1890
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/likelySubtags.generated.js
|
|
1891
1891
|
var require_likelySubtags_generated = __commonJS({
|
|
1892
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
1892
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/likelySubtags.generated.js"(exports) {
|
|
1893
1893
|
"use strict";
|
|
1894
1894
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1895
1895
|
exports.likelySubtags = void 0;
|
|
@@ -3764,9 +3764,9 @@
|
|
|
3764
3764
|
}
|
|
3765
3765
|
});
|
|
3766
3766
|
|
|
3767
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3767
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/canonicalizer.js
|
|
3768
3768
|
var require_canonicalizer = __commonJS({
|
|
3769
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
3769
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/canonicalizer.js"(exports) {
|
|
3770
3770
|
"use strict";
|
|
3771
3771
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3772
3772
|
exports.canonicalizeUnicodeLocaleId = exports.canonicalizeUnicodeLanguageId = void 0;
|
|
@@ -3959,17 +3959,17 @@
|
|
|
3959
3959
|
}
|
|
3960
3960
|
});
|
|
3961
3961
|
|
|
3962
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3962
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/types.js
|
|
3963
3963
|
var require_types = __commonJS({
|
|
3964
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
3964
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/types.js"(exports) {
|
|
3965
3965
|
"use strict";
|
|
3966
3966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3967
3967
|
}
|
|
3968
3968
|
});
|
|
3969
3969
|
|
|
3970
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3970
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/index.js
|
|
3971
3971
|
var require_intl_getcanonicallocales = __commonJS({
|
|
3972
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
3972
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/index.js"(exports) {
|
|
3973
3973
|
"use strict";
|
|
3974
3974
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3975
3975
|
exports.isUnicodeLanguageSubtag = exports.isUnicodeScriptSubtag = exports.isUnicodeRegionSubtag = exports.isStructurallyValidLanguageTag = exports.parseUnicodeLanguageId = exports.parseUnicodeLocaleId = exports.getCanonicalLocales = void 0;
|
|
@@ -4023,10 +4023,37 @@
|
|
|
4023
4023
|
}
|
|
4024
4024
|
});
|
|
4025
4025
|
|
|
4026
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4027
|
-
var
|
|
4026
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/modules/index.js
|
|
4027
|
+
var import_tslib = __toESM(require_tslib(), 1);
|
|
4028
|
+
var {
|
|
4029
|
+
__extends,
|
|
4030
|
+
__assign,
|
|
4031
|
+
__rest,
|
|
4032
|
+
__decorate,
|
|
4033
|
+
__param,
|
|
4034
|
+
__metadata,
|
|
4035
|
+
__awaiter,
|
|
4036
|
+
__generator,
|
|
4037
|
+
__exportStar,
|
|
4038
|
+
__createBinding,
|
|
4039
|
+
__values,
|
|
4040
|
+
__read,
|
|
4041
|
+
__spread,
|
|
4042
|
+
__spreadArrays,
|
|
4043
|
+
__spreadArray,
|
|
4044
|
+
__await,
|
|
4045
|
+
__asyncGenerator,
|
|
4046
|
+
__asyncDelegator,
|
|
4047
|
+
__asyncValues,
|
|
4048
|
+
__makeTemplateObject,
|
|
4049
|
+
__importStar,
|
|
4050
|
+
__importDefault,
|
|
4051
|
+
__classPrivateFieldGet,
|
|
4052
|
+
__classPrivateFieldSet,
|
|
4053
|
+
__classPrivateFieldIn
|
|
4054
|
+
} = import_tslib.default;
|
|
4028
4055
|
|
|
4029
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4056
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
4030
4057
|
function ToString(o) {
|
|
4031
4058
|
if (typeof o === "symbol") {
|
|
4032
4059
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -4054,7 +4081,7 @@
|
|
|
4054
4081
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
4055
4082
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
4056
4083
|
|
|
4057
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4084
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
|
|
4058
4085
|
function CoerceOptionsToObject(options) {
|
|
4059
4086
|
if (typeof options === "undefined") {
|
|
4060
4087
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -4062,7 +4089,7 @@
|
|
|
4062
4089
|
return ToObject(options);
|
|
4063
4090
|
}
|
|
4064
4091
|
|
|
4065
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4092
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
|
|
4066
4093
|
function GetOption(opts, prop, type, values, fallback) {
|
|
4067
4094
|
if (typeof opts !== "object") {
|
|
4068
4095
|
throw new TypeError("Options must be an object");
|
|
@@ -4088,7 +4115,7 @@
|
|
|
4088
4115
|
return fallback;
|
|
4089
4116
|
}
|
|
4090
4117
|
|
|
4091
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4118
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
4092
4119
|
var SANCTIONED_UNITS = [
|
|
4093
4120
|
"angle-degree",
|
|
4094
4121
|
"area-acre",
|
|
@@ -4139,7 +4166,7 @@
|
|
|
4139
4166
|
}
|
|
4140
4167
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
4141
4168
|
|
|
4142
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4169
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
4143
4170
|
function invariant(condition, message, Err) {
|
|
4144
4171
|
if (Err === void 0) {
|
|
4145
4172
|
Err = Error;
|
|
@@ -4149,17 +4176,16 @@
|
|
|
4149
4176
|
}
|
|
4150
4177
|
}
|
|
4151
4178
|
|
|
4152
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4179
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
4153
4180
|
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
4154
4181
|
|
|
4155
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4182
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
4156
4183
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
4157
4184
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
4158
4185
|
|
|
4159
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4160
|
-
var import_tslib = __toESM(require_tslib());
|
|
4186
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
4161
4187
|
var MissingLocaleDataError = function(_super) {
|
|
4162
|
-
|
|
4188
|
+
__extends(MissingLocaleDataError2, _super);
|
|
4163
4189
|
function MissingLocaleDataError2() {
|
|
4164
4190
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4165
4191
|
_this.type = "MISSING_LOCALE_DATA";
|
|
@@ -4168,7 +4194,7 @@
|
|
|
4168
4194
|
return MissingLocaleDataError2;
|
|
4169
4195
|
}(Error);
|
|
4170
4196
|
|
|
4171
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4197
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
4172
4198
|
var RangePatternType;
|
|
4173
4199
|
(function(RangePatternType2) {
|
|
4174
4200
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -4176,10 +4202,10 @@
|
|
|
4176
4202
|
RangePatternType2["endRange"] = "endRange";
|
|
4177
4203
|
})(RangePatternType || (RangePatternType = {}));
|
|
4178
4204
|
|
|
4179
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4205
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-locale/lib/index.js
|
|
4180
4206
|
var import_intl_getcanonicallocales = __toESM(require_intl_getcanonicallocales());
|
|
4181
4207
|
|
|
4182
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4208
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-locale/lib/get_internal_slots.js
|
|
4183
4209
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
4184
4210
|
function getInternalSlots(x) {
|
|
4185
4211
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -4190,7 +4216,7 @@
|
|
|
4190
4216
|
return internalSlots;
|
|
4191
4217
|
}
|
|
4192
4218
|
|
|
4193
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4219
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-locale/lib/index.js
|
|
4194
4220
|
var RELEVANT_EXTENSION_KEYS = ["ca", "co", "hc", "kf", "kn", "nu"];
|
|
4195
4221
|
var UNICODE_TYPE_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;
|
|
4196
4222
|
function applyOptionsToTag(tag, options) {
|
|
@@ -4218,7 +4244,7 @@
|
|
|
4218
4244
|
if (region !== void 0) {
|
|
4219
4245
|
languageId.region = region;
|
|
4220
4246
|
}
|
|
4221
|
-
return Intl.getCanonicalLocales((0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(
|
|
4247
|
+
return Intl.getCanonicalLocales((0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(__assign(__assign({}, (0, import_intl_getcanonicallocales.parseUnicodeLocaleId)(tag)), { lang: languageId })))[0];
|
|
4222
4248
|
}
|
|
4223
4249
|
function applyUnicodeExtensionToTag(tag, options, relevantExtensionKeys) {
|
|
4224
4250
|
var unicodeExtension;
|
|
@@ -4286,7 +4312,7 @@
|
|
|
4286
4312
|
lang: !lang || lang === "und" ? replacement.lang : lang,
|
|
4287
4313
|
script: script || replacement.script,
|
|
4288
4314
|
region: region || replacement.region,
|
|
4289
|
-
variants:
|
|
4315
|
+
variants: __spreadArray(__spreadArray([], variants, true), replacement.variants, true)
|
|
4290
4316
|
};
|
|
4291
4317
|
}
|
|
4292
4318
|
function addLikelySubtags(tag) {
|
|
@@ -4330,23 +4356,23 @@
|
|
|
4330
4356
|
if (!maxLocale) {
|
|
4331
4357
|
return tag;
|
|
4332
4358
|
}
|
|
4333
|
-
maxLocale = (0, import_intl_getcanonicallocales.emitUnicodeLanguageId)(
|
|
4359
|
+
maxLocale = (0, import_intl_getcanonicallocales.emitUnicodeLanguageId)(__assign(__assign({}, (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(maxLocale)), { variants: [] }));
|
|
4334
4360
|
var ast = (0, import_intl_getcanonicallocales.parseUnicodeLocaleId)(tag);
|
|
4335
4361
|
var _a = ast.lang, lang = _a.lang, script = _a.script, region = _a.region, variants = _a.variants;
|
|
4336
4362
|
var trial = addLikelySubtags((0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({ lang, variants: [] }));
|
|
4337
4363
|
if (trial === maxLocale) {
|
|
4338
|
-
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(
|
|
4364
|
+
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(__assign(__assign({}, ast), { lang: mergeUnicodeLanguageId(lang, void 0, void 0, variants) }));
|
|
4339
4365
|
}
|
|
4340
4366
|
if (region) {
|
|
4341
4367
|
var trial_1 = addLikelySubtags((0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({ lang, region, variants: [] }));
|
|
4342
4368
|
if (trial_1 === maxLocale) {
|
|
4343
|
-
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(
|
|
4369
|
+
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(__assign(__assign({}, ast), { lang: mergeUnicodeLanguageId(lang, void 0, region, variants) }));
|
|
4344
4370
|
}
|
|
4345
4371
|
}
|
|
4346
4372
|
if (script) {
|
|
4347
4373
|
var trial_2 = addLikelySubtags((0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({ lang, script, variants: [] }));
|
|
4348
4374
|
if (trial_2 === maxLocale) {
|
|
4349
|
-
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(
|
|
4375
|
+
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(__assign(__assign({}, ast), { lang: mergeUnicodeLanguageId(lang, script, void 0, variants) }));
|
|
4350
4376
|
}
|
|
4351
4377
|
}
|
|
4352
4378
|
return tag;
|
|
@@ -4548,7 +4574,7 @@
|
|
|
4548
4574
|
} catch (e) {
|
|
4549
4575
|
}
|
|
4550
4576
|
|
|
4551
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4577
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-locale/lib/should-polyfill.js
|
|
4552
4578
|
function hasIntlGetCanonicalLocalesBug() {
|
|
4553
4579
|
try {
|
|
4554
4580
|
return new Intl.Locale("und-x-private").toString() === "x-private";
|
|
@@ -4560,7 +4586,7 @@
|
|
|
4560
4586
|
return !("Locale" in Intl) || hasIntlGetCanonicalLocalesBug();
|
|
4561
4587
|
}
|
|
4562
4588
|
|
|
4563
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4589
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-locale/lib/polyfill.js
|
|
4564
4590
|
if (shouldPolyfill()) {
|
|
4565
4591
|
Object.defineProperty(Intl, "Locale", {
|
|
4566
4592
|
value: Locale,
|