Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
49 lines
1.3 KiB
JavaScript
49 lines
1.3 KiB
JavaScript
// Module ID: 14470
|
|
// Function ID: 14471
|
|
// Dependencies: [14471]
|
|
|
|
// Module 14470
|
|
import _typeof from "module_14471" /* 14471 */;
|
|
|
|
if (_typeof) {
|
|
if (typeof _typeof === "object") {
|
|
let _default = _typeof;
|
|
}
|
|
let obj = globalThis;
|
|
const _Intl = Intl;
|
|
if (typeof Intl === "undefined") {
|
|
if (undefined !== global) {
|
|
obj = { PluralRules: _default.default };
|
|
global.Intl = obj;
|
|
_default = _default.default;
|
|
_default.polyfill = true;
|
|
} else {
|
|
const _window = window;
|
|
if (typeof window === "undefined") {
|
|
const self = this;
|
|
const obj2 = { PluralRules: _default.default };
|
|
this.Intl = obj2;
|
|
}
|
|
}
|
|
obj = { PluralRules: _default.default };
|
|
obj.window.Intl = obj;
|
|
} else {
|
|
const _Intl5 = Intl;
|
|
if (Intl.PluralRules) {
|
|
const _Intl2 = Intl;
|
|
if (Intl.PluralRules.prototype.selectRange) {
|
|
const items = ["en", "es", "ru", "zh"];
|
|
const _Intl4 = Intl;
|
|
if (PluralRules.supportedLocalesOf(items).length < items.length) {
|
|
const _Intl6 = Intl;
|
|
Intl.PluralRules = _default.default;
|
|
_default.default.polyfill = true;
|
|
}
|
|
}
|
|
}
|
|
const _Intl3 = Intl;
|
|
Intl.PluralRules = _default.default;
|
|
_default.default.polyfill = true;
|
|
}
|
|
}
|
|
_default = { default: _typeof };
|