유희정

modify detect and ml design

Showing 1000 changed files with 1553 additions and 2 deletions

Too many changes to show.

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

...@@ -78,7 +78,6 @@ p.float_left{ ...@@ -78,7 +78,6 @@ p.float_left{
78 width:27%; 78 width:27%;
79 left : 3%; 79 left : 3%;
80 bottom :5%; 80 bottom :5%;
81 - overflow-y: auto;
82 float:left; 81 float:left;
83 border:2px solid #4e73df; 82 border:2px solid #4e73df;
84 } 83 }
......
...@@ -198,7 +198,7 @@ ipcMain.on("device-name", (e, arg) => { ...@@ -198,7 +198,7 @@ ipcMain.on("device-name", (e, arg) => {
198 198
199 } 199 }
200 ipcMain.on('open-error-dialog', (event) => { 200 ipcMain.on('open-error-dialog', (event) => {
201 - dialog.showErrorBox('detected unsafe contents', '당신의 휴대폰에서 유해한 사진을 발견했습니다!') 201 + dialog.showErrorBox('detected unsafe contents', '당신의 휴대폰에서 유해한 콘텐츠를 발견했습니다!')
202 }) 202 })
203 //이전에 사용한 photos 폴더 삭제 203 //이전에 사용한 photos 폴더 삭제
204 var rimraf = require("rimraf"); 204 var rimraf = require("rimraf");
......
1 +#!/bin/sh
2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 +
4 +case `uname` in
5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../google-gax/build/tools/compileProtos.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../google-gax/build/tools/compileProtos.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\google-gax\build\tools\compileProtos.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\google-gax\build\tools\compileProtos.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../electron/cli.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../electron/cli.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\electron\cli.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\electron\cli.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../extract-zip/cli.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../extract-zip/cli.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\extract-zip\cli.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\extract-zip\cli.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../google-p12-pem/build/src/bin/gp12-pem.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../google-p12-pem/build/src/bin/gp12-pem.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\google-p12-pem\build\src\bin\gp12-pem.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\google-p12-pem\build\src\bin\gp12-pem.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../md5-file/cli.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../md5-file/cli.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\md5-file\cli.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\md5-file\cli.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../mime/cli.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../mime/cli.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\mime\cli.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\mime\cli.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../mkdirp/bin/cmd.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\mkdirp\bin\cmd.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../ncp/bin/ncp" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../ncp/bin/ncp" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\ncp\bin\ncp" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\ncp\bin\ncp" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../which/bin/node-which" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../which/bin/node-which" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\which\bin\node-which" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\which\bin\node-which" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../protobufjs/bin/pbjs" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../protobufjs/bin/pbjs" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbjs" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\protobufjs\bin\pbjs" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../protobufjs/bin/pbts" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../protobufjs/bin/pbts" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbts" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\protobufjs\bin\pbts" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../pixelmatch/bin/pixelmatch" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../pixelmatch/bin/pixelmatch" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\pixelmatch\bin\pixelmatch" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\pixelmatch\bin\pixelmatch" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../rimraf/bin.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../rimraf/bin.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\rimraf\bin.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\rimraf\bin.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../semver/bin/semver.js" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\semver\bin\semver.js" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\semver\bin\semver.js" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../sshpk/bin/sshpk-conv" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\sshpk\bin\sshpk-conv" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../sshpk/bin/sshpk-sign" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\sshpk\bin\sshpk-sign" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../sshpk/bin/sshpk-verify" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\sshpk\bin\sshpk-verify" %*
7 +)
...\ 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*) basedir=`cygpath -w "$basedir"`;;
6 +esac
7 +
8 +if [ -x "$basedir/node" ]; then
9 + "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@"
10 + ret=$?
11 +else
12 + node "$basedir/../uuid/dist/bin/uuid" "$@"
13 + ret=$?
14 +fi
15 +exit $ret
1 +@IF EXIST "%~dp0\node.exe" (
2 + "%~dp0\node.exe" "%~dp0\..\uuid\dist\bin\uuid" %*
3 +) ELSE (
4 + @SETLOCAL
5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
6 + node "%~dp0\..\uuid\dist\bin\uuid" %*
7 +)
...\ No newline at end of file ...\ No newline at end of file
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/next/babel-runtime.html) 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");
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 +if (typeof Symbol === "function" && Symbol.asyncIterator) {
83 + AsyncGenerator.prototype[Symbol.asyncIterator] = function () {
84 + return this;
85 + };
86 +}
87 +
88 +AsyncGenerator.prototype.next = function (arg) {
89 + return this._invoke("next", arg);
90 +};
91 +
92 +AsyncGenerator.prototype["throw"] = function (arg) {
93 + return this._invoke("throw", arg);
94 +};
95 +
96 +AsyncGenerator.prototype["return"] = function (arg) {
97 + return this._invoke("return", arg);
98 +};
99 +
100 +module.exports = AsyncGenerator;
...\ 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;
...\ 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;
...\ 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;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +var arrayLikeToArray = require("./arrayLikeToArray");
2 +
3 +function _arrayWithoutHoles(arr) {
4 + if (Array.isArray(arr)) return arrayLikeToArray(arr);
5 +}
6 +
7 +module.exports = _arrayWithoutHoles;
...\ 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;
...\ 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 + if (typeof Symbol === "function" && Symbol.iterator) {
19 + iter[Symbol.iterator] = function () {
20 + return this;
21 + };
22 + }
23 +
24 + iter.next = function (value) {
25 + if (waiting) {
26 + waiting = false;
27 + return value;
28 + }
29 +
30 + return pump("next", value);
31 + };
32 +
33 + if (typeof inner["throw"] === "function") {
34 + iter["throw"] = function (value) {
35 + if (waiting) {
36 + waiting = false;
37 + throw value;
38 + }
39 +
40 + return pump("throw", value);
41 + };
42 + }
43 +
44 + if (typeof inner["return"] === "function") {
45 + iter["return"] = function (value) {
46 + if (waiting) {
47 + waiting = false;
48 + return value;
49 + }
50 +
51 + return pump("return", value);
52 + };
53 + }
54 +
55 + return iter;
56 +}
57 +
58 +module.exports = _asyncGeneratorDelegate;
...\ No newline at end of file ...\ No newline at end of file
1 +function _asyncIterator(iterable) {
2 + var method;
3 +
4 + if (typeof Symbol !== "undefined") {
5 + if (Symbol.asyncIterator) {
6 + method = iterable[Symbol.asyncIterator];
7 + if (method != null) return method.call(iterable);
8 + }
9 +
10 + if (Symbol.iterator) {
11 + method = iterable[Symbol.iterator];
12 + if (method != null) return method.call(iterable);
13 + }
14 + }
15 +
16 + throw new TypeError("Object is not async iterable");
17 +}
18 +
19 +module.exports = _asyncIterator;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +var AwaitValue = require("./AwaitValue");
2 +
3 +function _awaitAsyncGenerator(value) {
4 + return new AwaitValue(value);
5 +}
6 +
7 +module.exports = _awaitAsyncGenerator;
...\ 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;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classPrivateFieldDestructureSet(receiver, privateMap) {
2 + if (!privateMap.has(receiver)) {
3 + throw new TypeError("attempted to set private field on non-instance");
4 + }
5 +
6 + var descriptor = privateMap.get(receiver);
7 +
8 + if (descriptor.set) {
9 + if (!("__destrObj" in descriptor)) {
10 + descriptor.__destrObj = {
11 + set value(v) {
12 + descriptor.set.call(receiver, v);
13 + }
14 +
15 + };
16 + }
17 +
18 + return descriptor.__destrObj;
19 + } else {
20 + if (!descriptor.writable) {
21 + throw new TypeError("attempted to set read only private field");
22 + }
23 +
24 + return descriptor;
25 + }
26 +}
27 +
28 +module.exports = _classPrivateFieldDestructureSet;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classPrivateFieldGet(receiver, privateMap) {
2 + var descriptor = privateMap.get(receiver);
3 +
4 + if (!descriptor) {
5 + throw new TypeError("attempted to get private field on non-instance");
6 + }
7 +
8 + if (descriptor.get) {
9 + return descriptor.get.call(receiver);
10 + }
11 +
12 + return descriptor.value;
13 +}
14 +
15 +module.exports = _classPrivateFieldGet;
...\ 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;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classPrivateFieldSet(receiver, privateMap, value) {
2 + var descriptor = privateMap.get(receiver);
3 +
4 + if (!descriptor) {
5 + throw new TypeError("attempted to set private field on non-instance");
6 + }
7 +
8 + if (descriptor.set) {
9 + descriptor.set.call(receiver, value);
10 + } else {
11 + if (!descriptor.writable) {
12 + throw new TypeError("attempted to set read only private field");
13 + }
14 +
15 + descriptor.value = value;
16 + }
17 +
18 + return value;
19 +}
20 +
21 +module.exports = _classPrivateFieldSet;
...\ 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;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +
6 + if (descriptor.get) {
7 + return descriptor.get.call(receiver);
8 + }
9 +
10 + return descriptor.value;
11 +}
12 +
13 +module.exports = _classStaticPrivateFieldSpecGet;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +
6 + if (descriptor.set) {
7 + descriptor.set.call(receiver, value);
8 + } else {
9 + if (!descriptor.writable) {
10 + throw new TypeError("attempted to set read only private field");
11 + }
12 +
13 + descriptor.value = value;
14 + }
15 +
16 + return value;
17 +}
18 +
19 +module.exports = _classStaticPrivateFieldSpecSet;
...\ No newline at end of file ...\ No newline at end of file
1 +function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +
6 + return method;
7 +}
8 +
9 +module.exports = _classStaticPrivateMethodGet;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +var setPrototypeOf = require("./setPrototypeOf");
2 +
3 +var isNativeReflectConstruct = require("./isNativeReflectConstruct");
4 +
5 +function _construct(Parent, args, Class) {
6 + if (isNativeReflectConstruct()) {
7 + module.exports = _construct = Reflect.construct;
8 + } else {
9 + module.exports = _construct = function _construct(Parent, args, Class) {
10 + var a = [null];
11 + a.push.apply(a, args);
12 + var Constructor = Function.bind.apply(Parent, a);
13 + var instance = new Constructor();
14 + if (Class) setPrototypeOf(instance, Class.prototype);
15 + return instance;
16 + };
17 + }
18 +
19 + return _construct.apply(null, arguments);
20 +}
21 +
22 +module.exports = _construct;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +var unsupportedIterableToArray = require("./unsupportedIterableToArray");
2 +
3 +function _createForOfIteratorHelper(o) {
4 + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
5 + if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) {
6 + var i = 0;
7 +
8 + var F = function F() {};
9 +
10 + return {
11 + s: F,
12 + n: function n() {
13 + if (i >= o.length) return {
14 + done: true
15 + };
16 + return {
17 + done: false,
18 + value: o[i++]
19 + };
20 + },
21 + e: function e(_e) {
22 + throw _e;
23 + },
24 + f: F
25 + };
26 + }
27 +
28 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
29 + }
30 +
31 + var it,
32 + normalCompletion = true,
33 + didErr = false,
34 + err;
35 + return {
36 + s: function s() {
37 + it = o[Symbol.iterator]();
38 + },
39 + n: function n() {
40 + var step = it.next();
41 + normalCompletion = step.done;
42 + return step;
43 + },
44 + e: function e(_e2) {
45 + didErr = true;
46 + err = _e2;
47 + },
48 + f: function f() {
49 + try {
50 + if (!normalCompletion && it["return"] != null) it["return"]();
51 + } finally {
52 + if (didErr) throw err;
53 + }
54 + }
55 + };
56 +}
57 +
58 +module.exports = _createForOfIteratorHelper;
...\ No newline at end of file ...\ No newline at end of file
1 +var unsupportedIterableToArray = require("./unsupportedIterableToArray");
2 +
3 +function _createForOfIteratorHelperLoose(o) {
4 + var i = 0;
5 +
6 + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
7 + if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) return function () {
8 + if (i >= o.length) return {
9 + done: true
10 + };
11 + return {
12 + done: false,
13 + value: o[i++]
14 + };
15 + };
16 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17 + }
18 +
19 + i = o[Symbol.iterator]();
20 + return i.next.bind(i);
21 +}
22 +
23 +module.exports = _createForOfIteratorHelperLoose;
...\ No newline at end of file ...\ No newline at end of file
1 +var getPrototypeOf = require("./getPrototypeOf");
2 +
3 +var isNativeReflectConstruct = require("./isNativeReflectConstruct");
4 +
5 +var possibleConstructorReturn = require("./possibleConstructorReturn");
6 +
7 +function _createSuper(Derived) {
8 + return function () {
9 + var Super = getPrototypeOf(Derived),
10 + result;
11 +
12 + if (isNativeReflectConstruct()) {
13 + var NewTarget = getPrototypeOf(this).constructor;
14 + result = Reflect.construct(Super, arguments, NewTarget);
15 + } else {
16 + result = Super.apply(this, arguments);
17 + }
18 +
19 + return possibleConstructorReturn(this, result);
20 + };
21 +}
22 +
23 +module.exports = _createSuper;
...\ No newline at end of file ...\ No newline at end of file
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;
...\ 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;
...\ 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;
...\ No newline at end of file ...\ No newline at end of file
1 +import AwaitValue from "./AwaitValue";
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 +if (typeof Symbol === "function" && Symbol.asyncIterator) {
82 + AsyncGenerator.prototype[Symbol.asyncIterator] = function () {
83 + return this;
84 + };
85 +}
86 +
87 +AsyncGenerator.prototype.next = function (arg) {
88 + return this._invoke("next", arg);
89 +};
90 +
91 +AsyncGenerator.prototype["throw"] = function (arg) {
92 + return this._invoke("throw", arg);
93 +};
94 +
95 +AsyncGenerator.prototype["return"] = function (arg) {
96 + return this._invoke("return", arg);
97 +};
...\ 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";
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 + if (typeof Symbol === "function" && Symbol.iterator) {
19 + iter[Symbol.iterator] = function () {
20 + return this;
21 + };
22 + }
23 +
24 + iter.next = function (value) {
25 + if (waiting) {
26 + waiting = false;
27 + return value;
28 + }
29 +
30 + return pump("next", value);
31 + };
32 +
33 + if (typeof inner["throw"] === "function") {
34 + iter["throw"] = function (value) {
35 + if (waiting) {
36 + waiting = false;
37 + throw value;
38 + }
39 +
40 + return pump("throw", value);
41 + };
42 + }
43 +
44 + if (typeof inner["return"] === "function") {
45 + iter["return"] = function (value) {
46 + if (waiting) {
47 + waiting = false;
48 + return value;
49 + }
50 +
51 + return pump("return", value);
52 + };
53 + }
54 +
55 + return iter;
56 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _asyncIterator(iterable) {
2 + var method;
3 +
4 + if (typeof Symbol !== "undefined") {
5 + if (Symbol.asyncIterator) {
6 + method = iterable[Symbol.asyncIterator];
7 + if (method != null) return method.call(iterable);
8 + }
9 +
10 + if (Symbol.iterator) {
11 + method = iterable[Symbol.iterator];
12 + if (method != null) return method.call(iterable);
13 + }
14 + }
15 +
16 + throw new TypeError("Object is not async iterable");
17 +}
...\ 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";
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 _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 _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 +export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
2 + if (!privateMap.has(receiver)) {
3 + throw new TypeError("attempted to set private field on non-instance");
4 + }
5 +
6 + var descriptor = privateMap.get(receiver);
7 +
8 + if (descriptor.set) {
9 + if (!("__destrObj" in descriptor)) {
10 + descriptor.__destrObj = {
11 + set value(v) {
12 + descriptor.set.call(receiver, v);
13 + }
14 +
15 + };
16 + }
17 +
18 + return descriptor.__destrObj;
19 + } else {
20 + if (!descriptor.writable) {
21 + throw new TypeError("attempted to set read only private field");
22 + }
23 +
24 + return descriptor;
25 + }
26 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classPrivateFieldGet(receiver, privateMap) {
2 + var descriptor = privateMap.get(receiver);
3 +
4 + if (!descriptor) {
5 + throw new TypeError("attempted to get private field on non-instance");
6 + }
7 +
8 + if (descriptor.get) {
9 + return descriptor.get.call(receiver);
10 + }
11 +
12 + return descriptor.value;
13 +}
...\ 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 +export default function _classPrivateFieldSet(receiver, privateMap, value) {
2 + var descriptor = privateMap.get(receiver);
3 +
4 + if (!descriptor) {
5 + throw new TypeError("attempted to set private field on non-instance");
6 + }
7 +
8 + if (descriptor.set) {
9 + descriptor.set.call(receiver, value);
10 + } else {
11 + if (!descriptor.writable) {
12 + throw new TypeError("attempted to set read only private field");
13 + }
14 +
15 + descriptor.value = value;
16 + }
17 +
18 + return value;
19 +}
...\ 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 +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 +export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +
6 + if (descriptor.get) {
7 + return descriptor.get.call(receiver);
8 + }
9 +
10 + return descriptor.value;
11 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +
6 + if (descriptor.set) {
7 + descriptor.set.call(receiver, value);
8 + } else {
9 + if (!descriptor.writable) {
10 + throw new TypeError("attempted to set read only private field");
11 + }
12 +
13 + descriptor.value = value;
14 + }
15 +
16 + return value;
17 +}
...\ No newline at end of file ...\ No newline at end of file
1 +export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
2 + if (receiver !== classConstructor) {
3 + throw new TypeError("Private static access of wrong provenance");
4 + }
5 +
6 + return method;
7 +}
...\ 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";
2 +import isNativeReflectConstruct from "./isNativeReflectConstruct";
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";
2 +export default function _createForOfIteratorHelper(o) {
3 + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
4 + if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) {
5 + var i = 0;
6 +
7 + var F = function F() {};
8 +
9 + return {
10 + s: F,
11 + n: function n() {
12 + if (i >= o.length) return {
13 + done: true
14 + };
15 + return {
16 + done: false,
17 + value: o[i++]
18 + };
19 + },
20 + e: function e(_e) {
21 + throw _e;
22 + },
23 + f: F
24 + };
25 + }
26 +
27 + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
28 + }
29 +
30 + var it,
31 + normalCompletion = true,
32 + didErr = false,
33 + err;
34 + return {
35 + s: function s() {
36 + it = o[Symbol.iterator]();
37 + },
38 + n: function n() {
39 + var step = it.next();
40 + normalCompletion = step.done;
41 + return step;
42 + },
43 + e: function e(_e2) {
44 + didErr = true;
45 + err = _e2;
46 + },
47 + f: function f() {
48 + try {
49 + if (!normalCompletion && it["return"] != null) it["return"]();
50 + } finally {
51 + if (didErr) throw err;
52 + }
53 + }
54 + };
55 +}
...\ 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 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 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 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.