choi

we can see picture and video in bulletin, but can not upload it

Showing 1000 changed files with 1652 additions and 1 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

No preview for this file type
No preview for this file type
No preview for this file type
1 +#!/bin/sh
2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 +
4 +case `uname` in
5 + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + exec "$basedir/node" "$basedir/../mpd-parser/bin/parse.js" "$@"
10 +else
11 + exec node "$basedir/../mpd-parser/bin/parse.js" "$@"
12 +fi
1 +@ECHO off
2 +GOTO start
3 +:find_dp0
4 +SET dp0=%~dp0
5 +EXIT /b
6 +:start
7 +SETLOCAL
8 +CALL :find_dp0
9 +
10 +IF EXIST "%dp0%\node.exe" (
11 + SET "_prog=%dp0%\node.exe"
12 +) ELSE (
13 + SET "_prog=node"
14 + SET PATHEXT=%PATHEXT:;.JS;=;%
15 +)
16 +
17 +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mpd-parser\bin\parse.js" %*
1 +#!/usr/bin/env pwsh
2 +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3 +
4 +$exe=""
5 +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6 + # Fix case when both the Windows and Linux builds of Node
7 + # are installed in the same directory
8 + $exe=".exe"
9 +}
10 +$ret=0
11 +if (Test-Path "$basedir/node$exe") {
12 + # Support pipeline input
13 + if ($MyInvocation.ExpectingInput) {
14 + $input | & "$basedir/node$exe" "$basedir/../mpd-parser/bin/parse.js" $args
15 + } else {
16 + & "$basedir/node$exe" "$basedir/../mpd-parser/bin/parse.js" $args
17 + }
18 + $ret=$LASTEXITCODE
19 +} else {
20 + # Support pipeline input
21 + if ($MyInvocation.ExpectingInput) {
22 + $input | & "node$exe" "$basedir/../mpd-parser/bin/parse.js" $args
23 + } else {
24 + & "node$exe" "$basedir/../mpd-parser/bin/parse.js" $args
25 + }
26 + $ret=$LASTEXITCODE
27 +}
28 +exit $ret
1 +#!/bin/sh
2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 +
4 +case `uname` in
5 + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + exec "$basedir/node" "$basedir/../mux.js/bin/transmux.js" "$@"
10 +else
11 + exec node "$basedir/../mux.js/bin/transmux.js" "$@"
12 +fi
1 +@ECHO off
2 +GOTO start
3 +:find_dp0
4 +SET dp0=%~dp0
5 +EXIT /b
6 +:start
7 +SETLOCAL
8 +CALL :find_dp0
9 +
10 +IF EXIST "%dp0%\node.exe" (
11 + SET "_prog=%dp0%\node.exe"
12 +) ELSE (
13 + SET "_prog=node"
14 + SET PATHEXT=%PATHEXT:;.JS;=;%
15 +)
16 +
17 +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mux.js\bin\transmux.js" %*
1 +#!/usr/bin/env pwsh
2 +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3 +
4 +$exe=""
5 +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6 + # Fix case when both the Windows and Linux builds of Node
7 + # are installed in the same directory
8 + $exe=".exe"
9 +}
10 +$ret=0
11 +if (Test-Path "$basedir/node$exe") {
12 + # Support pipeline input
13 + if ($MyInvocation.ExpectingInput) {
14 + $input | & "$basedir/node$exe" "$basedir/../mux.js/bin/transmux.js" $args
15 + } else {
16 + & "$basedir/node$exe" "$basedir/../mux.js/bin/transmux.js" $args
17 + }
18 + $ret=$LASTEXITCODE
19 +} else {
20 + # Support pipeline input
21 + if ($MyInvocation.ExpectingInput) {
22 + $input | & "node$exe" "$basedir/../mux.js/bin/transmux.js" $args
23 + } else {
24 + & "node$exe" "$basedir/../mux.js/bin/transmux.js" $args
25 + }
26 + $ret=$LASTEXITCODE
27 +}
28 +exit $ret
1 +#!/bin/sh
2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 +
4 +case `uname` in
5 + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + exec "$basedir/node" "$basedir/../pkcs7/bin/cli.js" "$@"
10 +else
11 + exec node "$basedir/../pkcs7/bin/cli.js" "$@"
12 +fi
1 +@ECHO off
2 +GOTO start
3 +:find_dp0
4 +SET dp0=%~dp0
5 +EXIT /b
6 +:start
7 +SETLOCAL
8 +CALL :find_dp0
9 +
10 +IF EXIST "%dp0%\node.exe" (
11 + SET "_prog=%dp0%\node.exe"
12 +) ELSE (
13 + SET "_prog=node"
14 + SET PATHEXT=%PATHEXT:;.JS;=;%
15 +)
16 +
17 +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\pkcs7\bin\cli.js" %*
1 +#!/usr/bin/env pwsh
2 +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3 +
4 +$exe=""
5 +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6 + # Fix case when both the Windows and Linux builds of Node
7 + # are installed in the same directory
8 + $exe=".exe"
9 +}
10 +$ret=0
11 +if (Test-Path "$basedir/node$exe") {
12 + # Support pipeline input
13 + if ($MyInvocation.ExpectingInput) {
14 + $input | & "$basedir/node$exe" "$basedir/../pkcs7/bin/cli.js" $args
15 + } else {
16 + & "$basedir/node$exe" "$basedir/../pkcs7/bin/cli.js" $args
17 + }
18 + $ret=$LASTEXITCODE
19 +} else {
20 + # Support pipeline input
21 + if ($MyInvocation.ExpectingInput) {
22 + $input | & "node$exe" "$basedir/../pkcs7/bin/cli.js" $args
23 + } else {
24 + & "node$exe" "$basedir/../pkcs7/bin/cli.js" $args
25 + }
26 + $ret=$LASTEXITCODE
27 +}
28 +exit $ret
1 -../prebuild-install/bin.js
...\ No newline at end of file ...\ No newline at end of file
1 +#!/bin/sh
2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 +
4 +case `uname` in
5 + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + exec "$basedir/node" "$basedir/../prebuild-install/bin.js" "$@"
10 +else
11 + exec node "$basedir/../prebuild-install/bin.js" "$@"
12 +fi
......
1 +@ECHO off
2 +GOTO start
3 +:find_dp0
4 +SET dp0=%~dp0
5 +EXIT /b
6 +:start
7 +SETLOCAL
8 +CALL :find_dp0
9 +
10 +IF EXIST "%dp0%\node.exe" (
11 + SET "_prog=%dp0%\node.exe"
12 +) ELSE (
13 + SET "_prog=node"
14 + SET PATHEXT=%PATHEXT:;.JS;=;%
15 +)
16 +
17 +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\prebuild-install\bin.js" %*
1 +#!/usr/bin/env pwsh
2 +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3 +
4 +$exe=""
5 +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6 + # Fix case when both the Windows and Linux builds of Node
7 + # are installed in the same directory
8 + $exe=".exe"
9 +}
10 +$ret=0
11 +if (Test-Path "$basedir/node$exe") {
12 + # Support pipeline input
13 + if ($MyInvocation.ExpectingInput) {
14 + $input | & "$basedir/node$exe" "$basedir/../prebuild-install/bin.js" $args
15 + } else {
16 + & "$basedir/node$exe" "$basedir/../prebuild-install/bin.js" $args
17 + }
18 + $ret=$LASTEXITCODE
19 +} else {
20 + # Support pipeline input
21 + if ($MyInvocation.ExpectingInput) {
22 + $input | & "node$exe" "$basedir/../prebuild-install/bin.js" $args
23 + } else {
24 + & "node$exe" "$basedir/../prebuild-install/bin.js" $args
25 + }
26 + $ret=$LASTEXITCODE
27 +}
28 +exit $ret
This diff is collapsed. Click to expand it.
1 +MIT License
2 +
3 +Copyright (c) 2014-present Sebastian McKenzie and other contributors
4 +
5 +Permission is hereby granted, free of charge, to any person obtaining
6 +a copy of this software and associated documentation files (the
7 +"Software"), to deal in the Software without restriction, including
8 +without limitation the rights to use, copy, modify, merge, publish,
9 +distribute, sublicense, and/or sell copies of the Software, and to
10 +permit persons to whom the Software is furnished to do so, subject to
11 +the following conditions:
12 +
13 +The above copyright notice and this permission notice shall be
14 +included in all copies or substantial portions of the Software.
15 +
16 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 +# @babel/runtime
2 +
3 +> babel's modular runtime helpers
4 +
5 +See our website [@babel/runtime](https://babeljs.io/docs/en/babel-runtime) for more information.
6 +
7 +## Install
8 +
9 +Using npm:
10 +
11 +```sh
12 +npm install --save @babel/runtime
13 +```
14 +
15 +or using yarn:
16 +
17 +```sh
18 +yarn add @babel/runtime
19 +```
1 +var AwaitValue = require("./AwaitValue.js");
2 +
3 +function AsyncGenerator(gen) {
4 + var front, back;
5 +
6 + function send(key, arg) {
7 + return new Promise(function (resolve, reject) {
8 + var request = {
9 + key: key,
10 + arg: arg,
11 + resolve: resolve,
12 + reject: reject,
13 + next: null
14 + };
15 +
16 + if (back) {
17 + back = back.next = request;
18 + } else {
19 + front = back = request;
20 + resume(key, arg);
21 + }
22 + });
23 + }
24 +
25 + function resume(key, arg) {
26 + try {
27 + var result = gen[key](arg);
28 + var value = result.value;
29 + var wrappedAwait = value instanceof AwaitValue;
30 + Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
31 + if (wrappedAwait) {
32 + resume(key === "return" ? "return" : "next", arg);
33 + return;
34 + }
35 +
36 + settle(result.done ? "return" : "normal", arg);
37 + }, function (err) {
38 + resume("throw", err);
39 + });
40 + } catch (err) {
41 + settle("throw", err);
42 + }
43 + }
44 +
45 + function settle(type, value) {
46 + switch (type) {
47 + case "return":
48 + front.resolve({
49 + value: value,
50 + done: true
51 + });
52 + break;
53 +
54 + case "throw":
55 + front.reject(value);
56 + break;
57 +
58 + default:
59 + front.resolve({
60 + value: value,
61 + done: false
62 + });
63 + break;
64 + }
65 +
66 + front = front.next;
67 +
68 + if (front) {
69 + resume(front.key, front.arg);
70 + } else {
71 + back = null;
72 + }
73 + }
74 +
75 + this._invoke = send;
76 +
77 + if (typeof gen["return"] !== "function") {
78 + this["return"] = undefined;
79 + }
80 +}
81 +
82 +AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () {
83 + return this;
84 +};
85 +
86 +AsyncGenerator.prototype.next = function (arg) {
87 + return this._invoke("next", arg);
88 +};
89 +
90 +AsyncGenerator.prototype["throw"] = function (arg) {
91 + return this._invoke("throw", arg);
92 +};
93 +
94 +AsyncGenerator.prototype["return"] = function (arg) {
95 + return this._invoke("return", arg);
96 +};
97 +
98 +module.exports = AsyncGenerator;
99 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _AwaitValue(value) {
2 + this.wrapped = value;
3 +}
4 +
5 +module.exports = _AwaitValue;
6 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
2 + var desc = {};
3 + Object.keys(descriptor).forEach(function (key) {
4 + desc[key] = descriptor[key];
5 + });
6 + desc.enumerable = !!desc.enumerable;
7 + desc.configurable = !!desc.configurable;
8 +
9 + if ('value' in desc || desc.initializer) {
10 + desc.writable = true;
11 + }
12 +
13 + desc = decorators.slice().reverse().reduce(function (desc, decorator) {
14 + return decorator(target, property, desc) || desc;
15 + }, desc);
16 +
17 + if (context && desc.initializer !== void 0) {
18 + desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
19 + desc.initializer = undefined;
20 + }
21 +
22 + if (desc.initializer === void 0) {
23 + Object.defineProperty(target, property, desc);
24 + desc = null;
25 + }
26 +
27 + return desc;
28 +}
29 +
30 +module.exports = _applyDecoratedDescriptor;
31 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _arrayLikeToArray(arr, len) {
2 + if (len == null || len > arr.length) len = arr.length;
3 +
4 + for (var i = 0, arr2 = new Array(len); i < len; i++) {
5 + arr2[i] = arr[i];
6 + }
7 +
8 + return arr2;
9 +}
10 +
11 +module.exports = _arrayLikeToArray;
12 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _arrayWithHoles(arr) {
2 + if (Array.isArray(arr)) return arr;
3 +}
4 +
5 +module.exports = _arrayWithHoles;
6 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var arrayLikeToArray = require("./arrayLikeToArray.js");
2 +
3 +function _arrayWithoutHoles(arr) {
4 + if (Array.isArray(arr)) return arrayLikeToArray(arr);
5 +}
6 +
7 +module.exports = _arrayWithoutHoles;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _assertThisInitialized(self) {
2 + if (self === void 0) {
3 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4 + }
5 +
6 + return self;
7 +}
8 +
9 +module.exports = _assertThisInitialized;
10 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _asyncGeneratorDelegate(inner, awaitWrap) {
2 + var iter = {},
3 + waiting = false;
4 +
5 + function pump(key, value) {
6 + waiting = true;
7 + value = new Promise(function (resolve) {
8 + resolve(inner[key](value));
9 + });
10 + return {
11 + done: false,
12 + value: awaitWrap(value)
13 + };
14 + }
15 +
16 + ;
17 +
18 + iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () {
19 + return this;
20 + };
21 +
22 + iter.next = function (value) {
23 + if (waiting) {
24 + waiting = false;
25 + return value;
26 + }
27 +
28 + return pump("next", value);
29 + };
30 +
31 + if (typeof inner["throw"] === "function") {
32 + iter["throw"] = function (value) {
33 + if (waiting) {
34 + waiting = false;
35 + throw value;
36 + }
37 +
38 + return pump("throw", value);
39 + };
40 + }
41 +
42 + if (typeof inner["return"] === "function") {
43 + iter["return"] = function (value) {
44 + if (waiting) {
45 + waiting = false;
46 + return value;
47 + }
48 +
49 + return pump("return", value);
50 + };
51 + }
52 +
53 + return iter;
54 +}
55 +
56 +module.exports = _asyncGeneratorDelegate;
57 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _asyncIterator(iterable) {
2 + var method,
3 + async,
4 + sync,
5 + retry = 2;
6 +
7 + if (typeof Symbol !== "undefined") {
8 + async = Symbol.asyncIterator;
9 + sync = Symbol.iterator;
10 + }
11 +
12 + while (retry--) {
13 + if (async && (method = iterable[async]) != null) {
14 + return method.call(iterable);
15 + }
16 +
17 + if (sync && (method = iterable[sync]) != null) {
18 + return new AsyncFromSyncIterator(method.call(iterable));
19 + }
20 +
21 + async = "@@asyncIterator";
22 + sync = "@@iterator";
23 + }
24 +
25 + throw new TypeError("Object is not async iterable");
26 +}
27 +
28 +function AsyncFromSyncIterator(s) {
29 + AsyncFromSyncIterator = function AsyncFromSyncIterator(s) {
30 + this.s = s;
31 + this.n = s.next;
32 + };
33 +
34 + AsyncFromSyncIterator.prototype = {
35 + s: null,
36 + n: null,
37 + next: function next() {
38 + return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
39 + },
40 + "return": function _return(value) {
41 + var ret = this.s["return"];
42 +
43 + if (ret === undefined) {
44 + return Promise.resolve({
45 + value: value,
46 + done: true
47 + });
48 + }
49 +
50 + return AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));
51 + },
52 + "throw": function _throw(value) {
53 + var thr = this.s["return"];
54 + if (thr === undefined) return Promise.reject(value);
55 + return AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));
56 + }
57 + };
58 +
59 + function AsyncFromSyncIteratorContinuation(r) {
60 + if (Object(r) !== r) {
61 + return Promise.reject(new TypeError(r + " is not an object."));
62 + }
63 +
64 + var done = r.done;
65 + return Promise.resolve(r.value).then(function (value) {
66 + return {
67 + value: value,
68 + done: done
69 + };
70 + });
71 + }
72 +
73 + return new AsyncFromSyncIterator(s);
74 +}
75 +
76 +module.exports = _asyncIterator;
77 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
2 + try {
3 + var info = gen[key](arg);
4 + var value = info.value;
5 + } catch (error) {
6 + reject(error);
7 + return;
8 + }
9 +
10 + if (info.done) {
11 + resolve(value);
12 + } else {
13 + Promise.resolve(value).then(_next, _throw);
14 + }
15 +}
16 +
17 +function _asyncToGenerator(fn) {
18 + return function () {
19 + var self = this,
20 + args = arguments;
21 + return new Promise(function (resolve, reject) {
22 + var gen = fn.apply(self, args);
23 +
24 + function _next(value) {
25 + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
26 + }
27 +
28 + function _throw(err) {
29 + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
30 + }
31 +
32 + _next(undefined);
33 + });
34 + };
35 +}
36 +
37 +module.exports = _asyncToGenerator;
38 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var AwaitValue = require("./AwaitValue.js");
2 +
3 +function _awaitAsyncGenerator(value) {
4 + return new AwaitValue(value);
5 +}
6 +
7 +module.exports = _awaitAsyncGenerator;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _checkPrivateRedeclaration(obj, privateCollection) {
2 + if (privateCollection.has(obj)) {
3 + throw new TypeError("Cannot initialize the same private elements twice on an object");
4 + }
5 +}
6 +
7 +module.exports = _checkPrivateRedeclaration;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classApplyDescriptorDestructureSet(receiver, descriptor) {
2 + if (descriptor.set) {
3 + if (!("__destrObj" in descriptor)) {
4 + descriptor.__destrObj = {
5 + set value(v) {
6 + descriptor.set.call(receiver, v);
7 + }
8 +
9 + };
10 + }
11 +
12 + return descriptor.__destrObj;
13 + } else {
14 + if (!descriptor.writable) {
15 + throw new TypeError("attempted to set read only private field");
16 + }
17 +
18 + return descriptor;
19 + }
20 +}
21 +
22 +module.exports = _classApplyDescriptorDestructureSet;
23 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classApplyDescriptorGet(receiver, descriptor) {
2 + if (descriptor.get) {
3 + return descriptor.get.call(receiver);
4 + }
5 +
6 + return descriptor.value;
7 +}
8 +
9 +module.exports = _classApplyDescriptorGet;
10 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classApplyDescriptorSet(receiver, descriptor, value) {
2 + if (descriptor.set) {
3 + descriptor.set.call(receiver, value);
4 + } else {
5 + if (!descriptor.writable) {
6 + throw new TypeError("attempted to set read only private field");
7 + }
8 +
9 + descriptor.value = value;
10 + }
11 +}
12 +
13 +module.exports = _classApplyDescriptorSet;
14 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classCallCheck(instance, Constructor) {
2 + if (!(instance instanceof Constructor)) {
3 + throw new TypeError("Cannot call a class as a function");
4 + }
5 +}
6 +
7 +module.exports = _classCallCheck;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classCheckPrivateStaticAccess(receiver, classConstructor) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +}
6 +
7 +module.exports = _classCheckPrivateStaticAccess;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
2 + if (descriptor === undefined) {
3 + throw new TypeError("attempted to " + action + " private static field before its declaration");
4 + }
5 +}
6 +
7 +module.exports = _classCheckPrivateStaticFieldDescriptor;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classExtractFieldDescriptor(receiver, privateMap, action) {
2 + if (!privateMap.has(receiver)) {
3 + throw new TypeError("attempted to " + action + " private field on non-instance");
4 + }
5 +
6 + return privateMap.get(receiver);
7 +}
8 +
9 +module.exports = _classExtractFieldDescriptor;
10 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classNameTDZError(name) {
2 + throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
3 +}
4 +
5 +module.exports = _classNameTDZError;
6 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
2 +
3 +var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
4 +
5 +function _classPrivateFieldDestructureSet(receiver, privateMap) {
6 + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
7 + return classApplyDescriptorDestructureSet(receiver, descriptor);
8 +}
9 +
10 +module.exports = _classPrivateFieldDestructureSet;
11 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
2 +
3 +var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
4 +
5 +function _classPrivateFieldGet(receiver, privateMap) {
6 + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
7 + return classApplyDescriptorGet(receiver, descriptor);
8 +}
9 +
10 +module.exports = _classPrivateFieldGet;
11 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js");
2 +
3 +function _classPrivateFieldInitSpec(obj, privateMap, value) {
4 + checkPrivateRedeclaration(obj, privateMap);
5 + privateMap.set(obj, value);
6 +}
7 +
8 +module.exports = _classPrivateFieldInitSpec;
9 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classPrivateFieldBase(receiver, privateKey) {
2 + if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
3 + throw new TypeError("attempted to use private field on non-instance");
4 + }
5 +
6 + return receiver;
7 +}
8 +
9 +module.exports = _classPrivateFieldBase;
10 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var id = 0;
2 +
3 +function _classPrivateFieldKey(name) {
4 + return "__private_" + id++ + "_" + name;
5 +}
6 +
7 +module.exports = _classPrivateFieldKey;
8 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
2 +
3 +var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
4 +
5 +function _classPrivateFieldSet(receiver, privateMap, value) {
6 + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
7 + classApplyDescriptorSet(receiver, descriptor, value);
8 + return value;
9 +}
10 +
11 +module.exports = _classPrivateFieldSet;
12 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classPrivateMethodGet(receiver, privateSet, fn) {
2 + if (!privateSet.has(receiver)) {
3 + throw new TypeError("attempted to get private field on non-instance");
4 + }
5 +
6 + return fn;
7 +}
8 +
9 +module.exports = _classPrivateMethodGet;
10 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js");
2 +
3 +function _classPrivateMethodInitSpec(obj, privateSet) {
4 + checkPrivateRedeclaration(obj, privateSet);
5 + privateSet.add(obj);
6 +}
7 +
8 +module.exports = _classPrivateMethodInitSpec;
9 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classPrivateMethodSet() {
2 + throw new TypeError("attempted to reassign private method");
3 +}
4 +
5 +module.exports = _classPrivateMethodSet;
6 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
2 +
3 +var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
4 +
5 +var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
6 +
7 +function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
8 + classCheckPrivateStaticAccess(receiver, classConstructor);
9 + classCheckPrivateStaticFieldDescriptor(descriptor, "set");
10 + return classApplyDescriptorDestructureSet(receiver, descriptor);
11 +}
12 +
13 +module.exports = _classStaticPrivateFieldDestructureSet;
14 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
2 +
3 +var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
4 +
5 +var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
6 +
7 +function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
8 + classCheckPrivateStaticAccess(receiver, classConstructor);
9 + classCheckPrivateStaticFieldDescriptor(descriptor, "get");
10 + return classApplyDescriptorGet(receiver, descriptor);
11 +}
12 +
13 +module.exports = _classStaticPrivateFieldSpecGet;
14 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
2 +
3 +var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
4 +
5 +var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
6 +
7 +function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
8 + classCheckPrivateStaticAccess(receiver, classConstructor);
9 + classCheckPrivateStaticFieldDescriptor(descriptor, "set");
10 + classApplyDescriptorSet(receiver, descriptor, value);
11 + return value;
12 +}
13 +
14 +module.exports = _classStaticPrivateFieldSpecSet;
15 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
2 +
3 +function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
4 + classCheckPrivateStaticAccess(receiver, classConstructor);
5 + return method;
6 +}
7 +
8 +module.exports = _classStaticPrivateMethodGet;
9 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classStaticPrivateMethodSet() {
2 + throw new TypeError("attempted to set read only static private field");
3 +}
4 +
5 +module.exports = _classStaticPrivateMethodSet;
6 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var setPrototypeOf = require("./setPrototypeOf.js");
2 +
3 +var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
4 +
5 +function _construct(Parent, args, Class) {
6 + if (isNativeReflectConstruct()) {
7 + module.exports = _construct = Reflect.construct;
8 + module.exports["default"] = module.exports, module.exports.__esModule = true;
9 + } else {
10 + module.exports = _construct = function _construct(Parent, args, Class) {
11 + var a = [null];
12 + a.push.apply(a, args);
13 + var Constructor = Function.bind.apply(Parent, a);
14 + var instance = new Constructor();
15 + if (Class) setPrototypeOf(instance, Class.prototype);
16 + return instance;
17 + };
18 +
19 + module.exports["default"] = module.exports, module.exports.__esModule = true;
20 + }
21 +
22 + return _construct.apply(null, arguments);
23 +}
24 +
25 +module.exports = _construct;
26 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _defineProperties(target, props) {
2 + for (var i = 0; i < props.length; i++) {
3 + var descriptor = props[i];
4 + descriptor.enumerable = descriptor.enumerable || false;
5 + descriptor.configurable = true;
6 + if ("value" in descriptor) descriptor.writable = true;
7 + Object.defineProperty(target, descriptor.key, descriptor);
8 + }
9 +}
10 +
11 +function _createClass(Constructor, protoProps, staticProps) {
12 + if (protoProps) _defineProperties(Constructor.prototype, protoProps);
13 + if (staticProps) _defineProperties(Constructor, staticProps);
14 + return Constructor;
15 +}
16 +
17 +module.exports = _createClass;
18 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
2 +
3 +function _createForOfIteratorHelper(o, allowArrayLike) {
4 + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
5 +
6 + if (!it) {
7 + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
8 + if (it) o = it;
9 + var i = 0;
10 +
11 + var F = function F() {};
12 +
13 + return {
14 + s: F,
15 + n: function n() {
16 + if (i >= o.length) return {
17 + done: true
18 + };
19 + return {
20 + done: false,
21 + value: o[i++]
22 + };
23 + },
24 + e: function e(_e) {
25 + throw _e;
26 + },
27 + f: F
28 + };
29 + }
30 +
31 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
32 + }
33 +
34 + var normalCompletion = true,
35 + didErr = false,
36 + err;
37 + return {
38 + s: function s() {
39 + it = it.call(o);
40 + },
41 + n: function n() {
42 + var step = it.next();
43 + normalCompletion = step.done;
44 + return step;
45 + },
46 + e: function e(_e2) {
47 + didErr = true;
48 + err = _e2;
49 + },
50 + f: function f() {
51 + try {
52 + if (!normalCompletion && it["return"] != null) it["return"]();
53 + } finally {
54 + if (didErr) throw err;
55 + }
56 + }
57 + };
58 +}
59 +
60 +module.exports = _createForOfIteratorHelper;
61 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
2 +
3 +function _createForOfIteratorHelperLoose(o, allowArrayLike) {
4 + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
5 + if (it) return (it = it.call(o)).next.bind(it);
6 +
7 + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
8 + if (it) o = it;
9 + var i = 0;
10 + return function () {
11 + if (i >= o.length) return {
12 + done: true
13 + };
14 + return {
15 + done: false,
16 + value: o[i++]
17 + };
18 + };
19 + }
20 +
21 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
22 +}
23 +
24 +module.exports = _createForOfIteratorHelperLoose;
25 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +var getPrototypeOf = require("./getPrototypeOf.js");
2 +
3 +var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
4 +
5 +var possibleConstructorReturn = require("./possibleConstructorReturn.js");
6 +
7 +function _createSuper(Derived) {
8 + var hasNativeReflectConstruct = isNativeReflectConstruct();
9 + return function _createSuperInternal() {
10 + var Super = getPrototypeOf(Derived),
11 + result;
12 +
13 + if (hasNativeReflectConstruct) {
14 + var NewTarget = getPrototypeOf(this).constructor;
15 + result = Reflect.construct(Super, arguments, NewTarget);
16 + } else {
17 + result = Super.apply(this, arguments);
18 + }
19 +
20 + return possibleConstructorReturn(this, result);
21 + };
22 +}
23 +
24 +module.exports = _createSuper;
25 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
This diff is collapsed. Click to expand it.
1 +function _defaults(obj, defaults) {
2 + var keys = Object.getOwnPropertyNames(defaults);
3 +
4 + for (var i = 0; i < keys.length; i++) {
5 + var key = keys[i];
6 + var value = Object.getOwnPropertyDescriptor(defaults, key);
7 +
8 + if (value && value.configurable && obj[key] === undefined) {
9 + Object.defineProperty(obj, key, value);
10 + }
11 + }
12 +
13 + return obj;
14 +}
15 +
16 +module.exports = _defaults;
17 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _defineEnumerableProperties(obj, descs) {
2 + for (var key in descs) {
3 + var desc = descs[key];
4 + desc.configurable = desc.enumerable = true;
5 + if ("value" in desc) desc.writable = true;
6 + Object.defineProperty(obj, key, desc);
7 + }
8 +
9 + if (Object.getOwnPropertySymbols) {
10 + var objectSymbols = Object.getOwnPropertySymbols(descs);
11 +
12 + for (var i = 0; i < objectSymbols.length; i++) {
13 + var sym = objectSymbols[i];
14 + var desc = descs[sym];
15 + desc.configurable = desc.enumerable = true;
16 + if ("value" in desc) desc.writable = true;
17 + Object.defineProperty(obj, sym, desc);
18 + }
19 + }
20 +
21 + return obj;
22 +}
23 +
24 +module.exports = _defineEnumerableProperties;
25 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +function _defineProperty(obj, key, value) {
2 + if (key in obj) {
3 + Object.defineProperty(obj, key, {
4 + value: value,
5 + enumerable: true,
6 + configurable: true,
7 + writable: true
8 + });
9 + } else {
10 + obj[key] = value;
11 + }
12 +
13 + return obj;
14 +}
15 +
16 +module.exports = _defineProperty;
17 +module.exports["default"] = module.exports, module.exports.__esModule = true;
...\ No newline at end of file ...\ No newline at end of file
1 +import AwaitValue from "./AwaitValue.js";
2 +export default function AsyncGenerator(gen) {
3 + var front, back;
4 +
5 + function send(key, arg) {
6 + return new Promise(function (resolve, reject) {
7 + var request = {
8 + key: key,
9 + arg: arg,
10 + resolve: resolve,
11 + reject: reject,
12 + next: null
13 + };
14 +
15 + if (back) {
16 + back = back.next = request;
17 + } else {
18 + front = back = request;
19 + resume(key, arg);
20 + }
21 + });
22 + }
23 +
24 + function resume(key, arg) {
25 + try {
26 + var result = gen[key](arg);
27 + var value = result.value;
28 + var wrappedAwait = value instanceof AwaitValue;
29 + Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
30 + if (wrappedAwait) {
31 + resume(key === "return" ? "return" : "next", arg);
32 + return;
33 + }
34 +
35 + settle(result.done ? "return" : "normal", arg);
36 + }, function (err) {
37 + resume("throw", err);
38 + });
39 + } catch (err) {
40 + settle("throw", err);
41 + }
42 + }
43 +
44 + function settle(type, value) {
45 + switch (type) {
46 + case "return":
47 + front.resolve({
48 + value: value,
49 + done: true
50 + });
51 + break;
52 +
53 + case "throw":
54 + front.reject(value);
55 + break;
56 +
57 + default:
58 + front.resolve({
59 + value: value,
60 + done: false
61 + });
62 + break;
63 + }
64 +
65 + front = front.next;
66 +
67 + if (front) {
68 + resume(front.key, front.arg);
69 + } else {
70 + back = null;
71 + }
72 + }
73 +
74 + this._invoke = send;
75 +
76 + if (typeof gen["return"] !== "function") {
77 + this["return"] = undefined;
78 + }
79 +}
80 +
81 +AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () {
82 + return this;
83 +};
84 +
85 +AsyncGenerator.prototype.next = function (arg) {
86 + return this._invoke("next", arg);
87 +};
88 +
89 +AsyncGenerator.prototype["throw"] = function (arg) {
90 + return this._invoke("throw", arg);
91 +};
92 +
93 +AsyncGenerator.prototype["return"] = function (arg) {
94 + return this._invoke("return", arg);
95 +};
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _AwaitValue(value) {
2 + this.wrapped = value;
3 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
2 + var desc = {};
3 + Object.keys(descriptor).forEach(function (key) {
4 + desc[key] = descriptor[key];
5 + });
6 + desc.enumerable = !!desc.enumerable;
7 + desc.configurable = !!desc.configurable;
8 +
9 + if ('value' in desc || desc.initializer) {
10 + desc.writable = true;
11 + }
12 +
13 + desc = decorators.slice().reverse().reduce(function (desc, decorator) {
14 + return decorator(target, property, desc) || desc;
15 + }, desc);
16 +
17 + if (context && desc.initializer !== void 0) {
18 + desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
19 + desc.initializer = undefined;
20 + }
21 +
22 + if (desc.initializer === void 0) {
23 + Object.defineProperty(target, property, desc);
24 + desc = null;
25 + }
26 +
27 + return desc;
28 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _arrayLikeToArray(arr, len) {
2 + if (len == null || len > arr.length) len = arr.length;
3 +
4 + for (var i = 0, arr2 = new Array(len); i < len; i++) {
5 + arr2[i] = arr[i];
6 + }
7 +
8 + return arr2;
9 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _arrayWithHoles(arr) {
2 + if (Array.isArray(arr)) return arr;
3 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import arrayLikeToArray from "./arrayLikeToArray.js";
2 +export default function _arrayWithoutHoles(arr) {
3 + if (Array.isArray(arr)) return arrayLikeToArray(arr);
4 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _assertThisInitialized(self) {
2 + if (self === void 0) {
3 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4 + }
5 +
6 + return self;
7 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _asyncGeneratorDelegate(inner, awaitWrap) {
2 + var iter = {},
3 + waiting = false;
4 +
5 + function pump(key, value) {
6 + waiting = true;
7 + value = new Promise(function (resolve) {
8 + resolve(inner[key](value));
9 + });
10 + return {
11 + done: false,
12 + value: awaitWrap(value)
13 + };
14 + }
15 +
16 + ;
17 +
18 + iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () {
19 + return this;
20 + };
21 +
22 + iter.next = function (value) {
23 + if (waiting) {
24 + waiting = false;
25 + return value;
26 + }
27 +
28 + return pump("next", value);
29 + };
30 +
31 + if (typeof inner["throw"] === "function") {
32 + iter["throw"] = function (value) {
33 + if (waiting) {
34 + waiting = false;
35 + throw value;
36 + }
37 +
38 + return pump("throw", value);
39 + };
40 + }
41 +
42 + if (typeof inner["return"] === "function") {
43 + iter["return"] = function (value) {
44 + if (waiting) {
45 + waiting = false;
46 + return value;
47 + }
48 +
49 + return pump("return", value);
50 + };
51 + }
52 +
53 + return iter;
54 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _asyncIterator(iterable) {
2 + var method,
3 + async,
4 + sync,
5 + retry = 2;
6 +
7 + if (typeof Symbol !== "undefined") {
8 + async = Symbol.asyncIterator;
9 + sync = Symbol.iterator;
10 + }
11 +
12 + while (retry--) {
13 + if (async && (method = iterable[async]) != null) {
14 + return method.call(iterable);
15 + }
16 +
17 + if (sync && (method = iterable[sync]) != null) {
18 + return new AsyncFromSyncIterator(method.call(iterable));
19 + }
20 +
21 + async = "@@asyncIterator";
22 + sync = "@@iterator";
23 + }
24 +
25 + throw new TypeError("Object is not async iterable");
26 +}
27 +
28 +function AsyncFromSyncIterator(s) {
29 + AsyncFromSyncIterator = function AsyncFromSyncIterator(s) {
30 + this.s = s;
31 + this.n = s.next;
32 + };
33 +
34 + AsyncFromSyncIterator.prototype = {
35 + s: null,
36 + n: null,
37 + next: function next() {
38 + return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
39 + },
40 + "return": function _return(value) {
41 + var ret = this.s["return"];
42 +
43 + if (ret === undefined) {
44 + return Promise.resolve({
45 + value: value,
46 + done: true
47 + });
48 + }
49 +
50 + return AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));
51 + },
52 + "throw": function _throw(value) {
53 + var thr = this.s["return"];
54 + if (thr === undefined) return Promise.reject(value);
55 + return AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));
56 + }
57 + };
58 +
59 + function AsyncFromSyncIteratorContinuation(r) {
60 + if (Object(r) !== r) {
61 + return Promise.reject(new TypeError(r + " is not an object."));
62 + }
63 +
64 + var done = r.done;
65 + return Promise.resolve(r.value).then(function (value) {
66 + return {
67 + value: value,
68 + done: done
69 + };
70 + });
71 + }
72 +
73 + return new AsyncFromSyncIterator(s);
74 +}
...\ No newline at end of file ...\ No newline at end of file
1 +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
2 + try {
3 + var info = gen[key](arg);
4 + var value = info.value;
5 + } catch (error) {
6 + reject(error);
7 + return;
8 + }
9 +
10 + if (info.done) {
11 + resolve(value);
12 + } else {
13 + Promise.resolve(value).then(_next, _throw);
14 + }
15 +}
16 +
17 +export default function _asyncToGenerator(fn) {
18 + return function () {
19 + var self = this,
20 + args = arguments;
21 + return new Promise(function (resolve, reject) {
22 + var gen = fn.apply(self, args);
23 +
24 + function _next(value) {
25 + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
26 + }
27 +
28 + function _throw(err) {
29 + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
30 + }
31 +
32 + _next(undefined);
33 + });
34 + };
35 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import AwaitValue from "./AwaitValue.js";
2 +export default function _awaitAsyncGenerator(value) {
3 + return new AwaitValue(value);
4 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _checkPrivateRedeclaration(obj, privateCollection) {
2 + if (privateCollection.has(obj)) {
3 + throw new TypeError("Cannot initialize the same private elements twice on an object");
4 + }
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
2 + if (descriptor.set) {
3 + if (!("__destrObj" in descriptor)) {
4 + descriptor.__destrObj = {
5 + set value(v) {
6 + descriptor.set.call(receiver, v);
7 + }
8 +
9 + };
10 + }
11 +
12 + return descriptor.__destrObj;
13 + } else {
14 + if (!descriptor.writable) {
15 + throw new TypeError("attempted to set read only private field");
16 + }
17 +
18 + return descriptor;
19 + }
20 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classApplyDescriptorGet(receiver, descriptor) {
2 + if (descriptor.get) {
3 + return descriptor.get.call(receiver);
4 + }
5 +
6 + return descriptor.value;
7 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classApplyDescriptorSet(receiver, descriptor, value) {
2 + if (descriptor.set) {
3 + descriptor.set.call(receiver, value);
4 + } else {
5 + if (!descriptor.writable) {
6 + throw new TypeError("attempted to set read only private field");
7 + }
8 +
9 + descriptor.value = value;
10 + }
11 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classCallCheck(instance, Constructor) {
2 + if (!(instance instanceof Constructor)) {
3 + throw new TypeError("Cannot call a class as a function");
4 + }
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
2 + if (descriptor === undefined) {
3 + throw new TypeError("attempted to " + action + " private static field before its declaration");
4 + }
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
2 + if (!privateMap.has(receiver)) {
3 + throw new TypeError("attempted to " + action + " private field on non-instance");
4 + }
5 +
6 + return privateMap.get(receiver);
7 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classNameTDZError(name) {
2 + throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
3 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
2 +import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
3 +export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
4 + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
5 + return classApplyDescriptorDestructureSet(receiver, descriptor);
6 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
2 +import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
3 +export default function _classPrivateFieldGet(receiver, privateMap) {
4 + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
5 + return classApplyDescriptorGet(receiver, descriptor);
6 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import checkPrivateRedeclaration from "./checkPrivateRedeclaration.js";
2 +export default function _classPrivateFieldInitSpec(obj, privateMap, value) {
3 + checkPrivateRedeclaration(obj, privateMap);
4 + privateMap.set(obj, value);
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classPrivateFieldBase(receiver, privateKey) {
2 + if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
3 + throw new TypeError("attempted to use private field on non-instance");
4 + }
5 +
6 + return receiver;
7 +}
...\ No newline at end of file ...\ No newline at end of file
1 +var id = 0;
2 +export default function _classPrivateFieldKey(name) {
3 + return "__private_" + id++ + "_" + name;
4 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
2 +import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
3 +export default function _classPrivateFieldSet(receiver, privateMap, value) {
4 + var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
5 + classApplyDescriptorSet(receiver, descriptor, value);
6 + return value;
7 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classPrivateMethodGet(receiver, privateSet, fn) {
2 + if (!privateSet.has(receiver)) {
3 + throw new TypeError("attempted to get private field on non-instance");
4 + }
5 +
6 + return fn;
7 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import checkPrivateRedeclaration from "./checkPrivateRedeclaration.js";
2 +export default function _classPrivateMethodInitSpec(obj, privateSet) {
3 + checkPrivateRedeclaration(obj, privateSet);
4 + privateSet.add(obj);
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classPrivateMethodSet() {
2 + throw new TypeError("attempted to reassign private method");
3 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
2 +import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
3 +import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
4 +export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
5 + classCheckPrivateStaticAccess(receiver, classConstructor);
6 + classCheckPrivateStaticFieldDescriptor(descriptor, "set");
7 + return classApplyDescriptorDestructureSet(receiver, descriptor);
8 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
2 +import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
3 +import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
4 +export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
5 + classCheckPrivateStaticAccess(receiver, classConstructor);
6 + classCheckPrivateStaticFieldDescriptor(descriptor, "get");
7 + return classApplyDescriptorGet(receiver, descriptor);
8 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
2 +import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
3 +import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
4 +export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
5 + classCheckPrivateStaticAccess(receiver, classConstructor);
6 + classCheckPrivateStaticFieldDescriptor(descriptor, "set");
7 + classApplyDescriptorSet(receiver, descriptor, value);
8 + return value;
9 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
2 +export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
3 + classCheckPrivateStaticAccess(receiver, classConstructor);
4 + return method;
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classStaticPrivateMethodSet() {
2 + throw new TypeError("attempted to set read only static private field");
3 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import setPrototypeOf from "./setPrototypeOf.js";
2 +import isNativeReflectConstruct from "./isNativeReflectConstruct.js";
3 +export default function _construct(Parent, args, Class) {
4 + if (isNativeReflectConstruct()) {
5 + _construct = Reflect.construct;
6 + } else {
7 + _construct = function _construct(Parent, args, Class) {
8 + var a = [null];
9 + a.push.apply(a, args);
10 + var Constructor = Function.bind.apply(Parent, a);
11 + var instance = new Constructor();
12 + if (Class) setPrototypeOf(instance, Class.prototype);
13 + return instance;
14 + };
15 + }
16 +
17 + return _construct.apply(null, arguments);
18 +}
...\ No newline at end of file ...\ No newline at end of file
1 +function _defineProperties(target, props) {
2 + for (var i = 0; i < props.length; i++) {
3 + var descriptor = props[i];
4 + descriptor.enumerable = descriptor.enumerable || false;
5 + descriptor.configurable = true;
6 + if ("value" in descriptor) descriptor.writable = true;
7 + Object.defineProperty(target, descriptor.key, descriptor);
8 + }
9 +}
10 +
11 +export default function _createClass(Constructor, protoProps, staticProps) {
12 + if (protoProps) _defineProperties(Constructor.prototype, protoProps);
13 + if (staticProps) _defineProperties(Constructor, staticProps);
14 + return Constructor;
15 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
2 +export default function _createForOfIteratorHelper(o, allowArrayLike) {
3 + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
4 +
5 + if (!it) {
6 + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
7 + if (it) o = it;
8 + var i = 0;
9 +
10 + var F = function F() {};
11 +
12 + return {
13 + s: F,
14 + n: function n() {
15 + if (i >= o.length) return {
16 + done: true
17 + };
18 + return {
19 + done: false,
20 + value: o[i++]
21 + };
22 + },
23 + e: function e(_e) {
24 + throw _e;
25 + },
26 + f: F
27 + };
28 + }
29 +
30 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
31 + }
32 +
33 + var normalCompletion = true,
34 + didErr = false,
35 + err;
36 + return {
37 + s: function s() {
38 + it = it.call(o);
39 + },
40 + n: function n() {
41 + var step = it.next();
42 + normalCompletion = step.done;
43 + return step;
44 + },
45 + e: function e(_e2) {
46 + didErr = true;
47 + err = _e2;
48 + },
49 + f: function f() {
50 + try {
51 + if (!normalCompletion && it["return"] != null) it["return"]();
52 + } finally {
53 + if (didErr) throw err;
54 + }
55 + }
56 + };
57 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
2 +export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
3 + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
4 + if (it) return (it = it.call(o)).next.bind(it);
5 +
6 + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
7 + if (it) o = it;
8 + var i = 0;
9 + return function () {
10 + if (i >= o.length) return {
11 + done: true
12 + };
13 + return {
14 + done: false,
15 + value: o[i++]
16 + };
17 + };
18 + }
19 +
20 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21 +}
...\ No newline at end of file ...\ No newline at end of file
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.