Created
May 4, 2021 16:52
-
-
Save micronova-jb/e66e4a78ad3feaa655c292de64c189cd to your computer and use it in GitHub Desktop.
Plexamp v1 for AmpliPi - deobfuscated
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(e) { | |
function t(r) { | |
if (n[r]) return n[r].exports; | |
var o = n[r] = { | |
i: r, | |
l: !1, | |
exports: {} | |
}; | |
return e[r].call(o.exports, o, o.exports, t), o.l = !0, o.exports | |
} | |
var n = {}; | |
return t.m = e, t.c = n, t.i = function(e) { | |
return e | |
}, t.d = function(e, n, r) { | |
t.o(e, n) || Object.defineProperty(e, n, { | |
configurable: !1, | |
enumerable: !0, | |
get: r | |
}) | |
}, t.n = function(e) { | |
var n = e && e.__esModule ? function() { | |
return e.default | |
} : function() { | |
return e | |
}; | |
return t.d(n, "a", n), n | |
}, t.o = function(e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
}, t.p = "", t(t.s = 26) | |
}({ | |
"./common/Connection.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var r, o, s = n(5); | |
let a = (o = r = class e { | |
constructor(e) { | |
const t = (({ | |
local: e, | |
relay: t, | |
uri: n | |
}) => ({ | |
local: e, | |
relay: t, | |
uri: n | |
}))(e); | |
Object.assign(this, t) | |
} | |
loopback() { | |
return null !== this.uri.match(/127\.0\.0\.1/) | |
} | |
static Resolve(t) { | |
const n = e.IsPlexDns(t.uri); | |
if (n && !t.relay) { | |
const e = `*.${n[1]}`, | |
r = new s.URL(t.uri); | |
let o = `${r.protocol}//${t.address}`; | |
return r.port && (o += `:${r.port}`), { | |
uri: o, | |
cert: e | |
} | |
} | |
return { | |
uri: t.uri, | |
cert: null | |
} | |
} | |
static IsPlexDns(t) { | |
const n = e.RxPlexDirect.exec(t), | |
r = e.RxPlexServices.exec(t); | |
return n || r | |
} | |
static Compare(e, t) { | |
return e.loopback() !== t.loopback() ? e.loopback() ? -1 : 1 : e.local !== t.local ? e.local ? -1 : 1 : e.relay !== t.relay ? e.relay ? 1 : -1 : 0 | |
} | |
}, r.RxPlexDirect = /[0-9-]\.([a-f0-9]+\.plex\.direct)/, r.RxPlexServices = /[a-f0-9\\-]+\.([a-z]+\.plex\.services)/, o); | |
t.default = a, e.exports = t.default | |
}, | |
"./common/Device.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
function o(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var s = r(n("./node_modules/compare-versions/index.js")), | |
a = n(5), | |
i = r(n("./common/parseXml.js")), | |
u = r(n("./common/Connection.js")), | |
c = r(n("./common/Http.js")), | |
l = r(n("./common/Library.js")); | |
t.default = class e { | |
constructor(e) { | |
const t = (({ | |
name: e, | |
capabilities: t, | |
clientIdentifier: n, | |
provides: r, | |
owned: o, | |
accessToken: s, | |
presence: a, | |
platform: i, | |
cert: u, | |
semVer: c, | |
sourceTitle: l | |
}) => ({ | |
name: e, | |
capabilities: t, | |
clientIdentifier: n, | |
provides: r, | |
owned: o, | |
accessToken: s, | |
presence: a, | |
platform: i, | |
cert: u, | |
semVer: c, | |
sourceTitle: l | |
}))(e); | |
Object.assign(this, t), this.connections = [], e.connections.forEach(e => this.connections.push(new u.default(e))), this.connections = this.connections.sort(u.default.Compare), e.connection && (this.connection = new u.default(e.connection)), this.libraries = e.libraries ? e.libraries : [], this._dirty = !1 | |
} | |
url(t = !1) { | |
if (this.connection) return t && this.cert && e.IsNumericalHostname(this.connection.uri) ? e.BuildPlexHostname(this.cert, this.connection.uri) : this.connection.uri | |
} | |
static BuildPlexHostname(e, t) { | |
const n = e.substr(2), | |
r = new a.URL(t), | |
o = r.port ? `:${r.port}` : ""; | |
return `${r.protocol}//${r.hostname.replace(/\./g,"-")}.${n}${o}` | |
} | |
static IsNumericalHostname(e) { | |
return e.match(/^https?:\/\/\d+\.\d+\.\d+\.\d+(:\d+)?$/) | |
} | |
runConnectionTesting() { | |
var e = this; | |
return o(function*() { | |
console.log(`DEVICE: Finding best connection for ${e.name}`), e._bestConnectionSoFar = null; | |
try { | |
if (e.connection && e.connection.relay) console.log("DEVICE: Trying all connections in parallel, since we had relay connection."), yield Promise.all(e.connections.map(function(t) { | |
return e.testConnection(t, 2e4) | |
})); | |
else { | |
const t = "Cloud" === e.platform ? 15e3 : 5e3; | |
yield Promise.all(e.connections.filter(function(e) { | |
return !e.relay | |
}).map(function(n) { | |
return e.testConnection(n, t) | |
})); | |
const n = e.connections.find(function(e) { | |
return e.relay | |
}); | |
n && (console.log(`DEVICE: Trying last-ditch relay connection ${n.uri}.`), yield e.testConnection(n, 2e4)) | |
} | |
e._bestConnectionSoFar || (console.warn(`DEVICE: Connection testing failed for ${e.name}`), e.connection = null) | |
} catch (t) { | |
return e.connection = e._bestConnectionSoFar, e._dirty = !0, e.isServer() && (yield e.fetchLibraries()), e | |
} | |
return null | |
})() | |
} | |
testConnection(e, t = 1e4) { | |
var n = this; | |
return o(function*() { | |
if (n.isServer()) try { | |
const r = yield c.default.Request(n, "/", { | |
timeout: t, | |
json: !0 | |
}, e); | |
return r && r.data && r.data.MediaContainer && r.data.MediaContainer.machineIdentifier === n.clientIdentifier ? (console.log(`DEVICE: Server connection worked for ${n.name} ~ ${e.uri}`), n.updateBestConnection(e), Promise.reject(n)) : (console.warn(`DEVICE: Server connection ${e.uri} didn't look like it hit the right server ${n.name}`), Promise.resolve(null)) | |
} catch (t) { | |
return console.warn(`DEVICE: Server connection ${e.uri} didn't work for ${n.name}: ${t.message}`), Promise.resolve(null) | |
} else { | |
if (n.isProvider()) return console.log(`DEVICE: Skipping actual connection testing for ${n.name}.`), n.updateBestConnection(n.connections[0]), Promise.reject(n); | |
try { | |
const r = { | |
"X-Plex-Target-Client-Identifier": n.clientIdentifier, | |
Accept: "application/xml" | |
}, | |
o = yield c.default.Request(n, "/resources", { | |
timeout: t, | |
headers: r | |
}, e); | |
if (o) { | |
const t = yield(0, i.default)(o.data); | |
if (t && t.MediaContainer && t.MediaContainer.Player) { | |
const r = t.MediaContainer.Player.find(function(e) { | |
return e.$.machineIdentifier === n.clientIdentifier | |
}); | |
if (r) return console.log(`DEVICE: Player connection worked for ${n.name} ~ ${e.uri}`), n.capabilities = r.$.protocolCapabilities.split(","), n.updateBestConnection(e), Promise.reject(n) | |
} | |
return console.warn(`DEVICE: The player ${n.clientIdentifier} wasn't found in available resources at ${e.uri}.`), Promise.resolve(null) | |
} | |
} catch (t) { | |
return console.warn(`DEVICE: Player connection ${e.uri} didn't work for ${n.name}: ${t.message}`), Promise.resolve(null) | |
} | |
} | |
})() | |
} | |
updateBestConnection(e) { | |
this._bestConnectionSoFar ? !this._bestConnectionSoFar.local && e.local ? (console.log("DEVICE: Updating with better local connection."), this.connection = this._bestConnectionSoFar = e, this._dirty = !0) : this._bestConnectionSoFar.relay && !e.relay ? (console.log("DEVICE: Updating with better non-relay connection."), this.connection = this._bestConnectionSoFar = e, this._dirty = !0) : e.loopback() && (console.log("DEVICE: Updating with better loopback connection."), this.connection = this._bestConnectionSoFar = e, this._dirty = !0) : this.connection = this._bestConnectionSoFar = e | |
} | |
fetchLibraries() { | |
var e = this; | |
return o(function*() { | |
try { | |
const t = yield c.default.Request(e, "/library/sections", { | |
json: !0 | |
}); | |
let n = []; | |
t && t.data && t.data.MediaContainer && t.data.MediaContainer.Directory && (n = t.data.MediaContainer.Directory.map(function(e) { | |
return new l.default(e) | |
}), console.log(`DEVICE: ${n.length} libraries at ${e.name}: ${n.map(function(e){return e.title})}`)), e.libraries = n | |
} catch (t) { | |
console.error(`DEVICE: Unable to read libraries at ${e.name}`), e.libraries = [] | |
} | |
})() | |
} | |
fetchLibrariesAndFeatures(e) { | |
var t = this; | |
return o(function*() { | |
try { | |
const e = yield c.default.Request(t, "/", { | |
json: !0 | |
}); | |
console.log(e) | |
} catch (e) { | |
console.error(`DEVICE: Unable to read libraries and features at ${t.name}`), t.libraries = [] | |
} | |
})() | |
} | |
getLibraryName(e, t) { | |
const n = this.libraries.find(t => t.key === e); | |
return n && this.owned ? `${n.title} (${this.name})` : n && this.sourceTitle ? `${n.title} (${this.sourceTitle}${t?` - ${this.name}`:""})` : "???" | |
} | |
static Compare(e, t) { | |
return e.owned !== t.owned ? e.owned ? -1 : 1 : e.sourceTitle !== t.sourceTitle ? e.sourceTitle.localeCompare(t.sourceTitle) : e.platform === t.platform || "Cloud" !== e.platform && "Cloud" !== t.platform ? (0, s.default)(t.semVer, e.semVer) : "Cloud" === e.platform ? 1 : -1 | |
} | |
isServer() { | |
return -1 !== this.provides.indexOf("server") | |
} | |
isProvider() { | |
return "provider" === this.provides | |
} | |
hasCapability(e) { | |
return !!this.capabilities.find(t => t === e) | |
} | |
getPhotoTranscodeEndpoint(e, t, n, r = {}) { | |
let o; | |
return o = this.connection && !this.connection.local ? `${this.url(!0)}/photo/:/transcode` : `http://127.0.0.1:20000/proxy/image/${this.clientIdentifier}`, o += `?width=${t}&height=${n}&upscale=1`, o += `&url=${encodeURIComponent(e)}`, Object.keys(r).forEach(e => { | |
o += `&${e}=${r[e]}` | |
}), this.connection && !this.connection.local && (o += `&X-Plex-Token=${this.accessToken||""}`), o | |
} | |
}, e.exports = t.default | |
}, | |
"./common/DeviceManager.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
function o(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var s = Object.assign || function(e) { | |
for (var t = 1; t < arguments.length; t++) { | |
var n = arguments[t]; | |
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) | |
} | |
return e | |
}, | |
a = r(n("./node_modules/appdirectory/lib/appdirectory.js")), | |
i = r(n("./node_modules/axios/index.js")), | |
u = r(n(3)), | |
c = r(n(0)), | |
l = n(5), | |
d = r(n("./common/Connection.js")), | |
m = r(n("./common/Device.js")), | |
p = r(n("./common/parseXml.js")), | |
f = r(n("./common/dns.js")); | |
const h = new a.default("Plexamp"); | |
t.default = class e { | |
constructor(e, t) { | |
this.settings = e, this.suffix = t, this.devices = this.load(), setInterval(this.saveIfDirty.bind(this), 15e3) | |
} | |
clear() { | |
var e = this; | |
return o(function*() { | |
e.devices = {}, yield e.save() | |
})() | |
} | |
initialize() { | |
var e = this; | |
return o(function*() { | |
if (!e.settings.get("user:token")) return console.warn("DEVICE: Cannot initialize, no token."), [null, null, null]; | |
const t = new Date; | |
console.log("DEVICE: Initializing manager."); | |
const n = e.fetchProvidersAndDevices(); | |
let r = !1; | |
0 === Object.keys(e.devices).length && (console.log("DEVICE: No previous data, waiting for cloud data."), yield n, r = !0), console.log("DEVICE: Starting connection test."); | |
const o = e.settings.get("server:identifier"); | |
let s, a = !0; | |
if (o) { | |
let t = e.devices[o]; | |
t && ((s = yield t.runConnectionTesting()) || r || (console.log("DEVICE: Awaiting updated device information."), yield n, s = yield(t = e.devices[o]).runConnectionTesting())) | |
} | |
s ? (console.log("DEVICE: Fast-path connection testing."), a = !1) : s = yield e.findWorkingServer(); | |
let i = [null, null]; | |
return s && a && (i = e.saveCurrentServer(s)), i = [...i, e.refresh()], yield e.save(), console.log(`DEVICE: Initialization finished in ${new Date-t}ms.`), i | |
})() | |
} | |
findDeviceWithRefresh(e) { | |
var t = this; | |
return o(function*() { | |
let n = t.findDevice(e); | |
return n || (yield t.refresh(!0), n = t.findDevice(e)), n | |
})() | |
} | |
findDevice(e) { | |
let t = e; | |
return e && e.startsWith("server://") && (t = e.substr(9)), t in this.devices ? this.devices[t] : (console.warn(`DEVICE: No provider for source ${e}`), null) | |
} | |
refresh(e = !1) { | |
var t = this; | |
return o(function*() { | |
e && (yield t.fetchProvidersAndDevices()), yield Promise.all(Object.values(t.devices).map((() => { | |
var e = o(function*(e) { | |
return !e.connection || 0 === e.libraries.length && e.isServer() ? e.runConnectionTesting() : e.connections.find(function(t) { | |
return t.uri === e.connection.uri | |
}) ? void 0 : e.runConnectionTesting() | |
}); | |
return function(t) { | |
return e.apply(this, arguments) | |
} | |
})())) | |
})() | |
} | |
findWorkingServer() { | |
var t = this; | |
return o(function*() { | |
console.log(`DEVICE: Looking for an active server in ${Object.keys(t.devices).length} devices.`); | |
let n = t.servers().filter(function(e) { | |
return e.owned | |
}), | |
r = yield e.FindFirstWorkingServer(n); | |
return r || (n = t.servers().filter(function(e) { | |
return !e.owned | |
}), r = yield e.FindFirstWorkingServer(n)), r ? console.log(`DEVICE: Got working server of ${r.name}`) : console.warn("DEVICE: Did not find a working server."), r | |
})() | |
} | |
static FindFirstWorkingServer(e) { | |
return o(function*() { | |
return (yield Promise.all(e.map(function(e) { | |
return e.runConnectionTesting() | |
}))).filter(function(e) { | |
return e && e.libraries.find(function(e) { | |
return "artist" === e.type | |
}) | |
}).sort(m.default.Compare).find(function(e) { | |
return !0 | |
}) | |
})() | |
} | |
servers() { | |
return Object.values(this.devices).filter(e => "server" === e.provides).sort(m.default.Compare) | |
} | |
players() { | |
return Object.values(this.devices).filter(e => -1 !== e.provides.indexOf("player")).filter(e => e.clientIdentifier !== this.settings.get("user:identifier")).sort((e, t) => e.name.localeCompare(t.name)) | |
} | |
fetchProvidersAndDevices() { | |
var e = this; | |
return o(function*() { | |
const t = e.fetchProviders(), | |
n = e.fetchDevices(); | |
try { | |
const [r, o] = yield Promise.all([t, n]); | |
if (r && o) { | |
const t = [...o, ...r].reduce(function(e, t) { | |
return e[t.clientIdentifier] = new m.default(t), e | |
}, {}); | |
e.mergeDevices(t) | |
} else console.error("DEVICE: Error loading providers or resources, not merging.") | |
} catch (e) { | |
console.error(`DEVICE: Error loading providers or devices from plex.tv: ${e}`) | |
} | |
})() | |
} | |
fetchProviders() { | |
var e = this; | |
return o(function*() { | |
const t = []; | |
try { | |
console.log("DEVICE: Fetching latest provider list from cloud."); | |
const n = e.settings.get("user:token"); | |
(yield i.default.get("https://plex.tv/media/providers", { | |
headers: { | |
"X-Plex-Token": n | |
} | |
})).data.forEach((() => { | |
var e = o(function*(e) { | |
try { | |
t.push(new m.default({ | |
name: e.title, | |
clientIdentifier: e.identifier, | |
provides: "provider", | |
accessToken: n, | |
connections: [{ | |
local: !1, | |
uri: e.baseURL | |
}] | |
})) | |
} catch (t) { | |
console.error(`DEVICE: Error loading media provider ${e.title}: ${t}`) | |
} | |
}); | |
return function(t) { | |
return e.apply(this, arguments) | |
} | |
})()) | |
} catch (e) { | |
return console.error(`DEVICE: Error loading media providers from plex.tv: ${e}`), null | |
} | |
return t | |
})() | |
} | |
fetchDevices() { | |
var e = this; | |
return o(function*() { | |
let t = []; | |
try { | |
console.log("DEVICE: Fetching latest list from cloud."); | |
const n = e.settings.get("user:token"), | |
r = (yield i.default.get("https://plex.tv/api/resources?includeHttps=1&includeRelay=1", { | |
headers: { | |
"X-Plex-Token": n | |
} | |
})).data; | |
if (r) { | |
t = (yield(0, p.default)(r)).MediaContainer.Device.map(function(e) { | |
return s({}, e.$, { | |
owned: "1" === e.$.owned, | |
presence: "1" === e.$.presense, | |
semVer: e.$.productVersion.split(".").slice(0, 3).join("."), | |
connections: (e.Connection || []).map(function(e) { | |
return s({}, e.$, { | |
local: "1" === e.$.local, | |
relay: "1" === e.$.relay | |
}) | |
}) | |
}) | |
}), console.log(`DEVICE: Fetched ${t.length} devices from the cloud.`); | |
for (let e of t) { | |
e.connections = e.connections.map(function(e) { | |
return s({}, e, d.default.Resolve(e)) | |
}); | |
const t = e.connections.find(function(e) { | |
return e.cert | |
}); | |
if (t && (e.cert = t.cert), "server" === e.provides && "Cloud" !== e.platform && (e.connections.find(function(e) { | |
return -1 !== e.uri.indexOf("127.0.0.1") | |
}) || e.connections.push({ | |
uri: "https://127.0.0.1:32400", | |
address: "127.0.0.1", | |
local: !0, | |
relay: !1 | |
}), !e.connections.find(function(e) { | |
return !e.local && (d.default.IsPlexDns(e.uri) || m.default.IsNumericalHostname(e.uri)) | |
}))) { | |
const t = e.connections.find(function(e) { | |
return !e.local | |
}); | |
if (t && e.cert) try { | |
console.log(`DEVICE: The device '${e.name}' had only non-numeric remote addresses, we'll resolve one.`); | |
const n = new l.URL(t.uri), | |
r = yield(0, f.default)(n.hostname), o = `https://${r}${n.port?`:${n.port}`:""}`; | |
e.connections.push({ | |
uri: m.default.BuildPlexHostname(e.cert, o), | |
address: r, | |
local: !1, | |
relay: !1 | |
}) | |
} catch (e) { | |
console.error("DEVICE: Error resolving:", e.message) | |
} | |
} | |
} | |
} | |
} catch (e) { | |
return console.error(`DEVICE: Error loading resources from plex.tv: ${e}`), null | |
} | |
return t | |
})() | |
} | |
mergeDevices(e) { | |
let t = !1; | |
Object.keys(this.devices).forEach(n => { | |
n in e || (console.log(`DEVICE: Removing "${this.devices[n].name}" which disappeared.`), delete this.devices[n], t = !0) | |
}), Object.keys(e).forEach(t => { | |
if (t in this.devices) { | |
const n = e[t], | |
r = this.devices[t]; | |
r.name = n.name, r.cert = n.cert, r.semVer = n.semVer, r.presence = n.presence, r.accessToken = n.accessToken, r.connections = n.connections, r._dirty = !0 | |
} else this.devices[t] = e[t] | |
}), t && this.save() | |
} | |
load() { | |
const e = c.default.join(h.userConfig(), `resources-${this.suffix}.json`); | |
try { | |
const t = u.default.readFileSync(e, "utf-8"), | |
n = JSON.parse(t), | |
r = {}; | |
return Object.keys(n).forEach(e => { | |
const t = n[e]; | |
r[e] = new m.default(t, t.connections) | |
}), console.log(`DEVICE: Loaded ${Object.keys(r).length} devices.`), r | |
} catch (e) { | |
return {} | |
} | |
} | |
saveIfDirty() { | |
const e = Object.keys(this.devices).find(e => this.devices[e]._dirty); | |
if (e) return console.log(`DEVICE: Persisting devices because ${this.devices[e].name} was dirty.`), this.save() | |
} | |
save() { | |
console.log("DEVICE: Persisting devices."); | |
const e = c.default.join(h.userConfig(), `resources-${this.suffix}.json`); | |
u.default.writeSync(u.default.openSync(e, "w"), JSON.stringify(this.devices, (e, t) => e.startsWith("_") ? void 0 : t, 2)), Object.keys(this.devices).forEach(e => { | |
this.devices[e]._dirty = !1 | |
}) | |
} | |
saveCurrentServer(e) { | |
console.log(`DEVICE: Saving new active server ${e.name}`), this.settings.set("server:identifier", e.clientIdentifier); | |
const t = e.libraries.find(e => "artist" === e.type); | |
return t && this.settings.set("server:library", t.key), this.settings.save(), [e.clientIdentifier, t ? t.key : null] | |
} | |
}, e.exports = t.default | |
}, | |
"./common/Http.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var o = Object.assign || function(e) { | |
for (var t = 1; t < arguments.length; t++) { | |
var n = arguments[t]; | |
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) | |
} | |
return e | |
}, | |
s = r(n("./node_modules/axios/index.js")), | |
a = r(n(10)), | |
i = r(n(5)), | |
u = (r(n("./common/Connection.js")), r(n("./common/Device.js"))); | |
s.default.defaults.adapter = n("./node_modules/axios/lib/adapters/http.js"), s.default.defaults.timeout = 3e4; | |
t.default = class e { | |
static Request(t, n, r = { | |
timeout: 1e4 | |
}, a = null) { | |
return function(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
}(function*() { | |
let c = a || t.connection; | |
if (c || (yield t.runConnectionTesting(), c = t.connection), !c) return null; | |
const l = e.CreateAgent(t, c), | |
d = i.default.parse(`${c.uri}${n}`); | |
u.default.IsNumericalHostname(c.uri) && delete d.hostname; | |
const m = `${c.uri}${n}`, | |
p = o({}, r); | |
p.url = i.default.parse(m), p.httpsAgent = l, p.headers = o({}, p.headers, { | |
"Accept-Encoding": "gzip" | |
}), t.accessToken && (p.headers["X-Plex-Token"] = t.accessToken), r.json && (p.headers.Accept = "application/json"), r.noCompression && delete p.headers["Accept-Encoding"]; | |
try { | |
return -1 === m.indexOf("/player/timeline/poll") && console.log(`HTTP: Issuing request to ${m}`), (0, s.default)(p) | |
} catch (e) { | |
return null | |
} | |
})() | |
} | |
static CreateAgent(t, n) { | |
let r = 0; | |
return new a.default.Agent({ | |
checkServerIdentity: (o, s) => { | |
if (0 === r) { | |
if (s.subjectaltname && e.ParseSANs(s.subjectaltname).find(t => e.CertMatches(o, t))); | |
else if (t.cert && t.cert === s.subject.CN); | |
else if (o === s.subject.CN); | |
else if (!s.subject.CN || -1 === s.subject.CN.indexOf("*") || !e.CertMatches(o, s.subject.CN)) return n.relay || o.match(/^[0-9.]+$/) || o === s.subject.CN ? new Error(`${o} could not be matched to CN ${s.subject.CN}.`) : new Error(`${o} server name isn't valid, ignoring.`); | |
r += 1 | |
} | |
} | |
}) | |
} | |
static CertMatches(e, t) { | |
if (!t) return !1; | |
if (e === t) return !0; | |
if (-1 !== t.indexOf("*")) { | |
const n = t.replace(".", "\\.").replace("*", ".*"); | |
return !!e.match(n) | |
} | |
return !1 | |
} | |
static ParseSANs(e) { | |
return e.split(",").map(e => e.trim()).map(e => e.split(":")).filter(e => "DNS" === e[0]).map(e => e[1]) | |
} | |
}, e.exports = t.default | |
}, | |
"./common/Library.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
t.default = class { | |
constructor(e) { | |
const t = (({ | |
key: e, | |
title: t, | |
type: n | |
}) => ({ | |
key: e, | |
title: t, | |
type: n | |
}))(e); | |
Object.assign(this, t) | |
} | |
}, e.exports = t.default | |
}, | |
"./common/MetricsController.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
function o(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var s = r(n("./node_modules/axios/index.js")), | |
a = r(n(11)), | |
i = r(n("./node_modules/uuid/v4.js")), | |
u = r(n("./node_modules/async/queue.js")); | |
t.default = class e { | |
constructor(e, t, n, r) { | |
this.app = e, this.version = t, this.settings = r, this.activeTrack = null, this.anonymousIdentifier = n, this.queue = (0, u.default)((() => { | |
var e = o(function*(e, t) { | |
yield e(), t() | |
}); | |
return function(t, n) { | |
return e.apply(this, arguments) | |
} | |
})(), 1) | |
} | |
initialize() { | |
var e = this; | |
return o(function*() { | |
if (console.log("METRICS: Initializing."), !e.settings.get("user:token")) return void console.warn("METRICS: Cannot start up, no token."); | |
e.deviceIdentifier = e.settings.get("player:identifier") || e.settings.get("user:identifier"), e.userID = e.settings.get("user:id"), e.sessionIdentifier = (0, i.default)(); | |
const t = { | |
"X-Plex-Token": e.settings.get("user:token"), | |
"X-Plex-Client-Identifier": e.deviceIdentifier | |
}, | |
n = yield s.default.get("https://plex.tv/api/v2/user/privacy.json", { | |
headers: t | |
}); | |
n && (console.log("METRICS: Saving latest cloud settings for metrics."), e.url = n.data.baseUrl, e.metrics = n.data.metrics, e.optOutPlayback = n.data.optOutPlayback) | |
})() | |
} | |
reportView(t, n = null, r = null, s = !1) { | |
var a = this; | |
return o(function*() { | |
const o = a.createBasicEvent("client:view"); | |
o.properties.provider = "com.plexapp.plugins.library", o.properties.page = t, o.interaction = s, n && (o.properties.type = n), r && (o.properties.mode = e.CleanupIdentifier(r)), a.sendEvent(o) | |
})() | |
} | |
reportPlayClick(t, n, r = null, s = null) { | |
var a = this; | |
return o(function*() { | |
const o = a.createBasicEvent("client:click"); | |
o.properties.provider = "com.plexapp.plugins.library", o.properties.action = "play", o.properties.context = n; | |
let i, u = -1 !== (t && t.indexOf("Preplay")) ? "preplay" : null; | |
"Discovery" === t ? u = "discovery" : "Browser" === t ? u = "browse" : "ArtistPreplay" === t ? i = "artist" : "AlbumPreplay" === t ? i = "album" : "PlaylistPreplay" === t ? i = "playlist" : "SearchResults" === t && (u = "search"), u && (o.properties.page = u), (i || s) && (o.properties.type = i || s), r && (o.properties.mode = e.CleanupIdentifier(r)), a.sendEvent(o) | |
})() | |
} | |
reportPlaybackAction(e, t, n) { | |
var r = this; | |
return o(function*() { | |
t && r.activeTrack && r.activeTrack.item.ratingKey === t.ratingKey && (console.log(`METRICS: Ending last track forcefully with status ${n}`), r.activeTrack.finalStatus = n, yield r.sendEvent(r.createPlaybackEvent(r.activeTrack, !1))) | |
})() | |
} | |
reportPlaybackStatus(e, t, n, r = null) { | |
var s = this; | |
return o(function*() { | |
if (s.activeTrack && s.activeTrack.item.ratingKey !== t.ratingKey && !s.activeTrack.reported) { | |
console.log("METRICS: Ending last track."); | |
const e = s.createPlaybackEvent(s.activeTrack, !1); | |
yield s.sendEvent(e) | |
} | |
if ((!s.activeTrack || s.activeTrack.item.ratingKey !== t.ratingKey) && "playing" === r) { | |
console.log("METRICS: Starting new track."); | |
const r = n < 5e3 ? 0 : n / 1e3; | |
s.activeTrack = new class { | |
constructor(e) { | |
Object.assign(this, e), this.finalStatus = "completed", this.reported = !1 | |
} | |
}({ | |
source: e, | |
item: t, | |
startTime: r | |
}), yield s.sendEvent(s.createPlaybackEvent(s.activeTrack, !0)) | |
} | |
s.activeTrack && (s.activeTrack.stopTime = n / 1e3) | |
})() | |
} | |
createPlaybackEvent(e, t) { | |
const n = this.app.providerController.find(e.source); | |
if (!n) return null; | |
let r = "local"; | |
n.connection.relay ? r = "relayed" : n.connection.loopback() ? r = "loopback" : n.connection.local || (r = "remote"); | |
const o = e.item.Media[0], | |
s = this.createBasicEvent(t ? "playback:itemstart" : "playback:itemend"); | |
return s.properties = { | |
serverType: n.owned ? "owned" : "shared", | |
connectionType: r, | |
type: "track", | |
identifier: "com.plexapp.plugins.library", | |
protocol: "http", | |
offset: t ? e.startTime : 0, | |
container: o.container, | |
duration: o.duration ? parseInt(o.duration / 1e3, 10) : 0, | |
bitrate: o.bitrate, | |
audioCodec: o.audioCodec, | |
audioDecision: "direct" | |
}, t || (s.properties.status = e.finalStatus, s.properties.playbackTime = parseInt(e.stopTime - e.startTime, 10), e.reported = !0), s | |
} | |
createBasicEvent(e) { | |
return { | |
deviceIdentifier: this.deviceIdentifier, | |
sessionIdentifier: this.sessionIdentifier, | |
userId: this.userID, | |
event: e, | |
interaction: !0, | |
context: { | |
device: { | |
product: "Plexamp", | |
platform: a.default.type(), | |
platformVersion: a.default.release(), | |
version: this.version | |
} | |
}, | |
properties: {} | |
} | |
} | |
sendEvent(e) { | |
const t = this.metrics && this.metrics.find(t => t.event === e.event); | |
t && "anonymous" === t.status && (delete e.userId, e.deviceIdentifier = this.anonymousIdentifier), e && this.queue.push(this.actuallySendEvent.bind(this, e)) | |
} | |
actuallySendEvent(e) { | |
var t = this; | |
return o(function*() { | |
if (t.url) try { | |
yield s.default.post(`${t.url}/collect/event`, e), console.log(`METRICS: Sending event: ${e.event} to ${t.url}`) | |
} catch (e) { | |
console.error("METRICS: Error sending event:", e.message) | |
} | |
})() | |
} | |
static CleanupIdentifier(e) { | |
return e.replace(/\.[0-9]+$/, "") | |
} | |
}, e.exports = t.default | |
}, | |
"./common/ProviderController.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
function o(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var s = Object.assign || function(e) { | |
for (var t = 1; t < arguments.length; t++) { | |
var n = arguments[t]; | |
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) | |
} | |
return e | |
}, | |
a = (r(n("./common/Device.js")), r(n("./common/Http.js"))); | |
t.default = class { | |
constructor(e, t, n) { | |
this.app = e, this.log = t, this.settings = n | |
} | |
executeRequest(e, t, n = 3e4, r = {}) { | |
var s = this; | |
return o(function*() { | |
const o = s.app.deviceManager; | |
let a = !1, | |
i = o.findDevice(e); | |
if (i || (yield o.refresh(!0), i = o.findDevice(e), a = !0), i) { | |
let u = yield s.loadJson(i, t, n, r); | |
if (a || !u || 401 !== u.status && 403 !== u.status || (yield o.refresh(!0), (i = o.findDevice(e)) && (u = yield s.loadJson(i, t, n, r))), u) return u.data | |
} | |
return null | |
})() | |
} | |
loadJsonFromSource(e, t, n = null, r = {}) { | |
var s = this; | |
return o(function*() { | |
const o = s.app.deviceManager.findDevice(e); | |
if (o) { | |
const e = yield s.loadJson(o, t, n, r); | |
if (e) return e.data | |
} | |
})() | |
} | |
loadJson(e, t, n, r = {}) { | |
var i = this; | |
return o(function*() { | |
const o = s({}, i.app.player ? i.app.player.headers() : {}, { | |
Accept: "application/json" | |
}, r.extraHeaders); | |
o["X-Plex-Token"] = e.accessToken, i.app.player && (t = i.app.player.addNameArg(t)); | |
const u = r; | |
void 0 !== r.containerStart && (o["X-Plex-Container-Start"] = r.containerStart, delete u.containerStart), void 0 !== r.containerSize && (o["X-Plex-Container-Size"] = r.containerSize, delete u.containerSize); | |
try { | |
return yield a.default.Request(e, t, s({ | |
timeout: n, | |
headers: o | |
}, u)) | |
} catch (n) { | |
return console.log(`Error loading: ${e.url()}${t}: ${n.message}`), null | |
} | |
})() | |
} | |
find(e) { | |
return this.app.deviceManager.findDevice(e) | |
} | |
findWithRefresh(e) { | |
var t = this; | |
return o(function*() { | |
return t.app.deviceManager.findDeviceWithRefresh(e) | |
})() | |
} | |
}, e.exports = t.default | |
}, | |
"./common/dns.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = function(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
}(n(21)); | |
t.default = (() => { | |
var e = function(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
}(function*(e) { | |
return new Promise(function(t, n) { | |
r.default.resolve4(e, function(e, r) { | |
return e ? n(e) : t(r[0]) | |
}) | |
}) | |
}); | |
return function(t) { | |
return e.apply(this, arguments) | |
} | |
})(), e.exports = t.default | |
}, | |
"./common/nconf.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/async/dist/async.js"); | |
var r = n("./common/nconf/common.js"), | |
o = n("./common/nconf/provider.js").Provider, | |
s = e.exports = new o; | |
s.version = n("./server/package.json").version, ["argv", "env", "file", "literal", "memory"].forEach(function(e) { | |
var t = r.capitalize(e); | |
s.__defineGetter__(t, function() { | |
return n("./common/nconf/stores recursive ^\\.\\/.*$")("./" + e)[t] | |
}) | |
}), s.key = r.key, s.path = r.path, s.loadFiles = r.loadFiles, s.loadFilesSync = r.loadFilesSync, s.formats = n("./common/nconf/formats.js"), s.Provider = o | |
}, | |
"./common/nconf/common.js": function(e, t, n) { | |
"use strict"; | |
var r = n(3), | |
o = n("./node_modules/async/dist/async.js"), | |
s = n("./common/nconf/formats.js"), | |
a = n("./common/nconf/stores/memory.js").Memory, | |
i = t; | |
i.path = function(e, t) { | |
return t = t || ":", null == e ? [] : e.split(t) | |
}, i.key = function() { | |
return Array.prototype.slice.call(arguments).join(":") | |
}, i.keyed = function() { | |
return Array.prototype.slice.call(arguments, 1).join(arguments[0]) | |
}, i.loadFiles = function(e, t) { | |
if (!e) return t(null, {}); | |
var n = Array.isArray(e) ? { | |
files: e | |
} : e; | |
n.format = n.format || s.json, o.map(n.files, function(e, t) { | |
r.readFile(e, function(e, r) { | |
return e ? t(e) : t(null, n.format.parse(r.toString())) | |
}) | |
}, function(e, n) { | |
return e ? t(e) : t(null, i.merge(n)) | |
}) | |
}, i.loadFilesSync = function(e) { | |
if (e) { | |
var t = Array.isArray(e) ? { | |
files: e | |
} : e; | |
return t.format = t.format || s.json, i.merge(t.files.map(function(e) { | |
return t.format.parse(r.readFileSync(e, "utf8")) | |
})) | |
} | |
}, i.merge = function(e) { | |
var t = new a; | |
return e.forEach(function(e) { | |
Object.keys(e).forEach(function(n) { | |
t.merge(n, e[n]) | |
}) | |
}), t.store | |
}, i.capitalize = function(e) { | |
return e && e[0].toUpperCase() + e.slice(1) | |
} | |
}, | |
"./common/nconf/formats.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/ini/ini.js"), | |
o = t; | |
o.json = { | |
stringify: function(e, t, n) { | |
return JSON.stringify(e, t || null, n || 2) | |
}, | |
parse: JSON.parse | |
}, o.ini = r | |
}, | |
"./common/nconf/provider.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/async/dist/async.js"), | |
o = n("./common/nconf/common.js"), | |
s = t.Provider = function(e) { | |
e = e || {}, this.stores = {}, this.sources = [], this.init(e) | |
}; | |
["argv", "env"].forEach(function(e) { | |
s.prototype[e] = function() { | |
var t = [e].concat(Array.prototype.slice.call(arguments)); | |
return this.add.apply(this, t) | |
} | |
}), s.prototype.file = function(e, t) { | |
return 1 == arguments.length ? (t = "string" == typeof e ? { | |
file: e | |
} : e, e = "file") : t = "string" == typeof t ? { | |
file: t | |
} : t, t.type = "file", this.add(e, t) | |
}, ["defaults", "overrides"].forEach(function(e) { | |
s.prototype[e] = function(t) { | |
return (t = t || {}).type || (t.type = "literal"), this.add(e, t) | |
} | |
}), s.prototype.use = function(e, t) { | |
t = t || {}; | |
var n = this.stores[e], | |
r = n && ! function(e) { | |
return Object.keys(t).every(function(n) { | |
return t[n] === e[n] | |
}) | |
}(n); | |
return n && !r || (r && this.remove(e), this.add(e, t)), this | |
}, s.prototype.add = function(e, t, r) { | |
var s = (t = t || {}).type || e; | |
if (!n("./common/nconf.js")[o.capitalize(s)]) throw new Error("Cannot add store with unknown type: " + s); | |
return this.stores[e] = this.create(s, t, r), this.stores[e].loadSync && this.stores[e].loadSync(), this | |
}, s.prototype.remove = function(e) { | |
return delete this.stores[e], this | |
}, s.prototype.create = function(e, t, r) { | |
return new(n("./common/nconf.js")[o.capitalize(e.toLowerCase())])(t, r) | |
}, s.prototype.init = function(e) { | |
var t = this; | |
e.type ? this.add(e.type, e) : e.store ? this.add(e.store.name || e.store.type, e.store) : e.stores && Object.keys(e.stores).forEach(function(n) { | |
var r = e.stores[n]; | |
t.add(r.name || n || r.type, r) | |
}), e.source ? this.sources.push(this.create(e.source.type || e.source.name, e.source)) : e.sources && Object.keys(e.sources).forEach(function(n) { | |
var r = e.sources[n]; | |
t.sources.push(t.create(r.type || r.name || n, r)) | |
}) | |
}, s.prototype.get = function(e, t) { | |
if ("function" == typeof e && (t = e, e = null), !t) return this._execute("get", 1, e, t); | |
var n, s = 0, | |
a = Object.keys(this.stores), | |
i = this, | |
u = []; | |
r.whilst(function() { | |
return void 0 === n && s < a.length | |
}, function(t) { | |
var r = i.stores[a[s]]; | |
if (s++, r.get.length >= 2) return r.get(e, function(e, r) { | |
if (e) return t(e); | |
(n = r) && "object" == typeof n && !Array.isArray(n) && (u.push(n), n = void 0), t() | |
}); | |
(n = r.get(e)) && "object" == typeof n && !Array.isArray(n) && (u.push(n), n = void 0), t() | |
}, function(e) { | |
return !e && u.length && (n = o.merge(u.reverse())), e ? t(e) : t(null, n) | |
}) | |
}, s.prototype.set = function(e, t, n) { | |
return this._execute("set", 2, e, t, n) | |
}, s.prototype.required = function(e) { | |
if (!Array.isArray(e)) throw new Error("Incorrect parameter, array expected"); | |
var t = []; | |
if (e.forEach(function(e) { | |
void 0 === this.get(e) && t.push(e) | |
}, this), t.length) throw new Error("Missing required keys: " + t.join(", ")); | |
return !0 | |
}, s.prototype.reset = function(e) { | |
return this._execute("reset", 0, e) | |
}, s.prototype.clear = function(e, t) { | |
return this._execute("clear", 1, e, t) | |
}, s.prototype.merge = function() { | |
function e(e, n) { | |
return t._execute("merge", 2, e, s[e], n) | |
} | |
var t = this, | |
n = Array.prototype.slice.call(arguments), | |
o = "function" == typeof n[n.length - 1] && n.pop(), | |
s = n.pop(), | |
a = n.pop(); | |
return a ? this._execute("merge", 2, a, s, o) : Array.isArray(s) || "object" != typeof s ? function(e, t) { | |
if (t) return t(e); | |
throw e | |
}(new Error("Cannot merge non-Object into top-level."), o) : r.forEach(Object.keys(s), e, o || function() {}) | |
}, s.prototype.load = function(e) { | |
function t() { | |
var e = Object.keys(u.stores); | |
return e.reverse(), e.map(function(e) { | |
return u.stores[e] | |
}) | |
} | |
function n(e) { | |
if (!e.loadSync) throw new Error("nconf store " + e.type + " has no loadSync() method"); | |
return e.loadSync() | |
} | |
function s(e, t) { | |
return e.load || e.loadSync ? e.loadSync ? t(null, e.loadSync()) : e.load(t) : t(new Error("nconf store " + e.type + " has no load() method")) | |
} | |
function a(e, t) { | |
if (!t) return o.merge(e.map(n)); | |
r.map(e, s, function(e, n) { | |
return e ? t(e) : t(null, o.merge(n)) | |
}) | |
} | |
function i(e) { | |
e && "object" == typeof e && u.use("sources", { | |
type: "literal", | |
store: e | |
}) | |
} | |
var u = this; | |
return u.sources.length ? function() { | |
var n = u.sources.splice(0); | |
if (n.reverse(), !e) return i(a(n)), a(t()); | |
a(n, function(n, r) { | |
return n ? e(n) : (i(r), a(t(), e)) | |
}) | |
}() : a(t(), e) | |
}, s.prototype.save = function(e, t) { | |
function n(e, t) { | |
var n = s.stores[t]; | |
if (n.saveSync) { | |
var r = n.saveSync(); | |
"object" == typeof r && null !== r && e.push(r) | |
} | |
return e | |
} | |
t || "function" != typeof e || (t = e, e = null); | |
var s = this, | |
a = Object.keys(this.stores); | |
if (!t) return o.merge(a.reduce(n, [])); | |
r.reduce(a, [], function(t, n, r) { | |
var o = s.stores[n]; | |
if (o.save) return o.save(e, function(e, n) { | |
if (e) return r(e); | |
"object" == typeof n && null !== n && t.push(n), r(null, t) | |
}); | |
o.saveSync && t.push(o.saveSync()), r(null, t) | |
}, function(e, n) { | |
return e ? t(e) : t(null, o.merge(n)) | |
}) | |
}, s.prototype._execute = function(e, t) { | |
function n(n, r) { | |
var o = c.stores[n]; | |
return u && o.readOnly ? r() : o[e].length > t ? o[e].apply(o, a.concat(r)) : r(null, o[e].apply(o, a)) | |
} | |
var s, a = Array.prototype.slice.call(arguments, 2), | |
i = "function" == typeof a[a.length - 1] && a.pop(), | |
u = -1 !== ["set", "clear", "merge", "reset"].indexOf(e), | |
c = this, | |
l = [], | |
d = Object.keys(this.stores); | |
return i ? r.forEach(d, n, function(e) { | |
return e ? i(e) : i() | |
}) : (d.forEach(function(t) { | |
if (void 0 === s) { | |
var n = c.stores[t]; | |
if (u && n.readOnly) return; | |
(s = n[e].apply(n, a)) && "get" === e && "object" == typeof s && !Array.isArray(s) && (l.push(s), s = void 0) | |
} | |
}), l.length && (s = o.merge(l.reverse())), s) | |
} | |
}, | |
"./common/nconf/stores recursive ^\\.\\/.*$": function(e, t, n) { | |
function r(e) { | |
return n(o(e)) | |
} | |
function o(e) { | |
var t = s[e]; | |
if (!(t + 1)) throw new Error("Cannot find module '" + e + "'."); | |
return t | |
} | |
var s = { | |
"./argv": "./common/nconf/stores/argv.js", | |
"./argv.js": "./common/nconf/stores/argv.js", | |
"./env": "./common/nconf/stores/env.js", | |
"./env.js": "./common/nconf/stores/env.js", | |
"./file": "./common/nconf/stores/file.js", | |
"./file.js": "./common/nconf/stores/file.js", | |
"./literal": "./common/nconf/stores/literal.js", | |
"./literal.js": "./common/nconf/stores/literal.js", | |
"./memory": "./common/nconf/stores/memory.js", | |
"./memory.js": "./common/nconf/stores/memory.js" | |
}; | |
r.keys = function() { | |
return Object.keys(s) | |
}, r.resolve = o, e.exports = r, r.id = "./common/nconf/stores recursive ^\\.\\/.*$" | |
}, | |
"./common/nconf/stores/argv.js": function(e, t, n) { | |
"use strict"; | |
var r = n(1), | |
o = n("./common/nconf/stores/memory.js").Memory, | |
s = t.Argv = function(e, t) { | |
o.call(this, e), this.type = "argv", this.readOnly = !0, this.options = e || !1, this.usage = t | |
}; | |
r.inherits(s, o), s.prototype.loadSync = function() { | |
return this.loadArgv(), this.store | |
}, s.prototype.loadArgv = function() { | |
var e, t, r = this; | |
if (e = "object" == typeof this.options ? n("./node_modules/yargs/index.js")(process.argv.slice(2)).options(this.options) : n("./node_modules/yargs/index.js")(process.argv.slice(2)), "string" == typeof this.usage && e.usage(this.usage), t = e.argv) return this.readOnly = !1, Object.keys(t).forEach(function(e) { | |
void 0 !== t[e] && r.set(e, t[e]) | |
}), this.showHelp = e.showHelp, this.help = e.help, this.readOnly = !0, this.store | |
} | |
}, | |
"./common/nconf/stores/env.js": function(e, t, n) { | |
"use strict"; | |
var r = n(1), | |
o = n("./common/nconf/common.js"), | |
s = n("./common/nconf/stores/memory.js").Memory, | |
a = t.Env = function(e) { | |
s.call(this, e), e = e || {}, this.type = "env", this.readOnly = !0, this.whitelist = e.whitelist || [], this.separator = e.separator || "", this.lowerCase = e.lowerCase || !1, "[object RegExp]" === {}.toString.call(e.match) && "string" != typeof e && (this.match = e.match), e instanceof Array && (this.whitelist = e), "string" == typeof e && (this.separator = e) | |
}; | |
r.inherits(a, s), a.prototype.loadSync = function() { | |
return this.loadEnv(), this.store | |
}, a.prototype.loadEnv = function() { | |
var e = this, | |
t = process.env; | |
return this.lowerCase && Object.keys(t).forEach(function(e) { | |
t[e.toLowerCase()] = t[e] | |
}), this.readOnly = !1, Object.keys(t).filter(function(t) { | |
return e.match && e.whitelist.length ? t.match(e.match) || -1 !== e.whitelist.indexOf(t) : e.match ? t.match(e.match) : !e.whitelist.length || -1 !== e.whitelist.indexOf(t) | |
}).forEach(function(n) { | |
e.separator ? e.set(o.key.apply(o, n.split(e.separator)), t[n]) : e.set(n, t[n]) | |
}), this.readOnly = !0, this.store | |
} | |
}, | |
"./common/nconf/stores/file.js": function(e, t, n) { | |
"use strict"; | |
n(2); | |
var r = n(3), | |
o = n(0), | |
s = n(1), | |
a = n("./node_modules/secure-keys/index.js"), | |
i = n("./common/nconf/formats.js"), | |
u = n("./common/nconf/stores/memory.js").Memory, | |
c = r.exists || o.exists, | |
l = r.existsSync || o.existsSync, | |
d = t.File = function(e) { | |
if (!e || !e.file) throw new Error("Missing required option `file`"); | |
if (u.call(this, e), this.type = "file", this.file = e.file, this.dir = e.dir || process.cwd(), this.format = e.format || i.json, this.secure = e.secure, this.spacing = e.json_spacing || e.spacing || 2, this.secure) { | |
if (this.secure = Buffer.isBuffer(this.secure) || "string" == typeof this.secure ? { | |
secret: this.secure.toString() | |
} : this.secure, this.secure.alg = this.secure.alg || "aes-256-ctr", this.secure.secretPath && (this.secure.secret = r.readFileSync(this.secure.secretPath, "utf8")), !this.secure.secret) throw new Error("secure.secret option is required"); | |
this.keys = new a({ | |
secret: this.secure.secret, | |
alg: this.secure.alg, | |
format: this.format | |
}) | |
} | |
e.search && this.search(this.dir) | |
}; | |
s.inherits(d, u), d.prototype.save = function(e, t) { | |
t || (t = e, e = null), r.writeFile(this.file, this.stringify(), t) | |
}, d.prototype.saveSync = function(e) { | |
return r.writeFileSync(this.file, this.stringify()), this.store | |
}, d.prototype.load = function(e) { | |
var t = this; | |
c(t.file, function(n) { | |
if (!n) return e(null, {}); | |
r.readFile(t.file, function(n, r) { | |
if (n) return e(n); | |
try { | |
var o = r.toString(); | |
"\ufeff" === o.charAt(0) && (o = o.substr(1)), t.store = t.parse(o) | |
} catch (n) { | |
return e(new Error("Error parsing your configuration file: [" + t.file + "]: " + n.message)) | |
} | |
e(null, t.store) | |
}) | |
}) | |
}, d.prototype.loadSync = function() { | |
if (!l(this.file)) return this.store = {}, this.store; | |
try { | |
var e = r.readFileSync(this.file, "utf8"); | |
"\ufeff" === e.charAt(0) && (e = e.substr(1)), this.store = this.parse(e) | |
} catch (e) { | |
throw new Error("Error parsing your configuration file: [" + this.file + "]: " + e.message) | |
} | |
return this.store | |
}, d.prototype.stringify = function() { | |
var e = this.store; | |
return this.secure && (e = this.keys.encrypt(e)), this.format.stringify(e, null, this.spacing) | |
}, d.prototype.parse = function(e) { | |
var t = this.format.parse(e); | |
return this.secure ? this.keys.decrypt(t) : t | |
}, d.prototype.search = function(e) { | |
var t, n, s = !0; | |
if (e = e || process.cwd(), "/" === this.file[0]) try { | |
r.statSync(r.realpathSync(this.file)).isFile() && (t = this.file, s = !1) | |
} catch (e) {} | |
if (s && e) try { | |
s = r.statSync(r.realpathSync(e)).isDirectory() | |
} catch (e) { | |
return !1 | |
} | |
for (; s;) try { | |
s = r.statSync(r.realpathSync(t = o.join(e, this.file))).isDirectory() | |
} catch (a) { | |
if (n = e, e = o.dirname(e), n === e) { | |
try { | |
r.statSync(r.realpathSync(t = o.join(this.dir, this.file))).isDirectory() && (t = void 0) | |
} catch (e) {} | |
s = !1 | |
} | |
} | |
return this.file = t || this.file, t | |
} | |
}, | |
"./common/nconf/stores/literal.js": function(e, t, n) { | |
"use strict"; | |
var r = n(1), | |
o = n("./common/nconf/stores/memory.js").Memory, | |
s = t.Literal = function(e) { | |
o.call(this, e), e = e || {}, this.type = "literal", this.readOnly = !0, this.store = e.store || e | |
}; | |
r.inherits(s, o), s.prototype.loadSync = function() { | |
return this.store | |
} | |
}, | |
"./common/nconf/stores/memory.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./common/nconf/common.js"), | |
o = t.Memory = function(e) { | |
e = e || {}, this.type = "memory", this.store = {}, this.mtimes = {}, this.readOnly = !1, this.loadFrom = e.loadFrom || null, this.logicalSeparator = e.logicalSeparator || ":", this.loadFrom && (this.store = r.loadFilesSync(this.loadFrom)) | |
}; | |
o.prototype.get = function(e) { | |
for (var t = this.store, n = r.path(e, this.logicalSeparator); n.length > 0;) { | |
e = n.shift(); | |
if (!t || !t.hasOwnProperty(e)) return; | |
t = t[e] | |
} | |
return t | |
}, o.prototype.set = function(e, t) { | |
if (this.readOnly) return !1; | |
var n = this.store, | |
o = r.path(e, this.logicalSeparator); | |
if (0 === o.length) return !(!t || "object" != typeof t) && (this.reset(), this.store = t, !0); | |
for (this.mtimes[e] = Date.now(); o.length > 1;) n[e = o.shift()] && "object" == typeof n[e] || (n[e] = {}), n = n[e]; | |
return e = o.shift(), n[e] = t, !0 | |
}, o.prototype.clear = function(e) { | |
if (this.readOnly) return !1; | |
var t = this.store, | |
n = t, | |
o = r.path(e, this.logicalSeparator); | |
delete this.mtimes[e]; | |
for (var s = 0; s < o.length - 1; s++) { | |
if (e = o[s], "function" != typeof(n = t[e]) && "object" != typeof n) return !1; | |
t = n | |
} | |
return e = o[s], delete t[e], !0 | |
}, o.prototype.merge = function(e, t) { | |
if (this.readOnly) return !1; | |
if ("object" != typeof t || Array.isArray(t) || null === t) return this.set(e, t); | |
var n = this, | |
o = this.store, | |
s = r.path(e, this.logicalSeparator), | |
a = e; | |
for (this.mtimes[e] = Date.now(); s.length > 1;) o[e = s.shift()] || (o[e] = {}), o = o[e]; | |
return e = s.shift(), "object" != typeof o[e] || Array.isArray(o[e]) ? (o[e] = t, !0) : Object.keys(t).every(function(e) { | |
return n.merge(r.keyed(n.logicalSeparator, a, e), t[e]) | |
}) | |
}, o.prototype.reset = function() { | |
return !this.readOnly && (this.mtimes = {}, this.store = {}, !0) | |
}, o.prototype.loadSync = function() { | |
return this.store || {} | |
} | |
}, | |
"./common/parseXml.js": function(e, t, n) { | |
"use strict"; | |
const r = new(0, n("./node_modules/xml2js/lib/xml2js.js").Parser)({ | |
mergeAttrs: !1, | |
explicitArray: !0 | |
}); | |
e.exports = (e => new Promise((t, n) => r.parseString(e, (e, r) => e ? n(e) : t(r)))) | |
}, | |
"./common/respawn.js": function(e, t, n) { | |
"use strict"; | |
var r = n(7), | |
o = n(16).spawn, | |
s = n(16).fork, | |
a = n(16).exec, | |
i = n("./node_modules/ps-tree/index.js"), | |
u = n(1), | |
c = n("./node_modules/xtend/immutable.js"), | |
l = n(11), | |
d = function(e, t) { | |
"win32" !== l.platform() ? i(e, function(n, r) { | |
(r = (r || []).map(function(e) { | |
return parseInt(e.PID, 10) | |
})).push(e), r.forEach(function(e) { | |
try { | |
process.kill(e, t) | |
} catch (e) {} | |
}) | |
}) : a("taskkill /pid " + e + " /T /F") | |
}, | |
m = function(e, t) { | |
r.EventEmitter.call(this), this.id = null, this.status = "stopped", this.command = e, this.name = t.name, this.cwd = t.cwd || ".", this.env = t.env || {}, this.data = t.data || {}, this.uid = t.uid, this.gid = t.gid, this.pid = 0, this.crashes = 0, this.stdio = t.stdio, this.stdout = t.stdout, this.stderr = t.stderr, this.silent = t.silent, this.windowsVerbatimArguments = t.windowsVerbatimArguments, this.spawnFn = t.fork ? s : o, this.crashed = !1, this.sleep = "function" == typeof t.sleep ? t.sleep : function(e) { | |
return e = Array.isArray(e) ? e : [e || 1e3], | |
function(t) { | |
return e[t - 1] || e[e.length - 1] | |
} | |
}(t.sleep), this.maxRestarts = 0 === t.maxRestarts ? 0 : t.maxRestarts || -1, this.kill = !1 !== t.kill && (t.kill || 3e4), this.child = null, this.started = null, this.timeout = null | |
}; | |
u.inherits(m, r.EventEmitter), m.prototype.stop = function(e) { | |
if ("stopped" === this.status || "stopping" === this.status) return e && e(); | |
if (this.status = "stopping", clearTimeout(this.timeout), e && (this.child ? this.child.on("exit", e) : process.nextTick(e)), !this.child) return this._stopped(); | |
var t = this, | |
n = t.child, | |
r = function() { | |
d(n.pid, "SIGKILL"), t.emit("force-kill") | |
}, | |
o = function() { | |
clearTimeout(s) | |
}; | |
if (!1 !== this.kill) { | |
var s = setTimeout(r, this.kill); | |
this.child.on("exit", o) | |
} | |
d(this.child.pid) | |
}, m.prototype.start = function() { | |
if ("running" !== this.status) { | |
var e = this, | |
t = 0, | |
n = 6e4, | |
r = function() { | |
var o = "function" == typeof e.command ? e.command() : e.command, | |
s = e.spawnFn(o[0], o.slice(1), { | |
cwd: e.cwd, | |
env: c(process.env, e.env), | |
uid: e.uid, | |
gid: e.gid, | |
stdio: e.stdio, | |
silent: e.silent, | |
windowsVerbatimArguments: e.windowsVerbatimArguments | |
}); | |
e.started = new Date, e.status = "running", e.child = s, e.pid = s.pid, e.emit("spawn", s), s.setMaxListeners(0), s.stdout && (s.stdout.on("data", function(t) { | |
e.emit("stdout", t) | |
}), e.stdout && s.stdout.pipe(e.stdout)), s.stderr && (s.stderr.on("data", function(t) { | |
e.emit("stderr", t) | |
}), e.stderr && s.stderr.pipe(e.stderr)), s.on("message", function(t) { | |
e.emit("message", t) | |
}); | |
var a = function() { | |
return e.child === s && (e.child = null, e.pid = 0, !0) | |
}; | |
s.on("error", function(t) { | |
if (e.emit("warn", t), a()) return "stopping" === e.status ? e._stopped() : void e._crash() | |
}), s.on("exit", function(o, s) { | |
if (e.emit("exit", o, s), a()) { | |
if ("stopping" === e.status) return e._stopped(); | |
if ((n -= Date.now() - (e.started ? e.started.getTime() : 0)) <= 0 && (n = 6e4, t = 0), ++t > e.maxRestarts && -1 !== e.maxRestarts) return e._crash(); | |
e.status = "sleeping", e.emit("sleep"); | |
var i = e.sleep(t); | |
e.timeout = setTimeout(r, i) | |
} | |
}) | |
}; | |
clearTimeout(this.timeout), r(), "running" === this.status && this.emit("start") | |
} | |
}, m.prototype.toJSON = function() { | |
var e = { | |
id: this.id, | |
name: this.name, | |
status: this.status, | |
started: this.started, | |
pid: this.pid, | |
crashes: this.crashes, | |
command: this.command, | |
cwd: this.cwd, | |
env: this.env, | |
data: this.data | |
}; | |
return e.id || delete e.id, e.pid || delete e.pid, e.name || delete e.name, e.data || delete e.data, e.started || delete e.started, e | |
}, m.prototype._crash = function() { | |
"running" === this.status && (this.status = "crashed", this.crashes++, this.emit("crash"), "crashed" === this.status && this._stopped()) | |
}, m.prototype._stopped = function() { | |
"stopped" !== this.status && ("crashed" !== this.status && (this.status = "stopped"), this.started = null, this.emit("stop")) | |
}; | |
var p = function(e, t) { | |
return "function" == typeof e || Array.isArray(e) ? new m(e, t || {}) : p(e.command, e) | |
}; | |
e.exports = p | |
}, | |
"./node_modules/ansi-regex/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function() { | |
return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g | |
} | |
}, | |
"./node_modules/appdirectory/lib/appdirectory.js": function(e, t, n) { | |
function r(e) { | |
s.instanceOf(e, String) && (e = { | |
appName: e | |
}), this.appName = e.appName, this.appAuthor = e.appAuthor || e.appName, this.appVersion = e.appVersion || null, this._useRoaming = e.useRoaming || !1, this._platform = e.platform || null, this._setTemplates() | |
} | |
var o = n(0), | |
s = n("./node_modules/appdirectory/lib/helpers.js"), | |
a = function(e, t) { | |
var n; | |
if ("darwin" === (t = t || process.platform)) n = o.join(process.env.HOME, "Library", "Application Support", "{0}"); | |
else if ("win32" === t) { | |
var r; | |
r = e ? "APPDATA" : "LOCALAPPDATA", n = o.join(process.env[r] || process.env.APPDATA, "{1}", "{0}") | |
} else n = process.env.XDG_DATA_HOME ? o.join(process.env.XDG_DATA_HOME, "{0}") : o.join(process.env.HOME, ".local", "share", "{0}"); | |
return n | |
}, | |
i = function(e) { | |
return "win32" === (e = e || process.platform) ? o.join(process.env.LOCALAPPDATA || process.env.APPDATA, "{1}", "{0}", "Cache") : "darwin" === e ? o.join(process.env.HOME, "Library", "Caches", "{0}") : process.env.XDG_CACHE_HOME ? o.join(process.env.XDG_CACHE_HOME, "{0}") : o.join(process.env.HOME, ".cache", "{0}") | |
}; | |
r.prototype = { | |
_setTemplates: function() { | |
this._userDataTemplate = a(this._useRoaming, this._platform), this._userConfigTemplate = function(e, t) { | |
return "darwin" === (t = t || process.platform) || "win32" === t ? a(e, t) : process.env.XDG_CONFIG_HOME ? o.join(process.env.XDG_CONFIG_HOME, "{0}") : o.join(process.env.HOME, ".config", "{0}") | |
}(this._useRoaming, this._platform), this._userCacheTemplate = i(this._platform), this._userLogsTemplate = function(e) { | |
return "win32" === (e = e || process.platform) ? o.join(a(!1, e), "Logs") : "darwin" === e ? o.join(process.env.HOME, "Library", "Logs", "{0}") : o.join(i(e), "log") | |
}(this._platform) | |
}, | |
get useRoaming() { | |
return this._useRoaming | |
}, | |
set useRoaming(e) { | |
this._useRoaming = e, this._setTemplates() | |
}, | |
get platform() { | |
return this._platform | |
}, | |
set platform(e) { | |
this._platform = e, this._setTemplates() | |
}, | |
userData: function() { | |
var e = this._userDataTemplate; | |
if (null !== this.appVersion) e = o.join(e, this.appVersion); | |
return s.formatStr(e, this.appName, this.appAuthor) | |
}, | |
siteData: function() { | |
var e = this._siteDataTemplate; | |
if (null !== this.appVersion) e = o.join(e, this.appVersion); | |
return s.formatStr(e, this.appName, this.appAuthor) | |
}, | |
userConfig: function() { | |
var e = this._userConfigTemplate; | |
if (null !== this.appVersion) e = o.join(e, this.appVersion); | |
return s.formatStr(e, this.appName, this.appAuthor) | |
}, | |
siteConfig: function() { | |
var e = this._siteConfigTemplate; | |
if (null !== this.appVersion) e = o.join(e, this.appVersion); | |
return s.formatStr(e, this.appName, this.appAuthor) | |
}, | |
userCache: function() { | |
var e = this._userCacheTemplate; | |
if (null !== this.appVersion) e = o.join(e, this.appVersion); | |
return s.formatStr(e, this.appName, this.appAuthor) | |
}, | |
userLogs: function() { | |
var e = this._userLogsTemplate; | |
if (null !== this.appVersion) e = o.join(e, this.appVersion); | |
return s.formatStr(e, this.appName, this.appAuthor) | |
} | |
}, e.exports = r | |
}, | |
"./node_modules/appdirectory/lib/helpers.js": function(e, t) { | |
e.exports.instanceOf = function(e, t) { | |
for ("object" != typeof e && (e = new e.constructor(e)); null != e;) { | |
if (e == t.prototype) return !0; | |
e = Object.getPrototypeOf(e) | |
} | |
return !1 | |
}, e.exports.formatStr = function(e) { | |
var t = Array.prototype.slice.call(arguments, 1); | |
return e.replace(/{(\d+)}/g, function(e, n) { | |
return void 0 !== t[n] ? t[n] : e | |
}) | |
} | |
}, | |
"./node_modules/async/asyncify.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
function o(e, t, n) { | |
try { | |
e(t, n) | |
} catch (e) { | |
(0, u.default)(s, e) | |
} | |
} | |
function s(e) { | |
throw e | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e) { | |
return (0, i.default)(function(t, n) { | |
var r; | |
try { | |
r = e.apply(this, t) | |
} catch (e) { | |
return n(e) | |
}(0, a.default)(r) && "function" == typeof r.then ? r.then(function(e) { | |
o(n, null, e) | |
}, function(e) { | |
o(n, e.message ? e : new Error(e)) | |
}) : n(null, r) | |
}) | |
}; | |
var a = r(n("./node_modules/lodash/isObject.js")), | |
i = r(n("./node_modules/async/internal/initialParams.js")), | |
u = r(n("./node_modules/async/internal/setImmediate.js")); | |
e.exports = t.default | |
}, | |
"./node_modules/async/dist/async.js": function(e, t, n) { | |
(function(e) { | |
! function(e, n) { | |
n(t) | |
}(0, function(t) { | |
"use strict"; | |
function n(e, t) { | |
t |= 0; | |
for (var n = Math.max(e.length - t, 0), r = Array(n), o = 0; o < n; o++) r[o] = e[t + o]; | |
return r | |
} | |
function r(e) { | |
var t = typeof e; | |
return null != e && ("object" == t || "function" == t) | |
} | |
function o(e) { | |
setTimeout(e, 0) | |
} | |
function s(e) { | |
return function(t) { | |
var r = n(arguments, 1); | |
e(function() { | |
t.apply(null, r) | |
}) | |
} | |
} | |
function a(e) { | |
return Oe(function(t, n) { | |
var o; | |
try { | |
o = e.apply(this, t) | |
} catch (e) { | |
return n(e) | |
} | |
r(o) && "function" == typeof o.then ? o.then(function(e) { | |
i(n, null, e) | |
}, function(e) { | |
i(n, e.message ? e : new Error(e)) | |
}) : n(null, o) | |
}) | |
} | |
function i(e, t, n) { | |
try { | |
e(t, n) | |
} catch (e) { | |
Ie(u, e) | |
} | |
} | |
function u(e) { | |
throw e | |
} | |
function c(e) { | |
return Be && "AsyncFunction" === e[Symbol.toStringTag] | |
} | |
function l(e) { | |
return c(e) ? a(e) : e | |
} | |
function d(e) { | |
return function(t) { | |
var r = n(arguments, 1), | |
o = Oe(function(n, r) { | |
var o = this; | |
return e(t, function(e, t) { | |
l(e).apply(o, n.concat(t)) | |
}, r) | |
}); | |
return r.length ? o.apply(this, r) : o | |
} | |
} | |
function m(e) { | |
return null == e ? void 0 === e ? Qe : Xe : Ke && Ke in Object(e) ? function(e) { | |
var t = $e.call(e, Ve), | |
n = e[Ve]; | |
try { | |
e[Ve] = void 0; | |
var r = !0 | |
} catch (e) {} | |
var o = We.call(e); | |
return r && (t ? e[Ve] = n : delete e[Ve]), o | |
}(e) : function(e) { | |
return Ge.call(e) | |
}(e) | |
} | |
function p(e) { | |
return "number" == typeof e && e > -1 && e % 1 == 0 && e <= nt | |
} | |
function f(e) { | |
return null != e && p(e.length) && ! function(e) { | |
if (!r(e)) return !1; | |
var t = m(e); | |
return t == Ze || t == et || t == Je || t == tt | |
}(e) | |
} | |
function h() {} | |
function v(e) { | |
return function() { | |
if (null !== e) { | |
var t = e; | |
e = null, t.apply(this, arguments) | |
} | |
} | |
} | |
function _(e) { | |
return null != e && "object" == typeof e | |
} | |
function g(e) { | |
return _(e) && m(e) == at | |
} | |
function y(e, t) { | |
return !!(t = null == t ? vt : t) && ("number" == typeof e || _t.test(e)) && e > -1 && e % 1 == 0 && e < t | |
} | |
function b(e, t) { | |
var n = dt(e), | |
r = !n && lt(e), | |
o = !n && !r && ht(e), | |
s = !n && !r && !o && kt(e), | |
a = n || r || o || s, | |
i = a ? function(e, t) { | |
for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n); | |
return r | |
}(e.length, String) : [], | |
u = i.length; | |
for (var c in e) !t && !Et.call(e, c) || a && ("length" == c || o && ("offset" == c || "parent" == c) || s && ("buffer" == c || "byteLength" == c || "byteOffset" == c) || y(c, u)) || i.push(c); | |
return i | |
} | |
function j(e) { | |
if (! function(e) { | |
var t = e && e.constructor; | |
return e === ("function" == typeof t && t.prototype || St) | |
}(e)) return Lt(e); | |
var t = []; | |
for (var n in Object(e)) Mt.call(e, n) && "constructor" != n && t.push(n); | |
return t | |
} | |
function x(e) { | |
return f(e) ? b(e) : j(e) | |
} | |
function w(e) { | |
if (f(e)) return function(e) { | |
var t = -1, | |
n = e.length; | |
return function() { | |
return ++t < n ? { | |
value: e[t], | |
key: t | |
} : null | |
} | |
}(e); | |
var t = st(e); | |
return t ? function(e) { | |
var t = -1; | |
return function() { | |
var n = e.next(); | |
return n.done ? null : (t++, { | |
value: n.value, | |
key: t | |
}) | |
} | |
}(t) : function(e) { | |
var t = x(e), | |
n = -1, | |
r = t.length; | |
return function() { | |
var o = t[++n]; | |
return n < r ? { | |
value: e[o], | |
key: o | |
} : null | |
} | |
}(e) | |
} | |
function k(e) { | |
return function() { | |
if (null === e) throw new Error("Callback was already called."); | |
var t = e; | |
e = null, t.apply(this, arguments) | |
} | |
} | |
function E(e) { | |
return function(t, n, r) { | |
function o(e, t) { | |
if (u -= 1, e) i = !0, r(e); | |
else { | |
if (t === rt || i && u <= 0) return i = !0, r(null); | |
s() | |
} | |
} | |
function s() { | |
for (; u < e && !i;) { | |
var t = a(); | |
if (null === t) return i = !0, void(u <= 0 && r(null)); | |
u += 1, n(t.value, t.key, k(o)) | |
} | |
} | |
if (r = v(r || h), e <= 0 || !t) return r(null); | |
var a = w(t), | |
i = !1, | |
u = 0; | |
s() | |
} | |
} | |
function S(e, t, n, r) { | |
E(t)(e, l(n), r) | |
} | |
function L(e, t) { | |
return function(n, r, o) { | |
return e(n, t, r, o) | |
} | |
} | |
function M(e, t, n) { | |
function r(e, t) { | |
e ? n(e) : ++s !== a && t !== rt || n(null) | |
} | |
n = v(n || h); | |
var o = 0, | |
s = 0, | |
a = e.length; | |
for (0 === a && n(null); o < a; o++) t(e[o], o, k(r)) | |
} | |
function D(e) { | |
return function(t, n, r) { | |
return e(Tt, t, l(n), r) | |
} | |
} | |
function T(e, t, n, r) { | |
r = r || h, t = t || []; | |
var o = [], | |
s = 0, | |
a = l(n); | |
e(t, function(e, t, n) { | |
var r = s++; | |
a(e, function(e, t) { | |
o[r] = t, n(e) | |
}) | |
}, function(e) { | |
r(e, o) | |
}) | |
} | |
function C(e) { | |
return function(t, n, r, o) { | |
return e(E(n), t, l(r), o) | |
} | |
} | |
function A(e, t) { | |
for (var n = -1, r = null == e ? 0 : e.length; ++n < r && !1 !== t(e[n], n, e);); | |
return e | |
} | |
function N(e, t) { | |
return e && Ft(e, t, x) | |
} | |
function P(e) { | |
return e != e | |
} | |
function O(e, t, n) { | |
return t == t ? function(e, t, n) { | |
for (var r = n - 1, o = e.length; ++r < o;) | |
if (e[r] === t) return r; | |
return -1 | |
}(e, t, n) : function(e, t, n, r) { | |
for (var o = e.length, s = n + (r ? 1 : -1); r ? s-- : ++s < o;) | |
if (t(e[s], s, e)) return s; | |
return -1 | |
}(e, P, n) | |
} | |
function F(e, t) { | |
for (var n = -1, r = null == e ? 0 : e.length, o = Array(r); ++n < r;) o[n] = t(e[n], n, e); | |
return o | |
} | |
function Y(e) { | |
if ("string" == typeof e) return e; | |
if (dt(e)) return F(e, Y) + ""; | |
if (function(e) { | |
return "symbol" == typeof e || _(e) && m(e) == It | |
}(e)) return qt ? qt.call(e) : ""; | |
var t = e + ""; | |
return "0" == t && 1 / e == -Bt ? "-0" : t | |
} | |
function I(e, t, n) { | |
var r = e.length; | |
return n = void 0 === n ? r : n, !t && n >= r ? e : function(e, t, n) { | |
var r = -1, | |
o = e.length; | |
t < 0 && (t = -t > o ? 0 : o + t), (n = n > o ? o : n) < 0 && (n += o), o = t > n ? 0 : n - t >>> 0, t >>>= 0; | |
for (var s = Array(o); ++r < o;) s[r] = e[r + t]; | |
return s | |
}(e, t, n) | |
} | |
function B(e) { | |
return function(e) { | |
return Rt.test(e) | |
}(e) ? function(e) { | |
return e.match(Zt) || [] | |
}(e) : function(e) { | |
return e.split("") | |
}(e) | |
} | |
function z(e, t, n) { | |
if ((e = function(e) { | |
return null == e ? "" : Y(e) | |
}(e)) && (n || void 0 === t)) return e.replace(en, ""); | |
if (!e || !(t = Y(t))) return e; | |
var r = B(e), | |
o = B(t); | |
return I(r, function(e, t) { | |
for (var n = -1, r = e.length; ++n < r && O(t, e[n], 0) > -1;); | |
return n | |
}(r, o), function(e, t) { | |
for (var n = e.length; n-- && O(t, e[n], 0) > -1;); | |
return n | |
}(r, o) + 1).join("") | |
} | |
function q(e, t) { | |
var n = {}; | |
N(e, function(e, t) { | |
function r(t, n) { | |
var r = F(o, function(e) { | |
return t[e] | |
}); | |
r.push(n), l(e).apply(null, r) | |
} | |
var o, s = c(e), | |
a = !s && 1 === e.length || s && 0 === e.length; | |
if (dt(e)) o = e.slice(0, -1), e = e[e.length - 1], n[t] = o.concat(o.length > 0 ? r : e); | |
else if (a) n[t] = e; | |
else { | |
if (o = function(e) { | |
return e = e.toString().replace(on, ""), e = e.match(tn)[2].replace(" ", ""), e = e ? e.split(nn) : [], e = e.map(function(e) { | |
return z(e.replace(rn, "")) | |
}) | |
}(e), 0 === e.length && !s && 0 === o.length) throw new Error("autoInject task functions require explicit parameters."); | |
s || o.pop(), n[t] = o.concat(r) | |
} | |
}), Yt(n, t) | |
} | |
function R() { | |
this.head = this.tail = null, this.length = 0 | |
} | |
function H(e, t) { | |
e.length = 1, e.head = e.tail = t | |
} | |
function U(e, t, n) { | |
function r(e, t, n) { | |
if (null != n && "function" != typeof n) throw new Error("task callback must be a function"); | |
if (d.started = !0, dt(e) || (e = [e]), 0 === e.length && d.idle()) return Ie(function() { | |
d.drain() | |
}); | |
for (var r = 0, o = e.length; r < o; r++) { | |
var s = { | |
data: e[r], | |
callback: n || h | |
}; | |
t ? d._tasks.unshift(s) : d._tasks.push(s) | |
} | |
u || (u = !0, Ie(function() { | |
u = !1, d.process() | |
})) | |
} | |
function o(e) { | |
return function(t) { | |
a -= 1; | |
for (var n = 0, r = e.length; n < r; n++) { | |
var o = e[n], | |
s = O(i, o, 0); | |
0 === s ? i.shift() : s > 0 && i.splice(s, 1), o.callback.apply(o, arguments), null != t && d.error(t, o.data) | |
} | |
a <= d.concurrency - d.buffer && d.unsaturated(), d.idle() && d.drain(), d.process() | |
} | |
} | |
if (null == t) t = 1; | |
else if (0 === t) throw new Error("Concurrency must not be zero"); | |
var s = l(e), | |
a = 0, | |
i = [], | |
u = !1, | |
c = !1, | |
d = { | |
_tasks: new R, | |
concurrency: t, | |
payload: n, | |
saturated: h, | |
unsaturated: h, | |
buffer: t / 4, | |
empty: h, | |
drain: h, | |
error: h, | |
started: !1, | |
paused: !1, | |
push: function(e, t) { | |
r(e, !1, t) | |
}, | |
kill: function() { | |
d.drain = h, d._tasks.empty() | |
}, | |
unshift: function(e, t) { | |
r(e, !0, t) | |
}, | |
remove: function(e) { | |
d._tasks.remove(e) | |
}, | |
process: function() { | |
if (!c) { | |
for (c = !0; !d.paused && a < d.concurrency && d._tasks.length;) { | |
var e = [], | |
t = [], | |
n = d._tasks.length; | |
d.payload && (n = Math.min(n, d.payload)); | |
for (var r = 0; r < n; r++) { | |
var u = d._tasks.shift(); | |
e.push(u), i.push(u), t.push(u.data) | |
} | |
a += 1, 0 === d._tasks.length && d.empty(), a === d.concurrency && d.saturated(); | |
var l = k(o(e)); | |
s(t, l) | |
} | |
c = !1 | |
} | |
}, | |
length: function() { | |
return d._tasks.length | |
}, | |
running: function() { | |
return a | |
}, | |
workersList: function() { | |
return i | |
}, | |
idle: function() { | |
return d._tasks.length + a === 0 | |
}, | |
pause: function() { | |
d.paused = !0 | |
}, | |
resume: function() { | |
!1 !== d.paused && (d.paused = !1, Ie(d.process)) | |
} | |
}; | |
return d | |
} | |
function $(e, t) { | |
return U(e, 1, t) | |
} | |
function W(e, t, n, r) { | |
r = v(r || h); | |
var o = l(n); | |
sn(e, function(e, n, r) { | |
o(t, e, function(e, n) { | |
t = n, r(e) | |
}) | |
}, function(e) { | |
r(e, t) | |
}) | |
} | |
function V() { | |
var e = F(arguments, l); | |
return function() { | |
var t = n(arguments), | |
r = this, | |
o = t[t.length - 1]; | |
"function" == typeof o ? t.pop() : o = h, W(e, t, function(e, t, o) { | |
t.apply(r, e.concat(function(e) { | |
var t = n(arguments, 1); | |
o(e, t) | |
})) | |
}, function(e, t) { | |
o.apply(r, [e].concat(t)) | |
}) | |
} | |
} | |
function G(e) { | |
return e | |
} | |
function X(e, t) { | |
return function(n, r, o, s) { | |
s = s || h; | |
var a, i = !1; | |
n(r, function(n, r, s) { | |
o(n, function(r, o) { | |
r ? s(r) : e(o) && !a ? (i = !0, a = t(!0, n), s(null, rt)) : s() | |
}) | |
}, function(e) { | |
e ? s(e) : s(null, i ? a : t(!1)) | |
}) | |
} | |
} | |
function Q(e, t) { | |
return t | |
} | |
function K(e) { | |
return function(t) { | |
var r = n(arguments, 1); | |
r.push(function(t) { | |
var r = n(arguments, 1); | |
"object" == typeof console && (t ? console.error && console.error(t) : console[e] && A(r, function(t) { | |
console[e](t) | |
})) | |
}), l(t).apply(null, r) | |
} | |
} | |
function J(e, t, r) { | |
function o(e) { | |
if (e) return r(e); | |
var t = n(arguments, 1); | |
t.push(s), i.apply(this, t) | |
} | |
function s(e, t) { | |
return e ? r(e) : t ? void a(o) : r(null) | |
} | |
r = k(r || h); | |
var a = l(e), | |
i = l(t); | |
s(null, !0) | |
} | |
function Z(e, t, r) { | |
r = k(r || h); | |
var o = l(e), | |
s = function(e) { | |
if (e) return r(e); | |
var a = n(arguments, 1); | |
if (t.apply(this, a)) return o(s); | |
r.apply(null, [null].concat(a)) | |
}; | |
o(s) | |
} | |
function ee(e, t, n) { | |
Z(e, function() { | |
return !t.apply(this, arguments) | |
}, n) | |
} | |
function te(e, t, n) { | |
function r(e) { | |
if (e) return n(e); | |
a(o) | |
} | |
function o(e, t) { | |
return e ? n(e) : t ? void s(r) : n(null) | |
} | |
n = k(n || h); | |
var s = l(t), | |
a = l(e); | |
a(o) | |
} | |
function ne(e) { | |
return function(t, n, r) { | |
return e(t, r) | |
} | |
} | |
function re(e, t, n) { | |
Tt(e, ne(l(t)), n) | |
} | |
function oe(e, t, n, r) { | |
E(t)(e, ne(l(n)), r) | |
} | |
function se(e) { | |
return c(e) ? e : Oe(function(t, n) { | |
var r = !0; | |
t.push(function() { | |
var e = arguments; | |
r ? Ie(function() { | |
n.apply(null, e) | |
}) : n.apply(null, e) | |
}), e.apply(this, t), r = !1 | |
}) | |
} | |
function ae(e) { | |
return !e | |
} | |
function ie(e) { | |
return function(t) { | |
return null == t ? void 0 : t[e] | |
} | |
} | |
function ue(e, t, n, r) { | |
var o = new Array(t.length); | |
e(t, function(e, t, r) { | |
n(e, function(e, n) { | |
o[t] = !!n, r(e) | |
}) | |
}, function(e) { | |
if (e) return r(e); | |
for (var n = [], s = 0; s < t.length; s++) o[s] && n.push(t[s]); | |
r(null, n) | |
}) | |
} | |
function ce(e, t, n, r) { | |
var o = []; | |
e(t, function(e, t, r) { | |
n(e, function(n, s) { | |
n ? r(n) : (s && o.push({ | |
index: t, | |
value: e | |
}), r()) | |
}) | |
}, function(e) { | |
e ? r(e) : r(null, F(o.sort(function(e, t) { | |
return e.index - t.index | |
}), ie("value"))) | |
}) | |
} | |
function le(e, t, n, r) { | |
(f(t) ? ue : ce)(e, t, l(n), r || h) | |
} | |
function de(e, t) { | |
function n(e) { | |
if (e) return r(e); | |
o(n) | |
} | |
var r = k(t || h), | |
o = l(se(e)); | |
n() | |
} | |
function me(e, t, n, r) { | |
r = v(r || h); | |
var o = {}, | |
s = l(n); | |
S(e, t, function(e, t, n) { | |
s(e, t, function(e, r) { | |
if (e) return n(e); | |
o[t] = r, n() | |
}) | |
}, function(e) { | |
r(e, o) | |
}) | |
} | |
function pe(e, t) { | |
return t in e | |
} | |
function fe(e, t) { | |
var r = Object.create(null), | |
o = Object.create(null); | |
t = t || G; | |
var s = l(e), | |
a = Oe(function(e, a) { | |
var i = t.apply(null, e); | |
pe(r, i) ? Ie(function() { | |
a.apply(null, r[i]) | |
}) : pe(o, i) ? o[i].push(a) : (o[i] = [a], s.apply(null, e.concat(function() { | |
var e = n(arguments); | |
r[i] = e; | |
var t = o[i]; | |
delete o[i]; | |
for (var s = 0, a = t.length; s < a; s++) t[s].apply(null, e) | |
}))) | |
}); | |
return a.memo = r, a.unmemoized = e, a | |
} | |
function he(e, t, r) { | |
r = r || h; | |
var o = f(t) ? [] : {}; | |
e(t, function(e, t, r) { | |
l(e)(function(e, s) { | |
arguments.length > 2 && (s = n(arguments, 1)), o[t] = s, r(e) | |
}) | |
}, function(e) { | |
r(e, o) | |
}) | |
} | |
function ve(e, t) { | |
he(Tt, e, t) | |
} | |
function _e(e, t, n) { | |
he(E(t), e, n) | |
} | |
function ge(e, t) { | |
if (t = v(t || h), !dt(e)) return t(new TypeError("First argument to race must be an array of functions")); | |
if (!e.length) return t(); | |
for (var n = 0, r = e.length; n < r; n++) l(e[n])(t) | |
} | |
function ye(e, t, r, o) { | |
W(n(e).reverse(), t, r, o) | |
} | |
function be(e) { | |
var t = l(e); | |
return Oe(function(e, r) { | |
return e.push(function(e, t) { | |
if (e) r(null, { | |
error: e | |
}); | |
else { | |
var o; | |
o = arguments.length <= 2 ? t : n(arguments, 1), r(null, { | |
value: o | |
}) | |
} | |
}), t.apply(this, e) | |
}) | |
} | |
function je(e) { | |
var t; | |
return dt(e) ? t = F(e, be) : (t = {}, N(e, function(e, n) { | |
t[n] = be.call(this, e) | |
})), t | |
} | |
function xe(e, t, n, r) { | |
le(e, t, function(e, t) { | |
n(e, function(e, n) { | |
t(e, !n) | |
}) | |
}, r) | |
} | |
function we(e) { | |
return function() { | |
return e | |
} | |
} | |
function ke(e, t, n) { | |
function r() { | |
i(function(e) { | |
e && u++ < a.times && ("function" != typeof a.errorFilter || a.errorFilter(e)) ? setTimeout(r, a.intervalFunc(u)) : n.apply(null, arguments) | |
}) | |
} | |
var o = 5, | |
s = 0, | |
a = { | |
times: o, | |
intervalFunc: we(s) | |
}; | |
if (arguments.length < 3 && "function" == typeof e ? (n = t || h, t = e) : (! function(e, t) { | |
if ("object" == typeof t) e.times = +t.times || o, e.intervalFunc = "function" == typeof t.interval ? t.interval : we(+t.interval || s), e.errorFilter = t.errorFilter; | |
else { | |
if ("number" != typeof t && "string" != typeof t) throw new Error("Invalid arguments for async.retry"); | |
e.times = +t || o | |
} | |
}(a, e), n = n || h), "function" != typeof t) throw new Error("Invalid arguments for async.retry"); | |
var i = l(t), | |
u = 1; | |
r() | |
} | |
function Ee(e, t) { | |
he(sn, e, t) | |
} | |
function Se(e, t, n) { | |
function r(e, t) { | |
var n = e.criteria, | |
r = t.criteria; | |
return n < r ? -1 : n > r ? 1 : 0 | |
} | |
var o = l(t); | |
Ct(e, function(e, t) { | |
o(e, function(n, r) { | |
if (n) return t(n); | |
t(null, { | |
value: e, | |
criteria: r | |
}) | |
}) | |
}, function(e, t) { | |
if (e) return n(e); | |
n(null, F(t.sort(r), ie("value"))) | |
}) | |
} | |
function Le(e, t, n) { | |
var r = l(e); | |
return Oe(function(o, s) { | |
var a, i = !1; | |
o.push(function() { | |
i || (s.apply(null, arguments), clearTimeout(a)) | |
}), a = setTimeout(function() { | |
var t = e.name || "anonymous", | |
r = new Error('Callback function "' + t + '" timed out.'); | |
r.code = "ETIMEDOUT", n && (r.info = n), i = !0, s(r) | |
}, t), r.apply(null, o) | |
}) | |
} | |
function Me(e, t, n, r) { | |
var o = l(n); | |
Nt(function(e, t, n, r) { | |
for (var o = -1, s = qn(zn((t - e) / (n || 1)), 0), a = Array(s); s--;) a[r ? s : ++o] = e, e += n; | |
return a | |
}(0, e, 1), t, o, r) | |
} | |
function De(e, t, n, r) { | |
arguments.length <= 3 && (r = n, n = t, t = dt(e) ? [] : {}), r = v(r || h); | |
var o = l(n); | |
Tt(e, function(e, n, r) { | |
o(t, e, n, r) | |
}, function(e) { | |
r(e, t) | |
}) | |
} | |
function Te(e, t) { | |
var r, o = null; | |
t = t || h, _n(e, function(e, t) { | |
l(e)(function(e, s) { | |
r = arguments.length > 2 ? n(arguments, 1) : s, o = e, t(!e) | |
}) | |
}, function() { | |
t(o, r) | |
}) | |
} | |
function Ce(e) { | |
return function() { | |
return (e.unmemoized || e).apply(null, arguments) | |
} | |
} | |
function Ae(e, t, r) { | |
r = k(r || h); | |
var o = l(t); | |
if (!e()) return r(null); | |
var s = function(t) { | |
if (t) return r(t); | |
if (e()) return o(s); | |
var a = n(arguments, 1); | |
r.apply(null, [null].concat(a)) | |
}; | |
o(s) | |
} | |
function Ne(e, t, n) { | |
Ae(function() { | |
return !e.apply(this, arguments) | |
}, t, n) | |
} | |
var Pe = function(e) { | |
var t = n(arguments, 1); | |
return function() { | |
var r = n(arguments); | |
return e.apply(null, t.concat(r)) | |
} | |
}, | |
Oe = function(e) { | |
return function() { | |
var t = n(arguments), | |
r = t.pop(); | |
e.call(this, t, r) | |
} | |
}, | |
Fe = "function" == typeof setImmediate && setImmediate, | |
Ye = "object" == typeof process && "function" == typeof process.nextTick, | |
Ie = s(Fe ? setImmediate : Ye ? process.nextTick : o), | |
Be = "function" == typeof Symbol, | |
ze = "object" == typeof global && global && global.Object === Object && global, | |
qe = "object" == typeof self && self && self.Object === Object && self, | |
Re = ze || qe || Function("return this")(), | |
He = Re.Symbol, | |
Ue = Object.prototype, | |
$e = Ue.hasOwnProperty, | |
We = Ue.toString, | |
Ve = He ? He.toStringTag : void 0, | |
Ge = Object.prototype.toString, | |
Xe = "[object Null]", | |
Qe = "[object Undefined]", | |
Ke = He ? He.toStringTag : void 0, | |
Je = "[object AsyncFunction]", | |
Ze = "[object Function]", | |
et = "[object GeneratorFunction]", | |
tt = "[object Proxy]", | |
nt = 9007199254740991, | |
rt = {}, | |
ot = "function" == typeof Symbol && Symbol.iterator, | |
st = function(e) { | |
return ot && e[ot] && e[ot]() | |
}, | |
at = "[object Arguments]", | |
it = Object.prototype, | |
ut = it.hasOwnProperty, | |
ct = it.propertyIsEnumerable, | |
lt = g(function() { | |
return arguments | |
}()) ? g : function(e) { | |
return _(e) && ut.call(e, "callee") && !ct.call(e, "callee") | |
}, | |
dt = Array.isArray, | |
mt = "object" == typeof t && t && !t.nodeType && t, | |
pt = mt && "object" == typeof e && e && !e.nodeType && e, | |
ft = pt && pt.exports === mt ? Re.Buffer : void 0, | |
ht = (ft ? ft.isBuffer : void 0) || function() { | |
return !1 | |
}, | |
vt = 9007199254740991, | |
_t = /^(?:0|[1-9]\d*)$/, | |
gt = {}; | |
gt["[object Float32Array]"] = gt["[object Float64Array]"] = gt["[object Int8Array]"] = gt["[object Int16Array]"] = gt["[object Int32Array]"] = gt["[object Uint8Array]"] = gt["[object Uint8ClampedArray]"] = gt["[object Uint16Array]"] = gt["[object Uint32Array]"] = !0, gt["[object Arguments]"] = gt["[object Array]"] = gt["[object ArrayBuffer]"] = gt["[object Boolean]"] = gt["[object DataView]"] = gt["[object Date]"] = gt["[object Error]"] = gt["[object Function]"] = gt["[object Map]"] = gt["[object Number]"] = gt["[object Object]"] = gt["[object RegExp]"] = gt["[object Set]"] = gt["[object String]"] = gt["[object WeakMap]"] = !1; | |
var yt = "object" == typeof t && t && !t.nodeType && t, | |
bt = yt && "object" == typeof e && e && !e.nodeType && e, | |
jt = bt && bt.exports === yt && ze.process, | |
xt = function() { | |
try { | |
return jt && jt.binding && jt.binding("util") | |
} catch (e) {} | |
}(), | |
wt = xt && xt.isTypedArray, | |
kt = wt ? function(e) { | |
return function(t) { | |
return e(t) | |
} | |
}(wt) : function(e) { | |
return _(e) && p(e.length) && !!gt[m(e)] | |
}, | |
Et = Object.prototype.hasOwnProperty, | |
St = Object.prototype, | |
Lt = function(e, t) { | |
return function(n) { | |
return e(t(n)) | |
} | |
}(Object.keys, Object), | |
Mt = Object.prototype.hasOwnProperty, | |
Dt = L(S, 1 / 0), | |
Tt = function(e, t, n) { | |
(f(e) ? M : Dt)(e, l(t), n) | |
}, | |
Ct = D(T), | |
At = d(Ct), | |
Nt = C(T), | |
Pt = L(Nt, 1), | |
Ot = d(Pt), | |
Ft = function(e) { | |
return function(t, n, r) { | |
for (var o = -1, s = Object(t), a = r(t), i = a.length; i--;) { | |
var u = a[e ? i : ++o]; | |
if (!1 === n(s[u], u, s)) break | |
} | |
return t | |
} | |
}(), | |
Yt = function(e, t, r) { | |
function o(e, t) { | |
m.push(function() { | |
! function(e, t) { | |
if (c) return; | |
var o = k(function(t, o) { | |
if (u--, arguments.length > 2 && (o = n(arguments, 1)), t) { | |
var a = {}; | |
N(i, function(e, t) { | |
a[t] = e | |
}), a[e] = o, c = !0, d = Object.create(null), r(t, a) | |
} else i[e] = o, | |
function(e) { | |
A(d[e] || [], function(e) { | |
e() | |
}), s() | |
}(e) | |
}); | |
u++; | |
var a = l(t[t.length - 1]); | |
t.length > 1 ? a(i, o) : a(o) | |
}(e, t) | |
}) | |
} | |
function s() { | |
if (0 === m.length && 0 === u) return r(null, i); | |
for (; m.length && u < t;) { | |
m.shift()() | |
} | |
} | |
"function" == typeof t && (r = t, t = null), r = v(r || h); | |
var a = x(e).length; | |
if (!a) return r(null); | |
t || (t = a); | |
var i = {}, | |
u = 0, | |
c = !1, | |
d = Object.create(null), | |
m = [], | |
p = [], | |
f = {}; | |
N(e, function(t, n) { | |
if (!dt(t)) return o(n, [t]), void p.push(n); | |
var r = t.slice(0, t.length - 1), | |
s = r.length; | |
if (0 === s) return o(n, t), void p.push(n); | |
f[n] = s, A(r, function(a) { | |
if (!e[a]) throw new Error("async.auto task `" + n + "` has a non-existent dependency `" + a + "` in " + r.join(", ")); | |
! function(e, t) { | |
var n = d[e]; | |
n || (n = d[e] = []), n.push(t) | |
}(a, function() { | |
0 === --s && o(n, t) | |
}) | |
}) | |
}), | |
function() { | |
for (var t = 0; p.length;) t++, A(function(t) { | |
var n = []; | |
return N(e, function(e, r) { | |
dt(e) && O(e, t, 0) >= 0 && n.push(r) | |
}), n | |
}(p.pop()), function(e) { | |
0 == --f[e] && p.push(e) | |
}); | |
if (t !== a) throw new Error("async.auto cannot execute tasks due to a recursive dependency") | |
}(), s() | |
}, | |
It = "[object Symbol]", | |
Bt = 1 / 0, | |
zt = He ? He.prototype : void 0, | |
qt = zt ? zt.toString : void 0, | |
Rt = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"), | |
Ht = "[\\ud800-\\udfff]", | |
Ut = "[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", | |
$t = "\\ud83c[\\udffb-\\udfff]", | |
Wt = "[^\\ud800-\\udfff]", | |
Vt = "(?:\\ud83c[\\udde6-\\uddff]){2}", | |
Gt = "[\\ud800-\\udbff][\\udc00-\\udfff]", | |
Xt = "(?:" + Ut + "|" + $t + ")" + "?", | |
Qt = "[\\ufe0e\\ufe0f]?", | |
Kt = Qt + Xt + ("(?:\\u200d(?:" + [Wt, Vt, Gt].join("|") + ")" + Qt + Xt + ")*"), | |
Jt = "(?:" + [Wt + Ut + "?", Ut, Vt, Gt, Ht].join("|") + ")", | |
Zt = RegExp($t + "(?=" + $t + ")|" + Jt + Kt, "g"), | |
en = /^\s+|\s+$/g, | |
tn = /^(?:async\s+)?(function)?\s*[^\(]*\(\s*([^\)]*)\)/m, | |
nn = /,/, | |
rn = /(=.+)?(\s*)$/, | |
on = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm; | |
R.prototype.removeLink = function(e) { | |
return e.prev ? e.prev.next = e.next : this.head = e.next, e.next ? e.next.prev = e.prev : this.tail = e.prev, e.prev = e.next = null, this.length -= 1, e | |
}, R.prototype.empty = function() { | |
for (; this.head;) this.shift(); | |
return this | |
}, R.prototype.insertAfter = function(e, t) { | |
t.prev = e, t.next = e.next, e.next ? e.next.prev = t : this.tail = t, e.next = t, this.length += 1 | |
}, R.prototype.insertBefore = function(e, t) { | |
t.prev = e.prev, t.next = e, e.prev ? e.prev.next = t : this.head = t, e.prev = t, this.length += 1 | |
}, R.prototype.unshift = function(e) { | |
this.head ? this.insertBefore(this.head, e) : H(this, e) | |
}, R.prototype.push = function(e) { | |
this.tail ? this.insertAfter(this.tail, e) : H(this, e) | |
}, R.prototype.shift = function() { | |
return this.head && this.removeLink(this.head) | |
}, R.prototype.pop = function() { | |
return this.tail && this.removeLink(this.tail) | |
}, R.prototype.toArray = function() { | |
for (var e = Array(this.length), t = this.head, n = 0; n < this.length; n++) e[n] = t.data, t = t.next; | |
return e | |
}, R.prototype.remove = function(e) { | |
for (var t = this.head; t;) { | |
var n = t.next; | |
e(t) && this.removeLink(t), t = n | |
} | |
return this | |
}; | |
var sn = L(S, 1), | |
an = function() { | |
return V.apply(null, n(arguments).reverse()) | |
}, | |
un = Array.prototype.concat, | |
cn = function(e, t, r, o) { | |
o = o || h; | |
var s = l(r); | |
Nt(e, t, function(e, t) { | |
s(e, function(e) { | |
return e ? t(e) : t(null, n(arguments, 1)) | |
}) | |
}, function(e, t) { | |
for (var n = [], r = 0; r < t.length; r++) t[r] && (n = un.apply(n, t[r])); | |
return o(e, n) | |
}) | |
}, | |
ln = L(cn, 1 / 0), | |
dn = L(cn, 1), | |
mn = function() { | |
var e = n(arguments), | |
t = [null].concat(e); | |
return function() { | |
return arguments[arguments.length - 1].apply(this, t) | |
} | |
}, | |
pn = D(X(G, Q)), | |
fn = C(X(G, Q)), | |
hn = L(fn, 1), | |
vn = K("dir"), | |
_n = L(oe, 1), | |
gn = D(X(ae, ae)), | |
yn = C(X(ae, ae)), | |
bn = L(yn, 1), | |
jn = D(le), | |
xn = C(le), | |
wn = L(xn, 1), | |
kn = function(e, t, n, r) { | |
r = r || h; | |
var o = l(n); | |
Nt(e, t, function(e, t) { | |
o(e, function(n, r) { | |
return n ? t(n) : t(null, { | |
key: r, | |
val: e | |
}) | |
}) | |
}, function(e, t) { | |
for (var n = {}, o = Object.prototype.hasOwnProperty, s = 0; s < t.length; s++) | |
if (t[s]) { | |
var a = t[s].key, | |
i = t[s].val; | |
o.call(n, a) ? n[a].push(i) : n[a] = [i] | |
} return r(e, n) | |
}) | |
}, | |
En = L(kn, 1 / 0), | |
Sn = L(kn, 1), | |
Ln = K("log"), | |
Mn = L(me, 1 / 0), | |
Dn = L(me, 1), | |
Tn = s(Ye ? process.nextTick : Fe ? setImmediate : o), | |
Cn = function(e, t) { | |
var n = l(e); | |
return U(function(e, t) { | |
n(e[0], t) | |
}, t, 1) | |
}, | |
An = function(e, t) { | |
var n = Cn(e, t); | |
return n.push = function(e, t, r) { | |
if (null == r && (r = h), "function" != typeof r) throw new Error("task callback must be a function"); | |
if (n.started = !0, dt(e) || (e = [e]), 0 === e.length) return Ie(function() { | |
n.drain() | |
}); | |
t = t || 0; | |
for (var o = n._tasks.head; o && t >= o.priority;) o = o.next; | |
for (var s = 0, a = e.length; s < a; s++) { | |
var i = { | |
data: e[s], | |
priority: t, | |
callback: r | |
}; | |
o ? n._tasks.insertBefore(o, i) : n._tasks.push(i) | |
} | |
Ie(n.process) | |
}, delete n.unshift, n | |
}, | |
Nn = D(xe), | |
Pn = C(xe), | |
On = L(Pn, 1), | |
Fn = function(e, t) { | |
t || (t = e, e = null); | |
var n = l(t); | |
return Oe(function(t, r) { | |
function o(e) { | |
n.apply(null, t.concat(e)) | |
} | |
e ? ke(e, o, r) : ke(o, r) | |
}) | |
}, | |
Yn = D(X(Boolean, G)), | |
In = C(X(Boolean, G)), | |
Bn = L(In, 1), | |
zn = Math.ceil, | |
qn = Math.max, | |
Rn = L(Me, 1 / 0), | |
Hn = L(Me, 1), | |
Un = function(e, t) { | |
function r(t) { | |
var n = l(e[s++]); | |
t.push(k(o)), n.apply(null, t) | |
} | |
function o(o) { | |
if (o || s === e.length) return t.apply(null, arguments); | |
r(n(arguments, 1)) | |
} | |
if (t = v(t || h), !dt(e)) return t(new Error("First argument to waterfall must be an array of functions")); | |
if (!e.length) return t(); | |
var s = 0; | |
r([]) | |
}, | |
$n = { | |
apply: Pe, | |
applyEach: At, | |
applyEachSeries: Ot, | |
asyncify: a, | |
auto: Yt, | |
autoInject: q, | |
cargo: $, | |
compose: an, | |
concat: ln, | |
concatLimit: cn, | |
concatSeries: dn, | |
constant: mn, | |
detect: pn, | |
detectLimit: fn, | |
detectSeries: hn, | |
dir: vn, | |
doDuring: J, | |
doUntil: ee, | |
doWhilst: Z, | |
during: te, | |
each: re, | |
eachLimit: oe, | |
eachOf: Tt, | |
eachOfLimit: S, | |
eachOfSeries: sn, | |
eachSeries: _n, | |
ensureAsync: se, | |
every: gn, | |
everyLimit: yn, | |
everySeries: bn, | |
filter: jn, | |
filterLimit: xn, | |
filterSeries: wn, | |
forever: de, | |
groupBy: En, | |
groupByLimit: kn, | |
groupBySeries: Sn, | |
log: Ln, | |
map: Ct, | |
mapLimit: Nt, | |
mapSeries: Pt, | |
mapValues: Mn, | |
mapValuesLimit: me, | |
mapValuesSeries: Dn, | |
memoize: fe, | |
nextTick: Tn, | |
parallel: ve, | |
parallelLimit: _e, | |
priorityQueue: An, | |
queue: Cn, | |
race: ge, | |
reduce: W, | |
reduceRight: ye, | |
reflect: be, | |
reflectAll: je, | |
reject: Nn, | |
rejectLimit: Pn, | |
rejectSeries: On, | |
retry: ke, | |
retryable: Fn, | |
seq: V, | |
series: Ee, | |
setImmediate: Ie, | |
some: Yn, | |
someLimit: In, | |
someSeries: Bn, | |
sortBy: Se, | |
timeout: Le, | |
times: Rn, | |
timesLimit: Me, | |
timesSeries: Hn, | |
transform: De, | |
tryEach: Te, | |
unmemoize: Ce, | |
until: Ne, | |
waterfall: Un, | |
whilst: Ae, | |
all: gn, | |
allLimit: yn, | |
allSeries: bn, | |
any: Yn, | |
anyLimit: In, | |
anySeries: Bn, | |
find: pn, | |
findLimit: fn, | |
findSeries: hn, | |
forEach: re, | |
forEachSeries: _n, | |
forEachLimit: oe, | |
forEachOf: Tt, | |
forEachOfSeries: sn, | |
forEachOfLimit: S, | |
inject: W, | |
foldl: W, | |
foldr: ye, | |
select: jn, | |
selectLimit: xn, | |
selectSeries: wn, | |
wrapSync: a | |
}; | |
t.default = $n, t.apply = Pe, t.applyEach = At, t.applyEachSeries = Ot, t.asyncify = a, t.auto = Yt, t.autoInject = q, t.cargo = $, t.compose = an, t.concat = ln, t.concatLimit = cn, t.concatSeries = dn, t.constant = mn, t.detect = pn, t.detectLimit = fn, t.detectSeries = hn, t.dir = vn, t.doDuring = J, t.doUntil = ee, t.doWhilst = Z, t.during = te, t.each = re, t.eachLimit = oe, t.eachOf = Tt, t.eachOfLimit = S, t.eachOfSeries = sn, t.eachSeries = _n, t.ensureAsync = se, t.every = gn, t.everyLimit = yn, t.everySeries = bn, t.filter = jn, t.filterLimit = xn, t.filterSeries = wn, t.forever = de, t.groupBy = En, t.groupByLimit = kn, t.groupBySeries = Sn, t.log = Ln, t.map = Ct, t.mapLimit = Nt, t.mapSeries = Pt, t.mapValues = Mn, t.mapValuesLimit = me, t.mapValuesSeries = Dn, t.memoize = fe, t.nextTick = Tn, t.parallel = ve, t.parallelLimit = _e, t.priorityQueue = An, t.queue = Cn, t.race = ge, t.reduce = W, t.reduceRight = ye, t.reflect = be, t.reflectAll = je, t.reject = Nn, t.rejectLimit = Pn, t.rejectSeries = On, t.retry = ke, t.retryable = Fn, t.seq = V, t.series = Ee, t.setImmediate = Ie, t.some = Yn, t.someLimit = In, t.someSeries = Bn, t.sortBy = Se, t.timeout = Le, t.times = Rn, t.timesLimit = Me, t.timesSeries = Hn, t.transform = De, t.tryEach = Te, t.unmemoize = Ce, t.until = Ne, t.waterfall = Un, t.whilst = Ae, t.all = gn, t.allLimit = yn, t.allSeries = bn, t.any = Yn, t.anyLimit = In, t.anySeries = Bn, t.find = pn, t.findLimit = fn, t.findSeries = hn, t.forEach = re, t.forEachSeries = _n, t.forEachLimit = oe, t.forEachOf = Tt, t.forEachOfSeries = sn, t.forEachOfLimit = S, t.inject = W, t.foldl = W, t.foldr = ye, t.select = jn, t.selectLimit = xn, t.selectSeries = wn, t.wrapSync = a, Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}) | |
}) | |
}).call(t, n("./node_modules/webpack/buildin/module.js")(e)) | |
}, | |
"./node_modules/async/internal/DoublyLinkedList.js": function(e, t, n) { | |
"use strict"; | |
function r() { | |
this.head = this.tail = null, this.length = 0 | |
} | |
function o(e, t) { | |
e.length = 1, e.head = e.tail = t | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = r, r.prototype.removeLink = function(e) { | |
return e.prev ? e.prev.next = e.next : this.head = e.next, e.next ? e.next.prev = e.prev : this.tail = e.prev, e.prev = e.next = null, this.length -= 1, e | |
}, r.prototype.empty = function() { | |
for (; this.head;) this.shift(); | |
return this | |
}, r.prototype.insertAfter = function(e, t) { | |
t.prev = e, t.next = e.next, e.next ? e.next.prev = t : this.tail = t, e.next = t, this.length += 1 | |
}, r.prototype.insertBefore = function(e, t) { | |
t.prev = e.prev, t.next = e, e.prev ? e.prev.next = t : this.head = t, e.prev = t, this.length += 1 | |
}, r.prototype.unshift = function(e) { | |
this.head ? this.insertBefore(this.head, e) : o(this, e) | |
}, r.prototype.push = function(e) { | |
this.tail ? this.insertAfter(this.tail, e) : o(this, e) | |
}, r.prototype.shift = function() { | |
return this.head && this.removeLink(this.head) | |
}, r.prototype.pop = function() { | |
return this.tail && this.removeLink(this.tail) | |
}, r.prototype.toArray = function() { | |
for (var e = Array(this.length), t = this.head, n = 0; n < this.length; n++) e[n] = t.data, t = t.next; | |
return e | |
}, r.prototype.remove = function(e) { | |
for (var t = this.head; t;) { | |
var n = t.next; | |
e(t) && this.removeLink(t), t = n | |
} | |
return this | |
}, e.exports = t.default | |
}, | |
"./node_modules/async/internal/initialParams.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e) { | |
return function() { | |
var t = (0, r.default)(arguments), | |
n = t.pop(); | |
e.call(this, t, n) | |
} | |
}; | |
var r = function(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
}(n("./node_modules/async/internal/slice.js")); | |
e.exports = t.default | |
}, | |
"./node_modules/async/internal/onlyOnce.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e) { | |
return function() { | |
if (null === e) throw new Error("Callback was already called."); | |
var t = e; | |
e = null, t.apply(this, arguments) | |
} | |
}, e.exports = t.default | |
}, | |
"./node_modules/async/internal/queue.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e, t, n) { | |
function r(e, t, n) { | |
if (null != n && "function" != typeof n) throw new Error("task callback must be a function"); | |
if (_.started = !0, (0, s.default)(e) || (e = [e]), 0 === e.length && _.idle()) return (0, u.default)(function() { | |
_.drain() | |
}); | |
for (var r = 0, o = e.length; r < o; r++) { | |
var i = { | |
data: e[r], | |
callback: n || a.default | |
}; | |
t ? _._tasks.unshift(i) : _._tasks.push(i) | |
} | |
h || (h = !0, (0, u.default)(function() { | |
h = !1, _.process() | |
})) | |
} | |
function d(e) { | |
return function(t) { | |
p -= 1; | |
for (var n = 0, r = e.length; n < r; n++) { | |
var s = e[n], | |
a = (0, o.default)(f, s, 0); | |
0 === a ? f.shift() : a > 0 && f.splice(a, 1), s.callback.apply(s, arguments), null != t && _.error(t, s.data) | |
} | |
p <= _.concurrency - _.buffer && _.unsaturated(), _.idle() && _.drain(), _.process() | |
} | |
} | |
if (null == t) t = 1; | |
else if (0 === t) throw new Error("Concurrency must not be zero"); | |
var m = (0, l.default)(e), | |
p = 0, | |
f = [], | |
h = !1, | |
v = !1, | |
_ = { | |
_tasks: new c.default, | |
concurrency: t, | |
payload: n, | |
saturated: a.default, | |
unsaturated: a.default, | |
buffer: t / 4, | |
empty: a.default, | |
drain: a.default, | |
error: a.default, | |
started: !1, | |
paused: !1, | |
push: function(e, t) { | |
r(e, !1, t) | |
}, | |
kill: function() { | |
_.drain = a.default, _._tasks.empty() | |
}, | |
unshift: function(e, t) { | |
r(e, !0, t) | |
}, | |
remove: function(e) { | |
_._tasks.remove(e) | |
}, | |
process: function() { | |
if (!v) { | |
for (v = !0; !_.paused && p < _.concurrency && _._tasks.length;) { | |
var e = [], | |
t = [], | |
n = _._tasks.length; | |
_.payload && (n = Math.min(n, _.payload)); | |
for (var r = 0; r < n; r++) { | |
var o = _._tasks.shift(); | |
e.push(o), f.push(o), t.push(o.data) | |
} | |
p += 1, 0 === _._tasks.length && _.empty(), p === _.concurrency && _.saturated(); | |
var s = (0, i.default)(d(e)); | |
m(t, s) | |
} | |
v = !1 | |
} | |
}, | |
length: function() { | |
return _._tasks.length | |
}, | |
running: function() { | |
return p | |
}, | |
workersList: function() { | |
return f | |
}, | |
idle: function() { | |
return _._tasks.length + p === 0 | |
}, | |
pause: function() { | |
_.paused = !0 | |
}, | |
resume: function() { | |
!1 !== _.paused && (_.paused = !1, (0, u.default)(_.process)) | |
} | |
}; | |
return _ | |
}; | |
var o = r(n("./node_modules/lodash/_baseIndexOf.js")), | |
s = r(n("./node_modules/lodash/isArray.js")), | |
a = r(n("./node_modules/lodash/noop.js")), | |
i = r(n("./node_modules/async/internal/onlyOnce.js")), | |
u = r(n("./node_modules/async/internal/setImmediate.js")), | |
c = r(n("./node_modules/async/internal/DoublyLinkedList.js")), | |
l = r(n("./node_modules/async/internal/wrapAsync.js")); | |
e.exports = t.default | |
}, | |
"./node_modules/async/internal/setImmediate.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
setTimeout(e, 0) | |
} | |
function o(e) { | |
return function(t) { | |
var n = (0, a.default)(arguments, 1); | |
e(function() { | |
t.apply(null, n) | |
}) | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.hasNextTick = t.hasSetImmediate = void 0, t.fallback = r, t.wrap = o; | |
var s, a = function(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
}(n("./node_modules/async/internal/slice.js")), | |
i = t.hasSetImmediate = "function" == typeof setImmediate && setImmediate, | |
u = t.hasNextTick = "object" == typeof process && "function" == typeof process.nextTick; | |
s = i ? setImmediate : u ? process.nextTick : r, t.default = o(s) | |
}, | |
"./node_modules/async/internal/slice.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e, t) { | |
t |= 0; | |
for (var n = Math.max(e.length - t, 0), r = Array(n), o = 0; o < n; o++) r[o] = e[t + o]; | |
return r | |
}, e.exports = t.default | |
}, | |
"./node_modules/async/internal/wrapAsync.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return s && "AsyncFunction" === e[Symbol.toStringTag] | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.isAsync = void 0; | |
var o = function(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
}(n("./node_modules/async/asyncify.js")), | |
s = "function" == typeof Symbol; | |
t.default = function(e) { | |
return r(e) ? (0, o.default)(e) : e | |
}, t.isAsync = r | |
}, | |
"./node_modules/async/queue.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e, t) { | |
var n = (0, s.default)(e); | |
return (0, o.default)(function(e, t) { | |
n(e[0], t) | |
}, t, 1) | |
}; | |
var o = r(n("./node_modules/async/internal/queue.js")), | |
s = r(n("./node_modules/async/internal/wrapAsync.js")); | |
e.exports = t.default | |
}, | |
"./node_modules/axios/index.js": function(e, t, n) { | |
e.exports = n("./node_modules/axios/lib/axios.js") | |
}, | |
"./node_modules/axios/lib/adapters/http.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"), | |
o = n("./node_modules/axios/lib/core/settle.js"), | |
s = n("./node_modules/axios/lib/helpers/buildURL.js"), | |
a = n(6), | |
i = n(10), | |
u = n("./node_modules/follow-redirects/index.js").http, | |
c = n("./node_modules/follow-redirects/index.js").https, | |
l = n(5), | |
d = n(15), | |
m = n("./node_modules/axios/package.json"), | |
p = n("./node_modules/axios/lib/core/createError.js"), | |
f = n("./node_modules/axios/lib/core/enhanceError.js"); | |
e.exports = function(e) { | |
return new Promise(function(t, n) { | |
var h, v = e.data, | |
_ = e.headers, | |
g = !1; | |
if (_["User-Agent"] || _["user-agent"] || (_["User-Agent"] = "axios/" + m.version), v && !r.isStream(v)) { | |
if (Buffer.isBuffer(v)); | |
else if (r.isArrayBuffer(v)) v = new Buffer(new Uint8Array(v)); | |
else { | |
if (!r.isString(v)) return n(p("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream", e)); | |
v = new Buffer(v, "utf-8") | |
} | |
_["Content-Length"] = v.length | |
} | |
var y = void 0; | |
if (e.auth) { | |
y = (e.auth.username || "") + ":" + (e.auth.password || "") | |
} | |
var b = l.parse(e.url), | |
j = b.protocol || "http:"; | |
if (!y && b.auth) { | |
var x = b.auth.split(":"); | |
y = (x[0] || "") + ":" + (x[1] || "") | |
} | |
y && delete _.Authorization; | |
var w = "https:" === j, | |
k = w ? e.httpsAgent : e.httpAgent, | |
E = { | |
hostname: b.hostname, | |
port: b.port, | |
path: s(b.path, e.params, e.paramsSerializer).replace(/^\?/, ""), | |
method: e.method, | |
headers: _, | |
agent: k, | |
auth: y | |
}, | |
S = e.proxy; | |
if (!S) { | |
var L = j.slice(0, -1) + "_proxy", | |
M = process.env[L] || process.env[L.toUpperCase()]; | |
if (M) { | |
var D = l.parse(M); | |
if (S = { | |
host: D.hostname, | |
port: D.port | |
}, D.auth) { | |
var T = D.auth.split(":"); | |
S.auth = { | |
username: T[0], | |
password: T[1] | |
} | |
} | |
} | |
} | |
if (S && (E.hostname = S.host, E.host = S.host, E.headers.host = b.hostname + (b.port ? ":" + b.port : ""), E.port = S.port, E.path = j + "//" + b.hostname + (b.port ? ":" + b.port : "") + E.path, S.auth)) { | |
var C = new Buffer(S.auth.username + ":" + S.auth.password, "utf8").toString("base64"); | |
E.headers["Proxy-Authorization"] = "Basic " + C | |
} | |
var A; | |
0 === e.maxRedirects ? A = w ? i : a : (e.maxRedirects && (E.maxRedirects = e.maxRedirects), A = w ? c : u); | |
var N = A.request(E, function(r) { | |
if (!g) { | |
clearTimeout(h), h = null; | |
var s = r; | |
switch (r.headers["content-encoding"]) { | |
case "gzip": | |
case "compress": | |
case "deflate": | |
s = s.pipe(d.createUnzip()), delete r.headers["content-encoding"] | |
} | |
var a = r.req || N, | |
i = { | |
status: r.statusCode, | |
statusText: r.statusMessage, | |
headers: r.headers, | |
config: e, | |
request: a | |
}; | |
if ("stream" === e.responseType) i.data = s, o(t, n, i); | |
else { | |
var u = []; | |
s.on("data", function(t) { | |
u.push(t), e.maxContentLength > -1 && Buffer.concat(u).length > e.maxContentLength && n(p("maxContentLength size of " + e.maxContentLength + " exceeded", e, null, a)) | |
}), s.on("error", function(t) { | |
g || n(f(t, e, null, a)) | |
}), s.on("end", function() { | |
var r = Buffer.concat(u); | |
"arraybuffer" !== e.responseType && (r = r.toString("utf8")), i.data = r, o(t, n, i) | |
}) | |
} | |
} | |
}); | |
N.on("error", function(t) { | |
g || n(f(t, e, null, N)) | |
}), e.timeout && !h && (h = setTimeout(function() { | |
N.abort(), n(p("timeout of " + e.timeout + "ms exceeded", e, "ECONNABORTED", N)), g = !0 | |
}, e.timeout)), e.cancelToken && e.cancelToken.promise.then(function(e) { | |
g || (N.abort(), n(e), g = !0) | |
}), r.isStream(v) ? v.pipe(N) : N.end(v) | |
}) | |
} | |
}, | |
"./node_modules/axios/lib/adapters/xhr.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"), | |
o = n("./node_modules/axios/lib/core/settle.js"), | |
s = n("./node_modules/axios/lib/helpers/buildURL.js"), | |
a = n("./node_modules/axios/lib/helpers/parseHeaders.js"), | |
i = n("./node_modules/axios/lib/helpers/isURLSameOrigin.js"), | |
u = n("./node_modules/axios/lib/core/createError.js"), | |
c = "undefined" != typeof window && window.btoa && window.btoa.bind(window) || n("./node_modules/axios/lib/helpers/btoa.js"); | |
e.exports = function(e) { | |
return new Promise(function(t, l) { | |
var d = e.data, | |
m = e.headers; | |
r.isFormData(d) && delete m["Content-Type"]; | |
var p = new XMLHttpRequest, | |
f = "onreadystatechange", | |
h = !1; | |
if ("undefined" == typeof window || !window.XDomainRequest || "withCredentials" in p || i(e.url) || (p = new window.XDomainRequest, f = "onload", h = !0, p.onprogress = function() {}, p.ontimeout = function() {}), e.auth) { | |
var v = e.auth.username || "", | |
_ = e.auth.password || ""; | |
m.Authorization = "Basic " + c(v + ":" + _) | |
} | |
if (p.open(e.method.toUpperCase(), s(e.url, e.params, e.paramsSerializer), !0), p.timeout = e.timeout, p[f] = function() { | |
if (p && (4 === p.readyState || h) && (0 !== p.status || p.responseURL && 0 === p.responseURL.indexOf("file:"))) { | |
var n = "getAllResponseHeaders" in p ? a(p.getAllResponseHeaders()) : null, | |
r = { | |
data: e.responseType && "text" !== e.responseType ? p.response : p.responseText, | |
status: 1223 === p.status ? 204 : p.status, | |
statusText: 1223 === p.status ? "No Content" : p.statusText, | |
headers: n, | |
config: e, | |
request: p | |
}; | |
o(t, l, r), p = null | |
} | |
}, p.onerror = function() { | |
l(u("Network Error", e, null, p)), p = null | |
}, p.ontimeout = function() { | |
l(u("timeout of " + e.timeout + "ms exceeded", e, "ECONNABORTED", p)), p = null | |
}, r.isStandardBrowserEnv()) { | |
var g = n("./node_modules/axios/lib/helpers/cookies.js"), | |
y = (e.withCredentials || i(e.url)) && e.xsrfCookieName ? g.read(e.xsrfCookieName) : void 0; | |
y && (m[e.xsrfHeaderName] = y) | |
} | |
if ("setRequestHeader" in p && r.forEach(m, function(e, t) { | |
void 0 === d && "content-type" === t.toLowerCase() ? delete m[t] : p.setRequestHeader(t, e) | |
}), e.withCredentials && (p.withCredentials = !0), e.responseType) try { | |
p.responseType = e.responseType | |
} catch (t) { | |
if ("json" !== e.responseType) throw t | |
} | |
"function" == typeof e.onDownloadProgress && p.addEventListener("progress", e.onDownloadProgress), "function" == typeof e.onUploadProgress && p.upload && p.upload.addEventListener("progress", e.onUploadProgress), e.cancelToken && e.cancelToken.promise.then(function(e) { | |
p && (p.abort(), l(e), p = null) | |
}), void 0 === d && (d = null), p.send(d) | |
}) | |
} | |
}, | |
"./node_modules/axios/lib/axios.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
var t = new a(e), | |
n = s(a.prototype.request, t); | |
return o.extend(n, a.prototype, t), o.extend(n, t), n | |
} | |
var o = n("./node_modules/axios/lib/utils.js"), | |
s = n("./node_modules/axios/lib/helpers/bind.js"), | |
a = n("./node_modules/axios/lib/core/Axios.js"), | |
i = n("./node_modules/axios/lib/defaults.js"), | |
u = r(i); | |
u.Axios = a, u.create = function(e) { | |
return r(o.merge(i, e)) | |
}, u.Cancel = n("./node_modules/axios/lib/cancel/Cancel.js"), u.CancelToken = n("./node_modules/axios/lib/cancel/CancelToken.js"), u.isCancel = n("./node_modules/axios/lib/cancel/isCancel.js"), u.all = function(e) { | |
return Promise.all(e) | |
}, u.spread = n("./node_modules/axios/lib/helpers/spread.js"), e.exports = u, e.exports.default = u | |
}, | |
"./node_modules/axios/lib/cancel/Cancel.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
this.message = e | |
} | |
r.prototype.toString = function() { | |
return "Cancel" + (this.message ? ": " + this.message : "") | |
}, r.prototype.__CANCEL__ = !0, e.exports = r | |
}, | |
"./node_modules/axios/lib/cancel/CancelToken.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
if ("function" != typeof e) throw new TypeError("executor must be a function."); | |
var t; | |
this.promise = new Promise(function(e) { | |
t = e | |
}); | |
var n = this; | |
e(function(e) { | |
n.reason || (n.reason = new o(e), t(n.reason)) | |
}) | |
} | |
var o = n("./node_modules/axios/lib/cancel/Cancel.js"); | |
r.prototype.throwIfRequested = function() { | |
if (this.reason) throw this.reason | |
}, r.source = function() { | |
var e; | |
return { | |
token: new r(function(t) { | |
e = t | |
}), | |
cancel: e | |
} | |
}, e.exports = r | |
}, | |
"./node_modules/axios/lib/cancel/isCancel.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
return !(!e || !e.__CANCEL__) | |
} | |
}, | |
"./node_modules/axios/lib/core/Axios.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
this.defaults = e, this.interceptors = { | |
request: new a, | |
response: new a | |
} | |
} | |
var o = n("./node_modules/axios/lib/defaults.js"), | |
s = n("./node_modules/axios/lib/utils.js"), | |
a = n("./node_modules/axios/lib/core/InterceptorManager.js"), | |
i = n("./node_modules/axios/lib/core/dispatchRequest.js"), | |
u = n("./node_modules/axios/lib/helpers/isAbsoluteURL.js"), | |
c = n("./node_modules/axios/lib/helpers/combineURLs.js"); | |
r.prototype.request = function(e) { | |
"string" == typeof e && (e = s.merge({ | |
url: arguments[0] | |
}, arguments[1])), (e = s.merge(o, this.defaults, { | |
method: "get" | |
}, e)).method = e.method.toLowerCase(), e.baseURL && !u(e.url) && (e.url = c(e.baseURL, e.url)); | |
var t = [i, void 0], | |
n = Promise.resolve(e); | |
for (this.interceptors.request.forEach(function(e) { | |
t.unshift(e.fulfilled, e.rejected) | |
}), this.interceptors.response.forEach(function(e) { | |
t.push(e.fulfilled, e.rejected) | |
}); t.length;) n = n.then(t.shift(), t.shift()); | |
return n | |
}, s.forEach(["delete", "get", "head", "options"], function(e) { | |
r.prototype[e] = function(t, n) { | |
return this.request(s.merge(n || {}, { | |
method: e, | |
url: t | |
})) | |
} | |
}), s.forEach(["post", "put", "patch"], function(e) { | |
r.prototype[e] = function(t, n, r) { | |
return this.request(s.merge(r || {}, { | |
method: e, | |
url: t, | |
data: n | |
})) | |
} | |
}), e.exports = r | |
}, | |
"./node_modules/axios/lib/core/InterceptorManager.js": function(e, t, n) { | |
"use strict"; | |
function r() { | |
this.handlers = [] | |
} | |
var o = n("./node_modules/axios/lib/utils.js"); | |
r.prototype.use = function(e, t) { | |
return this.handlers.push({ | |
fulfilled: e, | |
rejected: t | |
}), this.handlers.length - 1 | |
}, r.prototype.eject = function(e) { | |
this.handlers[e] && (this.handlers[e] = null) | |
}, r.prototype.forEach = function(e) { | |
o.forEach(this.handlers, function(t) { | |
null !== t && e(t) | |
}) | |
}, e.exports = r | |
}, | |
"./node_modules/axios/lib/core/createError.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/core/enhanceError.js"); | |
e.exports = function(e, t, n, o, s) { | |
var a = new Error(e); | |
return r(a, t, n, o, s) | |
} | |
}, | |
"./node_modules/axios/lib/core/dispatchRequest.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
e.cancelToken && e.cancelToken.throwIfRequested() | |
} | |
var o = n("./node_modules/axios/lib/utils.js"), | |
s = n("./node_modules/axios/lib/core/transformData.js"), | |
a = n("./node_modules/axios/lib/cancel/isCancel.js"), | |
i = n("./node_modules/axios/lib/defaults.js"); | |
e.exports = function(e) { | |
r(e), e.headers = e.headers || {}, e.data = s(e.data, e.headers, e.transformRequest), e.headers = o.merge(e.headers.common || {}, e.headers[e.method] || {}, e.headers || {}), o.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function(t) { | |
delete e.headers[t] | |
}); | |
return (e.adapter || i.adapter)(e).then(function(t) { | |
return r(e), t.data = s(t.data, t.headers, e.transformResponse), t | |
}, function(t) { | |
return a(t) || (r(e), t && t.response && (t.response.data = s(t.response.data, t.response.headers, e.transformResponse))), Promise.reject(t) | |
}) | |
} | |
}, | |
"./node_modules/axios/lib/core/enhanceError.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e, t, n, r, o) { | |
return e.config = t, n && (e.code = n), e.request = r, e.response = o, e | |
} | |
}, | |
"./node_modules/axios/lib/core/settle.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/core/createError.js"); | |
e.exports = function(e, t, n) { | |
var o = n.config.validateStatus; | |
n.status && o && !o(n.status) ? t(r("Request failed with status code " + n.status, n.config, null, n.request, n)) : e(n) | |
} | |
}, | |
"./node_modules/axios/lib/core/transformData.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"); | |
e.exports = function(e, t, n) { | |
return r.forEach(n, function(n) { | |
e = n(e, t) | |
}), e | |
} | |
}, | |
"./node_modules/axios/lib/defaults.js": function(e, t, n) { | |
"use strict"; | |
function r(e, t) { | |
!o.isUndefined(e) && o.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t) | |
} | |
var o = n("./node_modules/axios/lib/utils.js"), | |
s = n("./node_modules/axios/lib/helpers/normalizeHeaderName.js"), | |
a = { | |
"Content-Type": "application/x-www-form-urlencoded" | |
}, | |
i = { | |
adapter: function() { | |
var e; | |
return "undefined" != typeof XMLHttpRequest ? e = n("./node_modules/axios/lib/adapters/xhr.js") : "undefined" != typeof process && (e = n("./node_modules/axios/lib/adapters/http.js")), e | |
}(), | |
transformRequest: [function(e, t) { | |
return s(t, "Content-Type"), o.isFormData(e) || o.isArrayBuffer(e) || o.isBuffer(e) || o.isStream(e) || o.isFile(e) || o.isBlob(e) ? e : o.isArrayBufferView(e) ? e.buffer : o.isURLSearchParams(e) ? (r(t, "application/x-www-form-urlencoded;charset=utf-8"), e.toString()) : o.isObject(e) ? (r(t, "application/json;charset=utf-8"), JSON.stringify(e)) : e | |
}], | |
transformResponse: [function(e) { | |
if ("string" == typeof e) try { | |
e = JSON.parse(e) | |
} catch (e) {} | |
return e | |
}], | |
timeout: 0, | |
xsrfCookieName: "XSRF-TOKEN", | |
xsrfHeaderName: "X-XSRF-TOKEN", | |
maxContentLength: -1, | |
validateStatus: function(e) { | |
return e >= 200 && e < 300 | |
} | |
}; | |
i.headers = { | |
common: { | |
Accept: "application/json, text/plain, */*" | |
} | |
}, o.forEach(["delete", "get", "head"], function(e) { | |
i.headers[e] = {} | |
}), o.forEach(["post", "put", "patch"], function(e) { | |
i.headers[e] = o.merge(a) | |
}), e.exports = i | |
}, | |
"./node_modules/axios/lib/helpers/bind.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e, t) { | |
return function() { | |
for (var n = new Array(arguments.length), r = 0; r < n.length; r++) n[r] = arguments[r]; | |
return e.apply(t, n) | |
} | |
} | |
}, | |
"./node_modules/axios/lib/helpers/btoa.js": function(e, t, n) { | |
"use strict"; | |
function r() { | |
this.message = "String contains an invalid character" | |
} | |
var o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; | |
(r.prototype = new Error).code = 5, r.prototype.name = "InvalidCharacterError", e.exports = function(e) { | |
for (var t, n, s = String(e), a = "", i = 0, u = o; s.charAt(0 | i) || (u = "=", i % 1); a += u.charAt(63 & t >> 8 - i % 1 * 8)) { | |
if ((n = s.charCodeAt(i += .75)) > 255) throw new r; | |
t = t << 8 | n | |
} | |
return a | |
} | |
}, | |
"./node_modules/axios/lib/helpers/buildURL.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]") | |
} | |
var o = n("./node_modules/axios/lib/utils.js"); | |
e.exports = function(e, t, n) { | |
if (!t) return e; | |
var s; | |
if (n) s = n(t); | |
else if (o.isURLSearchParams(t)) s = t.toString(); | |
else { | |
var a = []; | |
o.forEach(t, function(e, t) { | |
null !== e && void 0 !== e && (o.isArray(e) && (t += "[]"), o.isArray(e) || (e = [e]), o.forEach(e, function(e) { | |
o.isDate(e) ? e = e.toISOString() : o.isObject(e) && (e = JSON.stringify(e)), a.push(r(t) + "=" + r(e)) | |
})) | |
}), s = a.join("&") | |
} | |
return s && (e += (-1 === e.indexOf("?") ? "?" : "&") + s), e | |
} | |
}, | |
"./node_modules/axios/lib/helpers/combineURLs.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e, t) { | |
return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e | |
} | |
}, | |
"./node_modules/axios/lib/helpers/cookies.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"); | |
e.exports = r.isStandardBrowserEnv() ? { | |
write: function(e, t, n, o, s, a) { | |
var i = []; | |
i.push(e + "=" + encodeURIComponent(t)), r.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), r.isString(o) && i.push("path=" + o), r.isString(s) && i.push("domain=" + s), !0 === a && i.push("secure"), document.cookie = i.join("; ") | |
}, | |
read: function(e) { | |
var t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); | |
return t ? decodeURIComponent(t[3]) : null | |
}, | |
remove: function(e) { | |
this.write(e, "", Date.now() - 864e5) | |
} | |
} : { | |
write: function() {}, | |
read: function() { | |
return null | |
}, | |
remove: function() {} | |
} | |
}, | |
"./node_modules/axios/lib/helpers/isAbsoluteURL.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e) | |
} | |
}, | |
"./node_modules/axios/lib/helpers/isURLSameOrigin.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"); | |
e.exports = r.isStandardBrowserEnv() ? function() { | |
function e(e) { | |
var t = e; | |
return n && (o.setAttribute("href", t), t = o.href), o.setAttribute("href", t), { | |
href: o.href, | |
protocol: o.protocol ? o.protocol.replace(/:$/, "") : "", | |
host: o.host, | |
search: o.search ? o.search.replace(/^\?/, "") : "", | |
hash: o.hash ? o.hash.replace(/^#/, "") : "", | |
hostname: o.hostname, | |
port: o.port, | |
pathname: "/" === o.pathname.charAt(0) ? o.pathname : "/" + o.pathname | |
} | |
} | |
var t, n = /(msie|trident)/i.test(navigator.userAgent), | |
o = document.createElement("a"); | |
return t = e(window.location.href), | |
function(n) { | |
var o = r.isString(n) ? e(n) : n; | |
return o.protocol === t.protocol && o.host === t.host | |
} | |
}() : function() { | |
return !0 | |
} | |
}, | |
"./node_modules/axios/lib/helpers/normalizeHeaderName.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"); | |
e.exports = function(e, t) { | |
r.forEach(e, function(n, r) { | |
r !== t && r.toUpperCase() === t.toUpperCase() && (e[t] = n, delete e[r]) | |
}) | |
} | |
}, | |
"./node_modules/axios/lib/helpers/parseHeaders.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/axios/lib/utils.js"); | |
e.exports = function(e) { | |
var t, n, o, s = {}; | |
return e ? (r.forEach(e.split("\n"), function(e) { | |
o = e.indexOf(":"), t = r.trim(e.substr(0, o)).toLowerCase(), n = r.trim(e.substr(o + 1)), t && (s[t] = s[t] ? s[t] + ", " + n : n) | |
}), s) : s | |
} | |
}, | |
"./node_modules/axios/lib/helpers/spread.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
return function(t) { | |
return e.apply(null, t) | |
} | |
} | |
}, | |
"./node_modules/axios/lib/utils.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return "[object Array]" === l.call(e) | |
} | |
function o(e) { | |
return null !== e && "object" == typeof e | |
} | |
function s(e) { | |
return "[object Function]" === l.call(e) | |
} | |
function a(e, t) { | |
if (null !== e && void 0 !== e) | |
if ("object" == typeof e || r(e) || (e = [e]), r(e)) | |
for (var n = 0, o = e.length; n < o; n++) t.call(null, e[n], n, e); | |
else | |
for (var s in e) Object.prototype.hasOwnProperty.call(e, s) && t.call(null, e[s], s, e) | |
} | |
function i() { | |
function e(e, n) { | |
"object" == typeof t[n] && "object" == typeof e ? t[n] = i(t[n], e) : t[n] = e | |
} | |
for (var t = {}, n = 0, r = arguments.length; n < r; n++) a(arguments[n], e); | |
return t | |
} | |
var u = n("./node_modules/axios/lib/helpers/bind.js"), | |
c = n("./node_modules/is-buffer/index.js"), | |
l = Object.prototype.toString; | |
e.exports = { | |
isArray: r, | |
isArrayBuffer: function(e) { | |
return "[object ArrayBuffer]" === l.call(e) | |
}, | |
isBuffer: c, | |
isFormData: function(e) { | |
return "undefined" != typeof FormData && e instanceof FormData | |
}, | |
isArrayBufferView: function(e) { | |
return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && e.buffer instanceof ArrayBuffer | |
}, | |
isString: function(e) { | |
return "string" == typeof e | |
}, | |
isNumber: function(e) { | |
return "number" == typeof e | |
}, | |
isObject: o, | |
isUndefined: function(e) { | |
return void 0 === e | |
}, | |
isDate: function(e) { | |
return "[object Date]" === l.call(e) | |
}, | |
isFile: function(e) { | |
return "[object File]" === l.call(e) | |
}, | |
isBlob: function(e) { | |
return "[object Blob]" === l.call(e) | |
}, | |
isFunction: s, | |
isStream: function(e) { | |
return o(e) && s(e.pipe) | |
}, | |
isURLSearchParams: function(e) { | |
return "undefined" != typeof URLSearchParams && e instanceof URLSearchParams | |
}, | |
isStandardBrowserEnv: function() { | |
return ("undefined" == typeof navigator || "ReactNative" !== navigator.product) && "undefined" != typeof window && "undefined" != typeof document | |
}, | |
forEach: a, | |
merge: i, | |
extend: function(e, t, n) { | |
return a(t, function(t, r) { | |
e[r] = n && "function" == typeof t ? u(t, n) : t | |
}), e | |
}, | |
trim: function(e) { | |
return e.replace(/^\s*/, "").replace(/\s*$/, "") | |
} | |
} | |
}, | |
"./node_modules/axios/package.json": function(e, t) { | |
e.exports = { | |
name: "axios", | |
version: "0.16.2", | |
description: "Promise based HTTP client for the browser and node.js", | |
main: "index.js", | |
scripts: { | |
test: "grunt test", | |
start: "node ./sandbox/server.js", | |
build: "NODE_ENV=production grunt build", | |
preversion: "npm test", | |
version: "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json", | |
postversion: "git push && git push --tags", | |
examples: "node ./examples/server.js", | |
coveralls: "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" | |
}, | |
repository: { | |
type: "git", | |
url: "https://github.com/mzabriskie/axios.git" | |
}, | |
keywords: ["xhr", "http", "ajax", "promise", "node"], | |
author: "Matt Zabriskie", | |
license: "MIT", | |
bugs: { | |
url: "https://github.com/mzabriskie/axios/issues" | |
}, | |
homepage: "https://github.com/mzabriskie/axios", | |
devDependencies: { | |
coveralls: "^2.11.9", | |
"es6-promise": "^4.0.5", | |
grunt: "^1.0.1", | |
"grunt-banner": "^0.6.0", | |
"grunt-cli": "^1.2.0", | |
"grunt-contrib-clean": "^1.0.0", | |
"grunt-contrib-nodeunit": "^1.0.0", | |
"grunt-contrib-watch": "^1.0.0", | |
"grunt-eslint": "^19.0.0", | |
"grunt-karma": "^2.0.0", | |
"grunt-ts": "^6.0.0-beta.3", | |
"grunt-webpack": "^1.0.18", | |
"istanbul-instrumenter-loader": "^1.0.0", | |
"jasmine-core": "^2.4.1", | |
karma: "^1.3.0", | |
"karma-chrome-launcher": "^2.0.0", | |
"karma-coverage": "^1.0.0", | |
"karma-firefox-launcher": "^1.0.0", | |
"karma-jasmine": "^1.0.2", | |
"karma-jasmine-ajax": "^0.1.13", | |
"karma-opera-launcher": "^1.0.0", | |
"karma-phantomjs-launcher": "^1.0.0", | |
"karma-safari-launcher": "^1.0.0", | |
"karma-sauce-launcher": "^1.1.0", | |
"karma-sinon": "^1.0.5", | |
"karma-sourcemap-loader": "^0.3.7", | |
"karma-webpack": "^1.7.0", | |
"load-grunt-tasks": "^3.5.2", | |
minimist: "^1.2.0", | |
"phantomjs-prebuilt": "^2.1.7", | |
sinon: "^1.17.4", | |
webpack: "^1.13.1", | |
"webpack-dev-server": "^1.14.1", | |
"url-search-params": "^0.6.1", | |
typescript: "^2.0.3" | |
}, | |
browser: { | |
"./lib/adapters/http.js": "./lib/adapters/xhr.js" | |
}, | |
typings: "./index.d.ts", | |
dependencies: { | |
"follow-redirects": "^1.2.3", | |
"is-buffer": "^1.1.5" | |
} | |
} | |
}, | |
"./node_modules/babel-polyfill/lib/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e, t, n) { | |
e[t] || Object[o](e, t, { | |
writable: !0, | |
configurable: !0, | |
value: n | |
}) | |
} | |
if (n("./node_modules/core-js/shim.js"), n("./node_modules/regenerator-runtime/runtime.js"), n("./node_modules/core-js/fn/regexp/escape.js"), global._babelPolyfill) throw new Error("only one instance of babel-polyfill is allowed"); | |
global._babelPolyfill = !0; | |
var o = "defineProperty"; | |
r(String.prototype, "padLeft", "".padStart), r(String.prototype, "padRight", "".padEnd), "pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e) { | |
[][e] && r(Array, e, Function.call.bind([][e])) | |
}) | |
}, | |
"./node_modules/builtin-modules/index.js": function(e, t, n) { | |
"use strict"; | |
var r = ["freelist", "sys"]; | |
e.exports = Object.keys(process.binding("natives")).filter(function(e) { | |
return !/^_|^internal|\//.test(e) && -1 === r.indexOf(e) | |
}).sort() | |
}, | |
"./node_modules/camelcase/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function() { | |
var e = [].map.call(arguments, function(e) { | |
return e.trim() | |
}).filter(function(e) { | |
return e.length | |
}).join("-"); | |
return e.length ? 1 === e.length ? e.toLowerCase() : /[_.\- ]+/.test(e) ? (e = function(e) { | |
for (var t = !1, n = 0; n < e.length; n++) { | |
var r = e.charAt(n); | |
t && /[a-zA-Z]/.test(r) && r.toUpperCase() === r ? (e = e.substr(0, n) + "-" + e.substr(n), t = !1, n++) : t = r.toLowerCase() === r | |
} | |
return e | |
}(e)).replace(/^[_.\- ]+/, "").toLowerCase().replace(/[_.\- ]+(\w|$)/g, function(e, t) { | |
return t.toUpperCase() | |
}) : e === e.toUpperCase() ? e.toLowerCase() : e[0] !== e[0].toLowerCase() ? e[0].toLowerCase() + e.slice(1) : e : "" | |
} | |
}, | |
"./node_modules/cliui/index.js": function(e, t, n) { | |
function r(e) { | |
this.width = e.width, this.wrap = e.wrap, this.rows = [] | |
} | |
function o(e, t, n) { | |
return e.border ? /[.']-+[.']/.test(t) ? "" : t.trim().length ? n : " " : "" | |
} | |
var s = n("./node_modules/string-width/index.js"), | |
a = n("./node_modules/strip-ansi/index.js"), | |
i = n("./node_modules/wrap-ansi/index.js"), | |
u = { | |
right: function(e, t) { | |
e = e.trim(); | |
var n = "", | |
r = s(e); | |
return r < t && (n = new Array(t - r + 1).join(" ")), n + e | |
}, | |
center: function(e, t) { | |
e = e.trim(); | |
var n = "", | |
r = s(e.trim()); | |
return r < t && (n = new Array(parseInt((t - r) / 2, 10) + 1).join(" ")), n + e | |
} | |
}, | |
c = 1, | |
l = 3; | |
r.prototype.span = function() { | |
this.div.apply(this, arguments).span = !0 | |
}, r.prototype.div = function() { | |
if (0 === arguments.length && this.div(""), this.wrap && this._shouldApplyLayoutDSL.apply(this, arguments)) return this._applyLayoutDSL(arguments[0]); | |
for (var e, t = [], n = 0; void 0 !== (e = arguments[n]); n++) "string" == typeof e ? t.push(this._colFromString(e)) : t.push(e); | |
return this.rows.push(t), t | |
}, r.prototype._shouldApplyLayoutDSL = function() { | |
return 1 === arguments.length && "string" == typeof arguments[0] && /[\t\n]/.test(arguments[0]) | |
}, r.prototype._applyLayoutDSL = function(e) { | |
var t = this, | |
n = e.split("\n"), | |
r = 0; | |
return n.forEach(function(e) { | |
var n = e.split("\t"); | |
n.length > 1 && s(n[0]) > r && (r = Math.min(Math.floor(.5 * t.width), s(n[0]))) | |
}), n.forEach(function(e) { | |
var n = e.split("\t"); | |
t.div.apply(t, n.map(function(e, o) { | |
return { | |
text: e.trim(), | |
padding: t._measurePadding(e), | |
width: 0 === o && n.length > 1 ? r : void 0 | |
} | |
})) | |
}), this.rows[this.rows.length - 1] | |
}, r.prototype._colFromString = function(e) { | |
return { | |
text: e, | |
padding: this._measurePadding(e) | |
} | |
}, r.prototype._measurePadding = function(e) { | |
var t = a(e); | |
return [0, t.match(/\s*$/)[0].length, 0, t.match(/^\s*/)[0].length] | |
}, r.prototype.toString = function() { | |
var e = this, | |
t = []; | |
return e.rows.forEach(function(n, r) { | |
e.rowToString(n, t) | |
}), (t = t.filter(function(e) { | |
return !e.hidden | |
})).map(function(e) { | |
return e.text | |
}).join("\n") | |
}, r.prototype.rowToString = function(e, t) { | |
var n, r, a, i, d = this, | |
m = ""; | |
return this._rasterize(e).forEach(function(p, f) { | |
m = "", p.forEach(function(p, h) { | |
r = "", a = e[h].width, i = d._negatePadding(e[h]), r += p; | |
for (var v = 0; v < i - s(p); v++) r += " "; | |
e[h].align && "left" !== e[h].align && d.wrap && (r = u[e[h].align](r, i), s(r) < i && (r += new Array(a - s(r)).join(" "))), (n = e[h].padding || [0, 0, 0, 0])[l] && (m += new Array(n[l] + 1).join(" ")), m += o(e[h], r, "| "), m += r, m += o(e[h], r, " |"), n[c] && (m += new Array(n[c] + 1).join(" ")), 0 === f && t.length > 0 && (m = d._renderInline(m, t[t.length - 1])) | |
}), t.push({ | |
text: m.replace(/ +$/, ""), | |
span: e.span | |
}) | |
}), t | |
}, r.prototype._renderInline = function(e, t) { | |
var n = e.match(/^ */)[0].length, | |
r = t.text, | |
o = s(r.trimRight()); | |
return t.span ? this.wrap ? n < o ? e : (t.hidden = !0, r.trimRight() + new Array(n - o + 1).join(" ") + e.trimLeft()) : (t.hidden = !0, r + e) : e | |
}, r.prototype._rasterize = function(e) { | |
var t, n, r, o = this, | |
s = [], | |
a = this._columnWidths(e); | |
return e.forEach(function(e, u) { | |
if (e.width = a[u], r = o.wrap ? i(e.text, o._negatePadding(e), { | |
hard: !0 | |
}).split("\n") : e.text.split("\n"), e.border && (r.unshift("." + new Array(o._negatePadding(e) + 3).join("-") + "."), r.push("'" + new Array(o._negatePadding(e) + 3).join("-") + "'")), e.padding) { | |
for (t = 0; t < (e.padding[0] || 0); t++) r.unshift(""); | |
for (t = 0; t < (e.padding[2] || 0); t++) r.push("") | |
} | |
r.forEach(function(e, t) { | |
s[t] || s.push([]), n = s[t]; | |
for (var r = 0; r < u; r++) void 0 === n[r] && n.push(""); | |
n.push(e) | |
}) | |
}), s | |
}, r.prototype._negatePadding = function(e) { | |
var t = e.width; | |
return e.padding && (t -= (e.padding[l] || 0) + (e.padding[c] || 0)), e.border && (t -= 4), t | |
}, r.prototype._columnWidths = function(e) { | |
var t, n = this, | |
r = [], | |
o = e.length, | |
a = this.width; | |
return e.forEach(function(e, t) { | |
e.width ? (o--, r[t] = e.width, a -= e.width) : r[t] = void 0 | |
}), o && (t = Math.floor(a / o)), r.forEach(function(o, a) { | |
n.wrap ? void 0 === o && (r[a] = Math.max(t, function(e) { | |
var t = e.padding || [], | |
n = 1 + (t[l] || 0) + (t[c] || 0); | |
return e.border && (n += 4), n | |
}(e[a]))) : r[a] = e[a].width || s(e[a].text) | |
}), r | |
}, e.exports = function(e) { | |
return e = e || {}, new r({ | |
width: (e || {}).width || 80, | |
wrap: "boolean" != typeof e.wrap || e.wrap | |
}) | |
} | |
}, | |
"./node_modules/code-point-at/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e, t) { | |
if (null === e || void 0 === e) throw TypeError(); | |
var n = (e = String(e)).length, | |
r = t ? Number(t) : 0; | |
if (Number.isNaN(r) && (r = 0), !(r < 0 || r >= n)) { | |
var o = e.charCodeAt(r); | |
if (o >= 55296 && o <= 56319 && n > r + 1) { | |
var s = e.charCodeAt(r + 1); | |
if (s >= 56320 && s <= 57343) return 1024 * (o - 55296) + s - 56320 + 65536 | |
} | |
return o | |
} | |
} | |
}, | |
"./node_modules/compare-versions/index.js": function(e, t, n) { | |
var r, o, s; | |
! function(n, a) { | |
o = [], void 0 === (s = "function" == typeof(r = a) ? r.apply(t, o) : r) || (e.exports = s) | |
}(0, function() { | |
function e(e) { | |
var t = e.replace(/^v/, "").split("."), | |
n = t.splice(0, 2); | |
return n.push(t.join(".")), n | |
} | |
function t(e) { | |
return isNaN(Number(e)) ? e : Number(e) | |
} | |
function n(e) { | |
if ("string" != typeof e) throw new TypeError("Invalid argument expected string"); | |
if (!r.test(e)) throw new Error("Invalid argument not valid semver") | |
} | |
var r = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, | |
o = /-([0-9A-Za-z-.]+)/; | |
return function(r, s) { | |
[r, s].forEach(n); | |
for (var a = e(r), i = e(s), u = 0; u < 3; u++) { | |
var c = parseInt(a[u] || 0, 10), | |
l = parseInt(i[u] || 0, 10); | |
if (c > l) return 1; | |
if (l > c) return -1 | |
} | |
if ([a[2], i[2]].every(o.test.bind(o))) { | |
var d = o.exec(a[2])[1].split(".").map(t), | |
m = o.exec(i[2])[1].split(".").map(t); | |
for (u = 0; u < Math.max(d.length, m.length); u++) { | |
if (void 0 === d[u] || "string" == typeof m[u] && "number" == typeof d[u]) return -1; | |
if (void 0 === m[u] || "string" == typeof d[u] && "number" == typeof m[u]) return 1; | |
if (d[u] > m[u]) return 1; | |
if (m[u] > d[u]) return -1 | |
} | |
} else if ([a[2], i[2]].some(o.test.bind(o))) return o.test(a[2]) ? -1 : 1; | |
return 0 | |
} | |
}) | |
}, | |
"./node_modules/core-js/fn/regexp/escape.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/core.regexp.escape.js"), e.exports = n("./node_modules/core-js/modules/_core.js").RegExp.escape | |
}, | |
"./node_modules/core-js/modules/_a-function.js": function(e, t) { | |
e.exports = function(e) { | |
if ("function" != typeof e) throw TypeError(e + " is not a function!"); | |
return e | |
} | |
}, | |
"./node_modules/core-js/modules/_a-number-value.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_cof.js"); | |
e.exports = function(e, t) { | |
if ("number" != typeof e && "Number" != r(e)) throw TypeError(t); | |
return +e | |
} | |
}, | |
"./node_modules/core-js/modules/_add-to-unscopables.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_wks.js")("unscopables"), | |
o = Array.prototype; | |
void 0 == o[r] && n("./node_modules/core-js/modules/_hide.js")(o, r, {}), e.exports = function(e) { | |
o[r][e] = !0 | |
} | |
}, | |
"./node_modules/core-js/modules/_an-instance.js": function(e, t) { | |
e.exports = function(e, t, n, r) { | |
if (!(e instanceof t) || void 0 !== r && r in e) throw TypeError(n + ": incorrect invocation!"); | |
return e | |
} | |
}, | |
"./node_modules/core-js/modules/_an-object.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"); | |
e.exports = function(e) { | |
if (!r(e)) throw TypeError(e + " is not an object!"); | |
return e | |
} | |
}, | |
"./node_modules/core-js/modules/_array-copy-within.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_to-object.js"), | |
o = n("./node_modules/core-js/modules/_to-index.js"), | |
s = n("./node_modules/core-js/modules/_to-length.js"); | |
e.exports = [].copyWithin || function(e, t) { | |
var n = r(this), | |
a = s(n.length), | |
i = o(e, a), | |
u = o(t, a), | |
c = arguments.length > 2 ? arguments[2] : void 0, | |
l = Math.min((void 0 === c ? a : o(c, a)) - u, a - i), | |
d = 1; | |
for (u < i && i < u + l && (d = -1, u += l - 1, i += l - 1); l-- > 0;) u in n ? n[i] = n[u] : delete n[i], i += d, u += d; | |
return n | |
} | |
}, | |
"./node_modules/core-js/modules/_array-fill.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_to-object.js"), | |
o = n("./node_modules/core-js/modules/_to-index.js"), | |
s = n("./node_modules/core-js/modules/_to-length.js"); | |
e.exports = function(e) { | |
for (var t = r(this), n = s(t.length), a = arguments.length, i = o(a > 1 ? arguments[1] : void 0, n), u = a > 2 ? arguments[2] : void 0, c = void 0 === u ? n : o(u, n); c > i;) t[i++] = e; | |
return t | |
} | |
}, | |
"./node_modules/core-js/modules/_array-from-iterable.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_for-of.js"); | |
e.exports = function(e, t) { | |
var n = []; | |
return r(e, !1, n.push, n, t), n | |
} | |
}, | |
"./node_modules/core-js/modules/_array-includes.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-iobject.js"), | |
o = n("./node_modules/core-js/modules/_to-length.js"), | |
s = n("./node_modules/core-js/modules/_to-index.js"); | |
e.exports = function(e) { | |
return function(t, n, a) { | |
var i, u = r(t), | |
c = o(u.length), | |
l = s(a, c); | |
if (e && n != n) { | |
for (; c > l;) | |
if ((i = u[l++]) != i) return !0 | |
} else | |
for (; c > l; l++) | |
if ((e || l in u) && u[l] === n) return e || l || 0; | |
return !e && -1 | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_array-methods.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_ctx.js"), | |
o = n("./node_modules/core-js/modules/_iobject.js"), | |
s = n("./node_modules/core-js/modules/_to-object.js"), | |
a = n("./node_modules/core-js/modules/_to-length.js"), | |
i = n("./node_modules/core-js/modules/_array-species-create.js"); | |
e.exports = function(e, t) { | |
var n = 1 == e, | |
u = 2 == e, | |
c = 3 == e, | |
l = 4 == e, | |
d = 6 == e, | |
m = 5 == e || d, | |
p = t || i; | |
return function(t, i, f) { | |
for (var h, v, _ = s(t), g = o(_), y = r(i, f, 3), b = a(g.length), j = 0, x = n ? p(t, b) : u ? p(t, 0) : void 0; b > j; j++) | |
if ((m || j in g) && (h = g[j], v = y(h, j, _), e)) | |
if (n) x[j] = v; | |
else if (v) switch (e) { | |
case 3: | |
return !0; | |
case 5: | |
return h; | |
case 6: | |
return j; | |
case 2: | |
x.push(h) | |
} else if (l) return !1; | |
return d ? -1 : c || l ? l : x | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_array-reduce.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_a-function.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_iobject.js"), | |
a = n("./node_modules/core-js/modules/_to-length.js"); | |
e.exports = function(e, t, n, i, u) { | |
r(t); | |
var c = o(e), | |
l = s(c), | |
d = a(c.length), | |
m = u ? d - 1 : 0, | |
p = u ? -1 : 1; | |
if (n < 2) | |
for (;;) { | |
if (m in l) { | |
i = l[m], m += p; | |
break | |
} | |
if (m += p, u ? m < 0 : d <= m) throw TypeError("Reduce of empty array with no initial value") | |
} | |
for (; u ? m >= 0 : d > m; m += p) m in l && (i = t(i, l[m], m, c)); | |
return i | |
} | |
}, | |
"./node_modules/core-js/modules/_array-species-constructor.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_is-array.js"), | |
s = n("./node_modules/core-js/modules/_wks.js")("species"); | |
e.exports = function(e) { | |
var t; | |
return o(e) && ("function" != typeof(t = e.constructor) || t !== Array && !o(t.prototype) || (t = void 0), r(t) && null === (t = t[s]) && (t = void 0)), void 0 === t ? Array : t | |
} | |
}, | |
"./node_modules/core-js/modules/_array-species-create.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_array-species-constructor.js"); | |
e.exports = function(e, t) { | |
return new(r(e))(t) | |
} | |
}, | |
"./node_modules/core-js/modules/_bind.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_a-function.js"), | |
o = n("./node_modules/core-js/modules/_is-object.js"), | |
s = n("./node_modules/core-js/modules/_invoke.js"), | |
a = [].slice, | |
i = {}; | |
e.exports = Function.bind || function(e) { | |
var t = r(this), | |
n = a.call(arguments, 1), | |
u = function() { | |
var r = n.concat(a.call(arguments)); | |
return this instanceof u ? function(e, t, n) { | |
if (!(t in i)) { | |
for (var r = [], o = 0; o < t; o++) r[o] = "a[" + o + "]"; | |
i[t] = Function("F,a", "return new F(" + r.join(",") + ")") | |
} | |
return i[t](e, n) | |
}(t, r.length, r) : s(t, r, e) | |
}; | |
return o(t.prototype) && (u.prototype = t.prototype), u | |
} | |
}, | |
"./node_modules/core-js/modules/_classof.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_cof.js"), | |
o = n("./node_modules/core-js/modules/_wks.js")("toStringTag"), | |
s = "Arguments" == r(function() { | |
return arguments | |
}()); | |
e.exports = function(e) { | |
var t, n, a; | |
return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof(n = function(e, t) { | |
try { | |
return e[t] | |
} catch (e) {} | |
}(t = Object(e), o)) ? n : s ? r(t) : "Object" == (a = r(t)) && "function" == typeof t.callee ? "Arguments" : a | |
} | |
}, | |
"./node_modules/core-js/modules/_cof.js": function(e, t) { | |
var n = {}.toString; | |
e.exports = function(e) { | |
return n.call(e).slice(8, -1) | |
} | |
}, | |
"./node_modules/core-js/modules/_collection-strong.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_object-dp.js").f, | |
o = n("./node_modules/core-js/modules/_object-create.js"), | |
s = n("./node_modules/core-js/modules/_redefine-all.js"), | |
a = n("./node_modules/core-js/modules/_ctx.js"), | |
i = n("./node_modules/core-js/modules/_an-instance.js"), | |
u = n("./node_modules/core-js/modules/_defined.js"), | |
c = n("./node_modules/core-js/modules/_for-of.js"), | |
l = n("./node_modules/core-js/modules/_iter-define.js"), | |
d = n("./node_modules/core-js/modules/_iter-step.js"), | |
m = n("./node_modules/core-js/modules/_set-species.js"), | |
p = n("./node_modules/core-js/modules/_descriptors.js"), | |
f = n("./node_modules/core-js/modules/_meta.js").fastKey, | |
h = p ? "_s" : "size", | |
v = function(e, t) { | |
var n, r = f(t); | |
if ("F" !== r) return e._i[r]; | |
for (n = e._f; n; n = n.n) | |
if (n.k == t) return n | |
}; | |
e.exports = { | |
getConstructor: function(e, t, n, l) { | |
var d = e(function(e, r) { | |
i(e, d, t, "_i"), e._i = o(null), e._f = void 0, e._l = void 0, e[h] = 0, void 0 != r && c(r, n, e[l], e) | |
}); | |
return s(d.prototype, { | |
clear: function() { | |
for (var e = this._i, t = this._f; t; t = t.n) t.r = !0, t.p && (t.p = t.p.n = void 0), delete e[t.i]; | |
this._f = this._l = void 0, this[h] = 0 | |
}, | |
delete: function(e) { | |
var t = v(this, e); | |
if (t) { | |
var n = t.n, | |
r = t.p; | |
delete this._i[t.i], t.r = !0, r && (r.n = n), n && (n.p = r), this._f == t && (this._f = n), this._l == t && (this._l = r), this[h]-- | |
} | |
return !!t | |
}, | |
forEach: function(e) { | |
i(this, d, "forEach"); | |
for (var t, n = a(e, arguments.length > 1 ? arguments[1] : void 0, 3); t = t ? t.n : this._f;) | |
for (n(t.v, t.k, this); t && t.r;) t = t.p | |
}, | |
has: function(e) { | |
return !!v(this, e) | |
} | |
}), p && r(d.prototype, "size", { | |
get: function() { | |
return u(this[h]) | |
} | |
}), d | |
}, | |
def: function(e, t, n) { | |
var r, o, s = v(e, t); | |
return s ? s.v = n : (e._l = s = { | |
i: o = f(t, !0), | |
k: t, | |
v: n, | |
p: r = e._l, | |
n: void 0, | |
r: !1 | |
}, e._f || (e._f = s), r && (r.n = s), e[h]++, "F" !== o && (e._i[o] = s)), e | |
}, | |
getEntry: v, | |
setStrong: function(e, t, n) { | |
l(e, t, function(e, t) { | |
this._t = e, this._k = t, this._l = void 0 | |
}, function() { | |
for (var e = this._k, t = this._l; t && t.r;) t = t.p; | |
return this._t && (this._l = t = t ? t.n : this._t._f) ? d(0, "keys" == e ? t.k : "values" == e ? t.v : [t.k, t.v]) : (this._t = void 0, d(1)) | |
}, n ? "entries" : "values", !n, !0), m(t) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_collection-to-json.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_classof.js"), | |
o = n("./node_modules/core-js/modules/_array-from-iterable.js"); | |
e.exports = function(e) { | |
return function() { | |
if (r(this) != e) throw TypeError(e + "#toJSON isn't generic"); | |
return o(this) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_collection-weak.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_redefine-all.js"), | |
o = n("./node_modules/core-js/modules/_meta.js").getWeak, | |
s = n("./node_modules/core-js/modules/_an-object.js"), | |
a = n("./node_modules/core-js/modules/_is-object.js"), | |
i = n("./node_modules/core-js/modules/_an-instance.js"), | |
u = n("./node_modules/core-js/modules/_for-of.js"), | |
c = n("./node_modules/core-js/modules/_array-methods.js"), | |
l = n("./node_modules/core-js/modules/_has.js"), | |
d = c(5), | |
m = c(6), | |
p = 0, | |
f = function(e) { | |
return e._l || (e._l = new h) | |
}, | |
h = function() { | |
this.a = [] | |
}, | |
v = function(e, t) { | |
return d(e.a, function(e) { | |
return e[0] === t | |
}) | |
}; | |
h.prototype = { | |
get: function(e) { | |
var t = v(this, e); | |
if (t) return t[1] | |
}, | |
has: function(e) { | |
return !!v(this, e) | |
}, | |
set: function(e, t) { | |
var n = v(this, e); | |
n ? n[1] = t : this.a.push([e, t]) | |
}, | |
delete: function(e) { | |
var t = m(this.a, function(t) { | |
return t[0] === e | |
}); | |
return ~t && this.a.splice(t, 1), !!~t | |
} | |
}, e.exports = { | |
getConstructor: function(e, t, n, s) { | |
var c = e(function(e, r) { | |
i(e, c, t, "_i"), e._i = p++, e._l = void 0, void 0 != r && u(r, n, e[s], e) | |
}); | |
return r(c.prototype, { | |
delete: function(e) { | |
if (!a(e)) return !1; | |
var t = o(e); | |
return !0 === t ? f(this).delete(e) : t && l(t, this._i) && delete t[this._i] | |
}, | |
has: function(e) { | |
if (!a(e)) return !1; | |
var t = o(e); | |
return !0 === t ? f(this).has(e) : t && l(t, this._i) | |
} | |
}), c | |
}, | |
def: function(e, t, n) { | |
var r = o(s(t), !0); | |
return !0 === r ? f(e).set(t, n) : r[e._i] = n, e | |
}, | |
ufstore: f | |
} | |
}, | |
"./node_modules/core-js/modules/_collection.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_redefine.js"), | |
a = n("./node_modules/core-js/modules/_redefine-all.js"), | |
i = n("./node_modules/core-js/modules/_meta.js"), | |
u = n("./node_modules/core-js/modules/_for-of.js"), | |
c = n("./node_modules/core-js/modules/_an-instance.js"), | |
l = n("./node_modules/core-js/modules/_is-object.js"), | |
d = n("./node_modules/core-js/modules/_fails.js"), | |
m = n("./node_modules/core-js/modules/_iter-detect.js"), | |
p = n("./node_modules/core-js/modules/_set-to-string-tag.js"), | |
f = n("./node_modules/core-js/modules/_inherit-if-required.js"); | |
e.exports = function(e, t, n, h, v, _) { | |
var g = r[e], | |
y = g, | |
b = v ? "set" : "add", | |
j = y && y.prototype, | |
x = {}, | |
w = function(e) { | |
var t = j[e]; | |
s(j, e, "delete" == e ? function(e) { | |
return !(_ && !l(e)) && t.call(this, 0 === e ? 0 : e) | |
} : "has" == e ? function(e) { | |
return !(_ && !l(e)) && t.call(this, 0 === e ? 0 : e) | |
} : "get" == e ? function(e) { | |
return _ && !l(e) ? void 0 : t.call(this, 0 === e ? 0 : e) | |
} : "add" == e ? function(e) { | |
return t.call(this, 0 === e ? 0 : e), this | |
} : function(e, n) { | |
return t.call(this, 0 === e ? 0 : e, n), this | |
}) | |
}; | |
if ("function" == typeof y && (_ || j.forEach && !d(function() { | |
(new y).entries().next() | |
}))) { | |
var k = new y, | |
E = k[b](_ ? {} : -0, 1) != k, | |
S = d(function() { | |
k.has(1) | |
}), | |
L = m(function(e) { | |
new y(e) | |
}), | |
M = !_ && d(function() { | |
for (var e = new y, t = 5; t--;) e[b](t, t); | |
return !e.has(-0) | |
}); | |
L || ((y = t(function(t, n) { | |
c(t, y, e); | |
var r = f(new g, t, y); | |
return void 0 != n && u(n, v, r[b], r), r | |
})).prototype = j, j.constructor = y), (S || M) && (w("delete"), w("has"), v && w("get")), (M || E) && w(b), _ && j.clear && delete j.clear | |
} else y = h.getConstructor(t, e, v, b), a(y.prototype, n), i.NEED = !0; | |
return p(y, e), x[e] = y, o(o.G + o.W + o.F * (y != g), x), _ || h.setStrong(y, e, v), y | |
} | |
}, | |
"./node_modules/core-js/modules/_core.js": function(e, t) { | |
var n = e.exports = { | |
version: "2.4.0" | |
}; | |
"number" == typeof __e && (__e = n) | |
}, | |
"./node_modules/core-js/modules/_create-property.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_object-dp.js"), | |
o = n("./node_modules/core-js/modules/_property-desc.js"); | |
e.exports = function(e, t, n) { | |
t in e ? r.f(e, t, o(0, n)) : e[t] = n | |
} | |
}, | |
"./node_modules/core-js/modules/_ctx.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_a-function.js"); | |
e.exports = function(e, t, n) { | |
if (r(e), void 0 === t) return e; | |
switch (n) { | |
case 1: | |
return function(n) { | |
return e.call(t, n) | |
}; | |
case 2: | |
return function(n, r) { | |
return e.call(t, n, r) | |
}; | |
case 3: | |
return function(n, r, o) { | |
return e.call(t, n, r, o) | |
} | |
} | |
return function() { | |
return e.apply(t, arguments) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_date-to-primitive.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_an-object.js"), | |
o = n("./node_modules/core-js/modules/_to-primitive.js"); | |
e.exports = function(e) { | |
if ("string" !== e && "number" !== e && "default" !== e) throw TypeError("Incorrect hint"); | |
return o(r(this), "number" != e) | |
} | |
}, | |
"./node_modules/core-js/modules/_defined.js": function(e, t) { | |
e.exports = function(e) { | |
if (void 0 == e) throw TypeError("Can't call method on " + e); | |
return e | |
} | |
}, | |
"./node_modules/core-js/modules/_descriptors.js": function(e, t, n) { | |
e.exports = !n("./node_modules/core-js/modules/_fails.js")(function() { | |
return 7 != Object.defineProperty({}, "a", { | |
get: function() { | |
return 7 | |
} | |
}).a | |
}) | |
}, | |
"./node_modules/core-js/modules/_dom-create.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_global.js").document, | |
s = r(o) && r(o.createElement); | |
e.exports = function(e) { | |
return s ? o.createElement(e) : {} | |
} | |
}, | |
"./node_modules/core-js/modules/_enum-bug-keys.js": function(e, t) { | |
e.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",") | |
}, | |
"./node_modules/core-js/modules/_enum-keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-keys.js"), | |
o = n("./node_modules/core-js/modules/_object-gops.js"), | |
s = n("./node_modules/core-js/modules/_object-pie.js"); | |
e.exports = function(e) { | |
var t = r(e), | |
n = o.f; | |
if (n) | |
for (var a, i = n(e), u = s.f, c = 0; i.length > c;) u.call(e, a = i[c++]) && t.push(a); | |
return t | |
} | |
}, | |
"./node_modules/core-js/modules/_export.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_core.js"), | |
s = n("./node_modules/core-js/modules/_hide.js"), | |
a = n("./node_modules/core-js/modules/_redefine.js"), | |
i = n("./node_modules/core-js/modules/_ctx.js"), | |
u = function(e, t, n) { | |
var c, l, d, m, p = e & u.F, | |
f = e & u.G, | |
h = e & u.S, | |
v = e & u.P, | |
_ = e & u.B, | |
g = f ? r : h ? r[t] || (r[t] = {}) : (r[t] || {}).prototype, | |
y = f ? o : o[t] || (o[t] = {}), | |
b = y.prototype || (y.prototype = {}); | |
f && (n = t); | |
for (c in n) d = ((l = !p && g && void 0 !== g[c]) ? g : n)[c], m = _ && l ? i(d, r) : v && "function" == typeof d ? i(Function.call, d) : d, g && a(g, c, d, e & u.U), y[c] != d && s(y, c, m), v && b[c] != d && (b[c] = d) | |
}; | |
r.core = o, u.F = 1, u.G = 2, u.S = 4, u.P = 8, u.B = 16, u.W = 32, u.U = 64, u.R = 128, e.exports = u | |
}, | |
"./node_modules/core-js/modules/_fails-is-regexp.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_wks.js")("match"); | |
e.exports = function(e) { | |
var t = /./; | |
try { | |
"/./" [e](t) | |
} catch (n) { | |
try { | |
return t[r] = !1, !"/./" [e](t) | |
} catch (e) {} | |
} | |
return !0 | |
} | |
}, | |
"./node_modules/core-js/modules/_fails.js": function(e, t) { | |
e.exports = function(e) { | |
try { | |
return !!e() | |
} catch (e) { | |
return !0 | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_fix-re-wks.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_hide.js"), | |
o = n("./node_modules/core-js/modules/_redefine.js"), | |
s = n("./node_modules/core-js/modules/_fails.js"), | |
a = n("./node_modules/core-js/modules/_defined.js"), | |
i = n("./node_modules/core-js/modules/_wks.js"); | |
e.exports = function(e, t, n) { | |
var u = i(e), | |
c = n(a, u, "" [e]), | |
l = c[0], | |
d = c[1]; | |
s(function() { | |
var t = {}; | |
return t[u] = function() { | |
return 7 | |
}, 7 != "" [e](t) | |
}) && (o(String.prototype, e, l), r(RegExp.prototype, u, 2 == t ? function(e, t) { | |
return d.call(e, this, t) | |
} : function(e) { | |
return d.call(e, this) | |
})) | |
} | |
}, | |
"./node_modules/core-js/modules/_flags.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_an-object.js"); | |
e.exports = function() { | |
var e = r(this), | |
t = ""; | |
return e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), e.unicode && (t += "u"), e.sticky && (t += "y"), t | |
} | |
}, | |
"./node_modules/core-js/modules/_for-of.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_ctx.js"), | |
o = n("./node_modules/core-js/modules/_iter-call.js"), | |
s = n("./node_modules/core-js/modules/_is-array-iter.js"), | |
a = n("./node_modules/core-js/modules/_an-object.js"), | |
i = n("./node_modules/core-js/modules/_to-length.js"), | |
u = n("./node_modules/core-js/modules/core.get-iterator-method.js"), | |
c = {}, | |
l = {}; | |
(t = e.exports = function(e, t, n, d, m) { | |
var p, f, h, v, _ = m ? function() { | |
return e | |
} : u(e), | |
g = r(n, d, t ? 2 : 1), | |
y = 0; | |
if ("function" != typeof _) throw TypeError(e + " is not iterable!"); | |
if (s(_)) { | |
for (p = i(e.length); p > y; y++) | |
if ((v = t ? g(a(f = e[y])[0], f[1]) : g(e[y])) === c || v === l) return v | |
} else | |
for (h = _.call(e); !(f = h.next()).done;) | |
if ((v = o(h, g, f.value, t)) === c || v === l) return v | |
}).BREAK = c, t.RETURN = l | |
}, | |
"./node_modules/core-js/modules/_global.js": function(e, t) { | |
var n = e.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); | |
"number" == typeof __g && (__g = n) | |
}, | |
"./node_modules/core-js/modules/_has.js": function(e, t) { | |
var n = {}.hasOwnProperty; | |
e.exports = function(e, t) { | |
return n.call(e, t) | |
} | |
}, | |
"./node_modules/core-js/modules/_hide.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-dp.js"), | |
o = n("./node_modules/core-js/modules/_property-desc.js"); | |
e.exports = n("./node_modules/core-js/modules/_descriptors.js") ? function(e, t, n) { | |
return r.f(e, t, o(1, n)) | |
} : function(e, t, n) { | |
return e[t] = n, e | |
} | |
}, | |
"./node_modules/core-js/modules/_html.js": function(e, t, n) { | |
e.exports = n("./node_modules/core-js/modules/_global.js").document && document.documentElement | |
}, | |
"./node_modules/core-js/modules/_ie8-dom-define.js": function(e, t, n) { | |
e.exports = !n("./node_modules/core-js/modules/_descriptors.js") && !n("./node_modules/core-js/modules/_fails.js")(function() { | |
return 7 != Object.defineProperty(n("./node_modules/core-js/modules/_dom-create.js")("div"), "a", { | |
get: function() { | |
return 7 | |
} | |
}).a | |
}) | |
}, | |
"./node_modules/core-js/modules/_inherit-if-required.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_set-proto.js").set; | |
e.exports = function(e, t, n) { | |
var s, a = t.constructor; | |
return a !== n && "function" == typeof a && (s = a.prototype) !== n.prototype && r(s) && o && o(e, s), e | |
} | |
}, | |
"./node_modules/core-js/modules/_invoke.js": function(e, t) { | |
e.exports = function(e, t, n) { | |
var r = void 0 === n; | |
switch (t.length) { | |
case 0: | |
return r ? e() : e.call(n); | |
case 1: | |
return r ? e(t[0]) : e.call(n, t[0]); | |
case 2: | |
return r ? e(t[0], t[1]) : e.call(n, t[0], t[1]); | |
case 3: | |
return r ? e(t[0], t[1], t[2]) : e.call(n, t[0], t[1], t[2]); | |
case 4: | |
return r ? e(t[0], t[1], t[2], t[3]) : e.call(n, t[0], t[1], t[2], t[3]) | |
} | |
return e.apply(n, t) | |
} | |
}, | |
"./node_modules/core-js/modules/_iobject.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_cof.js"); | |
e.exports = Object("z").propertyIsEnumerable(0) ? Object : function(e) { | |
return "String" == r(e) ? e.split("") : Object(e) | |
} | |
}, | |
"./node_modules/core-js/modules/_is-array-iter.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_iterators.js"), | |
o = n("./node_modules/core-js/modules/_wks.js")("iterator"), | |
s = Array.prototype; | |
e.exports = function(e) { | |
return void 0 !== e && (r.Array === e || s[o] === e) | |
} | |
}, | |
"./node_modules/core-js/modules/_is-array.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_cof.js"); | |
e.exports = Array.isArray || function(e) { | |
return "Array" == r(e) | |
} | |
}, | |
"./node_modules/core-js/modules/_is-integer.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = Math.floor; | |
e.exports = function(e) { | |
return !r(e) && isFinite(e) && o(e) === e | |
} | |
}, | |
"./node_modules/core-js/modules/_is-object.js": function(e, t) { | |
e.exports = function(e) { | |
return "object" == typeof e ? null !== e : "function" == typeof e | |
} | |
}, | |
"./node_modules/core-js/modules/_is-regexp.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_cof.js"), | |
s = n("./node_modules/core-js/modules/_wks.js")("match"); | |
e.exports = function(e) { | |
var t; | |
return r(e) && (void 0 !== (t = e[s]) ? !!t : "RegExp" == o(e)) | |
} | |
}, | |
"./node_modules/core-js/modules/_iter-call.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_an-object.js"); | |
e.exports = function(e, t, n, o) { | |
try { | |
return o ? t(r(n)[0], n[1]) : t(n) | |
} catch (t) { | |
var s = e.return; | |
throw void 0 !== s && r(s.call(e)), t | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_iter-create.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_object-create.js"), | |
o = n("./node_modules/core-js/modules/_property-desc.js"), | |
s = n("./node_modules/core-js/modules/_set-to-string-tag.js"), | |
a = {}; | |
n("./node_modules/core-js/modules/_hide.js")(a, n("./node_modules/core-js/modules/_wks.js")("iterator"), function() { | |
return this | |
}), e.exports = function(e, t, n) { | |
e.prototype = r(a, { | |
next: o(1, n) | |
}), s(e, t + " Iterator") | |
} | |
}, | |
"./node_modules/core-js/modules/_iter-define.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_library.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_redefine.js"), | |
a = n("./node_modules/core-js/modules/_hide.js"), | |
i = n("./node_modules/core-js/modules/_has.js"), | |
u = n("./node_modules/core-js/modules/_iterators.js"), | |
c = n("./node_modules/core-js/modules/_iter-create.js"), | |
l = n("./node_modules/core-js/modules/_set-to-string-tag.js"), | |
d = n("./node_modules/core-js/modules/_object-gpo.js"), | |
m = n("./node_modules/core-js/modules/_wks.js")("iterator"), | |
p = !([].keys && "next" in [].keys()), | |
f = function() { | |
return this | |
}; | |
e.exports = function(e, t, n, h, v, _, g) { | |
c(n, t, h); | |
var y, b, j, x = function(e) { | |
if (!p && e in S) return S[e]; | |
switch (e) { | |
case "keys": | |
case "values": | |
return function() { | |
return new n(this, e) | |
} | |
} | |
return function() { | |
return new n(this, e) | |
} | |
}, | |
w = t + " Iterator", | |
k = "values" == v, | |
E = !1, | |
S = e.prototype, | |
L = S[m] || S["@@iterator"] || v && S[v], | |
M = L || x(v), | |
D = v ? k ? x("entries") : M : void 0, | |
T = "Array" == t ? S.entries || L : L; | |
if (T && (j = d(T.call(new e))) !== Object.prototype && (l(j, w, !0), r || i(j, m) || a(j, m, f)), k && L && "values" !== L.name && (E = !0, M = function() { | |
return L.call(this) | |
}), r && !g || !p && !E && S[m] || a(S, m, M), u[t] = M, u[w] = f, v) | |
if (y = { | |
values: k ? M : x("values"), | |
keys: _ ? M : x("keys"), | |
entries: D | |
}, g) | |
for (b in y) b in S || s(S, b, y[b]); | |
else o(o.P + o.F * (p || E), t, y); | |
return y | |
} | |
}, | |
"./node_modules/core-js/modules/_iter-detect.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_wks.js")("iterator"), | |
o = !1; | |
try { | |
var s = [7][r](); | |
s.return = function() { | |
o = !0 | |
}, Array.from(s, function() { | |
throw 2 | |
}) | |
} catch (e) {} | |
e.exports = function(e, t) { | |
if (!t && !o) return !1; | |
var n = !1; | |
try { | |
var s = [7], | |
a = s[r](); | |
a.next = function() { | |
return { | |
done: n = !0 | |
} | |
}, s[r] = function() { | |
return a | |
}, e(s) | |
} catch (e) {} | |
return n | |
} | |
}, | |
"./node_modules/core-js/modules/_iter-step.js": function(e, t) { | |
e.exports = function(e, t) { | |
return { | |
value: t, | |
done: !!e | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_iterators.js": function(e, t) { | |
e.exports = {} | |
}, | |
"./node_modules/core-js/modules/_keyof.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-keys.js"), | |
o = n("./node_modules/core-js/modules/_to-iobject.js"); | |
e.exports = function(e, t) { | |
for (var n, s = o(e), a = r(s), i = a.length, u = 0; i > u;) | |
if (s[n = a[u++]] === t) return n | |
} | |
}, | |
"./node_modules/core-js/modules/_library.js": function(e, t) { | |
e.exports = !1 | |
}, | |
"./node_modules/core-js/modules/_math-expm1.js": function(e, t) { | |
var n = Math.expm1; | |
e.exports = !n || n(10) > 22025.465794806718 || n(10) < 22025.465794806718 || -2e-17 != n(-2e-17) ? function(e) { | |
return 0 == (e = +e) ? e : e > -1e-6 && e < 1e-6 ? e + e * e / 2 : Math.exp(e) - 1 | |
} : n | |
}, | |
"./node_modules/core-js/modules/_math-log1p.js": function(e, t) { | |
e.exports = Math.log1p || function(e) { | |
return (e = +e) > -1e-8 && e < 1e-8 ? e - e * e / 2 : Math.log(1 + e) | |
} | |
}, | |
"./node_modules/core-js/modules/_math-sign.js": function(e, t) { | |
e.exports = Math.sign || function(e) { | |
return 0 == (e = +e) || e != e ? e : e < 0 ? -1 : 1 | |
} | |
}, | |
"./node_modules/core-js/modules/_meta.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_uid.js")("meta"), | |
o = n("./node_modules/core-js/modules/_is-object.js"), | |
s = n("./node_modules/core-js/modules/_has.js"), | |
a = n("./node_modules/core-js/modules/_object-dp.js").f, | |
i = 0, | |
u = Object.isExtensible || function() { | |
return !0 | |
}, | |
c = !n("./node_modules/core-js/modules/_fails.js")(function() { | |
return u(Object.preventExtensions({})) | |
}), | |
l = function(e) { | |
a(e, r, { | |
value: { | |
i: "O" + ++i, | |
w: {} | |
} | |
}) | |
}, | |
d = e.exports = { | |
KEY: r, | |
NEED: !1, | |
fastKey: function(e, t) { | |
if (!o(e)) return "symbol" == typeof e ? e : ("string" == typeof e ? "S" : "P") + e; | |
if (!s(e, r)) { | |
if (!u(e)) return "F"; | |
if (!t) return "E"; | |
l(e) | |
} | |
return e[r].i | |
}, | |
getWeak: function(e, t) { | |
if (!s(e, r)) { | |
if (!u(e)) return !0; | |
if (!t) return !1; | |
l(e) | |
} | |
return e[r].w | |
}, | |
onFreeze: function(e) { | |
return c && d.NEED && u(e) && !s(e, r) && l(e), e | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/es6.map.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_shared.js")("metadata"), | |
a = s.store || (s.store = new(n("./node_modules/core-js/modules/es6.weak-map.js"))), | |
i = function(e, t, n) { | |
var o = a.get(e); | |
if (!o) { | |
if (!n) return; | |
a.set(e, o = new r) | |
} | |
var s = o.get(t); | |
if (!s) { | |
if (!n) return; | |
o.set(t, s = new r) | |
} | |
return s | |
}; | |
e.exports = { | |
store: a, | |
map: i, | |
has: function(e, t, n) { | |
var r = i(t, n, !1); | |
return void 0 !== r && r.has(e) | |
}, | |
get: function(e, t, n) { | |
var r = i(t, n, !1); | |
return void 0 === r ? void 0 : r.get(e) | |
}, | |
set: function(e, t, n, r) { | |
i(n, r, !0).set(e, t) | |
}, | |
keys: function(e, t) { | |
var n = i(e, t, !1), | |
r = []; | |
return n && n.forEach(function(e, t) { | |
r.push(t) | |
}), r | |
}, | |
key: function(e) { | |
return void 0 === e || "symbol" == typeof e ? e : String(e) | |
}, | |
exp: function(e) { | |
o(o.S, "Reflect", e) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_microtask.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_task.js").set, | |
s = r.MutationObserver || r.WebKitMutationObserver, | |
a = r.process, | |
i = r.Promise, | |
u = "process" == n("./node_modules/core-js/modules/_cof.js")(a); | |
e.exports = function() { | |
var e, t, n, c = function() { | |
var r, o; | |
for (u && (r = a.domain) && r.exit(); e;) { | |
o = e.fn, e = e.next; | |
try { | |
o() | |
} catch (r) { | |
throw e ? n() : t = void 0, r | |
} | |
} | |
t = void 0, r && r.enter() | |
}; | |
if (u) n = function() { | |
a.nextTick(c) | |
}; | |
else if (s) { | |
var l = !0, | |
d = document.createTextNode(""); | |
new s(c).observe(d, { | |
characterData: !0 | |
}), n = function() { | |
d.data = l = !l | |
} | |
} else if (i && i.resolve) { | |
var m = i.resolve(); | |
n = function() { | |
m.then(c) | |
} | |
} else n = function() { | |
o.call(r, c) | |
}; | |
return function(r) { | |
var o = { | |
fn: r, | |
next: void 0 | |
}; | |
t && (t.next = o), e || (e = o, n()), t = o | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_object-assign.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_object-keys.js"), | |
o = n("./node_modules/core-js/modules/_object-gops.js"), | |
s = n("./node_modules/core-js/modules/_object-pie.js"), | |
a = n("./node_modules/core-js/modules/_to-object.js"), | |
i = n("./node_modules/core-js/modules/_iobject.js"), | |
u = Object.assign; | |
e.exports = !u || n("./node_modules/core-js/modules/_fails.js")(function() { | |
var e = {}, | |
t = {}, | |
n = Symbol(), | |
r = "abcdefghijklmnopqrst"; | |
return e[n] = 7, r.split("").forEach(function(e) { | |
t[e] = e | |
}), 7 != u({}, e)[n] || Object.keys(u({}, t)).join("") != r | |
}) ? function(e, t) { | |
for (var n = a(e), u = arguments.length, c = 1, l = o.f, d = s.f; u > c;) | |
for (var m, p = i(arguments[c++]), f = l ? r(p).concat(l(p)) : r(p), h = f.length, v = 0; h > v;) d.call(p, m = f[v++]) && (n[m] = p[m]); | |
return n | |
} : u | |
}, | |
"./node_modules/core-js/modules/_object-create.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_an-object.js"), | |
o = n("./node_modules/core-js/modules/_object-dps.js"), | |
s = n("./node_modules/core-js/modules/_enum-bug-keys.js"), | |
a = n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"), | |
i = function() {}, | |
u = function() { | |
var e, t = n("./node_modules/core-js/modules/_dom-create.js")("iframe"), | |
r = s.length; | |
for (t.style.display = "none", n("./node_modules/core-js/modules/_html.js").appendChild(t), t.src = "javascript:", (e = t.contentWindow.document).open(), e.write("<script>document.F=Object<\/script>"), e.close(), u = e.F; r--;) delete u.prototype[s[r]]; | |
return u() | |
}; | |
e.exports = Object.create || function(e, t) { | |
var n; | |
return null !== e ? (i.prototype = r(e), n = new i, i.prototype = null, n[a] = e) : n = u(), void 0 === t ? n : o(n, t) | |
} | |
}, | |
"./node_modules/core-js/modules/_object-dp.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_an-object.js"), | |
o = n("./node_modules/core-js/modules/_ie8-dom-define.js"), | |
s = n("./node_modules/core-js/modules/_to-primitive.js"), | |
a = Object.defineProperty; | |
t.f = n("./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function(e, t, n) { | |
if (r(e), t = s(t, !0), r(n), o) try { | |
return a(e, t, n) | |
} catch (e) {} | |
if ("get" in n || "set" in n) throw TypeError("Accessors not supported!"); | |
return "value" in n && (e[t] = n.value), e | |
} | |
}, | |
"./node_modules/core-js/modules/_object-dps.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-dp.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = n("./node_modules/core-js/modules/_object-keys.js"); | |
e.exports = n("./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function(e, t) { | |
o(e); | |
for (var n, a = s(t), i = a.length, u = 0; i > u;) r.f(e, n = a[u++], t[n]); | |
return e | |
} | |
}, | |
"./node_modules/core-js/modules/_object-forced-pam.js": function(e, t, n) { | |
e.exports = n("./node_modules/core-js/modules/_library.js") || !n("./node_modules/core-js/modules/_fails.js")(function() { | |
var e = Math.random(); | |
__defineSetter__.call(null, e, function() {}), delete n("./node_modules/core-js/modules/_global.js")[e] | |
}) | |
}, | |
"./node_modules/core-js/modules/_object-gopd.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-pie.js"), | |
o = n("./node_modules/core-js/modules/_property-desc.js"), | |
s = n("./node_modules/core-js/modules/_to-iobject.js"), | |
a = n("./node_modules/core-js/modules/_to-primitive.js"), | |
i = n("./node_modules/core-js/modules/_has.js"), | |
u = n("./node_modules/core-js/modules/_ie8-dom-define.js"), | |
c = Object.getOwnPropertyDescriptor; | |
t.f = n("./node_modules/core-js/modules/_descriptors.js") ? c : function(e, t) { | |
if (e = s(e), t = a(t, !0), u) try { | |
return c(e, t) | |
} catch (e) {} | |
if (i(e, t)) return o(!r.f.call(e, t), e[t]) | |
} | |
}, | |
"./node_modules/core-js/modules/_object-gopn-ext.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-iobject.js"), | |
o = n("./node_modules/core-js/modules/_object-gopn.js").f, | |
s = {}.toString, | |
a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; | |
e.exports.f = function(e) { | |
return a && "[object Window]" == s.call(e) ? function(e) { | |
try { | |
return o(e) | |
} catch (e) { | |
return a.slice() | |
} | |
}(e) : o(r(e)) | |
} | |
}, | |
"./node_modules/core-js/modules/_object-gopn.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-keys-internal.js"), | |
o = n("./node_modules/core-js/modules/_enum-bug-keys.js").concat("length", "prototype"); | |
t.f = Object.getOwnPropertyNames || function(e) { | |
return r(e, o) | |
} | |
}, | |
"./node_modules/core-js/modules/_object-gops.js": function(e, t) { | |
t.f = Object.getOwnPropertySymbols | |
}, | |
"./node_modules/core-js/modules/_object-gpo.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_has.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"), | |
a = Object.prototype; | |
e.exports = Object.getPrototypeOf || function(e) { | |
return e = o(e), r(e, s) ? e[s] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? a : null | |
} | |
}, | |
"./node_modules/core-js/modules/_object-keys-internal.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_has.js"), | |
o = n("./node_modules/core-js/modules/_to-iobject.js"), | |
s = n("./node_modules/core-js/modules/_array-includes.js")(!1), | |
a = n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"); | |
e.exports = function(e, t) { | |
var n, i = o(e), | |
u = 0, | |
c = []; | |
for (n in i) n != a && r(i, n) && c.push(n); | |
for (; t.length > u;) r(i, n = t[u++]) && (~s(c, n) || c.push(n)); | |
return c | |
} | |
}, | |
"./node_modules/core-js/modules/_object-keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-keys-internal.js"), | |
o = n("./node_modules/core-js/modules/_enum-bug-keys.js"); | |
e.exports = Object.keys || function(e) { | |
return r(e, o) | |
} | |
}, | |
"./node_modules/core-js/modules/_object-pie.js": function(e, t) { | |
t.f = {}.propertyIsEnumerable | |
}, | |
"./node_modules/core-js/modules/_object-sap.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_core.js"), | |
s = n("./node_modules/core-js/modules/_fails.js"); | |
e.exports = function(e, t) { | |
var n = (o.Object || {})[e] || Object[e], | |
a = {}; | |
a[e] = t(n), r(r.S + r.F * s(function() { | |
n(1) | |
}), "Object", a) | |
} | |
}, | |
"./node_modules/core-js/modules/_object-to-array.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-keys.js"), | |
o = n("./node_modules/core-js/modules/_to-iobject.js"), | |
s = n("./node_modules/core-js/modules/_object-pie.js").f; | |
e.exports = function(e) { | |
return function(t) { | |
for (var n, a = o(t), i = r(a), u = i.length, c = 0, l = []; u > c;) s.call(a, n = i[c++]) && l.push(e ? [n, a[n]] : a[n]); | |
return l | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_own-keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-gopn.js"), | |
o = n("./node_modules/core-js/modules/_object-gops.js"), | |
s = n("./node_modules/core-js/modules/_an-object.js"), | |
a = n("./node_modules/core-js/modules/_global.js").Reflect; | |
e.exports = a && a.ownKeys || function(e) { | |
var t = r.f(s(e)), | |
n = o.f; | |
return n ? t.concat(n(e)) : t | |
} | |
}, | |
"./node_modules/core-js/modules/_parse-float.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js").parseFloat, | |
o = n("./node_modules/core-js/modules/_string-trim.js").trim; | |
e.exports = 1 / r(n("./node_modules/core-js/modules/_string-ws.js") + "-0") != -1 / 0 ? function(e) { | |
var t = o(String(e), 3), | |
n = r(t); | |
return 0 === n && "-" == t.charAt(0) ? -0 : n | |
} : r | |
}, | |
"./node_modules/core-js/modules/_parse-int.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js").parseInt, | |
o = n("./node_modules/core-js/modules/_string-trim.js").trim, | |
s = n("./node_modules/core-js/modules/_string-ws.js"), | |
a = /^[\-+]?0[xX]/; | |
e.exports = 8 !== r(s + "08") || 22 !== r(s + "0x16") ? function(e, t) { | |
var n = o(String(e), 3); | |
return r(n, t >>> 0 || (a.test(n) ? 16 : 10)) | |
} : r | |
}, | |
"./node_modules/core-js/modules/_partial.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_path.js"), | |
o = n("./node_modules/core-js/modules/_invoke.js"), | |
s = n("./node_modules/core-js/modules/_a-function.js"); | |
e.exports = function() { | |
for (var e = s(this), t = arguments.length, n = Array(t), a = 0, i = r._, u = !1; t > a;)(n[a] = arguments[a++]) === i && (u = !0); | |
return function() { | |
var r, s = arguments.length, | |
a = 0, | |
c = 0; | |
if (!u && !s) return o(e, n, this); | |
if (r = n.slice(), u) | |
for (; t > a; a++) r[a] === i && (r[a] = arguments[c++]); | |
for (; s > c;) r.push(arguments[c++]); | |
return o(e, r, this) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_path.js": function(e, t, n) { | |
e.exports = n("./node_modules/core-js/modules/_global.js") | |
}, | |
"./node_modules/core-js/modules/_property-desc.js": function(e, t) { | |
e.exports = function(e, t) { | |
return { | |
enumerable: !(1 & e), | |
configurable: !(2 & e), | |
writable: !(4 & e), | |
value: t | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_redefine-all.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_redefine.js"); | |
e.exports = function(e, t, n) { | |
for (var o in t) r(e, o, t[o], n); | |
return e | |
} | |
}, | |
"./node_modules/core-js/modules/_redefine.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_hide.js"), | |
s = n("./node_modules/core-js/modules/_has.js"), | |
a = n("./node_modules/core-js/modules/_uid.js")("src"), | |
i = Function.toString, | |
u = ("" + i).split("toString"); | |
n("./node_modules/core-js/modules/_core.js").inspectSource = function(e) { | |
return i.call(e) | |
}, (e.exports = function(e, t, n, i) { | |
var c = "function" == typeof n; | |
c && (s(n, "name") || o(n, "name", t)), e[t] !== n && (c && (s(n, a) || o(n, a, e[t] ? "" + e[t] : u.join(String(t)))), e === r ? e[t] = n : i ? e[t] ? e[t] = n : o(e, t, n) : (delete e[t], o(e, t, n))) | |
})(Function.prototype, "toString", function() { | |
return "function" == typeof this && this[a] || i.call(this) | |
}) | |
}, | |
"./node_modules/core-js/modules/_replacer.js": function(e, t) { | |
e.exports = function(e, t) { | |
var n = t === Object(t) ? function(e) { | |
return t[e] | |
} : t; | |
return function(t) { | |
return String(t).replace(e, n) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_same-value.js": function(e, t) { | |
e.exports = Object.is || function(e, t) { | |
return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t | |
} | |
}, | |
"./node_modules/core-js/modules/_set-proto.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = function(e, t) { | |
if (o(e), !r(t) && null !== t) throw TypeError(t + ": can't set as prototype!") | |
}; | |
e.exports = { | |
set: Object.setPrototypeOf || ("__proto__" in {} ? function(e, t, r) { | |
try { | |
(r = n("./node_modules/core-js/modules/_ctx.js")(Function.call, n("./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype, "__proto__").set, 2))(e, []), t = !(e instanceof Array) | |
} catch (e) { | |
t = !0 | |
} | |
return function(e, n) { | |
return s(e, n), t ? e.__proto__ = n : r(e, n), e | |
} | |
}({}, !1) : void 0), | |
check: s | |
} | |
}, | |
"./node_modules/core-js/modules/_set-species.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_object-dp.js"), | |
s = n("./node_modules/core-js/modules/_descriptors.js"), | |
a = n("./node_modules/core-js/modules/_wks.js")("species"); | |
e.exports = function(e) { | |
var t = r[e]; | |
s && t && !t[a] && o.f(t, a, { | |
configurable: !0, | |
get: function() { | |
return this | |
} | |
}) | |
} | |
}, | |
"./node_modules/core-js/modules/_set-to-string-tag.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-dp.js").f, | |
o = n("./node_modules/core-js/modules/_has.js"), | |
s = n("./node_modules/core-js/modules/_wks.js")("toStringTag"); | |
e.exports = function(e, t, n) { | |
e && !o(e = n ? e : e.prototype, s) && r(e, s, { | |
configurable: !0, | |
value: t | |
}) | |
} | |
}, | |
"./node_modules/core-js/modules/_shared-key.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_shared.js")("keys"), | |
o = n("./node_modules/core-js/modules/_uid.js"); | |
e.exports = function(e) { | |
return r[e] || (r[e] = o(e)) | |
} | |
}, | |
"./node_modules/core-js/modules/_shared.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = "__core-js_shared__", | |
s = r[o] || (r[o] = {}); | |
e.exports = function(e) { | |
return s[e] || (s[e] = {}) | |
} | |
}, | |
"./node_modules/core-js/modules/_species-constructor.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_an-object.js"), | |
o = n("./node_modules/core-js/modules/_a-function.js"), | |
s = n("./node_modules/core-js/modules/_wks.js")("species"); | |
e.exports = function(e, t) { | |
var n, a = r(e).constructor; | |
return void 0 === a || void 0 == (n = r(a)[s]) ? t : o(n) | |
} | |
}, | |
"./node_modules/core-js/modules/_strict-method.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_fails.js"); | |
e.exports = function(e, t) { | |
return !!e && r(function() { | |
t ? e.call(null, function() {}, 1) : e.call(null) | |
}) | |
} | |
}, | |
"./node_modules/core-js/modules/_string-at.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-integer.js"), | |
o = n("./node_modules/core-js/modules/_defined.js"); | |
e.exports = function(e) { | |
return function(t, n) { | |
var s, a, i = String(o(t)), | |
u = r(n), | |
c = i.length; | |
return u < 0 || u >= c ? e ? "" : void 0 : (s = i.charCodeAt(u)) < 55296 || s > 56319 || u + 1 === c || (a = i.charCodeAt(u + 1)) < 56320 || a > 57343 ? e ? i.charAt(u) : s : e ? i.slice(u, u + 2) : a - 56320 + (s - 55296 << 10) + 65536 | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/_string-context.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-regexp.js"), | |
o = n("./node_modules/core-js/modules/_defined.js"); | |
e.exports = function(e, t, n) { | |
if (r(t)) throw TypeError("String#" + n + " doesn't accept regex!"); | |
return String(o(e)) | |
} | |
}, | |
"./node_modules/core-js/modules/_string-html.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_fails.js"), | |
s = n("./node_modules/core-js/modules/_defined.js"), | |
a = /"/g, | |
i = function(e, t, n, r) { | |
var o = String(s(e)), | |
i = "<" + t; | |
return "" !== n && (i += " " + n + '="' + String(r).replace(a, """) + '"'), i + ">" + o + "</" + t + ">" | |
}; | |
e.exports = function(e, t) { | |
var n = {}; | |
n[e] = t(i), r(r.P + r.F * o(function() { | |
var t = "" [e]('"'); | |
return t !== t.toLowerCase() || t.split('"').length > 3 | |
}), "String", n) | |
} | |
}, | |
"./node_modules/core-js/modules/_string-pad.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-length.js"), | |
o = n("./node_modules/core-js/modules/_string-repeat.js"), | |
s = n("./node_modules/core-js/modules/_defined.js"); | |
e.exports = function(e, t, n, a) { | |
var i = String(s(e)), | |
u = i.length, | |
c = void 0 === n ? " " : String(n), | |
l = r(t); | |
if (l <= u || "" == c) return i; | |
var d = l - u, | |
m = o.call(c, Math.ceil(d / c.length)); | |
return m.length > d && (m = m.slice(0, d)), a ? m + i : i + m | |
} | |
}, | |
"./node_modules/core-js/modules/_string-repeat.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_to-integer.js"), | |
o = n("./node_modules/core-js/modules/_defined.js"); | |
e.exports = function(e) { | |
var t = String(o(this)), | |
n = "", | |
s = r(e); | |
if (s < 0 || s == 1 / 0) throw RangeError("Count can't be negative"); | |
for (; s > 0; | |
(s >>>= 1) && (t += t)) 1 & s && (n += t); | |
return n | |
} | |
}, | |
"./node_modules/core-js/modules/_string-trim.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_defined.js"), | |
s = n("./node_modules/core-js/modules/_fails.js"), | |
a = n("./node_modules/core-js/modules/_string-ws.js"), | |
i = "[" + a + "]", | |
u = RegExp("^" + i + i + "*"), | |
c = RegExp(i + i + "*$"), | |
l = function(e, t, n) { | |
var o = {}, | |
i = s(function() { | |
return !!a[e]() || " " != " " [e]() | |
}), | |
u = o[e] = i ? t(d) : a[e]; | |
n && (o[n] = u), r(r.P + r.F * i, "String", o) | |
}, | |
d = l.trim = function(e, t) { | |
return e = String(o(e)), 1 & t && (e = e.replace(u, "")), 2 & t && (e = e.replace(c, "")), e | |
}; | |
e.exports = l | |
}, | |
"./node_modules/core-js/modules/_string-ws.js": function(e, t) { | |
e.exports = "\t\n\v\f\r \u2028\u2029\ufeff" | |
}, | |
"./node_modules/core-js/modules/_task.js": function(e, t, n) { | |
var r, o, s, a = n("./node_modules/core-js/modules/_ctx.js"), | |
i = n("./node_modules/core-js/modules/_invoke.js"), | |
u = n("./node_modules/core-js/modules/_html.js"), | |
c = n("./node_modules/core-js/modules/_dom-create.js"), | |
l = n("./node_modules/core-js/modules/_global.js"), | |
d = l.process, | |
m = l.setImmediate, | |
p = l.clearImmediate, | |
f = l.MessageChannel, | |
h = 0, | |
v = {}, | |
_ = "onreadystatechange", | |
g = function() { | |
var e = +this; | |
if (v.hasOwnProperty(e)) { | |
var t = v[e]; | |
delete v[e], t() | |
} | |
}, | |
y = function(e) { | |
g.call(e.data) | |
}; | |
m && p || (m = function(e) { | |
for (var t = [], n = 1; arguments.length > n;) t.push(arguments[n++]); | |
return v[++h] = function() { | |
i("function" == typeof e ? e : Function(e), t) | |
}, r(h), h | |
}, p = function(e) { | |
delete v[e] | |
}, "process" == n("./node_modules/core-js/modules/_cof.js")(d) ? r = function(e) { | |
d.nextTick(a(g, e, 1)) | |
} : f ? (s = (o = new f).port2, o.port1.onmessage = y, r = a(s.postMessage, s, 1)) : l.addEventListener && "function" == typeof postMessage && !l.importScripts ? (r = function(e) { | |
l.postMessage(e + "", "*") | |
}, l.addEventListener("message", y, !1)) : r = _ in c("script") ? function(e) { | |
u.appendChild(c("script"))[_] = function() { | |
u.removeChild(this), g.call(e) | |
} | |
} : function(e) { | |
setTimeout(a(g, e, 1), 0) | |
}), e.exports = { | |
set: m, | |
clear: p | |
} | |
}, | |
"./node_modules/core-js/modules/_to-index.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-integer.js"), | |
o = Math.max, | |
s = Math.min; | |
e.exports = function(e, t) { | |
return (e = r(e)) < 0 ? o(e + t, 0) : s(e, t) | |
} | |
}, | |
"./node_modules/core-js/modules/_to-integer.js": function(e, t) { | |
var n = Math.ceil, | |
r = Math.floor; | |
e.exports = function(e) { | |
return isNaN(e = +e) ? 0 : (e > 0 ? r : n)(e) | |
} | |
}, | |
"./node_modules/core-js/modules/_to-iobject.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_iobject.js"), | |
o = n("./node_modules/core-js/modules/_defined.js"); | |
e.exports = function(e) { | |
return r(o(e)) | |
} | |
}, | |
"./node_modules/core-js/modules/_to-length.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-integer.js"), | |
o = Math.min; | |
e.exports = function(e) { | |
return e > 0 ? o(r(e), 9007199254740991) : 0 | |
} | |
}, | |
"./node_modules/core-js/modules/_to-object.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_defined.js"); | |
e.exports = function(e) { | |
return Object(r(e)) | |
} | |
}, | |
"./node_modules/core-js/modules/_to-primitive.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"); | |
e.exports = function(e, t) { | |
if (!r(e)) return e; | |
var n, o; | |
if (t && "function" == typeof(n = e.toString) && !r(o = n.call(e))) return o; | |
if ("function" == typeof(n = e.valueOf) && !r(o = n.call(e))) return o; | |
if (!t && "function" == typeof(n = e.toString) && !r(o = n.call(e))) return o; | |
throw TypeError("Can't convert object to primitive value") | |
} | |
}, | |
"./node_modules/core-js/modules/_typed-array.js": function(e, t, n) { | |
"use strict"; | |
if (n("./node_modules/core-js/modules/_descriptors.js")) { | |
var r = n("./node_modules/core-js/modules/_library.js"), | |
o = n("./node_modules/core-js/modules/_global.js"), | |
s = n("./node_modules/core-js/modules/_fails.js"), | |
a = n("./node_modules/core-js/modules/_export.js"), | |
i = n("./node_modules/core-js/modules/_typed.js"), | |
u = n("./node_modules/core-js/modules/_typed-buffer.js"), | |
c = n("./node_modules/core-js/modules/_ctx.js"), | |
l = n("./node_modules/core-js/modules/_an-instance.js"), | |
d = n("./node_modules/core-js/modules/_property-desc.js"), | |
m = n("./node_modules/core-js/modules/_hide.js"), | |
p = n("./node_modules/core-js/modules/_redefine-all.js"), | |
f = n("./node_modules/core-js/modules/_to-integer.js"), | |
h = n("./node_modules/core-js/modules/_to-length.js"), | |
v = n("./node_modules/core-js/modules/_to-index.js"), | |
_ = n("./node_modules/core-js/modules/_to-primitive.js"), | |
g = n("./node_modules/core-js/modules/_has.js"), | |
y = n("./node_modules/core-js/modules/_same-value.js"), | |
b = n("./node_modules/core-js/modules/_classof.js"), | |
j = n("./node_modules/core-js/modules/_is-object.js"), | |
x = n("./node_modules/core-js/modules/_to-object.js"), | |
w = n("./node_modules/core-js/modules/_is-array-iter.js"), | |
k = n("./node_modules/core-js/modules/_object-create.js"), | |
E = n("./node_modules/core-js/modules/_object-gpo.js"), | |
S = n("./node_modules/core-js/modules/_object-gopn.js").f, | |
L = n("./node_modules/core-js/modules/core.get-iterator-method.js"), | |
M = n("./node_modules/core-js/modules/_uid.js"), | |
D = n("./node_modules/core-js/modules/_wks.js"), | |
T = n("./node_modules/core-js/modules/_array-methods.js"), | |
C = n("./node_modules/core-js/modules/_array-includes.js"), | |
A = n("./node_modules/core-js/modules/_species-constructor.js"), | |
N = n("./node_modules/core-js/modules/es6.array.iterator.js"), | |
P = n("./node_modules/core-js/modules/_iterators.js"), | |
O = n("./node_modules/core-js/modules/_iter-detect.js"), | |
F = n("./node_modules/core-js/modules/_set-species.js"), | |
Y = n("./node_modules/core-js/modules/_array-fill.js"), | |
I = n("./node_modules/core-js/modules/_array-copy-within.js"), | |
B = n("./node_modules/core-js/modules/_object-dp.js"), | |
z = n("./node_modules/core-js/modules/_object-gopd.js"), | |
q = B.f, | |
R = z.f, | |
H = o.RangeError, | |
U = o.TypeError, | |
$ = o.Uint8Array, | |
W = "ArrayBuffer", | |
V = "Shared" + W, | |
G = "BYTES_PER_ELEMENT", | |
X = "prototype", | |
Q = Array[X], | |
K = u.ArrayBuffer, | |
J = u.DataView, | |
Z = T(0), | |
ee = T(2), | |
te = T(3), | |
ne = T(4), | |
re = T(5), | |
oe = T(6), | |
se = C(!0), | |
ae = C(!1), | |
ie = N.values, | |
ue = N.keys, | |
ce = N.entries, | |
le = Q.lastIndexOf, | |
de = Q.reduce, | |
me = Q.reduceRight, | |
pe = Q.join, | |
fe = Q.sort, | |
he = Q.slice, | |
ve = Q.toString, | |
_e = Q.toLocaleString, | |
ge = D("iterator"), | |
ye = D("toStringTag"), | |
be = M("typed_constructor"), | |
je = M("def_constructor"), | |
xe = i.CONSTR, | |
we = i.TYPED, | |
ke = i.VIEW, | |
Ee = "Wrong length!", | |
Se = T(1, function(e, t) { | |
return Ae(A(e, e[je]), t) | |
}), | |
Le = s(function() { | |
return 1 === new $(new Uint16Array([1]).buffer)[0] | |
}), | |
Me = !!$ && !!$[X].set && s(function() { | |
new $(1).set({}) | |
}), | |
De = function(e, t) { | |
if (void 0 === e) throw U(Ee); | |
var n = +e, | |
r = h(e); | |
if (t && !y(n, r)) throw H(Ee); | |
return r | |
}, | |
Te = function(e, t) { | |
var n = f(e); | |
if (n < 0 || n % t) throw H("Wrong offset!"); | |
return n | |
}, | |
Ce = function(e) { | |
if (j(e) && we in e) return e; | |
throw U(e + " is not a typed array!") | |
}, | |
Ae = function(e, t) { | |
if (!(j(e) && be in e)) throw U("It is not a typed array constructor!"); | |
return new e(t) | |
}, | |
Ne = function(e, t) { | |
return Pe(A(e, e[je]), t) | |
}, | |
Pe = function(e, t) { | |
for (var n = 0, r = t.length, o = Ae(e, r); r > n;) o[n] = t[n++]; | |
return o | |
}, | |
Oe = function(e, t, n) { | |
q(e, t, { | |
get: function() { | |
return this._d[n] | |
} | |
}) | |
}, | |
Fe = function(e) { | |
var t, n, r, o, s, a, i = x(e), | |
u = arguments.length, | |
l = u > 1 ? arguments[1] : void 0, | |
d = void 0 !== l, | |
m = L(i); | |
if (void 0 != m && !w(m)) { | |
for (a = m.call(i), r = [], t = 0; !(s = a.next()).done; t++) r.push(s.value); | |
i = r | |
} | |
for (d && u > 2 && (l = c(l, arguments[2], 2)), t = 0, n = h(i.length), o = Ae(this, n); n > t; t++) o[t] = d ? l(i[t], t) : i[t]; | |
return o | |
}, | |
Ye = function() { | |
for (var e = 0, t = arguments.length, n = Ae(this, t); t > e;) n[e] = arguments[e++]; | |
return n | |
}, | |
Ie = !!$ && s(function() { | |
_e.call(new $(1)) | |
}), | |
Be = function() { | |
return _e.apply(Ie ? he.call(Ce(this)) : Ce(this), arguments) | |
}, | |
ze = { | |
copyWithin: function(e, t) { | |
return I.call(Ce(this), e, t, arguments.length > 2 ? arguments[2] : void 0) | |
}, | |
every: function(e) { | |
return ne(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
fill: function(e) { | |
return Y.apply(Ce(this), arguments) | |
}, | |
filter: function(e) { | |
return Ne(this, ee(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0)) | |
}, | |
find: function(e) { | |
return re(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
findIndex: function(e) { | |
return oe(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
forEach: function(e) { | |
Z(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
indexOf: function(e) { | |
return ae(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
includes: function(e) { | |
return se(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
join: function(e) { | |
return pe.apply(Ce(this), arguments) | |
}, | |
lastIndexOf: function(e) { | |
return le.apply(Ce(this), arguments) | |
}, | |
map: function(e) { | |
return Se(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
reduce: function(e) { | |
return de.apply(Ce(this), arguments) | |
}, | |
reduceRight: function(e) { | |
return me.apply(Ce(this), arguments) | |
}, | |
reverse: function() { | |
for (var e, t = Ce(this).length, n = Math.floor(t / 2), r = 0; r < n;) e = this[r], this[r++] = this[--t], this[t] = e; | |
return this | |
}, | |
some: function(e) { | |
return te(Ce(this), e, arguments.length > 1 ? arguments[1] : void 0) | |
}, | |
sort: function(e) { | |
return fe.call(Ce(this), e) | |
}, | |
subarray: function(e, t) { | |
var n = Ce(this), | |
r = n.length, | |
o = v(e, r); | |
return new(A(n, n[je]))(n.buffer, n.byteOffset + o * n.BYTES_PER_ELEMENT, h((void 0 === t ? r : v(t, r)) - o)) | |
} | |
}, | |
qe = function(e, t) { | |
return Ne(this, he.call(Ce(this), e, t)) | |
}, | |
Re = function(e) { | |
Ce(this); | |
var t = Te(arguments[1], 1), | |
n = this.length, | |
r = x(e), | |
o = h(r.length), | |
s = 0; | |
if (o + t > n) throw H(Ee); | |
for (; s < o;) this[t + s] = r[s++] | |
}, | |
He = { | |
entries: function() { | |
return ce.call(Ce(this)) | |
}, | |
keys: function() { | |
return ue.call(Ce(this)) | |
}, | |
values: function() { | |
return ie.call(Ce(this)) | |
} | |
}, | |
Ue = function(e, t) { | |
return j(e) && e[we] && "symbol" != typeof t && t in e && String(+t) == String(t) | |
}, | |
$e = function(e, t) { | |
return Ue(e, t = _(t, !0)) ? d(2, e[t]) : R(e, t) | |
}, | |
We = function(e, t, n) { | |
return !(Ue(e, t = _(t, !0)) && j(n) && g(n, "value")) || g(n, "get") || g(n, "set") || n.configurable || g(n, "writable") && !n.writable || g(n, "enumerable") && !n.enumerable ? q(e, t, n) : (e[t] = n.value, e) | |
}; | |
xe || (z.f = $e, B.f = We), a(a.S + a.F * !xe, "Object", { | |
getOwnPropertyDescriptor: $e, | |
defineProperty: We | |
}), s(function() { | |
ve.call({}) | |
}) && (ve = _e = function() { | |
return pe.call(this) | |
}); | |
var Ve = p({}, ze); | |
p(Ve, He), m(Ve, ge, He.values), p(Ve, { | |
slice: qe, | |
set: Re, | |
constructor: function() {}, | |
toString: ve, | |
toLocaleString: Be | |
}), Oe(Ve, "buffer", "b"), Oe(Ve, "byteOffset", "o"), Oe(Ve, "byteLength", "l"), Oe(Ve, "length", "e"), q(Ve, ye, { | |
get: function() { | |
return this[we] | |
} | |
}), e.exports = function(e, t, n, u) { | |
var c = e + ((u = !!u) ? "Clamped" : "") + "Array", | |
d = "Uint8Array" != c, | |
p = "get" + e, | |
f = "set" + e, | |
v = o[c], | |
_ = v || {}, | |
g = v && E(v), | |
y = !v || !i.ABV, | |
x = {}, | |
w = v && v[X], | |
L = function(e, n) { | |
q(e, n, { | |
get: function() { | |
return function(e, n) { | |
var r = e._d; | |
return r.v[p](n * t + r.o, Le) | |
}(this, n) | |
}, | |
set: function(e) { | |
return function(e, n, r) { | |
var o = e._d; | |
u && (r = (r = Math.round(r)) < 0 ? 0 : r > 255 ? 255 : 255 & r), o.v[f](n * t + o.o, r, Le) | |
}(this, n, e) | |
}, | |
enumerable: !0 | |
}) | |
}; | |
y ? (v = n(function(e, n, r, o) { | |
l(e, v, c, "_d"); | |
var s, a, i, u, d = 0, | |
p = 0; | |
if (j(n)) { | |
if (!(n instanceof K || (u = b(n)) == W || u == V)) return we in n ? Pe(v, n) : Fe.call(v, n); | |
s = n, p = Te(r, t); | |
var f = n.byteLength; | |
if (void 0 === o) { | |
if (f % t) throw H(Ee); | |
if ((a = f - p) < 0) throw H(Ee) | |
} else if ((a = h(o) * t) + p > f) throw H(Ee); | |
i = a / t | |
} else i = De(n, !0), s = new K(a = i * t); | |
for (m(e, "_d", { | |
b: s, | |
o: p, | |
l: a, | |
e: i, | |
v: new J(s) | |
}); d < i;) L(e, d++) | |
}), w = v[X] = k(Ve), m(w, "constructor", v)) : O(function(e) { | |
new v(null), new v(e) | |
}, !0) || (v = n(function(e, n, r, o) { | |
l(e, v, c); | |
var s; | |
return j(n) ? n instanceof K || (s = b(n)) == W || s == V ? void 0 !== o ? new _(n, Te(r, t), o) : void 0 !== r ? new _(n, Te(r, t)) : new _(n) : we in n ? Pe(v, n) : Fe.call(v, n) : new _(De(n, d)) | |
}), Z(g !== Function.prototype ? S(_).concat(S(g)) : S(_), function(e) { | |
e in v || m(v, e, _[e]) | |
}), v[X] = w, r || (w.constructor = v)); | |
var M = w[ge], | |
D = !!M && ("values" == M.name || void 0 == M.name), | |
T = He.values; | |
m(v, be, !0), m(w, we, c), m(w, ke, !0), m(w, je, v), (u ? new v(1)[ye] == c : ye in w) || q(w, ye, { | |
get: function() { | |
return c | |
} | |
}), x[c] = v, a(a.G + a.W + a.F * (v != _), x), a(a.S, c, { | |
BYTES_PER_ELEMENT: t, | |
from: Fe, | |
of: Ye | |
}), G in w || m(w, G, t), a(a.P, c, ze), F(c), a(a.P + a.F * Me, c, { | |
set: Re | |
}), a(a.P + a.F * !D, c, He), a(a.P + a.F * (w.toString != ve), c, { | |
toString: ve | |
}), a(a.P + a.F * s(function() { | |
new v(1).slice() | |
}), c, { | |
slice: qe | |
}), a(a.P + a.F * (s(function() { | |
return [1, 2].toLocaleString() != new v([1, 2]).toLocaleString() | |
}) || !s(function() { | |
w.toLocaleString.call([1, 2]) | |
})), c, { | |
toLocaleString: Be | |
}), P[c] = D ? M : T, r || D || m(w, ge, T) | |
} | |
} else e.exports = function() {} | |
}, | |
"./node_modules/core-js/modules/_typed-buffer.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_descriptors.js"), | |
s = n("./node_modules/core-js/modules/_library.js"), | |
a = n("./node_modules/core-js/modules/_typed.js"), | |
i = n("./node_modules/core-js/modules/_hide.js"), | |
u = n("./node_modules/core-js/modules/_redefine-all.js"), | |
c = n("./node_modules/core-js/modules/_fails.js"), | |
l = n("./node_modules/core-js/modules/_an-instance.js"), | |
d = n("./node_modules/core-js/modules/_to-integer.js"), | |
m = n("./node_modules/core-js/modules/_to-length.js"), | |
p = n("./node_modules/core-js/modules/_object-gopn.js").f, | |
f = n("./node_modules/core-js/modules/_object-dp.js").f, | |
h = n("./node_modules/core-js/modules/_array-fill.js"), | |
v = n("./node_modules/core-js/modules/_set-to-string-tag.js"), | |
_ = "ArrayBuffer", | |
g = "DataView", | |
y = "prototype", | |
b = r[_], | |
j = r[g], | |
x = r.Math, | |
w = r.RangeError, | |
k = r.Infinity, | |
E = b, | |
S = x.abs, | |
L = x.pow, | |
M = x.floor, | |
D = x.log, | |
T = x.LN2, | |
C = "byteLength", | |
A = o ? "_b" : "buffer", | |
N = o ? "_l" : C, | |
P = o ? "_o" : "byteOffset", | |
O = function(e, t, n) { | |
var r, o, s, a = Array(n), | |
i = 8 * n - t - 1, | |
u = (1 << i) - 1, | |
c = u >> 1, | |
l = 23 === t ? L(2, -24) - L(2, -77) : 0, | |
d = 0, | |
m = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0; | |
for ((e = S(e)) != e || e === k ? (o = e != e ? 1 : 0, r = u) : (r = M(D(e) / T), e * (s = L(2, -r)) < 1 && (r--, s *= 2), (e += r + c >= 1 ? l / s : l * L(2, 1 - c)) * s >= 2 && (r++, s /= 2), r + c >= u ? (o = 0, r = u) : r + c >= 1 ? (o = (e * s - 1) * L(2, t), r += c) : (o = e * L(2, c - 1) * L(2, t), r = 0)); t >= 8; a[d++] = 255 & o, o /= 256, t -= 8); | |
for (r = r << t | o, i += t; i > 0; a[d++] = 255 & r, r /= 256, i -= 8); | |
return a[--d] |= 128 * m, a | |
}, | |
F = function(e, t, n) { | |
var r, o = 8 * n - t - 1, | |
s = (1 << o) - 1, | |
a = s >> 1, | |
i = o - 7, | |
u = n - 1, | |
c = e[u--], | |
l = 127 & c; | |
for (c >>= 7; i > 0; l = 256 * l + e[u], u--, i -= 8); | |
for (r = l & (1 << -i) - 1, l >>= -i, i += t; i > 0; r = 256 * r + e[u], u--, i -= 8); | |
if (0 === l) l = 1 - a; | |
else { | |
if (l === s) return r ? NaN : c ? -k : k; | |
r += L(2, t), l -= a | |
} | |
return (c ? -1 : 1) * r * L(2, l - t) | |
}, | |
Y = function(e) { | |
return e[3] << 24 | e[2] << 16 | e[1] << 8 | e[0] | |
}, | |
I = function(e) { | |
return [255 & e] | |
}, | |
B = function(e) { | |
return [255 & e, e >> 8 & 255] | |
}, | |
z = function(e) { | |
return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255] | |
}, | |
q = function(e) { | |
return O(e, 52, 8) | |
}, | |
R = function(e) { | |
return O(e, 23, 4) | |
}, | |
H = function(e, t, n) { | |
f(e[y], t, { | |
get: function() { | |
return this[n] | |
} | |
}) | |
}, | |
U = function(e, t, n, r) { | |
var o = +n, | |
s = d(o); | |
if (o != s || s < 0 || s + t > e[N]) throw w("Wrong index!"); | |
var a = e[A]._b, | |
i = s + e[P], | |
u = a.slice(i, i + t); | |
return r ? u : u.reverse() | |
}, | |
$ = function(e, t, n, r, o, s) { | |
var a = +n, | |
i = d(a); | |
if (a != i || i < 0 || i + t > e[N]) throw w("Wrong index!"); | |
for (var u = e[A]._b, c = i + e[P], l = r(+o), m = 0; m < t; m++) u[c + m] = l[s ? m : t - m - 1] | |
}, | |
W = function(e, t) { | |
l(e, b, _); | |
var n = +t, | |
r = m(n); | |
if (n != r) throw w("Wrong length!"); | |
return r | |
}; | |
if (a.ABV) { | |
if (!c(function() { | |
new b | |
}) || !c(function() { | |
new b(.5) | |
})) { | |
for (var V, G = (b = function(e) { | |
return new E(W(this, e)) | |
})[y] = E[y], X = p(E), Q = 0; X.length > Q;)(V = X[Q++]) in b || i(b, V, E[V]); | |
s || (G.constructor = b) | |
} | |
var K = new j(new b(2)), | |
J = j[y].setInt8; | |
K.setInt8(0, 2147483648), K.setInt8(1, 2147483649), !K.getInt8(0) && K.getInt8(1) || u(j[y], { | |
setInt8: function(e, t) { | |
J.call(this, e, t << 24 >> 24) | |
}, | |
setUint8: function(e, t) { | |
J.call(this, e, t << 24 >> 24) | |
} | |
}, !0) | |
} else b = function(e) { | |
var t = W(this, e); | |
this._b = h.call(Array(t), 0), this[N] = t | |
}, j = function(e, t, n) { | |
l(this, j, g), l(e, b, g); | |
var r = e[N], | |
o = d(t); | |
if (o < 0 || o > r) throw w("Wrong offset!"); | |
if (n = void 0 === n ? r - o : m(n), o + n > r) throw w("Wrong length!"); | |
this[A] = e, this[P] = o, this[N] = n | |
}, o && (H(b, C, "_l"), H(j, "buffer", "_b"), H(j, C, "_l"), H(j, "byteOffset", "_o")), u(j[y], { | |
getInt8: function(e) { | |
return U(this, 1, e)[0] << 24 >> 24 | |
}, | |
getUint8: function(e) { | |
return U(this, 1, e)[0] | |
}, | |
getInt16: function(e) { | |
var t = U(this, 2, e, arguments[1]); | |
return (t[1] << 8 | t[0]) << 16 >> 16 | |
}, | |
getUint16: function(e) { | |
var t = U(this, 2, e, arguments[1]); | |
return t[1] << 8 | t[0] | |
}, | |
getInt32: function(e) { | |
return Y(U(this, 4, e, arguments[1])) | |
}, | |
getUint32: function(e) { | |
return Y(U(this, 4, e, arguments[1])) >>> 0 | |
}, | |
getFloat32: function(e) { | |
return F(U(this, 4, e, arguments[1]), 23, 4) | |
}, | |
getFloat64: function(e) { | |
return F(U(this, 8, e, arguments[1]), 52, 8) | |
}, | |
setInt8: function(e, t) { | |
$(this, 1, e, I, t) | |
}, | |
setUint8: function(e, t) { | |
$(this, 1, e, I, t) | |
}, | |
setInt16: function(e, t) { | |
$(this, 2, e, B, t, arguments[2]) | |
}, | |
setUint16: function(e, t) { | |
$(this, 2, e, B, t, arguments[2]) | |
}, | |
setInt32: function(e, t) { | |
$(this, 4, e, z, t, arguments[2]) | |
}, | |
setUint32: function(e, t) { | |
$(this, 4, e, z, t, arguments[2]) | |
}, | |
setFloat32: function(e, t) { | |
$(this, 4, e, R, t, arguments[2]) | |
}, | |
setFloat64: function(e, t) { | |
$(this, 8, e, q, t, arguments[2]) | |
} | |
}); | |
v(b, _), v(j, g), i(j[y], a.VIEW, !0), t[_] = b, t[g] = j | |
}, | |
"./node_modules/core-js/modules/_typed.js": function(e, t, n) { | |
for (var r, o = n("./node_modules/core-js/modules/_global.js"), s = n("./node_modules/core-js/modules/_hide.js"), a = n("./node_modules/core-js/modules/_uid.js"), i = a("typed_array"), u = a("view"), c = !(!o.ArrayBuffer || !o.DataView), l = c, d = 0, m = "Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(","); d < 9;)(r = o[m[d++]]) ? (s(r.prototype, i, !0), s(r.prototype, u, !0)) : l = !1; | |
e.exports = { | |
ABV: c, | |
CONSTR: l, | |
TYPED: i, | |
VIEW: u | |
} | |
}, | |
"./node_modules/core-js/modules/_uid.js": function(e, t) { | |
var n = 0, | |
r = Math.random(); | |
e.exports = function(e) { | |
return "Symbol(".concat(void 0 === e ? "" : e, ")_", (++n + r).toString(36)) | |
} | |
}, | |
"./node_modules/core-js/modules/_wks-define.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_core.js"), | |
s = n("./node_modules/core-js/modules/_library.js"), | |
a = n("./node_modules/core-js/modules/_wks-ext.js"), | |
i = n("./node_modules/core-js/modules/_object-dp.js").f; | |
e.exports = function(e) { | |
var t = o.Symbol || (o.Symbol = s ? {} : r.Symbol || {}); | |
"_" == e.charAt(0) || e in t || i(t, e, { | |
value: a.f(e) | |
}) | |
} | |
}, | |
"./node_modules/core-js/modules/_wks-ext.js": function(e, t, n) { | |
t.f = n("./node_modules/core-js/modules/_wks.js") | |
}, | |
"./node_modules/core-js/modules/_wks.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_shared.js")("wks"), | |
o = n("./node_modules/core-js/modules/_uid.js"), | |
s = n("./node_modules/core-js/modules/_global.js").Symbol, | |
a = "function" == typeof s; | |
(e.exports = function(e) { | |
return r[e] || (r[e] = a && s[e] || (a ? s : o)("Symbol." + e)) | |
}).store = r | |
}, | |
"./node_modules/core-js/modules/core.get-iterator-method.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_classof.js"), | |
o = n("./node_modules/core-js/modules/_wks.js")("iterator"), | |
s = n("./node_modules/core-js/modules/_iterators.js"); | |
e.exports = n("./node_modules/core-js/modules/_core.js").getIteratorMethod = function(e) { | |
if (void 0 != e) return e[o] || e["@@iterator"] || s[r(e)] | |
} | |
}, | |
"./node_modules/core-js/modules/core.regexp.escape.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_replacer.js")(/[\\^$*+?.()|[\]{}]/g, "\\$&"); | |
r(r.S, "RegExp", { | |
escape: function(e) { | |
return o(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.copy-within.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.P, "Array", { | |
copyWithin: n("./node_modules/core-js/modules/_array-copy-within.js") | |
}), n("./node_modules/core-js/modules/_add-to-unscopables.js")("copyWithin") | |
}, | |
"./node_modules/core-js/modules/es6.array.every.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(4); | |
r(r.P + r.F * !n("./node_modules/core-js/modules/_strict-method.js")([].every, !0), "Array", { | |
every: function(e) { | |
return o(this, e, arguments[1]) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.fill.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.P, "Array", { | |
fill: n("./node_modules/core-js/modules/_array-fill.js") | |
}), n("./node_modules/core-js/modules/_add-to-unscopables.js")("fill") | |
}, | |
"./node_modules/core-js/modules/es6.array.filter.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(2); | |
r(r.P + r.F * !n("./node_modules/core-js/modules/_strict-method.js")([].filter, !0), "Array", { | |
filter: function(e) { | |
return o(this, e, arguments[1]) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.find-index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(6), | |
s = !0; | |
"findIndex" in [] && Array(1).findIndex(function() { | |
s = !1 | |
}), r(r.P + r.F * s, "Array", { | |
findIndex: function(e) { | |
return o(this, e, arguments.length > 1 ? arguments[1] : void 0) | |
} | |
}), n("./node_modules/core-js/modules/_add-to-unscopables.js")("findIndex") | |
}, | |
"./node_modules/core-js/modules/es6.array.find.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(5), | |
s = !0; | |
"find" in [] && Array(1).find(function() { | |
s = !1 | |
}), r(r.P + r.F * s, "Array", { | |
find: function(e) { | |
return o(this, e, arguments.length > 1 ? arguments[1] : void 0) | |
} | |
}), n("./node_modules/core-js/modules/_add-to-unscopables.js")("find") | |
}, | |
"./node_modules/core-js/modules/es6.array.for-each.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(0), | |
s = n("./node_modules/core-js/modules/_strict-method.js")([].forEach, !0); | |
r(r.P + r.F * !s, "Array", { | |
forEach: function(e) { | |
return o(this, e, arguments[1]) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.from.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_ctx.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_to-object.js"), | |
a = n("./node_modules/core-js/modules/_iter-call.js"), | |
i = n("./node_modules/core-js/modules/_is-array-iter.js"), | |
u = n("./node_modules/core-js/modules/_to-length.js"), | |
c = n("./node_modules/core-js/modules/_create-property.js"), | |
l = n("./node_modules/core-js/modules/core.get-iterator-method.js"); | |
o(o.S + o.F * !n("./node_modules/core-js/modules/_iter-detect.js")(function(e) { | |
Array.from(e) | |
}), "Array", { | |
from: function(e) { | |
var t, n, o, d, m = s(e), | |
p = "function" == typeof this ? this : Array, | |
f = arguments.length, | |
h = f > 1 ? arguments[1] : void 0, | |
v = void 0 !== h, | |
_ = 0, | |
g = l(m); | |
if (v && (h = r(h, f > 2 ? arguments[2] : void 0, 2)), void 0 == g || p == Array && i(g)) | |
for (n = new p(t = u(m.length)); t > _; _++) c(n, _, v ? h(m[_], _) : m[_]); | |
else | |
for (d = g.call(m), n = new p; !(o = d.next()).done; _++) c(n, _, v ? a(d, h, [o.value, _], !0) : o.value); | |
return n.length = _, n | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.index-of.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-includes.js")(!1), | |
s = [].indexOf, | |
a = !!s && 1 / [1].indexOf(1, -0) < 0; | |
r(r.P + r.F * (a || !n("./node_modules/core-js/modules/_strict-method.js")(s)), "Array", { | |
indexOf: function(e) { | |
return a ? s.apply(this, arguments) || 0 : o(this, e, arguments[1]) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.is-array.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Array", { | |
isArray: n("./node_modules/core-js/modules/_is-array.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.iterator.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_add-to-unscopables.js"), | |
o = n("./node_modules/core-js/modules/_iter-step.js"), | |
s = n("./node_modules/core-js/modules/_iterators.js"), | |
a = n("./node_modules/core-js/modules/_to-iobject.js"); | |
e.exports = n("./node_modules/core-js/modules/_iter-define.js")(Array, "Array", function(e, t) { | |
this._t = a(e), this._i = 0, this._k = t | |
}, function() { | |
var e = this._t, | |
t = this._k, | |
n = this._i++; | |
return !e || n >= e.length ? (this._t = void 0, o(1)) : o(0, "keys" == t ? n : "values" == t ? e[n] : [n, e[n]]) | |
}, "values"), s.Arguments = s.Array, r("keys"), r("values"), r("entries") | |
}, | |
"./node_modules/core-js/modules/es6.array.join.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-iobject.js"), | |
s = [].join; | |
r(r.P + r.F * (n("./node_modules/core-js/modules/_iobject.js") != Object || !n("./node_modules/core-js/modules/_strict-method.js")(s)), "Array", { | |
join: function(e) { | |
return s.call(o(this), void 0 === e ? "," : e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.last-index-of.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-iobject.js"), | |
s = n("./node_modules/core-js/modules/_to-integer.js"), | |
a = n("./node_modules/core-js/modules/_to-length.js"), | |
i = [].lastIndexOf, | |
u = !!i && 1 / [1].lastIndexOf(1, -0) < 0; | |
r(r.P + r.F * (u || !n("./node_modules/core-js/modules/_strict-method.js")(i)), "Array", { | |
lastIndexOf: function(e) { | |
if (u) return i.apply(this, arguments) || 0; | |
var t = o(this), | |
n = a(t.length), | |
r = n - 1; | |
for (arguments.length > 1 && (r = Math.min(r, s(arguments[1]))), r < 0 && (r = n + r); r >= 0; r--) | |
if (r in t && t[r] === e) return r || 0; | |
return -1 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.map.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(1); | |
r(r.P + r.F * !n("./node_modules/core-js/modules/_strict-method.js")([].map, !0), "Array", { | |
map: function(e) { | |
return o(this, e, arguments[1]) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.of.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_create-property.js"); | |
r(r.S + r.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
function e() {} | |
return !(Array.of.call(e) instanceof e) | |
}), "Array", { | |
of: function() { | |
for (var e = 0, t = arguments.length, n = new("function" == typeof this ? this : Array)(t); t > e;) o(n, e, arguments[e++]); | |
return n.length = t, n | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.reduce-right.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-reduce.js"); | |
r(r.P + r.F * !n("./node_modules/core-js/modules/_strict-method.js")([].reduceRight, !0), "Array", { | |
reduceRight: function(e) { | |
return o(this, e, arguments.length, arguments[1], !0) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.reduce.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-reduce.js"); | |
r(r.P + r.F * !n("./node_modules/core-js/modules/_strict-method.js")([].reduce, !0), "Array", { | |
reduce: function(e) { | |
return o(this, e, arguments.length, arguments[1], !1) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.slice.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_html.js"), | |
s = n("./node_modules/core-js/modules/_cof.js"), | |
a = n("./node_modules/core-js/modules/_to-index.js"), | |
i = n("./node_modules/core-js/modules/_to-length.js"), | |
u = [].slice; | |
r(r.P + r.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
o && u.call(o) | |
}), "Array", { | |
slice: function(e, t) { | |
var n = i(this.length), | |
r = s(this); | |
if (t = void 0 === t ? n : t, "Array" == r) return u.call(this, e, t); | |
for (var o = a(e, n), c = a(t, n), l = i(c - o), d = Array(l), m = 0; m < l; m++) d[m] = "String" == r ? this.charAt(o + m) : this[o + m]; | |
return d | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.some.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-methods.js")(3); | |
r(r.P + r.F * !n("./node_modules/core-js/modules/_strict-method.js")([].some, !0), "Array", { | |
some: function(e) { | |
return o(this, e, arguments[1]) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.sort.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_a-function.js"), | |
s = n("./node_modules/core-js/modules/_to-object.js"), | |
a = n("./node_modules/core-js/modules/_fails.js"), | |
i = [].sort, | |
u = [1, 2, 3]; | |
r(r.P + r.F * (a(function() { | |
u.sort(void 0) | |
}) || !a(function() { | |
u.sort(null) | |
}) || !n("./node_modules/core-js/modules/_strict-method.js")(i)), "Array", { | |
sort: function(e) { | |
return void 0 === e ? i.call(s(this)) : i.call(s(this), o(e)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.array.species.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_set-species.js")("Array") | |
}, | |
"./node_modules/core-js/modules/es6.date.now.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Date", { | |
now: function() { | |
return (new Date).getTime() | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.date.to-iso-string.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_fails.js"), | |
s = Date.prototype.getTime, | |
a = function(e) { | |
return e > 9 ? e : "0" + e | |
}; | |
r(r.P + r.F * (o(function() { | |
return "0385-07-25T07:06:39.999Z" != new Date(-5e13 - 1).toISOString() | |
}) || !o(function() { | |
new Date(NaN).toISOString() | |
})), "Date", { | |
toISOString: function() { | |
if (!isFinite(s.call(this))) throw RangeError("Invalid time value"); | |
var e = this.getUTCFullYear(), | |
t = this.getUTCMilliseconds(), | |
n = e < 0 ? "-" : e > 9999 ? "+" : ""; | |
return n + ("00000" + Math.abs(e)).slice(n ? -6 : -4) + "-" + a(this.getUTCMonth() + 1) + "-" + a(this.getUTCDate()) + "T" + a(this.getUTCHours()) + ":" + a(this.getUTCMinutes()) + ":" + a(this.getUTCSeconds()) + "." + (t > 99 ? t : "0" + a(t)) + "Z" | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.date.to-json.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_to-primitive.js"); | |
r(r.P + r.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
return null !== new Date(NaN).toJSON() || 1 !== Date.prototype.toJSON.call({ | |
toISOString: function() { | |
return 1 | |
} | |
}) | |
}), "Date", { | |
toJSON: function(e) { | |
var t = o(this), | |
n = s(t); | |
return "number" != typeof n || isFinite(n) ? t.toISOString() : null | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.date.to-primitive.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_wks.js")("toPrimitive"), | |
o = Date.prototype; | |
r in o || n("./node_modules/core-js/modules/_hide.js")(o, r, n("./node_modules/core-js/modules/_date-to-primitive.js")) | |
}, | |
"./node_modules/core-js/modules/es6.date.to-string.js": function(e, t, n) { | |
var r = Date.prototype, | |
o = r.toString, | |
s = r.getTime; | |
new Date(NaN) + "" != "Invalid Date" && n("./node_modules/core-js/modules/_redefine.js")(r, "toString", function() { | |
var e = s.call(this); | |
return e == e ? o.call(this) : "Invalid Date" | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.function.bind.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.P, "Function", { | |
bind: n("./node_modules/core-js/modules/_bind.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.function.has-instance.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_object-gpo.js"), | |
s = n("./node_modules/core-js/modules/_wks.js")("hasInstance"), | |
a = Function.prototype; | |
s in a || n("./node_modules/core-js/modules/_object-dp.js").f(a, s, { | |
value: function(e) { | |
if ("function" != typeof this || !r(e)) return !1; | |
if (!r(this.prototype)) return e instanceof this; | |
for (; e = o(e);) | |
if (this.prototype === e) return !0; | |
return !1 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.function.name.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-dp.js").f, | |
o = n("./node_modules/core-js/modules/_property-desc.js"), | |
s = n("./node_modules/core-js/modules/_has.js"), | |
a = Function.prototype, | |
i = /^\s*function ([^ (]*)/, | |
u = Object.isExtensible || function() { | |
return !0 | |
}; | |
"name" in a || n("./node_modules/core-js/modules/_descriptors.js") && r(a, "name", { | |
configurable: !0, | |
get: function() { | |
try { | |
var e = ("" + this).match(i)[1]; | |
return s(this, "name") || !u(this) || r(this, "name", o(5, e)), e | |
} catch (e) { | |
return "" | |
} | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.map.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_collection-strong.js"); | |
e.exports = n("./node_modules/core-js/modules/_collection.js")("Map", function(e) { | |
return function() { | |
return e(this, arguments.length > 0 ? arguments[0] : void 0) | |
} | |
}, { | |
get: function(e) { | |
var t = r.getEntry(this, e); | |
return t && t.v | |
}, | |
set: function(e, t) { | |
return r.def(this, 0 === e ? 0 : e, t) | |
} | |
}, r, !0) | |
}, | |
"./node_modules/core-js/modules/es6.math.acosh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_math-log1p.js"), | |
s = Math.sqrt, | |
a = Math.acosh; | |
r(r.S + r.F * !(a && 710 == Math.floor(a(Number.MAX_VALUE)) && a(1 / 0) == 1 / 0), "Math", { | |
acosh: function(e) { | |
return (e = +e) < 1 ? NaN : e > 94906265.62425156 ? Math.log(e) + Math.LN2 : o(e - 1 + s(e - 1) * s(e + 1)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.asinh.js": function(e, t, n) { | |
function r(e) { | |
return isFinite(e = +e) && 0 != e ? e < 0 ? -r(-e) : Math.log(e + Math.sqrt(e * e + 1)) : e | |
} | |
var o = n("./node_modules/core-js/modules/_export.js"), | |
s = Math.asinh; | |
o(o.S + o.F * !(s && 1 / s(0) > 0), "Math", { | |
asinh: r | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.atanh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = Math.atanh; | |
r(r.S + r.F * !(o && 1 / o(-0) < 0), "Math", { | |
atanh: function(e) { | |
return 0 == (e = +e) ? e : Math.log((1 + e) / (1 - e)) / 2 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.cbrt.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_math-sign.js"); | |
r(r.S, "Math", { | |
cbrt: function(e) { | |
return o(e = +e) * Math.pow(Math.abs(e), 1 / 3) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.clz32.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
clz32: function(e) { | |
return (e >>>= 0) ? 31 - Math.floor(Math.log(e + .5) * Math.LOG2E) : 32 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.cosh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = Math.exp; | |
r(r.S, "Math", { | |
cosh: function(e) { | |
return (o(e = +e) + o(-e)) / 2 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.expm1.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_math-expm1.js"); | |
r(r.S + r.F * (o != Math.expm1), "Math", { | |
expm1: o | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.fround.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_math-sign.js"), | |
s = Math.pow, | |
a = s(2, -52), | |
i = s(2, -23), | |
u = s(2, 127) * (2 - i), | |
c = s(2, -126); | |
r(r.S, "Math", { | |
fround: function(e) { | |
var t, n, r = Math.abs(e), | |
s = o(e); | |
return r < c ? s * function(e) { | |
return e + 1 / a - 1 / a | |
}(r / c / i) * c * i : (t = (1 + i / a) * r, (n = t - (t - r)) > u || n != n ? s * (1 / 0) : s * n) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.hypot.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = Math.abs; | |
r(r.S, "Math", { | |
hypot: function(e, t) { | |
for (var n, r, s = 0, a = 0, i = arguments.length, u = 0; a < i;) u < (n = o(arguments[a++])) ? (s = s * (r = u / n) * r + 1, u = n) : s += n > 0 ? (r = n / u) * r : n; | |
return u === 1 / 0 ? 1 / 0 : u * Math.sqrt(s) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.imul.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = Math.imul; | |
r(r.S + r.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
return -5 != o(4294967295, 5) || 2 != o.length | |
}), "Math", { | |
imul: function(e, t) { | |
var n = +e, | |
r = +t, | |
o = 65535 & n, | |
s = 65535 & r; | |
return 0 | o * s + ((65535 & n >>> 16) * s + o * (65535 & r >>> 16) << 16 >>> 0) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.log10.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
log10: function(e) { | |
return Math.log(e) / Math.LN10 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.log1p.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
log1p: n("./node_modules/core-js/modules/_math-log1p.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.log2.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
log2: function(e) { | |
return Math.log(e) / Math.LN2 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.sign.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
sign: n("./node_modules/core-js/modules/_math-sign.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.sinh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_math-expm1.js"), | |
s = Math.exp; | |
r(r.S + r.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
return -2e-17 != !Math.sinh(-2e-17) | |
}), "Math", { | |
sinh: function(e) { | |
return Math.abs(e = +e) < 1 ? (o(e) - o(-e)) / 2 : (s(e - 1) - s(-e - 1)) * (Math.E / 2) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.tanh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_math-expm1.js"), | |
s = Math.exp; | |
r(r.S, "Math", { | |
tanh: function(e) { | |
var t = o(e = +e), | |
n = o(-e); | |
return t == 1 / 0 ? 1 : n == 1 / 0 ? -1 : (t - n) / (s(e) + s(-e)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.math.trunc.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
trunc: function(e) { | |
return (e > 0 ? Math.floor : Math.ceil)(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.constructor.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_has.js"), | |
s = n("./node_modules/core-js/modules/_cof.js"), | |
a = n("./node_modules/core-js/modules/_inherit-if-required.js"), | |
i = n("./node_modules/core-js/modules/_to-primitive.js"), | |
u = n("./node_modules/core-js/modules/_fails.js"), | |
c = n("./node_modules/core-js/modules/_object-gopn.js").f, | |
l = n("./node_modules/core-js/modules/_object-gopd.js").f, | |
d = n("./node_modules/core-js/modules/_object-dp.js").f, | |
m = n("./node_modules/core-js/modules/_string-trim.js").trim, | |
p = r.Number, | |
f = p, | |
h = p.prototype, | |
v = "Number" == s(n("./node_modules/core-js/modules/_object-create.js")(h)), | |
_ = "trim" in String.prototype, | |
g = function(e) { | |
var t = i(e, !1); | |
if ("string" == typeof t && t.length > 2) { | |
var n, r, o, s = (t = _ ? t.trim() : m(t, 3)).charCodeAt(0); | |
if (43 === s || 45 === s) { | |
if (88 === (n = t.charCodeAt(2)) || 120 === n) return NaN | |
} else if (48 === s) { | |
switch (t.charCodeAt(1)) { | |
case 66: | |
case 98: | |
r = 2, o = 49; | |
break; | |
case 79: | |
case 111: | |
r = 8, o = 55; | |
break; | |
default: | |
return +t | |
} | |
for (var a, u = t.slice(2), c = 0, l = u.length; c < l; c++) | |
if ((a = u.charCodeAt(c)) < 48 || a > o) return NaN; | |
return parseInt(u, r) | |
} | |
} | |
return +t | |
}; | |
if (!p(" 0o1") || !p("0b1") || p("+0x1")) { | |
p = function(e) { | |
var t = arguments.length < 1 ? 0 : e, | |
n = this; | |
return n instanceof p && (v ? u(function() { | |
h.valueOf.call(n) | |
}) : "Number" != s(n)) ? a(new f(g(t)), n, p) : g(t) | |
}; | |
for (var y, b = n("./node_modules/core-js/modules/_descriptors.js") ? c(f) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","), j = 0; b.length > j; j++) o(f, y = b[j]) && !o(p, y) && d(p, y, l(f, y)); | |
p.prototype = h, h.constructor = p, n("./node_modules/core-js/modules/_redefine.js")(r, "Number", p) | |
} | |
}, | |
"./node_modules/core-js/modules/es6.number.epsilon.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Number", { | |
EPSILON: Math.pow(2, -52) | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.is-finite.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_global.js").isFinite; | |
r(r.S, "Number", { | |
isFinite: function(e) { | |
return "number" == typeof e && o(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.is-integer.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Number", { | |
isInteger: n("./node_modules/core-js/modules/_is-integer.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.is-nan.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Number", { | |
isNaN: function(e) { | |
return e != e | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.is-safe-integer.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_is-integer.js"), | |
s = Math.abs; | |
r(r.S, "Number", { | |
isSafeInteger: function(e) { | |
return o(e) && s(e) <= 9007199254740991 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.max-safe-integer.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Number", { | |
MAX_SAFE_INTEGER: 9007199254740991 | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.min-safe-integer.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Number", { | |
MIN_SAFE_INTEGER: -9007199254740991 | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.parse-float.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_parse-float.js"); | |
r(r.S + r.F * (Number.parseFloat != o), "Number", { | |
parseFloat: o | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.parse-int.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_parse-int.js"); | |
r(r.S + r.F * (Number.parseInt != o), "Number", { | |
parseInt: o | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.to-fixed.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-integer.js"), | |
s = n("./node_modules/core-js/modules/_a-number-value.js"), | |
a = n("./node_modules/core-js/modules/_string-repeat.js"), | |
i = 1..toFixed, | |
u = Math.floor, | |
c = [0, 0, 0, 0, 0, 0], | |
l = "Number.toFixed: incorrect invocation!", | |
d = function(e, t) { | |
for (var n = -1, r = t; ++n < 6;) r += e * c[n], c[n] = r % 1e7, r = u(r / 1e7) | |
}, | |
m = function(e) { | |
for (var t = 6, n = 0; --t >= 0;) n += c[t], c[t] = u(n / e), n = n % e * 1e7 | |
}, | |
p = function() { | |
for (var e = 6, t = ""; --e >= 0;) | |
if ("" !== t || 0 === e || 0 !== c[e]) { | |
var n = String(c[e]); | |
t = "" === t ? n : t + a.call("0", 7 - n.length) + n | |
} return t | |
}, | |
f = function(e, t, n) { | |
return 0 === t ? n : t % 2 == 1 ? f(e, t - 1, n * e) : f(e * e, t / 2, n) | |
}; | |
r(r.P + r.F * (!!i && ("0.000" !== 8e-5.toFixed(3) || "1" !== .9.toFixed(0) || "1.25" !== 1.255.toFixed(2) || "1000000000000000128" !== (0xde0b6b3a7640080).toFixed(0)) || !n("./node_modules/core-js/modules/_fails.js")(function() { | |
i.call({}) | |
})), "Number", { | |
toFixed: function(e) { | |
var t, n, r, i, u = s(this, l), | |
c = o(e), | |
h = "", | |
v = "0"; | |
if (c < 0 || c > 20) throw RangeError(l); | |
if (u != u) return "NaN"; | |
if (u <= -1e21 || u >= 1e21) return String(u); | |
if (u < 0 && (h = "-", u = -u), u > 1e-21) | |
if (t = function(e) { | |
for (var t = 0, n = e; n >= 4096;) t += 12, n /= 4096; | |
for (; n >= 2;) t += 1, n /= 2; | |
return t | |
}(u * f(2, 69, 1)) - 69, n = t < 0 ? u * f(2, -t, 1) : u / f(2, t, 1), n *= 4503599627370496, (t = 52 - t) > 0) { | |
for (d(0, n), r = c; r >= 7;) d(1e7, 0), r -= 7; | |
for (d(f(10, r, 1), 0), r = t - 1; r >= 23;) m(1 << 23), r -= 23; | |
m(1 << r), d(1, 1), m(2), v = p() | |
} else d(0, n), d(1 << -t, 0), v = p() + a.call("0", c); | |
return v = c > 0 ? h + ((i = v.length) <= c ? "0." + a.call("0", c - i) + v : v.slice(0, i - c) + "." + v.slice(i - c)) : h + v | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.number.to-precision.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_fails.js"), | |
s = n("./node_modules/core-js/modules/_a-number-value.js"), | |
a = 1..toPrecision; | |
r(r.P + r.F * (o(function() { | |
return "1" !== a.call(1, void 0) | |
}) || !o(function() { | |
a.call({}) | |
})), "Number", { | |
toPrecision: function(e) { | |
var t = s(this, "Number#toPrecision: incorrect invocation!"); | |
return void 0 === e ? a.call(t) : a.call(t, e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.assign.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S + r.F, "Object", { | |
assign: n("./node_modules/core-js/modules/_object-assign.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.create.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Object", { | |
create: n("./node_modules/core-js/modules/_object-create.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.define-properties.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S + r.F * !n("./node_modules/core-js/modules/_descriptors.js"), "Object", { | |
defineProperties: n("./node_modules/core-js/modules/_object-dps.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.define-property.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S + r.F * !n("./node_modules/core-js/modules/_descriptors.js"), "Object", { | |
defineProperty: n("./node_modules/core-js/modules/_object-dp.js").f | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.freeze.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_meta.js").onFreeze; | |
n("./node_modules/core-js/modules/_object-sap.js")("freeze", function(e) { | |
return function(t) { | |
return e && r(t) ? e(o(t)) : t | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-iobject.js"), | |
o = n("./node_modules/core-js/modules/_object-gopd.js").f; | |
n("./node_modules/core-js/modules/_object-sap.js")("getOwnPropertyDescriptor", function() { | |
return function(e, t) { | |
return o(r(e), t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.get-own-property-names.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_object-sap.js")("getOwnPropertyNames", function() { | |
return n("./node_modules/core-js/modules/_object-gopn-ext.js").f | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.get-prototype-of.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-object.js"), | |
o = n("./node_modules/core-js/modules/_object-gpo.js"); | |
n("./node_modules/core-js/modules/_object-sap.js")("getPrototypeOf", function() { | |
return function(e) { | |
return o(r(e)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.is-extensible.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"); | |
n("./node_modules/core-js/modules/_object-sap.js")("isExtensible", function(e) { | |
return function(t) { | |
return !!r(t) && (!e || e(t)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.is-frozen.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"); | |
n("./node_modules/core-js/modules/_object-sap.js")("isFrozen", function(e) { | |
return function(t) { | |
return !r(t) || !!e && e(t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.is-sealed.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"); | |
n("./node_modules/core-js/modules/_object-sap.js")("isSealed", function(e) { | |
return function(t) { | |
return !r(t) || !!e && e(t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.is.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Object", { | |
is: n("./node_modules/core-js/modules/_same-value.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_to-object.js"), | |
o = n("./node_modules/core-js/modules/_object-keys.js"); | |
n("./node_modules/core-js/modules/_object-sap.js")("keys", function() { | |
return function(e) { | |
return o(r(e)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.prevent-extensions.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_meta.js").onFreeze; | |
n("./node_modules/core-js/modules/_object-sap.js")("preventExtensions", function(e) { | |
return function(t) { | |
return e && r(t) ? e(o(t)) : t | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.seal.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_is-object.js"), | |
o = n("./node_modules/core-js/modules/_meta.js").onFreeze; | |
n("./node_modules/core-js/modules/_object-sap.js")("seal", function(e) { | |
return function(t) { | |
return e && r(t) ? e(o(t)) : t | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.set-prototype-of.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Object", { | |
setPrototypeOf: n("./node_modules/core-js/modules/_set-proto.js").set | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.object.to-string.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_classof.js"), | |
o = {}; | |
o[n("./node_modules/core-js/modules/_wks.js")("toStringTag")] = "z", o + "" != "[object z]" && n("./node_modules/core-js/modules/_redefine.js")(Object.prototype, "toString", function() { | |
return "[object " + r(this) + "]" | |
}, !0) | |
}, | |
"./node_modules/core-js/modules/es6.parse-float.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_parse-float.js"); | |
r(r.G + r.F * (parseFloat != o), { | |
parseFloat: o | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.parse-int.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_parse-int.js"); | |
r(r.G + r.F * (parseInt != o), { | |
parseInt: o | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.promise.js": function(e, t, n) { | |
"use strict"; | |
var r, o, s, a = n("./node_modules/core-js/modules/_library.js"), | |
i = n("./node_modules/core-js/modules/_global.js"), | |
u = n("./node_modules/core-js/modules/_ctx.js"), | |
c = n("./node_modules/core-js/modules/_classof.js"), | |
l = n("./node_modules/core-js/modules/_export.js"), | |
d = n("./node_modules/core-js/modules/_is-object.js"), | |
m = n("./node_modules/core-js/modules/_a-function.js"), | |
p = n("./node_modules/core-js/modules/_an-instance.js"), | |
f = n("./node_modules/core-js/modules/_for-of.js"), | |
h = n("./node_modules/core-js/modules/_species-constructor.js"), | |
v = n("./node_modules/core-js/modules/_task.js").set, | |
_ = n("./node_modules/core-js/modules/_microtask.js")(), | |
g = "Promise", | |
y = i.TypeError, | |
b = i.process, | |
j = i[g], | |
x = "process" == c(b = i.process), | |
w = function() {}, | |
k = !! function() { | |
try { | |
var e = j.resolve(1), | |
t = (e.constructor = {})[n("./node_modules/core-js/modules/_wks.js")("species")] = function(e) { | |
e(w, w) | |
}; | |
return (x || "function" == typeof PromiseRejectionEvent) && e.then(w) instanceof t | |
} catch (e) {} | |
}(), | |
E = function(e, t) { | |
return e === t || e === j && t === s | |
}, | |
S = function(e) { | |
var t; | |
return !(!d(e) || "function" != typeof(t = e.then)) && t | |
}, | |
L = function(e) { | |
return E(j, e) ? new M(e) : new o(e) | |
}, | |
M = o = function(e) { | |
var t, n; | |
this.promise = new e(function(e, r) { | |
if (void 0 !== t || void 0 !== n) throw y("Bad Promise constructor"); | |
t = e, n = r | |
}), this.resolve = m(t), this.reject = m(n) | |
}, | |
D = function(e) { | |
try { | |
e() | |
} catch (e) { | |
return { | |
error: e | |
} | |
} | |
}, | |
T = function(e, t) { | |
if (!e._n) { | |
e._n = !0; | |
var n = e._c; | |
_(function() { | |
for (var r = e._v, o = 1 == e._s, s = 0, a = function(t) { | |
var n, s, a = o ? t.ok : t.fail, | |
i = t.resolve, | |
u = t.reject, | |
c = t.domain; | |
try { | |
a ? (o || (2 == e._h && N(e), e._h = 1), !0 === a ? n = r : (c && c.enter(), n = a(r), c && c.exit()), n === t.promise ? u(y("Promise-chain cycle")) : (s = S(n)) ? s.call(n, i, u) : i(n)) : u(r) | |
} catch (e) { | |
u(e) | |
} | |
}; n.length > s;) a(n[s++]); | |
e._c = [], e._n = !1, t && !e._h && C(e) | |
}) | |
} | |
}, | |
C = function(e) { | |
v.call(i, function() { | |
var t, n, r, o = e._v; | |
if (A(e) && (t = D(function() { | |
x ? b.emit("unhandledRejection", o, e) : (n = i.onunhandledrejection) ? n({ | |
promise: e, | |
reason: o | |
}) : (r = i.console) && r.error && r.error("Unhandled promise rejection", o) | |
}), e._h = x || A(e) ? 2 : 1), e._a = void 0, t) throw t.error | |
}) | |
}, | |
A = function(e) { | |
if (1 == e._h) return !1; | |
for (var t, n = e._a || e._c, r = 0; n.length > r;) | |
if ((t = n[r++]).fail || !A(t.promise)) return !1; | |
return !0 | |
}, | |
N = function(e) { | |
v.call(i, function() { | |
var t; | |
x ? b.emit("rejectionHandled", e) : (t = i.onrejectionhandled) && t({ | |
promise: e, | |
reason: e._v | |
}) | |
}) | |
}, | |
P = function(e) { | |
var t = this; | |
t._d || (t._d = !0, (t = t._w || t)._v = e, t._s = 2, t._a || (t._a = t._c.slice()), T(t, !0)) | |
}, | |
O = function(e) { | |
var t, n = this; | |
if (!n._d) { | |
n._d = !0, n = n._w || n; | |
try { | |
if (n === e) throw y("Promise can't be resolved itself"); | |
(t = S(e)) ? _(function() { | |
var r = { | |
_w: n, | |
_d: !1 | |
}; | |
try { | |
t.call(e, u(O, r, 1), u(P, r, 1)) | |
} catch (e) { | |
P.call(r, e) | |
} | |
}): (n._v = e, n._s = 1, T(n, !1)) | |
} catch (e) { | |
P.call({ | |
_w: n, | |
_d: !1 | |
}, e) | |
} | |
} | |
}; | |
k || (j = function(e) { | |
p(this, j, g, "_h"), m(e), r.call(this); | |
try { | |
e(u(O, this, 1), u(P, this, 1)) | |
} catch (e) { | |
P.call(this, e) | |
} | |
}, (r = function(e) { | |
this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, this._n = !1 | |
}).prototype = n("./node_modules/core-js/modules/_redefine-all.js")(j.prototype, { | |
then: function(e, t) { | |
var n = L(h(this, j)); | |
return n.ok = "function" != typeof e || e, n.fail = "function" == typeof t && t, n.domain = x ? b.domain : void 0, this._c.push(n), this._a && this._a.push(n), this._s && T(this, !1), n.promise | |
}, | |
catch: function(e) { | |
return this.then(void 0, e) | |
} | |
}), M = function() { | |
var e = new r; | |
this.promise = e, this.resolve = u(O, e, 1), this.reject = u(P, e, 1) | |
}), l(l.G + l.W + l.F * !k, { | |
Promise: j | |
}), n("./node_modules/core-js/modules/_set-to-string-tag.js")(j, g), n("./node_modules/core-js/modules/_set-species.js")(g), s = n("./node_modules/core-js/modules/_core.js")[g], l(l.S + l.F * !k, g, { | |
reject: function(e) { | |
var t = L(this); | |
return (0, t.reject)(e), t.promise | |
} | |
}), l(l.S + l.F * (a || !k), g, { | |
resolve: function(e) { | |
if (e instanceof j && E(e.constructor, this)) return e; | |
var t = L(this); | |
return (0, t.resolve)(e), t.promise | |
} | |
}), l(l.S + l.F * !(k && n("./node_modules/core-js/modules/_iter-detect.js")(function(e) { | |
j.all(e).catch(w) | |
})), g, { | |
all: function(e) { | |
var t = this, | |
n = L(t), | |
r = n.resolve, | |
o = n.reject, | |
s = D(function() { | |
var n = [], | |
s = 0, | |
a = 1; | |
f(e, !1, function(e) { | |
var i = s++, | |
u = !1; | |
n.push(void 0), a++, t.resolve(e).then(function(e) { | |
u || (u = !0, n[i] = e, --a || r(n)) | |
}, o) | |
}), --a || r(n) | |
}); | |
return s && o(s.error), n.promise | |
}, | |
race: function(e) { | |
var t = this, | |
n = L(t), | |
r = n.reject, | |
o = D(function() { | |
f(e, !1, function(e) { | |
t.resolve(e).then(n.resolve, r) | |
}) | |
}); | |
return o && r(o.error), n.promise | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.apply.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_a-function.js"), | |
s = n("./node_modules/core-js/modules/_an-object.js"), | |
a = (n("./node_modules/core-js/modules/_global.js").Reflect || {}).apply, | |
i = Function.apply; | |
r(r.S + r.F * !n("./node_modules/core-js/modules/_fails.js")(function() { | |
a(function() {}) | |
}), "Reflect", { | |
apply: function(e, t, n) { | |
var r = o(e), | |
u = s(n); | |
return a ? a(r, t, u) : i.call(r, t, u) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.construct.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_object-create.js"), | |
s = n("./node_modules/core-js/modules/_a-function.js"), | |
a = n("./node_modules/core-js/modules/_an-object.js"), | |
i = n("./node_modules/core-js/modules/_is-object.js"), | |
u = n("./node_modules/core-js/modules/_fails.js"), | |
c = n("./node_modules/core-js/modules/_bind.js"), | |
l = (n("./node_modules/core-js/modules/_global.js").Reflect || {}).construct, | |
d = u(function() { | |
function e() {} | |
return !(l(function() {}, [], e) instanceof e) | |
}), | |
m = !u(function() { | |
l(function() {}) | |
}); | |
r(r.S + r.F * (d || m), "Reflect", { | |
construct: function(e, t) { | |
s(e), a(t); | |
var n = arguments.length < 3 ? e : s(arguments[2]); | |
if (m && !d) return l(e, t, n); | |
if (e == n) { | |
switch (t.length) { | |
case 0: | |
return new e; | |
case 1: | |
return new e(t[0]); | |
case 2: | |
return new e(t[0], t[1]); | |
case 3: | |
return new e(t[0], t[1], t[2]); | |
case 4: | |
return new e(t[0], t[1], t[2], t[3]) | |
} | |
var r = [null]; | |
return r.push.apply(r, t), new(c.apply(e, r)) | |
} | |
var u = n.prototype, | |
p = o(i(u) ? u : Object.prototype), | |
f = Function.apply.call(e, p, t); | |
return i(f) ? f : p | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.define-property.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-dp.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_an-object.js"), | |
a = n("./node_modules/core-js/modules/_to-primitive.js"); | |
o(o.S + o.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
Reflect.defineProperty(r.f({}, 1, { | |
value: 1 | |
}), 1, { | |
value: 2 | |
}) | |
}), "Reflect", { | |
defineProperty: function(e, t, n) { | |
s(e), t = a(t, !0), s(n); | |
try { | |
return r.f(e, t, n), !0 | |
} catch (e) { | |
return !1 | |
} | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.delete-property.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_object-gopd.js").f, | |
s = n("./node_modules/core-js/modules/_an-object.js"); | |
r(r.S, "Reflect", { | |
deleteProperty: function(e, t) { | |
var n = o(s(e), t); | |
return !(n && !n.configurable) && delete e[t] | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.enumerate.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = function(e) { | |
this._t = o(e), this._i = 0; | |
var t, n = this._k = []; | |
for (t in e) n.push(t) | |
}; | |
n("./node_modules/core-js/modules/_iter-create.js")(s, "Object", function() { | |
var e, t = this._k; | |
do { | |
if (this._i >= t.length) return { | |
value: void 0, | |
done: !0 | |
} | |
} while (!((e = t[this._i++]) in this._t)); | |
return { | |
value: e, | |
done: !1 | |
} | |
}), r(r.S, "Reflect", { | |
enumerate: function(e) { | |
return new s(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_object-gopd.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_an-object.js"); | |
o(o.S, "Reflect", { | |
getOwnPropertyDescriptor: function(e, t) { | |
return r.f(s(e), t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.get-prototype-of.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_object-gpo.js"), | |
s = n("./node_modules/core-js/modules/_an-object.js"); | |
r(r.S, "Reflect", { | |
getPrototypeOf: function(e) { | |
return o(s(e)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.get.js": function(e, t, n) { | |
function r(e, t) { | |
var n, i, l = arguments.length < 3 ? e : arguments[2]; | |
return c(e) === l ? e[t] : (n = o.f(e, t)) ? a(n, "value") ? n.value : void 0 !== n.get ? n.get.call(l) : void 0 : u(i = s(e)) ? r(i, t, l) : void 0 | |
} | |
var o = n("./node_modules/core-js/modules/_object-gopd.js"), | |
s = n("./node_modules/core-js/modules/_object-gpo.js"), | |
a = n("./node_modules/core-js/modules/_has.js"), | |
i = n("./node_modules/core-js/modules/_export.js"), | |
u = n("./node_modules/core-js/modules/_is-object.js"), | |
c = n("./node_modules/core-js/modules/_an-object.js"); | |
i(i.S, "Reflect", { | |
get: r | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.has.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Reflect", { | |
has: function(e, t) { | |
return t in e | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.is-extensible.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = Object.isExtensible; | |
r(r.S, "Reflect", { | |
isExtensible: function(e) { | |
return o(e), !s || s(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.own-keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Reflect", { | |
ownKeys: n("./node_modules/core-js/modules/_own-keys.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.prevent-extensions.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = Object.preventExtensions; | |
r(r.S, "Reflect", { | |
preventExtensions: function(e) { | |
o(e); | |
try { | |
return s && s(e), !0 | |
} catch (e) { | |
return !1 | |
} | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.set-prototype-of.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_set-proto.js"); | |
o && r(r.S, "Reflect", { | |
setPrototypeOf: function(e, t) { | |
o.check(e, t); | |
try { | |
return o.set(e, t), !0 | |
} catch (e) { | |
return !1 | |
} | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.reflect.set.js": function(e, t, n) { | |
function r(e, t, n) { | |
var u, m, p = arguments.length < 4 ? e : arguments[3], | |
f = s.f(l(e), t); | |
if (!f) { | |
if (d(m = a(e))) return r(m, t, n, p); | |
f = c(0) | |
} | |
return i(f, "value") ? !(!1 === f.writable || !d(p)) && (u = s.f(p, t) || c(0), u.value = n, o.f(p, t, u), !0) : void 0 !== f.set && (f.set.call(p, n), !0) | |
} | |
var o = n("./node_modules/core-js/modules/_object-dp.js"), | |
s = n("./node_modules/core-js/modules/_object-gopd.js"), | |
a = n("./node_modules/core-js/modules/_object-gpo.js"), | |
i = n("./node_modules/core-js/modules/_has.js"), | |
u = n("./node_modules/core-js/modules/_export.js"), | |
c = n("./node_modules/core-js/modules/_property-desc.js"), | |
l = n("./node_modules/core-js/modules/_an-object.js"), | |
d = n("./node_modules/core-js/modules/_is-object.js"); | |
u(u.S, "Reflect", { | |
set: r | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.regexp.constructor.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_inherit-if-required.js"), | |
s = n("./node_modules/core-js/modules/_object-dp.js").f, | |
a = n("./node_modules/core-js/modules/_object-gopn.js").f, | |
i = n("./node_modules/core-js/modules/_is-regexp.js"), | |
u = n("./node_modules/core-js/modules/_flags.js"), | |
c = r.RegExp, | |
l = c, | |
d = c.prototype, | |
m = /a/g, | |
p = /a/g, | |
f = new c(m) !== m; | |
if (n("./node_modules/core-js/modules/_descriptors.js") && (!f || n("./node_modules/core-js/modules/_fails.js")(function() { | |
return p[n("./node_modules/core-js/modules/_wks.js")("match")] = !1, c(m) != m || c(p) == p || "/a/i" != c(m, "i") | |
}))) { | |
c = function(e, t) { | |
var n = this instanceof c, | |
r = i(e), | |
s = void 0 === t; | |
return !n && r && e.constructor === c && s ? e : o(f ? new l(r && !s ? e.source : e, t) : l((r = e instanceof c) ? e.source : e, r && s ? u.call(e) : t), n ? this : d, c) | |
}; | |
for (var h = function(e) { | |
e in c || s(c, e, { | |
configurable: !0, | |
get: function() { | |
return l[e] | |
}, | |
set: function(t) { | |
l[e] = t | |
} | |
}) | |
}, v = a(l), _ = 0; v.length > _;) h(v[_++]); | |
d.constructor = c, c.prototype = d, n("./node_modules/core-js/modules/_redefine.js")(r, "RegExp", c) | |
} | |
n("./node_modules/core-js/modules/_set-species.js")("RegExp") | |
}, | |
"./node_modules/core-js/modules/es6.regexp.flags.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_descriptors.js") && "g" != /./g.flags && n("./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, "flags", { | |
configurable: !0, | |
get: n("./node_modules/core-js/modules/_flags.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.regexp.match.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_fix-re-wks.js")("match", 1, function(e, t, n) { | |
return [function(n) { | |
"use strict"; | |
var r = e(this), | |
o = void 0 == n ? void 0 : n[t]; | |
return void 0 !== o ? o.call(n, r) : new RegExp(n)[t](String(r)) | |
}, n] | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.regexp.replace.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_fix-re-wks.js")("replace", 2, function(e, t, n) { | |
return [function(r, o) { | |
"use strict"; | |
var s = e(this), | |
a = void 0 == r ? void 0 : r[t]; | |
return void 0 !== a ? a.call(r, s, o) : n.call(String(s), r, o) | |
}, n] | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.regexp.search.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_fix-re-wks.js")("search", 1, function(e, t, n) { | |
return [function(n) { | |
"use strict"; | |
var r = e(this), | |
o = void 0 == n ? void 0 : n[t]; | |
return void 0 !== o ? o.call(n, r) : new RegExp(n)[t](String(r)) | |
}, n] | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.regexp.split.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_fix-re-wks.js")("split", 2, function(e, t, r) { | |
"use strict"; | |
var o = n("./node_modules/core-js/modules/_is-regexp.js"), | |
s = r, | |
a = [].push; | |
if ("c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length) { | |
var i = void 0 === /()??/.exec("")[1]; | |
r = function(e, t) { | |
var n = String(this); | |
if (void 0 === e && 0 === t) return []; | |
if (!o(e)) return s.call(n, e, t); | |
var r, u, c, l, d, m = [], | |
p = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""), | |
f = 0, | |
h = void 0 === t ? 4294967295 : t >>> 0, | |
v = new RegExp(e.source, p + "g"); | |
for (i || (r = new RegExp("^" + v.source + "$(?!\\s)", p)); | |
(u = v.exec(n)) && !((c = u.index + u[0].length) > f && (m.push(n.slice(f, u.index)), !i && u.length > 1 && u[0].replace(r, function() { | |
for (d = 1; d < arguments.length - 2; d++) void 0 === arguments[d] && (u[d] = void 0) | |
}), u.length > 1 && u.index < n.length && a.apply(m, u.slice(1)), l = u[0].length, f = c, m.length >= h));) v.lastIndex === u.index && v.lastIndex++; | |
return f === n.length ? !l && v.test("") || m.push("") : m.push(n.slice(f)), m.length > h ? m.slice(0, h) : m | |
} | |
} else "0".split(void 0, 0).length && (r = function(e, t) { | |
return void 0 === e && 0 === t ? [] : s.call(this, e, t) | |
}); | |
return [function(n, o) { | |
var s = e(this), | |
a = void 0 == n ? void 0 : n[t]; | |
return void 0 !== a ? a.call(n, s, o) : r.call(String(s), n, o) | |
}, r] | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.regexp.to-string.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/es6.regexp.flags.js"); | |
var r = n("./node_modules/core-js/modules/_an-object.js"), | |
o = n("./node_modules/core-js/modules/_flags.js"), | |
s = n("./node_modules/core-js/modules/_descriptors.js"), | |
a = /./.toString, | |
i = function(e) { | |
n("./node_modules/core-js/modules/_redefine.js")(RegExp.prototype, "toString", e, !0) | |
}; | |
n("./node_modules/core-js/modules/_fails.js")(function() { | |
return "/a/b" != a.call({ | |
source: "a", | |
flags: "b" | |
}) | |
}) ? i(function() { | |
var e = r(this); | |
return "/".concat(e.source, "/", "flags" in e ? e.flags : !s && e instanceof RegExp ? o.call(e) : void 0) | |
}) : "toString" != a.name && i(function() { | |
return a.call(this) | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.set.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_collection-strong.js"); | |
e.exports = n("./node_modules/core-js/modules/_collection.js")("Set", function(e) { | |
return function() { | |
return e(this, arguments.length > 0 ? arguments[0] : void 0) | |
} | |
}, { | |
add: function(e) { | |
return r.def(this, e = 0 === e ? 0 : e, e) | |
} | |
}, r) | |
}, | |
"./node_modules/core-js/modules/es6.string.anchor.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("anchor", function(e) { | |
return function(t) { | |
return e(this, "a", "name", t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.big.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("big", function(e) { | |
return function() { | |
return e(this, "big", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.blink.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("blink", function(e) { | |
return function() { | |
return e(this, "blink", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.bold.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("bold", function(e) { | |
return function() { | |
return e(this, "b", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.code-point-at.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_string-at.js")(!1); | |
r(r.P, "String", { | |
codePointAt: function(e) { | |
return o(this, e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.ends-with.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-length.js"), | |
s = n("./node_modules/core-js/modules/_string-context.js"), | |
a = "".endsWith; | |
r(r.P + r.F * n("./node_modules/core-js/modules/_fails-is-regexp.js")("endsWith"), "String", { | |
endsWith: function(e) { | |
var t = s(this, e, "endsWith"), | |
n = arguments.length > 1 ? arguments[1] : void 0, | |
r = o(t.length), | |
i = void 0 === n ? r : Math.min(o(n), r), | |
u = String(e); | |
return a ? a.call(t, u, i) : t.slice(i - u.length, i) === u | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.fixed.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("fixed", function(e) { | |
return function() { | |
return e(this, "tt", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.fontcolor.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("fontcolor", function(e) { | |
return function(t) { | |
return e(this, "font", "color", t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.fontsize.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("fontsize", function(e) { | |
return function(t) { | |
return e(this, "font", "size", t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.from-code-point.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-index.js"), | |
s = String.fromCharCode, | |
a = String.fromCodePoint; | |
r(r.S + r.F * (!!a && 1 != a.length), "String", { | |
fromCodePoint: function(e) { | |
for (var t, n = [], r = arguments.length, a = 0; r > a;) { | |
if (t = +arguments[a++], o(t, 1114111) !== t) throw RangeError(t + " is not a valid code point"); | |
n.push(t < 65536 ? s(t) : s(55296 + ((t -= 65536) >> 10), t % 1024 + 56320)) | |
} | |
return n.join("") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.includes.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_string-context.js"); | |
r(r.P + r.F * n("./node_modules/core-js/modules/_fails-is-regexp.js")("includes"), "String", { | |
includes: function(e) { | |
return !!~o(this, e, "includes").indexOf(e, arguments.length > 1 ? arguments[1] : void 0) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.italics.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("italics", function(e) { | |
return function() { | |
return e(this, "i", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.iterator.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_string-at.js")(!0); | |
n("./node_modules/core-js/modules/_iter-define.js")(String, "String", function(e) { | |
this._t = String(e), this._i = 0 | |
}, function() { | |
var e, t = this._t, | |
n = this._i; | |
return n >= t.length ? { | |
value: void 0, | |
done: !0 | |
} : (e = r(t, n), this._i += e.length, { | |
value: e, | |
done: !1 | |
}) | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.link.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("link", function(e) { | |
return function(t) { | |
return e(this, "a", "href", t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.raw.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-iobject.js"), | |
s = n("./node_modules/core-js/modules/_to-length.js"); | |
r(r.S, "String", { | |
raw: function(e) { | |
for (var t = o(e.raw), n = s(t.length), r = arguments.length, a = [], i = 0; n > i;) a.push(String(t[i++])), i < r && a.push(String(arguments[i])); | |
return a.join("") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.repeat.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.P, "String", { | |
repeat: n("./node_modules/core-js/modules/_string-repeat.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.small.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("small", function(e) { | |
return function() { | |
return e(this, "small", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.starts-with.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-length.js"), | |
s = n("./node_modules/core-js/modules/_string-context.js"), | |
a = "startsWith", | |
i = "" [a]; | |
r(r.P + r.F * n("./node_modules/core-js/modules/_fails-is-regexp.js")(a), "String", { | |
startsWith: function(e) { | |
var t = s(this, e, a), | |
n = o(Math.min(arguments.length > 1 ? arguments[1] : void 0, t.length)), | |
r = String(e); | |
return i ? i.call(t, r, n) : t.slice(n, n + r.length) === r | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.strike.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("strike", function(e) { | |
return function() { | |
return e(this, "strike", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.sub.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("sub", function(e) { | |
return function() { | |
return e(this, "sub", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.sup.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-html.js")("sup", function(e) { | |
return function() { | |
return e(this, "sup", "", "") | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.string.trim.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-trim.js")("trim", function(e) { | |
return function() { | |
return e(this, 3) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.symbol.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_has.js"), | |
s = n("./node_modules/core-js/modules/_descriptors.js"), | |
a = n("./node_modules/core-js/modules/_export.js"), | |
i = n("./node_modules/core-js/modules/_redefine.js"), | |
u = n("./node_modules/core-js/modules/_meta.js").KEY, | |
c = n("./node_modules/core-js/modules/_fails.js"), | |
l = n("./node_modules/core-js/modules/_shared.js"), | |
d = n("./node_modules/core-js/modules/_set-to-string-tag.js"), | |
m = n("./node_modules/core-js/modules/_uid.js"), | |
p = n("./node_modules/core-js/modules/_wks.js"), | |
f = n("./node_modules/core-js/modules/_wks-ext.js"), | |
h = n("./node_modules/core-js/modules/_wks-define.js"), | |
v = n("./node_modules/core-js/modules/_keyof.js"), | |
_ = n("./node_modules/core-js/modules/_enum-keys.js"), | |
g = n("./node_modules/core-js/modules/_is-array.js"), | |
y = n("./node_modules/core-js/modules/_an-object.js"), | |
b = n("./node_modules/core-js/modules/_to-iobject.js"), | |
j = n("./node_modules/core-js/modules/_to-primitive.js"), | |
x = n("./node_modules/core-js/modules/_property-desc.js"), | |
w = n("./node_modules/core-js/modules/_object-create.js"), | |
k = n("./node_modules/core-js/modules/_object-gopn-ext.js"), | |
E = n("./node_modules/core-js/modules/_object-gopd.js"), | |
S = n("./node_modules/core-js/modules/_object-dp.js"), | |
L = n("./node_modules/core-js/modules/_object-keys.js"), | |
M = E.f, | |
D = S.f, | |
T = k.f, | |
C = r.Symbol, | |
A = r.JSON, | |
N = A && A.stringify, | |
P = "prototype", | |
O = p("_hidden"), | |
F = p("toPrimitive"), | |
Y = {}.propertyIsEnumerable, | |
I = l("symbol-registry"), | |
B = l("symbols"), | |
z = l("op-symbols"), | |
q = Object[P], | |
R = "function" == typeof C, | |
H = r.QObject, | |
U = !H || !H[P] || !H[P].findChild, | |
$ = s && c(function() { | |
return 7 != w(D({}, "a", { | |
get: function() { | |
return D(this, "a", { | |
value: 7 | |
}).a | |
} | |
})).a | |
}) ? function(e, t, n) { | |
var r = M(q, t); | |
r && delete q[t], D(e, t, n), r && e !== q && D(q, t, r) | |
} : D, | |
W = function(e) { | |
var t = B[e] = w(C[P]); | |
return t._k = e, t | |
}, | |
V = R && "symbol" == typeof C.iterator ? function(e) { | |
return "symbol" == typeof e | |
} : function(e) { | |
return e instanceof C | |
}, | |
G = function(e, t, n) { | |
return e === q && G(z, t, n), y(e), t = j(t, !0), y(n), o(B, t) ? (n.enumerable ? (o(e, O) && e[O][t] && (e[O][t] = !1), n = w(n, { | |
enumerable: x(0, !1) | |
})) : (o(e, O) || D(e, O, x(1, {})), e[O][t] = !0), $(e, t, n)) : D(e, t, n) | |
}, | |
X = function(e, t) { | |
y(e); | |
for (var n, r = _(t = b(t)), o = 0, s = r.length; s > o;) G(e, n = r[o++], t[n]); | |
return e | |
}, | |
Q = function(e) { | |
var t = Y.call(this, e = j(e, !0)); | |
return !(this === q && o(B, e) && !o(z, e)) && (!(t || !o(this, e) || !o(B, e) || o(this, O) && this[O][e]) || t) | |
}, | |
K = function(e, t) { | |
if (e = b(e), t = j(t, !0), e !== q || !o(B, t) || o(z, t)) { | |
var n = M(e, t); | |
return !n || !o(B, t) || o(e, O) && e[O][t] || (n.enumerable = !0), n | |
} | |
}, | |
J = function(e) { | |
for (var t, n = T(b(e)), r = [], s = 0; n.length > s;) o(B, t = n[s++]) || t == O || t == u || r.push(t); | |
return r | |
}, | |
Z = function(e) { | |
for (var t, n = e === q, r = T(n ? z : b(e)), s = [], a = 0; r.length > a;) !o(B, t = r[a++]) || n && !o(q, t) || s.push(B[t]); | |
return s | |
}; | |
R || (i((C = function() { | |
if (this instanceof C) throw TypeError("Symbol is not a constructor!"); | |
var e = m(arguments.length > 0 ? arguments[0] : void 0), | |
t = function(n) { | |
this === q && t.call(z, n), o(this, O) && o(this[O], e) && (this[O][e] = !1), $(this, e, x(1, n)) | |
}; | |
return s && U && $(q, e, { | |
configurable: !0, | |
set: t | |
}), W(e) | |
})[P], "toString", function() { | |
return this._k | |
}), E.f = K, S.f = G, n("./node_modules/core-js/modules/_object-gopn.js").f = k.f = J, n("./node_modules/core-js/modules/_object-pie.js").f = Q, n("./node_modules/core-js/modules/_object-gops.js").f = Z, s && !n("./node_modules/core-js/modules/_library.js") && i(q, "propertyIsEnumerable", Q, !0), f.f = function(e) { | |
return W(p(e)) | |
}), a(a.G + a.W + a.F * !R, { | |
Symbol: C | |
}); | |
for (var ee = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), te = 0; ee.length > te;) p(ee[te++]); | |
for (ee = L(p.store), te = 0; ee.length > te;) h(ee[te++]); | |
a(a.S + a.F * !R, "Symbol", { | |
for: function(e) { | |
return o(I, e += "") ? I[e] : I[e] = C(e) | |
}, | |
keyFor: function(e) { | |
if (V(e)) return v(I, e); | |
throw TypeError(e + " is not a symbol!") | |
}, | |
useSetter: function() { | |
U = !0 | |
}, | |
useSimple: function() { | |
U = !1 | |
} | |
}), a(a.S + a.F * !R, "Object", { | |
create: function(e, t) { | |
return void 0 === t ? w(e) : X(w(e), t) | |
}, | |
defineProperty: G, | |
defineProperties: X, | |
getOwnPropertyDescriptor: K, | |
getOwnPropertyNames: J, | |
getOwnPropertySymbols: Z | |
}), A && a(a.S + a.F * (!R || c(function() { | |
var e = C(); | |
return "[null]" != N([e]) || "{}" != N({ | |
a: e | |
}) || "{}" != N(Object(e)) | |
})), "JSON", { | |
stringify: function(e) { | |
if (void 0 !== e && !V(e)) { | |
for (var t, n, r = [e], o = 1; arguments.length > o;) r.push(arguments[o++]); | |
return "function" == typeof(t = r[1]) && (n = t), !n && g(t) || (t = function(e, t) { | |
if (n && (t = n.call(this, e, t)), !V(t)) return t | |
}), r[1] = t, N.apply(A, r) | |
} | |
} | |
}), C[P][F] || n("./node_modules/core-js/modules/_hide.js")(C[P], F, C[P].valueOf), d(C, "Symbol"), d(Math, "Math", !0), d(r.JSON, "JSON", !0) | |
}, | |
"./node_modules/core-js/modules/es6.typed.array-buffer.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_typed.js"), | |
s = n("./node_modules/core-js/modules/_typed-buffer.js"), | |
a = n("./node_modules/core-js/modules/_an-object.js"), | |
i = n("./node_modules/core-js/modules/_to-index.js"), | |
u = n("./node_modules/core-js/modules/_to-length.js"), | |
c = n("./node_modules/core-js/modules/_is-object.js"), | |
l = n("./node_modules/core-js/modules/_global.js").ArrayBuffer, | |
d = n("./node_modules/core-js/modules/_species-constructor.js"), | |
m = s.ArrayBuffer, | |
p = s.DataView, | |
f = o.ABV && l.isView, | |
h = m.prototype.slice, | |
v = o.VIEW, | |
_ = "ArrayBuffer"; | |
r(r.G + r.W + r.F * (l !== m), { | |
ArrayBuffer: m | |
}), r(r.S + r.F * !o.CONSTR, _, { | |
isView: function(e) { | |
return f && f(e) || c(e) && v in e | |
} | |
}), r(r.P + r.U + r.F * n("./node_modules/core-js/modules/_fails.js")(function() { | |
return !new m(2).slice(1, void 0).byteLength | |
}), _, { | |
slice: function(e, t) { | |
if (void 0 !== h && void 0 === t) return h.call(a(this), e); | |
for (var n = a(this).byteLength, r = i(e, n), o = i(void 0 === t ? n : t, n), s = new(d(this, m))(u(o - r)), c = new p(this), l = new p(s), f = 0; r < o;) l.setUint8(f++, c.getUint8(r++)); | |
return s | |
} | |
}), n("./node_modules/core-js/modules/_set-species.js")(_) | |
}, | |
"./node_modules/core-js/modules/es6.typed.data-view.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.G + r.W + r.F * !n("./node_modules/core-js/modules/_typed.js").ABV, { | |
DataView: n("./node_modules/core-js/modules/_typed-buffer.js").DataView | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.float32-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Float32", 4, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.float64-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Float64", 8, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.int16-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Int16", 2, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.int32-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Int32", 4, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.int8-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Int8", 1, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.uint16-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Uint16", 2, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.uint32-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Uint32", 4, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.uint8-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Uint8", 1, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_typed-array.js")("Uint8", 1, function(e) { | |
return function(t, n, r) { | |
return e(this, t, n, r) | |
} | |
}, !0) | |
}, | |
"./node_modules/core-js/modules/es6.weak-map.js": function(e, t, n) { | |
"use strict"; | |
var r, o = n("./node_modules/core-js/modules/_array-methods.js")(0), | |
s = n("./node_modules/core-js/modules/_redefine.js"), | |
a = n("./node_modules/core-js/modules/_meta.js"), | |
i = n("./node_modules/core-js/modules/_object-assign.js"), | |
u = n("./node_modules/core-js/modules/_collection-weak.js"), | |
c = n("./node_modules/core-js/modules/_is-object.js"), | |
l = a.getWeak, | |
d = Object.isExtensible, | |
m = u.ufstore, | |
p = {}, | |
f = function(e) { | |
return function() { | |
return e(this, arguments.length > 0 ? arguments[0] : void 0) | |
} | |
}, | |
h = { | |
get: function(e) { | |
if (c(e)) { | |
var t = l(e); | |
return !0 === t ? m(this).get(e) : t ? t[this._i] : void 0 | |
} | |
}, | |
set: function(e, t) { | |
return u.def(this, e, t) | |
} | |
}, | |
v = e.exports = n("./node_modules/core-js/modules/_collection.js")("WeakMap", f, h, u, !0, !0); | |
7 != (new v).set((Object.freeze || Object)(p), 7).get(p) && (i((r = u.getConstructor(f)).prototype, h), a.NEED = !0, o(["delete", "has", "get", "set"], function(e) { | |
var t = v.prototype, | |
n = t[e]; | |
s(t, e, function(t, o) { | |
if (c(t) && !d(t)) { | |
this._f || (this._f = new r); | |
var s = this._f[e](t, o); | |
return "set" == e ? this : s | |
} | |
return n.call(this, t, o) | |
}) | |
})) | |
}, | |
"./node_modules/core-js/modules/es6.weak-set.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_collection-weak.js"); | |
n("./node_modules/core-js/modules/_collection.js")("WeakSet", function(e) { | |
return function() { | |
return e(this, arguments.length > 0 ? arguments[0] : void 0) | |
} | |
}, { | |
add: function(e) { | |
return r.def(this, e, !0) | |
} | |
}, r, !1, !0) | |
}, | |
"./node_modules/core-js/modules/es7.array.includes.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_array-includes.js")(!0); | |
r(r.P, "Array", { | |
includes: function(e) { | |
return o(this, e, arguments.length > 1 ? arguments[1] : void 0) | |
} | |
}), n("./node_modules/core-js/modules/_add-to-unscopables.js")("includes") | |
}, | |
"./node_modules/core-js/modules/es7.asap.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_microtask.js")(), | |
s = n("./node_modules/core-js/modules/_global.js").process, | |
a = "process" == n("./node_modules/core-js/modules/_cof.js")(s); | |
r(r.G, { | |
asap: function(e) { | |
var t = a && s.domain; | |
o(t ? t.bind(e) : e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.error.is-error.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_cof.js"); | |
r(r.S, "Error", { | |
isError: function(e) { | |
return "Error" === o(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.map.to-json.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.P + r.R, "Map", { | |
toJSON: n("./node_modules/core-js/modules/_collection-to-json.js")("Map") | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.math.iaddh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
iaddh: function(e, t, n, r) { | |
var o = e >>> 0, | |
s = n >>> 0; | |
return (t >>> 0) + (r >>> 0) + ((o & s | (o | s) & ~(o + s >>> 0)) >>> 31) | 0 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.math.imulh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
imulh: function(e, t) { | |
var n = +e, | |
r = +t, | |
o = 65535 & n, | |
s = 65535 & r, | |
a = n >> 16, | |
i = r >> 16, | |
u = (a * s >>> 0) + (o * s >>> 16); | |
return a * i + (u >> 16) + ((o * i >>> 0) + (65535 & u) >> 16) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.math.isubh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
isubh: function(e, t, n, r) { | |
var o = e >>> 0, | |
s = n >>> 0; | |
return (t >>> 0) - (r >>> 0) - ((~o & s | ~(o ^ s) & o - s >>> 0) >>> 31) | 0 | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.math.umulh.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "Math", { | |
umulh: function(e, t) { | |
var n = +e, | |
r = +t, | |
o = 65535 & n, | |
s = 65535 & r, | |
a = n >>> 16, | |
i = r >>> 16, | |
u = (a * s >>> 0) + (o * s >>> 16); | |
return a * i + (u >>> 16) + ((o * i >>> 0) + (65535 & u) >>> 16) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.define-getter.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_a-function.js"), | |
a = n("./node_modules/core-js/modules/_object-dp.js"); | |
n("./node_modules/core-js/modules/_descriptors.js") && r(r.P + n("./node_modules/core-js/modules/_object-forced-pam.js"), "Object", { | |
__defineGetter__: function(e, t) { | |
a.f(o(this), e, { | |
get: s(t), | |
enumerable: !0, | |
configurable: !0 | |
}) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.define-setter.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_a-function.js"), | |
a = n("./node_modules/core-js/modules/_object-dp.js"); | |
n("./node_modules/core-js/modules/_descriptors.js") && r(r.P + n("./node_modules/core-js/modules/_object-forced-pam.js"), "Object", { | |
__defineSetter__: function(e, t) { | |
a.f(o(this), e, { | |
set: s(t), | |
enumerable: !0, | |
configurable: !0 | |
}) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.entries.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_object-to-array.js")(!0); | |
r(r.S, "Object", { | |
entries: function(e) { | |
return o(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_own-keys.js"), | |
s = n("./node_modules/core-js/modules/_to-iobject.js"), | |
a = n("./node_modules/core-js/modules/_object-gopd.js"), | |
i = n("./node_modules/core-js/modules/_create-property.js"); | |
r(r.S, "Object", { | |
getOwnPropertyDescriptors: function(e) { | |
for (var t, n = s(e), r = a.f, u = o(n), c = {}, l = 0; u.length > l;) i(c, t = u[l++], r(n, t)); | |
return c | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.lookup-getter.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_to-primitive.js"), | |
a = n("./node_modules/core-js/modules/_object-gpo.js"), | |
i = n("./node_modules/core-js/modules/_object-gopd.js").f; | |
n("./node_modules/core-js/modules/_descriptors.js") && r(r.P + n("./node_modules/core-js/modules/_object-forced-pam.js"), "Object", { | |
__lookupGetter__: function(e) { | |
var t, n = o(this), | |
r = s(e, !0); | |
do { | |
if (t = i(n, r)) return t.get | |
} while (n = a(n)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.lookup-setter.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_to-object.js"), | |
s = n("./node_modules/core-js/modules/_to-primitive.js"), | |
a = n("./node_modules/core-js/modules/_object-gpo.js"), | |
i = n("./node_modules/core-js/modules/_object-gopd.js").f; | |
n("./node_modules/core-js/modules/_descriptors.js") && r(r.P + n("./node_modules/core-js/modules/_object-forced-pam.js"), "Object", { | |
__lookupSetter__: function(e) { | |
var t, n = o(this), | |
r = s(e, !0); | |
do { | |
if (t = i(n, r)) return t.set | |
} while (n = a(n)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.object.values.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_object-to-array.js")(!1); | |
r(r.S, "Object", { | |
values: function(e) { | |
return o(e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.observable.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_global.js"), | |
s = n("./node_modules/core-js/modules/_core.js"), | |
a = n("./node_modules/core-js/modules/_microtask.js")(), | |
i = n("./node_modules/core-js/modules/_wks.js")("observable"), | |
u = n("./node_modules/core-js/modules/_a-function.js"), | |
c = n("./node_modules/core-js/modules/_an-object.js"), | |
l = n("./node_modules/core-js/modules/_an-instance.js"), | |
d = n("./node_modules/core-js/modules/_redefine-all.js"), | |
m = n("./node_modules/core-js/modules/_hide.js"), | |
p = n("./node_modules/core-js/modules/_for-of.js"), | |
f = p.RETURN, | |
h = function(e) { | |
return null == e ? void 0 : u(e) | |
}, | |
v = function(e) { | |
var t = e._c; | |
t && (e._c = void 0, t()) | |
}, | |
_ = function(e) { | |
return void 0 === e._o | |
}, | |
g = function(e) { | |
_(e) || (e._o = void 0, v(e)) | |
}, | |
y = function(e, t) { | |
c(e), this._c = void 0, this._o = e, e = new b(this); | |
try { | |
var n = t(e), | |
r = n; | |
null != n && ("function" == typeof n.unsubscribe ? n = function() { | |
r.unsubscribe() | |
} : u(n), this._c = n) | |
} catch (t) { | |
return void e.error(t) | |
} | |
_(this) && v(this) | |
}; | |
y.prototype = d({}, { | |
unsubscribe: function() { | |
g(this) | |
} | |
}); | |
var b = function(e) { | |
this._s = e | |
}; | |
b.prototype = d({}, { | |
next: function(e) { | |
var t = this._s; | |
if (!_(t)) { | |
var n = t._o; | |
try { | |
var r = h(n.next); | |
if (r) return r.call(n, e) | |
} catch (e) { | |
try { | |
g(t) | |
} finally { | |
throw e | |
} | |
} | |
} | |
}, | |
error: function(e) { | |
var t = this._s; | |
if (_(t)) throw e; | |
var n = t._o; | |
t._o = void 0; | |
try { | |
var r = h(n.error); | |
if (!r) throw e; | |
e = r.call(n, e) | |
} catch (e) { | |
try { | |
v(t) | |
} finally { | |
throw e | |
} | |
} | |
return v(t), e | |
}, | |
complete: function(e) { | |
var t = this._s; | |
if (!_(t)) { | |
var n = t._o; | |
t._o = void 0; | |
try { | |
var r = h(n.complete); | |
e = r ? r.call(n, e) : void 0 | |
} catch (e) { | |
try { | |
v(t) | |
} finally { | |
throw e | |
} | |
} | |
return v(t), e | |
} | |
} | |
}); | |
var j = function(e) { | |
l(this, j, "Observable", "_f")._f = u(e) | |
}; | |
d(j.prototype, { | |
subscribe: function(e) { | |
return new y(e, this._f) | |
}, | |
forEach: function(e) { | |
var t = this; | |
return new(s.Promise || o.Promise)(function(n, r) { | |
u(e); | |
var o = t.subscribe({ | |
next: function(t) { | |
try { | |
return e(t) | |
} catch (e) { | |
r(e), o.unsubscribe() | |
} | |
}, | |
error: r, | |
complete: n | |
}) | |
}) | |
} | |
}), d(j, { | |
from: function(e) { | |
var t = "function" == typeof this ? this : j, | |
n = h(c(e)[i]); | |
if (n) { | |
var r = c(n.call(e)); | |
return r.constructor === t ? r : new t(function(e) { | |
return r.subscribe(e) | |
}) | |
} | |
return new t(function(t) { | |
var n = !1; | |
return a(function() { | |
if (!n) { | |
try { | |
if (p(e, !1, function(e) { | |
if (t.next(e), n) return f | |
}) === f) return | |
} catch (e) { | |
if (n) throw e; | |
return void t.error(e) | |
} | |
t.complete() | |
} | |
}), | |
function() { | |
n = !0 | |
} | |
}) | |
}, | |
of: function() { | |
for (var e = 0, t = arguments.length, n = Array(t); e < t;) n[e] = arguments[e++]; | |
return new("function" == typeof this ? this : j)(function(e) { | |
var t = !1; | |
return a(function() { | |
if (!t) { | |
for (var r = 0; r < n.length; ++r) | |
if (e.next(n[r]), t) return; | |
e.complete() | |
} | |
}), | |
function() { | |
t = !0 | |
} | |
}) | |
} | |
}), m(j.prototype, i, function() { | |
return this | |
}), r(r.G, { | |
Observable: j | |
}), n("./node_modules/core-js/modules/_set-species.js")("Observable") | |
}, | |
"./node_modules/core-js/modules/es7.reflect.define-metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = r.key, | |
a = r.set; | |
r.exp({ | |
defineMetadata: function(e, t, n, r) { | |
a(e, t, o(n), s(r)) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.delete-metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = r.key, | |
a = r.map, | |
i = r.store; | |
r.exp({ | |
deleteMetadata: function(e, t) { | |
var n = arguments.length < 3 ? void 0 : s(arguments[2]), | |
r = a(o(t), n, !1); | |
if (void 0 === r || !r.delete(e)) return !1; | |
if (r.size) return !0; | |
var u = i.get(t); | |
return u.delete(n), !!u.size || i.delete(t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/es6.set.js"), | |
o = n("./node_modules/core-js/modules/_array-from-iterable.js"), | |
s = n("./node_modules/core-js/modules/_metadata.js"), | |
a = n("./node_modules/core-js/modules/_an-object.js"), | |
i = n("./node_modules/core-js/modules/_object-gpo.js"), | |
u = s.keys, | |
c = s.key, | |
l = function(e, t) { | |
var n = u(e, t), | |
s = i(e); | |
if (null === s) return n; | |
var a = l(s, t); | |
return a.length ? n.length ? o(new r(n.concat(a))) : a : n | |
}; | |
s.exp({ | |
getMetadataKeys: function(e) { | |
return l(a(e), arguments.length < 2 ? void 0 : c(arguments[1])) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.get-metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = n("./node_modules/core-js/modules/_object-gpo.js"), | |
a = r.has, | |
i = r.get, | |
u = r.key, | |
c = function(e, t, n) { | |
if (a(e, t, n)) return i(e, t, n); | |
var r = s(t); | |
return null !== r ? c(e, r, n) : void 0 | |
}; | |
r.exp({ | |
getMetadata: function(e, t) { | |
return c(e, o(t), arguments.length < 3 ? void 0 : u(arguments[2])) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = r.keys, | |
a = r.key; | |
r.exp({ | |
getOwnMetadataKeys: function(e) { | |
return s(o(e), arguments.length < 2 ? void 0 : a(arguments[1])) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.get-own-metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = r.get, | |
a = r.key; | |
r.exp({ | |
getOwnMetadata: function(e, t) { | |
return s(e, o(t), arguments.length < 3 ? void 0 : a(arguments[2])) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.has-metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = n("./node_modules/core-js/modules/_object-gpo.js"), | |
a = r.has, | |
i = r.key, | |
u = function(e, t, n) { | |
if (a(e, t, n)) return !0; | |
var r = s(t); | |
return null !== r && u(e, r, n) | |
}; | |
r.exp({ | |
hasMetadata: function(e, t) { | |
return u(e, o(t), arguments.length < 3 ? void 0 : i(arguments[2])) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.has-own-metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = r.has, | |
a = r.key; | |
r.exp({ | |
hasOwnMetadata: function(e, t) { | |
return s(e, o(t), arguments.length < 3 ? void 0 : a(arguments[2])) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.reflect.metadata.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_metadata.js"), | |
o = n("./node_modules/core-js/modules/_an-object.js"), | |
s = n("./node_modules/core-js/modules/_a-function.js"), | |
a = r.key, | |
i = r.set; | |
r.exp({ | |
metadata: function(e, t) { | |
return function(n, r) { | |
i(e, t, (void 0 !== r ? o : s)(n), a(r)) | |
} | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.set.to-json.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.P + r.R, "Set", { | |
toJSON: n("./node_modules/core-js/modules/_collection-to-json.js")("Set") | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.string.at.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_string-at.js")(!0); | |
r(r.P, "String", { | |
at: function(e) { | |
return o(this, e) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.string.match-all.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_defined.js"), | |
s = n("./node_modules/core-js/modules/_to-length.js"), | |
a = n("./node_modules/core-js/modules/_is-regexp.js"), | |
i = n("./node_modules/core-js/modules/_flags.js"), | |
u = RegExp.prototype, | |
c = function(e, t) { | |
this._r = e, this._s = t | |
}; | |
n("./node_modules/core-js/modules/_iter-create.js")(c, "RegExp String", function() { | |
var e = this._r.exec(this._s); | |
return { | |
value: e, | |
done: null === e | |
} | |
}), r(r.P, "String", { | |
matchAll: function(e) { | |
if (o(this), !a(e)) throw TypeError(e + " is not a regexp!"); | |
var t = String(this), | |
n = "flags" in u ? String(e.flags) : i.call(e), | |
r = new RegExp(e.source, ~n.indexOf("g") ? n : "g" + n); | |
return r.lastIndex = s(e.lastIndex), new c(r, t) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.string.pad-end.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_string-pad.js"); | |
r(r.P, "String", { | |
padEnd: function(e) { | |
return o(this, e, arguments.length > 1 ? arguments[1] : void 0, !1) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.string.pad-start.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_string-pad.js"); | |
r(r.P, "String", { | |
padStart: function(e) { | |
return o(this, e, arguments.length > 1 ? arguments[1] : void 0, !0) | |
} | |
}) | |
}, | |
"./node_modules/core-js/modules/es7.string.trim-left.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-trim.js")("trimLeft", function(e) { | |
return function() { | |
return e(this, 1) | |
} | |
}, "trimStart") | |
}, | |
"./node_modules/core-js/modules/es7.string.trim-right.js": function(e, t, n) { | |
"use strict"; | |
n("./node_modules/core-js/modules/_string-trim.js")("trimRight", function(e) { | |
return function() { | |
return e(this, 2) | |
} | |
}, "trimEnd") | |
}, | |
"./node_modules/core-js/modules/es7.symbol.async-iterator.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_wks-define.js")("asyncIterator") | |
}, | |
"./node_modules/core-js/modules/es7.symbol.observable.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/_wks-define.js")("observable") | |
}, | |
"./node_modules/core-js/modules/es7.system.global.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"); | |
r(r.S, "System", { | |
global: n("./node_modules/core-js/modules/_global.js") | |
}) | |
}, | |
"./node_modules/core-js/modules/web.dom.iterable.js": function(e, t, n) { | |
for (var r = n("./node_modules/core-js/modules/es6.array.iterator.js"), o = n("./node_modules/core-js/modules/_redefine.js"), s = n("./node_modules/core-js/modules/_global.js"), a = n("./node_modules/core-js/modules/_hide.js"), i = n("./node_modules/core-js/modules/_iterators.js"), u = n("./node_modules/core-js/modules/_wks.js"), c = u("iterator"), l = u("toStringTag"), d = i.Array, m = ["NodeList", "DOMTokenList", "MediaList", "StyleSheetList", "CSSRuleList"], p = 0; p < 5; p++) { | |
var f, h = m[p], | |
v = s[h], | |
_ = v && v.prototype; | |
if (_) { | |
_[c] || a(_, c, d), _[l] || a(_, l, h), i[h] = d; | |
for (f in r) _[f] || o(_, f, r[f], !0) | |
} | |
} | |
}, | |
"./node_modules/core-js/modules/web.immediate.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_export.js"), | |
o = n("./node_modules/core-js/modules/_task.js"); | |
r(r.G + r.B, { | |
setImmediate: o.set, | |
clearImmediate: o.clear | |
}) | |
}, | |
"./node_modules/core-js/modules/web.timers.js": function(e, t, n) { | |
var r = n("./node_modules/core-js/modules/_global.js"), | |
o = n("./node_modules/core-js/modules/_export.js"), | |
s = n("./node_modules/core-js/modules/_invoke.js"), | |
a = n("./node_modules/core-js/modules/_partial.js"), | |
i = r.navigator, | |
u = !!i && /MSIE .\./.test(i.userAgent), | |
c = function(e) { | |
return u ? function(t, n) { | |
return e(s(a, [].slice.call(arguments, 2), "function" == typeof t ? t : Function(t)), n) | |
} : e | |
}; | |
o(o.G + o.B + o.F * u, { | |
setTimeout: c(r.setTimeout), | |
setInterval: c(r.setInterval) | |
}) | |
}, | |
"./node_modules/core-js/shim.js": function(e, t, n) { | |
n("./node_modules/core-js/modules/es6.symbol.js"), n("./node_modules/core-js/modules/es6.object.create.js"), n("./node_modules/core-js/modules/es6.object.define-property.js"), n("./node_modules/core-js/modules/es6.object.define-properties.js"), n("./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"), n("./node_modules/core-js/modules/es6.object.get-prototype-of.js"), n("./node_modules/core-js/modules/es6.object.keys.js"), n("./node_modules/core-js/modules/es6.object.get-own-property-names.js"), n("./node_modules/core-js/modules/es6.object.freeze.js"), n("./node_modules/core-js/modules/es6.object.seal.js"), n("./node_modules/core-js/modules/es6.object.prevent-extensions.js"), n("./node_modules/core-js/modules/es6.object.is-frozen.js"), n("./node_modules/core-js/modules/es6.object.is-sealed.js"), n("./node_modules/core-js/modules/es6.object.is-extensible.js"), n("./node_modules/core-js/modules/es6.object.assign.js"), n("./node_modules/core-js/modules/es6.object.is.js"), n("./node_modules/core-js/modules/es6.object.set-prototype-of.js"), n("./node_modules/core-js/modules/es6.object.to-string.js"), n("./node_modules/core-js/modules/es6.function.bind.js"), n("./node_modules/core-js/modules/es6.function.name.js"), n("./node_modules/core-js/modules/es6.function.has-instance.js"), n("./node_modules/core-js/modules/es6.parse-int.js"), n("./node_modules/core-js/modules/es6.parse-float.js"), n("./node_modules/core-js/modules/es6.number.constructor.js"), n("./node_modules/core-js/modules/es6.number.to-fixed.js"), n("./node_modules/core-js/modules/es6.number.to-precision.js"), n("./node_modules/core-js/modules/es6.number.epsilon.js"), n("./node_modules/core-js/modules/es6.number.is-finite.js"), n("./node_modules/core-js/modules/es6.number.is-integer.js"), n("./node_modules/core-js/modules/es6.number.is-nan.js"), n("./node_modules/core-js/modules/es6.number.is-safe-integer.js"), n("./node_modules/core-js/modules/es6.number.max-safe-integer.js"), n("./node_modules/core-js/modules/es6.number.min-safe-integer.js"), n("./node_modules/core-js/modules/es6.number.parse-float.js"), n("./node_modules/core-js/modules/es6.number.parse-int.js"), n("./node_modules/core-js/modules/es6.math.acosh.js"), n("./node_modules/core-js/modules/es6.math.asinh.js"), n("./node_modules/core-js/modules/es6.math.atanh.js"), n("./node_modules/core-js/modules/es6.math.cbrt.js"), n("./node_modules/core-js/modules/es6.math.clz32.js"), n("./node_modules/core-js/modules/es6.math.cosh.js"), n("./node_modules/core-js/modules/es6.math.expm1.js"), n("./node_modules/core-js/modules/es6.math.fround.js"), n("./node_modules/core-js/modules/es6.math.hypot.js"), n("./node_modules/core-js/modules/es6.math.imul.js"), n("./node_modules/core-js/modules/es6.math.log10.js"), n("./node_modules/core-js/modules/es6.math.log1p.js"), n("./node_modules/core-js/modules/es6.math.log2.js"), n("./node_modules/core-js/modules/es6.math.sign.js"), n("./node_modules/core-js/modules/es6.math.sinh.js"), n("./node_modules/core-js/modules/es6.math.tanh.js"), n("./node_modules/core-js/modules/es6.math.trunc.js"), n("./node_modules/core-js/modules/es6.string.from-code-point.js"), n("./node_modules/core-js/modules/es6.string.raw.js"), n("./node_modules/core-js/modules/es6.string.trim.js"), n("./node_modules/core-js/modules/es6.string.iterator.js"), n("./node_modules/core-js/modules/es6.string.code-point-at.js"), n("./node_modules/core-js/modules/es6.string.ends-with.js"), n("./node_modules/core-js/modules/es6.string.includes.js"), n("./node_modules/core-js/modules/es6.string.repeat.js"), n("./node_modules/core-js/modules/es6.string.starts-with.js"), n("./node_modules/core-js/modules/es6.string.anchor.js"), n("./node_modules/core-js/modules/es6.string.big.js"), n("./node_modules/core-js/modules/es6.string.blink.js"), n("./node_modules/core-js/modules/es6.string.bold.js"), n("./node_modules/core-js/modules/es6.string.fixed.js"), n("./node_modules/core-js/modules/es6.string.fontcolor.js"), n("./node_modules/core-js/modules/es6.string.fontsize.js"), n("./node_modules/core-js/modules/es6.string.italics.js"), n("./node_modules/core-js/modules/es6.string.link.js"), n("./node_modules/core-js/modules/es6.string.small.js"), n("./node_modules/core-js/modules/es6.string.strike.js"), n("./node_modules/core-js/modules/es6.string.sub.js"), n("./node_modules/core-js/modules/es6.string.sup.js"), n("./node_modules/core-js/modules/es6.date.now.js"), n("./node_modules/core-js/modules/es6.date.to-json.js"), n("./node_modules/core-js/modules/es6.date.to-iso-string.js"), n("./node_modules/core-js/modules/es6.date.to-string.js"), n("./node_modules/core-js/modules/es6.date.to-primitive.js"), n("./node_modules/core-js/modules/es6.array.is-array.js"), n("./node_modules/core-js/modules/es6.array.from.js"), n("./node_modules/core-js/modules/es6.array.of.js"), n("./node_modules/core-js/modules/es6.array.join.js"), n("./node_modules/core-js/modules/es6.array.slice.js"), n("./node_modules/core-js/modules/es6.array.sort.js"), n("./node_modules/core-js/modules/es6.array.for-each.js"), n("./node_modules/core-js/modules/es6.array.map.js"), n("./node_modules/core-js/modules/es6.array.filter.js"), n("./node_modules/core-js/modules/es6.array.some.js"), n("./node_modules/core-js/modules/es6.array.every.js"), n("./node_modules/core-js/modules/es6.array.reduce.js"), n("./node_modules/core-js/modules/es6.array.reduce-right.js"), n("./node_modules/core-js/modules/es6.array.index-of.js"), n("./node_modules/core-js/modules/es6.array.last-index-of.js"), n("./node_modules/core-js/modules/es6.array.copy-within.js"), n("./node_modules/core-js/modules/es6.array.fill.js"), n("./node_modules/core-js/modules/es6.array.find.js"), n("./node_modules/core-js/modules/es6.array.find-index.js"), n("./node_modules/core-js/modules/es6.array.species.js"), n("./node_modules/core-js/modules/es6.array.iterator.js"), n("./node_modules/core-js/modules/es6.regexp.constructor.js"), n("./node_modules/core-js/modules/es6.regexp.to-string.js"), n("./node_modules/core-js/modules/es6.regexp.flags.js"), n("./node_modules/core-js/modules/es6.regexp.match.js"), n("./node_modules/core-js/modules/es6.regexp.replace.js"), n("./node_modules/core-js/modules/es6.regexp.search.js"), n("./node_modules/core-js/modules/es6.regexp.split.js"), n("./node_modules/core-js/modules/es6.promise.js"), n("./node_modules/core-js/modules/es6.map.js"), n("./node_modules/core-js/modules/es6.set.js"), n("./node_modules/core-js/modules/es6.weak-map.js"), n("./node_modules/core-js/modules/es6.weak-set.js"), n("./node_modules/core-js/modules/es6.typed.array-buffer.js"), n("./node_modules/core-js/modules/es6.typed.data-view.js"), n("./node_modules/core-js/modules/es6.typed.int8-array.js"), n("./node_modules/core-js/modules/es6.typed.uint8-array.js"), n("./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"), n("./node_modules/core-js/modules/es6.typed.int16-array.js"), n("./node_modules/core-js/modules/es6.typed.uint16-array.js"), n("./node_modules/core-js/modules/es6.typed.int32-array.js"), n("./node_modules/core-js/modules/es6.typed.uint32-array.js"), n("./node_modules/core-js/modules/es6.typed.float32-array.js"), n("./node_modules/core-js/modules/es6.typed.float64-array.js"), n("./node_modules/core-js/modules/es6.reflect.apply.js"), n("./node_modules/core-js/modules/es6.reflect.construct.js"), n("./node_modules/core-js/modules/es6.reflect.define-property.js"), n("./node_modules/core-js/modules/es6.reflect.delete-property.js"), n("./node_modules/core-js/modules/es6.reflect.enumerate.js"), n("./node_modules/core-js/modules/es6.reflect.get.js"), n("./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"), n("./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"), n("./node_modules/core-js/modules/es6.reflect.has.js"), n("./node_modules/core-js/modules/es6.reflect.is-extensible.js"), n("./node_modules/core-js/modules/es6.reflect.own-keys.js"), n("./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"), n("./node_modules/core-js/modules/es6.reflect.set.js"), n("./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"), n("./node_modules/core-js/modules/es7.array.includes.js"), n("./node_modules/core-js/modules/es7.string.at.js"), n("./node_modules/core-js/modules/es7.string.pad-start.js"), n("./node_modules/core-js/modules/es7.string.pad-end.js"), n("./node_modules/core-js/modules/es7.string.trim-left.js"), n("./node_modules/core-js/modules/es7.string.trim-right.js"), n("./node_modules/core-js/modules/es7.string.match-all.js"), n("./node_modules/core-js/modules/es7.symbol.async-iterator.js"), n("./node_modules/core-js/modules/es7.symbol.observable.js"), n("./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"), n("./node_modules/core-js/modules/es7.object.values.js"), n("./node_modules/core-js/modules/es7.object.entries.js"), n("./node_modules/core-js/modules/es7.object.define-getter.js"), n("./node_modules/core-js/modules/es7.object.define-setter.js"), n("./node_modules/core-js/modules/es7.object.lookup-getter.js"), n("./node_modules/core-js/modules/es7.object.lookup-setter.js"), n("./node_modules/core-js/modules/es7.map.to-json.js"), n("./node_modules/core-js/modules/es7.set.to-json.js"), n("./node_modules/core-js/modules/es7.system.global.js"), n("./node_modules/core-js/modules/es7.error.is-error.js"), n("./node_modules/core-js/modules/es7.math.iaddh.js"), n("./node_modules/core-js/modules/es7.math.isubh.js"), n("./node_modules/core-js/modules/es7.math.imulh.js"), n("./node_modules/core-js/modules/es7.math.umulh.js"), n("./node_modules/core-js/modules/es7.reflect.define-metadata.js"), n("./node_modules/core-js/modules/es7.reflect.delete-metadata.js"), n("./node_modules/core-js/modules/es7.reflect.get-metadata.js"), n("./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js"), n("./node_modules/core-js/modules/es7.reflect.get-own-metadata.js"), n("./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js"), n("./node_modules/core-js/modules/es7.reflect.has-metadata.js"), n("./node_modules/core-js/modules/es7.reflect.has-own-metadata.js"), n("./node_modules/core-js/modules/es7.reflect.metadata.js"), n("./node_modules/core-js/modules/es7.asap.js"), n("./node_modules/core-js/modules/es7.observable.js"), n("./node_modules/core-js/modules/web.timers.js"), n("./node_modules/core-js/modules/web.immediate.js"), n("./node_modules/core-js/modules/web.dom.iterable.js"), e.exports = n("./node_modules/core-js/modules/_core.js") | |
}, | |
"./node_modules/decamelize/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e, t) { | |
if ("string" != typeof e) throw new TypeError("Expected a string"); | |
return t = void 0 === t ? "_" : t, e.replace(/([a-z\d])([A-Z])/g, "$1" + t + "$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g, "$1" + t + "$2").toLowerCase() | |
} | |
}, | |
"./node_modules/duplexer/index.js": function(e, t, n) { | |
function r(e, t) { | |
if (e.forEach) return e.forEach(t); | |
for (var n = 0; n < e.length; n++) t(e[n], n) | |
} | |
var o = n(4), | |
s = ["write", "end", "destroy"], | |
a = ["resume", "pause"], | |
i = ["data", "close"], | |
u = Array.prototype.slice; | |
e.exports = function(e, t) { | |
function n(e) { | |
c.emit("error", e) | |
} | |
var c = new o, | |
l = !1; | |
return r(s, function(t) { | |
c[t] = function() { | |
return e[t].apply(e, arguments) | |
} | |
}), r(a, function(e) { | |
c[e] = function() { | |
c.emit(e); | |
var n = t[e]; | |
if (n) return n.apply(t, arguments); | |
t.emit(e) | |
} | |
}), r(i, function(e) { | |
t.on(e, function() { | |
var t = u.call(arguments); | |
t.unshift(e), c.emit.apply(c, t) | |
}) | |
}), t.on("end", function() { | |
if (!l) { | |
l = !0; | |
var e = u.call(arguments); | |
e.unshift("end"), c.emit.apply(c, e) | |
} | |
}), e.on("drain", function() { | |
c.emit("drain") | |
}), e.on("error", n), t.on("error", n), c.writable = e.writable, c.readable = t.readable, c | |
} | |
}, | |
"./node_modules/error-ex/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n(1), | |
o = n("./node_modules/error-ex/node_modules/is-arrayish/index.js"), | |
s = function(e, t) { | |
e && e.constructor === String || (t = e || {}, e = Error.name); | |
var n = function r(s) { | |
if (!this) return new r(s); | |
s = s instanceof Error ? s.message : s || this.message, Error.call(this, s), Error.captureStackTrace(this, n), this.name = e, Object.defineProperty(this, "message", { | |
configurable: !0, | |
enumerable: !1, | |
get: function() { | |
var e = s.split(/\r?\n/g); | |
for (var n in t) | |
if (t.hasOwnProperty(n)) { | |
var r = t[n]; | |
"message" in r && (e = r.message(this[n], e) || e, o(e) || (e = [e])) | |
} return e.join("\n") | |
}, | |
set: function(e) { | |
s = e | |
} | |
}); | |
var a = Object.getOwnPropertyDescriptor(this, "stack"), | |
i = a.get, | |
u = a.value; | |
delete a.value, delete a.writable, a.get = function() { | |
var e = i ? i.call(this).split(/\r?\n+/g) : u.split(/\r?\n+/g); | |
e[0] = this.name + ": " + this.message; | |
var n = 1; | |
for (var r in t) | |
if (t.hasOwnProperty(r)) { | |
var o = t[r]; | |
if ("line" in o) { | |
var s = o.line(this[r]); | |
s && e.splice(n++, 0, " " + s) | |
} | |
"stack" in o && o.stack(this[r], e) | |
} return e.join("\n") | |
}, Object.defineProperty(this, "stack", a) | |
}; | |
return Object.setPrototypeOf ? (Object.setPrototypeOf(n.prototype, Error.prototype), Object.setPrototypeOf(n, Error)) : r.inherits(n, Error), n | |
}; | |
s.append = function(e, t) { | |
return { | |
message: function(n, r) { | |
return (n = n || t) && (r[0] += " " + e.replace("%s", n.toString())), r | |
} | |
} | |
}, s.line = function(e, t) { | |
return { | |
line: function(n) { | |
return (n = n || t) ? e.replace("%s", n.toString()) : null | |
} | |
} | |
}, e.exports = s | |
}, | |
"./node_modules/error-ex/node_modules/is-arrayish/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
return !!e && (e instanceof Array || Array.isArray(e) || e.length >= 0 && e.splice instanceof Function) | |
} | |
}, | |
"./node_modules/event-stream/index.js": function(e, t, n) { | |
var r = n(4).Stream, | |
o = t, | |
s = n("./node_modules/through/index.js"), | |
a = n("./node_modules/from/index.js"), | |
i = n("./node_modules/duplexer/index.js"), | |
u = n("./node_modules/map-stream/index.js"), | |
c = n("./node_modules/pause-stream/index.js"), | |
l = n("./node_modules/event-stream/node_modules/split/index.js"), | |
d = n("./node_modules/stream-combiner/index.js"), | |
m = global.setImmediate || process.nextTick; | |
o.Stream = r, o.through = s, o.from = a, o.duplex = i, o.map = u, o.pause = c, o.split = l, o.pipeline = o.connect = o.pipe = d, o.concat = o.merge = function() { | |
var e = [].slice.call(arguments); | |
1 === e.length && e[0] instanceof Array && (e = e[0]); | |
var t = new r; | |
t.setMaxListeners(0); | |
var n = 0; | |
return t.writable = t.readable = !0, e.length ? e.forEach(function(r) { | |
r.pipe(t, { | |
end: !1 | |
}); | |
var o = !1; | |
r.on("end", function() { | |
o || (o = !0, ++n == e.length && t.emit("end")) | |
}) | |
}) : process.nextTick(function() { | |
t.emit("end") | |
}), t.write = function(e) { | |
this.emit("data", e) | |
}, t.destroy = function() { | |
e.forEach(function(e) { | |
e.destroy && e.destroy() | |
}) | |
}, t | |
}, o.writeArray = function(e) { | |
if ("function" != typeof e) throw new Error("function writeArray (done): done must be function"); | |
var t = new r, | |
n = [], | |
o = !1; | |
return t.write = function(e) { | |
n.push(e) | |
}, t.end = function() { | |
o = !0, e(null, n) | |
}, t.writable = !0, t.readable = !1, t.destroy = function() { | |
t.writable = t.readable = !1, o || e(new Error("destroyed before end"), n) | |
}, t | |
}, o.readArray = function(e) { | |
var t = new r, | |
n = 0, | |
o = !1, | |
s = !1; | |
if (t.readable = !0, t.writable = !1, !Array.isArray(e)) throw new Error("event-stream.read expects an array"); | |
return t.resume = function() { | |
if (!s) { | |
o = !1; | |
for (var r = e.length; n < r && !o && !s;) t.emit("data", e[n++]); | |
n != r || s || (s = !0, t.readable = !1, t.emit("end")) | |
} | |
}, process.nextTick(t.resume), t.pause = function() { | |
o = !0 | |
}, t.destroy = function() { | |
s = !0, t.emit("close") | |
}, t | |
}, o.readable = function(e, t) { | |
function n(r, c) { | |
r ? (o.emit("error", r), t || o.emit("end")) : arguments.length > 1 && o.emit("data", c), m(function() { | |
if (!(i || a || u)) try { | |
u = !0, e.call(o, s++, function() { | |
u = !1, n.apply(null, arguments) | |
}) | |
} catch (e) { | |
o.emit("error", e) | |
} | |
}) | |
} | |
var o = new r, | |
s = 0, | |
a = !1, | |
i = !1, | |
u = !1; | |
if (o.readable = !0, o.writable = !1, "function" != typeof e) throw new Error("event-stream.readable expects async function"); | |
return o.on("end", function() { | |
i = !0 | |
}), o.resume = function() { | |
a = !1, n() | |
}, process.nextTick(n), o.pause = function() { | |
a = !0 | |
}, o.destroy = function() { | |
o.emit("end"), o.emit("close"), i = !0 | |
}, o | |
}, o.mapSync = function(e) { | |
return o.through(function(t) { | |
var n; | |
try { | |
n = e(t) | |
} catch (e) { | |
return this.emit("error", e) | |
} | |
void 0 !== n && this.emit("data", n) | |
}) | |
}, o.log = function(e) { | |
return o.through(function(t) { | |
[].slice.call(arguments); | |
e ? console.error(e, t) : console.error(t), this.emit("data", t) | |
}) | |
}, o.child = function(e) { | |
return o.duplex(e.stdin, e.stdout) | |
}, o.parse = function(e) { | |
var t = !(!e || !e.error); | |
return o.through(function(e) { | |
var n; | |
try { | |
e && (n = JSON.parse(e.toString())) | |
} catch (n) { | |
return t ? this.emit("error", n) : console.error(n, "attempting to parse:", e) | |
} | |
void 0 !== n && this.emit("data", n) | |
}) | |
}, o.stringify = function() { | |
var e = n(8).Buffer; | |
return o.mapSync(function(t) { | |
return JSON.stringify(e.isBuffer(t) ? t.toString() : t) + "\n" | |
}) | |
}, o.replace = function(e, t) { | |
return o.pipeline(o.split(e), o.join(t)) | |
}, o.join = function(e) { | |
if ("function" == typeof e) return o.wait(e); | |
var t = !0; | |
return o.through(function(n) { | |
return t || this.emit("data", e), t = !1, this.emit("data", n), !0 | |
}) | |
}, o.wait = function(e) { | |
var t = []; | |
return o.through(function(e) { | |
t.push(e) | |
}, function() { | |
var n = Buffer.isBuffer(t[0]) ? Buffer.concat(t) : t.join(""); | |
this.emit("data", n), this.emit("end"), e && e(null, n) | |
}) | |
}, o.pipeable = function() { | |
throw new Error("[EVENT-STREAM] es.pipeable is deprecated") | |
} | |
}, | |
"./node_modules/event-stream/node_modules/split/index.js": function(e, t, n) { | |
var r = n("./node_modules/through/index.js"), | |
o = n(14).StringDecoder; | |
e.exports = function(e, t, n) { | |
function s(e, n) { | |
if (t) { | |
try { | |
n = t(n) | |
} catch (t) { | |
return e.emit("error", t) | |
} | |
void 0 !== n && e.queue(n) | |
} else e.queue(n) | |
} | |
function a(t, n) { | |
var r = ((null != u ? u : "") + n).split(e); | |
u = r.pop(), c && u.length > c && t.emit("error", new Error("maximum buffer reached")); | |
for (var o = 0; o < r.length; o++) s(t, r[o]) | |
} | |
var i = new o, | |
u = "", | |
c = n && n.maxLength; | |
return "function" == typeof e && (t = e, e = null), e || (e = /\r?\n/), r(function(e) { | |
a(this, i.write(e)) | |
}, function() { | |
i.end && a(this, i.end()), null != u && s(this, u), this.queue(null) | |
}) | |
} | |
}, | |
"./node_modules/follow-redirects/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e, t) { | |
u.call(this), this._options = e, this._redirectCount = 0, this._bufferedWrites = [], t && this.on("response", t); | |
var n = this; | |
if (this._onNativeResponse = function(e) { | |
n._processResponse(e) | |
}, !e.pathname && e.path) { | |
var r = e.path.indexOf("?"); | |
r < 0 ? e.pathname = e.path : (e.pathname = e.path.substring(0, r), e.search = e.path.substring(r)) | |
} | |
this._performRequest() | |
} | |
var o = n(5), | |
s = n(9), | |
a = n(6), | |
i = n(10), | |
u = n(4).Writable, | |
c = n("./node_modules/follow-redirects/node_modules/debug/src/index.js")("follow-redirects"), | |
l = { | |
"http:": a, | |
"https:": i | |
}, | |
d = {}, | |
m = (t = e.exports = { | |
maxRedirects: 21 | |
}, { | |
GET: !0, | |
HEAD: !0, | |
OPTIONS: !0, | |
TRACE: !0 | |
}), | |
p = Object.create(null); | |
["abort", "aborted", "error", "socket"].forEach(function(e) { | |
p[e] = function(t) { | |
this._redirectable.emit(e, t) | |
} | |
}), (r.prototype = Object.create(u.prototype))._performRequest = function() { | |
var e = this._options.protocol; | |
this._options.agents && (this._options.agent = this._options.agents[d[e]]); | |
var t = l[e], | |
n = this._currentRequest = t.request(this._options, this._onNativeResponse); | |
this._currentUrl = o.format(this._options), n._redirectable = this; | |
for (var r in p) r && n.on(r, p[r]); | |
if (this._isRedirect) { | |
var s = this._bufferedWrites; | |
if (0 === s.length) n.end(); | |
else { | |
var a = 0; | |
! function e() { | |
if (a < s.length) { | |
var t = s[a++]; | |
n.write(t.data, t.encoding, e) | |
} else n.end() | |
}() | |
} | |
} | |
}, r.prototype._processResponse = function(e) { | |
var t = e.headers.location; | |
if (t && !1 !== this._options.followRedirects && e.statusCode >= 300 && e.statusCode < 400) { | |
if (++this._redirectCount > this._options.maxRedirects) return this.emit("error", new Error("Max redirects exceeded.")); | |
var n, r = this._options.headers; | |
if (307 !== e.statusCode && !(this._options.method in m)) { | |
this._options.method = "GET", this._bufferedWrites = []; | |
for (n in r) /^content-/i.test(n) && delete r[n] | |
} | |
if (!this._isRedirect) | |
for (n in r) /^host$/i.test(n) && delete r[n]; | |
var s = o.resolve(this._currentUrl, t); | |
c("redirecting to", s), Object.assign(this._options, o.parse(s)), this._isRedirect = !0, this._performRequest() | |
} else e.responseUrl = this._currentUrl, this.emit("response", e), delete this._options, delete this._bufferedWrites | |
}, r.prototype.abort = function() { | |
this._currentRequest.abort() | |
}, r.prototype.flushHeaders = function() { | |
this._currentRequest.flushHeaders() | |
}, r.prototype.setNoDelay = function(e) { | |
this._currentRequest.setNoDelay(e) | |
}, r.prototype.setSocketKeepAlive = function(e, t) { | |
this._currentRequest.setSocketKeepAlive(e, t) | |
}, r.prototype.setTimeout = function(e, t) { | |
this._currentRequest.setTimeout(e, t) | |
}, r.prototype.write = function(e, t, n) { | |
this._currentRequest.write(e, t, n), this._bufferedWrites.push({ | |
data: e, | |
encoding: t | |
}) | |
}, r.prototype.end = function(e, t, n) { | |
this._currentRequest.end(e, t, n), e && this._bufferedWrites.push({ | |
data: e, | |
encoding: t | |
}) | |
}, Object.keys(l).forEach(function(e) { | |
var n = d[e] = e.substr(0, e.length - 1), | |
a = l[e], | |
i = t[n] = Object.create(a); | |
i.request = function(n, a) { | |
return "string" == typeof n ? (n = o.parse(n)).maxRedirects = t.maxRedirects : n = Object.assign({ | |
maxRedirects: t.maxRedirects, | |
protocol: e | |
}, n), s.equal(n.protocol, e, "protocol mismatch"), c("options", n), new r(n, a) | |
}, i.get = function(e, t) { | |
var n = i.request(e, t); | |
return n.end(), n | |
} | |
}) | |
}, | |
"./node_modules/follow-redirects/node_modules/debug/src/browser.js": function(e, t, n) { | |
function r() { | |
var e; | |
try { | |
e = t.storage.debug | |
} catch (e) {} | |
return !e && "undefined" != typeof process && "env" in process && (e = process.env.DEBUG), e | |
}(t = e.exports = n("./node_modules/follow-redirects/node_modules/debug/src/debug.js")).log = function() { | |
return "object" == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments) | |
}, t.formatArgs = function(e) { | |
var n = this.useColors; | |
if (e[0] = (n ? "%c" : "") + this.namespace + (n ? " %c" : " ") + e[0] + (n ? "%c " : " ") + "+" + t.humanize(this.diff), n) { | |
var r = "color: " + this.color; | |
e.splice(1, 0, r, "color: inherit"); | |
var o = 0, | |
s = 0; | |
e[0].replace(/%[a-zA-Z%]/g, function(e) { | |
"%%" !== e && (o++, "%c" === e && (s = o)) | |
}), e.splice(s, 0, r) | |
} | |
}, t.save = function(e) { | |
try { | |
null == e ? t.storage.removeItem("debug") : t.storage.debug = e | |
} catch (e) {} | |
}, t.load = r, t.useColors = function() { | |
return !("undefined" == typeof window || !window.process || "renderer" !== window.process.type) || "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/) | |
}, t.storage = "undefined" != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : function() { | |
try { | |
return window.localStorage | |
} catch (e) {} | |
}(), t.colors = ["lightseagreen", "forestgreen", "goldenrod", "dodgerblue", "darkorchid", "crimson"], t.formatters.j = function(e) { | |
try { | |
return JSON.stringify(e) | |
} catch (e) { | |
return "[UnexpectedJSONParseError]: " + e.message | |
} | |
}, t.enable(r()) | |
}, | |
"./node_modules/follow-redirects/node_modules/debug/src/debug.js": function(e, t, n) { | |
function r(e) { | |
function n() { | |
if (n.enabled) { | |
var e = n, | |
r = +new Date, | |
s = r - (o || r); | |
e.diff = s, e.prev = o, e.curr = r, o = r; | |
for (var a = new Array(arguments.length), i = 0; i < a.length; i++) a[i] = arguments[i]; | |
a[0] = t.coerce(a[0]), "string" != typeof a[0] && a.unshift("%O"); | |
var u = 0; | |
a[0] = a[0].replace(/%([a-zA-Z%])/g, function(n, r) { | |
if ("%%" === n) return n; | |
u++; | |
var o = t.formatters[r]; | |
if ("function" == typeof o) { | |
var s = a[u]; | |
n = o.call(e, s), a.splice(u, 1), u-- | |
} | |
return n | |
}), t.formatArgs.call(e, a); | |
(n.log || t.log || console.log.bind(console)).apply(e, a) | |
} | |
} | |
return n.namespace = e, n.enabled = t.enabled(e), n.useColors = t.useColors(), n.color = function(e) { | |
var n, r = 0; | |
for (n in e) r = (r << 5) - r + e.charCodeAt(n), r |= 0; | |
return t.colors[Math.abs(r) % t.colors.length] | |
}(e), "function" == typeof t.init && t.init(n), n | |
}(t = e.exports = r.debug = r.default = r).coerce = function(e) { | |
return e instanceof Error ? e.stack || e.message : e | |
}, t.disable = function() { | |
t.enable("") | |
}, t.enable = function(e) { | |
t.save(e), t.names = [], t.skips = []; | |
for (var n = ("string" == typeof e ? e : "").split(/[\s,]+/), r = n.length, o = 0; o < r; o++) n[o] && ("-" === (e = n[o].replace(/\*/g, ".*?"))[0] ? t.skips.push(new RegExp("^" + e.substr(1) + "$")) : t.names.push(new RegExp("^" + e + "$"))) | |
}, t.enabled = function(e) { | |
var n, r; | |
for (n = 0, r = t.skips.length; n < r; n++) | |
if (t.skips[n].test(e)) return !1; | |
for (n = 0, r = t.names.length; n < r; n++) | |
if (t.names[n].test(e)) return !0; | |
return !1 | |
}, t.humanize = n("./node_modules/ms/index.js"), t.names = [], t.skips = [], t.formatters = {}; | |
var o | |
}, | |
"./node_modules/follow-redirects/node_modules/debug/src/index.js": function(e, t, n) { | |
"undefined" != typeof process && "renderer" === process.type ? e.exports = n("./node_modules/follow-redirects/node_modules/debug/src/browser.js") : e.exports = n("./node_modules/follow-redirects/node_modules/debug/src/node.js") | |
}, | |
"./node_modules/follow-redirects/node_modules/debug/src/node.js": function(e, t, n) { | |
function r() { | |
return process.env.DEBUG | |
} | |
var o = n(18), | |
s = n(1); | |
(t = e.exports = n("./node_modules/follow-redirects/node_modules/debug/src/debug.js")).init = function(e) { | |
e.inspectOpts = {}; | |
for (var n = Object.keys(t.inspectOpts), r = 0; r < n.length; r++) e.inspectOpts[n[r]] = t.inspectOpts[n[r]] | |
}, t.log = function() { | |
return i.write(s.format.apply(s, arguments) + "\n") | |
}, t.formatArgs = function(e) { | |
var n = this.namespace; | |
if (this.useColors) { | |
var r = this.color, | |
o = " [3" + r + ";1m" + n + " [0m"; | |
e[0] = o + e[0].split("\n").join("\n" + o), e.push("[3" + r + "m+" + t.humanize(this.diff) + "[0m") | |
} else e[0] = (new Date).toUTCString() + " " + n + " " + e[0] | |
}, t.save = function(e) { | |
null == e ? delete process.env.DEBUG : process.env.DEBUG = e | |
}, t.load = r, t.useColors = function() { | |
return "colors" in t.inspectOpts ? Boolean(t.inspectOpts.colors) : o.isatty(a) | |
}, t.colors = [6, 2, 3, 4, 5, 1], t.inspectOpts = Object.keys(process.env).filter(function(e) { | |
return /^debug_/i.test(e) | |
}).reduce(function(e, t) { | |
var n = t.substring(6).toLowerCase().replace(/_([a-z])/g, function(e, t) { | |
return t.toUpperCase() | |
}), | |
r = process.env[t]; | |
return r = !!/^(yes|on|true|enabled)$/i.test(r) || !/^(no|off|false|disabled)$/i.test(r) && ("null" === r ? null : Number(r)), e[n] = r, e | |
}, {}); | |
var a = parseInt(process.env.DEBUG_FD, 10) || 2; | |
1 !== a && 2 !== a && s.deprecate(function() {}, "except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")(); | |
var i = 1 === a ? process.stdout : 2 === a ? process.stderr : function(e) { | |
var t; | |
switch (process.binding("tty_wrap").guessHandleType(e)) { | |
case "TTY": | |
(t = new o.WriteStream(e))._type = "tty", t._handle && t._handle.unref && t._handle.unref(); | |
break; | |
case "FILE": | |
(t = new(n(3).SyncWriteStream)(e, { | |
autoClose: !1 | |
}))._type = "fs"; | |
break; | |
case "PIPE": | |
case "TCP": | |
(t = new(n(12).Socket)({ | |
fd: e, | |
readable: !1, | |
writable: !0 | |
})).readable = !1, t.read = null, t._type = "pipe", t._handle && t._handle.unref && t._handle.unref(); | |
break; | |
default: | |
throw new Error("Implement me. Unknown stream file type!") | |
} | |
return t.fd = e, t._isStdio = !0, t | |
}(a); | |
t.formatters.o = function(e) { | |
return this.inspectOpts.colors = this.useColors, s.inspect(e, this.inspectOpts).split("\n").map(function(e) { | |
return e.trim() | |
}).join(" ") | |
}, t.formatters.O = function(e) { | |
return this.inspectOpts.colors = this.useColors, s.inspect(e, this.inspectOpts) | |
}, t.enable(r()) | |
}, | |
"./node_modules/from/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n(4); | |
e.exports = function e(t) { | |
function n() { | |
if (a.started = !0, !a.ended) | |
for (; !a.ended && !a.paused && t.call(a, i++, function() { | |
a.ended || a.paused || process.nextTick(n) | |
});); | |
} | |
if (Array.isArray(t)) { | |
var o = 0, | |
s = t.length; | |
return e(function(e) { | |
return o < s ? this.emit("data", t[o++]) : this.emit("end"), !0 | |
}) | |
} | |
var a = new r, | |
i = 0; | |
return a.ended = !1, a.started = !1, a.readable = !0, a.writable = !1, a.paused = !1, a.ended = !1, a.pause = function() { | |
a.started = !0, a.paused = !0 | |
}, a.resume = function() { | |
a.started = !0, a.paused = !1, n() | |
}, a.on("end", function() { | |
a.ended = !0, a.readable = !1, process.nextTick(a.destroy) | |
}), a.destroy = function() { | |
a.ended = !0, a.emit("close") | |
}, process.nextTick(function() { | |
a.started || a.resume() | |
}), a | |
} | |
}, | |
"./node_modules/get-caller-file/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
var t = Error.prepareStackTrace; | |
Error.prepareStackTrace = function(e, t) { | |
return t | |
}; | |
var n = (new Error).stack; | |
Error.prepareStackTrace = t; | |
var r = e || 2; | |
return n[r] ? n[r].getFileName() : void 0 | |
} | |
}, | |
"./node_modules/graceful-fs/fs.js": function(e, t, n) { | |
"use strict"; | |
var r = n(3); | |
e.exports = function(e) { | |
if (null === e || "object" != typeof e) return e; | |
if (e instanceof Object) var t = { | |
__proto__: e.__proto__ | |
}; | |
else t = Object.create(null); | |
return Object.getOwnPropertyNames(e).forEach(function(n) { | |
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n)) | |
}), t | |
}(r) | |
}, | |
"./node_modules/graceful-fs/graceful-fs.js": function(e, t, n) { | |
function r(e) { | |
function t(t) { | |
return p.apply(e, t) | |
} | |
function n(e, t) { | |
return this instanceof n ? (h.apply(this, arguments), this) : n.apply(Object.create(n.prototype), arguments) | |
} | |
function a(e, t) { | |
return this instanceof a ? (v.apply(this, arguments), this) : a.apply(Object.create(a.prototype), arguments) | |
} | |
function c(e, t, n, r) { | |
function a(e, t, n, r) { | |
return _(e, t, n, function(i, u) { | |
!i || "EMFILE" !== i.code && "ENFILE" !== i.code ? ("function" == typeof r && r.apply(this, arguments), s()) : o([a, [e, t, n, r]]) | |
}) | |
} | |
return "function" == typeof n && (r = n, n = null), a(e, t, n, r) | |
} | |
i(e), e.gracefulify = r, e.FileReadStream = n, e.FileWriteStream = a, e.createReadStream = function(e, t) { | |
return new n(e, t) | |
}, e.createWriteStream = function(e, t) { | |
return new a(e, t) | |
}; | |
var l = e.readFile; | |
e.readFile = function(e, t, n) { | |
function r(e, t, n) { | |
return l(e, t, function(a) { | |
!a || "EMFILE" !== a.code && "ENFILE" !== a.code ? ("function" == typeof n && n.apply(this, arguments), s()) : o([r, [e, t, n]]) | |
}) | |
} | |
return "function" == typeof t && (n = t, t = null), r(e, t, n) | |
}; | |
var d = e.writeFile; | |
e.writeFile = function(e, t, n, r) { | |
function a(e, t, n, r) { | |
return d(e, t, n, function(i) { | |
!i || "EMFILE" !== i.code && "ENFILE" !== i.code ? ("function" == typeof r && r.apply(this, arguments), s()) : o([a, [e, t, n, r]]) | |
}) | |
} | |
return "function" == typeof n && (r = n, n = null), a(e, t, n, r) | |
}; | |
var m = e.appendFile; | |
m && (e.appendFile = function(e, t, n, r) { | |
function a(e, t, n, r) { | |
return m(e, t, n, function(i) { | |
!i || "EMFILE" !== i.code && "ENFILE" !== i.code ? ("function" == typeof r && r.apply(this, arguments), s()) : o([a, [e, t, n, r]]) | |
}) | |
} | |
return "function" == typeof n && (r = n, n = null), a(e, t, n, r) | |
}); | |
var p = e.readdir; | |
if (e.readdir = function(e, n, r) { | |
var a = [e]; | |
return "function" != typeof n ? a.push(n) : r = n, a.push(function(e, n) { | |
n && n.sort && n.sort(), !e || "EMFILE" !== e.code && "ENFILE" !== e.code ? ("function" == typeof r && r.apply(this, arguments), s()) : o([t, [a]]) | |
}), t(a) | |
}, "v0.8" === process.version.substr(0, 4)) { | |
var f = u(e); | |
n = f.ReadStream, a = f.WriteStream | |
} | |
var h = e.ReadStream; | |
(n.prototype = Object.create(h.prototype)).open = function() { | |
var e = this; | |
c(e.path, e.flags, e.mode, function(t, n) { | |
t ? (e.autoClose && e.destroy(), e.emit("error", t)) : (e.fd = n, e.emit("open", n), e.read()) | |
}) | |
}; | |
var v = e.WriteStream; | |
(a.prototype = Object.create(v.prototype)).open = function() { | |
var e = this; | |
c(e.path, e.flags, e.mode, function(t, n) { | |
t ? (e.destroy(), e.emit("error", t)) : (e.fd = n, e.emit("open", n)) | |
}) | |
}, e.ReadStream = n, e.WriteStream = a; | |
var _ = e.open; | |
return e.open = c, e | |
} | |
function o(e) { | |
d("ENQUEUE", e[0].name, e[1]), c.push(e) | |
} | |
function s() { | |
var e = c.shift(); | |
e && (d("RETRY", e[0].name, e[1]), e[0].apply(null, e[1])) | |
} | |
var a = n(3), | |
i = n("./node_modules/graceful-fs/polyfills.js"), | |
u = n("./node_modules/graceful-fs/legacy-streams.js"), | |
c = [], | |
l = n(1), | |
d = function() {}; | |
l.debuglog ? d = l.debuglog("gfs4") : /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && (d = function() { | |
var e = l.format.apply(l, arguments); | |
e = "GFS4: " + e.split(/\n/).join("\nGFS4: "), console.error(e) | |
}), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() { | |
d(c), n(9).equal(c.length, 0) | |
}), e.exports = r(n("./node_modules/graceful-fs/fs.js")), process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && (e.exports = r(a)), e.exports.close = a.close = function(e) { | |
return function(t, n) { | |
return e.call(a, t, function(e) { | |
e || s(), "function" == typeof n && n.apply(this, arguments) | |
}) | |
} | |
}(a.close), e.exports.closeSync = a.closeSync = function(e) { | |
return function(t) { | |
var n = e.apply(a, arguments); | |
return s(), n | |
} | |
}(a.closeSync) | |
}, | |
"./node_modules/graceful-fs/legacy-streams.js": function(e, t, n) { | |
var r = n(4).Stream; | |
e.exports = function(e) { | |
function t(n, o) { | |
if (!(this instanceof t)) return new t(n, o); | |
r.call(this); | |
var s = this; | |
this.path = n, this.fd = null, this.readable = !0, this.paused = !1, this.flags = "r", this.mode = 438, this.bufferSize = 65536, o = o || {}; | |
for (var a = Object.keys(o), i = 0, u = a.length; i < u; i++) { | |
var c = a[i]; | |
this[c] = o[c] | |
} | |
if (this.encoding && this.setEncoding(this.encoding), void 0 !== this.start) { | |
if ("number" != typeof this.start) throw TypeError("start must be a Number"); | |
if (void 0 === this.end) this.end = 1 / 0; | |
else if ("number" != typeof this.end) throw TypeError("end must be a Number"); | |
if (this.start > this.end) throw new Error("start must be <= end"); | |
this.pos = this.start | |
} | |
null === this.fd ? e.open(this.path, this.flags, this.mode, function(e, t) { | |
if (e) return s.emit("error", e), void(s.readable = !1); | |
s.fd = t, s.emit("open", t), s._read() | |
}) : process.nextTick(function() { | |
s._read() | |
}) | |
} | |
function n(t, o) { | |
if (!(this instanceof n)) return new n(t, o); | |
r.call(this), this.path = t, this.fd = null, this.writable = !0, this.flags = "w", this.encoding = "binary", this.mode = 438, this.bytesWritten = 0, o = o || {}; | |
for (var s = Object.keys(o), a = 0, i = s.length; a < i; a++) { | |
var u = s[a]; | |
this[u] = o[u] | |
} | |
if (void 0 !== this.start) { | |
if ("number" != typeof this.start) throw TypeError("start must be a Number"); | |
if (this.start < 0) throw new Error("start must be >= zero"); | |
this.pos = this.start | |
} | |
this.busy = !1, this._queue = [], null === this.fd && (this._open = e.open, this._queue.push([this._open, this.path, this.flags, this.mode, void 0]), this.flush()) | |
} | |
return { | |
ReadStream: t, | |
WriteStream: n | |
} | |
} | |
}, | |
"./node_modules/graceful-fs/polyfills.js": function(e, t, n) { | |
function r(e) { | |
return e ? function(t, n, r) { | |
return e.call(l, t, n, function(e) { | |
c(e) && (e = null), r && r.apply(this, arguments) | |
}) | |
} : e | |
} | |
function o(e) { | |
return e ? function(t, n) { | |
try { | |
return e.call(l, t, n) | |
} catch (e) { | |
if (!c(e)) throw e | |
} | |
} : e | |
} | |
function s(e) { | |
return e ? function(t, n, r, o) { | |
return e.call(l, t, n, r, function(e) { | |
c(e) && (e = null), o && o.apply(this, arguments) | |
}) | |
} : e | |
} | |
function a(e) { | |
return e ? function(t, n, r) { | |
try { | |
return e.call(l, t, n, r) | |
} catch (e) { | |
if (!c(e)) throw e | |
} | |
} : e | |
} | |
function i(e) { | |
return e ? function(t, n) { | |
return e.call(l, t, function(e, t) { | |
if (!t) return n.apply(this, arguments); | |
t.uid < 0 && (t.uid += 4294967296), t.gid < 0 && (t.gid += 4294967296), n && n.apply(this, arguments) | |
}) | |
} : e | |
} | |
function u(e) { | |
return e ? function(t) { | |
var n = e.call(l, t); | |
return n.uid < 0 && (n.uid += 4294967296), n.gid < 0 && (n.gid += 4294967296), n | |
} : e | |
} | |
function c(e) { | |
if (!e) return !0; | |
if ("ENOSYS" === e.code) return !0; | |
return !(process.getuid && 0 === process.getuid() || "EINVAL" !== e.code && "EPERM" !== e.code) | |
} | |
var l = n("./node_modules/graceful-fs/fs.js"), | |
d = n(19), | |
m = process.cwd, | |
p = null, | |
f = process.env.GRACEFUL_FS_PLATFORM || process.platform; | |
process.cwd = function() { | |
return p || (p = m.call(process)), p | |
}; | |
try { | |
process.cwd() | |
} catch (e) {} | |
var h = process.chdir; | |
process.chdir = function(e) { | |
p = null, h.call(process, e) | |
}, e.exports = function(e) { | |
d.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./) && function(e) { | |
e.lchmod = function(t, n, r) { | |
e.open(t, d.O_WRONLY | d.O_SYMLINK, n, function(t, o) { | |
t ? r && r(t) : e.fchmod(o, n, function(t) { | |
e.close(o, function(e) { | |
r && r(t || e) | |
}) | |
}) | |
}) | |
}, e.lchmodSync = function(t, n) { | |
var r, o = e.openSync(t, d.O_WRONLY | d.O_SYMLINK, n), | |
s = !0; | |
try { | |
r = e.fchmodSync(o, n), s = !1 | |
} finally { | |
if (s) try { | |
e.closeSync(o) | |
} catch (e) {} else e.closeSync(o) | |
} | |
return r | |
} | |
}(e), e.lutimes || function(e) { | |
d.hasOwnProperty("O_SYMLINK") ? (e.lutimes = function(t, n, r, o) { | |
e.open(t, d.O_SYMLINK, function(t, s) { | |
t ? o && o(t) : e.futimes(s, n, r, function(t) { | |
e.close(s, function(e) { | |
o && o(t || e) | |
}) | |
}) | |
}) | |
}, e.lutimesSync = function(t, n, r) { | |
var o, s = e.openSync(t, d.O_SYMLINK), | |
a = !0; | |
try { | |
o = e.futimesSync(s, n, r), a = !1 | |
} finally { | |
if (a) try { | |
e.closeSync(s) | |
} catch (e) {} else e.closeSync(s) | |
} | |
return o | |
}) : (e.lutimes = function(e, t, n, r) { | |
r && process.nextTick(r) | |
}, e.lutimesSync = function() {}) | |
}(e), e.chown = s(e.chown), e.fchown = s(e.fchown), e.lchown = s(e.lchown), e.chmod = r(e.chmod), e.fchmod = r(e.fchmod), e.lchmod = r(e.lchmod), e.chownSync = a(e.chownSync), e.fchownSync = a(e.fchownSync), e.lchownSync = a(e.lchownSync), e.chmodSync = o(e.chmodSync), e.fchmodSync = o(e.fchmodSync), e.lchmodSync = o(e.lchmodSync), e.stat = i(e.stat), e.fstat = i(e.fstat), e.lstat = i(e.lstat), e.statSync = u(e.statSync), e.fstatSync = u(e.fstatSync), e.lstatSync = u(e.lstatSync), e.lchmod || (e.lchmod = function(e, t, n) { | |
n && process.nextTick(n) | |
}, e.lchmodSync = function() {}), e.lchown || (e.lchown = function(e, t, n, r) { | |
r && process.nextTick(r) | |
}, e.lchownSync = function() {}), "win32" === f && (e.rename = function(t) { | |
return function(n, r, o) { | |
var s = Date.now(), | |
a = 0; | |
t(n, r, function i(u) { | |
if (u && ("EACCES" === u.code || "EPERM" === u.code) && Date.now() - s < 6e4) return setTimeout(function() { | |
e.stat(r, function(e, s) { | |
e && "ENOENT" === e.code ? t(n, r, i) : o(u) | |
}) | |
}, a), void(a < 100 && (a += 10)); | |
o && o(u) | |
}) | |
} | |
}(e.rename)), e.read = function(t) { | |
return function(n, r, o, s, a, i) { | |
var u; | |
if (i && "function" == typeof i) { | |
var c = 0; | |
u = function(l, d, m) { | |
if (l && "EAGAIN" === l.code && c < 10) return c++, t.call(e, n, r, o, s, a, u); | |
i.apply(this, arguments) | |
} | |
} | |
return t.call(e, n, r, o, s, a, u) | |
} | |
}(e.read), e.readSync = function(t) { | |
return function(n, r, o, s, a) { | |
for (var i = 0;;) try { | |
return t.call(e, n, r, o, s, a) | |
} catch (e) { | |
if ("EAGAIN" === e.code && i < 10) { | |
i++; | |
continue | |
} | |
throw e | |
} | |
} | |
}(e.readSync) | |
} | |
}, | |
"./node_modules/hosted-git-info/git-host-info.js": function(e, t, n) { | |
"use strict"; | |
var r = e.exports = { | |
github: { | |
protocols: ["git", "http", "git+ssh", "git+https", "ssh", "https"], | |
domain: "github.com", | |
treepath: "tree", | |
filetemplate: "https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}", | |
bugstemplate: "https://{domain}/{user}/{project}/issues", | |
gittemplate: "git://{auth@}{domain}/{user}/{project}.git{#committish}", | |
tarballtemplate: "https://{domain}/{user}/{project}/archive/{committish}.tar.gz" | |
}, | |
bitbucket: { | |
protocols: ["git+ssh", "git+https", "ssh", "https"], | |
domain: "bitbucket.org", | |
treepath: "src", | |
tarballtemplate: "https://{domain}/{user}/{project}/get/{committish}.tar.gz" | |
}, | |
gitlab: { | |
protocols: ["git+ssh", "git+https", "ssh", "https"], | |
domain: "gitlab.com", | |
treepath: "tree", | |
docstemplate: "https://{domain}/{user}/{project}{/tree/committish}#README", | |
bugstemplate: "https://{domain}/{user}/{project}/issues", | |
tarballtemplate: "https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}" | |
}, | |
gist: { | |
protocols: ["git", "git+ssh", "git+https", "ssh", "https"], | |
domain: "gist.github.com", | |
pathmatch: /^[/](?:([^/]+)[/])?([a-z0-9]+)(?:[.]git)?$/, | |
filetemplate: "https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}", | |
bugstemplate: "https://{domain}/{project}", | |
gittemplate: "git://{domain}/{project}.git{#committish}", | |
sshtemplate: "git@{domain}:/{project}.git{#committish}", | |
sshurltemplate: "git+ssh://git@{domain}/{project}.git{#committish}", | |
browsetemplate: "https://{domain}/{project}{/committish}", | |
docstemplate: "https://{domain}/{project}{/committish}", | |
httpstemplate: "git+https://{domain}/{project}.git{#committish}", | |
shortcuttemplate: "{type}:{project}{#committish}", | |
pathtemplate: "{project}{#committish}", | |
tarballtemplate: "https://{domain}/{user}/{project}/archive/{committish}.tar.gz" | |
} | |
}, | |
o = { | |
sshtemplate: "git@{domain}:{user}/{project}.git{#committish}", | |
sshurltemplate: "git+ssh://git@{domain}/{user}/{project}.git{#committish}", | |
browsetemplate: "https://{domain}/{user}/{project}{/tree/committish}", | |
docstemplate: "https://{domain}/{user}/{project}{/tree/committish}#readme", | |
httpstemplate: "git+https://{auth@}{domain}/{user}/{project}.git{#committish}", | |
filetemplate: "https://{domain}/{user}/{project}/raw/{committish}/{path}", | |
shortcuttemplate: "{type}:{user}/{project}{#committish}", | |
pathtemplate: "{user}/{project}{#committish}", | |
pathmatch: /^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/ | |
}; | |
Object.keys(r).forEach(function(e) { | |
Object.keys(o).forEach(function(t) { | |
r[e][t] || (r[e][t] = o[t]) | |
}), r[e].protocols_re = RegExp("^(" + r[e].protocols.map(function(e) { | |
return e.replace(/([\\+*{}()[\]$^|])/g, "\\$1") | |
}).join("|") + "):$") | |
}) | |
}, | |
"./node_modules/hosted-git-info/git-host.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/hosted-git-info/git-host-info.js"), | |
o = Object.assign || n(1)._extend, | |
s = e.exports = function(e, t, n, o, s, a, i) { | |
var u = this; | |
u.type = e, Object.keys(r[e]).forEach(function(t) { | |
u[t] = r[e][t] | |
}), u.user = t, u.auth = n, u.project = o, u.committish = s, u.default = a, u.opts = i || {} | |
}; | |
s.prototype = {}, s.prototype.hash = function() { | |
return this.committish ? "#" + this.committish : "" | |
}, s.prototype._fill = function(e, t) { | |
if (e) { | |
var n = o({}, t); | |
t = o(o({}, this.opts), t); | |
var r = this; | |
Object.keys(this).forEach(function(e) { | |
null != r[e] && null == n[e] && (n[e] = r[e]) | |
}); | |
var s = n.auth, | |
a = n.committish; | |
Object.keys(n).forEach(function(e) { | |
n[e] = encodeURIComponent(n[e]) | |
}), n["auth@"] = s ? s + "@" : "", t.noCommittish ? (n["#committish"] = "", n["/tree/committish"] = "", n["/comittish"] = "", n.comittish = "") : (n["#committish"] = a ? "#" + a : "", n["/tree/committish"] = n.committish ? "/" + n.treepath + "/" + n.committish : "", n["/committish"] = n.committish ? "/" + n.committish : "", n.committish = n.committish || "master"); | |
var i = e; | |
return Object.keys(n).forEach(function(e) { | |
i = i.replace(new RegExp("[{]" + e + "[}]", "g"), n[e]) | |
}), t.noGitPlus ? i.replace(/^git[+]/, "") : i | |
} | |
}, s.prototype.ssh = function(e) { | |
return this._fill(this.sshtemplate, e) | |
}, s.prototype.sshurl = function(e) { | |
return this._fill(this.sshurltemplate, e) | |
}, s.prototype.browse = function(e) { | |
return this._fill(this.browsetemplate, e) | |
}, s.prototype.docs = function(e) { | |
return this._fill(this.docstemplate, e) | |
}, s.prototype.bugs = function(e) { | |
return this._fill(this.bugstemplate, e) | |
}, s.prototype.https = function(e) { | |
return this._fill(this.httpstemplate, e) | |
}, s.prototype.git = function(e) { | |
return this._fill(this.gittemplate, e) | |
}, s.prototype.shortcut = function(e) { | |
return this._fill(this.shortcuttemplate, e) | |
}, s.prototype.path = function(e) { | |
return this._fill(this.pathtemplate, e) | |
}, s.prototype.tarball = function(e) { | |
return this._fill(this.tarballtemplate, e) | |
}, s.prototype.file = function(e, t) { | |
return this._fill(this.filetemplate, o({ | |
path: e.replace(/^[/]+/g, "") | |
}, t)) | |
}, s.prototype.getDefaultRepresentation = function() { | |
return this.default | |
}, s.prototype.toString = function(e) { | |
return (this[this.default] || this.sshurl).call(this, e) | |
} | |
}, | |
"./node_modules/hosted-git-info/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n(5), | |
o = n("./node_modules/hosted-git-info/git-host-info.js"), | |
s = e.exports = n("./node_modules/hosted-git-info/git-host.js"), | |
a = { | |
"git+ssh": "sshurl", | |
"git+https": "https", | |
ssh: "sshurl", | |
git: "git" | |
}, | |
i = { | |
"git:": !0, | |
"https:": !0, | |
"git+https:": !0, | |
"http:": !0, | |
"git+http:": !0 | |
}; | |
e.exports.fromUrl = function(e, t) { | |
if (null != e && "" !== e) { | |
var n = function(e) { | |
var t = r.parse(e); | |
return "gist:" === t.protocol && t.host && !t.path ? t.protocol + "/" + t.host : e | |
}(function(e) { | |
return /^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(e) | |
}(e) ? "github:" + e : e), | |
u = function(e) { | |
"string" != typeof e && (e = "" + e); | |
var t = e.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/); | |
return t ? { | |
protocol: "git+ssh:", | |
slashes: !0, | |
auth: t[1], | |
host: t[2], | |
port: null, | |
hostname: t[2], | |
hash: t[4], | |
search: null, | |
query: null, | |
pathname: "/" + t[3], | |
path: "/" + t[3], | |
href: "git+ssh://" + t[1] + "@" + t[2] + "/" + t[3] + (t[4] || "") | |
} : r.parse(e) | |
}(n), | |
c = n.match(new RegExp("^([^:]+):(?:(?:[^@:]+(?:[^@]+)?@)?([^/]*))[/](.+?)(?:[.]git)?($|#)")), | |
l = Object.keys(o).map(function(e) { | |
try { | |
var n = o[e], | |
r = null; | |
u.auth && i[u.protocol] && (r = decodeURIComponent(u.auth)); | |
var l = u.hash ? decodeURIComponent(u.hash.substr(1)) : null, | |
d = null, | |
m = null, | |
p = null; | |
if (c && c[1] === e) d = c[2] && decodeURIComponent(c[2]), m = decodeURIComponent(c[3]), p = "shortcut"; | |
else { | |
if (u.host !== n.domain) return; | |
if (!n.protocols_re.test(u.protocol)) return; | |
if (!u.path) return; | |
var f = n.pathmatch, | |
h = u.path.match(f); | |
if (!h) return; | |
null != h[1] && (d = decodeURIComponent(h[1].replace(/^:/, ""))), null != h[2] && (m = decodeURIComponent(h[2])), p = function(e) { | |
return ":" === e.substr(-1) && (e = e.slice(0, -1)), a[e] || e | |
}(u.protocol) | |
} | |
return new s(e, d, r, m, l, p, t) | |
} catch (e) { | |
if (!(e instanceof URIError)) throw e | |
} | |
}).filter(function(e) { | |
return e | |
}); | |
if (1 === l.length) return l[0] | |
} | |
} | |
}, | |
"./node_modules/ini/ini.js": function(e, t) { | |
function n(e, t) { | |
var o = [], | |
a = ""; | |
"string" == typeof t ? t = { | |
section: t, | |
whitespace: !1 | |
} : (t = t || {}).whitespace = !0 === t.whitespace; | |
var u = t.whitespace ? " = " : "="; | |
return Object.keys(e).forEach(function(t, n, r) { | |
var c = e[t]; | |
c && Array.isArray(c) ? c.forEach(function(e) { | |
a += s(t + "[]") + u + s(e) + "\n" | |
}) : c && "object" == typeof c ? o.push(t) : a += s(t) + u + s(c) + i | |
}), t.section && a.length && (a = "[" + s(t.section) + "]" + i + a), o.forEach(function(o, s, u) { | |
var c = r(o).join("\\."), | |
l = (t.section ? t.section + "." : "") + c, | |
d = n(e[o], { | |
section: l, | |
whitespace: t.whitespace | |
}); | |
a.length && d.length && (a += i), a += d | |
}), a | |
} | |
function r(e) { | |
return e.replace(/\1/g, "LITERAL\\1LITERAL").replace(/\\\./g, "").split(/\./).map(function(e) { | |
return e.replace(/\1/g, "\\.").replace(/\2LITERAL\\1LITERAL\2/g, "") | |
}) | |
} | |
function o(e) { | |
return '"' === e.charAt(0) && '"' === e.slice(-1) || "'" === e.charAt(0) && "'" === e.slice(-1) | |
} | |
function s(e) { | |
return "string" != typeof e || e.match(/[=\r\n]/) || e.match(/^\[/) || e.length > 1 && o(e) || e !== e.trim() ? JSON.stringify(e) : e.replace(/;/g, "\\;").replace(/#/g, "\\#") | |
} | |
function a(e, t) { | |
if (e = (e || "").trim(), !o(e)) { | |
for (var n = !1, r = "", s = 0, a = e.length; s < a; s++) { | |
var i = e.charAt(s); | |
if (n) - 1 !== "\\;#".indexOf(i) ? r += i : r += "\\" + i, n = !1; | |
else { | |
if (-1 !== ";#".indexOf(i)) break; | |
"\\" === i ? n = !0 : r += i | |
} | |
} | |
return n && (r += "\\"), r | |
} | |
"'" === e.charAt(0) && (e = e.substr(1, e.length - 2)); | |
try { | |
e = JSON.parse(e) | |
} catch (e) {} | |
return e | |
} | |
t.parse = t.decode = function(e) { | |
var t = {}, | |
n = t, | |
o = null, | |
s = /^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i; | |
return o = null, e.split(/[\r\n]+/g).forEach(function(e, r, i) { | |
if (e && !e.match(/^\s*[;#]/)) { | |
var u = e.match(s); | |
if (u) { | |
if (void 0 !== u[1]) return o = a(u[1]), void(n = t[o] = t[o] || {}); | |
var c = a(u[2]), | |
l = !u[3] || a(u[4] || ""); | |
switch (l) { | |
case "true": | |
case "false": | |
case "null": | |
l = JSON.parse(l) | |
} | |
c.length > 2 && "[]" === c.slice(-2) && (c = c.substring(0, c.length - 2), n[c] ? Array.isArray(n[c]) || (n[c] = [n[c]]) : n[c] = []), Array.isArray(n[c]) ? n[c].push(l) : n[c] = l | |
} | |
} | |
}), Object.keys(t).filter(function(e, n, o) { | |
if (!t[e] || "object" != typeof t[e] || Array.isArray(t[e])) return !1; | |
var s = r(e), | |
a = t, | |
i = s.pop(), | |
u = i.replace(/\\\./g, "."); | |
return s.forEach(function(e, t, n) { | |
a[e] && "object" == typeof a[e] || (a[e] = {}), a = a[e] | |
}), (a !== t || u !== i) && (a[u] = t[e], !0) | |
}).forEach(function(e, n, r) { | |
delete t[e] | |
}), t | |
}, t.stringify = t.encode = n, t.safe = s, t.unsafe = a; | |
var i = "win32" === process.platform ? "\r\n" : "\n" | |
}, | |
"./node_modules/invert-kv/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
if ("object" != typeof e) throw new TypeError("Expected an object"); | |
var t = {}; | |
for (var n in e) { | |
t[e[n]] = n | |
} | |
return t | |
} | |
}, | |
"./node_modules/is-buffer/index.js": function(e, t) { | |
function n(e) { | |
return !!e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) | |
} | |
e.exports = function(e) { | |
return null != e && (n(e) || function(e) { | |
return "function" == typeof e.readFloatLE && "function" == typeof e.slice && n(e.slice(0, 0)) | |
}(e) || !!e._isBuffer) | |
} | |
}, | |
"./node_modules/is-builtin-module/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/builtin-modules/index.js"); | |
e.exports = function(e) { | |
if ("string" != typeof e) throw new TypeError("Expected a string"); | |
return -1 !== r.indexOf(e) | |
} | |
}, | |
"./node_modules/is-fullwidth-code-point/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/number-is-nan/index.js"); | |
e.exports = function(e) { | |
return !r(e) && (e >= 4352 && (e <= 4447 || 9001 === e || 9002 === e || 11904 <= e && e <= 12871 && 12351 !== e || 12880 <= e && e <= 19903 || 19968 <= e && e <= 42182 || 43360 <= e && e <= 43388 || 44032 <= e && e <= 55203 || 63744 <= e && e <= 64255 || 65040 <= e && e <= 65049 || 65072 <= e && e <= 65131 || 65281 <= e && e <= 65376 || 65504 <= e && e <= 65510 || 110592 <= e && e <= 110593 || 127488 <= e && e <= 127569 || 131072 <= e && e <= 262141)) | |
} | |
}, | |
"./node_modules/is-utf8/is-utf8.js": function(e, t) { | |
e.exports = function(e) { | |
for (var t = 0; t < e.length;) | |
if (9 == e[t] || 10 == e[t] || 13 == e[t] || 32 <= e[t] && e[t] <= 126) t += 1; | |
else if (194 <= e[t] && e[t] <= 223 && 128 <= e[t + 1] && e[t + 1] <= 191) t += 2; | |
else if (224 == e[t] && 160 <= e[t + 1] && e[t + 1] <= 191 && 128 <= e[t + 2] && e[t + 2] <= 191 || (225 <= e[t] && e[t] <= 236 || 238 == e[t] || 239 == e[t]) && 128 <= e[t + 1] && e[t + 1] <= 191 && 128 <= e[t + 2] && e[t + 2] <= 191 || 237 == e[t] && 128 <= e[t + 1] && e[t + 1] <= 159 && 128 <= e[t + 2] && e[t + 2] <= 191) t += 3; | |
else { | |
if (!(240 == e[t] && 144 <= e[t + 1] && e[t + 1] <= 191 && 128 <= e[t + 2] && e[t + 2] <= 191 && 128 <= e[t + 3] && e[t + 3] <= 191 || 241 <= e[t] && e[t] <= 243 && 128 <= e[t + 1] && e[t + 1] <= 191 && 128 <= e[t + 2] && e[t + 2] <= 191 && 128 <= e[t + 3] && e[t + 3] <= 191 || 244 == e[t] && 128 <= e[t + 1] && e[t + 1] <= 143 && 128 <= e[t + 2] && e[t + 2] <= 191 && 128 <= e[t + 3] && e[t + 3] <= 191)) return !1; | |
t += 4 | |
} | |
return !0 | |
} | |
}, | |
"./node_modules/lcid/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/invert-kv/index.js"), | |
o = n("./node_modules/lcid/lcid.json"), | |
s = r(o); | |
t.from = function(e) { | |
if ("number" != typeof e) throw new TypeError("Expected a number"); | |
return s[e] | |
}, t.to = function(e) { | |
if ("string" != typeof e) throw new TypeError("Expected a string"); | |
return o[e] | |
}, t.all = o | |
}, | |
"./node_modules/lcid/lcid.json": function(e, t) { | |
e.exports = { | |
af_ZA: 1078, | |
am_ET: 1118, | |
ar_AE: 14337, | |
ar_BH: 15361, | |
ar_DZ: 5121, | |
ar_EG: 3073, | |
ar_IQ: 2049, | |
ar_JO: 11265, | |
ar_KW: 13313, | |
ar_LB: 12289, | |
ar_LY: 4097, | |
ar_MA: 6145, | |
ar_OM: 8193, | |
ar_QA: 16385, | |
ar_SA: 1025, | |
ar_SY: 10241, | |
ar_TN: 7169, | |
ar_YE: 9217, | |
arn_CL: 1146, | |
as_IN: 1101, | |
az_AZ: 2092, | |
ba_RU: 1133, | |
be_BY: 1059, | |
bg_BG: 1026, | |
bn_IN: 1093, | |
bo_BT: 2129, | |
bo_CN: 1105, | |
br_FR: 1150, | |
bs_BA: 8218, | |
ca_ES: 1027, | |
co_FR: 1155, | |
cs_CZ: 1029, | |
cy_GB: 1106, | |
da_DK: 1030, | |
de_AT: 3079, | |
de_CH: 2055, | |
de_DE: 1031, | |
de_LI: 5127, | |
de_LU: 4103, | |
div_MV: 1125, | |
dsb_DE: 2094, | |
el_GR: 1032, | |
en_AU: 3081, | |
en_BZ: 10249, | |
en_CA: 4105, | |
en_CB: 9225, | |
en_GB: 2057, | |
en_IE: 6153, | |
en_IN: 18441, | |
en_JA: 8201, | |
en_MY: 17417, | |
en_NZ: 5129, | |
en_PH: 13321, | |
en_TT: 11273, | |
en_US: 1033, | |
en_ZA: 7177, | |
en_ZW: 12297, | |
es_AR: 11274, | |
es_BO: 16394, | |
es_CL: 13322, | |
es_CO: 9226, | |
es_CR: 5130, | |
es_DO: 7178, | |
es_EC: 12298, | |
es_ES: 3082, | |
es_GT: 4106, | |
es_HN: 18442, | |
es_MX: 2058, | |
es_NI: 19466, | |
es_PA: 6154, | |
es_PE: 10250, | |
es_PR: 20490, | |
es_PY: 15370, | |
es_SV: 17418, | |
es_UR: 14346, | |
es_US: 21514, | |
es_VE: 8202, | |
et_EE: 1061, | |
eu_ES: 1069, | |
fa_IR: 1065, | |
fi_FI: 1035, | |
fil_PH: 1124, | |
fo_FO: 1080, | |
fr_BE: 2060, | |
fr_CA: 3084, | |
fr_CH: 4108, | |
fr_FR: 1036, | |
fr_LU: 5132, | |
fr_MC: 6156, | |
fy_NL: 1122, | |
ga_IE: 2108, | |
gbz_AF: 1164, | |
gl_ES: 1110, | |
gsw_FR: 1156, | |
gu_IN: 1095, | |
ha_NG: 1128, | |
he_IL: 1037, | |
hi_IN: 1081, | |
hr_BA: 4122, | |
hr_HR: 1050, | |
hu_HU: 1038, | |
hy_AM: 1067, | |
id_ID: 1057, | |
ii_CN: 1144, | |
is_IS: 1039, | |
it_CH: 2064, | |
it_IT: 1040, | |
iu_CA: 2141, | |
ja_JP: 1041, | |
ka_GE: 1079, | |
kh_KH: 1107, | |
kk_KZ: 1087, | |
kl_GL: 1135, | |
kn_IN: 1099, | |
ko_KR: 1042, | |
kok_IN: 1111, | |
ky_KG: 1088, | |
lb_LU: 1134, | |
lo_LA: 1108, | |
lt_LT: 1063, | |
lv_LV: 1062, | |
mi_NZ: 1153, | |
mk_MK: 1071, | |
ml_IN: 1100, | |
mn_CN: 2128, | |
mn_MN: 1104, | |
moh_CA: 1148, | |
mr_IN: 1102, | |
ms_BN: 2110, | |
ms_MY: 1086, | |
mt_MT: 1082, | |
my_MM: 1109, | |
nb_NO: 1044, | |
ne_NP: 1121, | |
nl_BE: 2067, | |
nl_NL: 1043, | |
nn_NO: 2068, | |
ns_ZA: 1132, | |
oc_FR: 1154, | |
or_IN: 1096, | |
pa_IN: 1094, | |
pl_PL: 1045, | |
ps_AF: 1123, | |
pt_BR: 1046, | |
pt_PT: 2070, | |
qut_GT: 1158, | |
quz_BO: 1131, | |
quz_EC: 2155, | |
quz_PE: 3179, | |
rm_CH: 1047, | |
ro_RO: 1048, | |
ru_RU: 1049, | |
rw_RW: 1159, | |
sa_IN: 1103, | |
sah_RU: 1157, | |
se_FI: 3131, | |
se_NO: 1083, | |
se_SE: 2107, | |
si_LK: 1115, | |
sk_SK: 1051, | |
sl_SI: 1060, | |
sma_NO: 6203, | |
sma_SE: 7227, | |
smj_NO: 4155, | |
smj_SE: 5179, | |
smn_FI: 9275, | |
sms_FI: 8251, | |
sq_AL: 1052, | |
sr_BA: 7194, | |
sr_SP: 3098, | |
sv_FI: 2077, | |
sv_SE: 1053, | |
sw_KE: 1089, | |
syr_SY: 1114, | |
ta_IN: 1097, | |
te_IN: 1098, | |
tg_TJ: 1064, | |
th_TH: 1054, | |
tk_TM: 1090, | |
tmz_DZ: 2143, | |
tn_ZA: 1074, | |
tr_TR: 1055, | |
tt_RU: 1092, | |
ug_CN: 1152, | |
uk_UA: 1058, | |
ur_IN: 2080, | |
ur_PK: 1056, | |
uz_UZ: 2115, | |
vi_VN: 1066, | |
wen_DE: 1070, | |
wo_SN: 1160, | |
xh_ZA: 1076, | |
yo_NG: 1130, | |
zh_CHS: 4, | |
zh_CHT: 31748, | |
zh_CN: 2052, | |
zh_HK: 3076, | |
zh_MO: 5124, | |
zh_SG: 4100, | |
zh_TW: 1028, | |
zu_ZA: 1077 | |
} | |
}, | |
"./node_modules/load-json-file/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e, t) { | |
return i(a(e), o.relative(process.cwd(), t)) | |
} | |
var o = n(0), | |
s = n("./node_modules/graceful-fs/graceful-fs.js"), | |
a = n("./node_modules/load-json-file/node_modules/strip-bom/index.js"), | |
i = n("./node_modules/parse-json/index.js"), | |
u = n("./node_modules/pinkie-promise/index.js"), | |
c = n("./node_modules/pify/index.js"); | |
e.exports = function(e) { | |
return c(s.readFile, u)(e, "utf8").then(function(t) { | |
return r(t, e) | |
}) | |
}, e.exports.sync = function(e) { | |
return r(s.readFileSync(e, "utf8"), e) | |
} | |
}, | |
"./node_modules/load-json-file/node_modules/strip-bom/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/is-utf8/is-utf8.js"); | |
e.exports = function(e) { | |
return "string" == typeof e && 65279 === e.charCodeAt(0) ? e.slice(1) : Buffer.isBuffer(e) && r(e) && 239 === e[0] && 187 === e[1] && 191 === e[2] ? e.slice(3) : e | |
} | |
}, | |
"./node_modules/lodash/_baseFindIndex.js": function(e, t) { | |
e.exports = function(e, t, n, r) { | |
for (var o = e.length, s = n + (r ? 1 : -1); r ? s-- : ++s < o;) | |
if (t(e[s], s, e)) return s; | |
return -1 | |
} | |
}, | |
"./node_modules/lodash/_baseIndexOf.js": function(e, t, n) { | |
var r = n("./node_modules/lodash/_baseFindIndex.js"), | |
o = n("./node_modules/lodash/_baseIsNaN.js"), | |
s = n("./node_modules/lodash/_strictIndexOf.js"); | |
e.exports = function(e, t, n) { | |
return t == t ? s(e, t, n) : r(e, o, n) | |
} | |
}, | |
"./node_modules/lodash/_baseIsNaN.js": function(e, t) { | |
e.exports = function(e) { | |
return e != e | |
} | |
}, | |
"./node_modules/lodash/_strictIndexOf.js": function(e, t) { | |
e.exports = function(e, t, n) { | |
for (var r = n - 1, o = e.length; ++r < o;) | |
if (e[r] === t) return r; | |
return -1 | |
} | |
}, | |
"./node_modules/lodash/isArray.js": function(e, t) { | |
var n = Array.isArray; | |
e.exports = n | |
}, | |
"./node_modules/lodash/isObject.js": function(e, t) { | |
e.exports = function(e) { | |
var t = typeof e; | |
return null != e && ("object" == t || "function" == t) | |
} | |
}, | |
"./node_modules/lodash/noop.js": function(e, t) { | |
e.exports = function() {} | |
}, | |
"./node_modules/map-stream/index.js": function(e, t, n) { | |
var r = n(4).Stream; | |
e.exports = function(e, t) { | |
function n(e, t) { | |
var r = p + 1; | |
if (t === r ? (void 0 !== e && a.emit.apply(a, ["data", e]), p++, r++) : v[t] = e, v.hasOwnProperty(r)) { | |
var o = v[r]; | |
return delete v[r], n(o, r) | |
} | |
u === ++c && (d && (d = !1, a.emit("drain")), l && s()) | |
} | |
function o(e, t, r) { | |
m || (f = !0, e && !i.opts.failures || n(t, r), e && a.emit.apply(a, [h, e]), f = !1) | |
} | |
function s(e) { | |
if (l = !0, a.writable = !1, void 0 !== e) return n(e, u); | |
u == c && (a.readable = !1, a.emit("end"), a.destroy()) | |
} | |
var a = new r, | |
i = this, | |
u = 0, | |
c = 0, | |
l = !1, | |
d = !1, | |
m = !1, | |
p = 0, | |
f = !1; | |
this.opts = t || {}; | |
var h = this.opts.failures ? "failure" : "error", | |
v = {}; | |
return a.writable = !0, a.readable = !0, a.write = function(t) { | |
if (l) throw new Error("map stream is not writable"); | |
f = !1, u++; | |
try { | |
var n = function(t, n, r) { | |
return e.call(null, t, function(e, t) { | |
r(e, t, n) | |
}) | |
}(t, u, o); | |
return !(d = !1 === n) | |
} catch (e) { | |
if (f) throw e; | |
return o(e), !d | |
} | |
}, a.end = function(e) { | |
l || s() | |
}, a.destroy = function() { | |
l = m = !0, a.writable = a.readable = d = !1, process.nextTick(function() { | |
a.emit("close") | |
}) | |
}, a.pause = function() { | |
d = !0 | |
}, a.resume = function() { | |
d = !1 | |
}, a | |
} | |
}, | |
"./node_modules/ms/index.js": function(e, t) { | |
function n(e, t, n) { | |
if (!(e < t)) return e < 1.5 * t ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s" | |
} | |
var r = 1e3, | |
o = 60 * r, | |
s = 60 * o, | |
a = 24 * s, | |
i = 365.25 * a; | |
e.exports = function(e, t) { | |
t = t || {}; | |
var u = typeof e; | |
if ("string" === u && e.length > 0) return function(e) { | |
if (!((e = String(e)).length > 100)) { | |
var t = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e); | |
if (t) { | |
var n = parseFloat(t[1]); | |
switch ((t[2] || "ms").toLowerCase()) { | |
case "years": | |
case "year": | |
case "yrs": | |
case "yr": | |
case "y": | |
return n * i; | |
case "days": | |
case "day": | |
case "d": | |
return n * a; | |
case "hours": | |
case "hour": | |
case "hrs": | |
case "hr": | |
case "h": | |
return n * s; | |
case "minutes": | |
case "minute": | |
case "mins": | |
case "min": | |
case "m": | |
return n * o; | |
case "seconds": | |
case "second": | |
case "secs": | |
case "sec": | |
case "s": | |
return n * r; | |
case "milliseconds": | |
case "millisecond": | |
case "msecs": | |
case "msec": | |
case "ms": | |
return n; | |
default: | |
return | |
} | |
} | |
} | |
}(e); | |
if ("number" === u && !1 === isNaN(e)) return t.long ? function(e) { | |
return n(e, a, "day") || n(e, s, "hour") || n(e, o, "minute") || n(e, r, "second") || e + " ms" | |
}(e) : function(e) { | |
return e >= a ? Math.round(e / a) + "d" : e >= s ? Math.round(e / s) + "h" : e >= o ? Math.round(e / o) + "m" : e >= r ? Math.round(e / r) + "s" : e + "ms" | |
}(e); | |
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e)) | |
} | |
}, | |
"./node_modules/number-is-nan/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = Number.isNaN || function(e) { | |
return e != e | |
} | |
}, | |
"./node_modules/os-locale/index.js": function(e, t, n) { | |
"use strict"; | |
function r() { | |
return i = "en_US" | |
} | |
function o(e) { | |
var t = (e = e || process.env).LC_ALL || e.LC_MESSAGES || e.LANG || e.LANGUAGE; | |
return i = a(t), t | |
} | |
function s(e) { | |
return o(e.split("\n").reduce(function(e, t) { | |
return t = t.split("="), e[t[0]] = t[1], e | |
}, {})) | |
} | |
function a(e) { | |
return e && e.replace(/[.:].*/, "") || r() | |
} | |
var i, u = n(16), | |
c = u.execFileSync, | |
l = n("./node_modules/lcid/index.js"), | |
d = { | |
spawn: !0 | |
}; | |
e.exports = function(e, t) { | |
if ("function" == typeof e ? (t = e, e = d) : e = e || d, i || o() || !1 === e.spawn) setImmediate(t, null, i); | |
else { | |
"win32" === process.platform ? u.execFile("wmic", ["os", "get", "locale"], function(e, n) { | |
if (e) r(); | |
else { | |
var o = parseInt(n.replace("Locale", ""), 16); | |
i = l.from(o) || r(), t(null, i) | |
} | |
}) : u.execFile("locale", function(e, n) { | |
if (e) r(); | |
else { | |
var o = s(n); | |
o || "darwin" !== process.platform ? (i = a(o), t(null, i)) : u.execFile("defaults", ["read", "-g", "AppleLocale"], function(e, n) { | |
e ? r() : (i = n.trim() || r(), t(null, i)) | |
}) | |
} | |
}) | |
} | |
}, e.exports.sync = function(e) { | |
if (e = e || d, i || o() || !c || !1 === e.spawn) return i; | |
if ("win32" === process.platform) { | |
var t; | |
try { | |
t = c("wmic", ["os", "get", "locale"], { | |
encoding: "utf8" | |
}) | |
} catch (e) { | |
return r() | |
} | |
var n = parseInt(t.replace("Locale", ""), 16); | |
return i = l.from(n) || r() | |
} | |
var u; | |
try { | |
u = s(c("locale", { | |
encoding: "utf8" | |
})) | |
} catch (e) {} | |
if (!u && "darwin" === process.platform) try { | |
return i = c("defaults", ["read", "-g", "AppleLocale"], { | |
encoding: "utf8" | |
}).trim() || r() | |
} catch (e) { | |
return r() | |
} | |
return i = a(u) | |
} | |
}, | |
"./node_modules/parse-json/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/error-ex/index.js"), | |
o = n("./node_modules/parse-json/vendor/parse.js"), | |
s = r("JSONError", { | |
fileName: r.append("in %s") | |
}); | |
e.exports = function(e, t, n) { | |
"string" == typeof t && (n = t, t = null); | |
try { | |
try { | |
return JSON.parse(e, t) | |
} catch (n) { | |
throw o.parse(e, { | |
mode: "json", | |
reviver: t | |
}), n | |
} | |
} catch (e) { | |
var r = new s(e); | |
throw n && (r.fileName = n), r | |
} | |
} | |
}, | |
"./node_modules/parse-json/vendor/parse.js": function(e, t, n) { | |
function r(e) { | |
return e >= "0" && e <= "9" || e >= "A" && e <= "F" || e >= "a" && e <= "f" | |
} | |
function o(e) { | |
return e >= "0" && e <= "7" | |
} | |
function s(e) { | |
return e >= "0" && e <= "9" | |
} | |
function a(e, t) { | |
function n(t) { | |
var n = w - x; | |
if (!t) | |
if (w < b) { | |
var r = "'" + JSON.stringify(e[w]).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; | |
t || (t = "Unexpected token " + r) | |
} else t || (t = "Unexpected end of input"); | |
var o = SyntaxError(function(e, t, n, r, o, s) { | |
var a = t + " at " + (r + 1) + ":" + (o + 1), | |
u = n - o - 1, | |
c = "", | |
l = "", | |
d = s ? i.isLineTerminator : i.isLineTerminatorJSON; | |
for (u < n - 70 && (u = n - 70);;) { | |
var m = e[++u]; | |
if (d(m) || u === e.length) { | |
n >= u && (l += "^"); | |
break | |
} | |
if (c += m, n === u ? l += "^" : n > u && (l += "\t" === e[u] ? "\t" : " "), c.length > 78) break | |
} | |
return a + "\n" + c + "\n" + l | |
}(e, t, w, j, n, _)); | |
throw o.row = j + 1, o.column = n + 1, o | |
} | |
function a(t) { | |
"\r" === t && "\n" === e[w] && w++, x = w, j++ | |
} | |
function c() { | |
for (; w < b;) { | |
E(); | |
var t = e[w++]; | |
return '"' === t || "'" === t && _ ? S(v(t), "literal") : "{" === t ? (S(void 0, "separator"), p()) : "[" === t ? (S(void 0, "separator"), f()) : "-" === t || "." === t || s(t) || _ && ("+" === t || "I" === t || "N" === t) ? S(h(), "literal") : "n" === t ? (m("null"), S(null, "literal")) : "t" === t ? (m("true"), S(!0, "literal")) : "f" === t ? (m("false"), S(!1, "literal")) : (w--, S(void 0)) | |
} | |
} | |
function l() { | |
for (; w < b;) { | |
E(); | |
var t = e[w++]; | |
if ('"' === t || "'" === t && _) return S(v(t), "key"); | |
if ("{" === t) return S(void 0, "separator"), p(); | |
if ("[" === t) return S(void 0, "separator"), f(); | |
if ("." === t || s(t)) return S(h(), "key"); | |
if (_ && i.isIdentifierStart(t) || "\\" === t && "u" === e[w]) { | |
var o, a = w - 1; | |
return void 0 === (o = function() { | |
w--; | |
var t = ""; | |
for (; w < b;) { | |
var o = e[w++]; | |
if ("\\" === o && "u" === e[w] && r(e[w + 1]) && r(e[w + 2]) && r(e[w + 3]) && r(e[w + 4]) && (o = String.fromCharCode(parseInt(e.substr(w + 1, 4), 16)), w += 5), t.length) { | |
if (!i.isIdentifierPart(o)) return w--, t; | |
t += o | |
} else { | |
if (!i.isIdentifierStart(o)) return; | |
t += o | |
} | |
} | |
n() | |
}()) ? (w = a, S(void 0)) : S(o, "key") | |
} | |
return w--, S(void 0) | |
} | |
} | |
function d() { | |
for (E(); w < b;) { | |
var t = e[w++]; | |
if (g(t)) w--, S(void 0, "whitespace"), E(), w++, a(t), S(void 0, "newline"), E(); | |
else if (y(t)); | |
else { | |
if ("/" !== t || !_ || "/" !== e[w] && "*" !== e[w]) { | |
w--; | |
break | |
} | |
w--, S(void 0, "whitespace"), E(), w++, | |
function(t) { | |
for (; w < b;) { | |
var r = e[w++]; | |
if (g(r)) { | |
if (!t) return void w--; | |
a(r) | |
} else if ("*" === r && t && "/" === e[w]) return void w++ | |
} | |
t && n("Unclosed multiline comment") | |
}("*" === e[w++]), S(void 0, "comment"), E() | |
} | |
} | |
return S(void 0, "whitespace") | |
} | |
function m(t) { | |
for (var r = w, o = t.length, s = 1; s < o; s++)(w >= b || t[s] != e[w]) && (w = r - 1, n()), w++ | |
} | |
function p() { | |
for (var r = t.null_prototype ? Object.create(null) : {}, o = {}, s = !1; w < b;) { | |
d(); | |
var a = l(); | |
d(), E(); | |
var i = e[w++]; | |
if (S(void 0, "separator"), "}" === i && void 0 === a) return !_ && s && (w--, n("Trailing comma in object")), r; | |
if (":" === i && void 0 !== a) { | |
d(), k.push(a); | |
var u = c(); | |
k.pop(), void 0 === u && n("No value found for key " + a), "string" != typeof a && (_ && "number" == typeof a || n("Wrong key type: " + a)), (a in o || null != o[a]) && "replace" !== t.reserved_keys ? "throw" === t.reserved_keys && n("Reserved key: " + a) : ("function" == typeof t.reviver && (u = t.reviver.call(null, a, u)), void 0 !== u && (s = !0, Object.defineProperty(r, a, { | |
value: u, | |
enumerable: !0, | |
configurable: !0, | |
writable: !0 | |
}))), d(), E(); | |
i = e[w++]; | |
if (S(void 0, "separator"), "," === i) continue; | |
if ("}" === i) return r; | |
n() | |
} else w--, n() | |
} | |
n() | |
} | |
function f() { | |
for (var r = []; w < b;) { | |
d(), k.push(r.length); | |
var o = c(); | |
k.pop(), d(), E(); | |
var s = e[w++]; | |
if (S(void 0, "separator"), void 0 !== o && ("function" == typeof t.reviver && (o = t.reviver.call(null, String(r.length), o)), void 0 === o ? (r.length++, o = !0) : r.push(o)), "," === s) void 0 === o && n("Elisions are not supported"); | |
else { | |
if ("]" === s) return !_ && void 0 === o && r.length && (w--, n("Trailing comma in array")), r; | |
w--, n() | |
} | |
} | |
} | |
function h() { | |
var t = --w, | |
a = e[w++], | |
i = function(r) { | |
var o = e.substr(t, w - t); | |
if (r) var s = parseInt(o.replace(/^0o?/, ""), 8); | |
else s = Number(o); | |
if (Number.isNaN(s)) w--, n('Bad numeric literal - "' + e.substr(t, w - t + 1) + '"'); | |
else { | |
if (_ || o.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i)) return s; | |
w--, n('Non-json numeric literal - "' + e.substr(t, w - t + 1) + '"') | |
} | |
}; | |
if (("-" === a || "+" === a && _) && (a = e[w++]), "N" === a && _) return m("NaN"), NaN; | |
if ("I" === a && _) return m("Infinity"), i(); | |
if (a >= "1" && a <= "9") { | |
for (; w < b && s(e[w]);) w++; | |
a = e[w++] | |
} | |
if ("0" === a) { | |
var u = "o" === (a = e[w++]) || "O" === a || o(a), | |
c = "x" === a || "X" === a; | |
if (_ && (u || c)) { | |
for (; w < b && (c ? r : o)(e[w]);) w++; | |
var l = 1; | |
return "-" === e[t] ? (l = -1, t++) : "+" === e[t] && t++, l * i(u) | |
} | |
} | |
if ("." === a) { | |
for (; w < b && s(e[w]);) w++; | |
a = e[w++] | |
} | |
if ("e" === a || "E" === a) { | |
for ("-" !== (a = e[w++]) && "+" !== a || w++; w < b && s(e[w]);) w++; | |
a = e[w++] | |
} | |
return w--, i() | |
} | |
function v(t) { | |
for (var s = ""; w < b;) { | |
var i = e[w++]; | |
if (i === t) return s; | |
if ("\\" === i) | |
if (w >= b && n(), i = e[w++], u[i] && (_ || "v" != i && "'" != i)) s += u[i]; | |
else if (_ && g(i)) a(i); | |
else if ("u" === i || "x" === i && _) { | |
for (var c = "u" === i ? 4 : 2, l = 0; l < c; l++) w >= b && n(), r(e[w]) || n("Bad escape sequence"), w++; | |
s += String.fromCharCode(parseInt(e.substr(w - c, c), 16)) | |
} else if (_ && o(i)) { | |
if (i < "4" && o(e[w]) && o(e[w + 1])) var d = 3; | |
else if (o(e[w])) d = 2; | |
else d = 1; | |
w += d - 1, s += String.fromCharCode(parseInt(e.substr(w - d, d), 8)) | |
} else _ ? s += i : (w--, n()); | |
else g(i) ? n() : (!_ && i.charCodeAt(0) < 32 && (w--, n("Unexpected control character")), s += i) | |
} | |
n() | |
} | |
var _ = !("json" === t.mode || t.legacy), | |
g = _ ? i.isLineTerminator : i.isLineTerminatorJSON, | |
y = _ ? i.isWhiteSpace : i.isWhiteSpaceJSON, | |
b = e.length, | |
j = 0, | |
x = 0, | |
w = 0, | |
k = [], | |
E = function() {}, | |
S = function(e) { | |
return e | |
}; | |
t._tokenize && function() { | |
var n = null; | |
E = function() { | |
if (null !== n) throw Error("internal error, token overlap"); | |
n = w | |
}, S = function(r, o) { | |
if (n != w) { | |
var s = { | |
raw: e.substr(n, w - n), | |
type: o, | |
stack: k.slice(0) | |
}; | |
void 0 !== r && (s.value = r), t._tokenize.call(null, s) | |
} | |
return n = null, r | |
} | |
}(), d(); | |
var L = c(); | |
if (void 0 !== L || w < b) { | |
if (d(), w >= b) return "function" == typeof t.reviver && (L = t.reviver.call(null, "", L)), L; | |
n() | |
} else n(w ? "No data, only a whitespace" : "No data, empty input") | |
} | |
var i = n("./node_modules/parse-json/vendor/unicode.js"), | |
u = { | |
"'": "'", | |
'"': '"', | |
"\\": "\\", | |
b: "\b", | |
f: "\f", | |
n: "\n", | |
r: "\r", | |
t: "\t", | |
v: "\v", | |
"/": "/" | |
}; | |
e.exports.parse = function(e, t) { | |
if ("function" == typeof t && (t = { | |
reviver: t | |
}), void 0 !== e) { | |
"string" != typeof e && (e = String(e)), null == t && (t = {}), null == t.reserved_keys && (t.reserved_keys = "ignore"), "throw" !== t.reserved_keys && "ignore" !== t.reserved_keys || null == t.null_prototype && (t.null_prototype = !0); | |
try { | |
return a(e, t) | |
} catch (e) { | |
if (e instanceof SyntaxError && null != e.row && null != e.column) { | |
var n = e; | |
(e = SyntaxError(n.message)).column = n.column, e.row = n.row | |
} | |
throw e | |
} | |
} | |
}, e.exports.tokenize = function(t, n) { | |
null == n && (n = {}), n._tokenize = function(e) { | |
n._addstack && e.stack.unshift.apply(e.stack, n._addstack), r.push(e) | |
}; | |
var r = []; | |
return r.data = e.exports.parse(t, n), r | |
} | |
}, | |
"./node_modules/parse-json/vendor/unicode.js": function(e, t) { | |
var n = e.exports; | |
e.exports.isWhiteSpace = function(e) { | |
return " " === e || " " === e || "\ufeff" === e || e >= "\t" && e <= "\r" || " " === e || "" === e || e >= " " && e <= " " || "\u2028" === e || "\u2029" === e || " " === e || " " === e || " " === e | |
}, e.exports.isWhiteSpaceJSON = function(e) { | |
return " " === e || "\t" === e || "\n" === e || "\r" === e | |
}, e.exports.isLineTerminator = function(e) { | |
return "\n" === e || "\r" === e || "\u2028" === e || "\u2029" === e | |
}, e.exports.isLineTerminatorJSON = function(e) { | |
return "\n" === e || "\r" === e | |
}, e.exports.isIdentifierStart = function(e) { | |
return "$" === e || "_" === e || e >= "A" && e <= "Z" || e >= "a" && e <= "z" || e >= "" && n.NonAsciiIdentifierStart.test(e) | |
}, e.exports.isIdentifierPart = function(e) { | |
return "$" === e || "_" === e || e >= "A" && e <= "Z" || e >= "a" && e <= "z" || e >= "0" && e <= "9" || e >= "" && n.NonAsciiIdentifierPart.test(e) | |
}, e.exports.NonAsciiIdentifierStart = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/, e.exports.NonAsciiIdentifierPart = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/ | |
}, | |
"./node_modules/path-type/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e, t, n) { | |
return "string" != typeof n ? a.reject(new TypeError("Expected a string")) : i(s[e], a)(n).then(function(e) { | |
return e[t]() | |
}) | |
} | |
function o(e, t, n) { | |
if ("string" != typeof n) throw new TypeError("Expected a string"); | |
return s[e](n)[t]() | |
} | |
var s = n("./node_modules/graceful-fs/graceful-fs.js"), | |
a = n("./node_modules/pinkie-promise/index.js"), | |
i = n("./node_modules/pify/index.js"); | |
t.file = r.bind(null, "stat", "isFile"), t.dir = r.bind(null, "stat", "isDirectory"), t.symlink = r.bind(null, "lstat", "isSymbolicLink"), t.fileSync = o.bind(null, "statSync", "isFile"), t.dirSync = o.bind(null, "statSync", "isDirectory"), t.symlinkSync = o.bind(null, "lstatSync", "isSymbolicLink") | |
}, | |
"./node_modules/pause-stream/index.js": function(e, t, n) { | |
e.exports = n("./node_modules/through/index.js") | |
}, | |
"./node_modules/pify/index.js": function(e, t, n) { | |
"use strict"; | |
var r = function(e, t, n) { | |
return function() { | |
for (var r = this, o = new Array(arguments.length), s = 0; s < arguments.length; s++) o[s] = arguments[s]; | |
return new t(function(t, s) { | |
o.push(function(e, r) { | |
if (e) s(e); | |
else if (n.multiArgs) { | |
for (var o = new Array(arguments.length - 1), a = 1; a < arguments.length; a++) o[a - 1] = arguments[a]; | |
t(o) | |
} else t(r) | |
}), e.apply(r, o) | |
}) | |
} | |
}, | |
o = e.exports = function(e, t, n) { | |
"function" != typeof t && (n = t, t = Promise), (n = n || {}).exclude = n.exclude || [/.+Sync$/]; | |
var o = "function" == typeof e ? function() { | |
return n.excludeMain ? e.apply(this, arguments) : r(e, t, n).apply(this, arguments) | |
} : {}; | |
return Object.keys(e).reduce(function(o, s) { | |
var a = e[s]; | |
return o[s] = "function" == typeof a && function(e) { | |
var t = function(t) { | |
return "string" == typeof t ? e === t : t.test(e) | |
}; | |
return n.include ? n.include.some(t) : !n.exclude.some(t) | |
}(s) ? r(a, t, n) : a, o | |
}, o) | |
}; | |
o.all = o | |
}, | |
"./node_modules/pinkie-promise/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = "function" == typeof Promise ? Promise : n("./node_modules/pinkie/index.js") | |
}, | |
"./node_modules/pinkie/index.js": function(e, t, n) { | |
"use strict"; | |
function r() { | |
for (var e = 0; e < w.length; e++) w[e][0](w[e][1]); | |
w = [], h = !1 | |
} | |
function o(e, t) { | |
w.push([e, t]), h || (h = !0, x(r, 0)) | |
} | |
function s(e) { | |
var t = e.owner, | |
n = t._state, | |
r = t._data, | |
o = e[n], | |
s = e.then; | |
if ("function" == typeof o) { | |
n = g; | |
try { | |
r = o(r) | |
} catch (e) { | |
c(s, e) | |
} | |
} | |
a(s, r) || (n === g && i(s, r), n === y && c(s, r)) | |
} | |
function a(e, t) { | |
var n; | |
try { | |
if (e === t) throw new TypeError("A promises callback cannot return that same promise."); | |
if (t && ("function" == typeof t || "object" == typeof t)) { | |
var r = t.then; | |
if ("function" == typeof r) return r.call(t, function(r) { | |
n || (n = !0, t === r ? u(e, r) : i(e, r)) | |
}, function(t) { | |
n || (n = !0, c(e, t)) | |
}), !0 | |
} | |
} catch (t) { | |
return n || c(e, t), !0 | |
} | |
return !1 | |
} | |
function i(e, t) { | |
e !== t && a(e, t) || u(e, t) | |
} | |
function u(e, t) { | |
e._state === v && (e._state = _, e._data = t, o(d, e)) | |
} | |
function c(e, t) { | |
e._state === v && (e._state = _, e._data = t, o(m, e)) | |
} | |
function l(e) { | |
e._then = e._then.forEach(s) | |
} | |
function d(e) { | |
e._state = g, l(e) | |
} | |
function m(e) { | |
e._state = y, l(e), !e._handled && j && global.process.emit("unhandledRejection", e._data, e) | |
} | |
function p(e) { | |
global.process.emit("rejectionHandled", e) | |
} | |
function f(e) { | |
if ("function" != typeof e) throw new TypeError("Promise resolver " + e + " is not a function"); | |
if (this instanceof f == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); | |
this._then = [], | |
function(e, t) { | |
function n(e) { | |
i(t, e) | |
} | |
function r(e) { | |
c(t, e) | |
} | |
try { | |
e(n, r) | |
} catch (e) { | |
r(e) | |
} | |
}(e, this) | |
} | |
var h, v = "pending", | |
_ = "settled", | |
g = "fulfilled", | |
y = "rejected", | |
b = function() {}, | |
j = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, | |
x = "undefined" == typeof setImmediate ? setTimeout : setImmediate, | |
w = []; | |
f.prototype = { | |
constructor: f, | |
_state: v, | |
_then: null, | |
_data: void 0, | |
_handled: !1, | |
then: function(e, t) { | |
var n = { | |
owner: this, | |
then: new this.constructor(b), | |
fulfilled: e, | |
rejected: t | |
}; | |
return !t && !e || this._handled || (this._handled = !0, this._state === y && j && o(p, this)), this._state === g || this._state === y ? o(s, n) : this._then.push(n), n.then | |
}, | |
catch: function(e) { | |
return this.then(null, e) | |
} | |
}, f.all = function(e) { | |
if (!Array.isArray(e)) throw new TypeError("You must pass an array to Promise.all()."); | |
return new f(function(t, n) { | |
function r(e) { | |
return a++, | |
function(n) { | |
s[e] = n, --a || t(s) | |
} | |
} | |
for (var o, s = [], a = 0, i = 0; i < e.length; i++)(o = e[i]) && "function" == typeof o.then ? o.then(r(i), n) : s[i] = o; | |
a || t(s) | |
}) | |
}, f.race = function(e) { | |
if (!Array.isArray(e)) throw new TypeError("You must pass an array to Promise.race()."); | |
return new f(function(t, n) { | |
for (var r, o = 0; o < e.length; o++)(r = e[o]) && "function" == typeof r.then ? r.then(t, n) : t(r) | |
}) | |
}, f.resolve = function(e) { | |
return e && "object" == typeof e && e.constructor === f ? e : new f(function(t) { | |
t(e) | |
}) | |
}, f.reject = function(e) { | |
return new f(function(t, n) { | |
n(e) | |
}) | |
}, e.exports = f | |
}, | |
"./node_modules/ps-tree/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
if ("win32" !== process.platform) return e; | |
switch (e) { | |
case "Name": | |
return "COMMAND"; | |
case "ParentProcessId": | |
return "PPID"; | |
case "ProcessId": | |
return "PID"; | |
case "Status": | |
return "STAT"; | |
default: | |
throw new Error("Unknown process listing header: " + e) | |
} | |
} | |
var o = n(16).spawn, | |
s = n("./node_modules/event-stream/index.js"); | |
e.exports = function(e, t) { | |
var n = null; | |
if ("function" != typeof t) throw new Error("childrenOfPid(pid, callback) expects callback"); | |
"number" == typeof e && (e = e.toString()); | |
var a; | |
a = "win32" === process.platform ? o("wmic.exe", ["PROCESS", "GET", "Name,ProcessId,ParentProcessId,Status"]) : o("ps", ["-A", "-o", "ppid,pid,stat,comm"]), s.connect(a.stdout, s.split(), s.map(function(e, t) { | |
var o = e.trim().split(/\s+/); | |
if (!n) return n = o, n = n.map(r), t(); | |
for (var s = {}, a = n.slice(); a.length;) s[a.shift()] = a.length ? o.shift() : o.join(" "); | |
return t(null, s) | |
}), s.writeArray(function(n, r) { | |
var o = [e], | |
s = []; | |
r.forEach(function(e) { | |
-1 !== o.indexOf(e.PPID) && (o.push(e.PID), s.push(e)) | |
}), t(null, s) | |
})).on("error", t) | |
} | |
}, | |
"./node_modules/read-pkg-up/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/read-pkg-up/node_modules/find-up/index.js"), | |
o = n("./node_modules/read-pkg/index.js"); | |
e.exports = function(e) { | |
return r("package.json", e).then(function(t) { | |
return t ? o(t, e).then(function(e) { | |
return { | |
pkg: e, | |
path: t | |
} | |
}) : {} | |
}) | |
}, e.exports.sync = function(e) { | |
var t = r.sync("package.json", e); | |
return t ? { | |
pkg: o.sync(t, e), | |
path: t | |
} : {} | |
} | |
}, | |
"./node_modules/read-pkg-up/node_modules/find-up/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return s.resolve(e || "").split(s.sep) | |
} | |
function o(e, t) { | |
return s.resolve(e.join(s.sep) + s.sep, t) | |
} | |
var s = n(0), | |
a = n("./node_modules/read-pkg-up/node_modules/path-exists/index.js"), | |
i = n("./node_modules/pinkie-promise/index.js"); | |
e.exports = function(e, t) { | |
var n = r((t = t || {}).cwd); | |
return new i(function(t) { | |
! function r() { | |
var s = o(n, e); | |
a(s).then(function(e) { | |
e ? t(s) : n.pop() ? r() : t(null) | |
}) | |
}() | |
}) | |
}, e.exports.sync = function(e, t) { | |
for (var n = r((t = t || {}).cwd), s = n.length; s--;) { | |
var i = o(n, e); | |
if (a.sync(i)) return i; | |
n.pop() | |
} | |
return null | |
} | |
}, | |
"./node_modules/read-pkg-up/node_modules/path-exists/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n(3), | |
o = n("./node_modules/pinkie-promise/index.js"); | |
e.exports = function(e) { | |
var t = "function" == typeof r.access ? r.access : r.stat; | |
return new o(function(n) { | |
t(e, function(e) { | |
n(!e) | |
}) | |
}) | |
}, e.exports.sync = function(e) { | |
var t = "function" == typeof r.accessSync ? r.accessSync : r.statSync; | |
try { | |
return t(e), !0 | |
} catch (e) { | |
return !1 | |
} | |
} | |
}, | |
"./node_modules/read-pkg/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n(0), | |
o = n("./node_modules/load-json-file/index.js"), | |
s = n("./node_modules/read-pkg/node_modules/normalize-package-data/lib/normalize.js"), | |
a = n("./node_modules/path-type/index.js"); | |
e.exports = function(e, t) { | |
return "string" != typeof e && (t = e, e = "."), t = t || {}, a.dir(e).then(function(t) { | |
return t && (e = r.join(e, "package.json")), o(e) | |
}).then(function(e) { | |
return !1 !== t.normalize && s(e), e | |
}) | |
}, e.exports.sync = function(e, t) { | |
"string" != typeof e && (t = e, e = "."), t = t || {}, e = a.dirSync(e) ? r.join(e, "package.json") : e; | |
var n = o.sync(e); | |
return !1 !== t.normalize && s(n), n | |
} | |
}, | |
"./node_modules/read-pkg/node_modules/normalize-package-data/lib/extract_description.js": function(e, t) { | |
e.exports = function(e) { | |
if (e && "ERROR: No README data found!" !== e) { | |
e = e.trim().split("\n"); | |
for (var t = 0; e[t] && e[t].trim().match(/^(#|$)/); t++); | |
for (var n = e.length, r = t + 1; r < n && e[r].trim(); r++); | |
return e.slice(t, r).join(" ").trim() | |
} | |
} | |
}, | |
"./node_modules/read-pkg/node_modules/normalize-package-data/lib/fixer.js": function(e, t, n) { | |
function r(e, t, n) { | |
if ("." === e.charAt(0) || ! function(e) { | |
if ("@" !== e.charAt(0)) return !1; | |
var t = e.slice(1).split("/"); | |
return 2 === t.length && t[0] && t[1] && t[0] === encodeURIComponent(t[0]) && t[1] === encodeURIComponent(t[1]) | |
}(e) && ! function(e) { | |
return !e.match(/[\/@\s\+%:]/) && e === encodeURIComponent(e) | |
}(e) || t && !n && e !== e.toLowerCase() || "node_modules" === e.toLowerCase() || "favicon.ico" === e.toLowerCase()) throw new Error("Invalid name: " + JSON.stringify(e)) | |
} | |
function o(e, t) { | |
return e.author && (e.author = t(e.author)), ["maintainers", "contributors"].forEach(function(n) { | |
Array.isArray(e[n]) && (e[n] = e[n].map(t)) | |
}), e | |
} | |
function s(e) { | |
if ("string" == typeof e) return e; | |
var t = e.name || "", | |
n = e.url || e.web, | |
r = n ? " (" + n + ")" : "", | |
o = e.email || e.mail; | |
return t + (o ? " <" + o + ">" : "") + r | |
} | |
function a(e) { | |
if ("string" != typeof e) return e; | |
var t = e.match(/^([^\(<]+)/), | |
n = e.match(/\(([^\)]+)\)/), | |
r = e.match(/<([^>]+)>/), | |
o = {}; | |
return t && t[0].trim() && (o.name = t[0].trim()), r && (o.email = r[1]), n && (o.url = n[1]), o | |
} | |
function i(e, t) { | |
m.forEach(function(n) { | |
e[n] && (e[n] = function(e, t, n) { | |
if (!e) return {}; | |
if ("string" == typeof e && (e = e.trim().split(/[\n\r\s\t ,]+/)), !Array.isArray(e)) return e; | |
n("deprecatedArrayDependencies", t); | |
var r = {}; | |
return e.filter(function(e) { | |
return "string" == typeof e | |
}).forEach(function(e) { | |
var t = (e = e.trim().split(/(:?[@\s><=])/)).shift(), | |
n = e.join(""); | |
n = (n = n.trim()).replace(/^@/, ""), r[t] = n | |
}), r | |
}(e[n], n, t)) | |
}) | |
} | |
var u = n("./node_modules/semver/semver.js"), | |
c = n("./node_modules/validate-npm-package-license/index.js"), | |
l = n("./node_modules/hosted-git-info/index.js"), | |
d = n("./node_modules/is-builtin-module/index.js"), | |
m = ["dependencies", "devDependencies", "optionalDependencies"], | |
p = n("./node_modules/read-pkg/node_modules/normalize-package-data/lib/extract_description.js"), | |
f = n(5), | |
h = n("./node_modules/read-pkg/node_modules/normalize-package-data/lib/typos.json"); | |
e.exports = { | |
warn: function() {}, | |
fixRepositoryField: function(e) { | |
if (e.repositories && (this.warn("repositories"), e.repository = e.repositories[0]), !e.repository) return this.warn("missingRepository"); | |
"string" == typeof e.repository && (e.repository = { | |
type: "git", | |
url: e.repository | |
}); | |
var t = e.repository.url || ""; | |
if (t) { | |
var n = l.fromUrl(t); | |
n && (t = e.repository.url = "shortcut" == n.getDefaultRepresentation() ? n.https() : n.toString()) | |
} | |
t.match(/github.com\/[^\/]+\/[^\/]+\.git\.git$/) && this.warn("brokenGitUrl", t) | |
}, | |
fixTypos: function(e) { | |
Object.keys(h.topLevel).forEach(function(t) { | |
e.hasOwnProperty(t) && this.warn("typo", t, h.topLevel[t]) | |
}, this) | |
}, | |
fixScriptsField: function(e) { | |
if (e.scripts) return "object" != typeof e.scripts ? (this.warn("nonObjectScripts"), void delete e.scripts) : void Object.keys(e.scripts).forEach(function(t) { | |
"string" != typeof e.scripts[t] ? (this.warn("nonStringScript"), delete e.scripts[t]) : h.script[t] && !e.scripts[h.script[t]] && this.warn("typo", t, h.script[t], "scripts") | |
}, this) | |
}, | |
fixFilesField: function(e) { | |
var t = e.files; | |
t && !Array.isArray(t) ? (this.warn("nonArrayFiles"), delete e.files) : e.files && (e.files = e.files.filter(function(e) { | |
return !(!e || "string" != typeof e) || (this.warn("invalidFilename", e), !1) | |
}, this)) | |
}, | |
fixBinField: function(e) { | |
if (e.bin && "string" == typeof e.bin) { | |
var t, n = {}; | |
(t = e.name.match(/^@[^/]+[/](.*)$/)) ? n[t[1]] = e.bin: n[e.name] = e.bin, e.bin = n | |
} | |
}, | |
fixManField: function(e) { | |
e.man && "string" == typeof e.man && (e.man = [e.man]) | |
}, | |
fixBundleDependenciesField: function(e) { | |
var t = "bundledDependencies", | |
n = "bundleDependencies"; | |
e[t] && !e[n] && (e[n] = e[t], delete e[t]), e[n] && !Array.isArray(e[n]) ? (this.warn("nonArrayBundleDependencies"), delete e[n]) : e[n] && (e[n] = e[n].filter(function(t) { | |
return t && "string" == typeof t ? (e.dependencies || (e.dependencies = {}), e.dependencies.hasOwnProperty(t) || (this.warn("nonDependencyBundleDependency", t), e.dependencies[t] = "*"), !0) : (this.warn("nonStringBundleDependency", t), !1) | |
}, this)) | |
}, | |
fixDependencies: function(e, t) { | |
i(e, this.warn), | |
function(e, t) { | |
var n = e.optionalDependencies; | |
if (n) { | |
var r = e.dependencies || {}; | |
Object.keys(n).forEach(function(e) { | |
r[e] = n[e] | |
}), e.dependencies = r | |
} | |
}(e, this.warn), this.fixBundleDependenciesField(e), ["dependencies", "devDependencies"].forEach(function(t) { | |
if (t in e) return e[t] && "object" == typeof e[t] ? void Object.keys(e[t]).forEach(function(n) { | |
var r = e[t][n]; | |
"string" != typeof r && (this.warn("nonStringDependency", n, JSON.stringify(r)), delete e[t][n]); | |
var o = l.fromUrl(e[t][n]); | |
o && (e[t][n] = o.toString()) | |
}, this) : (this.warn("nonObjectDependencies", t), void delete e[t]) | |
}, this) | |
}, | |
fixModulesField: function(e) { | |
e.modules && (this.warn("deprecatedModules"), delete e.modules) | |
}, | |
fixKeywordsField: function(e) { | |
"string" == typeof e.keywords && (e.keywords = e.keywords.split(/,\s+/)), e.keywords && !Array.isArray(e.keywords) ? (delete e.keywords, this.warn("nonArrayKeywords")) : e.keywords && (e.keywords = e.keywords.filter(function(e) { | |
return !("string" != typeof e || !e) || (this.warn("nonStringKeyword"), !1) | |
}, this)) | |
}, | |
fixVersionField: function(e, t) { | |
var n = !t; | |
if (!e.version) return e.version = "", !0; | |
if (!u.valid(e.version, n)) throw new Error('Invalid version: "' + e.version + '"'); | |
return e.version = u.clean(e.version, n), !0 | |
}, | |
fixPeople: function(e) { | |
o(e, s), o(e, a) | |
}, | |
fixNameField: function(e, t) { | |
"boolean" == typeof t ? t = { | |
strict: t | |
} : void 0 === t && (t = {}); | |
var n = t.strict; | |
if (e.name || n) { | |
if ("string" != typeof e.name) throw new Error("name field must be a string."); | |
n || (e.name = e.name.trim()), r(e.name, n, t.allowLegacyCase), d(e.name) && this.warn("conflictingName", e.name) | |
} else e.name = "" | |
}, | |
fixDescriptionField: function(e) { | |
e.description && "string" != typeof e.description && (this.warn("nonStringDescription"), delete e.description), e.readme && !e.description && (e.description = p(e.readme)), void 0 === e.description && delete e.description, e.description || this.warn("missingDescription") | |
}, | |
fixReadmeField: function(e) { | |
e.readme || (this.warn("missingReadme"), e.readme = "ERROR: No README data found!") | |
}, | |
fixBugsField: function(e) { | |
if (!e.bugs && e.repository && e.repository.url) { | |
var t = l.fromUrl(e.repository.url); | |
t && t.bugs() && (e.bugs = { | |
url: t.bugs() | |
}) | |
} else if (e.bugs) { | |
var n = /^.+@.*\..+$/; | |
if ("string" == typeof e.bugs) n.test(e.bugs) ? e.bugs = { | |
email: e.bugs | |
} : f.parse(e.bugs).protocol ? e.bugs = { | |
url: e.bugs | |
} : this.warn("nonEmailUrlBugsString"); | |
else { | |
! function(e, t) { | |
e && Object.keys(e).forEach(function(n) { | |
h.bugs[n] && (t("typo", n, h.bugs[n], "bugs"), e[h.bugs[n]] = e[n], delete e[n]) | |
}) | |
}(e.bugs, this.warn); | |
var r = e.bugs; | |
e.bugs = {}, r.url && ("string" == typeof r.url && f.parse(r.url).protocol ? e.bugs.url = r.url : this.warn("nonUrlBugsUrlField")), r.email && ("string" == typeof r.email && n.test(r.email) ? e.bugs.email = r.email : this.warn("nonEmailBugsEmailField")) | |
} | |
e.bugs.email || e.bugs.url || (delete e.bugs, this.warn("emptyNormalizedBugs")) | |
} | |
}, | |
fixHomepageField: function(e) { | |
if (!e.homepage && e.repository && e.repository.url) { | |
var t = l.fromUrl(e.repository.url); | |
t && t.docs() && (e.homepage = t.docs()) | |
} | |
if (e.homepage) return "string" != typeof e.homepage ? (this.warn("nonUrlHomepage"), delete e.homepage) : void(f.parse(e.homepage).protocol || (this.warn("missingProtocolHomepage"), e.homepage = "http://" + e.homepage)) | |
}, | |
fixLicenseField: function(e) { | |
if (!e.license) return this.warn("missingLicense"); | |
"string" != typeof e.license || e.license.length < 1 ? this.warn("invalidLicense") : c(e.license).validForNewPackages || this.warn("invalidLicense") | |
} | |
} | |
}, | |
"./node_modules/read-pkg/node_modules/normalize-package-data/lib/make_warning.js": function(e, t, n) { | |
var r = n(1), | |
o = n("./node_modules/read-pkg/node_modules/normalize-package-data/lib/warning_messages.json"); | |
e.exports = function() { | |
var e = Array.prototype.slice.call(arguments, 0), | |
t = e.shift(); | |
if ("typo" == t) return function(e, t, n) { | |
return n && (e = n + "['" + e + "']", t = n + "['" + t + "']"), r.format(o.typo, e, t) | |
}.apply(null, e); | |
var n = o[t] ? o[t] : t + ": '%s'"; | |
return e.unshift(n), r.format.apply(null, e) | |
} | |
}, | |
"./node_modules/read-pkg/node_modules/normalize-package-data/lib/normalize.js": function(e, t, n) { | |
function r(e, t, n) { | |
!0 === t && (t = null, n = !0), n || (n = !1), t && !e.private || (t = function(e) {}), e.scripts && "node-gyp rebuild" === e.scripts.install && !e.scripts.preinstall && (e.gypfile = !0), s.warn = function() { | |
t(a.apply(null, arguments)) | |
}, i.forEach(function(t) { | |
s["fix" + o(t)](e, n) | |
}), e._id = e.name + "@" + e.version | |
} | |
function o(e) { | |
return e.charAt(0).toUpperCase() + e.slice(1) | |
} | |
e.exports = r; | |
var s = n("./node_modules/read-pkg/node_modules/normalize-package-data/lib/fixer.js"); | |
r.fixer = s; | |
var a = n("./node_modules/read-pkg/node_modules/normalize-package-data/lib/make_warning.js"), | |
i = ["name", "version", "description", "repository", "modules", "scripts", "files", "bin", "man", "bugs", "keywords", "readme", "homepage", "license"].map(function(e) { | |
return o(e) + "Field" | |
}); | |
i = i.concat(["dependencies", "people", "typos"]) | |
}, | |
"./node_modules/read-pkg/node_modules/normalize-package-data/lib/typos.json": function(e, t) { | |
e.exports = { | |
topLevel: { | |
dependancies: "dependencies", | |
dependecies: "dependencies", | |
depdenencies: "dependencies", | |
devEependencies: "devDependencies", | |
depends: "dependencies", | |
"dev-dependencies": "devDependencies", | |
devDependences: "devDependencies", | |
devDepenencies: "devDependencies", | |
devdependencies: "devDependencies", | |
repostitory: "repository", | |
repo: "repository", | |
prefereGlobal: "preferGlobal", | |
hompage: "homepage", | |
hampage: "homepage", | |
autohr: "author", | |
autor: "author", | |
contributers: "contributors", | |
publicationConfig: "publishConfig", | |
script: "scripts" | |
}, | |
bugs: { | |
web: "url", | |
name: "url" | |
}, | |
script: { | |
server: "start", | |
tests: "test" | |
} | |
} | |
}, | |
"./node_modules/read-pkg/node_modules/normalize-package-data/lib/warning_messages.json": function(e, t) { | |
e.exports = { | |
repositories: "'repositories' (plural) Not supported. Please pick one as the 'repository' field", | |
missingRepository: "No repository field.", | |
brokenGitUrl: "Probably broken git url: %s", | |
nonObjectScripts: "scripts must be an object", | |
nonStringScript: "script values must be string commands", | |
nonArrayFiles: "Invalid 'files' member", | |
invalidFilename: "Invalid filename in 'files' list: %s", | |
nonArrayBundleDependencies: "Invalid 'bundleDependencies' list. Must be array of package names", | |
nonStringBundleDependency: "Invalid bundleDependencies member: %s", | |
nonDependencyBundleDependency: "Non-dependency in bundleDependencies: %s", | |
nonObjectDependencies: "%s field must be an object", | |
nonStringDependency: "Invalid dependency: %s %s", | |
deprecatedArrayDependencies: "specifying %s as array is deprecated", | |
deprecatedModules: "modules field is deprecated", | |
nonArrayKeywords: "keywords should be an array of strings", | |
nonStringKeyword: "keywords should be an array of strings", | |
conflictingName: "%s is also the name of a node core module.", | |
nonStringDescription: "'description' field should be a string", | |
missingDescription: "No description", | |
missingReadme: "No README data", | |
missingLicense: "No license field.", | |
nonEmailUrlBugsString: "Bug string field must be url, email, or {email,url}", | |
nonUrlBugsUrlField: "bugs.url field must be a string url. Deleted.", | |
nonEmailBugsEmailField: "bugs.email field must be a string email. Deleted.", | |
emptyNormalizedBugs: "Normalized value of bugs field is an empty object. Deleted.", | |
nonUrlHomepage: "homepage field must be a string url. Deleted.", | |
invalidLicense: "license should be a valid SPDX license expression", | |
missingProtocolHomepage: "homepage field must start with a protocol.", | |
typo: "%s should probably be %s." | |
} | |
}, | |
"./node_modules/regenerator-runtime/runtime.js": function(e, t) { | |
! function(t) { | |
"use strict"; | |
function n(e, t, n, s) { | |
var a = t && t.prototype instanceof o ? t : o, | |
i = Object.create(a.prototype), | |
u = new m(s || []); | |
return i._invoke = function(e, t, n) { | |
var o = k; | |
return function(s, a) { | |
if (o === S) throw new Error("Generator is already running"); | |
if (o === L) { | |
if ("throw" === s) throw a; | |
return f() | |
} | |
for (n.method = s, n.arg = a;;) { | |
var i = n.delegate; | |
if (i) { | |
var u = c(i, n); | |
if (u) { | |
if (u === M) continue; | |
return u | |
} | |
} | |
if ("next" === n.method) n.sent = n._sent = n.arg; | |
else if ("throw" === n.method) { | |
if (o === k) throw o = L, n.arg; | |
n.dispatchException(n.arg) | |
} else "return" === n.method && n.abrupt("return", n.arg); | |
o = S; | |
var l = r(e, t, n); | |
if ("normal" === l.type) { | |
if (o = n.done ? L : E, l.arg === M) continue; | |
return { | |
value: l.arg, | |
done: n.done | |
} | |
} | |
"throw" === l.type && (o = L, n.method = "throw", n.arg = l.arg) | |
} | |
} | |
}(e, n, u), i | |
} | |
function r(e, t, n) { | |
try { | |
return { | |
type: "normal", | |
arg: e.call(t, n) | |
} | |
} catch (e) { | |
return { | |
type: "throw", | |
arg: e | |
} | |
} | |
} | |
function o() {} | |
function s() {} | |
function a() {} | |
function i(e) { | |
["next", "throw", "return"].forEach(function(t) { | |
e[t] = function(e) { | |
return this._invoke(t, e) | |
} | |
}) | |
} | |
function u(e) { | |
function n(t, o, s, a) { | |
var i = r(e[t], e, o); | |
if ("throw" !== i.type) { | |
var u = i.arg, | |
c = u.value; | |
return c && "object" == typeof c && _.call(c, "__await") ? Promise.resolve(c.__await).then(function(e) { | |
n("next", e, s, a) | |
}, function(e) { | |
n("throw", e, s, a) | |
}) : Promise.resolve(c).then(function(e) { | |
u.value = e, s(u) | |
}, a) | |
} | |
a(i.arg) | |
} | |
"object" == typeof t.process && t.process.domain && (n = t.process.domain.bind(n)); | |
var o; | |
this._invoke = function(e, t) { | |
function r() { | |
return new Promise(function(r, o) { | |
n(e, t, r, o) | |
}) | |
} | |
return o = o ? o.then(r, r) : r() | |
} | |
} | |
function c(e, t) { | |
var n = e.iterator[t.method]; | |
if (n === h) { | |
if (t.delegate = null, "throw" === t.method) { | |
if (e.iterator.return && (t.method = "return", t.arg = h, c(e, t), "throw" === t.method)) return M; | |
t.method = "throw", t.arg = new TypeError("The iterator does not provide a 'throw' method") | |
} | |
return M | |
} | |
var o = r(n, e.iterator, t.arg); | |
if ("throw" === o.type) return t.method = "throw", t.arg = o.arg, t.delegate = null, M; | |
var s = o.arg; | |
return s ? s.done ? (t[e.resultName] = s.value, t.next = e.nextLoc, "return" !== t.method && (t.method = "next", t.arg = h), t.delegate = null, M) : s : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, M) | |
} | |
function l(e) { | |
var t = { | |
tryLoc: e[0] | |
}; | |
1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t) | |
} | |
function d(e) { | |
var t = e.completion || {}; | |
t.type = "normal", delete t.arg, e.completion = t | |
} | |
function m(e) { | |
this.tryEntries = [{ | |
tryLoc: "root" | |
}], e.forEach(l, this), this.reset(!0) | |
} | |
function p(e) { | |
if (e) { | |
var t = e[y]; | |
if (t) return t.call(e); | |
if ("function" == typeof e.next) return e; | |
if (!isNaN(e.length)) { | |
var n = -1, | |
r = function t() { | |
for (; ++n < e.length;) | |
if (_.call(e, n)) return t.value = e[n], t.done = !1, t; | |
return t.value = h, t.done = !0, t | |
}; | |
return r.next = r | |
} | |
} | |
return { | |
next: f | |
} | |
} | |
function f() { | |
return { | |
value: h, | |
done: !0 | |
} | |
} | |
var h, v = Object.prototype, | |
_ = v.hasOwnProperty, | |
g = "function" == typeof Symbol ? Symbol : {}, | |
y = g.iterator || "@@iterator", | |
b = g.asyncIterator || "@@asyncIterator", | |
j = g.toStringTag || "@@toStringTag", | |
x = "object" == typeof e, | |
w = t.regeneratorRuntime; | |
if (w) x && (e.exports = w); | |
else { | |
(w = t.regeneratorRuntime = x ? e.exports : {}).wrap = n; | |
var k = "suspendedStart", | |
E = "suspendedYield", | |
S = "executing", | |
L = "completed", | |
M = {}, | |
D = {}; | |
D[y] = function() { | |
return this | |
}; | |
var T = Object.getPrototypeOf, | |
C = T && T(T(p([]))); | |
C && C !== v && _.call(C, y) && (D = C); | |
var A = a.prototype = o.prototype = Object.create(D); | |
s.prototype = A.constructor = a, a.constructor = s, a[j] = s.displayName = "GeneratorFunction", w.isGeneratorFunction = function(e) { | |
var t = "function" == typeof e && e.constructor; | |
return !!t && (t === s || "GeneratorFunction" === (t.displayName || t.name)) | |
}, w.mark = function(e) { | |
return Object.setPrototypeOf ? Object.setPrototypeOf(e, a) : (e.__proto__ = a, j in e || (e[j] = "GeneratorFunction")), e.prototype = Object.create(A), e | |
}, w.awrap = function(e) { | |
return { | |
__await: e | |
} | |
}, i(u.prototype), u.prototype[b] = function() { | |
return this | |
}, w.AsyncIterator = u, w.async = function(e, t, r, o) { | |
var s = new u(n(e, t, r, o)); | |
return w.isGeneratorFunction(t) ? s : s.next().then(function(e) { | |
return e.done ? e.value : s.next() | |
}) | |
}, i(A), A[j] = "Generator", A[y] = function() { | |
return this | |
}, A.toString = function() { | |
return "[object Generator]" | |
}, w.keys = function(e) { | |
var t = []; | |
for (var n in e) t.push(n); | |
return t.reverse(), | |
function n() { | |
for (; t.length;) { | |
var r = t.pop(); | |
if (r in e) return n.value = r, n.done = !1, n | |
} | |
return n.done = !0, n | |
} | |
}, w.values = p, m.prototype = { | |
constructor: m, | |
reset: function(e) { | |
if (this.prev = 0, this.next = 0, this.sent = this._sent = h, this.done = !1, this.delegate = null, this.method = "next", this.arg = h, this.tryEntries.forEach(d), !e) | |
for (var t in this) "t" === t.charAt(0) && _.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = h) | |
}, | |
stop: function() { | |
this.done = !0; | |
var e = this.tryEntries[0].completion; | |
if ("throw" === e.type) throw e.arg; | |
return this.rval | |
}, | |
dispatchException: function(e) { | |
function t(t, r) { | |
return s.type = "throw", s.arg = e, n.next = t, r && (n.method = "next", n.arg = h), !!r | |
} | |
if (this.done) throw e; | |
for (var n = this, r = this.tryEntries.length - 1; r >= 0; --r) { | |
var o = this.tryEntries[r], | |
s = o.completion; | |
if ("root" === o.tryLoc) return t("end"); | |
if (o.tryLoc <= this.prev) { | |
var a = _.call(o, "catchLoc"), | |
i = _.call(o, "finallyLoc"); | |
if (a && i) { | |
if (this.prev < o.catchLoc) return t(o.catchLoc, !0); | |
if (this.prev < o.finallyLoc) return t(o.finallyLoc) | |
} else if (a) { | |
if (this.prev < o.catchLoc) return t(o.catchLoc, !0) | |
} else { | |
if (!i) throw new Error("try statement without catch or finally"); | |
if (this.prev < o.finallyLoc) return t(o.finallyLoc) | |
} | |
} | |
} | |
}, | |
abrupt: function(e, t) { | |
for (var n = this.tryEntries.length - 1; n >= 0; --n) { | |
var r = this.tryEntries[n]; | |
if (r.tryLoc <= this.prev && _.call(r, "finallyLoc") && this.prev < r.finallyLoc) { | |
var o = r; | |
break | |
} | |
} | |
o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); | |
var s = o ? o.completion : {}; | |
return s.type = e, s.arg = t, o ? (this.method = "next", this.next = o.finallyLoc, M) : this.complete(s) | |
}, | |
complete: function(e, t) { | |
if ("throw" === e.type) throw e.arg; | |
return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), M | |
}, | |
finish: function(e) { | |
for (var t = this.tryEntries.length - 1; t >= 0; --t) { | |
var n = this.tryEntries[t]; | |
if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), d(n), M | |
} | |
}, | |
catch: function(e) { | |
for (var t = this.tryEntries.length - 1; t >= 0; --t) { | |
var n = this.tryEntries[t]; | |
if (n.tryLoc === e) { | |
var r = n.completion; | |
if ("throw" === r.type) { | |
var o = r.arg; | |
d(n) | |
} | |
return o | |
} | |
} | |
throw new Error("illegal catch attempt") | |
}, | |
delegateYield: function(e, t, n) { | |
return this.delegate = { | |
iterator: p(e), | |
resultName: t, | |
nextLoc: n | |
}, "next" === this.method && (this.arg = h), M | |
} | |
} | |
} | |
}("object" == typeof global ? global : "object" == typeof window ? window : "object" == typeof self ? self : this) | |
}, | |
"./node_modules/require-directory/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e, t, n) { | |
var c = {}; | |
t && !n && "string" != typeof t && (n = t, t = null), n = n || {}; | |
for (var l in u) void 0 === n[l] && (n[l] = u[l]); | |
return t = t ? a(i(e.filename), t) : i(e.filename), o.readdirSync(t).forEach(function(a) { | |
var i, u, l, d = s(t, a); | |
o.statSync(d).isDirectory() && n.recurse ? (i = r(e, d, n), Object.keys(i).length && (c[n.rename(a, d, a)] = i)) : d !== e.filename && function(e, t, n) { | |
return new RegExp("\\.(" + n.extensions.join("|") + ")$", "i").test(t) && !(n.include && n.include instanceof RegExp && !n.include.test(e)) && !(n.include && "function" == typeof n.include && !n.include(e, t)) && !(n.exclude && n.exclude instanceof RegExp && n.exclude.test(e)) && !(n.exclude && "function" == typeof n.exclude && n.exclude(e, t)) | |
}(d, a, n) && (u = a.substring(0, a.lastIndexOf(".")), l = e.require(d), c[n.rename(u, d, a)] = n.visit(l, d, a) || l) | |
}), c | |
} | |
var o = n(3), | |
s = n(0).join, | |
a = n(0).resolve, | |
i = n(0).dirname, | |
u = { | |
extensions: ["js", "json", "coffee"], | |
recurse: !0, | |
rename: function(e) { | |
return e | |
}, | |
visit: function(e) { | |
return e | |
} | |
}; | |
e.exports = r, e.exports.defaults = u | |
}, | |
"./node_modules/require-main-filename recursive": function(e, t) { | |
function n(e) { | |
throw new Error("Cannot find module '" + e + "'.") | |
} | |
n.keys = function() { | |
return [] | |
}, n.resolve = n, e.exports = n, n.id = "./node_modules/require-main-filename recursive" | |
}, | |
"./node_modules/require-main-filename/index.js": function(e, t, n) { | |
e.exports = function(e) { | |
var t = (e = e || ! function() { | |
var e = new Error('Cannot find module "."'); | |
throw e.code = "MODULE_NOT_FOUND", e | |
}()).main; | |
return t && function(e) { | |
return /\\iisnode\\/.test(e.filename) | |
}(t) ? function(e) { | |
return e.children.length ? e.children[0].filename : e.filename | |
}(t) : t ? t.filename : process.cwd() | |
} | |
}, | |
"./node_modules/sax/lib/sax.js": function(e, t, n) { | |
! function(e) { | |
function t(n, r) { | |
if (!(this instanceof t)) return new t(n, r); | |
! function(e) { | |
for (var t = 0, n = k.length; t < n; t++) e[k[t]] = "" | |
}(this), this.q = this.c = "", this.bufferCheckPosition = e.MAX_BUFFER_LENGTH, this.opt = r || {}, this.opt.lowercase = this.opt.lowercase || this.opt.lowercasetags, this.looseCase = this.opt.lowercase ? "toLowerCase" : "toUpperCase", this.tags = [], this.closed = this.closedRoot = this.sawRoot = !1, this.tag = this.error = null, this.strict = !!n, this.noscript = !(!n && !this.opt.noscript), this.state = F.BEGIN, this.strictEntities = this.opt.strictEntities, this.ENTITIES = this.strictEntities ? Object.create(e.XML_ENTITIES) : Object.create(e.ENTITIES), this.attribList = [], this.opt.xmlns && (this.ns = Object.create(C)), this.trackPosition = !1 !== this.opt.position, this.trackPosition && (this.position = this.line = this.column = 0), c(this, "onready") | |
} | |
function r(e, n) { | |
if (!(this instanceof r)) return new r(e, n); | |
E.apply(this), this._parser = new t(e, n), this.writable = !0, this.readable = !0; | |
var o = this; | |
this._parser.onend = function() { | |
o.emit("end") | |
}, this._parser.onerror = function(e) { | |
o.emit("error", e), o._parser.error = null | |
}, this._decoder = null, S.forEach(function(e) { | |
Object.defineProperty(o, "on" + e, { | |
get: function() { | |
return o._parser["on" + e] | |
}, | |
set: function(t) { | |
if (!t) return o.removeAllListeners(e), o._parser["on" + e] = t, t; | |
o.on(e, t) | |
}, | |
enumerable: !0, | |
configurable: !1 | |
}) | |
}) | |
} | |
function o(e) { | |
return " " === e || "\n" === e || "\r" === e || "\t" === e | |
} | |
function s(e) { | |
return '"' === e || "'" === e | |
} | |
function a(e) { | |
return ">" === e || o(e) | |
} | |
function i(e, t) { | |
return e.test(t) | |
} | |
function u(e, t) { | |
return !i(e, t) | |
} | |
function c(e, t, n) { | |
e[t] && e[t](n) | |
} | |
function l(e, t, n) { | |
e.textNode && d(e), c(e, t, n) | |
} | |
function d(e) { | |
e.textNode = m(e.opt, e.textNode), e.textNode && c(e, "ontext", e.textNode), e.textNode = "" | |
} | |
function m(e, t) { | |
return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t | |
} | |
function p(e, t) { | |
return d(e), e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c), t = new Error(t), e.error = t, c(e, "onerror", t), e | |
} | |
function f(e) { | |
return e.sawRoot && !e.closedRoot && h(e, "Unclosed root tag"), e.state !== F.BEGIN && e.state !== F.BEGIN_WHITESPACE && e.state !== F.TEXT && p(e, "Unexpected end"), d(e), e.c = "", e.closed = !0, c(e, "onend"), t.call(e, e.strict, e.opt), e | |
} | |
function h(e, n) { | |
if ("object" != typeof e || !(e instanceof t)) throw new Error("bad call to strictFail"); | |
e.strict && p(e, n) | |
} | |
function v(e) { | |
e.strict || (e.tagName = e.tagName[e.looseCase]()); | |
var t = e.tags[e.tags.length - 1] || e, | |
n = e.tag = { | |
name: e.tagName, | |
attributes: {} | |
}; | |
e.opt.xmlns && (n.ns = t.ns), e.attribList.length = 0, l(e, "onopentagstart", n) | |
} | |
function _(e, t) { | |
var n = e.indexOf(":") < 0 ? ["", e] : e.split(":"), | |
r = n[0], | |
o = n[1]; | |
return t && "xmlns" === e && (r = "xmlns", o = ""), { | |
prefix: r, | |
local: o | |
} | |
} | |
function g(e) { | |
if (e.strict || (e.attribName = e.attribName[e.looseCase]()), -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName)) e.attribName = e.attribValue = ""; | |
else { | |
if (e.opt.xmlns) { | |
var t = _(e.attribName, !0), | |
n = t.prefix, | |
r = t.local; | |
if ("xmlns" === n) | |
if ("xml" === r && e.attribValue !== D) h(e, "xml: prefix must be bound to " + D + "\nActual: " + e.attribValue); | |
else if ("xmlns" === r && e.attribValue !== T) h(e, "xmlns: prefix must be bound to " + T + "\nActual: " + e.attribValue); | |
else { | |
var o = e.tag, | |
s = e.tags[e.tags.length - 1] || e; | |
o.ns === s.ns && (o.ns = Object.create(s.ns)), o.ns[r] = e.attribValue | |
} | |
e.attribList.push([e.attribName, e.attribValue]) | |
} else e.tag.attributes[e.attribName] = e.attribValue, l(e, "onattribute", { | |
name: e.attribName, | |
value: e.attribValue | |
}); | |
e.attribName = e.attribValue = "" | |
} | |
} | |
function y(e, t) { | |
if (e.opt.xmlns) { | |
var n = e.tag, | |
r = _(e.tagName); | |
n.prefix = r.prefix, n.local = r.local, n.uri = n.ns[r.prefix] || "", n.prefix && !n.uri && (h(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), n.uri = r.prefix); | |
var o = e.tags[e.tags.length - 1] || e; | |
n.ns && o.ns !== n.ns && Object.keys(n.ns).forEach(function(t) { | |
l(e, "onopennamespace", { | |
prefix: t, | |
uri: n.ns[t] | |
}) | |
}); | |
for (var s = 0, a = e.attribList.length; s < a; s++) { | |
var i = e.attribList[s], | |
u = i[0], | |
c = i[1], | |
d = _(u, !0), | |
m = d.prefix, | |
p = d.local, | |
f = "" === m ? "" : n.ns[m] || "", | |
v = { | |
name: u, | |
value: c, | |
prefix: m, | |
local: p, | |
uri: f | |
}; | |
m && "xmlns" !== m && !f && (h(e, "Unbound namespace prefix: " + JSON.stringify(m)), v.uri = m), e.tag.attributes[u] = v, l(e, "onattribute", v) | |
} | |
e.attribList.length = 0 | |
} | |
e.tag.isSelfClosing = !!t, e.sawRoot = !0, e.tags.push(e.tag), l(e, "onopentag", e.tag), t || (e.noscript || "script" !== e.tagName.toLowerCase() ? e.state = F.TEXT : e.state = F.SCRIPT, e.tag = null, e.tagName = ""), e.attribName = e.attribValue = "", e.attribList.length = 0 | |
} | |
function b(e) { | |
if (!e.tagName) return h(e, "Weird empty close tag."), e.textNode += "</>", void(e.state = F.TEXT); | |
if (e.script) { | |
if ("script" !== e.tagName) return e.script += "</" + e.tagName + ">", e.tagName = "", void(e.state = F.SCRIPT); | |
l(e, "onscript", e.script), e.script = "" | |
} | |
var t = e.tags.length, | |
n = e.tagName; | |
e.strict || (n = n[e.looseCase]()); | |
for (var r = n; t--;) { | |
if (e.tags[t].name === r) break; | |
h(e, "Unexpected close tag") | |
} | |
if (t < 0) return h(e, "Unmatched closing tag: " + e.tagName), e.textNode += "</" + e.tagName + ">", void(e.state = F.TEXT); | |
e.tagName = n; | |
for (var o = e.tags.length; o-- > t;) { | |
var s = e.tag = e.tags.pop(); | |
e.tagName = e.tag.name, l(e, "onclosetag", e.tagName); | |
var a = {}; | |
for (var i in s.ns) a[i] = s.ns[i]; | |
var u = e.tags[e.tags.length - 1] || e; | |
e.opt.xmlns && s.ns !== u.ns && Object.keys(s.ns).forEach(function(t) { | |
var n = s.ns[t]; | |
l(e, "onclosenamespace", { | |
prefix: t, | |
uri: n | |
}) | |
}) | |
} | |
0 === t && (e.closedRoot = !0), e.tagName = e.attribValue = e.attribName = "", e.attribList.length = 0, e.state = F.TEXT | |
} | |
function j(e) { | |
var t, n = e.entity, | |
r = n.toLowerCase(), | |
o = ""; | |
return e.ENTITIES[n] ? e.ENTITIES[n] : e.ENTITIES[r] ? e.ENTITIES[r] : ("#" === (n = r).charAt(0) && ("x" === n.charAt(1) ? (n = n.slice(2), o = (t = parseInt(n, 16)).toString(16)) : (n = n.slice(1), o = (t = parseInt(n, 10)).toString(10))), n = n.replace(/^0+/, ""), isNaN(t) || o.toLowerCase() !== n ? (h(e, "Invalid character entity"), "&" + e.entity + ";") : String.fromCodePoint(t)) | |
} | |
function x(e, t) { | |
"<" === t ? (e.state = F.OPEN_WAKA, e.startTagPosition = e.position) : o(t) || (h(e, "Non-whitespace before first tag."), e.textNode = t, e.state = F.TEXT) | |
} | |
function w(e, t) { | |
var n = ""; | |
return t < e.length && (n = e.charAt(t)), n | |
} | |
e.parser = function(e, n) { | |
return new t(e, n) | |
}, e.SAXParser = t, e.SAXStream = r, e.createStream = function(e, t) { | |
return new r(e, t) | |
}, e.MAX_BUFFER_LENGTH = 65536; | |
var k = ["comment", "sgmlDecl", "textNode", "tagName", "doctype", "procInstName", "procInstBody", "entity", "attribName", "attribValue", "cdata", "script"]; | |
e.EVENTS = ["text", "processinginstruction", "sgmldeclaration", "doctype", "comment", "opentagstart", "attribute", "opentag", "closetag", "opencdata", "cdata", "closecdata", "error", "end", "ready", "script", "opennamespace", "closenamespace"], Object.create || (Object.create = function(e) { | |
function t() {} | |
t.prototype = e; | |
return new t | |
}), Object.keys || (Object.keys = function(e) { | |
var t = []; | |
for (var n in e) e.hasOwnProperty(n) && t.push(n); | |
return t | |
}), t.prototype = { | |
end: function() { | |
f(this) | |
}, | |
write: function(t) { | |
if (this.error) throw this.error; | |
if (this.closed) return p(this, "Cannot write after close. Assign an onready handler."); | |
if (null === t) return f(this); | |
"object" == typeof t && (t = t.toString()); | |
for (var n = 0, r = ""; r = w(t, n++), this.c = r, r;) switch (this.trackPosition && (this.position++, "\n" === r ? (this.line++, this.column = 0) : this.column++), this.state) { | |
case F.BEGIN: | |
if (this.state = F.BEGIN_WHITESPACE, "\ufeff" === r) continue; | |
x(this, r); | |
continue; | |
case F.BEGIN_WHITESPACE: | |
x(this, r); | |
continue; | |
case F.TEXT: | |
if (this.sawRoot && !this.closedRoot) { | |
for (var c = n - 1; r && "<" !== r && "&" !== r;)(r = w(t, n++)) && this.trackPosition && (this.position++, "\n" === r ? (this.line++, this.column = 0) : this.column++); | |
this.textNode += t.substring(c, n - 1) | |
} | |
"<" !== r || this.sawRoot && this.closedRoot && !this.strict ? (o(r) || this.sawRoot && !this.closedRoot || h(this, "Text data outside of root node."), "&" === r ? this.state = F.TEXT_ENTITY : this.textNode += r) : (this.state = F.OPEN_WAKA, this.startTagPosition = this.position); | |
continue; | |
case F.SCRIPT: | |
"<" === r ? this.state = F.SCRIPT_ENDING : this.script += r; | |
continue; | |
case F.SCRIPT_ENDING: | |
"/" === r ? this.state = F.CLOSE_TAG : (this.script += "<" + r, this.state = F.SCRIPT); | |
continue; | |
case F.OPEN_WAKA: | |
if ("!" === r) this.state = F.SGML_DECL, this.sgmlDecl = ""; | |
else if (o(r)); | |
else if (i(A, r)) this.state = F.OPEN_TAG, this.tagName = r; | |
else if ("/" === r) this.state = F.CLOSE_TAG, this.tagName = ""; | |
else if ("?" === r) this.state = F.PROC_INST, this.procInstName = this.procInstBody = ""; | |
else { | |
if (h(this, "Unencoded <"), this.startTagPosition + 1 < this.position) { | |
var _ = this.position - this.startTagPosition; | |
r = new Array(_).join(" ") + r | |
} | |
this.textNode += "<" + r, this.state = F.TEXT | |
} | |
continue; | |
case F.SGML_DECL: | |
(this.sgmlDecl + r).toUpperCase() === L ? (l(this, "onopencdata"), this.state = F.CDATA, this.sgmlDecl = "", this.cdata = "") : this.sgmlDecl + r === "--" ? (this.state = F.COMMENT, this.comment = "", this.sgmlDecl = "") : (this.sgmlDecl + r).toUpperCase() === M ? (this.state = F.DOCTYPE, (this.doctype || this.sawRoot) && h(this, "Inappropriately located doctype declaration"), this.doctype = "", this.sgmlDecl = "") : ">" === r ? (l(this, "onsgmldeclaration", this.sgmlDecl), this.sgmlDecl = "", this.state = F.TEXT) : s(r) ? (this.state = F.SGML_DECL_QUOTED, this.sgmlDecl += r) : this.sgmlDecl += r; | |
continue; | |
case F.SGML_DECL_QUOTED: | |
r === this.q && (this.state = F.SGML_DECL, this.q = ""), this.sgmlDecl += r; | |
continue; | |
case F.DOCTYPE: | |
">" === r ? (this.state = F.TEXT, l(this, "ondoctype", this.doctype), this.doctype = !0) : (this.doctype += r, "[" === r ? this.state = F.DOCTYPE_DTD : s(r) && (this.state = F.DOCTYPE_QUOTED, this.q = r)); | |
continue; | |
case F.DOCTYPE_QUOTED: | |
this.doctype += r, r === this.q && (this.q = "", this.state = F.DOCTYPE); | |
continue; | |
case F.DOCTYPE_DTD: | |
this.doctype += r, "]" === r ? this.state = F.DOCTYPE : s(r) && (this.state = F.DOCTYPE_DTD_QUOTED, this.q = r); | |
continue; | |
case F.DOCTYPE_DTD_QUOTED: | |
this.doctype += r, r === this.q && (this.state = F.DOCTYPE_DTD, this.q = ""); | |
continue; | |
case F.COMMENT: | |
"-" === r ? this.state = F.COMMENT_ENDING : this.comment += r; | |
continue; | |
case F.COMMENT_ENDING: | |
"-" === r ? (this.state = F.COMMENT_ENDED, this.comment = m(this.opt, this.comment), this.comment && l(this, "oncomment", this.comment), this.comment = "") : (this.comment += "-" + r, this.state = F.COMMENT); | |
continue; | |
case F.COMMENT_ENDED: | |
">" !== r ? (h(this, "Malformed comment"), this.comment += "--" + r, this.state = F.COMMENT) : this.state = F.TEXT; | |
continue; | |
case F.CDATA: | |
"]" === r ? this.state = F.CDATA_ENDING : this.cdata += r; | |
continue; | |
case F.CDATA_ENDING: | |
"]" === r ? this.state = F.CDATA_ENDING_2 : (this.cdata += "]" + r, this.state = F.CDATA); | |
continue; | |
case F.CDATA_ENDING_2: | |
">" === r ? (this.cdata && l(this, "oncdata", this.cdata), l(this, "onclosecdata"), this.cdata = "", this.state = F.TEXT) : "]" === r ? this.cdata += "]" : (this.cdata += "]]" + r, this.state = F.CDATA); | |
continue; | |
case F.PROC_INST: | |
"?" === r ? this.state = F.PROC_INST_ENDING : o(r) ? this.state = F.PROC_INST_BODY : this.procInstName += r; | |
continue; | |
case F.PROC_INST_BODY: | |
if (!this.procInstBody && o(r)) continue; | |
"?" === r ? this.state = F.PROC_INST_ENDING : this.procInstBody += r; | |
continue; | |
case F.PROC_INST_ENDING: | |
">" === r ? (l(this, "onprocessinginstruction", { | |
name: this.procInstName, | |
body: this.procInstBody | |
}), this.procInstName = this.procInstBody = "", this.state = F.TEXT) : (this.procInstBody += "?" + r, this.state = F.PROC_INST_BODY); | |
continue; | |
case F.OPEN_TAG: | |
i(N, r) ? this.tagName += r : (v(this), ">" === r ? y(this) : "/" === r ? this.state = F.OPEN_TAG_SLASH : (o(r) || h(this, "Invalid character in tag name"), this.state = F.ATTRIB)); | |
continue; | |
case F.OPEN_TAG_SLASH: | |
">" === r ? (y(this, !0), b(this)) : (h(this, "Forward-slash in opening tag not followed by >"), this.state = F.ATTRIB); | |
continue; | |
case F.ATTRIB: | |
if (o(r)) continue; | |
">" === r ? y(this) : "/" === r ? this.state = F.OPEN_TAG_SLASH : i(A, r) ? (this.attribName = r, this.attribValue = "", this.state = F.ATTRIB_NAME) : h(this, "Invalid attribute name"); | |
continue; | |
case F.ATTRIB_NAME: | |
"=" === r ? this.state = F.ATTRIB_VALUE : ">" === r ? (h(this, "Attribute without value"), this.attribValue = this.attribName, g(this), y(this)) : o(r) ? this.state = F.ATTRIB_NAME_SAW_WHITE : i(N, r) ? this.attribName += r : h(this, "Invalid attribute name"); | |
continue; | |
case F.ATTRIB_NAME_SAW_WHITE: | |
if ("=" === r) this.state = F.ATTRIB_VALUE; | |
else { | |
if (o(r)) continue; | |
h(this, "Attribute without value"), this.tag.attributes[this.attribName] = "", this.attribValue = "", l(this, "onattribute", { | |
name: this.attribName, | |
value: "" | |
}), this.attribName = "", ">" === r ? y(this) : i(A, r) ? (this.attribName = r, this.state = F.ATTRIB_NAME) : (h(this, "Invalid attribute name"), this.state = F.ATTRIB) | |
} | |
continue; | |
case F.ATTRIB_VALUE: | |
if (o(r)) continue; | |
s(r) ? (this.q = r, this.state = F.ATTRIB_VALUE_QUOTED) : (h(this, "Unquoted attribute value"), this.state = F.ATTRIB_VALUE_UNQUOTED, this.attribValue = r); | |
continue; | |
case F.ATTRIB_VALUE_QUOTED: | |
if (r !== this.q) { | |
"&" === r ? this.state = F.ATTRIB_VALUE_ENTITY_Q : this.attribValue += r; | |
continue | |
} | |
g(this), this.q = "", this.state = F.ATTRIB_VALUE_CLOSED; | |
continue; | |
case F.ATTRIB_VALUE_CLOSED: | |
o(r) ? this.state = F.ATTRIB : ">" === r ? y(this) : "/" === r ? this.state = F.OPEN_TAG_SLASH : i(A, r) ? (h(this, "No whitespace between attributes"), this.attribName = r, this.attribValue = "", this.state = F.ATTRIB_NAME) : h(this, "Invalid attribute name"); | |
continue; | |
case F.ATTRIB_VALUE_UNQUOTED: | |
if (!a(r)) { | |
"&" === r ? this.state = F.ATTRIB_VALUE_ENTITY_U : this.attribValue += r; | |
continue | |
} | |
g(this), ">" === r ? y(this) : this.state = F.ATTRIB; | |
continue; | |
case F.CLOSE_TAG: | |
if (this.tagName) ">" === r ? b(this) : i(N, r) ? this.tagName += r : this.script ? (this.script += "</" + this.tagName, this.tagName = "", this.state = F.SCRIPT) : (o(r) || h(this, "Invalid tagname in closing tag"), this.state = F.CLOSE_TAG_SAW_WHITE); | |
else { | |
if (o(r)) continue; | |
u(A, r) ? this.script ? (this.script += "</" + r, this.state = F.SCRIPT) : h(this, "Invalid tagname in closing tag.") : this.tagName = r | |
} | |
continue; | |
case F.CLOSE_TAG_SAW_WHITE: | |
if (o(r)) continue; | |
">" === r ? b(this) : h(this, "Invalid characters in closing tag"); | |
continue; | |
case F.TEXT_ENTITY: | |
case F.ATTRIB_VALUE_ENTITY_Q: | |
case F.ATTRIB_VALUE_ENTITY_U: | |
var E, S; | |
switch (this.state) { | |
case F.TEXT_ENTITY: | |
E = F.TEXT, S = "textNode"; | |
break; | |
case F.ATTRIB_VALUE_ENTITY_Q: | |
E = F.ATTRIB_VALUE_QUOTED, S = "attribValue"; | |
break; | |
case F.ATTRIB_VALUE_ENTITY_U: | |
E = F.ATTRIB_VALUE_UNQUOTED, S = "attribValue" | |
} | |
";" === r ? (this[S] += j(this), this.entity = "", this.state = E) : i(this.entity.length ? O : P, r) ? this.entity += r : (h(this, "Invalid character in entity name"), this[S] += "&" + this.entity + r, this.entity = "", this.state = E); | |
continue; | |
default: | |
throw new Error(this, "Unknown state: " + this.state) | |
} | |
return this.position >= this.bufferCheckPosition && function(t) { | |
for (var n = Math.max(e.MAX_BUFFER_LENGTH, 10), r = 0, o = 0, s = k.length; o < s; o++) { | |
var a = t[k[o]].length; | |
if (a > n) switch (k[o]) { | |
case "textNode": | |
d(t); | |
break; | |
case "cdata": | |
l(t, "oncdata", t.cdata), t.cdata = ""; | |
break; | |
case "script": | |
l(t, "onscript", t.script), t.script = ""; | |
break; | |
default: | |
p(t, "Max buffer length exceeded: " + k[o]) | |
} | |
r = Math.max(r, a) | |
} | |
var i = e.MAX_BUFFER_LENGTH - r; | |
t.bufferCheckPosition = i + t.position | |
}(this), this | |
}, | |
resume: function() { | |
return this.error = null, this | |
}, | |
close: function() { | |
return this.write(null) | |
}, | |
flush: function() { | |
! function(e) { | |
d(e), "" !== e.cdata && (l(e, "oncdata", e.cdata), e.cdata = ""), "" !== e.script && (l(e, "onscript", e.script), e.script = "") | |
}(this) | |
} | |
}; | |
var E; | |
try { | |
E = n(4).Stream | |
} catch (e) { | |
E = function() {} | |
} | |
var S = e.EVENTS.filter(function(e) { | |
return "error" !== e && "end" !== e | |
}); | |
(r.prototype = Object.create(E.prototype, { | |
constructor: { | |
value: r | |
} | |
})).write = function(e) { | |
if ("function" == typeof Buffer && "function" == typeof Buffer.isBuffer && Buffer.isBuffer(e)) { | |
if (!this._decoder) { | |
var t = n(14).StringDecoder; | |
this._decoder = new t("utf8") | |
} | |
e = this._decoder.write(e) | |
} | |
return this._parser.write(e.toString()), this.emit("data", e), !0 | |
}, r.prototype.end = function(e) { | |
return e && e.length && this.write(e), this._parser.end(), !0 | |
}, r.prototype.on = function(e, t) { | |
var n = this; | |
return n._parser["on" + e] || -1 === S.indexOf(e) || (n._parser["on" + e] = function() { | |
var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments); | |
t.splice(0, 0, e), n.emit.apply(n, t) | |
}), E.prototype.on.call(n, e, t) | |
}; | |
var L = "[CDATA[", | |
M = "DOCTYPE", | |
D = "http://www.w3.org/XML/1998/namespace", | |
T = "http://www.w3.org/2000/xmlns/", | |
C = { | |
xml: D, | |
xmlns: T | |
}, | |
A = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, | |
N = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, | |
P = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, | |
O = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, | |
F = 0; | |
e.STATE = { | |
BEGIN: F++, | |
BEGIN_WHITESPACE: F++, | |
TEXT: F++, | |
TEXT_ENTITY: F++, | |
OPEN_WAKA: F++, | |
SGML_DECL: F++, | |
SGML_DECL_QUOTED: F++, | |
DOCTYPE: F++, | |
DOCTYPE_QUOTED: F++, | |
DOCTYPE_DTD: F++, | |
DOCTYPE_DTD_QUOTED: F++, | |
COMMENT_STARTING: F++, | |
COMMENT: F++, | |
COMMENT_ENDING: F++, | |
COMMENT_ENDED: F++, | |
CDATA: F++, | |
CDATA_ENDING: F++, | |
CDATA_ENDING_2: F++, | |
PROC_INST: F++, | |
PROC_INST_BODY: F++, | |
PROC_INST_ENDING: F++, | |
OPEN_TAG: F++, | |
OPEN_TAG_SLASH: F++, | |
ATTRIB: F++, | |
ATTRIB_NAME: F++, | |
ATTRIB_NAME_SAW_WHITE: F++, | |
ATTRIB_VALUE: F++, | |
ATTRIB_VALUE_QUOTED: F++, | |
ATTRIB_VALUE_CLOSED: F++, | |
ATTRIB_VALUE_UNQUOTED: F++, | |
ATTRIB_VALUE_ENTITY_Q: F++, | |
ATTRIB_VALUE_ENTITY_U: F++, | |
CLOSE_TAG: F++, | |
CLOSE_TAG_SAW_WHITE: F++, | |
SCRIPT: F++, | |
SCRIPT_ENDING: F++ | |
}, e.XML_ENTITIES = { | |
amp: "&", | |
gt: ">", | |
lt: "<", | |
quot: '"', | |
apos: "'" | |
}, e.ENTITIES = { | |
amp: "&", | |
gt: ">", | |
lt: "<", | |
quot: '"', | |
apos: "'", | |
AElig: 198, | |
Aacute: 193, | |
Acirc: 194, | |
Agrave: 192, | |
Aring: 197, | |
Atilde: 195, | |
Auml: 196, | |
Ccedil: 199, | |
ETH: 208, | |
Eacute: 201, | |
Ecirc: 202, | |
Egrave: 200, | |
Euml: 203, | |
Iacute: 205, | |
Icirc: 206, | |
Igrave: 204, | |
Iuml: 207, | |
Ntilde: 209, | |
Oacute: 211, | |
Ocirc: 212, | |
Ograve: 210, | |
Oslash: 216, | |
Otilde: 213, | |
Ouml: 214, | |
THORN: 222, | |
Uacute: 218, | |
Ucirc: 219, | |
Ugrave: 217, | |
Uuml: 220, | |
Yacute: 221, | |
aacute: 225, | |
acirc: 226, | |
aelig: 230, | |
agrave: 224, | |
aring: 229, | |
atilde: 227, | |
auml: 228, | |
ccedil: 231, | |
eacute: 233, | |
ecirc: 234, | |
egrave: 232, | |
eth: 240, | |
euml: 235, | |
iacute: 237, | |
icirc: 238, | |
igrave: 236, | |
iuml: 239, | |
ntilde: 241, | |
oacute: 243, | |
ocirc: 244, | |
ograve: 242, | |
oslash: 248, | |
otilde: 245, | |
ouml: 246, | |
szlig: 223, | |
thorn: 254, | |
uacute: 250, | |
ucirc: 251, | |
ugrave: 249, | |
uuml: 252, | |
yacute: 253, | |
yuml: 255, | |
copy: 169, | |
reg: 174, | |
nbsp: 160, | |
iexcl: 161, | |
cent: 162, | |
pound: 163, | |
curren: 164, | |
yen: 165, | |
brvbar: 166, | |
sect: 167, | |
uml: 168, | |
ordf: 170, | |
laquo: 171, | |
not: 172, | |
shy: 173, | |
macr: 175, | |
deg: 176, | |
plusmn: 177, | |
sup1: 185, | |
sup2: 178, | |
sup3: 179, | |
acute: 180, | |
micro: 181, | |
para: 182, | |
middot: 183, | |
cedil: 184, | |
ordm: 186, | |
raquo: 187, | |
frac14: 188, | |
frac12: 189, | |
frac34: 190, | |
iquest: 191, | |
times: 215, | |
divide: 247, | |
OElig: 338, | |
oelig: 339, | |
Scaron: 352, | |
scaron: 353, | |
Yuml: 376, | |
fnof: 402, | |
circ: 710, | |
tilde: 732, | |
Alpha: 913, | |
Beta: 914, | |
Gamma: 915, | |
Delta: 916, | |
Epsilon: 917, | |
Zeta: 918, | |
Eta: 919, | |
Theta: 920, | |
Iota: 921, | |
Kappa: 922, | |
Lambda: 923, | |
Mu: 924, | |
Nu: 925, | |
Xi: 926, | |
Omicron: 927, | |
Pi: 928, | |
Rho: 929, | |
Sigma: 931, | |
Tau: 932, | |
Upsilon: 933, | |
Phi: 934, | |
Chi: 935, | |
Psi: 936, | |
Omega: 937, | |
alpha: 945, | |
beta: 946, | |
gamma: 947, | |
delta: 948, | |
epsilon: 949, | |
zeta: 950, | |
eta: 951, | |
theta: 952, | |
iota: 953, | |
kappa: 954, | |
lambda: 955, | |
mu: 956, | |
nu: 957, | |
xi: 958, | |
omicron: 959, | |
pi: 960, | |
rho: 961, | |
sigmaf: 962, | |
sigma: 963, | |
tau: 964, | |
upsilon: 965, | |
phi: 966, | |
chi: 967, | |
psi: 968, | |
omega: 969, | |
thetasym: 977, | |
upsih: 978, | |
piv: 982, | |
ensp: 8194, | |
emsp: 8195, | |
thinsp: 8201, | |
zwnj: 8204, | |
zwj: 8205, | |
lrm: 8206, | |
rlm: 8207, | |
ndash: 8211, | |
mdash: 8212, | |
lsquo: 8216, | |
rsquo: 8217, | |
sbquo: 8218, | |
ldquo: 8220, | |
rdquo: 8221, | |
bdquo: 8222, | |
dagger: 8224, | |
Dagger: 8225, | |
bull: 8226, | |
hellip: 8230, | |
permil: 8240, | |
prime: 8242, | |
Prime: 8243, | |
lsaquo: 8249, | |
rsaquo: 8250, | |
oline: 8254, | |
frasl: 8260, | |
euro: 8364, | |
image: 8465, | |
weierp: 8472, | |
real: 8476, | |
trade: 8482, | |
alefsym: 8501, | |
larr: 8592, | |
uarr: 8593, | |
rarr: 8594, | |
darr: 8595, | |
harr: 8596, | |
crarr: 8629, | |
lArr: 8656, | |
uArr: 8657, | |
rArr: 8658, | |
dArr: 8659, | |
hArr: 8660, | |
forall: 8704, | |
part: 8706, | |
exist: 8707, | |
empty: 8709, | |
nabla: 8711, | |
isin: 8712, | |
notin: 8713, | |
ni: 8715, | |
prod: 8719, | |
sum: 8721, | |
minus: 8722, | |
lowast: 8727, | |
radic: 8730, | |
prop: 8733, | |
infin: 8734, | |
ang: 8736, | |
and: 8743, | |
or: 8744, | |
cap: 8745, | |
cup: 8746, | |
int: 8747, | |
there4: 8756, | |
sim: 8764, | |
cong: 8773, | |
asymp: 8776, | |
ne: 8800, | |
equiv: 8801, | |
le: 8804, | |
ge: 8805, | |
sub: 8834, | |
sup: 8835, | |
nsub: 8836, | |
sube: 8838, | |
supe: 8839, | |
oplus: 8853, | |
otimes: 8855, | |
perp: 8869, | |
sdot: 8901, | |
lceil: 8968, | |
rceil: 8969, | |
lfloor: 8970, | |
rfloor: 8971, | |
lang: 9001, | |
rang: 9002, | |
loz: 9674, | |
spades: 9824, | |
clubs: 9827, | |
hearts: 9829, | |
diams: 9830 | |
}, Object.keys(e.ENTITIES).forEach(function(t) { | |
var n = e.ENTITIES[t], | |
r = "number" == typeof n ? String.fromCharCode(n) : n; | |
e.ENTITIES[t] = r | |
}); | |
for (var Y in e.STATE) e.STATE[e.STATE[Y]] = Y; | |
F = e.STATE, String.fromCodePoint || function() { | |
var e = String.fromCharCode, | |
t = Math.floor, | |
n = function() { | |
var n, r, o = [], | |
s = -1, | |
a = arguments.length; | |
if (!a) return ""; | |
for (var i = ""; ++s < a;) { | |
var u = Number(arguments[s]); | |
if (!isFinite(u) || u < 0 || u > 1114111 || t(u) !== u) throw RangeError("Invalid code point: " + u); | |
u <= 65535 ? o.push(u) : (n = 55296 + ((u -= 65536) >> 10), r = u % 1024 + 56320, o.push(n, r)), (s + 1 === a || o.length > 16384) && (i += e.apply(null, o), o.length = 0) | |
} | |
return i | |
}; | |
Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", { | |
value: n, | |
configurable: !0, | |
writable: !0 | |
}) : String.fromCodePoint = n | |
}() | |
}(t) | |
}, | |
"./node_modules/secure-keys/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
if (e = e || {}, this.secret = "string" != typeof e ? e.secret : e, this.format = e.format || a, this.alg = e.alg || "aes-256-ctr", !this.secret) throw new Error("Secret is a required option") | |
} | |
function o(e, t) { | |
var n = t.encs, | |
r = s.createCipher(t.alg, t.secret); | |
return r.update(e, n.input, n.output) + r.final(n.output) | |
} | |
var s = n(2), | |
a = { | |
stringify: function(e, t, n) { | |
return JSON.stringify(e, t || null, n || 2) | |
}, | |
parse: JSON.parse | |
}; | |
e.exports = r, r.prototype.encrypt = function(e, t) { | |
var n = this; | |
return Object.keys(e).reduce(function(t, r) { | |
var s = n.format.stringify(e[r]); | |
return t[r] = { | |
alg: n.alg, | |
value: o(s, { | |
alg: n.alg, | |
secret: n.secret, | |
encs: { | |
input: "utf8", | |
output: "hex" | |
} | |
}) | |
}, t | |
}, {}) | |
}, r.prototype.decrypt = function(e, t) { | |
var n = this; | |
return Object.keys(e).reduce(function(t, r) { | |
var s = o(e[r].value, { | |
alg: e[r].alg || n.alg, | |
secret: n.secret, | |
encs: { | |
input: "hex", | |
output: "utf8" | |
} | |
}); | |
return t[r] = n.format.parse(s), t | |
}, {}) | |
} | |
}, | |
"./node_modules/semver/semver.js": function(e, t) { | |
function n(e, t) { | |
if (e instanceof r) return e; | |
if ("string" != typeof e) return null; | |
if (e.length > x) return null; | |
if (!(t ? k[q] : k[I]).test(e)) return null; | |
try { | |
return new r(e, t) | |
} catch (e) { | |
return null | |
} | |
} | |
function r(e, t) { | |
if (e instanceof r) { | |
if (e.loose === t) return e; | |
e = e.version | |
} else if ("string" != typeof e) throw new TypeError("Invalid Version: " + e); | |
if (e.length > x) throw new TypeError("version is longer than " + x + " characters"); | |
if (!(this instanceof r)) return new r(e, t); | |
j("SemVer", e, t), this.loose = t; | |
var n = e.trim().match(t ? k[q] : k[I]); | |
if (!n) throw new TypeError("Invalid Version: " + e); | |
if (this.raw = e, this.major = +n[1], this.minor = +n[2], this.patch = +n[3], this.major > w || this.major < 0) throw new TypeError("Invalid major version"); | |
if (this.minor > w || this.minor < 0) throw new TypeError("Invalid minor version"); | |
if (this.patch > w || this.patch < 0) throw new TypeError("Invalid patch version"); | |
n[4] ? this.prerelease = n[4].split(".").map(function(e) { | |
if (/^[0-9]+$/.test(e)) { | |
var t = +e; | |
if (t >= 0 && t < w) return t | |
} | |
return e | |
}) : this.prerelease = [], this.build = n[5] ? n[5].split(".") : [], this.format() | |
} | |
function o(e, t) { | |
var n = le.test(e), | |
r = le.test(t); | |
return n && r && (e = +e, t = +t), n && !r ? -1 : r && !n ? 1 : e < t ? -1 : e > t ? 1 : 0 | |
} | |
function s(e, t, n) { | |
return new r(e, n).compare(t) | |
} | |
function a(e, t, n) { | |
return s(t, e, n) | |
} | |
function i(e, t, n) { | |
return s(e, t, n) > 0 | |
} | |
function u(e, t, n) { | |
return s(e, t, n) < 0 | |
} | |
function c(e, t, n) { | |
return 0 === s(e, t, n) | |
} | |
function l(e, t, n) { | |
return 0 !== s(e, t, n) | |
} | |
function d(e, t, n) { | |
return s(e, t, n) >= 0 | |
} | |
function m(e, t, n) { | |
return s(e, t, n) <= 0 | |
} | |
function p(e, t, n, r) { | |
var o; | |
switch (t) { | |
case "===": | |
"object" == typeof e && (e = e.version), "object" == typeof n && (n = n.version), o = e === n; | |
break; | |
case "!==": | |
"object" == typeof e && (e = e.version), "object" == typeof n && (n = n.version), o = e !== n; | |
break; | |
case "": | |
case "=": | |
case "==": | |
o = c(e, n, r); | |
break; | |
case "!=": | |
o = l(e, n, r); | |
break; | |
case ">": | |
o = i(e, n, r); | |
break; | |
case ">=": | |
o = d(e, n, r); | |
break; | |
case "<": | |
o = u(e, n, r); | |
break; | |
case "<=": | |
o = m(e, n, r); | |
break; | |
default: | |
throw new TypeError("Invalid operator: " + t) | |
} | |
return o | |
} | |
function f(e, t) { | |
if (e instanceof f) { | |
if (e.loose === t) return e; | |
e = e.value | |
} | |
if (!(this instanceof f)) return new f(e, t); | |
j("comparator", e, t), this.loose = t, this.parse(e), this.semver === de ? this.value = "" : this.value = this.operator + this.semver.version, j("comp", this) | |
} | |
function h(e, t) { | |
if (e instanceof h && e.loose === t) return e; | |
if (!(this instanceof h)) return new h(e, t); | |
if (this.loose = t, this.raw = e, this.set = e.split(/\s*\|\|\s*/).map(function(e) { | |
return this.parseRange(e.trim()) | |
}, this).filter(function(e) { | |
return e.length | |
}), !this.set.length) throw new TypeError("Invalid SemVer Range: " + e); | |
this.format() | |
} | |
function v(e, t) { | |
return j("comp", e), e = function(e, t) { | |
return e.trim().split(/\s+/).map(function(e) { | |
return function(e, t) { | |
j("caret", e, t); | |
var n = t ? k[ne] : k[te]; | |
return e.replace(n, function(t, n, r, o, s) { | |
j("caret", e, t, n, r, o, s); | |
var a; | |
return _(n) ? a = "" : _(r) ? a = ">=" + n + ".0.0 <" + (+n + 1) + ".0.0" : _(o) ? a = "0" === n ? ">=" + n + "." + r + ".0 <" + n + "." + (+r + 1) + ".0" : ">=" + n + "." + r + ".0 <" + (+n + 1) + ".0.0" : s ? (j("replaceCaret pr", s), "-" !== s.charAt(0) && (s = "-" + s), a = "0" === n ? "0" === r ? ">=" + n + "." + r + "." + o + s + " <" + n + "." + r + "." + (+o + 1) : ">=" + n + "." + r + "." + o + s + " <" + n + "." + (+r + 1) + ".0" : ">=" + n + "." + r + "." + o + s + " <" + (+n + 1) + ".0.0") : (j("no pr"), a = "0" === n ? "0" === r ? ">=" + n + "." + r + "." + o + " <" + n + "." + r + "." + (+o + 1) : ">=" + n + "." + r + "." + o + " <" + n + "." + (+r + 1) + ".0" : ">=" + n + "." + r + "." + o + " <" + (+n + 1) + ".0.0"), j("caret return", a), a | |
}) | |
}(e, t) | |
}).join(" ") | |
}(e, t), j("caret", e), e = function(e, t) { | |
return e.trim().split(/\s+/).map(function(e) { | |
return function(e, t) { | |
var n = t ? k[J] : k[K]; | |
return e.replace(n, function(t, n, r, o, s) { | |
j("tilde", e, t, n, r, o, s); | |
var a; | |
return _(n) ? a = "" : _(r) ? a = ">=" + n + ".0.0 <" + (+n + 1) + ".0.0" : _(o) ? a = ">=" + n + "." + r + ".0 <" + n + "." + (+r + 1) + ".0" : s ? (j("replaceTilde pr", s), "-" !== s.charAt(0) && (s = "-" + s), a = ">=" + n + "." + r + "." + o + s + " <" + n + "." + (+r + 1) + ".0") : a = ">=" + n + "." + r + "." + o + " <" + n + "." + (+r + 1) + ".0", j("tilde return", a), a | |
}) | |
}(e, t) | |
}).join(" ") | |
}(e, t), j("tildes", e), e = function(e, t) { | |
return j("replaceXRanges", e, t), e.split(/\s+/).map(function(e) { | |
return function(e, t) { | |
e = e.trim(); | |
var n = t ? k[G] : k[V]; | |
return e.replace(n, function(t, n, r, o, s, a) { | |
j("xRange", e, t, n, r, o, s, a); | |
var i = _(r), | |
u = i || _(o), | |
c = u || _(s), | |
l = c; | |
return "=" === n && l && (n = ""), i ? t = ">" === n || "<" === n ? "<0.0.0" : "*" : n && l ? (u && (o = 0), c && (s = 0), ">" === n ? (n = ">=", u ? (r = +r + 1, o = 0, s = 0) : c && (o = +o + 1, s = 0)) : "<=" === n && (n = "<", u ? r = +r + 1 : o = +o + 1), t = n + r + "." + o + "." + s) : u ? t = ">=" + r + ".0.0 <" + (+r + 1) + ".0.0" : c && (t = ">=" + r + "." + o + ".0 <" + r + "." + (+o + 1) + ".0"), j("xRange return", t), t | |
}) | |
}(e, t) | |
}).join(" ") | |
}(e, t), j("xrange", e), e = function(e, t) { | |
return j("replaceStars", e, t), e.trim().replace(k[ue], "") | |
}(e, t), j("stars", e), e | |
} | |
function _(e) { | |
return !e || "x" === e.toLowerCase() || "*" === e | |
} | |
function g(e, t, n, r, o, s, a, i, u, c, l, d, m) { | |
return t = _(n) ? "" : _(r) ? ">=" + n + ".0.0" : _(o) ? ">=" + n + "." + r + ".0" : ">=" + t, i = _(u) ? "" : _(c) ? "<" + (+u + 1) + ".0.0" : _(l) ? "<" + u + "." + (+c + 1) + ".0" : d ? "<=" + u + "." + c + "." + l + "-" + d : "<=" + i, (t + " " + i).trim() | |
} | |
function y(e, t, n) { | |
try { | |
t = new h(t, n) | |
} catch (e) { | |
return !1 | |
} | |
return t.test(e) | |
} | |
function b(e, t, n, o) { | |
e = new r(e, o), t = new h(t, o); | |
var s, a, c, l, p; | |
switch (n) { | |
case ">": | |
s = i, a = m, c = u, l = ">", p = ">="; | |
break; | |
case "<": | |
s = u, a = d, c = i, l = "<", p = "<="; | |
break; | |
default: | |
throw new TypeError('Must provide a hilo val of "<" or ">"') | |
} | |
if (y(e, t, o)) return !1; | |
for (var v = 0; v < t.set.length; ++v) { | |
var _ = null, | |
g = null; | |
if (t.set[v].forEach(function(e) { | |
e.semver === de && (e = new f(">=0.0.0")), _ = _ || e, g = g || e, s(e.semver, _.semver, o) ? _ = e : c(e.semver, g.semver, o) && (g = e) | |
}), _.operator === l || _.operator === p) return !1; | |
if ((!g.operator || g.operator === l) && a(e, g.semver)) return !1; | |
if (g.operator === p && c(e, g.semver)) return !1 | |
} | |
return !0 | |
} | |
t = e.exports = r; | |
var j; | |
j = "object" == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? function() { | |
var e = Array.prototype.slice.call(arguments, 0); | |
e.unshift("SEMVER"), console.log.apply(console, e) | |
} : function() {}, t.SEMVER_SPEC_VERSION = "2.0.0"; | |
var x = 256, | |
w = Number.MAX_SAFE_INTEGER || 9007199254740991, | |
k = t.re = [], | |
E = t.src = [], | |
S = 0, | |
L = S++; | |
E[L] = "0|[1-9]\\d*"; | |
var M = S++; | |
E[M] = "[0-9]+"; | |
var D = S++; | |
E[D] = "\\d*[a-zA-Z-][a-zA-Z0-9-]*"; | |
var T = S++; | |
E[T] = "(" + E[L] + ")\\.(" + E[L] + ")\\.(" + E[L] + ")"; | |
var C = S++; | |
E[C] = "(" + E[M] + ")\\.(" + E[M] + ")\\.(" + E[M] + ")"; | |
var A = S++; | |
E[A] = "(?:" + E[L] + "|" + E[D] + ")"; | |
var N = S++; | |
E[N] = "(?:" + E[M] + "|" + E[D] + ")"; | |
var P = S++; | |
E[P] = "(?:-(" + E[A] + "(?:\\." + E[A] + ")*))"; | |
var O = S++; | |
E[O] = "(?:-?(" + E[N] + "(?:\\." + E[N] + ")*))"; | |
var F = S++; | |
E[F] = "[0-9A-Za-z-]+"; | |
var Y = S++; | |
E[Y] = "(?:\\+(" + E[F] + "(?:\\." + E[F] + ")*))"; | |
var I = S++, | |
B = "v?" + E[T] + E[P] + "?" + E[Y] + "?"; | |
E[I] = "^" + B + "$"; | |
var z = "[v=\\s]*" + E[C] + E[O] + "?" + E[Y] + "?", | |
q = S++; | |
E[q] = "^" + z + "$"; | |
var R = S++; | |
E[R] = "((?:<|>)?=?)"; | |
var H = S++; | |
E[H] = E[M] + "|x|X|\\*"; | |
var U = S++; | |
E[U] = E[L] + "|x|X|\\*"; | |
var $ = S++; | |
E[$] = "[v=\\s]*(" + E[U] + ")(?:\\.(" + E[U] + ")(?:\\.(" + E[U] + ")(?:" + E[P] + ")?" + E[Y] + "?)?)?"; | |
var W = S++; | |
E[W] = "[v=\\s]*(" + E[H] + ")(?:\\.(" + E[H] + ")(?:\\.(" + E[H] + ")(?:" + E[O] + ")?" + E[Y] + "?)?)?"; | |
var V = S++; | |
E[V] = "^" + E[R] + "\\s*" + E[$] + "$"; | |
var G = S++; | |
E[G] = "^" + E[R] + "\\s*" + E[W] + "$"; | |
var X = S++; | |
E[X] = "(?:~>?)"; | |
var Q = S++; | |
E[Q] = "(\\s*)" + E[X] + "\\s+", k[Q] = new RegExp(E[Q], "g"); | |
var K = S++; | |
E[K] = "^" + E[X] + E[$] + "$"; | |
var J = S++; | |
E[J] = "^" + E[X] + E[W] + "$"; | |
var Z = S++; | |
E[Z] = "(?:\\^)"; | |
var ee = S++; | |
E[ee] = "(\\s*)" + E[Z] + "\\s+", k[ee] = new RegExp(E[ee], "g"); | |
var te = S++; | |
E[te] = "^" + E[Z] + E[$] + "$"; | |
var ne = S++; | |
E[ne] = "^" + E[Z] + E[W] + "$"; | |
var re = S++; | |
E[re] = "^" + E[R] + "\\s*(" + z + ")$|^$"; | |
var oe = S++; | |
E[oe] = "^" + E[R] + "\\s*(" + B + ")$|^$"; | |
var se = S++; | |
E[se] = "(\\s*)" + E[R] + "\\s*(" + z + "|" + E[$] + ")", k[se] = new RegExp(E[se], "g"); | |
var ae = S++; | |
E[ae] = "^\\s*(" + E[$] + ")\\s+-\\s+(" + E[$] + ")\\s*$"; | |
var ie = S++; | |
E[ie] = "^\\s*(" + E[W] + ")\\s+-\\s+(" + E[W] + ")\\s*$"; | |
var ue = S++; | |
E[ue] = "(<|>)?=?\\s*\\*"; | |
for (var ce = 0; ce < S; ce++) j(ce, E[ce]), k[ce] || (k[ce] = new RegExp(E[ce])); | |
t.parse = n, t.valid = function(e, t) { | |
var r = n(e, t); | |
return r ? r.version : null | |
}, t.clean = function(e, t) { | |
var r = n(e.trim().replace(/^[=v]+/, ""), t); | |
return r ? r.version : null | |
}, t.SemVer = r, r.prototype.format = function() { | |
return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), this.version | |
}, r.prototype.toString = function() { | |
return this.version | |
}, r.prototype.compare = function(e) { | |
return j("SemVer.compare", this.version, this.loose, e), e instanceof r || (e = new r(e, this.loose)), this.compareMain(e) || this.comparePre(e) | |
}, r.prototype.compareMain = function(e) { | |
return e instanceof r || (e = new r(e, this.loose)), o(this.major, e.major) || o(this.minor, e.minor) || o(this.patch, e.patch) | |
}, r.prototype.comparePre = function(e) { | |
if (e instanceof r || (e = new r(e, this.loose)), this.prerelease.length && !e.prerelease.length) return -1; | |
if (!this.prerelease.length && e.prerelease.length) return 1; | |
if (!this.prerelease.length && !e.prerelease.length) return 0; | |
var t = 0; | |
do { | |
var n = this.prerelease[t], | |
s = e.prerelease[t]; | |
if (j("prerelease compare", t, n, s), void 0 === n && void 0 === s) return 0; | |
if (void 0 === s) return 1; | |
if (void 0 === n) return -1; | |
if (n !== s) return o(n, s) | |
} while (++t) | |
}, r.prototype.inc = function(e, t) { | |
switch (e) { | |
case "premajor": | |
this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", t); | |
break; | |
case "preminor": | |
this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", t); | |
break; | |
case "prepatch": | |
this.prerelease.length = 0, this.inc("patch", t), this.inc("pre", t); | |
break; | |
case "prerelease": | |
0 === this.prerelease.length && this.inc("patch", t), this.inc("pre", t); | |
break; | |
case "major": | |
0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length || this.major++, this.minor = 0, this.patch = 0, this.prerelease = []; | |
break; | |
case "minor": | |
0 === this.patch && 0 !== this.prerelease.length || this.minor++, this.patch = 0, this.prerelease = []; | |
break; | |
case "patch": | |
0 === this.prerelease.length && this.patch++, this.prerelease = []; | |
break; | |
case "pre": | |
if (0 === this.prerelease.length) this.prerelease = [0]; | |
else { | |
for (var n = this.prerelease.length; --n >= 0;) "number" == typeof this.prerelease[n] && (this.prerelease[n]++, n = -2); - 1 === n && this.prerelease.push(0) | |
} | |
t && (this.prerelease[0] === t ? isNaN(this.prerelease[1]) && (this.prerelease = [t, 0]) : this.prerelease = [t, 0]); | |
break; | |
default: | |
throw new Error("invalid increment argument: " + e) | |
} | |
return this.format(), this.raw = this.version, this | |
}, t.inc = function(e, t, n, o) { | |
"string" == typeof n && (o = n, n = void 0); | |
try { | |
return new r(e, n).inc(t, o).version | |
} catch (e) { | |
return null | |
} | |
}, t.diff = function(e, t) { | |
if (c(e, t)) return null; | |
var r = n(e), | |
o = n(t); | |
if (r.prerelease.length || o.prerelease.length) { | |
for (var s in r) | |
if (("major" === s || "minor" === s || "patch" === s) && r[s] !== o[s]) return "pre" + s; | |
return "prerelease" | |
} | |
for (var s in r) | |
if (("major" === s || "minor" === s || "patch" === s) && r[s] !== o[s]) return s | |
}, t.compareIdentifiers = o; | |
var le = /^[0-9]+$/; | |
t.rcompareIdentifiers = function(e, t) { | |
return o(t, e) | |
}, t.major = function(e, t) { | |
return new r(e, t).major | |
}, t.minor = function(e, t) { | |
return new r(e, t).minor | |
}, t.patch = function(e, t) { | |
return new r(e, t).patch | |
}, t.compare = s, t.compareLoose = function(e, t) { | |
return s(e, t, !0) | |
}, t.rcompare = a, t.sort = function(e, n) { | |
return e.sort(function(e, r) { | |
return t.compare(e, r, n) | |
}) | |
}, t.rsort = function(e, n) { | |
return e.sort(function(e, r) { | |
return t.rcompare(e, r, n) | |
}) | |
}, t.gt = i, t.lt = u, t.eq = c, t.neq = l, t.gte = d, t.lte = m, t.cmp = p, t.Comparator = f; | |
var de = {}; | |
f.prototype.parse = function(e) { | |
var t = this.loose ? k[re] : k[oe], | |
n = e.match(t); | |
if (!n) throw new TypeError("Invalid comparator: " + e); | |
this.operator = n[1], "=" === this.operator && (this.operator = ""), n[2] ? this.semver = new r(n[2], this.loose) : this.semver = de | |
}, f.prototype.toString = function() { | |
return this.value | |
}, f.prototype.test = function(e) { | |
return j("Comparator.test", e, this.loose), this.semver === de || ("string" == typeof e && (e = new r(e, this.loose)), p(e, this.operator, this.semver, this.loose)) | |
}, t.Range = h, h.prototype.format = function() { | |
return this.range = this.set.map(function(e) { | |
return e.join(" ").trim() | |
}).join("||").trim(), this.range | |
}, h.prototype.toString = function() { | |
return this.range | |
}, h.prototype.parseRange = function(e) { | |
var t = this.loose; | |
e = e.trim(), j("range", e, t); | |
var n = t ? k[ie] : k[ae]; | |
e = e.replace(n, g), j("hyphen replace", e), e = e.replace(k[se], "$1$2$3"), j("comparator trim", e, k[se]), e = (e = (e = e.replace(k[Q], "$1~")).replace(k[ee], "$1^")).split(/\s+/).join(" "); | |
var r = t ? k[re] : k[oe], | |
o = e.split(" ").map(function(e) { | |
return v(e, t) | |
}).join(" ").split(/\s+/); | |
return this.loose && (o = o.filter(function(e) { | |
return !!e.match(r) | |
})), o = o.map(function(e) { | |
return new f(e, t) | |
}) | |
}, t.toComparators = function(e, t) { | |
return new h(e, t).set.map(function(e) { | |
return e.map(function(e) { | |
return e.value | |
}).join(" ").trim().split(" ") | |
}) | |
}, h.prototype.test = function(e) { | |
if (!e) return !1; | |
"string" == typeof e && (e = new r(e, this.loose)); | |
for (var t = 0; t < this.set.length; t++) | |
if (function(e, t) { | |
for (var n = 0; n < e.length; n++) | |
if (!e[n].test(t)) return !1; | |
if (t.prerelease.length) { | |
for (n = 0; n < e.length; n++) | |
if (j(e[n].semver), e[n].semver !== de && e[n].semver.prerelease.length > 0) { | |
var r = e[n].semver; | |
if (r.major === t.major && r.minor === t.minor && r.patch === t.patch) return !0 | |
} return !1 | |
} | |
return !0 | |
}(this.set[t], e)) return !0; | |
return !1 | |
}, t.satisfies = y, t.maxSatisfying = function(e, t, n) { | |
return e.filter(function(e) { | |
return y(e, t, n) | |
}).sort(function(e, t) { | |
return a(e, t, n) | |
})[0] || null | |
}, t.minSatisfying = function(e, t, n) { | |
return e.filter(function(e) { | |
return y(e, t, n) | |
}).sort(function(e, t) { | |
return s(e, t, n) | |
})[0] || null | |
}, t.validRange = function(e, t) { | |
try { | |
return new h(e, t).range || "*" | |
} catch (e) { | |
return null | |
} | |
}, t.ltr = function(e, t, n) { | |
return b(e, t, "<", n) | |
}, t.gtr = function(e, t, n) { | |
return b(e, t, ">", n) | |
}, t.outside = b, t.prerelease = function(e, t) { | |
var r = n(e, t); | |
return r && r.prerelease.length ? r.prerelease : null | |
} | |
}, | |
"./node_modules/set-blocking/index.js": function(e, t) { | |
e.exports = function(e) { | |
[process.stdout, process.stderr].forEach(function(t) { | |
t._handle && t.isTTY && "function" == typeof t._handle.setBlocking && t._handle.setBlocking(e) | |
}) | |
} | |
}, | |
"./node_modules/spdx-correct/index.js": function(e, t, n) { | |
function r(e) { | |
return o.indexOf(e) > -1 | |
} | |
var o = n("./node_modules/spdx-license-ids/spdx-license-ids.json"), | |
s = [ | |
["APGL", "AGPL"], | |
["Gpl", "GPL"], | |
["GLP", "GPL"], | |
["APL", "Apache"], | |
["ISD", "ISC"], | |
["GLP", "GPL"], | |
["IST", "ISC"], | |
["Claude", "Clause"], | |
[" or later", "+"], | |
[" International", ""], | |
["GNU", "GPL"], | |
["GUN", "GPL"], | |
["+", ""], | |
["GNU GPL", "GPL"], | |
["GNU/GPL", "GPL"], | |
["GNU GLP", "GPL"], | |
["GNU General Public License", "GPL"], | |
["Gnu public license", "GPL"], | |
["GNU Public License", "GPL"], | |
["GNU GENERAL PUBLIC LICENSE", "GPL"], | |
["MTI", "MIT"], | |
["Mozilla Public License", "MPL"], | |
["WTH", "WTF"], | |
["-License", ""] | |
], | |
a = [function(e) { | |
return e.toUpperCase() | |
}, function(e) { | |
return e.trim() | |
}, function(e) { | |
return e.replace(/\./g, "") | |
}, function(e) { | |
return e.replace(/\s+/g, "") | |
}, function(e) { | |
return e.replace(/\s+/g, "-") | |
}, function(e) { | |
return e.replace("v", "-") | |
}, function(e) { | |
return e.replace(/,?\s*(\d)/, "-$1") | |
}, function(e) { | |
return e.replace(/,?\s*(\d)/, "-$1.0") | |
}, function(e) { | |
return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/, "-$2") | |
}, function(e) { | |
return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/, "-$2.0") | |
}, function(e) { | |
return e[0].toUpperCase() + e.slice(1) | |
}, function(e) { | |
return e.replace("/", "-") | |
}, function(e) { | |
return e.replace(/\s*V\s*(\d)/, "-$1").replace(/(\d)$/, "$1.0") | |
}, function(e) { | |
return e.slice(0, e.length - 1) | |
}, function(e) { | |
return e.replace(/(\d)$/, "-$1.0") | |
}, function(e) { | |
return e.replace(/(-| )?(\d)$/, "-$2-Clause") | |
}, function(e) { | |
return e.replace(/(-| )clause(-| )(\d)/, "-$3-Clause") | |
}, function(e) { | |
return "CC-" + e | |
}, function(e) { | |
return "CC-" + e + "-4.0" | |
}, function(e) { | |
return e.replace("Attribution", "BY").replace("NonCommercial", "NC").replace("NoDerivatives", "ND").replace(/ (\d)/, "-$1").replace(/ ?International/, "") | |
}, function(e) { | |
return "CC-" + e.replace("Attribution", "BY").replace("NonCommercial", "NC").replace("NoDerivatives", "ND").replace(/ (\d)/, "-$1").replace(/ ?International/, "") + "-4.0" | |
}], | |
i = [ | |
["UNLI", "Unlicense"], | |
["WTF", "WTFPL"], | |
["2 CLAUSE", "BSD-2-Clause"], | |
["2-CLAUSE", "BSD-2-Clause"], | |
["3 CLAUSE", "BSD-3-Clause"], | |
["3-CLAUSE", "BSD-3-Clause"], | |
["AFFERO", "AGPL-3.0"], | |
["AGPL", "AGPL-3.0"], | |
["APACHE", "Apache-2.0"], | |
["ARTISTIC", "Artistic-2.0"], | |
["Affero", "AGPL-3.0"], | |
["BEER", "Beerware"], | |
["BOOST", "BSL-1.0"], | |
["BSD", "BSD-2-Clause"], | |
["ECLIPSE", "EPL-1.0"], | |
["FUCK", "WTFPL"], | |
["GNU", "GPL-3.0"], | |
["LGPL", "LGPL-3.0"], | |
["GPL", "GPL-3.0"], | |
["MIT", "MIT"], | |
["MPL", "MPL-2.0"], | |
["X11", "X11"], | |
["ZLIB", "Zlib"] | |
], | |
u = function(e) { | |
for (var t = 0; t < a.length; t++) { | |
var n = a[t](e); | |
if (n !== e && r(n)) return n | |
} | |
return null | |
}, | |
c = function(e) { | |
for (var t = e.toUpperCase(), n = 0; n < i.length; n++) { | |
var r = i[n]; | |
if (t.indexOf(r[0]) > -1) return r[1] | |
} | |
return null | |
}, | |
l = function(e, t) { | |
for (var n = 0; n < s.length; n++) { | |
var r = s[n], | |
o = r[0]; | |
if (e.indexOf(o) > -1) { | |
var a = t(e.replace(o, r[1])); | |
if (null !== a) return a | |
} | |
} | |
return null | |
}; | |
e.exports = function(e) { | |
if (e = e.replace(/\+$/, ""), r(e)) return e; | |
var t = u(e); | |
return null !== t ? t : null !== (t = l(e, function(e) { | |
return r(e) ? e : u(e) | |
})) ? t : null !== (t = c(e)) ? t : null !== (t = l(e, c)) ? t : null | |
} | |
}, | |
"./node_modules/spdx-expression-parse/index.js": function(e, t, n) { | |
var r = n("./node_modules/spdx-expression-parse/parser.js").parser; | |
e.exports = function(e) { | |
return r.parse(e) | |
} | |
}, | |
"./node_modules/spdx-expression-parse/parser.js": function(e, t, n) { | |
(function(e) { | |
var r = function() { | |
function e() { | |
this.yy = {} | |
} | |
var t = function(e, t, n, r) { | |
for (n = n || {}, r = e.length; r--; n[e[r]] = t); | |
return n | |
}, | |
n = [1, 5], | |
r = [1, 6], | |
o = [1, 7], | |
s = [1, 4], | |
a = [1, 9], | |
i = [1, 10], | |
u = [5, 14, 15, 17], | |
c = [5, 12, 14, 15, 17], | |
l = { | |
trace: function() {}, | |
yy: {}, | |
symbols_: { | |
error: 2, | |
start: 3, | |
expression: 4, | |
EOS: 5, | |
simpleExpression: 6, | |
LICENSE: 7, | |
PLUS: 8, | |
LICENSEREF: 9, | |
DOCUMENTREF: 10, | |
COLON: 11, | |
WITH: 12, | |
EXCEPTION: 13, | |
AND: 14, | |
OR: 15, | |
OPEN: 16, | |
CLOSE: 17, | |
$accept: 0, | |
$end: 1 | |
}, | |
terminals_: { | |
2: "error", | |
5: "EOS", | |
7: "LICENSE", | |
8: "PLUS", | |
9: "LICENSEREF", | |
10: "DOCUMENTREF", | |
11: "COLON", | |
12: "WITH", | |
13: "EXCEPTION", | |
14: "AND", | |
15: "OR", | |
16: "OPEN", | |
17: "CLOSE" | |
}, | |
productions_: [0, [3, 2], | |
[6, 1], | |
[6, 2], | |
[6, 1], | |
[6, 3], | |
[4, 1], | |
[4, 3], | |
[4, 3], | |
[4, 3], | |
[4, 3] | |
], | |
performAction: function(e, t, n, r, o, s, a) { | |
var i = s.length - 1; | |
switch (o) { | |
case 1: | |
return this.$ = s[i - 1]; | |
case 2: | |
case 4: | |
case 5: | |
this.$ = { | |
license: e | |
}; | |
break; | |
case 3: | |
this.$ = { | |
license: s[i - 1], | |
plus: !0 | |
}; | |
break; | |
case 6: | |
this.$ = s[i]; | |
break; | |
case 7: | |
this.$ = { | |
exception: s[i] | |
}, this.$.license = s[i - 2].license, s[i - 2].hasOwnProperty("plus") && (this.$.plus = s[i - 2].plus); | |
break; | |
case 8: | |
this.$ = { | |
conjunction: "and", | |
left: s[i - 2], | |
right: s[i] | |
}; | |
break; | |
case 9: | |
this.$ = { | |
conjunction: "or", | |
left: s[i - 2], | |
right: s[i] | |
}; | |
break; | |
case 10: | |
this.$ = s[i - 1] | |
} | |
}, | |
table: [{ | |
3: 1, | |
4: 2, | |
6: 3, | |
7: n, | |
9: r, | |
10: o, | |
16: s | |
}, { | |
1: [3] | |
}, { | |
5: [1, 8], | |
14: a, | |
15: i | |
}, t(u, [2, 6], { | |
12: [1, 11] | |
}), { | |
4: 12, | |
6: 3, | |
7: n, | |
9: r, | |
10: o, | |
16: s | |
}, t(c, [2, 2], { | |
8: [1, 13] | |
}), t(c, [2, 4]), { | |
11: [1, 14] | |
}, { | |
1: [2, 1] | |
}, { | |
4: 15, | |
6: 3, | |
7: n, | |
9: r, | |
10: o, | |
16: s | |
}, { | |
4: 16, | |
6: 3, | |
7: n, | |
9: r, | |
10: o, | |
16: s | |
}, { | |
13: [1, 17] | |
}, { | |
14: a, | |
15: i, | |
17: [1, 18] | |
}, t(c, [2, 3]), { | |
9: [1, 19] | |
}, t(u, [2, 8]), t([5, 15, 17], [2, 9], { | |
14: a | |
}), t(u, [2, 7]), t(u, [2, 10]), t(c, [2, 5])], | |
defaultActions: { | |
8: [2, 1] | |
}, | |
parseError: function(e, t) { | |
if (!t.recoverable) { | |
function n(e, t) { | |
this.message = e, this.hash = t | |
} | |
throw n.prototype = Error, new n(e, t) | |
} | |
this.trace(e) | |
}, | |
parse: function(e) { | |
var t = this, | |
n = [0], | |
r = [null], | |
o = [], | |
s = this.table, | |
a = "", | |
i = 0, | |
u = 0, | |
c = 0, | |
l = o.slice.call(arguments, 1), | |
d = Object.create(this.lexer), | |
m = { | |
yy: {} | |
}; | |
for (var p in this.yy) Object.prototype.hasOwnProperty.call(this.yy, p) && (m.yy[p] = this.yy[p]); | |
d.setInput(e, m.yy), m.yy.lexer = d, m.yy.parser = this, void 0 === d.yylloc && (d.yylloc = {}); | |
var f = d.yylloc; | |
o.push(f); | |
var h = d.options && d.options.ranges; | |
"function" == typeof m.yy.parseError ? this.parseError = m.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError; | |
for (var v, _, g, y, b, j, x, w, k, E = function() { | |
var e; | |
return "number" != typeof(e = d.lex() || 1) && (e = t.symbols_[e] || e), e | |
}, S = {};;) { | |
if (g = n[n.length - 1], this.defaultActions[g] ? y = this.defaultActions[g] : (null !== v && void 0 !== v || (v = E()), y = s[g] && s[g][v]), void 0 === y || !y.length || !y[0]) { | |
var L = ""; | |
k = []; | |
for (j in s[g]) this.terminals_[j] && j > 2 && k.push("'" + this.terminals_[j] + "'"); | |
L = d.showPosition ? "Parse error on line " + (i + 1) + ":\n" + d.showPosition() + "\nExpecting " + k.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Parse error on line " + (i + 1) + ": Unexpected " + (1 == v ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(L, { | |
text: d.match, | |
token: this.terminals_[v] || v, | |
line: d.yylineno, | |
loc: f, | |
expected: k | |
}) | |
} | |
if (y[0] instanceof Array && y.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + v); | |
switch (y[0]) { | |
case 1: | |
n.push(v), r.push(d.yytext), o.push(d.yylloc), n.push(y[1]), v = null, _ ? (v = _, _ = null) : (u = d.yyleng, a = d.yytext, i = d.yylineno, f = d.yylloc, c > 0 && c--); | |
break; | |
case 2: | |
if (x = this.productions_[y[1]][1], S.$ = r[r.length - x], S._$ = { | |
first_line: o[o.length - (x || 1)].first_line, | |
last_line: o[o.length - 1].last_line, | |
first_column: o[o.length - (x || 1)].first_column, | |
last_column: o[o.length - 1].last_column | |
}, h && (S._$.range = [o[o.length - (x || 1)].range[0], o[o.length - 1].range[1]]), void 0 !== (b = this.performAction.apply(S, [a, u, i, m.yy, y[1], r, o].concat(l)))) return b; | |
x && (n = n.slice(0, -1 * x * 2), r = r.slice(0, -1 * x), o = o.slice(0, -1 * x)), n.push(this.productions_[y[1]][0]), r.push(S.$), o.push(S._$), w = s[n[n.length - 2]][n[n.length - 1]], n.push(w); | |
break; | |
case 3: | |
return !0 | |
} | |
} | |
return !0 | |
} | |
}, | |
d = { | |
EOF: 1, | |
parseError: function(e, t) { | |
if (!this.yy.parser) throw new Error(e); | |
this.yy.parser.parseError(e, t) | |
}, | |
setInput: function(e, t) { | |
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = { | |
first_line: 1, | |
first_column: 0, | |
last_line: 1, | |
last_column: 0 | |
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this | |
}, | |
input: function() { | |
var e = this._input[0]; | |
this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e; | |
return e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e | |
}, | |
unput: function(e) { | |
var t = e.length, | |
n = e.split(/(?:\r\n?|\n)/g); | |
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t; | |
var r = this.match.split(/(?:\r\n?|\n)/g); | |
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1); | |
var o = this.yylloc.range; | |
return this.yylloc = { | |
first_line: this.yylloc.first_line, | |
last_line: this.yylineno + 1, | |
first_column: this.yylloc.first_column, | |
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t | |
}, this.options.ranges && (this.yylloc.range = [o[0], o[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this | |
}, | |
more: function() { | |
return this._more = !0, this | |
}, | |
reject: function() { | |
return this.options.backtrack_lexer ? (this._backtrack = !0, this) : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), { | |
text: "", | |
token: null, | |
line: this.yylineno | |
}) | |
}, | |
less: function(e) { | |
this.unput(this.match.slice(e)) | |
}, | |
pastInput: function() { | |
var e = this.matched.substr(0, this.matched.length - this.match.length); | |
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "") | |
}, | |
upcomingInput: function() { | |
var e = this.match; | |
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "") | |
}, | |
showPosition: function() { | |
var e = this.pastInput(), | |
t = new Array(e.length + 1).join("-"); | |
return e + this.upcomingInput() + "\n" + t + "^" | |
}, | |
test_match: function(e, t) { | |
var n, r, o; | |
if (this.options.backtrack_lexer && (o = { | |
yylineno: this.yylineno, | |
yylloc: { | |
first_line: this.yylloc.first_line, | |
last_line: this.last_line, | |
first_column: this.yylloc.first_column, | |
last_column: this.yylloc.last_column | |
}, | |
yytext: this.yytext, | |
match: this.match, | |
matches: this.matches, | |
matched: this.matched, | |
yyleng: this.yyleng, | |
offset: this.offset, | |
_more: this._more, | |
_input: this._input, | |
yy: this.yy, | |
conditionStack: this.conditionStack.slice(0), | |
done: this.done | |
}, this.options.ranges && (o.yylloc.range = this.yylloc.range.slice(0))), (r = e[0].match(/(?:\r\n?|\n).*/g)) && (this.yylineno += r.length), this.yylloc = { | |
first_line: this.yylloc.last_line, | |
last_line: this.yylineno + 1, | |
first_column: this.yylloc.last_column, | |
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length | |
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n; | |
if (this._backtrack) { | |
for (var s in o) this[s] = o[s]; | |
return !1 | |
} | |
return !1 | |
}, | |
next: function() { | |
if (this.done) return this.EOF; | |
this._input || (this.done = !0); | |
var e, t, n, r; | |
this._more || (this.yytext = "", this.match = ""); | |
for (var o = this._currentRules(), s = 0; s < o.length; s++) | |
if ((n = this._input.match(this.rules[o[s]])) && (!t || n[0].length > t[0].length)) { | |
if (t = n, r = s, this.options.backtrack_lexer) { | |
if (!1 !== (e = this.test_match(n, o[s]))) return e; | |
if (this._backtrack) { | |
t = !1; | |
continue | |
} | |
return !1 | |
} | |
if (!this.options.flex) break | |
} return t ? !1 !== (e = this.test_match(t, o[r])) && e : "" === this._input ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), { | |
text: "", | |
token: null, | |
line: this.yylineno | |
}) | |
}, | |
lex: function() { | |
var e = this.next(); | |
return e || this.lex() | |
}, | |
begin: function(e) { | |
this.conditionStack.push(e) | |
}, | |
popState: function() { | |
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0] | |
}, | |
_currentRules: function() { | |
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules | |
}, | |
topState: function(e) { | |
return (e = this.conditionStack.length - 1 - Math.abs(e || 0)) >= 0 ? this.conditionStack[e] : "INITIAL" | |
}, | |
pushState: function(e) { | |
this.begin(e) | |
}, | |
stateStackSize: function() { | |
return this.conditionStack.length | |
}, | |
options: {}, | |
performAction: function(e, t, n, r) { | |
switch (n) { | |
case 0: | |
return 5; | |
case 1: | |
break; | |
case 2: | |
return 8; | |
case 3: | |
return 16; | |
case 4: | |
return 17; | |
case 5: | |
return 11; | |
case 6: | |
return 10; | |
case 7: | |
return 9; | |
case 8: | |
return 14; | |
case 9: | |
return 15; | |
case 10: | |
return 12; | |
case 11: | |
case 12: | |
case 13: | |
case 14: | |
case 15: | |
case 16: | |
case 17: | |
case 18: | |
case 19: | |
case 20: | |
case 21: | |
case 22: | |
case 23: | |
return 7; | |
case 24: | |
case 25: | |
case 26: | |
case 27: | |
case 28: | |
case 29: | |
case 30: | |
case 31: | |
return 13; | |
case 32: | |
return 7; | |
case 33: | |
return 13; | |
case 34: | |
return 7; | |
case 35: | |
return 13; | |
case 36: | |
return 7; | |
case 37: | |
case 38: | |
return 13; | |
case 39: | |
return 7; | |
case 40: | |
case 41: | |
case 42: | |
case 43: | |
case 44: | |
return 13; | |
case 45: | |
return 7; | |
case 46: | |
return 13; | |
case 47: | |
case 48: | |
case 49: | |
case 50: | |
case 51: | |
case 52: | |
case 53: | |
case 54: | |
case 55: | |
case 56: | |
case 57: | |
case 58: | |
case 59: | |
case 60: | |
case 61: | |
case 62: | |
return 7; | |
case 63: | |
return 13; | |
case 64: | |
case 65: | |
return 7; | |
case 66: | |
return 13; | |
case 67: | |
case 68: | |
case 69: | |
case 70: | |
case 71: | |
case 72: | |
return 7; | |
case 73: | |
return 13; | |
case 74: | |
return 7; | |
case 75: | |
return 13; | |
case 76: | |
case 77: | |
case 78: | |
case 79: | |
case 80: | |
case 81: | |
case 82: | |
case 83: | |
case 84: | |
case 85: | |
case 86: | |
case 87: | |
case 88: | |
case 89: | |
case 90: | |
case 91: | |
case 92: | |
case 93: | |
case 94: | |
case 95: | |
case 96: | |
case 97: | |
case 98: | |
case 99: | |
case 100: | |
case 101: | |
case 102: | |
case 103: | |
case 104: | |
case 105: | |
case 106: | |
case 107: | |
case 108: | |
case 109: | |
case 110: | |
case 111: | |
case 112: | |
case 113: | |
case 114: | |
case 115: | |
case 116: | |
case 117: | |
case 118: | |
case 119: | |
case 120: | |
case 121: | |
case 122: | |
case 123: | |
case 124: | |
case 125: | |
case 126: | |
case 127: | |
case 128: | |
case 129: | |
case 130: | |
case 131: | |
case 132: | |
case 133: | |
case 134: | |
case 135: | |
case 136: | |
case 137: | |
case 138: | |
case 139: | |
case 140: | |
case 141: | |
case 142: | |
case 143: | |
case 144: | |
case 145: | |
case 146: | |
case 147: | |
case 148: | |
case 149: | |
case 150: | |
case 151: | |
case 152: | |
case 153: | |
case 154: | |
case 155: | |
case 156: | |
case 157: | |
case 158: | |
case 159: | |
case 160: | |
case 161: | |
case 162: | |
case 163: | |
case 164: | |
case 165: | |
case 166: | |
case 167: | |
case 168: | |
case 169: | |
case 170: | |
case 171: | |
case 172: | |
case 173: | |
case 174: | |
case 175: | |
case 176: | |
case 177: | |
case 178: | |
case 179: | |
case 180: | |
case 181: | |
case 182: | |
case 183: | |
case 184: | |
case 185: | |
case 186: | |
case 187: | |
case 188: | |
case 189: | |
case 190: | |
case 191: | |
case 192: | |
case 193: | |
case 194: | |
case 195: | |
case 196: | |
case 197: | |
case 198: | |
case 199: | |
case 200: | |
case 201: | |
case 202: | |
case 203: | |
case 204: | |
case 205: | |
case 206: | |
case 207: | |
case 208: | |
case 209: | |
case 210: | |
case 211: | |
case 212: | |
case 213: | |
case 214: | |
case 215: | |
case 216: | |
case 217: | |
case 218: | |
case 219: | |
case 220: | |
case 221: | |
case 222: | |
case 223: | |
case 224: | |
case 225: | |
case 226: | |
case 227: | |
case 228: | |
case 229: | |
case 230: | |
case 231: | |
case 232: | |
case 233: | |
case 234: | |
case 235: | |
case 236: | |
case 237: | |
case 238: | |
case 239: | |
case 240: | |
case 241: | |
case 242: | |
case 243: | |
case 244: | |
case 245: | |
case 246: | |
case 247: | |
case 248: | |
case 249: | |
case 250: | |
case 251: | |
case 252: | |
case 253: | |
case 254: | |
case 255: | |
case 256: | |
case 257: | |
case 258: | |
case 259: | |
case 260: | |
case 261: | |
case 262: | |
case 263: | |
case 264: | |
case 265: | |
case 266: | |
case 267: | |
case 268: | |
case 269: | |
case 270: | |
case 271: | |
case 272: | |
case 273: | |
case 274: | |
case 275: | |
case 276: | |
case 277: | |
case 278: | |
case 279: | |
case 280: | |
case 281: | |
case 282: | |
case 283: | |
case 284: | |
case 285: | |
case 286: | |
case 287: | |
case 288: | |
case 289: | |
case 290: | |
case 291: | |
case 292: | |
case 293: | |
case 294: | |
case 295: | |
case 296: | |
case 297: | |
case 298: | |
case 299: | |
case 300: | |
case 301: | |
case 302: | |
case 303: | |
case 304: | |
case 305: | |
case 306: | |
case 307: | |
case 308: | |
case 309: | |
case 310: | |
case 311: | |
case 312: | |
case 313: | |
case 314: | |
case 315: | |
case 316: | |
case 317: | |
case 318: | |
case 319: | |
case 320: | |
case 321: | |
case 322: | |
case 323: | |
case 324: | |
case 325: | |
case 326: | |
case 327: | |
case 328: | |
case 329: | |
case 330: | |
case 331: | |
case 332: | |
case 333: | |
case 334: | |
case 335: | |
case 336: | |
case 337: | |
case 338: | |
case 339: | |
case 340: | |
case 341: | |
case 342: | |
case 343: | |
case 344: | |
case 345: | |
case 346: | |
case 347: | |
case 348: | |
case 349: | |
case 350: | |
case 351: | |
case 352: | |
case 353: | |
case 354: | |
case 355: | |
case 356: | |
case 357: | |
case 358: | |
case 359: | |
case 360: | |
case 361: | |
case 362: | |
case 363: | |
case 364: | |
return 7 | |
} | |
}, | |
rules: [/^(?:$)/, /^(?:\s+)/, /^(?:\+)/, /^(?:\()/, /^(?:\))/, /^(?::)/, /^(?:DocumentRef-([0-9A-Za-z-+.]+))/, /^(?:LicenseRef-([0-9A-Za-z-+.]+))/, /^(?:AND)/, /^(?:OR)/, /^(?:WITH)/, /^(?:BSD-3-Clause-No-Nuclear-License-2014)/, /^(?:BSD-3-Clause-No-Nuclear-Warranty)/, /^(?:GPL-2\.0-with-classpath-exception)/, /^(?:GPL-3\.0-with-autoconf-exception)/, /^(?:GPL-2\.0-with-autoconf-exception)/, /^(?:BSD-3-Clause-No-Nuclear-License)/, /^(?:MPL-2\.0-no-copyleft-exception)/, /^(?:GPL-2\.0-with-bison-exception)/, /^(?:GPL-2\.0-with-font-exception)/, /^(?:GPL-2\.0-with-GCC-exception)/, /^(?:CNRI-Python-GPL-Compatible)/, /^(?:GPL-3\.0-with-GCC-exception)/, /^(?:BSD-3-Clause-Attribution)/, /^(?:Classpath-exception-2\.0)/, /^(?:WxWindows-exception-3\.1)/, /^(?:freertos-exception-2\.0)/, /^(?:Autoconf-exception-3\.0)/, /^(?:i2p-gpl-java-exception)/, /^(?:gnu-javamail-exception)/, /^(?:Nokia-Qt-exception-1\.1)/, /^(?:Autoconf-exception-2\.0)/, /^(?:BSD-2-Clause-FreeBSD)/, /^(?:u-boot-exception-2\.0)/, /^(?:zlib-acknowledgement)/, /^(?:Bison-exception-2\.2)/, /^(?:BSD-2-Clause-NetBSD)/, /^(?:CLISP-exception-2\.0)/, /^(?:eCos-exception-2\.0)/, /^(?:BSD-3-Clause-Clear)/, /^(?:Font-exception-2\.0)/, /^(?:FLTK-exception-2\.0)/, /^(?:GCC-exception-2\.0)/, /^(?:Qwt-exception-1\.0)/, /^(?:Libtool-exception)/, /^(?:BSD-3-Clause-LBNL)/, /^(?:GCC-exception-3\.1)/, /^(?:Artistic-1\.0-Perl)/, /^(?:Artistic-1\.0-cl8)/, /^(?:CC-BY-NC-SA-2\.5)/, /^(?:MIT-advertising)/, /^(?:BSD-Source-Code)/, /^(?:CC-BY-NC-SA-4\.0)/, /^(?:LiLiQ-Rplus-1\.1)/, /^(?:CC-BY-NC-SA-3\.0)/, /^(?:BSD-4-Clause-UC)/, /^(?:CC-BY-NC-SA-2\.0)/, /^(?:CC-BY-NC-SA-1\.0)/, /^(?:CC-BY-NC-ND-4\.0)/, /^(?:CC-BY-NC-ND-3\.0)/, /^(?:CC-BY-NC-ND-2\.5)/, /^(?:CC-BY-NC-ND-2\.0)/, /^(?:CC-BY-NC-ND-1\.0)/, /^(?:LZMA-exception)/, /^(?:BitTorrent-1\.1)/, /^(?:CrystalStacker)/, /^(?:FLTK-exception)/, /^(?:SugarCRM-1\.1\.3)/, /^(?:BSD-Protection)/, /^(?:BitTorrent-1\.0)/, /^(?:HaskellReport)/, /^(?:Interbase-1\.0)/, /^(?:StandardML-NJ)/, /^(?:mif-exception)/, /^(?:Frameworx-1\.0)/, /^(?:389-exception)/, /^(?:CC-BY-NC-2\.0)/, /^(?:CC-BY-NC-2\.5)/, /^(?:CC-BY-NC-3\.0)/, /^(?:CC-BY-NC-4\.0)/, /^(?:W3C-19980720)/, /^(?:CC-BY-SA-1\.0)/, /^(?:CC-BY-SA-2\.0)/, /^(?:CC-BY-SA-2\.5)/, /^(?:CC-BY-ND-2\.0)/, /^(?:CC-BY-SA-4\.0)/, /^(?:CC-BY-SA-3\.0)/, /^(?:Artistic-1\.0)/, /^(?:Artistic-2\.0)/, /^(?:CC-BY-ND-2\.5)/, /^(?:CC-BY-ND-3\.0)/, /^(?:CC-BY-ND-4\.0)/, /^(?:CC-BY-ND-1\.0)/, /^(?:BSD-4-Clause)/, /^(?:BSD-3-Clause)/, /^(?:BSD-2-Clause)/, /^(?:CC-BY-NC-1\.0)/, /^(?:bzip2-1\.0\.6)/, /^(?:Unicode-TOU)/, /^(?:CNRI-Jython)/, /^(?:ImageMagick)/, /^(?:Adobe-Glyph)/, /^(?:CUA-OPL-1\.0)/, /^(?:OLDAP-2\.2\.2)/, /^(?:LiLiQ-R-1\.1)/, /^(?:bzip2-1\.0\.5)/, /^(?:LiLiQ-P-1\.1)/, /^(?:OLDAP-2\.0\.1)/, /^(?:OLDAP-2\.2\.1)/, /^(?:CNRI-Python)/, /^(?:XFree86-1\.1)/, /^(?:OSET-PL-2\.1)/, /^(?:Apache-2\.0)/, /^(?:Watcom-1\.0)/, /^(?:PostgreSQL)/, /^(?:Python-2\.0)/, /^(?:RHeCos-1\.1)/, /^(?:EUDatagrid)/, /^(?:Spencer-99)/, /^(?:Intel-ACPI)/, /^(?:CECILL-1\.0)/, /^(?:CECILL-1\.1)/, /^(?:JasPer-2\.0)/, /^(?:CECILL-2\.0)/, /^(?:CECILL-2\.1)/, /^(?:gSOAP-1\.3b)/, /^(?:Spencer-94)/, /^(?:Apache-1\.1)/, /^(?:Spencer-86)/, /^(?:Apache-1\.0)/, /^(?:ClArtistic)/, /^(?:TORQUE-1\.1)/, /^(?:CATOSL-1\.1)/, /^(?:Adobe-2006)/, /^(?:Zimbra-1\.4)/, /^(?:Zimbra-1\.3)/, /^(?:Condor-1\.1)/, /^(?:CC-BY-3\.0)/, /^(?:CC-BY-2\.5)/, /^(?:OLDAP-2\.4)/, /^(?:SGI-B-1\.1)/, /^(?:SISSL-1\.2)/, /^(?:SGI-B-1\.0)/, /^(?:OLDAP-2\.3)/, /^(?:CC-BY-4\.0)/, /^(?:Crossword)/, /^(?:SimPL-2\.0)/, /^(?:OLDAP-2\.2)/, /^(?:OLDAP-2\.1)/, /^(?:ErlPL-1\.1)/, /^(?:LPPL-1\.3a)/, /^(?:LPPL-1\.3c)/, /^(?:OLDAP-2\.0)/, /^(?:Leptonica)/, /^(?:CPOL-1\.02)/, /^(?:OLDAP-1\.4)/, /^(?:OLDAP-1\.3)/, /^(?:CC-BY-2\.0)/, /^(?:Unlicense)/, /^(?:OLDAP-2\.8)/, /^(?:OLDAP-1\.2)/, /^(?:MakeIndex)/, /^(?:OLDAP-2\.7)/, /^(?:OLDAP-1\.1)/, /^(?:Sleepycat)/, /^(?:D-FSL-1\.0)/, /^(?:CC-BY-1\.0)/, /^(?:OLDAP-2\.6)/, /^(?:WXwindows)/, /^(?:NPOSL-3\.0)/, /^(?:FreeImage)/, /^(?:SGI-B-2\.0)/, /^(?:OLDAP-2\.5)/, /^(?:Beerware)/, /^(?:Newsletr)/, /^(?:NBPL-1\.0)/, /^(?:NASA-1\.3)/, /^(?:NLOD-1\.0)/, /^(?:AGPL-1\.0)/, /^(?:OCLC-2\.0)/, /^(?:ODbL-1\.0)/, /^(?:PDDL-1\.0)/, /^(?:Motosoto)/, /^(?:Afmparse)/, /^(?:ANTLR-PD)/, /^(?:LPL-1\.02)/, /^(?:Abstyles)/, /^(?:eCos-2\.0)/, /^(?:APSL-1\.0)/, /^(?:LPPL-1\.2)/, /^(?:LPPL-1\.1)/, /^(?:LPPL-1\.0)/, /^(?:APSL-1\.1)/, /^(?:APSL-2\.0)/, /^(?:Info-ZIP)/, /^(?:Zend-2\.0)/, /^(?:IBM-pibs)/, /^(?:LGPL-2\.0)/, /^(?:LGPL-3\.0)/, /^(?:LGPL-2\.1)/, /^(?:GFDL-1\.3)/, /^(?:PHP-3\.01)/, /^(?:GFDL-1\.2)/, /^(?:GFDL-1\.1)/, /^(?:AGPL-3\.0)/, /^(?:Giftware)/, /^(?:EUPL-1\.1)/, /^(?:RPSL-1\.0)/, /^(?:EUPL-1\.0)/, /^(?:MIT-enna)/, /^(?:CECILL-B)/, /^(?:diffmark)/, /^(?:CECILL-C)/, /^(?:CDDL-1\.0)/, /^(?:Sendmail)/, /^(?:CDDL-1\.1)/, /^(?:CPAL-1\.0)/, /^(?:APSL-1\.2)/, /^(?:NPL-1\.1)/, /^(?:AFL-1\.2)/, /^(?:Caldera)/, /^(?:AFL-2\.0)/, /^(?:FSFULLR)/, /^(?:AFL-2\.1)/, /^(?:VSL-1\.0)/, /^(?:VOSTROM)/, /^(?:UPL-1\.0)/, /^(?:Dotseqn)/, /^(?:CPL-1\.0)/, /^(?:dvipdfm)/, /^(?:EPL-1\.0)/, /^(?:OCCT-PL)/, /^(?:ECL-1\.0)/, /^(?:Latex2e)/, /^(?:ECL-2\.0)/, /^(?:GPL-1\.0)/, /^(?:GPL-2\.0)/, /^(?:GPL-3\.0)/, /^(?:AFL-3\.0)/, /^(?:LAL-1\.2)/, /^(?:LAL-1\.3)/, /^(?:EFL-1\.0)/, /^(?:EFL-2\.0)/, /^(?:gnuplot)/, /^(?:Aladdin)/, /^(?:LPL-1\.0)/, /^(?:libtiff)/, /^(?:Entessa)/, /^(?:AMDPLPA)/, /^(?:IPL-1\.0)/, /^(?:OPL-1\.0)/, /^(?:OSL-1\.0)/, /^(?:OSL-1\.1)/, /^(?:OSL-2\.0)/, /^(?:OSL-2\.1)/, /^(?:OSL-3\.0)/, /^(?:OpenSSL)/, /^(?:ZPL-2\.1)/, /^(?:PHP-3\.0)/, /^(?:ZPL-2\.0)/, /^(?:ZPL-1\.1)/, /^(?:CC0-1\.0)/, /^(?:SPL-1\.0)/, /^(?:psutils)/, /^(?:MPL-1\.0)/, /^(?:QPL-1\.0)/, /^(?:MPL-1\.1)/, /^(?:MPL-2\.0)/, /^(?:APL-1\.0)/, /^(?:RPL-1\.1)/, /^(?:RPL-1\.5)/, /^(?:MIT-CMU)/, /^(?:Multics)/, /^(?:Eurosym)/, /^(?:BSL-1\.0)/, /^(?:MIT-feh)/, /^(?:Saxpath)/, /^(?:Borceux)/, /^(?:OFL-1\.1)/, /^(?:OFL-1\.0)/, /^(?:AFL-1\.1)/, /^(?:YPL-1\.1)/, /^(?:YPL-1\.0)/, /^(?:NPL-1\.0)/, /^(?:iMatix)/, /^(?:mpich2)/, /^(?:APAFML)/, /^(?:Bahyph)/, /^(?:RSA-MD)/, /^(?:psfrag)/, /^(?:Plexus)/, /^(?:eGenix)/, /^(?:Glulxe)/, /^(?:SAX-PD)/, /^(?:Imlib2)/, /^(?:Wsuipa)/, /^(?:LGPLLR)/, /^(?:Libpng)/, /^(?:xinetd)/, /^(?:MITNFA)/, /^(?:NetCDF)/, /^(?:Naumen)/, /^(?:SMPPL)/, /^(?:Nunit)/, /^(?:FSFUL)/, /^(?:GL2PS)/, /^(?:SMLNJ)/, /^(?:Rdisc)/, /^(?:Noweb)/, /^(?:Nokia)/, /^(?:SISSL)/, /^(?:Qhull)/, /^(?:Intel)/, /^(?:Glide)/, /^(?:Xerox)/, /^(?:AMPAS)/, /^(?:WTFPL)/, /^(?:MS-PL)/, /^(?:XSkat)/, /^(?:MS-RL)/, /^(?:MirOS)/, /^(?:RSCPL)/, /^(?:TMate)/, /^(?:OGTSL)/, /^(?:FSFAP)/, /^(?:NCSA)/, /^(?:Zlib)/, /^(?:SCEA)/, /^(?:SNIA)/, /^(?:NGPL)/, /^(?:NOSL)/, /^(?:ADSL)/, /^(?:MTLL)/, /^(?:NLPL)/, /^(?:Ruby)/, /^(?:JSON)/, /^(?:Barr)/, /^(?:0BSD)/, /^(?:Xnet)/, /^(?:Cube)/, /^(?:curl)/, /^(?:DSDP)/, /^(?:Fair)/, /^(?:HPND)/, /^(?:TOSL)/, /^(?:IJG)/, /^(?:SWL)/, /^(?:Vim)/, /^(?:FTL)/, /^(?:ICU)/, /^(?:OML)/, /^(?:NRL)/, /^(?:DOC)/, /^(?:TCL)/, /^(?:W3C)/, /^(?:NTP)/, /^(?:IPA)/, /^(?:ISC)/, /^(?:X11)/, /^(?:AAL)/, /^(?:AML)/, /^(?:xpp)/, /^(?:Zed)/, /^(?:MIT)/, /^(?:Mup)/], | |
conditions: { | |
INITIAL: { | |
rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364], | |
inclusive: !0 | |
} | |
} | |
}; | |
return l.lexer = d, e.prototype = l, l.Parser = e, new e | |
}(); | |
t.parser = r, t.Parser = r.Parser, t.parse = function() { | |
return r.parse.apply(r, arguments) | |
}, t.main = function(e) { | |
e[1] || (console.log("Usage: " + e[0] + " FILE"), process.exit(1)); | |
var r = n(3).readFileSync(n(0).normalize(e[1]), "utf8"); | |
return t.parser.parse(r) | |
}, void 0 !== e && n.c[n.s] === e && t.main(process.argv.slice(1)) | |
}).call(t, n("./node_modules/webpack/buildin/module.js")(e)) | |
}, | |
"./node_modules/spdx-license-ids/spdx-license-ids.json": function(e, t) { | |
e.exports = ["Glide", "Abstyles", "AFL-1.1", "AFL-1.2", "AFL-2.0", "AFL-2.1", "AFL-3.0", "AMPAS", "APL-1.0", "Adobe-Glyph", "APAFML", "Adobe-2006", "AGPL-1.0", "Afmparse", "Aladdin", "ADSL", "AMDPLPA", "ANTLR-PD", "Apache-1.0", "Apache-1.1", "Apache-2.0", "AML", "APSL-1.0", "APSL-1.1", "APSL-1.2", "APSL-2.0", "Artistic-1.0", "Artistic-1.0-Perl", "Artistic-1.0-cl8", "Artistic-2.0", "AAL", "Bahyph", "Barr", "Beerware", "BitTorrent-1.0", "BitTorrent-1.1", "BSL-1.0", "Borceux", "BSD-2-Clause", "BSD-2-Clause-FreeBSD", "BSD-2-Clause-NetBSD", "BSD-3-Clause", "BSD-3-Clause-Clear", "BSD-4-Clause", "BSD-Protection", "BSD-Source-Code", "BSD-3-Clause-Attribution", "0BSD", "BSD-4-Clause-UC", "bzip2-1.0.5", "bzip2-1.0.6", "Caldera", "CECILL-1.0", "CECILL-1.1", "CECILL-2.0", "CECILL-2.1", "CECILL-B", "CECILL-C", "ClArtistic", "MIT-CMU", "CNRI-Jython", "CNRI-Python", "CNRI-Python-GPL-Compatible", "CPOL-1.02", "CDDL-1.0", "CDDL-1.1", "CPAL-1.0", "CPL-1.0", "CATOSL-1.1", "Condor-1.1", "CC-BY-1.0", "CC-BY-2.0", "CC-BY-2.5", "CC-BY-3.0", "CC-BY-4.0", "CC-BY-ND-1.0", "CC-BY-ND-2.0", "CC-BY-ND-2.5", "CC-BY-ND-3.0", "CC-BY-ND-4.0", "CC-BY-NC-1.0", "CC-BY-NC-2.0", "CC-BY-NC-2.5", "CC-BY-NC-3.0", "CC-BY-NC-4.0", "CC-BY-NC-ND-1.0", "CC-BY-NC-ND-2.0", "CC-BY-NC-ND-2.5", "CC-BY-NC-ND-3.0", "CC-BY-NC-ND-4.0", "CC-BY-NC-SA-1.0", "CC-BY-NC-SA-2.0", "CC-BY-NC-SA-2.5", "CC-BY-NC-SA-3.0", "CC-BY-NC-SA-4.0", "CC-BY-SA-1.0", "CC-BY-SA-2.0", "CC-BY-SA-2.5", "CC-BY-SA-3.0", "CC-BY-SA-4.0", "CC0-1.0", "Crossword", "CrystalStacker", "CUA-OPL-1.0", "Cube", "curl", "D-FSL-1.0", "diffmark", "WTFPL", "DOC", "Dotseqn", "DSDP", "dvipdfm", "EPL-1.0", "ECL-1.0", "ECL-2.0", "eGenix", "EFL-1.0", "EFL-2.0", "MIT-advertising", "MIT-enna", "Entessa", "ErlPL-1.1", "EUDatagrid", "EUPL-1.0", "EUPL-1.1", "Eurosym", "Fair", "MIT-feh", "Frameworx-1.0", "FreeImage", "FTL", "FSFAP", "FSFUL", "FSFULLR", "Giftware", "GL2PS", "Glulxe", "AGPL-3.0", "GFDL-1.1", "GFDL-1.2", "GFDL-1.3", "GPL-1.0", "GPL-2.0", "GPL-3.0", "LGPL-2.1", "LGPL-3.0", "LGPL-2.0", "gnuplot", "gSOAP-1.3b", "HaskellReport", "HPND", "IBM-pibs", "IPL-1.0", "ICU", "ImageMagick", "iMatix", "Imlib2", "IJG", "Info-ZIP", "Intel-ACPI", "Intel", "Interbase-1.0", "IPA", "ISC", "JasPer-2.0", "JSON", "LPPL-1.0", "LPPL-1.1", "LPPL-1.2", "LPPL-1.3a", "LPPL-1.3c", "Latex2e", "BSD-3-Clause-LBNL", "Leptonica", "LGPLLR", "Libpng", "libtiff", "LAL-1.2", "LAL-1.3", "LiLiQ-P-1.1", "LiLiQ-Rplus-1.1", "LiLiQ-R-1.1", "LPL-1.02", "LPL-1.0", "MakeIndex", "MTLL", "MS-PL", "MS-RL", "MirOS", "MITNFA", "MIT", "Motosoto", "MPL-1.0", "MPL-1.1", "MPL-2.0", "MPL-2.0-no-copyleft-exception", "mpich2", "Multics", "Mup", "NASA-1.3", "Naumen", "NBPL-1.0", "NetCDF", "NGPL", "NOSL", "NPL-1.0", "NPL-1.1", "Newsletr", "NLPL", "Nokia", "NPOSL-3.0", "NLOD-1.0", "Noweb", "NRL", "NTP", "Nunit", "OCLC-2.0", "ODbL-1.0", "PDDL-1.0", "OCCT-PL", "OGTSL", "OLDAP-2.2.2", "OLDAP-1.1", "OLDAP-1.2", "OLDAP-1.3", "OLDAP-1.4", "OLDAP-2.0", "OLDAP-2.0.1", "OLDAP-2.1", "OLDAP-2.2", "OLDAP-2.2.1", "OLDAP-2.3", "OLDAP-2.4", "OLDAP-2.5", "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.8", "OML", "OPL-1.0", "OSL-1.0", "OSL-1.1", "OSL-2.0", "OSL-2.1", "OSL-3.0", "OpenSSL", "OSET-PL-2.1", "PHP-3.0", "PHP-3.01", "Plexus", "PostgreSQL", "psfrag", "psutils", "Python-2.0", "QPL-1.0", "Qhull", "Rdisc", "RPSL-1.0", "RPL-1.1", "RPL-1.5", "RHeCos-1.1", "RSCPL", "RSA-MD", "Ruby", "SAX-PD", "Saxpath", "SCEA", "SWL", "SMPPL", "Sendmail", "SGI-B-1.0", "SGI-B-1.1", "SGI-B-2.0", "OFL-1.0", "OFL-1.1", "SimPL-2.0", "Sleepycat", "SNIA", "Spencer-86", "Spencer-94", "Spencer-99", "SMLNJ", "SugarCRM-1.1.3", "SISSL", "SISSL-1.2", "SPL-1.0", "Watcom-1.0", "TCL", "Unlicense", "TMate", "TORQUE-1.1", "TOSL", "Unicode-TOU", "UPL-1.0", "NCSA", "Vim", "VOSTROM", "VSL-1.0", "W3C-19980720", "W3C", "Wsuipa", "Xnet", "X11", "Xerox", "XFree86-1.1", "xinetd", "xpp", "XSkat", "YPL-1.0", "YPL-1.1", "Zed", "Zend-2.0", "Zimbra-1.3", "Zimbra-1.4", "Zlib", "zlib-acknowledgement", "ZPL-1.1", "ZPL-2.0", "ZPL-2.1", "BSD-3-Clause-No-Nuclear-License", "BSD-3-Clause-No-Nuclear-Warranty", "BSD-3-Clause-No-Nuclear-License-2014", "eCos-2.0", "GPL-2.0-with-autoconf-exception", "GPL-2.0-with-bison-exception", "GPL-2.0-with-classpath-exception", "GPL-2.0-with-font-exception", "GPL-2.0-with-GCC-exception", "GPL-3.0-with-autoconf-exception", "GPL-3.0-with-GCC-exception", "StandardML-NJ", "WXwindows"] | |
}, | |
"./node_modules/stream-combiner/index.js": function(e, t, n) { | |
var r = n("./node_modules/duplexer/index.js"); | |
e.exports = function() { | |
function e(t) { | |
t.length < 2 || (t[0].pipe(t[1]), e(t.slice(1))) | |
} | |
function t() { | |
var e = [].slice.call(arguments); | |
e.unshift("error"), a.emit.apply(a, e) | |
} | |
var n = [].slice.call(arguments), | |
o = n[0], | |
s = n[n.length - 1], | |
a = r(o, s); | |
if (1 == n.length) return n[0]; | |
if (!n.length) throw new Error("connect called with empty args"); | |
e(n); | |
for (var i = 1; i < n.length - 1; i++) n[i].on("error", t); | |
return a | |
} | |
}, | |
"./node_modules/string-width/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/strip-ansi/index.js"), | |
o = n("./node_modules/code-point-at/index.js"), | |
s = n("./node_modules/is-fullwidth-code-point/index.js"); | |
e.exports = function(e) { | |
if ("string" != typeof e || 0 === e.length) return 0; | |
var t = 0; | |
e = r(e); | |
for (var n = 0; n < e.length; n++) { | |
var a = o(e, n); | |
a <= 31 || a >= 127 && a <= 159 || (a >= 65536 && n++, s(a) ? t += 2 : t++) | |
} | |
return t | |
} | |
}, | |
"./node_modules/strip-ansi/index.js": function(e, t, n) { | |
"use strict"; | |
var r = n("./node_modules/ansi-regex/index.js")(); | |
e.exports = function(e) { | |
return "string" == typeof e ? e.replace(r, "") : e | |
} | |
}, | |
"./node_modules/through/index.js": function(e, t, n) { | |
function r(e, t, n) { | |
function r() { | |
for (; i.length && !c.paused;) { | |
var e = i.shift(); | |
if (null === e) return c.emit("end"); | |
c.emit("data", e) | |
} | |
} | |
e = e || function(e) { | |
this.queue(e) | |
}, t = t || function() { | |
this.queue(null) | |
}; | |
var s = !1, | |
a = !1, | |
i = [], | |
u = !1, | |
c = new o; | |
return c.readable = c.writable = !0, c.paused = !1, c.autoDestroy = !(n && !1 === n.autoDestroy), c.write = function(t) { | |
return e.call(this, t), !c.paused | |
}, c.queue = c.push = function(e) { | |
return u ? c : (null === e && (u = !0), i.push(e), r(), c) | |
}, c.on("end", function() { | |
c.readable = !1, !c.writable && c.autoDestroy && process.nextTick(function() { | |
c.destroy() | |
}) | |
}), c.end = function(e) { | |
if (!s) return s = !0, arguments.length && c.write(e), c.writable = !1, t.call(c), !c.readable && c.autoDestroy && c.destroy(), c | |
}, c.destroy = function() { | |
if (!a) return a = !0, s = !0, i.length = 0, c.writable = c.readable = !1, c.emit("close"), c | |
}, c.pause = function() { | |
if (!c.paused) return c.paused = !0, c | |
}, c.resume = function() { | |
return c.paused && (c.paused = !1, c.emit("resume")), r(), c.paused || c.emit("drain"), c | |
}, c | |
} | |
var o = n(4); | |
e.exports = r, r.through = r | |
}, | |
"./node_modules/uuid/lib/bytesToUuid.js": function(e, t) { | |
for (var n = [], r = 0; r < 256; ++r) n[r] = (r + 256).toString(16).substr(1); | |
e.exports = function(e, t) { | |
var r = t || 0, | |
o = n; | |
return o[e[r++]] + o[e[r++]] + o[e[r++]] + o[e[r++]] + "-" + o[e[r++]] + o[e[r++]] + "-" + o[e[r++]] + o[e[r++]] + "-" + o[e[r++]] + o[e[r++]] + "-" + o[e[r++]] + o[e[r++]] + o[e[r++]] + o[e[r++]] + o[e[r++]] + o[e[r++]] | |
} | |
}, | |
"./node_modules/uuid/lib/rng.js": function(e, t, n) { | |
var r = n(2).randomBytes; | |
e.exports = function() { | |
return r(16) | |
} | |
}, | |
"./node_modules/uuid/v4.js": function(e, t, n) { | |
var r = n("./node_modules/uuid/lib/rng.js"), | |
o = n("./node_modules/uuid/lib/bytesToUuid.js"); | |
e.exports = function(e, t, n) { | |
var s = t && n || 0; | |
"string" == typeof e && (t = "binary" == e ? new Array(16) : null, e = null); | |
var a = (e = e || {}).random || (e.rng || r)(); | |
if (a[6] = 15 & a[6] | 64, a[8] = 63 & a[8] | 128, t) | |
for (var i = 0; i < 16; ++i) t[s + i] = a[i]; | |
return t || o(a) | |
} | |
}, | |
"./node_modules/validate-npm-package-license/index.js": function(e, t, n) { | |
function r(e, t) { | |
return t.slice(0, e.length) === e | |
} | |
function o(e) { | |
if (e.hasOwnProperty("license")) { | |
var t = e.license; | |
return r("LicenseRef", t) || r("DocumentRef", t) | |
} | |
return o(e.left) || o(e.right) | |
} | |
var s = n("./node_modules/spdx-expression-parse/index.js"), | |
a = n("./node_modules/spdx-correct/index.js"), | |
i = 'license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"', | |
u = /^SEE LICEN[CS]E IN (.+)$/; | |
e.exports = function(e) { | |
var t; | |
try { | |
t = s(e) | |
} catch (t) { | |
var n; | |
if ("UNLICENSED" === e || "UNLICENCED" === e) return { | |
validForOldPackages: !0, | |
validForNewPackages: !0, | |
unlicensed: !0 | |
}; | |
if (n = u.exec(e)) return { | |
validForOldPackages: !0, | |
validForNewPackages: !0, | |
inFile: n[1] | |
}; | |
var r = { | |
validForOldPackages: !1, | |
validForNewPackages: !1, | |
warnings: [i] | |
}, | |
c = a(e); | |
return c && r.warnings.push('license is similar to the valid expression "' + c + '"'), r | |
} | |
return o(t) ? { | |
validForNewPackages: !1, | |
validForOldPackages: !1, | |
spdx: !0, | |
warnings: [i] | |
} : { | |
validForNewPackages: !0, | |
validForOldPackages: !0, | |
spdx: !0 | |
} | |
} | |
}, | |
"./node_modules/webpack/buildin/module.js": function(e, t) { | |
e.exports = function(e) { | |
return e.webpackPolyfill || (e.deprecate = function() {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, "loaded", { | |
enumerable: !0, | |
get: function() { | |
return e.l | |
} | |
}), Object.defineProperty(e, "id", { | |
enumerable: !0, | |
get: function() { | |
return e.i | |
} | |
}), e.webpackPolyfill = 1), e | |
} | |
}, | |
"./node_modules/which-module/index.js": function(e, t, n) { | |
"use strict"; | |
e.exports = function(e) { | |
for (var t, r = 0, o = Object.keys(n.c); r < o.length; r++) | |
if ((t = n.c[o[r]]).exports === e) return t; | |
return null | |
} | |
}, | |
"./node_modules/wrap-ansi/index.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return u[0] + "[" + e + "m" | |
} | |
function o(e, t, n) { | |
for (var r = !1, o = i(e[e.length - 1]).length, s = 0; s < t.length; s++) { | |
var a = t[s]; | |
if (e[e.length - 1] += a, -1 !== u.indexOf(a)) r = !0; | |
else if (r && "m" === a) { | |
r = !1; | |
continue | |
} | |
r || ++o >= n && s < t.length - 1 && (e.push(""), o = 0) | |
}!o && e[e.length - 1].length > 0 && e.length > 1 && (e[e.length - 2] += e.pop()) | |
} | |
function s(e, t, n) { | |
for (var s, i, d = n || {}, m = "", p = "", f = function(e) { | |
return e.split(" ").map(function(e) { | |
return a(e) | |
}) | |
}(e), h = e.split(" "), v = [""], _ = 0; void 0 !== (i = h[_]); _++) { | |
var g = a(v[v.length - 1]); | |
if (g && (v[v.length - 1] += " ", g++), f[_] > t && d.hard) g && v.push(""), o(v, i, t); | |
else { | |
if (g + f[_] > t && g > 0) { | |
if (!1 === d.wordWrap && g < t) { | |
o(v, i, t); | |
continue | |
} | |
v.push("") | |
} | |
v[v.length - 1] += i | |
} | |
} | |
m = v.map(function(e) { | |
return e.trim() | |
}).join("\n"); | |
for (var y = 0; y < m.length; y++) { | |
var b = m[y]; | |
if (p += b, -1 !== u.indexOf(b)) { | |
var j = parseFloat(/[0-9][^m]*/.exec(m.slice(y, y + 4))); | |
s = j === c ? null : j | |
} | |
s && l[s] && ("\n" === m[y + 1] ? p += r(l[s]) : "\n" === b && (p += r(s))) | |
} | |
return p | |
} | |
var a = n("./node_modules/string-width/index.js"), | |
i = n("./node_modules/strip-ansi/index.js"), | |
u = ["", ""], | |
c = 39, | |
l = { | |
0: 0, | |
1: 22, | |
2: 22, | |
3: 23, | |
4: 24, | |
7: 27, | |
8: 28, | |
9: 29, | |
30: 39, | |
31: 39, | |
32: 39, | |
33: 39, | |
34: 39, | |
35: 39, | |
36: 39, | |
37: 39, | |
90: 39, | |
40: 49, | |
41: 49, | |
42: 49, | |
43: 49, | |
44: 49, | |
45: 49, | |
46: 49, | |
47: 49 | |
}; | |
e.exports = function(e, t, n) { | |
return String(e).split("\n").map(function(e) { | |
return s(e, t, n) | |
}).join("\n") | |
} | |
}, | |
"./node_modules/xml2js/lib/bom.js": function(e, t) { | |
(function() { | |
"use strict"; | |
t.stripBOM = function(e) { | |
return "\ufeff" === e[0] ? e.substring(1) : e | |
} | |
}).call(this) | |
}, | |
"./node_modules/xml2js/lib/builder.js": function(e, t, n) { | |
(function() { | |
"use strict"; | |
var e, r, o, s, a, i = {}.hasOwnProperty; | |
e = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/index.js"), r = n("./node_modules/xml2js/lib/defaults.js").defaults, s = function(e) { | |
return "string" == typeof e && (e.indexOf("&") >= 0 || e.indexOf(">") >= 0 || e.indexOf("<") >= 0) | |
}, a = function(e) { | |
return "<![CDATA[" + o(e) + "]]>" | |
}, o = function(e) { | |
return e.replace("]]>", "]]]]><![CDATA[>") | |
}, t.Builder = function() { | |
function t(e) { | |
var t, n, o; | |
this.options = {}, n = r[.2]; | |
for (t in n) i.call(n, t) && (o = n[t], this.options[t] = o); | |
for (t in e) i.call(e, t) && (o = e[t], this.options[t] = o) | |
} | |
return t.prototype.buildObject = function(t) { | |
var n, o, u, c, l; | |
return n = this.options.attrkey, o = this.options.charkey, 1 === Object.keys(t).length && this.options.rootName === r[.2].rootName ? t = t[l = Object.keys(t)[0]] : l = this.options.rootName, u = function(e) { | |
return function(t, r) { | |
var c, l, d, m, p, f; | |
if ("object" != typeof r) e.options.cdata && s(r) ? t.raw(a(r)) : t.txt(r); | |
else if (Array.isArray(r)) { | |
for (m in r) | |
if (i.call(r, m)) { | |
l = r[m]; | |
for (p in l) d = l[p], t = u(t.ele(p), d).up() | |
} | |
} else | |
for (p in r) | |
if (i.call(r, p)) | |
if (l = r[p], p === n) { | |
if ("object" == typeof l) | |
for (c in l) f = l[c], t = t.att(c, f) | |
} else if (p === o) t = e.options.cdata && s(l) ? t.raw(a(l)) : t.txt(l); | |
else if (Array.isArray(l)) | |
for (m in l) i.call(l, m) && (t = "string" == typeof(d = l[m]) ? e.options.cdata && s(d) ? t.ele(p).raw(a(d)).up() : t.ele(p, d).up() : u(t.ele(p), d).up()); | |
else "object" == typeof l ? t = u(t.ele(p), l).up() : "string" == typeof l && e.options.cdata && s(l) ? t = t.ele(p).raw(a(l)).up() : (null == l && (l = ""), t = t.ele(p, l.toString()).up()); | |
return t | |
} | |
}(this), c = e.create(l, this.options.xmldec, this.options.doctype, { | |
headless: this.options.headless, | |
allowSurrogateChars: this.options.allowSurrogateChars | |
}), u(c, t).end(this.options.renderOpts) | |
}, t | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/lib/defaults.js": function(e, t) { | |
(function() { | |
t.defaults = { | |
.1: { | |
explicitCharkey: !1, | |
trim: !0, | |
normalize: !0, | |
normalizeTags: !1, | |
attrkey: "@", | |
charkey: "#", | |
explicitArray: !1, | |
ignoreAttrs: !1, | |
mergeAttrs: !1, | |
explicitRoot: !1, | |
validator: null, | |
xmlns: !1, | |
explicitChildren: !1, | |
childkey: "@@", | |
charsAsChildren: !1, | |
includeWhiteChars: !1, | |
async: !1, | |
strict: !0, | |
attrNameProcessors: null, | |
attrValueProcessors: null, | |
tagNameProcessors: null, | |
valueProcessors: null, | |
emptyTag: "" | |
}, | |
.2: { | |
explicitCharkey: !1, | |
trim: !1, | |
normalize: !1, | |
normalizeTags: !1, | |
attrkey: "$", | |
charkey: "_", | |
explicitArray: !0, | |
ignoreAttrs: !1, | |
mergeAttrs: !1, | |
explicitRoot: !0, | |
validator: null, | |
xmlns: !1, | |
explicitChildren: !1, | |
preserveChildrenOrder: !1, | |
childkey: "$$", | |
charsAsChildren: !1, | |
includeWhiteChars: !1, | |
async: !1, | |
strict: !0, | |
attrNameProcessors: null, | |
attrValueProcessors: null, | |
tagNameProcessors: null, | |
valueProcessors: null, | |
rootName: "root", | |
xmldec: { | |
version: "1.0", | |
encoding: "UTF-8", | |
standalone: !0 | |
}, | |
doctype: null, | |
renderOpts: { | |
pretty: !0, | |
indent: " ", | |
newline: "\n" | |
}, | |
headless: !1, | |
chunkSize: 1e4, | |
emptyTag: "", | |
cdata: !1 | |
} | |
} | |
}).call(this) | |
}, | |
"./node_modules/xml2js/lib/parser.js": function(e, t, n) { | |
(function() { | |
"use strict"; | |
var e, r, o, s, a, i, u, c, l = function(e, t) { | |
return function() { | |
return e.apply(t, arguments) | |
} | |
}, | |
d = {}.hasOwnProperty; | |
u = n("./node_modules/sax/lib/sax.js"), o = n(7), e = n("./node_modules/xml2js/lib/bom.js"), i = n("./node_modules/xml2js/lib/processors.js"), c = n(23).setImmediate, r = n("./node_modules/xml2js/lib/defaults.js").defaults, s = function(e) { | |
return "object" == typeof e && null != e && 0 === Object.keys(e).length | |
}, a = function(e, t, n) { | |
var r, o; | |
for (r = 0, o = e.length; r < o; r++) t = (0, e[r])(t, n); | |
return t | |
}, t.Parser = function(n) { | |
function m(e) { | |
this.parseString = l(this.parseString, this), this.reset = l(this.reset, this), this.assignOrPush = l(this.assignOrPush, this), this.processAsync = l(this.processAsync, this); | |
var n, o, s; | |
if (!(this instanceof t.Parser)) return new t.Parser(e); | |
this.options = {}, o = r[.2]; | |
for (n in o) d.call(o, n) && (s = o[n], this.options[n] = s); | |
for (n in e) d.call(e, n) && (s = e[n], this.options[n] = s); | |
this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + "ns"), this.options.normalizeTags && (this.options.tagNameProcessors || (this.options.tagNameProcessors = []), this.options.tagNameProcessors.unshift(i.normalize)), this.reset() | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) d.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(m, o.EventEmitter), m.prototype.processAsync = function() { | |
var e, t; | |
try { | |
return this.remaining.length <= this.options.chunkSize ? (e = this.remaining, this.remaining = "", this.saxParser = this.saxParser.write(e), this.saxParser.close()) : (e = this.remaining.substr(0, this.options.chunkSize), this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length), this.saxParser = this.saxParser.write(e), c(this.processAsync)) | |
} catch (e) { | |
if (t = e, !this.saxParser.errThrown) return this.saxParser.errThrown = !0, this.emit(t) | |
} | |
}, m.prototype.assignOrPush = function(e, t, n) { | |
return t in e ? (e[t] instanceof Array || (e[t] = [e[t]]), e[t].push(n)) : this.options.explicitArray ? e[t] = [n] : e[t] = n | |
}, m.prototype.reset = function() { | |
var e, t, n, r; | |
return this.removeAllListeners(), this.saxParser = u.parser(this.options.strict, { | |
trim: !1, | |
normalize: !1, | |
xmlns: this.options.xmlns | |
}), this.saxParser.errThrown = !1, this.saxParser.onerror = function(e) { | |
return function(t) { | |
if (e.saxParser.resume(), !e.saxParser.errThrown) return e.saxParser.errThrown = !0, e.emit("error", t) | |
} | |
}(this), this.saxParser.onend = function(e) { | |
return function() { | |
if (!e.saxParser.ended) return e.saxParser.ended = !0, e.emit("end", e.resultObject) | |
} | |
}(this), this.saxParser.ended = !1, this.EXPLICIT_CHARKEY = this.options.explicitCharkey, this.resultObject = null, r = [], e = this.options.attrkey, t = this.options.charkey, this.saxParser.onopentag = function(n) { | |
return function(o) { | |
var s, i, u, c, l; | |
if (u = {}, u[t] = "", !n.options.ignoreAttrs) { | |
l = o.attributes; | |
for (s in l) d.call(l, s) && (e in u || n.options.mergeAttrs || (u[e] = {}), i = n.options.attrValueProcessors ? a(n.options.attrValueProcessors, o.attributes[s], s) : o.attributes[s], c = n.options.attrNameProcessors ? a(n.options.attrNameProcessors, s) : s, n.options.mergeAttrs ? n.assignOrPush(u, c, i) : u[e][c] = i) | |
} | |
return u["#name"] = n.options.tagNameProcessors ? a(n.options.tagNameProcessors, o.name) : o.name, n.options.xmlns && (u[n.options.xmlnskey] = { | |
uri: o.uri, | |
local: o.local | |
}), r.push(u) | |
} | |
}(this), this.saxParser.onclosetag = function(e) { | |
return function() { | |
var n, o, i, u, c, l, m, p, f, h; | |
if (l = r.pop(), c = l["#name"], e.options.explicitChildren && e.options.preserveChildrenOrder || delete l["#name"], !0 === l.cdata && (n = l.cdata, delete l.cdata), f = r[r.length - 1], l[t].match(/^\s*$/) && !n ? (o = l[t], delete l[t]) : (e.options.trim && (l[t] = l[t].trim()), e.options.normalize && (l[t] = l[t].replace(/\s{2,}/g, " ").trim()), l[t] = e.options.valueProcessors ? a(e.options.valueProcessors, l[t], c) : l[t], 1 === Object.keys(l).length && t in l && !e.EXPLICIT_CHARKEY && (l = l[t])), s(l) && (l = "" !== e.options.emptyTag ? e.options.emptyTag : o), null != e.options.validator && (h = "/" + function() { | |
var e, t, n; | |
for (n = [], e = 0, t = r.length; e < t; e++) u = r[e], n.push(u["#name"]); | |
return n | |
}().concat(c).join("/"), function() { | |
var t; | |
try { | |
l = e.options.validator(h, f && f[c], l) | |
} catch (n) { | |
return t = n, e.emit("error", t) | |
} | |
}()), e.options.explicitChildren && !e.options.mergeAttrs && "object" == typeof l) | |
if (e.options.preserveChildrenOrder) { | |
if (f) { | |
f[e.options.childkey] = f[e.options.childkey] || [], m = {}; | |
for (i in l) d.call(l, i) && (m[i] = l[i]); | |
f[e.options.childkey].push(m), delete l["#name"], 1 === Object.keys(l).length && t in l && !e.EXPLICIT_CHARKEY && (l = l[t]) | |
} | |
} else u = {}, e.options.attrkey in l && (u[e.options.attrkey] = l[e.options.attrkey], delete l[e.options.attrkey]), !e.options.charsAsChildren && e.options.charkey in l && (u[e.options.charkey] = l[e.options.charkey], delete l[e.options.charkey]), Object.getOwnPropertyNames(l).length > 0 && (u[e.options.childkey] = l), l = u; | |
return r.length > 0 ? e.assignOrPush(f, c, l) : (e.options.explicitRoot && (p = l, (l = {})[c] = p), e.resultObject = l, e.saxParser.ended = !0, e.emit("end", e.resultObject)) | |
} | |
}(this), n = function(e) { | |
return function(n) { | |
var o, s; | |
if (s = r[r.length - 1]) return s[t] += n, e.options.explicitChildren && e.options.preserveChildrenOrder && e.options.charsAsChildren && (e.options.includeWhiteChars || "" !== n.replace(/\\n/g, "").trim()) && (s[e.options.childkey] = s[e.options.childkey] || [], (o = { | |
"#name": "__text__" | |
})[t] = n, e.options.normalize && (o[t] = o[t].replace(/\s{2,}/g, " ").trim()), s[e.options.childkey].push(o)), s | |
} | |
}(this), this.saxParser.ontext = n, this.saxParser.oncdata = function(e) { | |
var t; | |
if (t = n(e)) return t.cdata = !0 | |
} | |
}, m.prototype.parseString = function(t, n) { | |
var r; | |
null != n && "function" == typeof n && (this.on("end", function(e) { | |
return this.reset(), n(null, e) | |
}), this.on("error", function(e) { | |
return this.reset(), n(e) | |
})); | |
try { | |
return "" === (t = t.toString()).trim() ? (this.emit("end", null), !0) : (t = e.stripBOM(t), this.options.async ? (this.remaining = t, c(this.processAsync), this.saxParser) : this.saxParser.write(t).close()) | |
} catch (e) { | |
if (r = e, !this.saxParser.errThrown && !this.saxParser.ended) return this.emit("error", r), this.saxParser.errThrown = !0; | |
if (this.saxParser.ended) throw r | |
} | |
}, m | |
}(), t.parseString = function(e, n, r) { | |
var o, s; | |
return null != r ? ("function" == typeof r && (o = r), "object" == typeof n && (s = n)) : ("function" == typeof n && (o = n), s = {}), new t.Parser(s).parseString(e, o) | |
} | |
}).call(this) | |
}, | |
"./node_modules/xml2js/lib/processors.js": function(e, t) { | |
(function() { | |
"use strict"; | |
var e; | |
e = new RegExp(/(?!xmlns)^.*:/), t.normalize = function(e) { | |
return e.toLowerCase() | |
}, t.firstCharLowerCase = function(e) { | |
return e.charAt(0).toLowerCase() + e.slice(1) | |
}, t.stripPrefix = function(t) { | |
return t.replace(e, "") | |
}, t.parseNumbers = function(e) { | |
return isNaN(e) || (e = e % 1 == 0 ? parseInt(e, 10) : parseFloat(e)), e | |
}, t.parseBooleans = function(e) { | |
return /^(?:true|false)$/i.test(e) && (e = "true" === e.toLowerCase()), e | |
} | |
}).call(this) | |
}, | |
"./node_modules/xml2js/lib/xml2js.js": function(e, t, n) { | |
(function() { | |
"use strict"; | |
var e, r, o, s, a = {}.hasOwnProperty; | |
r = n("./node_modules/xml2js/lib/defaults.js"), e = n("./node_modules/xml2js/lib/builder.js"), o = n("./node_modules/xml2js/lib/parser.js"), s = n("./node_modules/xml2js/lib/processors.js"), t.defaults = r.defaults, t.processors = s, t.ValidationError = function(e) { | |
function t(e) { | |
this.message = e | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) a.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(t, Error), t | |
}(), t.Builder = e.Builder, t.Parser = o.Parser, t.parseString = o.parseString | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js": function(e, t) { | |
(function() { | |
var t, n, r, o, s, a, i = [].slice, | |
u = {}.hasOwnProperty; | |
t = function() { | |
var e, t, n, r, s, a; | |
if (a = arguments[0], s = 2 <= arguments.length ? i.call(arguments, 1) : [], o(Object.assign)) Object.assign.apply(null, arguments); | |
else | |
for (e = 0, n = s.length; e < n; e++) | |
if (null != (r = s[e])) | |
for (t in r) u.call(r, t) && (a[t] = r[t]); | |
return a | |
}, o = function(e) { | |
return !!e && "[object Function]" === Object.prototype.toString.call(e) | |
}, s = function(e) { | |
var t; | |
return !!e && ("function" == (t = typeof e) || "object" === t) | |
}, n = function(e) { | |
return o(Array.isArray) ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e) | |
}, r = function(e) { | |
var t; | |
if (n(e)) return !e.length; | |
for (t in e) | |
if (u.call(e, t)) return !1; | |
return !0 | |
}, a = function(e) { | |
var t, n; | |
return s(e) && (n = Object.getPrototypeOf(e)) && (t = n.constructor) && "function" == typeof t && t instanceof t && Function.prototype.toString.call(t) === Function.prototype.toString.call(Object) | |
}, e.exports.assign = t, e.exports.isFunction = o, e.exports.isObject = s, e.exports.isArray = n, e.exports.isEmpty = r, e.exports.isPlainObject = a | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js": function(e, t) { | |
(function() { | |
e.exports = function() { | |
function e(e, t, n) { | |
if (this.options = e.options, this.stringify = e.stringify, null == t) throw new Error("Missing attribute name of element " + e.name); | |
if (null == n) throw new Error("Missing attribute value for attribute " + t + " of element " + e.name); | |
this.name = this.stringify.attName(t), this.value = this.stringify.attValue(n) | |
} | |
return e.prototype.clone = function() { | |
return Object.create(this) | |
}, e.prototype.toString = function(e) { | |
return this.options.writer.set(e).attribute(this) | |
}, e | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing CDATA text"); | |
this.text = this.stringify.cdata(t) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.clone = function() { | |
return Object.create(this) | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).cdata(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing comment text"); | |
this.text = this.stringify.comment(t) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.clone = function() { | |
return Object.create(this) | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).comment(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t, r, o, s, a) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing DTD element name"); | |
if (null == r) throw new Error("Missing DTD attribute name"); | |
if (!o) throw new Error("Missing DTD attribute type"); | |
if (!s) throw new Error("Missing DTD attribute default"); | |
if (0 !== s.indexOf("#") && (s = "#" + s), !s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); | |
if (a && !s.match(/^(#FIXED|#DEFAULT)$/)) throw new Error("Default value only applies to #FIXED or #DEFAULT"); | |
this.elementName = this.stringify.eleName(t), this.attributeName = this.stringify.attName(r), this.attributeType = this.stringify.dtdAttType(o), this.defaultValue = this.stringify.dtdAttDefault(a), this.defaultValueType = s | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.toString = function(e) { | |
return this.options.writer.set(e).dtdAttList(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t, r) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing DTD element name"); | |
r || (r = "(#PCDATA)"), Array.isArray(r) && (r = "(" + r.join(",") + ")"), this.name = this.stringify.eleName(t), this.value = this.stringify.dtdElementValue(r) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.toString = function(e) { | |
return this.options.writer.set(e).dtdElement(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js": function(e, t, n) { | |
(function() { | |
var t, r, o = {}.hasOwnProperty; | |
r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js").isObject, t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t, o, s) { | |
if (n.__super__.constructor.call(this, e), null == o) throw new Error("Missing entity name"); | |
if (null == s) throw new Error("Missing entity value"); | |
if (this.pe = !!t, this.name = this.stringify.eleName(o), r(s)) { | |
if (!s.pubID && !s.sysID) throw new Error("Public and/or system identifiers are required for an external entity"); | |
if (s.pubID && !s.sysID) throw new Error("System identifier is required for a public external entity"); | |
if (null != s.pubID && (this.pubID = this.stringify.dtdPubID(s.pubID)), null != s.sysID && (this.sysID = this.stringify.dtdSysID(s.sysID)), null != s.nData && (this.nData = this.stringify.dtdNData(s.nData)), this.pe && this.nData) throw new Error("Notation declaration is not allowed in a parameter entity") | |
} else this.value = this.stringify.dtdEntityValue(s) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) o.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.toString = function(e) { | |
return this.options.writer.set(e).dtdEntity(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t, r) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing notation name"); | |
if (!r.pubID && !r.sysID) throw new Error("Public or system identifiers are required for an external entity"); | |
this.name = this.stringify.eleName(t), null != r.pubID && (this.pubID = this.stringify.dtdPubID(r.pubID)), null != r.sysID && (this.sysID = this.stringify.dtdSysID(r.sysID)) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.toString = function(e) { | |
return this.options.writer.set(e).dtdNotation(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js": function(e, t, n) { | |
(function() { | |
var t, r, o = {}.hasOwnProperty; | |
r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js").isObject, t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t, o, s) { | |
var a; | |
n.__super__.constructor.call(this, e), r(t) && (t = (a = t).version, o = a.encoding, s = a.standalone), t || (t = "1.0"), this.version = this.stringify.xmlVersion(t), null != o && (this.encoding = this.stringify.xmlEncoding(o)), null != s && (this.standalone = this.stringify.xmlStandalone(s)) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) o.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.toString = function(e) { | |
return this.options.writer.set(e).declaration(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i, u = {}.hasOwnProperty; | |
i = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js").isObject, a = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js"), s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js"), e.exports = function(e) { | |
function n(e, t, r) { | |
var o, s; | |
n.__super__.constructor.call(this, e), this.documentObject = e, i(t) && (t = (o = t).pubID, r = o.sysID), null == r && (r = (s = [t, r])[0], t = s[1]), null != t && (this.pubID = this.stringify.dtdPubID(t)), null != r && (this.sysID = this.stringify.dtdSysID(r)) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) u.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, a), n.prototype.element = function(e, t) { | |
var n; | |
return n = new r(this, e, t), this.children.push(n), this | |
}, n.prototype.attList = function(e, n, r, o, s) { | |
var a; | |
return a = new t(this, e, n, r, o, s), this.children.push(a), this | |
}, n.prototype.entity = function(e, t) { | |
var n; | |
return n = new o(this, !1, e, t), this.children.push(n), this | |
}, n.prototype.pEntity = function(e, t) { | |
var n; | |
return n = new o(this, !0, e, t), this.children.push(n), this | |
}, n.prototype.notation = function(e, t) { | |
var n; | |
return n = new s(this, e, t), this.children.push(n), this | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).docType(this) | |
}, n.prototype.ele = function(e, t) { | |
return this.element(e, t) | |
}, n.prototype.att = function(e, t, n, r, o) { | |
return this.attList(e, t, n, r, o) | |
}, n.prototype.ent = function(e, t) { | |
return this.entity(e, t) | |
}, n.prototype.pent = function(e, t) { | |
return this.pEntity(e, t) | |
}, n.prototype.not = function(e, t) { | |
return this.notation(e, t) | |
}, n.prototype.up = function() { | |
return this.root() || this.documentObject | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a = {}.hasOwnProperty; | |
s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js").isPlainObject, t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js"), e.exports = function(e) { | |
function n(e) { | |
n.__super__.constructor.call(this, null), e || (e = {}), e.writer || (e.writer = new r), this.options = e, this.stringify = new o(e), this.isDocument = !0 | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) a.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.end = function(e) { | |
var t; | |
return e ? s(e) && (t = e, e = this.options.writer.set(t)) : e = this.options.writer, e.document(this) | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).document(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i, u, c, l, d, m, p, f, h, v, _, g, y, b, j = {}.hasOwnProperty; | |
b = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js"), g = b.isObject, _ = b.isFunction, y = b.isPlainObject, d = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js"), p = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js"), v = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js"), m = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"), c = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js"), l = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js"), s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js"), i = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js"), a = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js"), u = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js"), t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js"), h = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js"), f = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js"), e.exports = function() { | |
function e(e, t, n) { | |
var r; | |
e || (e = {}), e.writer ? y(e.writer) && (r = e.writer, e.writer = new f(r)) : e.writer = new f(e), this.options = e, this.writer = e.writer, this.stringify = new h(e), this.onDataCallback = t || function() {}, this.onEndCallback = n || function() {}, this.currentNode = null, this.currentLevel = -1, this.openTags = {}, this.documentStarted = !1, this.documentCompleted = !1, this.root = null | |
} | |
return e.prototype.node = function(e, t, n) { | |
var r; | |
if (null == e) throw new Error("Missing node name"); | |
if (this.root && -1 === this.currentLevel) throw new Error("Document can only have one root node"); | |
return this.openCurrent(), e = e.valueOf(), null == t && (t = {}), t = t.valueOf(), g(t) || (n = (r = [t, n])[0], t = r[1]), this.currentNode = new d(this, e, t), this.currentNode.children = !1, this.currentLevel++, this.openTags[this.currentLevel] = this.currentNode, null != n && this.text(n), this | |
}, e.prototype.element = function(e, t, n) { | |
return this.currentNode && this.currentNode instanceof l ? this.dtdElement.apply(this, arguments) : this.node(e, t, n) | |
}, e.prototype.attribute = function(e, n) { | |
var r, o; | |
if (!this.currentNode || this.currentNode.children) throw new Error("att() can only be used immediately after an ele() call in callback mode"); | |
if (null != e && (e = e.valueOf()), g(e)) | |
for (r in e) j.call(e, r) && (o = e[r], this.attribute(r, o)); | |
else _(n) && (n = n.apply()), this.options.skipNullAttributes && null == n || (this.currentNode.attributes[e] = new t(this, e, n)); | |
return this | |
}, e.prototype.text = function(e) { | |
var t; | |
return this.openCurrent(), t = new v(this, e), this.onData(this.writer.text(t, this.currentLevel + 1)), this | |
}, e.prototype.cdata = function(e) { | |
var t; | |
return this.openCurrent(), t = new r(this, e), this.onData(this.writer.cdata(t, this.currentLevel + 1)), this | |
}, e.prototype.comment = function(e) { | |
var t; | |
return this.openCurrent(), t = new o(this, e), this.onData(this.writer.comment(t, this.currentLevel + 1)), this | |
}, e.prototype.raw = function(e) { | |
var t; | |
return this.openCurrent(), t = new p(this, e), this.onData(this.writer.raw(t, this.currentLevel + 1)), this | |
}, e.prototype.instruction = function(e, t) { | |
var n, r, o, s, a; | |
if (this.openCurrent(), null != e && (e = e.valueOf()), null != t && (t = t.valueOf()), Array.isArray(e)) | |
for (n = 0, s = e.length; n < s; n++) r = e[n], this.instruction(r); | |
else if (g(e)) | |
for (r in e) j.call(e, r) && (o = e[r], this.instruction(r, o)); | |
else _(t) && (t = t.apply()), a = new m(this, e, t), this.onData(this.writer.processingInstruction(a, this.currentLevel + 1)); | |
return this | |
}, e.prototype.declaration = function(e, t, n) { | |
var r; | |
if (this.openCurrent(), this.documentStarted) throw new Error("declaration() must be the first node"); | |
return r = new c(this, e, t, n), this.onData(this.writer.declaration(r, this.currentLevel + 1)), this | |
}, e.prototype.doctype = function(e, t, n) { | |
if (this.openCurrent(), null == e) throw new Error("Missing root node name"); | |
if (this.root) throw new Error("dtd() must come before the root node"); | |
return this.currentNode = new l(this, t, n), this.currentNode.rootNodeName = e, this.currentNode.children = !1, this.currentLevel++, this.openTags[this.currentLevel] = this.currentNode, this | |
}, e.prototype.dtdElement = function(e, t) { | |
var n; | |
return this.openCurrent(), n = new a(this, e, t), this.onData(this.writer.dtdElement(n, this.currentLevel + 1)), this | |
}, e.prototype.attList = function(e, t, n, r, o) { | |
var a; | |
return this.openCurrent(), a = new s(this, e, t, n, r, o), this.onData(this.writer.dtdAttList(a, this.currentLevel + 1)), this | |
}, e.prototype.entity = function(e, t) { | |
var n; | |
return this.openCurrent(), n = new i(this, !1, e, t), this.onData(this.writer.dtdEntity(n, this.currentLevel + 1)), this | |
}, e.prototype.pEntity = function(e, t) { | |
var n; | |
return this.openCurrent(), n = new i(this, !0, e, t), this.onData(this.writer.dtdEntity(n, this.currentLevel + 1)), this | |
}, e.prototype.notation = function(e, t) { | |
var n; | |
return this.openCurrent(), n = new u(this, e, t), this.onData(this.writer.dtdNotation(n, this.currentLevel + 1)), this | |
}, e.prototype.up = function() { | |
if (this.currentLevel < 0) throw new Error("The document node has no parent"); | |
return this.currentNode ? (this.currentNode.children ? this.closeNode(this.currentNode) : this.openNode(this.currentNode), this.currentNode = null) : this.closeNode(this.openTags[this.currentLevel]), delete this.openTags[this.currentLevel], this.currentLevel--, this | |
}, e.prototype.end = function() { | |
for (; this.currentLevel >= 0;) this.up(); | |
return this.onEnd() | |
}, e.prototype.openCurrent = function() { | |
if (this.currentNode) return this.currentNode.children = !0, this.openNode(this.currentNode) | |
}, e.prototype.openNode = function(e) { | |
if (!e.isOpen) return !this.root && 0 === this.currentLevel && e instanceof d && (this.root = e), this.onData(this.writer.openNode(e, this.currentLevel)), e.isOpen = !0 | |
}, e.prototype.closeNode = function(e) { | |
if (!e.isClosed) return this.onData(this.writer.closeNode(e, this.currentLevel)), e.isClosed = !0 | |
}, e.prototype.onData = function(e) { | |
return this.documentStarted = !0, this.onDataCallback(e) | |
}, e.prototype.onEnd = function() { | |
return this.documentCompleted = !0, this.onEndCallback() | |
}, e.prototype.ele = function() { | |
return this.element.apply(this, arguments) | |
}, e.prototype.nod = function(e, t, n) { | |
return this.node(e, t, n) | |
}, e.prototype.txt = function(e) { | |
return this.text(e) | |
}, e.prototype.dat = function(e) { | |
return this.cdata(e) | |
}, e.prototype.com = function(e) { | |
return this.comment(e) | |
}, e.prototype.ins = function(e, t) { | |
return this.instruction(e, t) | |
}, e.prototype.dec = function(e, t, n) { | |
return this.declaration(e, t, n) | |
}, e.prototype.dtd = function(e, t, n) { | |
return this.doctype(e, t, n) | |
}, e.prototype.e = function(e, t, n) { | |
return this.element(e, t, n) | |
}, e.prototype.n = function(e, t, n) { | |
return this.node(e, t, n) | |
}, e.prototype.t = function(e) { | |
return this.text(e) | |
}, e.prototype.d = function(e) { | |
return this.cdata(e) | |
}, e.prototype.c = function(e) { | |
return this.comment(e) | |
}, e.prototype.r = function(e) { | |
return this.raw(e) | |
}, e.prototype.i = function(e, t) { | |
return this.instruction(e, t) | |
}, e.prototype.att = function() { | |
return this.currentNode && this.currentNode instanceof l ? this.attList.apply(this, arguments) : this.attribute.apply(this, arguments) | |
}, e.prototype.a = function() { | |
return this.currentNode && this.currentNode instanceof l ? this.attList.apply(this, arguments) : this.attribute.apply(this, arguments) | |
}, e.prototype.ent = function(e, t) { | |
return this.entity(e, t) | |
}, e.prototype.pent = function(e, t) { | |
return this.pEntity(e, t) | |
}, e.prototype.not = function(e, t) { | |
return this.notation(e, t) | |
}, e | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i = {}.hasOwnProperty; | |
a = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js"), s = a.isObject, o = a.isFunction, r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js"), e.exports = function(e) { | |
function n(e, t, r) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing element name"); | |
this.name = this.stringify.eleName(t), this.attributes = {}, null != r && this.attribute(r), e.isDocument && (this.isRoot = !0, this.documentObject = e, e.rootObject = this) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) i.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, r), n.prototype.clone = function() { | |
var e, t, n, r; | |
(n = Object.create(this)).isRoot && (n.documentObject = null), n.attributes = {}, r = this.attributes; | |
for (t in r) i.call(r, t) && (e = r[t], n.attributes[t] = e.clone()); | |
return n.children = [], this.children.forEach(function(e) { | |
var t; | |
return t = e.clone(), t.parent = n, n.children.push(t) | |
}), n | |
}, n.prototype.attribute = function(e, n) { | |
var r, a; | |
if (null != e && (e = e.valueOf()), s(e)) | |
for (r in e) i.call(e, r) && (a = e[r], this.attribute(r, a)); | |
else o(n) && (n = n.apply()), this.options.skipNullAttributes && null == n || (this.attributes[e] = new t(this, e, n)); | |
return this | |
}, n.prototype.removeAttribute = function(e) { | |
var t, n, r; | |
if (null == e) throw new Error("Missing attribute name"); | |
if (e = e.valueOf(), Array.isArray(e)) | |
for (n = 0, r = e.length; n < r; n++) t = e[n], delete this.attributes[t]; | |
else delete this.attributes[e]; | |
return this | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).element(this) | |
}, n.prototype.att = function(e, t) { | |
return this.attribute(e, t) | |
}, n.prototype.a = function(e, t) { | |
return this.attribute(e, t) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i, u, c, l, d, m, p, f = {}.hasOwnProperty; | |
p = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js"), m = p.isObject, d = p.isFunction, l = p.isEmpty, a = null, t = null, r = null, o = null, s = null, u = null, c = null, i = null, e.exports = function() { | |
function e(e) { | |
this.parent = e, this.parent && (this.options = this.parent.options, this.stringify = this.parent.stringify), this.children = [], a || (a = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js"), t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js"), s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js"), u = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js"), c = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js"), i = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js")) | |
} | |
return e.prototype.element = function(e, t, n) { | |
var r, o, s, a, i, u, c, p, h, v; | |
if (u = null, null == t && (t = {}), t = t.valueOf(), m(t) || (n = (h = [t, n])[0], t = h[1]), null != e && (e = e.valueOf()), Array.isArray(e)) | |
for (s = 0, c = e.length; s < c; s++) o = e[s], u = this.element(o); | |
else if (d(e)) u = this.element(e.apply()); | |
else if (m(e)) { | |
for (i in e) | |
if (f.call(e, i)) | |
if (v = e[i], d(v) && (v = v.apply()), m(v) && l(v) && (v = null), !this.options.ignoreDecorators && this.stringify.convertAttKey && 0 === i.indexOf(this.stringify.convertAttKey)) u = this.attribute(i.substr(this.stringify.convertAttKey.length), v); | |
else if (!this.options.separateArrayItems && Array.isArray(v)) | |
for (a = 0, p = v.length; a < p; a++) o = v[a], (r = {})[i] = o, u = this.element(r); | |
else m(v) ? (u = this.element(i)).element(v) : u = this.element(i, v) | |
} else u = !this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === e.indexOf(this.stringify.convertTextKey) ? this.text(n) : !this.options.ignoreDecorators && this.stringify.convertCDataKey && 0 === e.indexOf(this.stringify.convertCDataKey) ? this.cdata(n) : !this.options.ignoreDecorators && this.stringify.convertCommentKey && 0 === e.indexOf(this.stringify.convertCommentKey) ? this.comment(n) : !this.options.ignoreDecorators && this.stringify.convertRawKey && 0 === e.indexOf(this.stringify.convertRawKey) ? this.raw(n) : !this.options.ignoreDecorators && this.stringify.convertPIKey && 0 === e.indexOf(this.stringify.convertPIKey) ? this.instruction(e.substr(this.stringify.convertPIKey.length), n) : this.node(e, t, n); | |
if (null == u) throw new Error("Could not create any elements with: " + e); | |
return u | |
}, e.prototype.insertBefore = function(e, t, n) { | |
var r, o, s; | |
if (this.isRoot) throw new Error("Cannot insert elements at root level"); | |
return o = this.parent.children.indexOf(this), s = this.parent.children.splice(o), r = this.parent.element(e, t, n), Array.prototype.push.apply(this.parent.children, s), r | |
}, e.prototype.insertAfter = function(e, t, n) { | |
var r, o, s; | |
if (this.isRoot) throw new Error("Cannot insert elements at root level"); | |
return o = this.parent.children.indexOf(this), s = this.parent.children.splice(o + 1), r = this.parent.element(e, t, n), Array.prototype.push.apply(this.parent.children, s), r | |
}, e.prototype.remove = function() { | |
var e; | |
if (this.isRoot) throw new Error("Cannot remove the root element"); | |
return e = this.parent.children.indexOf(this), [].splice.apply(this.parent.children, [e, e - e + 1].concat([])), this.parent | |
}, e.prototype.node = function(e, t, n) { | |
var r, o; | |
return null != e && (e = e.valueOf()), t || (t = {}), t = t.valueOf(), m(t) || (n = (o = [t, n])[0], t = o[1]), r = new a(this, e, t), null != n && r.text(n), this.children.push(r), r | |
}, e.prototype.text = function(e) { | |
var t; | |
return t = new c(this, e), this.children.push(t), this | |
}, e.prototype.cdata = function(e) { | |
var n; | |
return n = new t(this, e), this.children.push(n), this | |
}, e.prototype.comment = function(e) { | |
var t; | |
return t = new r(this, e), this.children.push(t), this | |
}, e.prototype.commentBefore = function(e) { | |
var t, n; | |
return t = this.parent.children.indexOf(this), n = this.parent.children.splice(t), this.parent.comment(e), Array.prototype.push.apply(this.parent.children, n), this | |
}, e.prototype.commentAfter = function(e) { | |
var t, n; | |
return t = this.parent.children.indexOf(this), n = this.parent.children.splice(t + 1), this.parent.comment(e), Array.prototype.push.apply(this.parent.children, n), this | |
}, e.prototype.raw = function(e) { | |
var t; | |
return t = new u(this, e), this.children.push(t), this | |
}, e.prototype.instruction = function(e, t) { | |
var n, r, o, s, a; | |
if (null != e && (e = e.valueOf()), null != t && (t = t.valueOf()), Array.isArray(e)) | |
for (s = 0, a = e.length; s < a; s++) n = e[s], this.instruction(n); | |
else if (m(e)) | |
for (n in e) f.call(e, n) && (r = e[n], this.instruction(n, r)); | |
else d(t) && (t = t.apply()), o = new i(this, e, t), this.children.push(o); | |
return this | |
}, e.prototype.instructionBefore = function(e, t) { | |
var n, r; | |
return n = this.parent.children.indexOf(this), r = this.parent.children.splice(n), this.parent.instruction(e, t), Array.prototype.push.apply(this.parent.children, r), this | |
}, e.prototype.instructionAfter = function(e, t) { | |
var n, r; | |
return n = this.parent.children.indexOf(this), r = this.parent.children.splice(n + 1), this.parent.instruction(e, t), Array.prototype.push.apply(this.parent.children, r), this | |
}, e.prototype.declaration = function(e, t, n) { | |
var r, s; | |
return r = this.document(), s = new o(r, e, t, n), r.children[0] instanceof o ? r.children[0] = s : r.children.unshift(s), r.root() || r | |
}, e.prototype.doctype = function(e, t) { | |
var n, r, o, a, i, u, c, l, d; | |
for (n = this.document(), r = new s(n, e, t), o = a = 0, u = (l = n.children).length; a < u; o = ++a) | |
if (l[o] instanceof s) return n.children[o] = r, r; | |
for (o = i = 0, c = (d = n.children).length; i < c; o = ++i) | |
if (d[o].isRoot) return n.children.splice(o, 0, r), r; | |
return n.children.push(r), r | |
}, e.prototype.up = function() { | |
if (this.isRoot) throw new Error("The root node has no parent. Use doc() if you need to get the document object."); | |
return this.parent | |
}, e.prototype.root = function() { | |
var e; | |
for (e = this; e;) { | |
if (e.isDocument) return e.rootObject; | |
if (e.isRoot) return e; | |
e = e.parent | |
} | |
}, e.prototype.document = function() { | |
var e; | |
for (e = this; e;) { | |
if (e.isDocument) return e; | |
e = e.parent | |
} | |
}, e.prototype.end = function(e) { | |
return this.document().end(e) | |
}, e.prototype.prev = function() { | |
var e; | |
if ((e = this.parent.children.indexOf(this)) < 1) throw new Error("Already at the first node"); | |
return this.parent.children[e - 1] | |
}, e.prototype.next = function() { | |
var e; | |
if (-1 === (e = this.parent.children.indexOf(this)) || e === this.parent.children.length - 1) throw new Error("Already at the last node"); | |
return this.parent.children[e + 1] | |
}, e.prototype.importDocument = function(e) { | |
var t; | |
return t = e.root().clone(), t.parent = this, t.isRoot = !1, this.children.push(t), this | |
}, e.prototype.ele = function(e, t, n) { | |
return this.element(e, t, n) | |
}, e.prototype.nod = function(e, t, n) { | |
return this.node(e, t, n) | |
}, e.prototype.txt = function(e) { | |
return this.text(e) | |
}, e.prototype.dat = function(e) { | |
return this.cdata(e) | |
}, e.prototype.com = function(e) { | |
return this.comment(e) | |
}, e.prototype.ins = function(e, t) { | |
return this.instruction(e, t) | |
}, e.prototype.doc = function() { | |
return this.document() | |
}, e.prototype.dec = function(e, t, n) { | |
return this.declaration(e, t, n) | |
}, e.prototype.dtd = function(e, t) { | |
return this.doctype(e, t) | |
}, e.prototype.e = function(e, t, n) { | |
return this.element(e, t, n) | |
}, e.prototype.n = function(e, t, n) { | |
return this.node(e, t, n) | |
}, e.prototype.t = function(e) { | |
return this.text(e) | |
}, e.prototype.d = function(e) { | |
return this.cdata(e) | |
}, e.prototype.c = function(e) { | |
return this.comment(e) | |
}, e.prototype.r = function(e) { | |
return this.raw(e) | |
}, e.prototype.i = function(e, t) { | |
return this.instruction(e, t) | |
}, e.prototype.u = function() { | |
return this.up() | |
}, e.prototype.importXMLBuilder = function(e) { | |
return this.importDocument(e) | |
}, e | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t, r) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing instruction target"); | |
this.target = this.stringify.insTarget(t), r && (this.value = this.stringify.insValue(r)) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.clone = function() { | |
return Object.create(this) | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).processingInstruction(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing raw text"); | |
this.value = this.stringify.raw(t) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.clone = function() { | |
return Object.create(this) | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).raw(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i, u, c, l, d, m, p, f, h = {}.hasOwnProperty; | |
u = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js"), c = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js"), t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js"), l = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js"), m = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js"), p = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js"), d = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js"), s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js"), a = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js"), i = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js"), f = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js"), e.exports = function(e) { | |
function n(e, t) { | |
this.stream = e, n.__super__.constructor.call(this, t) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) h.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, f), n.prototype.document = function(e) { | |
var t, n, o, s, a, i, l, m; | |
for (n = 0, s = (i = e.children).length; n < s; n++)(t = i[n]).isLastRootNode = !1; | |
for (e.children[e.children.length - 1].isLastRootNode = !0, m = [], o = 0, a = (l = e.children).length; o < a; o++) switch (t = l[o], !1) { | |
case !(t instanceof u): | |
m.push(this.declaration(t)); | |
break; | |
case !(t instanceof c): | |
m.push(this.docType(t)); | |
break; | |
case !(t instanceof r): | |
m.push(this.comment(t)); | |
break; | |
case !(t instanceof d): | |
m.push(this.processingInstruction(t)); | |
break; | |
default: | |
m.push(this.element(t)) | |
} | |
return m | |
}, n.prototype.attribute = function(e) { | |
return this.stream.write(" " + e.name + '="' + e.value + '"') | |
}, n.prototype.cdata = function(e, t) { | |
return this.stream.write(this.space(t) + "<![CDATA[" + e.text + "]]>" + this.endline(e)) | |
}, n.prototype.comment = function(e, t) { | |
return this.stream.write(this.space(t) + "\x3c!-- " + e.text + " --\x3e" + this.endline(e)) | |
}, n.prototype.declaration = function(e, t) { | |
return this.stream.write(this.space(t)), this.stream.write('<?xml version="' + e.version + '"'), null != e.encoding && this.stream.write(' encoding="' + e.encoding + '"'), null != e.standalone && this.stream.write(' standalone="' + e.standalone + '"'), this.stream.write(this.spacebeforeslash + "?>"), this.stream.write(this.endline(e)) | |
}, n.prototype.docType = function(e, n) { | |
var u, c, l, m; | |
if (n || (n = 0), this.stream.write(this.space(n)), this.stream.write("<!DOCTYPE " + e.root().name), e.pubID && e.sysID ? this.stream.write(' PUBLIC "' + e.pubID + '" "' + e.sysID + '"') : e.sysID && this.stream.write(' SYSTEM "' + e.sysID + '"'), e.children.length > 0) { | |
for (this.stream.write(" ["), this.stream.write(this.endline(e)), c = 0, l = (m = e.children).length; c < l; c++) switch (u = m[c], !1) { | |
case !(u instanceof o): | |
this.dtdAttList(u, n + 1); | |
break; | |
case !(u instanceof s): | |
this.dtdElement(u, n + 1); | |
break; | |
case !(u instanceof a): | |
this.dtdEntity(u, n + 1); | |
break; | |
case !(u instanceof i): | |
this.dtdNotation(u, n + 1); | |
break; | |
case !(u instanceof t): | |
this.cdata(u, n + 1); | |
break; | |
case !(u instanceof r): | |
this.comment(u, n + 1); | |
break; | |
case !(u instanceof d): | |
this.processingInstruction(u, n + 1); | |
break; | |
default: | |
throw new Error("Unknown DTD node type: " + u.constructor.name) | |
} | |
this.stream.write("]") | |
} | |
return this.stream.write(this.spacebeforeslash + ">"), this.stream.write(this.endline(e)) | |
}, n.prototype.element = function(e, n) { | |
var o, s, a, i, u, c, f, v; | |
n || (n = 0), v = this.space(n), this.stream.write(v + "<" + e.name), c = e.attributes; | |
for (u in c) h.call(c, u) && (o = c[u], this.attribute(o)); | |
if (0 === e.children.length || e.children.every(function(e) { | |
return "" === e.value | |
})) this.allowEmpty ? this.stream.write("></" + e.name + ">") : this.stream.write(this.spacebeforeslash + "/>"); | |
else if (this.pretty && 1 === e.children.length && null != e.children[0].value) this.stream.write(">"), this.stream.write(e.children[0].value), this.stream.write("</" + e.name + ">"); | |
else { | |
for (this.stream.write(">" + this.newline), a = 0, i = (f = e.children).length; a < i; a++) switch (s = f[a], !1) { | |
case !(s instanceof t): | |
this.cdata(s, n + 1); | |
break; | |
case !(s instanceof r): | |
this.comment(s, n + 1); | |
break; | |
case !(s instanceof l): | |
this.element(s, n + 1); | |
break; | |
case !(s instanceof m): | |
this.raw(s, n + 1); | |
break; | |
case !(s instanceof p): | |
this.text(s, n + 1); | |
break; | |
case !(s instanceof d): | |
this.processingInstruction(s, n + 1); | |
break; | |
default: | |
throw new Error("Unknown XML node type: " + s.constructor.name) | |
} | |
this.stream.write(v + "</" + e.name + ">") | |
} | |
return this.stream.write(this.endline(e)) | |
}, n.prototype.processingInstruction = function(e, t) { | |
return this.stream.write(this.space(t) + "<?" + e.target), e.value && this.stream.write(" " + e.value), this.stream.write(this.spacebeforeslash + "?>" + this.endline(e)) | |
}, n.prototype.raw = function(e, t) { | |
return this.stream.write(this.space(t) + e.value + this.endline(e)) | |
}, n.prototype.text = function(e, t) { | |
return this.stream.write(this.space(t) + e.value + this.endline(e)) | |
}, n.prototype.dtdAttList = function(e, t) { | |
return this.stream.write(this.space(t) + "<!ATTLIST " + e.elementName + " " + e.attributeName + " " + e.attributeType), "#DEFAULT" !== e.defaultValueType && this.stream.write(" " + e.defaultValueType), e.defaultValue && this.stream.write(' "' + e.defaultValue + '"'), this.stream.write(this.spacebeforeslash + ">" + this.endline(e)) | |
}, n.prototype.dtdElement = function(e, t) { | |
return this.stream.write(this.space(t) + "<!ELEMENT " + e.name + " " + e.value), this.stream.write(this.spacebeforeslash + ">" + this.endline(e)) | |
}, n.prototype.dtdEntity = function(e, t) { | |
return this.stream.write(this.space(t) + "<!ENTITY"), e.pe && this.stream.write(" %"), this.stream.write(" " + e.name), e.value ? this.stream.write(' "' + e.value + '"') : (e.pubID && e.sysID ? this.stream.write(' PUBLIC "' + e.pubID + '" "' + e.sysID + '"') : e.sysID && this.stream.write(' SYSTEM "' + e.sysID + '"'), e.nData && this.stream.write(" NDATA " + e.nData)), this.stream.write(this.spacebeforeslash + ">" + this.endline(e)) | |
}, n.prototype.dtdNotation = function(e, t) { | |
return this.stream.write(this.space(t) + "<!NOTATION " + e.name), e.pubID && e.sysID ? this.stream.write(' PUBLIC "' + e.pubID + '" "' + e.sysID + '"') : e.pubID ? this.stream.write(' PUBLIC "' + e.pubID + '"') : e.sysID && this.stream.write(' SYSTEM "' + e.sysID + '"'), this.stream.write(this.spacebeforeslash + ">" + this.endline(e)) | |
}, n.prototype.endline = function(e) { | |
return e.isLastRootNode ? "" : this.newline | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i, u, c, l, d, m, p, f, h = {}.hasOwnProperty; | |
u = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js"), c = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js"), t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js"), l = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js"), m = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js"), p = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js"), d = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js"), s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js"), a = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js"), i = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js"), f = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js"), e.exports = function(e) { | |
function n(e) { | |
n.__super__.constructor.call(this, e) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var r in t) h.call(t, r) && (e[r] = t[r]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, f), n.prototype.document = function(e) { | |
var t, n, o, s, a; | |
for (this.textispresent = !1, s = "", n = 0, o = (a = e.children).length; n < o; n++) t = a[n], s += function() { | |
switch (!1) { | |
case !(t instanceof u): | |
return this.declaration(t); | |
case !(t instanceof c): | |
return this.docType(t); | |
case !(t instanceof r): | |
return this.comment(t); | |
case !(t instanceof d): | |
return this.processingInstruction(t); | |
default: | |
return this.element(t, 0) | |
} | |
}.call(this); | |
return this.pretty && s.slice(-this.newline.length) === this.newline && (s = s.slice(0, -this.newline.length)), s | |
}, n.prototype.attribute = function(e) { | |
return " " + e.name + '="' + e.value + '"' | |
}, n.prototype.cdata = function(e, t) { | |
return this.space(t) + "<![CDATA[" + e.text + "]]>" + this.newline | |
}, n.prototype.comment = function(e, t) { | |
return this.space(t) + "\x3c!-- " + e.text + " --\x3e" + this.newline | |
}, n.prototype.declaration = function(e, t) { | |
var n; | |
return n = this.space(t), n += '<?xml version="' + e.version + '"', null != e.encoding && (n += ' encoding="' + e.encoding + '"'), null != e.standalone && (n += ' standalone="' + e.standalone + '"'), n += this.spacebeforeslash + "?>", n += this.newline | |
}, n.prototype.docType = function(e, n) { | |
var u, c, l, m, p; | |
if (n || (n = 0), m = this.space(n), m += "<!DOCTYPE " + e.root().name, e.pubID && e.sysID ? m += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"' : e.sysID && (m += ' SYSTEM "' + e.sysID + '"'), e.children.length > 0) { | |
for (m += " [", m += this.newline, c = 0, l = (p = e.children).length; c < l; c++) u = p[c], m += function() { | |
switch (!1) { | |
case !(u instanceof o): | |
return this.dtdAttList(u, n + 1); | |
case !(u instanceof s): | |
return this.dtdElement(u, n + 1); | |
case !(u instanceof a): | |
return this.dtdEntity(u, n + 1); | |
case !(u instanceof i): | |
return this.dtdNotation(u, n + 1); | |
case !(u instanceof t): | |
return this.cdata(u, n + 1); | |
case !(u instanceof r): | |
return this.comment(u, n + 1); | |
case !(u instanceof d): | |
return this.processingInstruction(u, n + 1); | |
default: | |
throw new Error("Unknown DTD node type: " + u.constructor.name) | |
} | |
}.call(this); | |
m += "]" | |
} | |
return m += this.spacebeforeslash + ">", m += this.newline | |
}, n.prototype.element = function(e, n) { | |
var o, s, a, i, u, c, f, v, _, g, y, b, j; | |
n || (n = 0), j = !1, this.textispresent ? (this.newline = "", this.pretty = !1) : (this.newline = this.newlinedefault, this.pretty = this.prettydefault), v = "", v += (b = this.space(n)) + "<" + e.name, _ = e.attributes; | |
for (f in _) h.call(_, f) && (o = _[f], v += this.attribute(o)); | |
if (0 === e.children.length || e.children.every(function(e) { | |
return "" === e.value | |
})) this.allowEmpty ? v += "></" + e.name + ">" + this.newline : v += this.spacebeforeslash + "/>" + this.newline; | |
else if (this.pretty && 1 === e.children.length && null != e.children[0].value) v += ">", v += e.children[0].value, v += "</" + e.name + ">" + this.newline; | |
else { | |
if (this.dontprettytextnodes) | |
for (a = 0, u = (g = e.children).length; a < u; a++) | |
if (null != (s = g[a]).value) { | |
this.textispresent++, j = !0; | |
break | |
} for (this.textispresent && (this.newline = "", this.pretty = !1, b = this.space(n)), v += ">" + this.newline, i = 0, c = (y = e.children).length; i < c; i++) s = y[i], v += function() { | |
switch (!1) { | |
case !(s instanceof t): | |
return this.cdata(s, n + 1); | |
case !(s instanceof r): | |
return this.comment(s, n + 1); | |
case !(s instanceof l): | |
return this.element(s, n + 1); | |
case !(s instanceof m): | |
return this.raw(s, n + 1); | |
case !(s instanceof p): | |
return this.text(s, n + 1); | |
case !(s instanceof d): | |
return this.processingInstruction(s, n + 1); | |
default: | |
throw new Error("Unknown XML node type: " + s.constructor.name) | |
} | |
}.call(this); | |
j && this.textispresent--, this.textispresent || (this.newline = this.newlinedefault, this.pretty = this.prettydefault), v += b + "</" + e.name + ">" + this.newline | |
} | |
return v | |
}, n.prototype.processingInstruction = function(e, t) { | |
var n; | |
return n = this.space(t) + "<?" + e.target, e.value && (n += " " + e.value), n += this.spacebeforeslash + "?>" + this.newline | |
}, n.prototype.raw = function(e, t) { | |
return this.space(t) + e.value + this.newline | |
}, n.prototype.text = function(e, t) { | |
return this.space(t) + e.value + this.newline | |
}, n.prototype.dtdAttList = function(e, t) { | |
var n; | |
return n = this.space(t) + "<!ATTLIST " + e.elementName + " " + e.attributeName + " " + e.attributeType, "#DEFAULT" !== e.defaultValueType && (n += " " + e.defaultValueType), e.defaultValue && (n += ' "' + e.defaultValue + '"'), n += this.spacebeforeslash + ">" + this.newline | |
}, n.prototype.dtdElement = function(e, t) { | |
return this.space(t) + "<!ELEMENT " + e.name + " " + e.value + this.spacebeforeslash + ">" + this.newline | |
}, n.prototype.dtdEntity = function(e, t) { | |
var n; | |
return n = this.space(t) + "<!ENTITY", e.pe && (n += " %"), n += " " + e.name, e.value ? n += ' "' + e.value + '"' : (e.pubID && e.sysID ? n += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"' : e.sysID && (n += ' SYSTEM "' + e.sysID + '"'), e.nData && (n += " NDATA " + e.nData)), n += this.spacebeforeslash + ">" + this.newline | |
}, n.prototype.dtdNotation = function(e, t) { | |
var n; | |
return n = this.space(t) + "<!NOTATION " + e.name, e.pubID && e.sysID ? n += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"' : e.pubID ? n += ' PUBLIC "' + e.pubID + '"' : e.sysID && (n += ' SYSTEM "' + e.sysID + '"'), n += this.spacebeforeslash + ">" + this.newline | |
}, n.prototype.openNode = function(e, t) { | |
var n, r, o, s; | |
if (t || (t = 0), e instanceof l) { | |
o = this.space(t) + "<" + e.name, s = e.attributes; | |
for (r in s) h.call(s, r) && (n = s[r], o += this.attribute(n)); | |
return o += (e.children ? ">" : "/>") + this.newline | |
} | |
return o = this.space(t) + "<!DOCTYPE " + e.rootNodeName, e.pubID && e.sysID ? o += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"' : e.sysID && (o += ' SYSTEM "' + e.sysID + '"'), o += (e.children ? " [" : ">") + this.newline | |
}, n.prototype.closeNode = function(e, t) { | |
switch (t || (t = 0), !1) { | |
case !(e instanceof l): | |
return this.space(t) + "</" + e.name + ">" + this.newline; | |
case !(e instanceof c): | |
return this.space(t) + "]>" + this.newline | |
} | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js": function(e, t) { | |
(function() { | |
var t = function(e, t) { | |
return function() { | |
return e.apply(t, arguments) | |
} | |
}, | |
n = {}.hasOwnProperty; | |
e.exports = function() { | |
function e(e) { | |
this.assertLegalChar = t(this.assertLegalChar, this); | |
var r, o, s; | |
e || (e = {}), this.noDoubleEncoding = e.noDoubleEncoding, o = e.stringify || {}; | |
for (r in o) n.call(o, r) && (s = o[r], this[r] = s) | |
} | |
return e.prototype.eleName = function(e) { | |
return e = "" + e || "", this.assertLegalChar(e) | |
}, e.prototype.eleText = function(e) { | |
return e = "" + e || "", this.assertLegalChar(this.elEscape(e)) | |
}, e.prototype.cdata = function(e) { | |
return e = "" + e || "", e = e.replace("]]>", "]]]]><![CDATA[>"), this.assertLegalChar(e) | |
}, e.prototype.comment = function(e) { | |
if ((e = "" + e || "").match(/--/)) throw new Error("Comment text cannot contain double-hypen: " + e); | |
return this.assertLegalChar(e) | |
}, e.prototype.raw = function(e) { | |
return "" + e || "" | |
}, e.prototype.attName = function(e) { | |
return e = "" + e || "" | |
}, e.prototype.attValue = function(e) { | |
return e = "" + e || "", this.attEscape(e) | |
}, e.prototype.insTarget = function(e) { | |
return "" + e || "" | |
}, e.prototype.insValue = function(e) { | |
if ((e = "" + e || "").match(/\?>/)) throw new Error("Invalid processing instruction value: " + e); | |
return e | |
}, e.prototype.xmlVersion = function(e) { | |
if (!(e = "" + e || "").match(/1\.[0-9]+/)) throw new Error("Invalid version number: " + e); | |
return e | |
}, e.prototype.xmlEncoding = function(e) { | |
if (!(e = "" + e || "").match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/)) throw new Error("Invalid encoding: " + e); | |
return e | |
}, e.prototype.xmlStandalone = function(e) { | |
return e ? "yes" : "no" | |
}, e.prototype.dtdPubID = function(e) { | |
return "" + e || "" | |
}, e.prototype.dtdSysID = function(e) { | |
return "" + e || "" | |
}, e.prototype.dtdElementValue = function(e) { | |
return "" + e || "" | |
}, e.prototype.dtdAttType = function(e) { | |
return "" + e || "" | |
}, e.prototype.dtdAttDefault = function(e) { | |
return null != e ? "" + e || "" : e | |
}, e.prototype.dtdEntityValue = function(e) { | |
return "" + e || "" | |
}, e.prototype.dtdNData = function(e) { | |
return "" + e || "" | |
}, e.prototype.convertAttKey = "@", e.prototype.convertPIKey = "?", e.prototype.convertTextKey = "#text", e.prototype.convertCDataKey = "#cdata", e.prototype.convertCommentKey = "#comment", e.prototype.convertRawKey = "#raw", e.prototype.assertLegalChar = function(e) { | |
var t; | |
if (t = e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/)) throw new Error("Invalid character in string: " + e + " at index " + t.index); | |
return e | |
}, e.prototype.elEscape = function(e) { | |
var t; | |
return t = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g, e.replace(t, "&").replace(/</g, "<").replace(/>/g, ">").replace(/\r/g, "
") | |
}, e.prototype.attEscape = function(e) { | |
var t; | |
return t = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g, e.replace(t, "&").replace(/</g, "<").replace(/"/g, """).replace(/\t/g, "	").replace(/\n/g, "
").replace(/\r/g, "
") | |
}, e | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js": function(e, t, n) { | |
(function() { | |
var t, r = {}.hasOwnProperty; | |
t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js"), e.exports = function(e) { | |
function n(e, t) { | |
if (n.__super__.constructor.call(this, e), null == t) throw new Error("Missing element text"); | |
this.value = this.stringify.eleText(t) | |
} | |
return function(e, t) { | |
function n() { | |
this.constructor = e | |
} | |
for (var o in t) r.call(t, o) && (e[o] = t[o]); | |
n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype | |
}(n, t), n.prototype.clone = function() { | |
return Object.create(this) | |
}, n.prototype.toString = function(e) { | |
return this.options.writer.set(e).text(this) | |
}, n | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js": function(e, t) { | |
(function() { | |
var t = {}.hasOwnProperty; | |
e.exports = function() { | |
function e(e) { | |
var n, r, o, s, a, i, u, c, l; | |
e || (e = {}), this.pretty = e.pretty || !1, this.allowEmpty = null != (r = e.allowEmpty) && r, this.pretty ? (this.indent = null != (o = e.indent) ? o : " ", this.newline = null != (s = e.newline) ? s : "\n", this.offset = null != (a = e.offset) ? a : 0, this.dontprettytextnodes = null != (i = e.dontprettytextnodes) ? i : 0) : (this.indent = "", this.newline = "", this.offset = 0, this.dontprettytextnodes = 0), this.spacebeforeslash = null != (u = e.spacebeforeslash) ? u : "", !0 === this.spacebeforeslash && (this.spacebeforeslash = " "), this.newlinedefault = this.newline, this.prettydefault = this.pretty, c = e.writer || {}; | |
for (n in c) t.call(c, n) && (l = c[n], this[n] = l) | |
} | |
return e.prototype.set = function(e) { | |
var n, r, o; | |
e || (e = {}), "pretty" in e && (this.pretty = e.pretty), "allowEmpty" in e && (this.allowEmpty = e.allowEmpty), this.pretty ? (this.indent = "indent" in e ? e.indent : " ", this.newline = "newline" in e ? e.newline : "\n", this.offset = "offset" in e ? e.offset : 0, this.dontprettytextnodes = "dontprettytextnodes" in e ? e.dontprettytextnodes : 0) : (this.indent = "", this.newline = "", this.offset = 0, this.dontprettytextnodes = 0), this.spacebeforeslash = "spacebeforeslash" in e ? e.spacebeforeslash : "", !0 === this.spacebeforeslash && (this.spacebeforeslash = " "), this.newlinedefault = this.newline, this.prettydefault = this.pretty, r = e.writer || {}; | |
for (n in r) t.call(r, n) && (o = r[n], this[n] = o); | |
return this | |
}, e.prototype.space = function(e) { | |
var t; | |
return this.pretty && (t = (e || 0) + this.offset + 1) > 0 ? new Array(t).join(this.indent) : "" | |
}, e | |
}() | |
}).call(this) | |
}, | |
"./node_modules/xml2js/node_modules/xmlbuilder/lib/index.js": function(e, t, n) { | |
(function() { | |
var t, r, o, s, a, i, u; | |
u = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js"), a = u.assign, i = u.isFunction, t = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js"), r = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js"), s = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js"), o = n("./node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js"), e.exports.create = function(e, n, r, o) { | |
var s, i; | |
if (null == e) throw new Error("Root element needs a name"); | |
return o = a({}, n, r, o), s = new t(o), i = s.element(e), o.headless || (s.declaration(o), null == o.pubID && null == o.sysID || s.doctype(o)), i | |
}, e.exports.begin = function(e, n, o) { | |
var s; | |
return i(e) && (n = (s = [e, n])[0], o = s[1], e = {}), n ? new r(e, n, o) : new t(e) | |
}, e.exports.stringWriter = function(e) { | |
return new s(e) | |
}, e.exports.streamWriter = function(e, t) { | |
return new o(e, t) | |
} | |
}).call(this) | |
}, | |
"./node_modules/xtend/immutable.js": function(e, t) { | |
e.exports = function() { | |
for (var e = {}, t = 0; t < arguments.length; t++) { | |
var r = arguments[t]; | |
for (var o in r) n.call(r, o) && (e[o] = r[o]) | |
} | |
return e | |
}; | |
var n = Object.prototype.hasOwnProperty | |
}, | |
"./node_modules/y18n/index.js": function(e, t, n) { | |
function r(e) { | |
e = e || {}, this.directory = e.directory || "./locales", this.updateFiles = "boolean" != typeof e.updateFiles || e.updateFiles, this.locale = e.locale || "en", this.fallbackToLanguage = "boolean" != typeof e.fallbackToLanguage || e.fallbackToLanguage, this.cache = {}, this.writeQueue = [] | |
} | |
var o = n(3), | |
s = n(0), | |
a = n(1); | |
r.prototype.__ = function() { | |
var e = Array.prototype.slice.call(arguments), | |
t = e.shift(), | |
n = function() {}; | |
return "function" == typeof e[e.length - 1] && (n = e.pop()), n = n || function() {}, this.cache[this.locale] || this._readLocaleFile(), !this.cache[this.locale][t] && this.updateFiles ? (this.cache[this.locale][t] = t, this._enqueueWrite([this.directory, this.locale, n])) : n(), a.format.apply(a, [this.cache[this.locale][t] || t].concat(e)) | |
}, r.prototype._enqueueWrite = function(e) { | |
this.writeQueue.push(e), 1 === this.writeQueue.length && this._processWriteQueue() | |
}, r.prototype._processWriteQueue = function() { | |
var e = this, | |
t = this.writeQueue[0], | |
n = t[0], | |
r = t[1], | |
s = t[2], | |
a = this._resolveLocaleFile(n, r), | |
i = JSON.stringify(this.cache[r], null, 2); | |
o.writeFile(a, i, "utf-8", function(t) { | |
e.writeQueue.shift(), e.writeQueue.length > 0 && e._processWriteQueue(), s(t) | |
}) | |
}, r.prototype._readLocaleFile = function() { | |
var e = {}, | |
t = this._resolveLocaleFile(this.directory, this.locale); | |
try { | |
e = JSON.parse(o.readFileSync(t, "utf-8")) | |
} catch (n) { | |
if (n instanceof SyntaxError && (n.message = "syntax error in " + t), "ENOENT" !== n.code) throw n; | |
e = {} | |
} | |
this.cache[this.locale] = e | |
}, r.prototype._resolveLocaleFile = function(e, t) { | |
var n = s.resolve(e, "./", t + ".json"); | |
if (this.fallbackToLanguage && !this._fileExistsSync(n) && ~t.lastIndexOf("_")) { | |
var r = s.resolve(e, "./", t.split("_")[0] + ".json"); | |
this._fileExistsSync(r) && (n = r) | |
} | |
return n | |
}, r.prototype._fileExistsSync = function(e) { | |
try { | |
return o.statSync(e).isFile() | |
} catch (e) { | |
return !1 | |
} | |
}, r.prototype.__n = function() { | |
var e = Array.prototype.slice.call(arguments), | |
t = e.shift(), | |
n = e.shift(), | |
r = e.shift(), | |
o = function() {}; | |
"function" == typeof e[e.length - 1] && (o = e.pop()), this.cache[this.locale] || this._readLocaleFile(); | |
var s = 1 === r ? t : n; | |
this.cache[this.locale][t] && (s = this.cache[this.locale][t][1 === r ? "one" : "other"]), !this.cache[this.locale][t] && this.updateFiles ? (this.cache[this.locale][t] = { | |
one: t, | |
other: n | |
}, this._enqueueWrite([this.directory, this.locale, o])) : o(); | |
var i = [s]; | |
return ~s.indexOf("%d") && i.push(r), a.format.apply(a, i.concat(e)) | |
}, r.prototype.setLocale = function(e) { | |
this.locale = e | |
}, r.prototype.getLocale = function() { | |
return this.locale | |
}, r.prototype.updateLocale = function(e) { | |
this.cache[this.locale] || this._readLocaleFile(); | |
for (var t in e) this.cache[this.locale][t] = e[t] | |
}, e.exports = function(e) { | |
var t = new r(e); | |
for (var n in t) "function" == typeof t[n] && (t[n] = t[n].bind(t)); | |
return t | |
} | |
}, | |
"./node_modules/yargs recursive": function(e, t) { | |
function n(e) { | |
throw new Error("Cannot find module '" + e + "'.") | |
} | |
n.keys = function() { | |
return [] | |
}, n.resolve = n, e.exports = n, n.id = "./node_modules/yargs recursive" | |
}, | |
"./node_modules/yargs/index.js": function(e, t, n) { | |
function r(e, t) { | |
const n = o(e, t, ! function() { | |
var e = new Error('Cannot find module "."'); | |
throw e.code = "MODULE_NOT_FOUND", e | |
}()); | |
return function(e) { | |
Object.keys(e).forEach(function(t) { | |
"argv" === t ? r.__defineGetter__(t, e.__lookupGetter__(t)) : r[t] = "function" == typeof e[t] ? e[t].bind(e) : e[t] | |
}) | |
}(n), n | |
} | |
const o = n("./node_modules/yargs/yargs.js"); | |
r(process.argv.slice(2)), e.exports = r | |
}, | |
"./node_modules/yargs/lib/assign.js": function(e, t) { | |
e.exports = function(e, t) { | |
var n = {}; | |
return t = t || {}, Object.keys(e).forEach(function(t) { | |
n[t] = e[t] | |
}), Object.keys(t).forEach(function(e) { | |
n[e] = t[e] | |
}), n | |
} | |
}, | |
"./node_modules/yargs/lib/command.js": function(e, t, n) { | |
const r = n(0), | |
o = n(1).inspect, | |
s = n("./node_modules/camelcase/index.js"); | |
e.exports = function(e, t, a) { | |
function i(e) { | |
const t = n("./node_modules/which-module/index.js")(e); | |
if (!t) throw new Error("No command name given for module: " + o(e)); | |
return function(e) { | |
return r.basename(e, r.extname(e)) | |
}(t.filename) | |
} | |
function u(e) { | |
var t = e.replace(/\s{2,}/g, " ").split(/\s+(?![^[]*]|[^<]*>)/), | |
n = /\.*[\][<>]/g, | |
r = { | |
cmd: t.shift().replace(n, ""), | |
demanded: [], | |
optional: [] | |
}; | |
return t.forEach(function(e, o) { | |
var s = !1; | |
e = e.replace(/\s/g, ""), /\.+[\]>]/.test(e) && o === t.length - 1 && (s = !0), /^\[/.test(e) ? r.optional.push({ | |
cmd: e.replace(n, "").split("|"), | |
variadic: s | |
}) : r.demanded.push({ | |
cmd: e.replace(n, "").split("|"), | |
variadic: s | |
}) | |
}), r | |
} | |
function c(e, t, n) { | |
for (var r, o = null, a = null, i = 0; void 0 !== (r = e.cmd[i]); i++) { | |
if (e.variadic) t[r] = o ? o.slice(0) : o = t._.splice(0); | |
else { | |
if (!a && !t._.length) continue; | |
t[r] = a || (a = t._.shift()) | |
}! function(e, t, n) { | |
var r = e.getOptions().coerce[n]; | |
if ("function" == typeof r) try { | |
t[n] = r(t[n]) | |
} catch (t) { | |
e.getUsageInstance().fail(t.message, t) | |
} | |
}(n, t, r), | |
function(e, t) { | |
if (/-/.test(t)) { | |
const n = s(t); | |
"object" == typeof e[t] ? e[n] = e[t].slice(0) : e[n] = e[t] | |
} | |
}(t, r) | |
} | |
} | |
const l = {}; | |
var d = {}, | |
m = {}; | |
l.addHandler = function(e, n, r, o) { | |
var s = []; | |
if (Array.isArray(e)) s = e.slice(1), e = e[0]; | |
else if ("object" == typeof e) { | |
var a = Array.isArray(e.command) || "string" == typeof e.command ? e.command : i(e); | |
return e.aliases && (a = [].concat(a).concat(e.aliases)), void l.addHandler(a, function(e) { | |
for (var t, n = ["describe", "description", "desc"], r = 0, o = n.length; r < o; r++) | |
if ("string" == typeof(t = e[n[r]]) || "boolean" == typeof t) return t; | |
return !1 | |
}(e), e.builder, e.handler) | |
} | |
if ("object" == typeof r && r.builder && "function" == typeof r.handler) l.addHandler([e].concat(s), n, r.builder, r.handler); | |
else { | |
var c = u(e); | |
s = s.map(function(e) { | |
return e = u(e).cmd, m[e] = c.cmd, e | |
}), !1 !== n && t.command(e, n, s), d[c.cmd] = { | |
original: e, | |
handler: o, | |
builder: r || {}, | |
demanded: c.demanded, | |
optional: c.optional | |
} | |
} | |
}, l.addDirectory = function(e, t, r, o, s) { | |
"boolean" != typeof(s = s || {}).recurse && (s.recurse = !1), Array.isArray(s.extensions) || (s.extensions = ["js"]); | |
const a = "function" == typeof s.visit ? s.visit : function(e) { | |
return e | |
}; | |
s.visit = function(e, n, r) { | |
const o = a(e, n, r); | |
if (o) { | |
if (~t.files.indexOf(n)) return o; | |
t.files.push(n), l.addHandler(o) | |
} | |
return o | |
}, n("./node_modules/require-directory/index.js")({ | |
require: r, | |
filename: o | |
}, e, s) | |
}, l.getCommands = function() { | |
return Object.keys(d).concat(Object.keys(m)) | |
}, l.getCommandHandlers = function() { | |
return d | |
}, l.runCommand = function(e, t, n) { | |
var r = n.argv, | |
o = d[e] || d[m[e]], | |
s = r, | |
i = t.getContext(), | |
u = i.files.length, | |
l = i.commands.slice(); | |
return i.commands.push(e), "function" == typeof o.builder ? (s = o.builder(t.reset(n.aliases)), !1 === t.parsed ? (void 0 === t.getUsageInstance().getUsage() && t.usage("$0 " + (l.length ? l.join(" ") + " " : "") + o.original), s = s ? s.argv : t.argv) : s = t.parsed.argv) : "object" == typeof o.builder && ((s = t.reset(n.aliases)).usage("$0 " + (l.length ? l.join(" ") + " " : "") + o.original), Object.keys(o.builder).forEach(function(e) { | |
s.option(e, o.builder[e]) | |
}), s = s.argv), t._hasOutput() || function(e, t, n, r) { | |
t._ = t._.slice(n.commands.length); | |
var o = e.demanded.slice(0), | |
s = e.optional.slice(0); | |
for (a.positionalCount(o.length, t._.length); o.length;) c(o.shift(), t, r); | |
for (; s.length;) c(s.shift(), t, r); | |
t._ = n.commands.concat(t._) | |
}(o, s, i, t), o.handler && !t._hasOutput() && o.handler(s), i.commands.pop(), (u = i.files.length - u) > 0 && i.files.splice(-1 * u, u), s | |
}, l.reset = function() { | |
return d = {}, m = {}, l | |
}; | |
var p; | |
return l.freeze = function() { | |
(p = {}).handlers = d, p.aliasMap = m | |
}, l.unfreeze = function() { | |
d = p.handlers, m = p.aliasMap, p = void 0 | |
}, l | |
} | |
}, | |
"./node_modules/yargs/lib/completion.js": function(e, t, n) { | |
(function(t) { | |
const r = n(3), | |
o = n(0); | |
e.exports = function(e, n, s) { | |
const a = { | |
completionKey: "get-yargs-completions" | |
}; | |
a.getCompletion = function(t, r) { | |
const o = [], | |
a = t.length ? t[t.length - 1] : "", | |
u = e.parse(t, !0), | |
c = e.parsed.aliases; | |
if (i) { | |
if (i.length < 3) { | |
var l = i(a, u); | |
return "function" == typeof l.then ? l.then(function(e) { | |
process.nextTick(function() { | |
r(e) | |
}) | |
}).catch(function(e) { | |
process.nextTick(function() { | |
throw e | |
}) | |
}) : r(l) | |
} | |
return i(a, u, function(e) { | |
r(e) | |
}) | |
} | |
for (var d = s.getCommandHandlers(), m = 0, p = t.length; m < p; ++m) | |
if (d[t[m]] && d[t[m]].builder) return d[t[m]].builder(e.reset()).argv; | |
a.match(/^-/) || n.getCommands().forEach(function(e) { | |
-1 === t.indexOf(e[0]) && o.push(e[0]) | |
}), a.match(/^-/) && Object.keys(e.getOptions().key).forEach(function(e) { | |
[e].concat(c[e] || []).every(function(e) { | |
return -1 === t.indexOf("--" + e) | |
}) && o.push("--" + e) | |
}), r(o) | |
}, a.generateCompletionScript = function(e) { | |
var n = r.readFileSync(o.resolve(t, "../completion.sh.hbs"), "utf-8"), | |
s = o.basename(e); | |
return e.match(/\.js$/) && (e = "./" + e), (n = n.replace(/{{app_name}}/g, s)).replace(/{{app_path}}/g, e) | |
}; | |
var i = null; | |
return a.registerFunction = function(e) { | |
i = e | |
}, a | |
} | |
}).call(t, "node_modules/yargs/lib") | |
}, | |
"./node_modules/yargs/lib/levenshtein.js": function(e, t) { | |
e.exports = function(e, t) { | |
if (0 === e.length) return t.length; | |
if (0 === t.length) return e.length; | |
var n, r = []; | |
for (n = 0; n <= t.length; n++) r[n] = [n]; | |
var o; | |
for (o = 0; o <= e.length; o++) r[0][o] = o; | |
for (n = 1; n <= t.length; n++) | |
for (o = 1; o <= e.length; o++) t.charAt(n - 1) === e.charAt(o - 1) ? r[n][o] = r[n - 1][o - 1] : r[n][o] = Math.min(r[n - 1][o - 1] + 1, Math.min(r[n][o - 1] + 1, r[n - 1][o] + 1)); | |
return r[t.length][e.length] | |
} | |
}, | |
"./node_modules/yargs/lib/obj-filter.js": function(e, t) { | |
e.exports = function(e, t) { | |
const n = {}; | |
return t = t || function(e, t) { | |
return !0 | |
}, Object.keys(e || {}).forEach(function(r) { | |
t(r, e[r]) && (n[r] = e[r]) | |
}), n | |
} | |
}, | |
"./node_modules/yargs/lib/usage.js": function(e, t, n) { | |
const r = n("./node_modules/string-width/index.js"), | |
o = n("./node_modules/yargs/lib/obj-filter.js"), | |
s = n("./node_modules/set-blocking/index.js"); | |
e.exports = function(e, t) { | |
function a() { | |
return b || (y = "object" == typeof process && process.stdout && process.stdout.columns ? Math.min(80, process.stdout.columns) : 80, b = !0), y | |
} | |
function i(e, t) { | |
var n = 0; | |
return Array.isArray(e) || (e = Object.keys(e).map(function(t) { | |
return [e[t]] | |
})), e.forEach(function(e) { | |
n = Math.max(r(e[0]), n) | |
}), t && (n = Math.min(n, parseInt(.5 * t, 10))), n | |
} | |
const u = t.__, | |
c = {}; | |
var l = []; | |
c.failFn = function(e) { | |
l.push(e) | |
}; | |
var d = null, | |
m = !0; | |
c.showHelpOnFail = function(e, t) { | |
return "string" == typeof e ? (t = e, e = !0) : void 0 === e && (e = !0), d = t, m = e, c | |
}; | |
var p = !1; | |
c.fail = function(t, n) { | |
const r = e._getLoggerInstance(); | |
if (!l.length) { | |
if (e.getExitProcess() && s(!0), p || (p = !0, m && e.showHelp("error"), t && r.error(t), d && (t && r.error(""), r.error(d))), n = n || new Error(t), e.getExitProcess()) return e.exit(1); | |
if (e._hasParseCallback()) return e.exit(1, n); | |
throw n | |
} | |
for (var o = l.length - 1; o >= 0; --o) l[o](t, n, c) | |
}; | |
var f; | |
c.usage = function(e) { | |
f = e | |
}, c.getUsage = function() { | |
return f | |
}; | |
var h = []; | |
c.example = function(e, t) { | |
h.push([e, t || ""]) | |
}; | |
var v = []; | |
c.command = function(e, t, n) { | |
v.push([e, t || "", n]) | |
}, c.getCommands = function() { | |
return v | |
}; | |
var _ = {}; | |
c.describe = function(e, t) { | |
"object" == typeof e ? Object.keys(e).forEach(function(t) { | |
c.describe(t, e[t]) | |
}) : _[e] = t | |
}, c.getDescriptions = function() { | |
return _ | |
}; | |
var g; | |
c.epilog = function(e) { | |
g = e | |
}; | |
var y, b = !1; | |
c.wrap = function(e) { | |
b = !0, y = e | |
}; | |
var j = "__yargsString__:"; | |
c.deferY18nLookup = function(e) { | |
return j + e | |
}; | |
var x = "Options:"; | |
c.help = function() { | |
! function() { | |
var t = e.getDemandedOptions(), | |
n = e.getOptions(); | |
(Object.keys(n.alias) || []).forEach(function(r) { | |
n.alias[r].forEach(function(o) { | |
_[o] && c.describe(r, _[o]), t[o] && e.demandOption(r, t[o].msg), ~n.boolean.indexOf(o) && e.boolean(r), ~n.count.indexOf(o) && e.count(r), ~n.string.indexOf(o) && e.string(r), ~n.normalize.indexOf(o) && e.normalize(r), ~n.array.indexOf(o) && e.array(r), ~n.number.indexOf(o) && e.number(r) | |
}) | |
}) | |
}(); | |
var t = e.getDemandedOptions(), | |
r = e.getDemandedCommands(), | |
o = e.getGroups(), | |
s = e.getOptions(), | |
l = Object.keys(Object.keys(_).concat(Object.keys(t)).concat(Object.keys(r)).concat(Object.keys(s.default)).reduce(function(e, t) { | |
return "_" !== t && (e[t] = !0), e | |
}, {})), | |
d = a(), | |
m = n("./node_modules/cliui/index.js")({ | |
width: d, | |
wrap: !!d | |
}); | |
if (f) { | |
var p = f.replace(/\$0/g, e.$0); | |
m.div(p + "\n") | |
} | |
v.length && (m.div(u("Commands:")), v.forEach(function(e) { | |
m.span({ | |
text: e[0], | |
padding: [0, 2, 0, 2], | |
width: i(v, d) + 4 | |
}, { | |
text: e[1] | |
}), e[2] && e[2].length ? m.div({ | |
text: "[" + u("aliases:") + " " + e[2].join(", ") + "]", | |
padding: [0, 0, 0, 2], | |
align: "right" | |
}) : m.div() | |
}), m.div()); | |
var y = (Object.keys(s.alias) || []).concat(Object.keys(e.parsed.newAliases) || []); | |
if (l = l.filter(function(t) { | |
return !e.parsed.newAliases[t] && y.every(function(e) { | |
return -1 === (s.alias[e] || []).indexOf(t) | |
}) | |
}), o[x] || (o[x] = []), function(e, t, n) { | |
var r = []; | |
Object.keys(n).forEach(function(e) { | |
r = r.concat(n[e]) | |
}), e.forEach(function(e) { | |
[e].concat(t[e]).some(function(e) { | |
return -1 !== r.indexOf(e) | |
}) || n[x].push(e) | |
}) | |
}(l, s.alias, o), Object.keys(o).forEach(function(e) { | |
if (o[e].length) { | |
m.div(u(e)); | |
var n = o[e].map(function(e) { | |
if (~y.indexOf(e)) return e; | |
for (var t, n = 0; void 0 !== (t = y[n]); n++) | |
if (~(s.alias[t] || []).indexOf(e)) return t; | |
return e | |
}), | |
r = n.reduce(function(e, t) { | |
return e[t] = [t].concat(s.alias[t] || []).map(function(e) { | |
return (e.length > 1 ? "--" : "-") + e | |
}).join(", "), e | |
}, {}); | |
n.forEach(function(e) { | |
var n = r[e], | |
o = _[e] || "", | |
a = null; | |
~o.lastIndexOf(j) && (o = u(o.substring(j.length))), ~s.boolean.indexOf(e) && (a = "[" + u("boolean") + "]"), ~s.count.indexOf(e) && (a = "[" + u("count") + "]"), ~s.string.indexOf(e) && (a = "[" + u("string") + "]"), ~s.normalize.indexOf(e) && (a = "[" + u("string") + "]"), ~s.array.indexOf(e) && (a = "[" + u("array") + "]"), ~s.number.indexOf(e) && (a = "[" + u("number") + "]"); | |
var l = [a, t[e] ? "[" + u("required") + "]" : null, s.choices && s.choices[e] ? "[" + u("choices:") + " " + c.stringifiedValues(s.choices[e]) + "]" : null, function(e, t) { | |
var n = "[" + u("default:") + " "; | |
if (void 0 === e && !t) return null; | |
if (t) n += t; | |
else switch (typeof e) { | |
case "string": | |
case "object": | |
n += JSON.stringify(e); | |
break; | |
default: | |
n += e | |
} | |
return n + "]" | |
}(s.default[e], s.defaultDescription[e])].filter(Boolean).join(" "); | |
m.span({ | |
text: n, | |
padding: [0, 2, 0, 2], | |
width: i(r, d) + 4 | |
}, o), l ? m.div({ | |
text: l, | |
padding: [0, 0, 0, 2], | |
align: "right" | |
}) : m.div() | |
}), m.div() | |
} | |
}), h.length && (m.div(u("Examples:")), h.forEach(function(t) { | |
t[0] = t[0].replace(/\$0/g, e.$0) | |
}), h.forEach(function(e) { | |
m.div({ | |
text: e[0], | |
padding: [0, 2, 0, 2], | |
width: i(h, d) + 4 | |
}, e[1]) | |
}), m.div()), g) { | |
var b = g.replace(/\$0/g, e.$0); | |
m.div(b + "\n") | |
} | |
return m.toString() | |
}, c.showHelp = function(t) { | |
const n = e._getLoggerInstance(); | |
t || (t = "error"); | |
("function" == typeof t ? t : n[t])(c.help()) | |
}, c.functionDescription = function(e) { | |
return ["(", e.name ? n("./node_modules/decamelize/index.js")(e.name, "-") : u("generated-value"), ")"].join("") | |
}, c.stringifiedValues = function(e, t) { | |
var n = "", | |
r = t || ", ", | |
o = [].concat(e); | |
return e && o.length ? (o.forEach(function(e) { | |
n.length && (n += r), n += JSON.stringify(e) | |
}), n) : n | |
}; | |
var w = null; | |
c.version = function(e) { | |
w = e | |
}, c.showVersion = function() { | |
const t = e._getLoggerInstance(); | |
"function" == typeof w ? t.log(w()) : t.log(w) | |
}, c.reset = function(e) { | |
return d = null, p = !1, f = void 0, g = void 0, h = [], v = [], _ = o(_, function(t, n) { | |
return e[t] | |
}), c | |
}; | |
var k; | |
return c.freeze = function() { | |
(k = {}).failMessage = d, k.failureOutput = p, k.usage = f, k.epilog = g, k.examples = h, k.commands = v, k.descriptions = _ | |
}, c.unfreeze = function() { | |
d = k.failMessage, p = k.failureOutput, f = k.usage, g = k.epilog, h = k.examples, v = k.commands, _ = k.descriptions, k = void 0 | |
}, c | |
} | |
}, | |
"./node_modules/yargs/lib/validation.js": function(e, t, n) { | |
const r = n("./node_modules/yargs/lib/obj-filter.js"); | |
e.exports = function(e, t, o) { | |
const s = o.__, | |
a = o.__n, | |
i = {}; | |
i.nonOptionCount = function(n) { | |
const r = e.getDemandedCommands(), | |
o = n._.length - e.getContext().commands.length; | |
r._ && (o < r._.min || o > r._.max) && (o < r._.min ? void 0 !== r._.minMsg ? t.fail(r._.minMsg ? r._.minMsg.replace(/\$0/g, o).replace(/\$1/, r._.min) : null) : t.fail(s("Not enough non-option arguments: got %s, need at least %s", o, r._.min)) : o > r._.max && (void 0 !== r._.maxMsg ? t.fail(r._.maxMsg ? r._.maxMsg.replace(/\$0/g, o).replace(/\$1/, r._.max) : null) : t.fail(s("Too many non-option arguments: got %s, maximum of %s", o, r._.max)))) | |
}, i.positionalCount = function(e, n) { | |
n < e && t.fail(s("Not enough non-option arguments: got %s, need at least %s", n, e)) | |
}, i.missingArgumentValue = function(n) { | |
const r = [!0, !1, ""], | |
o = e.getOptions(); | |
if (o.requiresArg.length > 0) { | |
const e = []; | |
o.requiresArg.forEach(function(t) { | |
const o = n[t]; | |
(~r.indexOf(o) || Array.isArray(o) && !o.length) && e.push(t) | |
}), e.length > 0 && t.fail(a("Missing argument value: %s", "Missing argument values: %s", e.length, e.join(", "))) | |
} | |
}, i.requiredArguments = function(n) { | |
const r = e.getDemandedOptions(); | |
var o = null; | |
if (Object.keys(r).forEach(function(e) { | |
n.hasOwnProperty(e) || ((o = o || {})[e] = r[e]) | |
}), o) { | |
const e = []; | |
Object.keys(o).forEach(function(t) { | |
const n = o[t].msg; | |
n && e.indexOf(n) < 0 && e.push(n) | |
}); | |
const n = e.length ? "\n" + e.join("\n") : ""; | |
t.fail(a("Missing required argument: %s", "Missing required arguments: %s", Object.keys(o).length, Object.keys(o).join(", ") + n)) | |
} | |
}, i.unknownArguments = function(n, r) { | |
const o = {}, | |
s = t.getDescriptions(), | |
i = e.getDemandedOptions(), | |
u = e.getCommandInstance().getCommands(), | |
c = [], | |
l = e.getContext(); | |
Object.keys(r).forEach(function(e) { | |
r[e].forEach(function(t) { | |
o[t] = e | |
}) | |
}), Object.keys(n).forEach(function(e) { | |
"$0" === e || "_" === e || s.hasOwnProperty(e) || i.hasOwnProperty(e) || o.hasOwnProperty(e) || c.push(e) | |
}), u.length > 0 && n._.slice(l.commands.length).forEach(function(e) { | |
-1 === u.indexOf(e) && c.push(e) | |
}), c.length > 0 && t.fail(a("Unknown argument: %s", "Unknown arguments: %s", c.length, c.join(", "))) | |
}, i.limitedChoices = function(n) { | |
const r = e.getOptions(), | |
o = {}; | |
if (!Object.keys(r.choices).length) return; | |
Object.keys(n).forEach(function(e) { | |
"$0" !== e && "_" !== e && r.choices.hasOwnProperty(e) && [].concat(n[e]).forEach(function(t) { | |
-1 === r.choices[e].indexOf(t) && (o[e] = (o[e] || []).concat(t)) | |
}) | |
}); | |
const a = Object.keys(o); | |
if (a.length) { | |
var i = s("Invalid values:"); | |
a.forEach(function(e) { | |
i += "\n " + s("Argument: %s, Given: %s, Choices: %s", e, t.stringifiedValues(o[e]), t.stringifiedValues(r.choices[e])) | |
}), t.fail(i) | |
} | |
}; | |
var u = []; | |
i.check = function(e) { | |
u.push(e) | |
}, i.customChecks = function(e, n) { | |
for (var r, o = 0; void 0 !== (r = u[o]); o++) { | |
var a = null; | |
try { | |
a = r(e, n) | |
} catch (e) { | |
t.fail(e.message ? e.message : e, e); | |
continue | |
} | |
a ? ("string" == typeof a || a instanceof Error) && t.fail(a.toString(), a) : t.fail(s("Argument check failed: %s", r.toString())) | |
} | |
}; | |
var c = {}; | |
i.implies = function(e, t) { | |
"object" == typeof e ? Object.keys(e).forEach(function(t) { | |
i.implies(t, e[t]) | |
}) : c[e] = t | |
}, i.getImplied = function() { | |
return c | |
}, i.implications = function(e) { | |
const n = []; | |
if (Object.keys(c).forEach(function(t) { | |
var r; | |
const o = t; | |
var s = c[t]; | |
r = Number(t), "number" == typeof(t = isNaN(r) ? t : r) ? t = e._.length >= t : t.match(/^--no-.+/) ? (t = t.match(/^--no-(.+)/)[1], t = !e[t]) : t = e[t], r = Number(s), "number" == typeof(s = isNaN(r) ? s : r) ? s = e._.length >= s : s.match(/^--no-.+/) ? (s = s.match(/^--no-(.+)/)[1], s = !e[s]) : s = e[s], t && !s && n.push(o) | |
}), n.length) { | |
var r = s("Implications failed:") + "\n"; | |
n.forEach(function(e) { | |
r += " " + e + " -> " + c[e] | |
}), t.fail(r) | |
} | |
}; | |
var l = {}; | |
i.conflicts = function(e, t) { | |
"object" == typeof e ? Object.keys(e).forEach(function(t) { | |
i.conflicts(t, e[t]) | |
}) : l[e] = t | |
}, i.getConflicting = function() { | |
return l | |
}, i.conflicting = function(e) { | |
var n = Object.getOwnPropertyNames(e); | |
n.forEach(function(e) { | |
l[e] && -1 !== n.indexOf(l[e]) && t.fail(s("Arguments %s and %s are mutually exclusive", e, l[e])) | |
}) | |
}, i.recommendCommands = function(e, r) { | |
const o = n("./node_modules/yargs/lib/levenshtein.js"); | |
r = r.sort(function(e, t) { | |
return t.length - e.length | |
}); | |
for (var a, i = null, u = 1 / 0, c = 0; void 0 !== (a = r[c]); c++) { | |
var l = o(e, a); | |
l <= 3 && l < u && (u = l, i = a) | |
} | |
i && t.fail(s("Did you mean %s?", i)) | |
}, i.reset = function(e) { | |
return c = r(c, function(t, n) { | |
return e[t] | |
}), u = [], l = {}, i | |
}; | |
var d; | |
return i.freeze = function() { | |
(d = {}).implied = c, d.checks = u, d.conflicting = l | |
}, i.unfreeze = function() { | |
c = d.implied, u = d.checks, l = d.conflicting, d = void 0 | |
}, i | |
} | |
}, | |
"./node_modules/yargs/node_modules/yargs-parser recursive": function(e, t) { | |
function n(e) { | |
throw new Error("Cannot find module '" + e + "'.") | |
} | |
n.keys = function() { | |
return [] | |
}, n.resolve = n, e.exports = n, n.id = "./node_modules/yargs/node_modules/yargs-parser recursive" | |
}, | |
"./node_modules/yargs/node_modules/yargs-parser/index.js": function(e, t, n) { | |
function r(e, t) { | |
function n(e, t, n) { | |
var r = v(t, D.nargs); | |
n.length - (e + 1) < r && (M = Error(L("Not enough arguments following: %s", t))); | |
for (var o = e + 1; o < r + e + 1; o++) s(t, n[o]); | |
return e + r | |
} | |
function r(e, t, n) { | |
for (var r = e + 1, o = [], a = e > 0, i = e + 1; i < n.length; i++) { | |
if (/^-/.test(n[i]) && !T.test(n[i])) { | |
i === r && s(t, _("array")), a = !0; | |
break | |
} | |
e = i, o.push(n[i]) | |
} | |
return a ? s(t, o.map(function(e) { | |
return l(t, e) | |
})) : o.forEach(function(e) { | |
s(t, e) | |
}), e | |
} | |
function s(e, t) { | |
if (function(e) { | |
[].concat(D.aliases[e] || [], e).forEach(function(e) { | |
delete D.defaulted[e] | |
}) | |
}(e), /-/.test(e) && (!D.aliases[e] || !D.aliases[e].length) && x["camel-case-expansion"]) { | |
var n = a(e); | |
D.aliases[e] = [n], S[n] = !0 | |
} | |
var r = l(e, t), | |
o = e.split("."); | |
if (h(C, o, r), D.aliases[e] && D.aliases[e].forEach(function(e) { | |
e = e.split("."), h(C, e, r) | |
}), o.length > 1 && x["dot-notation"] && (D.aliases[o[0]] || []).forEach(function(e) { | |
e = e.split("."); | |
var t = [].concat(o); | |
t.shift(), e = e.concat(t), h(C, e, r) | |
}), v(e, D.normalize) && !v(e, D.arrays)) { | |
[e].concat(D.aliases[e] || []).forEach(function(e) { | |
C.__defineSetter__(e, function(e) { | |
t = i.normalize(e) | |
}), C.__defineGetter__(e, function() { | |
return "string" == typeof t ? i.normalize(t) : t | |
}) | |
}) | |
} | |
} | |
function l(e, t) { | |
(v(e, D.bools) || v(e, D.counts)) && "string" == typeof t && (t = "true" === t); | |
var n = t; | |
return v(e, D.strings) || v(e, D.coercions) || (y(t) && (n = Number(t)), b(t) || y(t) || !v(e, D.numbers) || (n = NaN)), v(e, D.counts) && (b(n) || "boolean" == typeof n) && (n = o), v(e, D.normalize) && v(e, D.arrays) && (n = Array.isArray(t) ? t.map(i.normalize) : i.normalize(t)), n | |
} | |
function d(e, t) { | |
Object.keys(e).forEach(function(n) { | |
var r = e[n], | |
o = t ? t + "." + n : n; | |
"object" == typeof r && !Array.isArray(r) && x["dot-notation"] ? d(r, o) : f(C, o.split(".")) && !D.defaulted[o] || s(o, r) | |
}) | |
} | |
function m(e, t) { | |
if (void 0 !== E) { | |
var n = "string" == typeof E ? E : ""; | |
Object.keys(process.env).forEach(function(r) { | |
if ("" === n || 0 === r.lastIndexOf(n, 0)) { | |
var o = r.split("__").map(function(e, t) { | |
return 0 === t && (e = e.substring(n.length)), a(e) | |
}); | |
!(t && D.configs[o.join(".")] || !t) || f(e, o) && !D.defaulted[o.join(".")] || s(o.join("."), process.env[r]) | |
} | |
}) | |
} | |
} | |
function p(e, t, n) { | |
Object.keys(n).forEach(function(r) { | |
f(e, r.split(".")) || (h(e, r.split("."), n[r]), (t[r] || []).forEach(function(t) { | |
f(e, t.split(".")) || h(e, t.split("."), n[r]) | |
})) | |
}) | |
} | |
function f(e, t) { | |
var n = e; | |
x["dot-notation"] || (t = [t.join(".")]), t.slice(0, -1).forEach(function(e) { | |
n = n[e] || {} | |
}); | |
var r = t[t.length - 1]; | |
return "object" == typeof n && r in n | |
} | |
function h(e, t, n) { | |
var r = e; | |
x["dot-notation"] || (t = [t.join(".")]), t.slice(0, -1).forEach(function(e) { | |
void 0 === r[e] && (r[e] = {}), r = r[e] | |
}); | |
var s = t[t.length - 1], | |
a = v(s, D.arrays), | |
i = Array.isArray(n), | |
u = x["duplicate-arguments-array"]; | |
n === o ? r[s] = o(r[s]) : Array.isArray(r[s]) ? u && a && i ? r[s] = x["flatten-duplicate-arrays"] ? r[s].concat(n) : [r[s]].concat([n]) : u || Boolean(a) !== Boolean(i) ? r[s] = r[s].concat([n]) : r[s] = n : void 0 === r[s] && a ? r[s] = i ? n : [n] : u && !(void 0 === r[s] || v(s, D.bools) || v(t.join("."), D.bools) || v(s, D.counts)) ? r[s] = [r[s], n] : r[s] = n | |
} | |
function v(e, t) { | |
var n = !1; | |
return [].concat(D.aliases[e] || [], e).forEach(function(e) { | |
t[e] && (n = t[e]) | |
}), n | |
} | |
function _(e) { | |
return { | |
boolean: !0, | |
string: "", | |
number: void 0, | |
array: [] | |
} [e] | |
} | |
function g(e, t) { | |
var n = "boolean"; | |
return v(e, t.strings) ? n = "string" : v(e, t.numbers) ? n = "number" : v(e, t.arrays) && (n = "array"), n | |
} | |
function y(e) { | |
return !!x["parse-numbers"] && ("number" == typeof e || (!!/^0x[0-9a-f]+$/i.test(e) || /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e))) | |
} | |
function b(e) { | |
return void 0 === e | |
} | |
t || (t = {}), e = u(e); | |
var j = function(e) { | |
var t = [], | |
n = !0, | |
r = {}; | |
Object.keys(e).forEach(function(n) { | |
t.push([].concat(e[n], n)) | |
}); | |
for (; n;) { | |
n = !1; | |
for (var o = 0; o < t.length; o++) | |
for (var s = o + 1; s < t.length; s++) { | |
var a = t[o].filter(function(e) { | |
return -1 !== t[s].indexOf(e) | |
}); | |
if (a.length) { | |
t[o] = t[o].concat(t[s]), t.splice(s, 1), n = !0; | |
break | |
} | |
} | |
} | |
return t.forEach(function(e) { | |
e = e.filter(function(e, t, n) { | |
return n.indexOf(e) === t | |
}), r[e.pop()] = e | |
}), r | |
}(t.alias || {}), | |
x = function(e, t) { | |
var n = {}; | |
return t = t || {}, Object.keys(e).forEach(function(t) { | |
n[t] = e[t] | |
}), Object.keys(t).forEach(function(e) { | |
n[e] = t[e] | |
}), n | |
}({ | |
"short-option-groups": !0, | |
"camel-case-expansion": !0, | |
"dot-notation": !0, | |
"parse-numbers": !0, | |
"boolean-negation": !0, | |
"duplicate-arguments-array": !0, | |
"flatten-duplicate-arrays": !0 | |
}, t.configuration), | |
w = t.default || {}, | |
k = t.configObjects || [], | |
E = t.envPrefix, | |
S = {}, | |
L = t.__ || function(e) { | |
return c.format.apply(c, Array.prototype.slice.call(arguments)) | |
}, | |
M = null, | |
D = { | |
aliases: {}, | |
arrays: {}, | |
bools: {}, | |
strings: {}, | |
numbers: {}, | |
counts: {}, | |
normalize: {}, | |
configs: {}, | |
defaulted: {}, | |
nargs: {}, | |
coercions: {} | |
}, | |
T = /^-[0-9]+(\.[0-9]+)?/; | |
[].concat(t.array).filter(Boolean).forEach(function(e) { | |
D.arrays[e] = !0 | |
}), [].concat(t.boolean).filter(Boolean).forEach(function(e) { | |
D.bools[e] = !0 | |
}), [].concat(t.string).filter(Boolean).forEach(function(e) { | |
D.strings[e] = !0 | |
}), [].concat(t.number).filter(Boolean).forEach(function(e) { | |
D.numbers[e] = !0 | |
}), [].concat(t.count).filter(Boolean).forEach(function(e) { | |
D.counts[e] = !0 | |
}), [].concat(t.normalize).filter(Boolean).forEach(function(e) { | |
D.normalize[e] = !0 | |
}), Object.keys(t.narg || {}).forEach(function(e) { | |
D.nargs[e] = t.narg[e] | |
}), Object.keys(t.coerce || {}).forEach(function(e) { | |
D.coercions[e] = t.coerce[e] | |
}), Array.isArray(t.config) || "string" == typeof t.config ? [].concat(t.config).filter(Boolean).forEach(function(e) { | |
D.configs[e] = !0 | |
}) : Object.keys(t.config || {}).forEach(function(e) { | |
D.configs[e] = t.config[e] | |
}), | |
function() { | |
Array.prototype.slice.call(arguments).forEach(function(e) { | |
Object.keys(e || {}).forEach(function(e) { | |
D.aliases[e] || (D.aliases[e] = [].concat(j[e] || []), D.aliases[e].concat(e).forEach(function(t) { | |
if (/-/.test(t) && x["camel-case-expansion"]) { | |
var n = a(t); | |
D.aliases[e].push(n), S[n] = !0 | |
} | |
}), D.aliases[e].forEach(function(t) { | |
D.aliases[t] = [e].concat(D.aliases[e].filter(function(e) { | |
return t !== e | |
})) | |
})) | |
}) | |
}) | |
}(t.key, j, t.default, D.arrays), Object.keys(w).forEach(function(e) { | |
(D.aliases[e] || []).forEach(function(t) { | |
w[t] = w[e] | |
}) | |
}); | |
var C = { | |
_: [] | |
}; | |
Object.keys(D.bools).forEach(function(e) { | |
s(e, e in w && w[e]), | |
function(e) { | |
[].concat(D.aliases[e] || [], e).forEach(function(e) { | |
D.defaulted[e] = !0 | |
}) | |
}(e) | |
}); | |
var A = []; - 1 !== e.indexOf("--") && (A = e.slice(e.indexOf("--") + 1), e = e.slice(0, e.indexOf("--"))); | |
for (var N = 0; N < e.length; N++) { | |
var P, O, F, Y, I, B, z = e[N]; | |
if (z.match(/^--.+=/) || !x["short-option-groups"] && z.match(/^-.+=/)) v((Y = z.match(/^--?([^=]+)=([\s\S]*)$/))[1], D.nargs) ? (e.splice(N + 1, 0, Y[2]), N = n(N, Y[1], e)) : v(Y[1], D.arrays) && e.length > N + 1 ? (e.splice(N + 1, 0, Y[2]), N = r(N, Y[1], e)) : s(Y[1], Y[2]); | |
else if (z.match(/^--no-.+/) && x["boolean-negation"]) s(O = z.match(/^--no-(.+)/)[1], !1); | |
else if (z.match(/^--.+/) || !x["short-option-groups"] && z.match(/^-.+/)) v(O = z.match(/^--?(.+)/)[1], D.nargs) ? N = n(N, O, e) : v(O, D.arrays) && e.length > N + 1 ? N = r(N, O, e) : void 0 === (I = e[N + 1]) || I.match(/^-/) && !I.match(T) || v(O, D.bools) || v(O, D.counts) ? /^(true|false)$/.test(I) ? (s(O, I), N++) : s(O, _(g(O, D))) : (s(O, I), N++); | |
else if (z.match(/^-.\..+=/)) s((Y = z.match(/^-([^=]+)=([\s\S]*)$/))[1], Y[2]); | |
else if (z.match(/^-.\..+/)) I = e[N + 1], O = z.match(/^-(.\..+)/)[1], void 0 === I || I.match(/^-/) || v(O, D.bools) || v(O, D.counts) ? s(O, _(g(O, D))) : (s(O, I), N++); | |
else if (z.match(/^-[^-]+/) && !z.match(T)) { | |
F = z.slice(1, -1).split(""), P = !1; | |
for (var q = 0; q < F.length; q++) { | |
if (I = z.slice(q + 2), F[q + 1] && "=" === F[q + 1]) { | |
B = z.slice(q + 3), v(O = F[q], D.nargs) ? (e.splice(N + 1, 0, B), N = n(N, O, e)) : v(O, D.arrays) && e.length > N + 1 ? (e.splice(N + 1, 0, B), N = r(N, O, e)) : s(O, B), P = !0; | |
break | |
} | |
if ("-" !== I) { | |
if (/[A-Za-z]/.test(F[q]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(I)) { | |
s(F[q], I), P = !0; | |
break | |
} | |
if (F[q + 1] && F[q + 1].match(/\W/)) { | |
s(F[q], I), P = !0; | |
break | |
} | |
s(F[q], _(g(F[q], D))) | |
} else s(F[q], I) | |
} | |
O = z.slice(-1)[0], P || "-" === O || (v(O, D.nargs) ? N = n(N, O, e) : v(O, D.arrays) && e.length > N + 1 ? N = r(N, O, e) : void 0 === (I = e[N + 1]) || /^(-|--)[^-]/.test(I) && !I.match(T) || v(O, D.bools) || v(O, D.counts) ? /^(true|false)$/.test(I) ? (s(O, I), N++) : s(O, _(g(O, D))) : (s(O, I), N++)) | |
} else C._.push(D.strings._ || !y(z) ? z : Number(z)) | |
} | |
return m(C, !0), | |
function(e) { | |
var t = {}; | |
p(t, D.aliases, w), Object.keys(D.configs).forEach(function(n) { | |
var r = e[n] || t[n]; | |
if (r) try { | |
var o = null, | |
s = i.resolve(process.cwd(), r); | |
if ("function" == typeof D.configs[n]) { | |
try { | |
o = D.configs[n](s) | |
} catch (e) { | |
o = e | |
} | |
if (o instanceof Error) return void(M = o) | |
} else o = ! function() { | |
var e = new Error('Cannot find module "."'); | |
throw e.code = "MODULE_NOT_FOUND", e | |
}(); | |
d(o) | |
} catch (t) { | |
e[n] && (M = Error(L("Invalid JSON config file: %s", r))) | |
} | |
}) | |
}(C), void 0 !== k && k.forEach(function(e) { | |
d(e) | |
}), m(C, !1), p(C, D.aliases, w), | |
function(e) { | |
var t; | |
Object.keys(e).forEach(function(n) { | |
if ("function" == typeof(t = v(n, D.coercions))) try { | |
e[n] = t(e[n]) | |
} catch (e) { | |
M = e | |
} | |
}) | |
}(C), Object.keys(D.counts).forEach(function(e) { | |
f(C, e.split(".")) || s(e, 0) | |
}), A.forEach(function(e) { | |
C._.push(e) | |
}), { | |
argv: C, | |
error: M, | |
aliases: D.aliases, | |
newAliases: S, | |
configuration: x | |
} | |
} | |
function o(e) { | |
return void 0 !== e ? e + 1 : 1 | |
} | |
function s(e, t) { | |
return r(e.slice(), t).argv | |
} | |
var a = n("./node_modules/camelcase/index.js"), | |
i = n(0), | |
u = n("./node_modules/yargs/node_modules/yargs-parser/lib/tokenize-arg-string.js"), | |
c = n(1); | |
s.detailed = function(e, t) { | |
return r(e.slice(), t) | |
}, e.exports = s | |
}, | |
"./node_modules/yargs/node_modules/yargs-parser/lib/tokenize-arg-string.js": function(e, t) { | |
e.exports = function(e) { | |
if (Array.isArray(e)) return e; | |
for (var t = 0, n = null, r = null, o = [], s = 0; s < e.length; s++) " " !== (n = e.charAt(s)) || r ? n !== r ? "'" !== n && '"' !== n || r ? (o[t] || (o[t] = ""), o[t] += n) : r = n : r = null : t++; | |
return o | |
} | |
}, | |
"./node_modules/yargs/yargs.js": function(e, t, n) { | |
(function(t) { | |
function r(e, t) { | |
return u.relative(e, t) | |
} | |
const o = n("./node_modules/yargs/lib/assign.js"), | |
s = n("./node_modules/yargs/lib/command.js"), | |
a = n("./node_modules/yargs/lib/completion.js"), | |
i = n("./node_modules/yargs/node_modules/yargs-parser/index.js"), | |
u = n(0), | |
c = n("./node_modules/yargs/lib/usage.js"), | |
l = n("./node_modules/yargs/lib/validation.js"), | |
d = n("./node_modules/y18n/index.js"), | |
m = n("./node_modules/yargs/lib/obj-filter.js"), | |
p = n("./node_modules/set-blocking/index.js"); | |
(e.exports = function(e, f, h) { | |
function v(e) { | |
var t = e || "*"; | |
if (A[t]) return A[t]; | |
const r = n("./node_modules/read-pkg-up/index.js"); | |
var o = {}; | |
try { | |
o = r.sync({ | |
cwd: e || n("./node_modules/require-main-filename/index.js")(h || ! function() { | |
var e = new Error('Cannot find module "."'); | |
throw e.code = "MODULE_NOT_FOUND", e | |
}()), | |
normalize: !1 | |
}) | |
} catch (e) {} | |
return A[t] = o.pkg || {}, A[t] | |
} | |
function _(e, t) { | |
T.__ = M.__, T.configuration = v().yargs || {}; | |
const n = i.detailed(e, T); | |
var r = n.argv; | |
P && (r = o(P, r)); | |
var s = n.aliases; | |
if (r.$0 = b.$0, b.parsed = n, g(), t) return r; | |
if (r._.length) { | |
if (I) { | |
var a = [Y].concat(s[Y]), | |
u = a.filter(function(e) { | |
return e.length > 1 | |
}); | |
u.length && (a = u), r._ = r._.filter(function(e) { | |
return !~a.indexOf(e) || (r[Y] = !0, !1) | |
}) | |
} | |
var c = j.getCommands(); | |
if (c.length) { | |
for (var l, d, m = 0; void 0 !== (d = r._[m]); m++) { | |
if (~c.indexOf(d) && d !== z) return y(r), j.runCommand(d, b, n); | |
l || d === z || (l = d) | |
} | |
$ && l && L.recommendCommands(l, c) | |
} | |
z && ~r._.indexOf(z) && !r[x.completionKey] && (B && p(!0), b.showCompletionScript(), b.exit(0)) | |
} | |
if (x.completionKey in r) { | |
B && p(!0); | |
var f = e.slice(e.indexOf("--" + x.completionKey) + 1); | |
return x.getCompletion(f, function(e) { | |
(e || []).forEach(function(e) { | |
U.log(e) | |
}), b.exit(0) | |
}), y(r) | |
} | |
var h = !1; | |
if (Object.keys(r).forEach(function(e) { | |
e === Y && r[e] ? (B && p(!0), h = !0, b.showHelp("log"), b.exit(0)) : e === F && r[e] && (B && p(!0), h = !0, S.showVersion(), b.exit(0)) | |
}), !h && T.skipValidation.length > 0 && (h = Object.keys(r).some(function(e) { | |
return T.skipValidation.indexOf(e) >= 0 && !0 === r[e] | |
})), !h) { | |
if (n.error) throw n.error; | |
r[x.completionKey] || (L.nonOptionCount(r), L.missingArgumentValue(r), L.requiredArguments(r), O && L.unknownArguments(r, s), L.customChecks(r, s), L.limitedChoices(r), L.implications(r), L.conflicting(r)) | |
} | |
return y(r) | |
} | |
function g() { | |
if (q) try { | |
const e = n("./node_modules/os-locale/index.js"); | |
b.locale(e.sync({ | |
spawn: !1 | |
})) | |
} catch (e) {} | |
} | |
function y(e) { | |
return Object.keys(T.key).forEach(function(t) { | |
~t.indexOf(".") || void 0 === e[t] && (e[t] = void 0) | |
}), e | |
} | |
e = e || []; | |
const b = {}; | |
var j = null, | |
x = null, | |
w = {}, | |
k = "", | |
E = {}, | |
S = null, | |
L = null; | |
const M = d({ | |
directory: u.resolve(t, "./locales"), | |
updateFiles: !1 | |
}); | |
f || (f = process.cwd()), b.$0 = process.argv.slice(0, 2).map(function(e, t) { | |
if (0 !== t || !/\b(node|iojs)(\.exe)?$/.test(e)) { | |
var n = r(f, e); | |
return e.match(/^(\/|([a-zA-Z]:)?\\)/) && n.length < e.length ? n : e | |
} | |
}).join(" ").trim(), void 0 !== process.env._ && process.argv[1] === process.env._ && (b.$0 = process.env._.replace(u.dirname(process.execPath) + "/", "")); | |
const D = { | |
resets: -1, | |
commands: [], | |
files: [] | |
}; | |
b.getContext = function() { | |
return D | |
}; | |
var T; | |
b.resetOptions = b.reset = function(e) { | |
D.resets++, e = e || {}, T = T || {}; | |
var t = {}; | |
t.global = T.global ? T.global : [], t.configObjects = T.configObjects ? T.configObjects : []; | |
var n = {}; | |
return t.global.forEach(function(t) { | |
n[t] = !0, (e[t] || []).forEach(function(e) { | |
n[e] = !0 | |
}) | |
}), E = Object.keys(w).reduce(function(e, t) { | |
var r = w[t].filter(function(e) { | |
return e in n | |
}); | |
return r.length > 0 && (e[t] = r), e | |
}, {}), w = {}, ["array", "boolean", "string", "requiresArg", "skipValidation", "count", "normalize", "number"].forEach(function(e) { | |
t[e] = (T[e] || []).filter(function(e) { | |
return n[e] | |
}) | |
}), ["narg", "key", "alias", "default", "defaultDescription", "config", "choices", "demandedOptions", "demandedCommands", "coerce"].forEach(function(e) { | |
t[e] = m(T[e], function(e, t) { | |
return n[e] | |
}) | |
}), t.envPrefix = T.envPrefix, T = t, S = S ? S.reset(n) : c(b, M), L = L ? L.reset(n) : l(b, S, M), j = j ? j.reset() : s(b, S, L), x || (x = a(b, S, j)), O = !1, z = null, k = "", H = null, R = !1, b.parsed = !1, b | |
}, b.resetOptions(); | |
var C; | |
b.boolean = function(e) { | |
return T.boolean.push.apply(T.boolean, [].concat(e)), b | |
}, b.array = function(e) { | |
return T.array.push.apply(T.array, [].concat(e)), b | |
}, b.nargs = function(e, t) { | |
return "object" == typeof e ? Object.keys(e).forEach(function(t) { | |
b.nargs(t, e[t]) | |
}) : T.narg[e] = t, b | |
}, b.number = function(e) { | |
return T.number.push.apply(T.number, [].concat(e)), b | |
}, b.choices = function(e, t) { | |
return "object" == typeof e ? Object.keys(e).forEach(function(t) { | |
b.choices(t, e[t]) | |
}) : T.choices[e] = (T.choices[e] || []).concat(t), b | |
}, b.normalize = function(e) { | |
return T.normalize.push.apply(T.normalize, [].concat(e)), b | |
}, b.config = function(e, t, n) { | |
return "object" == typeof e ? (T.configObjects = (T.configObjects || []).concat(e), b) : ("function" == typeof t && (n = t, t = null), e = e || "config", b.describe(e, t || S.deferY18nLookup("Path to JSON config file")), (Array.isArray(e) ? e : [e]).forEach(function(e) { | |
T.config[e] = n || !0 | |
}), b) | |
}, b.example = function(e, t) { | |
return S.example(e, t), b | |
}, b.command = function(e, t, n, r) { | |
return j.addHandler(e, t, n, r), b | |
}, b.commandDir = function(e, t) { | |
const r = h || ! function() { | |
var e = new Error('Cannot find module "."'); | |
throw e.code = "MODULE_NOT_FOUND", e | |
}(); | |
return j.addDirectory(e, b.getContext(), r, n("./node_modules/get-caller-file/index.js")(), t), b | |
}, b.string = function(e) { | |
return T.string.push.apply(T.string, [].concat(e)), b | |
}, b.default = b.defaults = function(e, t, n) { | |
return "object" == typeof e ? Object.keys(e).forEach(function(t) { | |
b.default(t, e[t]) | |
}) : (n && (T.defaultDescription[e] = n), "function" == typeof t && (T.defaultDescription[e] || (T.defaultDescription[e] = S.functionDescription(t)), t = t.call()), T.default[e] = t), b | |
}, b.alias = function(e, t) { | |
return "object" == typeof e ? Object.keys(e).forEach(function(t) { | |
b.alias(t, e[t]) | |
}) : T.alias[e] = (T.alias[e] || []).concat(t), b | |
}, b.coerce = function(e, t) { | |
return "object" != typeof e || Array.isArray(e) ? [].concat(e).forEach(function(e) { | |
T.coerce[e] = t | |
}) : Object.keys(e).forEach(function(t) { | |
b.coerce(t, e[t]) | |
}), b | |
}, b.count = function(e) { | |
return T.count.push.apply(T.count, [].concat(e)), b | |
}, b.demand = b.required = b.require = function(e, t, n) { | |
return Array.isArray(t) ? (t.forEach(function(e) { | |
b.demandOption(e, n) | |
}), t = 1 / 0) : "number" != typeof t && (n = t, t = 1 / 0), "number" == typeof e ? b.demandCommand(e, t, n) : Array.isArray(e) ? e.forEach(function(e) { | |
b.demandOption(e, n) | |
}) : "string" == typeof n ? b.demandOption(e, n) : !0 !== n && void 0 !== n || b.demandOption(e), b | |
}, b.demandOption = function(e, t) { | |
return Array.isArray(e) ? e.forEach(function(e) { | |
b.demandOption(e, t) | |
}) : "string" == typeof t ? T.demandedOptions[e] = { | |
msg: t | |
} : !0 !== t && void 0 !== t || (T.demandedOptions[e] = { | |
msg: void 0 | |
}), b | |
}, b.demandCommand = function(e, t, n, r) { | |
return "number" != typeof t && (n = t, t = 1 / 0), T.demandedCommands._ = { | |
min: e, | |
max: t, | |
minMsg: n, | |
maxMsg: r | |
}, b | |
}, b.getDemandedOptions = function() { | |
return T.demandedOptions | |
}, b.getDemandedCommands = function() { | |
return T.demandedCommands | |
}, b.requiresArg = function(e) { | |
return T.requiresArg.push.apply(T.requiresArg, [].concat(e)), b | |
}, b.skipValidation = function(e) { | |
return T.skipValidation.push.apply(T.skipValidation, [].concat(e)), b | |
}, b.implies = function(e, t) { | |
return L.implies(e, t), b | |
}, b.conflicts = function(e, t) { | |
return L.conflicts(e, t), b | |
}, b.usage = function(e, t) { | |
return t || "object" != typeof e || (t = e, e = null), S.usage(e), t && b.options(t), b | |
}, b.epilogue = b.epilog = function(e) { | |
return S.epilog(e), b | |
}, b.fail = function(e) { | |
return S.failFn(e), b | |
}, b.check = function(e) { | |
return L.check(e), b | |
}, b.describe = function(e, t) { | |
return "object" == typeof e ? Object.keys(e).forEach(function(e) { | |
T.key[e] = !0 | |
}) : T.key[e] = !0, S.describe(e, t), b | |
}, b.global = function(e) { | |
return T.global.push.apply(T.global, [].concat(e)), b | |
}, b.pkgConf = function(e, t) { | |
var n = null, | |
r = v(t); | |
return r[e] && "object" == typeof r[e] && (n = r[e], T.configObjects = (T.configObjects || []).concat(n)), b | |
}; | |
var A = {}, | |
N = null, | |
P = null; | |
b.parse = function(t, n, r) { | |
"object" == typeof n && (P = n, n = r), "function" == typeof n && (N = n, n = null), n || (e = t), (C = {}).options = T, C.configObjects = T.configObjects.slice(0), C.exitProcess = B, C.groups = w, S.freeze(), L.freeze(), j.freeze(), C.strict = O, C.completionCommand = z, C.output = k, C.exitError = H, C.hasOutput = R, C.parsed = b.parsed, N && (B = !1); | |
var o = _(t, n); | |
return N && N(H, o, k), (T = C.options).configObjects = C.configObjects, B = C.exitProcess, w = C.groups, k = C.output, H = C.exitError, R = C.hasOutput, b.parsed = C.parsed, S.unfreeze(), L.unfreeze(), j.unfreeze(), O = C.strict, z = C.completionCommand, N = null, P = null, C = void 0, o | |
}, b._hasParseCallback = function() { | |
return !!N | |
}, b.option = b.options = function(e, t) { | |
if ("object" == typeof e) Object.keys(e).forEach(function(t) { | |
b.options(t, e[t]) | |
}); | |
else { | |
"object" != typeof t && (t = {}), T.key[e] = !0, t.alias && b.alias(e, t.alias); | |
var n = t.demand || t.required || t.require; | |
n && b.demand(e, n), "demandOption" in t && b.demandOption(e, t.demandOption), "config" in t && b.config(e, t.configParser), "default" in t && b.default(e, t.default), "nargs" in t && b.nargs(e, t.nargs), "normalize" in t && b.normalize(e), "choices" in t && b.choices(e, t.choices), "coerce" in t && b.coerce(e, t.coerce), "group" in t && b.group(e, t.group), t.global && b.global(e), (t.boolean || "boolean" === t.type) && (b.boolean(e), t.alias && b.boolean(t.alias)), (t.array || "array" === t.type) && (b.array(e), t.alias && b.array(t.alias)), (t.number || "number" === t.type) && (b.number(e), t.alias && b.number(t.alias)), (t.string || "string" === t.type) && (b.string(e), t.alias && b.string(t.alias)), (t.count || "count" === t.type) && b.count(e), t.defaultDescription && (T.defaultDescription[e] = t.defaultDescription), t.skipValidation && b.skipValidation(e); | |
var r = t.describe || t.description || t.desc; | |
r && b.describe(e, r), t.requiresArg && b.requiresArg(e) | |
} | |
return b | |
}, b.getOptions = function() { | |
return T | |
}, b.group = function(e, t) { | |
var n = E[t] || w[t]; | |
E[t] && delete E[t]; | |
var r = {}; | |
return w[t] = (n || []).concat(e).filter(function(e) { | |
return !r[e] && (r[e] = !0) | |
}), b | |
}, b.getGroups = function() { | |
return o(w, E) | |
}, b.env = function(e) { | |
return T.envPrefix = !1 === e ? void 0 : e || "", b | |
}, b.wrap = function(e) { | |
return S.wrap(e), b | |
}; | |
var O = !1; | |
b.strict = function() { | |
return O = !0, b | |
}, b.getStrict = function() { | |
return O | |
}, b.showHelp = function(t) { | |
return b.parsed || _(e), S.showHelp(t), b | |
}; | |
var F = null; | |
b.version = function(e, t, n) { | |
return 0 === arguments.length ? (n = v().version || "unknown", e = "version") : 1 === arguments.length ? (n = e, e = "version") : 2 === arguments.length && (n = t), F = e, t = t || S.deferY18nLookup("Show version number"), S.version(n || void 0), b.boolean(F), b.global(F), b.describe(F, t), b | |
}; | |
var Y = null, | |
I = !1; | |
b.addHelpOpt = b.help = function(e, t, n) { | |
return 0 === arguments.length ? I = !0 : 1 === arguments.length ? "boolean" == typeof e ? (I = e, e = null) : I = !0 : 2 === arguments.length ? "boolean" == typeof t ? (I = t, t = null) : I = !0 : I = Boolean(n), Y = e || "help", b.boolean(Y), b.global(Y), b.describe(Y, t || S.deferY18nLookup("Show help")), b | |
}, b.showHelpOnFail = function(e, t) { | |
return S.showHelpOnFail(e, t), b | |
}; | |
var B = !0; | |
b.exitProcess = function(e) { | |
return "boolean" != typeof e && (e = !0), B = e, b | |
}, b.getExitProcess = function() { | |
return B | |
}; | |
var z = null; | |
b.completion = function(e, t, n) { | |
return "function" == typeof t && (n = t, t = null), z = e || "completion", t || !1 === t || (t = "generate bash completion script"), b.command(z, t), n && x.registerFunction(n), b | |
}, b.showCompletionScript = function(e) { | |
return e = e || b.$0, U.log(x.generateCompletionScript(e)), b | |
}, b.getCompletion = function(e, t) { | |
x.getCompletion(e, t) | |
}, b.locale = function(e) { | |
return 0 === arguments.length ? (g(), M.getLocale()) : (q = !1, M.setLocale(e), b) | |
}, b.updateStrings = b.updateLocale = function(e) { | |
return q = !1, M.updateLocale(e), b | |
}; | |
var q = !0; | |
b.detectLocale = function(e) { | |
return q = e, b | |
}, b.getDetectLocale = function() { | |
return q | |
}; | |
var R = !1, | |
H = null; | |
b.exit = function(e, t) { | |
R = !0, H = t, B && process.exit(e) | |
}; | |
var U = { | |
log: function() { | |
var e = Array.prototype.slice.call(arguments); | |
b._hasParseCallback() || console.log.apply(console, e), R = !0, k.length && (k += "\n"), k += e.join(" ") | |
}, | |
error: function() { | |
var e = Array.prototype.slice.call(arguments); | |
b._hasParseCallback() || console.error.apply(console, e), R = !0, k.length && (k += "\n"), k += e.join(" ") | |
} | |
}; | |
b._getLoggerInstance = function() { | |
return U | |
}, b._hasOutput = function() { | |
return R | |
}; | |
var $; | |
return b.recommendCommands = function() { | |
return $ = !0, b | |
}, b.getUsageInstance = function() { | |
return S | |
}, b.getValidationInstance = function() { | |
return L | |
}, b.getCommandInstance = function() { | |
return j | |
}, b.terminalWidth = function() { | |
return process.stdout.columns | |
}, Object.defineProperty(b, "argv", { | |
get: function() { | |
var t = null; | |
try { | |
t = _(e) | |
} catch (e) { | |
S.fail(e.message, e) | |
} | |
return t | |
}, | |
enumerable: !0 | |
}), b | |
}).rebase = r | |
}).call(t, "node_modules/yargs") | |
}, | |
"./server/codecs recursive ^\\.\\/.*\\/CodecManifest\\.js$": function(e, t, n) { | |
function r(e) { | |
return n(o(e)) | |
} | |
function o(e) { | |
var t = s[e]; | |
if (!(t + 1)) throw new Error("Cannot find module '" + e + "'."); | |
return t | |
} | |
var s = { | |
"./darwin-x86_64/CodecManifest.js": "./server/codecs/darwin-x86_64/CodecManifest.js", | |
"./linux-raspi2-arm7/CodecManifest.js": "./server/codecs/linux-raspi2-arm7/CodecManifest.js", | |
"./linux-ubuntu-x86_64/CodecManifest.js": "./server/codecs/linux-ubuntu-x86_64/CodecManifest.js", | |
"./windows-i386/CodecManifest.js": "./server/codecs/windows-i386/CodecManifest.js" | |
}; | |
r.keys = function() { | |
return Object.keys(s) | |
}, r.resolve = o, e.exports = r, r.id = "./server/codecs recursive ^\\.\\/.*\\/CodecManifest\\.js$" | |
}, | |
"./server/codecs/CodecManager.js": function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
function o(e) { | |
return function() { | |
var t = e.apply(this, arguments); | |
return new Promise(function(e, n) { | |
function r(o, s) { | |
try { | |
var a = t[o](s), | |
i = a.value | |
} catch (e) { | |
return void n(e) | |
} | |
if (!a.done) return Promise.resolve(i).then(function(e) { | |
r("next", e) | |
}, function(e) { | |
r("throw", e) | |
}); | |
e(i) | |
} | |
return r("next") | |
}) | |
} | |
} | |
function s(e) { | |
return new Promise(t => c.default.exists(e, t)) | |
} | |
function a(e, t) { | |
return new Promise((n, r) => { | |
c.default.readFile(e, t, (e, t) => { | |
e ? r(e) : n(t) | |
}) | |
}) | |
} | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = void 0; | |
var i = r(n(2)), | |
u = r(n("./server/node_modules/axios/index.js")), | |
c = r(n("./server/node_modules/fs-extra/lib/index.js")), | |
l = r(n(11)), | |
d = r(n(0)), | |
m = r(n("./server/node_modules/tmp/lib/tmp.js")), | |
p = r(n("./server/node_modules/mkdirp/index.js")), | |
f = r(n("./server/node_modules/uuid/v4.js")), | |
h = r(n("./server/node_modules/appdirectory/lib/appdirectory.js")), | |
v = r(n("./common/parseXml.js")); | |
let _, g; | |
"darwin" === l.default.platform() ? g = "darwin-x86_64" : "win32" === l.default.platform() ? g = "windows-i386" : "linux" === l.default.platform() && "x64" === l.default.arch() ? g = "linux-ubuntu-x86_64" : "linux" === l.default.platform() && "arm" === l.default.arch() && (g = "linux-raspi2-arm7"), _ = n("./server/codecs recursive ^\\.\\/.*\\/CodecManifest\\.js$")(`./${g}/CodecManifest.js`); | |
const y = new h.default("Plexamp"), | |
b = new h.default("Plex Media Server"), | |
j = new h.default("win32" === l.default.platform() ? "PlexMediaPlayer" : "Plex Media Player"), | |
x = new h.default("Plex"); | |
t.default = class e { | |
initialize() { | |
var t = this; | |
return o(function*() { | |
if (!_) return void console.error("Codec: No manifest for platform."); | |
const n = d.default.join(y.userData(), "Codecs", ".device-id"); | |
let r = n; | |
t.deviceID = yield e.ReadDeviceID(r); | |
const o = `${_.CODEC_VERSION}-${g}`; | |
t.codecDir = d.default.join(y.userData(), "Codecs", o), p.default.sync(t.codecDir), t.deviceID || (r = d.default.join(b.userData(), "Codecs", ".device-id"), t.deviceID = yield e.ReadDeviceID(r)), t.deviceID || (r = d.default.join(x.userData(), "Codecs", ".device-id"), t.deviceID = yield e.ReadDeviceID(r)), t.deviceID || (r = d.default.join(j.userData(), "codecs", ".device-id"), t.deviceID = yield e.ReadDeviceID(r)), r !== n && (console.log("CODEC: We do not have an device identifier.", r, n), t.deviceID || (t.deviceID = (0, f.default)(), console.log("CODEC: We are going to generate a device identifier from scratch:", t.deviceID)), console.log(`CODEC: Writing device identifier ${t.deviceID} to`, n), c.default.writeFileSync(n, t.deviceID)), console.log("CODEC: Initialize complete.") | |
})() | |
} | |
getCodecPath() { | |
let e = this.codecDir + d.default.sep; | |
return e = e.replace(/[\[\]\\":'= ]/g, "\\$&"), "win32" === l.default.platform() && (e = "\\\\\\\\?\\\\" + e), e | |
} | |
prepareCodec(e) { | |
var t = this; | |
return o(function*() { | |
if (!_) return !0; | |
const n = e in _.decoders; | |
return n && _.decoders[e].external ? t.fetchCodecIfNeeded(e) : n | |
})() | |
} | |
fetchCodecIfNeeded(t) { | |
var n = this; | |
return o(function*() { | |
const r = `${_.SHLIB_PREFIX}${_.decoders[t].filename}_decoder.${_.SHLIB_EXTENSION}`, | |
o = d.default.join(n.codecDir, r); | |
if (!(yield s(o))) { | |
console.log("CODEC: Downloading codec", t); | |
let r = `https://plex.tv/api/codecs/${t}_decoder`; | |
r += `?deviceId=${n.deviceID}`, r += `&version=${_.CODEC_VERSION}`, r += `&build=${g}`; | |
const s = yield u.default.get(r); | |
if (s.data) { | |
const t = yield(0, v.default)(s.data); | |
if (t && t.MediaContainer.Codec) { | |
const n = t.MediaContainer.Codec[0], | |
r = n.$.fileSha, | |
s = n.$.url; | |
return e.DownloadFileWithSHA(s, o, r) | |
} | |
return console.error("CODEC: Unable to figure out download path."), !1 | |
} | |
} | |
return !0 | |
})() | |
} | |
static DownloadFileWithSHA(t, n, r) { | |
return o(function*() { | |
if (yield s(n)) { | |
if ((yield e.HashFile(n)) === r) return console.warn("CODEC: Already had matching file", n), !0; | |
console.warn(`CODEC: Had file for ${t} but sha1 sum mismatched. Be scared.`) | |
} | |
const o = m.default.fileSync({ | |
discardDescriptor: !0 | |
}); | |
yield new Promise(function(e, n) { | |
u.default.get(t, { | |
responseType: "stream" | |
}).then(function(t) { | |
t.data.pipe(c.default.createWriteStream(o.name)).on("finish", e) | |
}).catch(n) | |
}); | |
const a = yield e.HashFile(o.name); | |
if (a === r) { | |
try { | |
c.default.renameSync(o.name, n) | |
} catch (e) { | |
c.default.copySync(o.name, n), c.default.unlinkSync(o.name) | |
} | |
return !0 | |
} | |
return console.error(`CODEC: Hash mismatch between ${a} and ${r}.`), !1 | |
})() | |
} | |
static ReadDeviceID(e) { | |
return o(function*() { | |
console.log("CODEC: Checking for device identifier in", e); | |
try { | |
const t = (yield a(e, "utf8")).trim(); | |
if (console.log("CODEC: Read", t), t.match(/[0-9a-f\\-]/i)) return t | |
} catch (e) { | |
console.error("CODEC: Error reading device identifier", e) | |
} | |
})() | |
} | |
static HashFile(e) { | |
return o(function*() { | |
try { | |
if (yield s(e)) { | |
const t = i.default.createHash("sha1"); | |
return t.update(yield a(e)), t.digest("hex") | |
} | |
} catch (e) { | |
console.error("CODEC: Error hashing codec", e) | |
} | |
})() | |
} | |
}, e.exports = t.default | |
}, | |
"./server/codecs/darwin-x86_64/CodecManifest.js": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
t.default = { | |
SHLIB_EXTENSION: "dylib", | |
SHLIB_PREFIX: "lib", | |
CODEC_VERSION: "6bd6751-1276", | |
decoders: { | |
h264: { | |
filename: "h264", | |
lavcName: "h264", | |
external: !0 | |
}, | |
hevc: { | |
filename: "hevc", | |
lavcName: "hevc", | |
external: !0 | |
}, | |
vc1: { | |
filename: "vc1", | |
lavcName: "vc1", | |
external: !0 | |
}, | |
mpeg1video: { | |
filename: "mpeg1video", | |
lavcName: "mpeg1video", | |
external: !0 | |
}, | |
mpeg2video: { | |
filename: "mpeg2video", | |
lavcName: "mpeg2video", | |
external: !0 | |
}, | |
mpeg4: { | |
filename: "mpeg4", | |
lavcName: "mpeg4", | |
external: !0 | |
}, | |
msmpeg4v1: { | |
filename: "msmpeg4v1", | |
lavcName: "msmpeg4v1", | |
external: !0 | |
}, | |
msmpeg4v2: { | |
filename: "msmpeg4v2", | |
lavcName: "msmpeg4v2", | |
external: !0 | |
}, | |
msmpeg4v3: { | |
filename: "msmpeg4", | |
lavcName: "msmpeg4v3", | |
external: !0 | |
}, | |
aac: { | |
filename: "aac", | |
lavcName: "aac", | |
external: !0 | |
}, | |
aac_latm: { | |
filename: "aac_latm", | |
lavcName: "aac_latm", | |
external: !0 | |
}, | |
dca: { | |
filename: "dca", | |
lavcName: "dca", | |
external: !0 | |
}, | |
mp3: { | |
filename: "mp3", | |
lavcName: "mp3", | |
external: !0 | |
}, | |
ac3: { | |
filename: "ac3", | |
lavcName: "ac3", | |
external: !0 | |
}, | |
fake_avi: { | |
filename: "fake_avi", | |
lavcName: "fake_avi", | |
external: !0 | |
}, | |
png: { | |
filename: "png", | |
lavcName: "png", | |
external: !1 | |
}, | |
apng: { | |
filename: "apng", | |
lavcName: "apng", | |
external: !1 | |
}, | |
bmp: { | |
filename: "bmp", | |
lavcName: "bmp", | |
external: !1 | |
}, | |
mjpeg: { | |
filename: "mjpeg", | |
lavcName: "mjpeg", | |
external: !1 | |
}, | |
thp: { | |
filename: "thp", | |
lavcName: "thp", | |
external: !1 | |
}, | |
gif: { | |
filename: "gif", | |
lavcName: "gif", | |
external: !1 | |
}, | |
vp8: { | |
filename: "vp8", | |
lavcName: "vp8", | |
external: !0 | |
}, | |
vp9: { | |
filename: "vp9", | |
lavcName: "vp9", | |
external: !0 | |
}, | |
webp: { | |
filename: "webp", | |
lavcName: "webp", | |
external: !0 | |
}, | |
dirac: { | |
filename: "dirac", | |
lavcName: "dirac", | |
external: !1 | |
}, | |
ffv1: { | |
filename: "ffv1", | |
lavcName: "ffv1", | |
external: !1 | |
}, | |
ffvhuff: { | |
filename: "ffvhuff", | |
lavcName: "ffvhuff", | |
external: !1 | |
}, | |
huffyuv: { | |
filename: "huffyuv", | |
lavcName: "huffyuv", | |
external: !1 | |
}, | |
rawvideo: { | |
filename: "rawvideo", | |
lavcName: "rawvideo", | |
external: !1 | |
}, | |
"012v": { | |
filename: "zero12v", | |
lavcName: "zero12v", | |
external: !1 | |
}, | |
ayuv: { | |
filename: "ayuv", | |
lavcName: "ayuv", | |
external: !1 | |
}, | |
r210: { | |
filename: "r210", | |
lavcName: "r210", | |
external: !1 | |
}, | |
v210: { | |
filename: "v210", | |
lavcName: "v210", | |
external: !1 | |
}, | |
v210x: { | |
filename: "v210x", | |
lavcName: "v210x", | |
external: !1 | |
}, | |
v308: { | |
filename: "v308", | |
lavcName: "v308", | |
external: !1 | |
}, | |
v408: { | |
filename: "v408", | |
lavcName: "v408", | |
external: !1 | |
}, | |
v410: { | |
filename: "v410", | |
lavcName: "v410", | |
external: !1 | |
}, | |
y41p: { | |
filename: "y41p", | |
lavcName: "y41p", | |
external: !1 | |
}, | |
yuv4: { | |
filename: "yuv4", | |
lavcName: "yuv4", | |
external: !1 | |
}, | |
ansi: { | |
filename: "ansi", | |
lavcName: "ansi", | |
external: !1 | |
}, | |
alac: { | |
filename: "alac", | |
lavcName: "alac", | |
external: !1 | |
}, | |
flac: { | |
filename: "flac", | |
lavcName: "flac", | |
external: !1 | |
}, | |
vorbis: { | |
filename: "vorbis", | |
lavcName: "vorbis", | |
external: !1 | |
}, | |
opus: { | |
filename: "opus", | |
lavcName: "opus", | |
external: !1 | |
}, | |
pcm_f32be: { | |
filename: "pcm_f32be", | |
lavcName: "pcm_f32be", | |
external: !1 | |
}, | |
pcm_f32le: { | |
filename: "pcm_f32le", | |
lavcName: "pcm_f32le", | |
external: !1 | |
}, | |
pcm_f64be: { | |
filename: "pcm_f64be", | |
lavcName: "pcm_f64be", | |
external: !1 | |
}, | |
pcm_f64le: { | |
filename: "pcm_f64le", | |
lavcName: "pcm_f64le", | |
external: !1 | |
}, | |
pcm_lxf: { | |
filename: "pcm_lxf", | |
lavcName: "pcm_lxf", | |
external: !1 | |
}, | |
pcm_s16be: { | |
filename: "pcm_s16be", | |
lavcName: "pcm_s16be", | |
external: !1 | |
}, | |
pcm_s16be_planar: { | |
filename: "pcm_s16be_planar", | |
lavcName: "pcm_s16be_planar", | |
external: !1 | |
}, | |
pcm_s16le: { | |
filename: "pcm_s16le", | |
lavcName: "pcm_s16le", | |
external: !1 | |
}, | |
pcm_s16le_planar: { | |
filename: "pcm_s16le_planar", | |
lavcName: "pcm_s16le_planar", | |
external: !1 | |
}, | |
pcm_s24be: { | |
filename: "pcm_s24be", | |
lavcName: "pcm_s24be", | |
external: !1 | |
}, | |
pcm_s24le: { | |
filename: "pcm_s24le", | |
lavcName: "pcm_s24le", | |
external: !1 | |
}, | |
pcm_s24le_planar: { | |
filename: "pcm_s24le_planar", | |
lavcName: "pcm_s24le_planar", | |
external: !1 | |
}, | |
pcm_s32be: { | |
filename: "pcm_s32be", | |
lavcName: "pcm_s32be", | |
external: !1 | |
}, | |
pcm_s32le: { | |
filename: "pcm_s32le", | |
lavcName: "pcm_s32le", | |
external: !1 | |
}, | |
pcm_s32le_planar: { | |
filename: "pcm_s32le_planar", | |
lavcName: "pcm_s32le_planar", | |
external: !1 | |
}, | |
pcm_s8: { | |
filename: "pcm_s8", | |
lavcName: "pcm_s8", | |
external: !1 | |
}, | |
pcm_s8_planar: { | |
filename: "pcm_s8_planar", | |
lavcName: "pcm_s8_planar", | |
external: !1 | |
}, | |
pcm_u16be: { | |
filename: "pcm_u16be", | |
lavcName: "pcm_u16be", | |
external: !1 | |
}, | |
pcm_u16le: { | |
filename: "pcm_u16le", | |
lavcName: "pcm_u16le", | |
external: !1 | |
}, | |
pcm_u24be: { | |
filename: "pcm_u24be", | |
lavcName: "pcm_u24be", | |
external: !1 | |
}, | |
pcm_u24le: { | |
filename: "pcm_u24le", | |
lavcName: "pcm_u24le", | |
external: !1 | |
}, | |
pcm_u32be: { | |
filename: "pcm_u32be", | |
lavcName: "pcm_u32be", | |
external: !1 | |
}, | |
pcm_u32le: { | |
filename: "pcm_u32le", | |
lavcName: "pcm_u32le", | |
external: !1 | |
}, | |
pcm_u8: { | |
filename: "pcm_u8", | |
lavcName: "pcm_u8", | |
external: !1 | |
}, | |
pcm_alaw: { | |
filename: "pcm_alaw", | |
lavcName: "pcm_alaw", | |
external: !1 | |
}, | |
pcm_mulaw: { | |
filename: "pcm_mulaw", | |
lavcName: "pcm_mulaw", | |
external: !1 | |
}, | |
ass: { | |
filename: "ass", | |
lavcName: "ass", | |
external: !1 | |
}, | |
dvb_subtitle: { | |
filename: "dvbsub", | |
lavcName: "dvbsub", | |
external: !1 | |
}, | |
vobsub: { | |
filename: "dvdsub", | |
lavcName: "dvdsub", | |
external: !1 | |
}, | |
eia_608: { | |
filename: "cc_dec", | |
lavcName: "ccaption", | |
external: !1 | |
}, | |
pgs: { | |
filename: "pgssub", | |
lavcName: "pgssub", | |
external: !1 | |
}, | |
jacosub: { | |
filename: "jacosub", | |
lavcName: "jacosub", | |
external: !1 | |
}, | |
microdvd: { | |
filename: "microdvd", | |
lavcName: "microdvd", | |
external: !1 | |
}, | |
mov_text: { | |
filename: "mov_text", | |
lavcName: "movtext", | |
external: !1 | |
}, | |
mpl2: { | |
filename: "mpl2", | |
lavcName: "mpl2", | |
external: !1 | |
}, | |
pjs: { | |
filename: "pjs", | |
lavcName: "pjs", | |
external: !1 | |
}, | |
realtext: { | |
filename: "realtext", | |
lavcName: "realtext", | |
external: !1 | |
}, | |
sami: { | |
filename: "sami", | |
lavcName: "sami", | |
external: !1 | |
}, | |
ssa: { | |
filename: "ssa", | |
lavcName: "ssa", | |
external: !1 | |
}, | |
stl: { | |
filename: "stl", | |
lavcName: "stl", | |
external: !1 | |
}, | |
srt: { | |
filename: "subrip", | |
lavcName: "subrip", | |
external: !1 | |
}, | |
subviewer: { | |
filename: "subviewer", | |
lavcName: "subviewer", | |
external: !1 | |
}, | |
subviewer1: { | |
filename: "subviewer1", | |
lavcName: "subviewer1", | |
external: !0 | |
}, | |
text: { | |
filename: "text", | |
lavcName: "text", | |
external: !1 | |
}, | |
vplayer: { | |
filename: "vplayer", | |
lavcName: "vplayer", | |
external: !1 | |
}, | |
webvtt: { | |
filename: "webvtt", | |
lavcName: "webvtt", | |
external: !1 | |
}, | |
xsub: { | |
filename: "xsub", | |
lavcName: "xsub", | |
external: !1 | |
}, | |
"4xm": { | |
filename: "fourxm", | |
lavcName: "fourxm", | |
external: !0 | |
}, | |
"8bps": { | |
filename: "eightbps", | |
lavcName: "eightbps", | |
external: !0 | |
}, | |
aasc: { | |
filename: "aasc", | |
lavcName: "aasc", | |
external: !0 | |
}, | |
aic: { | |
filename: "aic", | |
lavcName: "aic", | |
external: !0 | |
}, | |
alias_pix: { | |
filename: "alias_pix", | |
lavcName: "alias_pix", | |
external: !0 | |
}, | |
amv: { | |
filename: "amv", | |
lavcName: "amv", | |
external: !0 | |
}, | |
anm: { | |
filename: "anm", | |
lavcName: "anm", | |
external: !0 | |
}, | |
asv1: { | |
filename: "asv1", | |
lavcName: "asv1", | |
external: !0 | |
}, | |
asv2: { | |
filename: "asv2", | |
lavcName: "asv2", | |
external: !0 | |
}, | |
aura: { | |
filename: "aura", | |
lavcName: "aura", | |
external: !0 | |
}, | |
aura2: { | |
filename: "aura2", | |
lavcName: "aura2", | |
external: !0 | |
}, | |
avrn: { | |
filename: "avrn", | |
lavcName: "avrn", | |
external: !0 | |
}, | |
avrp: { | |
filename: "avrp", | |
lavcName: "avrp", | |
external: !0 | |
}, | |
avs: { | |
filename: "avs", | |
lavcName: "avs", | |
external: !0 | |
}, | |
avui: { | |
filename: "avui", | |
lavcName: "avui", | |
external: !0 | |
}, | |
bethsoftvid: { | |
filename: "bethsoftvid", | |
lavcName: "bethsoftvid", | |
external: !0 | |
}, | |
bfi: { | |
filename: "bfi", | |
lavcName: "bfi", | |
external: !0 | |
}, | |
binkvideo: { | |
filename: "bink", | |
lavcName: "bink", | |
external: !0 | |
}, | |
bintext: { | |
filename: "bintext", | |
lavcName: "bintext", | |
external: !0 | |
}, | |
bmv_video: { | |
filename: "bmv_video", | |
lavcName: "bmv_video", | |
external: !0 | |
}, | |
brender_pix: { | |
filename: "brender_pix", | |
lavcName: "brender_pix", | |
external: !0 | |
}, | |
c93: { | |
filename: "c93", | |
lavcName: "c93", | |
external: !0 | |
}, | |
cavs: { | |
filename: "cavs", | |
lavcName: "cavs", | |
external: !0 | |
}, | |
cdgraphics: { | |
filename: "cdgraphics", | |
lavcName: "cdgraphics", | |
external: !0 | |
}, | |
cdxl: { | |
filename: "cdxl", | |
lavcName: "cdxl", | |
external: !0 | |
}, | |
cfhd: { | |
filename: "cfhd", | |
lavcName: "cfhd", | |
external: !0 | |
}, | |
cinepak: { | |
filename: "cinepak", | |
lavcName: "cinepak", | |
external: !0 | |
}, | |
cljr: { | |
filename: "cljr", | |
lavcName: "cljr", | |
external: !0 | |
}, | |
cllc: { | |
filename: "cllc", | |
lavcName: "cllc", | |
external: !0 | |
}, | |
cmv: { | |
filename: "eacmv", | |
lavcName: "eacmv", | |
external: !0 | |
}, | |
cpia: { | |
filename: "cpia", | |
lavcName: "cpia", | |
external: !0 | |
}, | |
cscd: { | |
filename: "cscd", | |
lavcName: "cscd", | |
external: !0 | |
}, | |
cyuv: { | |
filename: "cyuv", | |
lavcName: "cyuv", | |
external: !0 | |
}, | |
dds: { | |
filename: "dds", | |
lavcName: "dds", | |
external: !0 | |
}, | |
dfa: { | |
filename: "dfa", | |
lavcName: "dfa", | |
external: !0 | |
}, | |
dnxhd: { | |
filename: "dnxhd", | |
lavcName: "dnxhd", | |
external: !0 | |
}, | |
dpx: { | |
filename: "dpx", | |
lavcName: "dpx", | |
external: !0 | |
}, | |
dsicinvideo: { | |
filename: "dsicinvideo", | |
lavcName: "dsicinvideo", | |
external: !0 | |
}, | |
dvvideo: { | |
filename: "dvvideo", | |
lavcName: "dvvideo", | |
external: !0 | |
}, | |
dxa: { | |
filename: "dxa", | |
lavcName: "dxa", | |
external: !0 | |
}, | |
dxtory: { | |
filename: "dxtory", | |
lavcName: "dxtory", | |
external: !0 | |
}, | |
dxv: { | |
filename: "dxv", | |
lavcName: "dxv", | |
external: !0 | |
}, | |
escape124: { | |
filename: "escape124", | |
lavcName: "escape124", | |
external: !0 | |
}, | |
escape130: { | |
filename: "escape130", | |
lavcName: "escape130", | |
external: !0 | |
}, | |
exr: { | |
filename: "exr", | |
lavcName: "exr", | |
external: !0 | |
}, | |
fic: { | |
filename: "fic", | |
lavcName: "fic", | |
external: !0 | |
}, | |
flashsv: { | |
filename: "flashsv", | |
lavcName: "flashsv", | |
external: !0 | |
}, | |
flashsv2: { | |
filename: "flashsv2", | |
lavcName: "flashsv2", | |
external: !0 | |
}, | |
flic: { | |
filename: "flic", | |
lavcName: "flic", | |
external: !0 | |
}, | |
flv1: { | |
filename: "flv", | |
lavcName: "flv", | |
external: !0 | |
}, | |
fraps: { | |
filename: "fraps", | |
lavcName: "fraps", | |
external: !0 | |
}, | |
frwu: { | |
filename: "frwu", | |
lavcName: "frwu", | |
external: !0 | |
}, | |
g2m: { | |
filename: "g2m", | |
lavcName: "g2m", | |
external: !0 | |
}, | |
h261: { | |
filename: "h261", | |
lavcName: "h261", | |
external: !0 | |
}, | |
h263: { | |
filename: "h263", | |
lavcName: "h263", | |
external: !0 | |
}, | |
h263i: { | |
filename: "h263i", | |
lavcName: "h263i", | |
external: !0 | |
}, | |
h263p: { | |
filename: "h263p", | |
lavcName: "h263p", | |
external: !0 | |
}, | |
hap: { | |
filename: "hap", | |
lavcName: "hap", | |
external: !0 | |
}, | |
hnm4video: { | |
filename: "hnm4_video", | |
lavcName: "hnm4_video", | |
external: !0 | |
}, | |
hq_hqa: { | |
filename: "hq_hqa", | |
lavcName: "hq_hqa", | |
external: !0 | |
}, | |
hqx: { | |
filename: "hqx", | |
lavcName: "hqx", | |
external: !0 | |
}, | |
idcin: { | |
filename: "idcinvideo", | |
lavcName: "idcin", | |
external: !0 | |
}, | |
idf: { | |
filename: "idf", | |
lavcName: "idf", | |
external: !0 | |
}, | |
iff_ilbm: { | |
filename: "iff", | |
lavcName: "iff_ilbm", | |
external: !0 | |
}, | |
indeo2: { | |
filename: "indeo2", | |
lavcName: "indeo2", | |
external: !0 | |
}, | |
indeo3: { | |
filename: "indeo3", | |
lavcName: "indeo3", | |
external: !0 | |
}, | |
indeo4: { | |
filename: "indeo4", | |
lavcName: "indeo4", | |
external: !0 | |
}, | |
indeo5: { | |
filename: "indeo5", | |
lavcName: "indeo5", | |
external: !0 | |
}, | |
interplayvideo: { | |
filename: "interplay_video", | |
lavcName: "interplay_video", | |
external: !0 | |
}, | |
jpeg2000: { | |
filename: "jpeg2000", | |
lavcName: "jpeg2000", | |
external: !0 | |
}, | |
jpegls: { | |
filename: "jpegls", | |
lavcName: "jpegls", | |
external: !0 | |
}, | |
jv: { | |
filename: "jv", | |
lavcName: "jv", | |
external: !0 | |
}, | |
kgv1: { | |
filename: "kgv1", | |
lavcName: "kgv1", | |
external: !0 | |
}, | |
kmvc: { | |
filename: "kmvc", | |
lavcName: "kmvc", | |
external: !0 | |
}, | |
lagarith: { | |
filename: "lagarith", | |
lavcName: "lagarith", | |
external: !0 | |
}, | |
loco: { | |
filename: "loco", | |
lavcName: "loco", | |
external: !0 | |
}, | |
mad: { | |
filename: "eamad", | |
lavcName: "eamad", | |
external: !0 | |
}, | |
mdec: { | |
filename: "mdec", | |
lavcName: "mdec", | |
external: !0 | |
}, | |
mimic: { | |
filename: "mimic", | |
lavcName: "mimic", | |
external: !0 | |
}, | |
mjpegb: { | |
filename: "mjpegb", | |
lavcName: "mjpegb", | |
external: !0 | |
}, | |
mmvideo: { | |
filename: "mmvideo", | |
lavcName: "mmvideo", | |
external: !0 | |
}, | |
motionpixels: { | |
filename: "motionpixels", | |
lavcName: "motionpixels", | |
external: !0 | |
}, | |
msa1: { | |
filename: "msa1", | |
lavcName: "msa1", | |
external: !0 | |
}, | |
msrle: { | |
filename: "msrle", | |
lavcName: "msrle", | |
external: !0 | |
}, | |
mss1: { | |
filename: "mss1", | |
lavcName: "mss1", | |
external: !0 | |
}, | |
mss2: { | |
filename: "mss2", | |
lavcName: "mss2", | |
external: !0 | |
}, | |
msvideo1: { | |
filename: "msvideo1", | |
lavcName: "msvideo1", | |
external: !0 | |
}, | |
mszh: { | |
filename: "mszh", | |
lavcName: "mszh", | |
external: !0 | |
}, | |
mts2: { | |
filename: "mts2", | |
lavcName: "mts2", | |
external: !0 | |
}, | |
mvc1: { | |
filename: "mvc1", | |
lavcName: "mvc1", | |
external: !0 | |
}, | |
mvc2: { | |
filename: "mvc2", | |
lavcName: "mvc2", | |
external: !0 | |
}, | |
mxpeg: { | |
filename: "mxpeg", | |
lavcName: "mxpeg", | |
external: !0 | |
}, | |
nuv: { | |
filename: "nuv", | |
lavcName: "nuv", | |
external: !0 | |
}, | |
paf_video: { | |
filename: "paf_video", | |
lavcName: "paf_video", | |
external: !0 | |
}, | |
pam: { | |
filename: "pam", | |
lavcName: "pam", | |
external: !0 | |
}, | |
pbm: { | |
filename: "pbm", | |
lavcName: "pbm", | |
external: !0 | |
}, | |
pcx: { | |
filename: "pcx", | |
lavcName: "pcx", | |
external: !0 | |
}, | |
pgm: { | |
filename: "pgm", | |
lavcName: "pgm", | |
external: !0 | |
}, | |
pgmyuv: { | |
filename: "pgmyuv", | |
lavcName: "pgmyuv", | |
external: !0 | |
}, | |
pictor: { | |
filename: "pictor", | |
lavcName: "pictor", | |
external: !0 | |
}, | |
ppm: { | |
filename: "ppm", | |
lavcName: "ppm", | |
external: !0 | |
}, | |
prores: { | |
filename: "prores", | |
lavcName: "prores", | |
external: !0 | |
}, | |
ptx: { | |
filename: "ptx", | |
lavcName: "ptx", | |
external: !0 | |
}, | |
qdraw: { | |
filename: "qdraw", | |
lavcName: "qdraw", | |
external: !0 | |
}, | |
qpeg: { | |
filename: "qpeg", | |
lavcName: "qpeg", | |
external: !0 | |
}, | |
qtrle: { | |
filename: "qtrle", | |
lavcName: "qtrle", | |
external: !0 | |
}, | |
r10k: { | |
filename: "r10k", | |
lavcName: "r10k", | |
external: !0 | |
}, | |
rl2: { | |
filename: "rl2", | |
lavcName: "rl2", | |
external: !0 | |
}, | |
roq: { | |
filename: "roqvideo", | |
lavcName: "roq", | |
external: !0 | |
}, | |
rpza: { | |
filename: "rpza", | |
lavcName: "rpza", | |
external: !0 | |
}, | |
rscc: { | |
filename: "rscc", | |
lavcName: "rscc", | |
external: !0 | |
}, | |
rv10: { | |
filename: "rv10", | |
lavcName: "rv10", | |
external: !0 | |
}, | |
rv20: { | |
filename: "rv20", | |
lavcName: "rv20", | |
external: !0 | |
}, | |
rv30: { | |
filename: "rv30", | |
lavcName: "rv30", | |
external: !0 | |
}, | |
rv40: { | |
filename: "rv40", | |
lavcName: "rv40", | |
external: !0 | |
}, | |
sanm: { | |
filename: "sanm", | |
lavcName: "sanm", | |
external: !0 | |
}, | |
screenpresso: { | |
filename: "screenpresso", | |
lavcName: "screenpresso", | |
external: !0 | |
}, | |
sgi: { | |
filename: "sgi", | |
lavcName: "sgi", | |
external: !0 | |
}, | |
sgirle: { | |
filename: "sgirle", | |
lavcName: "sgirle", | |
external: !0 | |
}, | |
smackvideo: { | |
filename: "smackvid", | |
lavcName: "smacker", | |
external: !0 | |
}, | |
smc: { | |
filename: "smc", | |
lavcName: "smc", | |
external: !0 | |
}, | |
smvjpeg: { | |
filename: "smvjpeg", | |
lavcName: "smvjpeg", | |
external: !0 | |
}, | |
snow: { | |
filename: "snow", | |
lavcName: "snow", | |
external: !0 | |
}, | |
sp5x: { | |
filename: "sp5x", | |
lavcName: "sp5x", | |
external: !0 | |
}, | |
sunrast: { | |
filename: "sunrast", | |
lavcName: "sunrast", | |
external: !0 | |
}, | |
svq1: { | |
filename: "svq1", | |
lavcName: "svq1", | |
external: !0 | |
}, | |
svq3: { | |
filename: "svq3", | |
lavcName: "svq3", | |
external: !0 | |
}, | |
targa: { | |
filename: "targa", | |
lavcName: "targa", | |
external: !0 | |
}, | |
targa_y216: { | |
filename: "targa_y216", | |
lavcName: "targa_y216", | |
external: !0 | |
}, | |
tdsc: { | |
filename: "tdsc", | |
lavcName: "tdsc", | |
external: !0 | |
}, | |
tgq: { | |
filename: "eatgq", | |
lavcName: "eatgq", | |
external: !0 | |
}, | |
tgv: { | |
filename: "eatgv", | |
lavcName: "eatgv", | |
external: !0 | |
}, | |
theora: { | |
filename: "theora", | |
lavcName: "theora", | |
external: !0 | |
}, | |
tiertexseqvideo: { | |
filename: "tiertexseqvideo", | |
lavcName: "tiertexseqvideo", | |
external: !0 | |
}, | |
tiff: { | |
filename: "tiff", | |
lavcName: "tiff", | |
external: !0 | |
}, | |
tmv: { | |
filename: "tmv", | |
lavcName: "tmv", | |
external: !0 | |
}, | |
tqi: { | |
filename: "eatqi", | |
lavcName: "eatqi", | |
external: !0 | |
}, | |
truemotion1: { | |
filename: "truemotion1", | |
lavcName: "truemotion1", | |
external: !0 | |
}, | |
truemotion2: { | |
filename: "truemotion2", | |
lavcName: "truemotion2", | |
external: !0 | |
}, | |
truemotion2rt: { | |
filename: "truemotion2rt", | |
lavcName: "truemotion2rt", | |
external: !0 | |
}, | |
tscc: { | |
filename: "camtasia", | |
lavcName: "tscc", | |
external: !0 | |
}, | |
tscc2: { | |
filename: "tscc2", | |
lavcName: "tscc2", | |
external: !0 | |
}, | |
txd: { | |
filename: "txd", | |
lavcName: "txd", | |
external: !0 | |
}, | |
ulti: { | |
filename: "ultimotion", | |
lavcName: "ulti", | |
external: !0 | |
}, | |
utvideo: { | |
filename: "utvideo", | |
lavcName: "utvideo", | |
external: !0 | |
}, | |
vb: { | |
filename: "vb", | |
lavcName: "vb", | |
external: !0 | |
}, | |
vble: { | |
filename: "vble", | |
lavcName: "vble", | |
external: !0 | |
}, | |
vcr1: { | |
filename: "vcr1", | |
lavcName: "vcr1", | |
external: !0 | |
}, | |
vixl: { | |
filename: "xl", | |
lavcName: "xl", | |
external: !0 | |
}, | |
vmdvideo: { | |
filename: "vmdvideo", | |
lavcName: "vmdvideo", | |
external: !0 | |
}, | |
vmnc: { | |
filename: "vmnc", | |
lavcName: "vmnc", | |
external: !0 | |
}, | |
vp3: { | |
filename: "vp3", | |
lavcName: "vp3", | |
external: !0 | |
}, | |
vp5: { | |
filename: "vp5", | |
lavcName: "vp5", | |
external: !0 | |
}, | |
vp6: { | |
filename: "vp6", | |
lavcName: "vp6", | |
external: !0 | |
}, | |
vp6a: { | |
filename: "vp6a", | |
lavcName: "vp6a", | |
external: !0 | |
}, | |
vp6f: { | |
filename: "vp6f", | |
lavcName: "vp6f", | |
external: !0 | |
}, | |
vp7: { | |
filename: "vp7", | |
lavcName: "vp7", | |
external: !0 | |
}, | |
wmv1: { | |
filename: "wmv1", | |
lavcName: "wmv1", | |
external: !0 | |
}, | |
wmv2: { | |
filename: "wmv2", | |
lavcName: "wmv2", | |
external: !0 | |
}, | |
wmv3: { | |
filename: "wmv3", | |
lavcName: "wmv3", | |
external: !0 | |
}, | |
wmv3image: { | |
filename: "wmv3image", | |
lavcName: "wmv3image", | |
external: !0 | |
}, | |
wnv1: { | |
filename: "wnv1", | |
lavcName: "wnv1", | |
external: !0 | |
}, | |
ws_vqa: { | |
filename: "vqavideo", | |
lavcName: "vqa", | |
external: !0 | |
}, | |
xan_wc3: { | |
filename: "xan_wc3", | |
lavcName: "xan_wc3", | |
external: !0 | |
}, | |
xan_wc4: { | |
filename: "xan_wc4", | |
lavcName: "xan_wc4", | |
external: !0 | |
}, | |
xbin: { | |
filename: "xbin", | |
lavcName: "xbin", | |
external: !0 | |
}, | |
xbm: { | |
filename: "xbm", | |
lavcName: "xbm", | |
external: !0 | |
}, | |
xface: { | |
filename: "xface", | |
lavcName: "xface", | |
external: !0 | |
}, | |
xwd: { | |
filename: "xwd", | |
lavcName: "xwd", | |
external: !0 | |
}, | |
yop: { | |
filename: "yop", | |
lavcName: "yop", | |
external: !0 | |
}, | |
zerocodec: { | |
filename: "zerocodec", | |
lavcName: "zerocodec", | |
external: !0 | |
}, | |
zlib: { | |
filename: "zlib", | |
lavcName: "zlib", | |
external: !0 | |
}, | |
zmbv: { | |
filename: "zmbv", | |
lavcName: "zmbv", | |
external: !0 | |
}, | |
"8svx_exp": { | |
filename: "eightsvx_exp", | |
lavcName: "eightsvx_exp", | |
external: !0 | |
}, | |
"8svx_fib": { | |
filename: "eightsvx_exp", | |
lavcName: "eightsvx_exp", | |
external: !0 | |
}, | |
adpcm_4xm: { | |
filename: "adpcm_4xm", | |
lavcName: "adpcm_4xm", | |
external: !0 | |
}, | |
adpcm_adx: { | |
filename: "adpcm_adx", | |
lavcName: "adpcm_adx", | |
external: !0 | |
}, | |
adpcm_afc: { | |
filename: "adpcm_afc", | |
lavcName: "adpcm_afc", | |
external: !0 | |
}, | |
adpcm_aica: { | |
filename: "adpcm_aica", | |
lavcName: "adpcm_aica", | |
external: !0 | |
}, | |
adpcm_ct: { | |
filename: "adpcm_ct", | |
lavcName: "adpcm_ct", | |
external: !0 | |
}, | |
adpcm_dtk: { | |
filename: "adpcm_dtk", | |
lavcName: "adpcm_dtk", | |
external: !0 | |
}, | |
adpcm_ea: { | |
filename: "adpcm_ea", | |
lavcName: "adpcm_ea", | |
external: !0 | |
}, | |
adpcm_ea_maxis_xa: { | |
filename: "adpcm_ea_maxis_xa", | |
lavcName: "adpcm_ea_maxis_xa", | |
external: !0 | |
}, | |
adpcm_ea_r1: { | |
filename: "adpcm_ea_r1", | |
lavcName: "adpcm_ea_r1", | |
external: !0 | |
}, | |
adpcm_ea_r2: { | |
filename: "adpcm_ea_r2", | |
lavcName: "adpcm_ea_r2", | |
external: !0 | |
}, | |
adpcm_ea_r3: { | |
filename: "adpcm_ea_r3", | |
lavcName: "adpcm_ea_r3", | |
external: !0 | |
}, | |
adpcm_ea_xas: { | |
filename: "adpcm_ea_xas", | |
lavcName: "adpcm_ea_xas", | |
external: !0 | |
}, | |
adpcm_ima_dat4: { | |
filename: "adpcm_ima_dat4", | |
lavcName: "adpcm_ima_dat4", | |
external: !0 | |
}, | |
adpcm_g722: { | |
filename: "g722", | |
lavcName: "adpcm_g722", | |
external: !0 | |
}, | |
adpcm_g726: { | |
filename: "g726", | |
lavcName: "adpcm_g726", | |
external: !0 | |
}, | |
adpcm_g726le: { | |
filename: "g726le", | |
lavcName: "adpcm_g726le", | |
external: !0 | |
}, | |
adpcm_ima_amv: { | |
filename: "adpcm_ima_amv", | |
lavcName: "adpcm_ima_amv", | |
external: !0 | |
}, | |
adpcm_ima_apc: { | |
filename: "adpcm_ima_apc", | |
lavcName: "adpcm_ima_apc", | |
external: !0 | |
}, | |
adpcm_ima_dk3: { | |
filename: "adpcm_ima_dk3", | |
lavcName: "adpcm_ima_dk3", | |
external: !0 | |
}, | |
adpcm_ima_dk4: { | |
filename: "adpcm_ima_dk4", | |
lavcName: "adpcm_ima_dk4", | |
external: !0 | |
}, | |
adpcm_ima_ea_eacs: { | |
filename: "adpcm_ima_ea_eacs", | |
lavcName: "adpcm_ima_ea_eacs", | |
external: !0 | |
}, | |
adpcm_ima_ea_sead: { | |
filename: "adpcm_ima_ea_sead", | |
lavcName: "adpcm_ima_ea_sead", | |
external: !0 | |
}, | |
adpcm_ima_iss: { | |
filename: "adpcm_ima_iss", | |
lavcName: "adpcm_ima_iss", | |
external: !0 | |
}, | |
adpcm_ima_oki: { | |
filename: "adpcm_ima_oki", | |
lavcName: "adpcm_ima_oki", | |
external: !0 | |
}, | |
adpcm_ima_qt: { | |
filename: "adpcm_ima_qt", | |
lavcName: "adpcm_ima_qt", | |
external: !0 | |
}, | |
adpcm_ima_rad: { | |
filename: "adpcm_ima_rad", | |
lavcName: "adpcm_ima_rad", | |
external: !0 | |
}, | |
adpcm_ima_smjpeg: { | |
filename: "adpcm_ima_smjpeg", | |
lavcName: "adpcm_ima_smjpeg", | |
external: !0 | |
}, | |
adpcm_ima_wav: { | |
filename: "adpcm_ima_wav", | |
lavcName: "adpcm_ima_wav", | |
external: !0 | |
}, | |
adpcm_ima_ws: { | |
filename: "adpcm_ima_ws", | |
lavcName: "adpcm_ima_ws", | |
external: !0 | |
}, | |
adpcm_ms: { | |
filename: "adpcm_ms", | |
lavcName: "adpcm_ms", | |
external: !0 | |
}, | |
adpcm_psx: { | |
filename: "adpcm_psx", | |
lavcName: "adpcm_psx", | |
external: !0 | |
}, | |
adpcm_sbpro_2: { | |
filename: "adpcm_sbpro_2", | |
lavcName: "adpcm_sbpro_2", | |
external: !0 | |
}, | |
adpcm_sbpro_3: { | |
filename: "adpcm_sbpro_3", | |
lavcName: "adpcm_sbpro_3", | |
external: !0 | |
}, | |
adpcm_sbpro_4: { | |
filename: "adpcm_sbpro_4", | |
lavcName: "adpcm_sbpro_4", | |
external: !0 | |
}, | |
adpcm_swf: { | |
filename: "adpcm_swf", | |
lavcName: "adpcm_swf", | |
external: !0 | |
}, | |
adpcm_thp: { | |
filename: "adpcm_thp", | |
lavcName: "adpcm_thp", | |
external: !0 | |
}, | |
adpcm_thp_le: { | |
filename: "adpcm_thp_le", | |
lavcName: "adpcm_thp_le", | |
external: !0 | |
}, | |
adpcm_vima: { | |
filename: "adpcm_vima", | |
lavcName: "adpcm_vima", | |
external: !0 | |
}, | |
adpcm_xa: { | |
filename: "adpcm_xa", | |
lavcName: "adpcm_xa", | |
external: !0 | |
}, | |
adpcm_yamaha: { | |
filename: "adpcm_yamaha", | |
lavcName: "adpcm_yamaha", | |
external: !0 | |
}, | |
amr_nb: { | |
filename: "amrnb", | |
lavcName: "amrnb", | |
external: !0 | |
}, | |
amr_wb: { | |
filename: "amrwb", | |
lavcName: "amrwb", | |
external: !0 | |
}, | |
ape: { | |
filename: "ape", | |
lavcName: "ape", | |
external: !0 | |
}, | |
atrac1: { | |
filename: "atrac1", | |
lavcName: "atrac1", | |
external: !0 | |
}, | |
atrac3: { | |
filename: "atrac3", | |
lavcName: "atrac3", | |
external: !0 | |
}, | |
atrac3p: { | |
filename: "atrac3plus", | |
lavcName: "atrac3p", | |
external: !0 | |
}, | |
avc: { | |
filename: "on2avc", | |
lavcName: "on2avc", | |
external: !0 | |
}, | |
binkaudio_dct: { | |
filename: "binkaudio_dct", | |
lavcName: "binkaudio_dct", | |
external: !0 | |
}, | |
binkaudio_rdft: { | |
filename: "binkaudio_rdft", | |
lavcName: "binkaudio_rdft", | |
external: !0 | |
}, | |
bmv_audio: { | |
filename: "bmv_audio", | |
lavcName: "bmv_audio", | |
external: !0 | |
}, | |
comfortnoise: { | |
filename: "comfortnoise", | |
lavcName: "comfortnoise", | |
external: !0 | |
}, | |
cook: { | |
filename: "cook", | |
lavcName: "cook", | |
external: !0 | |
}, | |
dsd_lsbf: { | |
filename: "dsd_lsbf", | |
lavcName: "dsd_lsbf", | |
external: !0 | |
}, | |
dsd_lsbf_planar: { | |
filename: "dsd_lsbf_planar", | |
lavcName: "dsd_lsbf_planar", | |
external: !0 | |
}, | |
dsd_msbf: { | |
filename: "dsd_msbf", | |
lavcName: "dsd_msbf", | |
external: !0 | |
}, | |
dsd_msbf_planar: { | |
filename: "dsd_msbf_planar", | |
lavcName: "dsd_msbf_planar", | |
external: !0 | |
}, | |
dsicinaudio: { | |
filename: "dsicinaudio", | |
lavcName: "dsicinaudio", | |
external: !0 | |
}, | |
dss_sp: { | |
filename: "dss_sp", | |
lavcName: "dss_sp", | |
external: !0 | |
}, | |
dvaudio: { | |
filename: "dvaudio", | |
lavcName: "dvaudio", | |
external: !0 | |
}, | |
evrc: { | |
filename: "evrc", | |
lavcName: "evrc", | |
external: !0 | |
}, | |
g723_1: { | |
filename: "g723_1", | |
lavcName: "g723_1", | |
external: !0 | |
}, | |
g729: { | |
filename: "g729", | |
lavcName: "g729", | |
external: !0 | |
}, | |
gsm: { | |
filename: "gsm", | |
lavcName: "gsm", | |
external: !0 | |
}, | |
gsm_ms: { | |
filename: "gsm_ms", | |
lavcName: "gsm_ms", | |
external: !0 | |
}, | |
iac: { | |
filename: "iac", | |
lavcName: "iac", | |
external: !0 | |
}, | |
imc: { | |
filename: "imc", | |
lavcName: "imc", | |
external: !0 | |
}, | |
interplay_dpcm: { | |
filename: "interplay_dpcm", | |
lavcName: "interplay_dpcm", | |
external: !0 | |
}, | |
interplayacm: { | |
filename: "interplay_acm", | |
lavcName: "interplay_acm", | |
external: !0 | |
}, | |
mace3: { | |
filename: "mace3", | |
lavcName: "mace3", | |
external: !0 | |
}, | |
mace6: { | |
filename: "mace6", | |
lavcName: "mace6", | |
external: !0 | |
}, | |
metasound: { | |
filename: "metasound", | |
lavcName: "metasound", | |
external: !0 | |
}, | |
mp1: { | |
filename: "mp1", | |
lavcName: "mp1", | |
external: !0 | |
}, | |
mp2: { | |
filename: "mp2", | |
lavcName: "mp2", | |
external: !0 | |
}, | |
mp3adu: { | |
filename: "mp3adu", | |
lavcName: "mp3adu", | |
external: !0 | |
}, | |
mp3on4: { | |
filename: "mp3on4", | |
lavcName: "mp3on4", | |
external: !0 | |
}, | |
mp4als: { | |
filename: "als", | |
lavcName: "als", | |
external: !0 | |
}, | |
musepack7: { | |
filename: "mpc7", | |
lavcName: "mpc7", | |
external: !0 | |
}, | |
musepack8: { | |
filename: "mpc8", | |
lavcName: "mpc8", | |
external: !0 | |
}, | |
nellymoser: { | |
filename: "nellymoser", | |
lavcName: "nellymoser", | |
external: !0 | |
}, | |
paf_audio: { | |
filename: "paf_audio", | |
lavcName: "paf_audio", | |
external: !0 | |
}, | |
pcm_bluray: { | |
filename: "pcm_bluray", | |
lavcName: "pcm_bluray", | |
external: !0 | |
}, | |
pcm_dvd: { | |
filename: "pcm_dvd", | |
lavcName: "pcm_dvd", | |
external: !0 | |
}, | |
qcelp: { | |
filename: "qcelp", | |
lavcName: "qcelp", | |
external: !0 | |
}, | |
qdm2: { | |
filename: "qdm2", | |
lavcName: "qdm2", | |
external: !0 | |
}, | |
ra_144: { | |
filename: "real_144", | |
lavcName: "ra_144", | |
external: !0 | |
}, | |
ra_288: { | |
filename: "real_288", | |
lavcName: "ra_288", | |
external: !0 | |
}, | |
ralf: { | |
filename: "ralf", | |
lavcName: "ralf", | |
external: !0 | |
}, | |
roq_dpcm: { | |
filename: "roq_dpcm", | |
lavcName: "roq_dpcm", | |
external: !0 | |
}, | |
s302m: { | |
filename: "s302m", | |
lavcName: "s302m", | |
external: !0 | |
}, | |
sdx2_dpcm: { | |
filename: "sdx2_dpcm", | |
lavcName: "sdx2_dpcm", | |
external: !0 | |
}, | |
shorten: { | |
filename: "shorten", | |
lavcName: "shorten", | |
external: !0 | |
}, | |
sipr: { | |
filename: "sipr", | |
lavcName: "sipr", | |
external: !0 | |
}, | |
smackaudio: { | |
filename: "smackaud", | |
lavcName: "smackaud", | |
external: !0 | |
}, | |
sol_dpcm: { | |
filename: "sol_dpcm", | |
lavcName: "sol_dpcm", | |
external: !0 | |
}, | |
sonic: { | |
filename: "sonic", | |
lavcName: "sonic", | |
external: !0 | |
}, | |
tak: { | |
filename: "tak", | |
lavcName: "tak", | |
external: !0 | |
}, | |
truespeech: { | |
filename: "truespeech", | |
lavcName: "truespeech", | |
external: !0 | |
}, | |
tta: { | |
filename: "tta", | |
lavcName: "tta", | |
external: !0 | |
}, | |
twinvq: { | |
filename: "twinvq", | |
lavcName: "twinvq", | |
external: !0 | |
}, | |
vmdaudio: { | |
filename: "vmdaudio", | |
lavcName: "vmdaudio", | |
external: !0 | |
}, | |
wavesynth: { | |
filename: "ffwavesynth", | |
lavcName: "ffwavesynth", | |
external: !0 | |
}, | |
wavpack: { | |
filename: "wavpack", | |
lavcName: "wavpack", | |
external: !0 | |
}, | |
westwood_snd1: { | |
filename: "ws_snd1", | |
lavcName: "ws_snd1", | |
external: !0 | |
}, | |
wmalossless: { | |
filename: "wmalossless", | |
lavcName: "wmalossless", | |
external: !0 | |
}, | |
wmapro: { | |
filename: "wmapro", | |
lavcName: "wmapro", | |
external: !0 | |
}, | |
wmav1: { | |
filename: "wmav1", | |
lavcName: "wmav1", | |
external: !0 | |
}, | |
wmav2: { | |
filename: "wmav2", | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment