├── test
├── .gitignore
├── package.json
├── README.md
├── server.js
├── test.js
└── package-lock.json
├── vue.config.js
├── start.png
├── webpack.png
├── .gitignore
├── copy_index.js
├── dist
├── css
│ ├── style.css
│ └── app.eadc40de.css
├── index.html
└── js
│ ├── app.a501711f.js
│ ├── app.a501711f.js.map
│ └── chunk-vendors.513242e0.js
├── public
├── css
│ └── style.css
└── index.html
├── src
├── Suggestion.vue
├── Bar.vue
├── main.js
├── Dep.vue
├── Pkg.vue
├── View.vue
└── App.vue
├── .vscode
└── launch.json
├── index.html
├── package.json
└── README.md
/test/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/vue.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | publicPath: '',
3 | }
4 |
--------------------------------------------------------------------------------
/start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arve0/npm-download-size/HEAD/start.png
--------------------------------------------------------------------------------
/webpack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arve0/npm-download-size/HEAD/webpack.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | npm-debug.log
4 | yarn-error.log
5 |
6 | # Editor directories and files
7 | .idea
8 | *.suo
9 | *.ntvs*
10 | *.njsproj
11 | *.sln
12 |
--------------------------------------------------------------------------------
/copy_index.js:
--------------------------------------------------------------------------------
1 | const { readFileSync, writeFileSync } = require('fs');
2 |
3 | let index = readFileSync('dist/index.html', 'utf8')
4 | .replace(/(href|src)=(js|css)/g, '$1=dist/$2');
5 |
6 | writeFileSync('index.html', index);
--------------------------------------------------------------------------------
/dist/css/style.css:
--------------------------------------------------------------------------------
1 | html {
2 | font-family: 'Avenir', Helvetica, Arial, sans-serif;
3 | -webkit-font-smoothing: antialiased;
4 | -moz-osx-font-smoothing: grayscale;
5 | color: #102030;
6 | }
7 | body {
8 | margin: 0;
9 | }
10 | #app {
11 | text-align: center;
12 | margin-top: 10vh;
13 | }
14 | h1, h2 {
15 | font-weight: normal;
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/public/css/style.css:
--------------------------------------------------------------------------------
1 | html {
2 | font-family: 'Avenir', Helvetica, Arial, sans-serif;
3 | -webkit-font-smoothing: antialiased;
4 | -moz-osx-font-smoothing: grayscale;
5 | color: #102030;
6 | }
7 | body {
8 | margin: 0;
9 | }
10 | #app {
11 | text-align: center;
12 | margin-top: 10vh;
13 | }
14 | h1, h2 {
15 | font-weight: normal;
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/src/Suggestion.vue:
--------------------------------------------------------------------------------
1 |
2 | {{ item.package.name + this.version }}
3 |
4 |
5 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "type": "node",
9 | "request": "launch",
10 | "name": "Test",
11 | "program": "${workspaceFolder}/test/test.js"
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | explore download size of npm packages
8 |
9 |
10 |
11 |
12 |
13 |
14 |
npm download size
15 |
Analyse size of npm packages.
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/test/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "simple-browser-testing",
3 | "version": "1.0.0",
4 | "description": "plain browser testing with puppeteer and tape",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "mocha test.js"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/arve0/simple-browser-testing.git"
12 | },
13 | "author": "Arve Seljebu",
14 | "license": "ISC",
15 | "bugs": {
16 | "url": "https://github.com/arve0/simple-browser-testing/issues"
17 | },
18 | "homepage": "https://github.com/arve0/simple-browser-testing#readme",
19 | "devDependencies": {
20 | "puppeteer": "*",
21 | "mocha": "*"
22 | },
23 | "dependencies": { }
24 | }
25 |
--------------------------------------------------------------------------------
/dist/index.html:
--------------------------------------------------------------------------------
1 | explore download size of npm packagesnpm download size
Analyse size of npm packages.
--------------------------------------------------------------------------------
/src/Bar.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
17 |
18 |
35 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 | explore download size of npm packagesnpm download size
Analyse size of npm packages.
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "npm-download-size",
3 | "description": "explore size of npm packages",
4 | "version": "1.0.0",
5 | "author": "Arve Seljebu",
6 | "private": true,
7 | "scripts": {
8 | "build": "vue-cli-service build && node copy_index.js",
9 | "start": "vue-cli-service serve",
10 | "test": "npm run build && cd test && npm test"
11 | },
12 | "dependencies": {
13 | "si-prefix": "^0.1.0",
14 | "v-autocomplete": "github:arve0/v-autocomplete",
15 | "vue": "^2.5.17",
16 | "vue-class-component": "^6.0.0",
17 | "vue-property-decorator": "^7.0.0"
18 | },
19 | "devDependencies": {
20 | "@vue/cli-service": "^4.3.0",
21 | "typescript": "^3.0.0",
22 | "vue-template-compiler": "^2.5.17"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/test/README.md:
--------------------------------------------------------------------------------
1 | # simple browser testing
2 | This is a dead simple setup of end-to-end testing with chrome headless using
3 |
4 | - [puppeteer](https://www.npmjs.com/package/puppeteer/) and
5 | - [mocha](https://www.npmjs.com/package/mocha).
6 |
7 | It basically
8 |
9 | 1. Starts a webserver
10 | 2. Loads chromium through puppeteer
11 | 4. Runs tests with mocha
12 |
13 | ## usage
14 | Write tests in test.js and start with
15 |
16 | ```sh
17 | $ npm test
18 |
19 | > simple-browser-testing@1.0.0 test /Users/arve/git/npm-download-size/test
20 | > mocha test.js
21 |
22 |
23 |
24 | ✓ should have an input element
25 | ✓ should find the async package (730ms)
26 | ✓ should find async also with suggestion list (604ms)
27 | ✓ should use the suggestion list as package name (561ms)
28 | ✓ should find packages with two letters (522ms)
29 | ✓ should sort depreciated packages last (490ms)
30 |
31 | 6 passing (4s)
32 |
33 | ```
34 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # npm-download-size
2 |
3 | > explore size of npm packages
4 |
5 | https://arve0.github.io/npm-download-size
6 |
7 | 
8 |
9 | Also availabel as cli: https://github.com/arve0/npm-download-size-cli
10 |
11 | API: https://github.com/arve0/npm-download-size-api
12 |
13 |
14 | ## Usage
15 |
16 | Start with entering the name of a package:
17 |
18 | 
19 |
20 | Press enter, and you will get the statistics.
21 |
22 | 
23 |
24 | Click on dependencies to show their statistics. If you click on the package name, you will be forwarded to npmjs.
25 |
26 | ## Development
27 |
28 | ``` bash
29 | # install dependencies
30 | npm install
31 |
32 | # serve with hot reload at localhost:8080
33 | npm start
34 |
35 | # build for production with minification
36 | npm run build
37 | ```
38 |
39 | For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).
40 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import App from './App.vue'
3 | import View from './View.vue'
4 | import Autocomplete from 'v-autocomplete'
5 |
6 | Vue.use(Autocomplete)
7 |
8 | const app = new Vue({
9 | el: '#app',
10 | data: function () {
11 | return {
12 | path: window.location.hash.slice(1),
13 | error: "",
14 | }
15 | },
16 | methods: {
17 | changePath: function (path) {
18 | window.location.hash = path
19 | },
20 | handleError: function (error) {
21 | console.error(error)
22 | this.error = error.message
23 | this.changePath("")
24 | },
25 | getEmitHandlers: function () {
26 | return {
27 | error: this.handleError,
28 | path: this.changePath
29 | }
30 | }
31 | },
32 | render: function (h) {
33 | switch (this.path) {
34 | case '':
35 | return h(App, {
36 | props: {
37 | error: this.error
38 | },
39 | on: this.getEmitHandlers()
40 | })
41 | default:
42 | return h(View, {
43 | props: {
44 | pkgName: this.path
45 | },
46 | on: this.getEmitHandlers()
47 | })
48 | }
49 | }
50 | })
51 |
52 | // called when doing history back/forward
53 | window.addEventListener('hashchange', (event) => {
54 | app.path = window.location.hash.slice(1)
55 | })
56 |
--------------------------------------------------------------------------------
/src/Dep.vue:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
45 |
46 |
57 |
--------------------------------------------------------------------------------
/dist/css/app.eadc40de.css:
--------------------------------------------------------------------------------
1 | div.v-autocomplete{display:inline-block;max-width:100%}input{margin-top:5%;max-width:100%;box-sizing:border-box}button{margin-top:.5em}button,input{font-size:2.5em;padding:.3em;border-style:solid;border-width:1px;border-radius:.1em}button:focus,input:focus{outline:none;box-shadow:0 0 3pt 1pt #90ee90}.v-autocomplete-list{margin-top:1em}.v-autocomplete-list-item{margin-right:.8em}.v-autocomplete-item-active{font-weight:700;cursor:pointer}.alert{margin-top:2em;background-color:#cd5c5c;display:inline-block;padding:.5em;font-size:1.5em;border-radius:.1em}#popular h2{margin-top:3em}.bar[data-v-7ea654bc]{width:10em;height:.5em;background-color:#f0f8ff;position:relative;display:inline-block;margin-right:.1em}.fill[data-v-7ea654bc]{position:absolute;bottom:0;top:0;left:0;background-color:#6495ed}.dep[data-v-6a852b0e]{margin-left:1em;margin-bottom:.6em}.description[data-v-6a852b0e]{transform:rotate(45deg);cursor:pointer;white-space:pre}.package[data-v-0a3d6ba5]{padding:1em}.package h1[data-v-0a3d6ba5]{margin-top:0;margin-bottom:.3em;cursor:pointer}.package table[data-v-0a3d6ba5]{border-collapse:collapse;margin-bottom:1em}.package th[data-v-0a3d6ba5],td[data-v-0a3d6ba5]{border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#000}.package th[data-v-0a3d6ba5]{text-align:left;padding-right:2em}.package td[data-v-0a3d6ba5]{text-align:right}.loading[data-v-eac02bc2]{text-align:center;margin-top:20%;font-size:200%}h1[data-v-eac02bc2]{margin:.5em;margin-bottom:0}.deps[data-v-eac02bc2]{display:flex;flex-wrap:wrap;flex-direction:column}.deps>[data-v-eac02bc2]{flex-grow:1;flex-basis:0}
--------------------------------------------------------------------------------
/test/server.js:
--------------------------------------------------------------------------------
1 | const http = require("http");
2 | const fs = require("fs");
3 | const { normalize, join } = require("path");
4 |
5 | const rootPath = join(__dirname, '..', 'dist');
6 |
7 | const DEBUG = process.env.DEBUG || false
8 | const debug = (str) => DEBUG ? console.log(str) : null;
9 |
10 | const mimeTypes = {
11 | 'html': 'text/html',
12 | 'jpeg': 'image/jpeg',
13 | 'jpg': 'image/jpeg',
14 | 'png': 'image/png',
15 | 'js': 'text/javascript',
16 | 'css': 'text/css',
17 | 'default': 'text/plain',
18 | };
19 |
20 | const webserver = http.createServer(sendFile);
21 |
22 | function sendFile(request, response) {
23 | let path = request.url || '';
24 | let safePath = normalize(path).replace('^(\.\.[\/\\])+', '');
25 | if (safePath === '' || safePath === '/') {
26 | safePath = 'index.html';
27 | }
28 | let filename = join(rootPath, safePath);
29 | if (!fs.existsSync(filename)) {
30 | debug('Server: 404 - ' + request.method + ': ' + request.url);
31 | response.statusCode = 404;
32 | response.end('File not found.');
33 | }
34 | else {
35 | debug('Server: 200 - ' + request.method + ': ' + request.url);
36 | let headers = {
37 | // @ts-ignore
38 | 'Content-Type': mimeTypes[filename.split('.').pop()] || mimeTypes['default']
39 | };
40 | response.writeHead(200, headers);
41 | response.end(fs.readFileSync(filename));
42 | }
43 | }
44 |
45 | function start(port = 8888) {
46 | return new Promise((resolve, reject) => {
47 | webserver.listen(port, (err) => {
48 | if (err) {
49 | return reject(err);
50 | }
51 | debug(`Server: Listening on port ${port}`);
52 | resolve();
53 | });
54 | });
55 | }
56 | exports.start = start;
57 | function shutdown() {
58 | webserver.close();
59 | }
60 | exports.shutdown = shutdown;
61 | //# sourceMappingURL=server.js.map
--------------------------------------------------------------------------------
/src/Pkg.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
{{pkg.name}} @ {{pkg.version}}
4 |
5 |
6 | | Version |
7 | {{pkg.version}} |
8 |
9 |
10 | | Total size |
11 | {{pkg.prettySize}} |
12 |
13 |
14 | | Total dependencies |
15 | {{pkg.totalDependencies}} |
16 |
17 |
18 | | Tarball size |
19 | {{tarballSize}} |
20 |
21 |
22 | | Direct dependencies |
23 | {{pkg.dependencies.length}} |
24 |
25 |
26 |
27 |
28 |
29 |
55 |
56 |
82 |
--------------------------------------------------------------------------------
/src/View.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{spinner}} Loading, please wait.
5 |
6 |
7 |
8 |
9 |
Dependencies
10 |
11 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
89 |
90 |
110 |
--------------------------------------------------------------------------------
/test/test.js:
--------------------------------------------------------------------------------
1 | const server = require('./server')
2 | const { launch } = require('puppeteer')
3 | const assert = require('assert');
4 |
5 | let port = 8888
6 | let mainPage = `http://localhost:${port}/`
7 | let browser = null
8 | let page = null
9 |
10 | before(async function () {
11 | this.timeout(5 * 1000)
12 | await server.start(port)
13 | browser = await launch({ devtools: true });
14 | page = (await browser.pages())[0]
15 |
16 | page.on('console', async msg => {
17 | if (msg.type() === 'error') {
18 | console.error("Browser console.error:")
19 | let error = await msg.args()[0].jsonValue()
20 | console.error(error)
21 | } else {
22 | console.log(msg._text)
23 | }
24 | })
25 | })
26 |
27 | beforeEach(async () => await page.goto(mainPage))
28 |
29 | after(() => {
30 | browser.close()
31 | server.shutdown()
32 | })
33 |
34 | it('should have an input element', async () => {
35 | let input = await page.$('input')
36 |
37 | assert.notEqual(input, null)
38 | })
39 |
40 | it('should find the async package', async () => {
41 | let input = await page.$('input')
42 | await input.type('async')
43 | await sleep(300)
44 | await input.press('Enter')
45 |
46 | await page.waitFor('.package h1')
47 |
48 | let npmLink = await page.$eval('.package h1', link => link.textContent)
49 |
50 | assert(npmLink.includes('async'))
51 | })
52 |
53 | it('should find async also with suggestion list', async () => {
54 | let input = await page.$('input')
55 | await input.type('async')
56 | await page.waitFor('.v-autocomplete-item-active')
57 | await input.press('Enter')
58 |
59 | await page.waitFor('.package h1')
60 |
61 | let npmLink = await page.$eval('.package h1', link => link.textContent)
62 |
63 | assert(npmLink.includes('async'))
64 | })
65 |
66 | it('should use the suggestion list as package name', async () => {
67 | let input = await page.$('input')
68 | await input.type('async')
69 | await page.waitFor('.v-autocomplete-item-active')
70 | await input.press('ArrowDown')
71 | await input.press('Enter')
72 |
73 | await page.waitFor('.package h1')
74 |
75 | let npmLink = await page.$eval('.package h1', link => link.textContent)
76 |
77 | assert(npmLink.indexOf('async @') !== 0)
78 | })
79 |
80 | it('should find packages with two letters', async () => {
81 | let input = await page.$('input')
82 | await input.type('he')
83 |
84 | let firstSearchResult = '.v-autocomplete-list > :nth-child(1) > span'
85 | await page.waitFor(firstSearchResult)
86 | let npmLink = await page.$eval(firstSearchResult, span => span.textContent)
87 |
88 | assert(npmLink.includes('he'))
89 | })
90 |
91 | it('should sort depreciated packages last', async () => {
92 | let input = await page.$('input')
93 | await input.type('npm')
94 |
95 | let firstSearchResult = '.v-autocomplete-list > :nth-child(1) > span'
96 | await page.waitFor(firstSearchResult)
97 | let first = await page.$eval(firstSearchResult, span => span.textContent)
98 |
99 | assert.equal(first, 'npm')
100 | })
101 |
102 | function sleep (time) {
103 | return new Promise(resolve => setTimeout(resolve, time))
104 | }
105 |
106 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
npm download size
4 |
Analyse download size and dependencies of npm packages.
5 |
Enter a package name below and press enter!
6 |
18 |
21 |
22 |
Popular packages
23 |
request,
24 |
chalk,
25 |
express,
26 |
browserify,
27 |
parcel,
28 |
webpack,
29 |
react,
30 |
moment,
31 |
express,
32 |
lodash,
33 |
async,
34 |
forever
35 |
36 |
37 |
38 |
39 |
143 |
144 |
190 |
--------------------------------------------------------------------------------
/dist/js/app.a501711f.js:
--------------------------------------------------------------------------------
1 | (function(t){function e(e){for(var r,a,o=e[0],p=e[1],c=e[2],l=0,h=[];l0?this.searchText.substring(t):""}}},c=p,u=n("2877"),l=Object(u["a"])(c,a,o,!1,null,null,null);l.options.__file="Suggestion.vue";var h=l.exports,f={name:"app",props:["error"],data(){return{input:"",prevName:"",notFound:!1,errMsg:this.error,suggestions:[],template:h}},computed:{alert:function(){return this.notFound?`${this.input} is not found in npm registry`:this.errMsg},name:function(){let t=this.input.indexOf("@"),e=this.input.lastIndexOf("@");return t!==e||e>0?this.input.substring(0,e):this.input},version:function(){let t=this.input.lastIndexOf("@");return t>0?this.input.substring(t):""}},methods:{updateItems:function(t){this.input=t,this.name!==this.prevName&&(this.notFound=!1,this.errMsg=!1,""!==t&&(this.getSuggestions(this.name).then(()=>{this.notFound=0===this.suggestions.length,1===this.suggestions.length&&this.go()}),this.prevName=this.name))},getLabel:function(t){return t&&t.package&&t.package.name+this.version||""},go:function(t){this.alert||("object"===typeof t?this.$emit("path",this.getPath(t.package.name)):this.$emit("path",this.getPath(this.name)))},getSuggestions:async function(t){let e=`https://api.npms.io/v2/search/suggestions?q=${t}`;await fetch(e).then(t=>t.json()).then(t=>this.suggestions=t||[]).then(t=>t.sort(d)).catch(t=>this.$emit("error",t))},getPath:function(t){return this.uriEncodePkgName(t+this.version)},uriEncodePkgName:t=>t.replace("/","%2f")}};function d(t,e){return g(t)&&!g(e)?1:!g(t)&&g(e)?-1:e.searchScore-t.searchScore}function g(t){return t.flags&&t.flags.deprecated}var v=f,_=(n("034f"),Object(u["a"])(v,s,i,!1,null,null,null));_.options.__file="App.vue";var m=_.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"view"}},[t.pkg?t._e():n("div",{staticClass:"loading"},[t._v("\n "+t._s(t.spinner)+" Loading, please wait.\n ")]),t.pkg?n("div",[n("pkg",{attrs:{pkg:t.pkg}}),t.pkg.dependencies.length?n("div",[n("h1",[t._v("Dependencies")]),n("div",{staticClass:"deps"},t._l(t.deps,function(e){return n("dep",{key:e.name,attrs:{pkg:e,parent:t.pkg},on:{goto:t.goTo}})}))]):t._e()],1):t._e()])},b=[],w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dep"},[n("bar",{attrs:{ratio:t.ratio}}),n("a",{staticClass:"description",attrs:{title:t.title},on:{click:t.click}},[t._v(t._s(t.pkg.name)+" @ "+t._s(t.pkg.version)+" -- "+t._s(t.pretty(t.pkg.size))+" ("+t._s(t.pkg.totalDependencies)+" deps)")])],1)},y=[],x=n("8a61"),P=n.n(x),j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bar"},[n("div",{staticClass:"fill",style:t.style})])},E=[],$={props:["ratio"],computed:{style:function(){return"width: "+10*this.ratio+"em;"}}},O=$,z=(n("031f"),Object(u["a"])(O,j,E,!1,null,"7ea654bc",null));z.options.__file="Bar.vue";var S=z.exports,N={props:["pkg","parent"],components:{bar:S},computed:{isParent:function(){return this.pkg===this.parent},title:function(){return this.isParent?"view on npmjs":"show pkg size"},size:function(){return this.isParent?this.pkg.tarballSize:this.pkg.size},ratio:function(){return this.size/this.parent.size}},methods:{click:function(){this.$emit("goto",this.pkg.name)},pretty:function(t){let e=0===t?[0,"B"]:P.a.byte.convert(t),n=e[0].toFixed(1)+" "+e[1];return n}}},T=N,C=(n("a4d5"),Object(u["a"])(T,w,y,!1,null,"6a852b0e",null));C.options.__file="Dep.vue";var I=C.exports,M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"package"},[n("h1",{attrs:{title:"goto npmjs"},on:{click:t.click}},[t._v(t._s(t.pkg.name)+" @ "+t._s(t.pkg.version))]),n("table",[n("tr",[n("th",[t._v("Version")]),n("td",[t._v(t._s(t.pkg.version))])]),n("tr",[n("th",[t._v("Total size")]),n("td",[t._v(t._s(t.pkg.prettySize))])]),n("tr",[n("th",[t._v("Total dependencies")]),n("td",[t._v(t._s(t.pkg.totalDependencies))])]),n("tr",[n("th",[t._v("Tarball size")]),n("td",[t._v(t._s(t.tarballSize))])]),n("tr",[n("th",[t._v("Direct dependencies")]),n("td",[t._v(t._s(t.pkg.dependencies.length))])])])])},F=[],q={props:["pkg"],computed:{tarballSize:function(){return D(this.pkg.tarballSize)}},methods:{click:function(){window.location.href=`https://npmjs.com/package/${this.pkg.name}`}}};function D(t){let e=0===t?[0,"B"]:P.a.byte.convert(t),n=e[0].toFixed(1)+" "+e[1];return n}var L=q,B=(n("6fad"),Object(u["a"])(L,M,F,!1,null,"0a3d6ba5",null));B.options.__file="Pkg.vue";var H=B.exports,A={props:["pkgName"],components:{dep:I,pkg:H},data:function(){return{pkg:null,spinner:"⠋",spinners:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]}},computed:{deps:function(){return this.pkg&&this.pkg.dependencies.sort((t,e)=>e.size-t.size)}},methods:{getPkg:function(){this.spin(),this._interval=setInterval(this.spin,100);let t=`https://npm-download-size.seljebu.no/${this.pkgName}`;fetch(t).then(t=>{if(404!==t.status){if(500!==t.status)return t.json();t.text().then(t=>{this.$emit("error",new Error(t))})}else{let t=this.pkgName.replace("%2f","/");this.$emit("error",new Error(`"${t}" not found.`))}}).then(t=>{clearInterval(this._interval),this.pkg=t}).catch(t=>this.$emit("error",t))},goTo:function(t){this.pkg=null,this.$emit("path",this.uriEncodePkgName(t))},spin:function(){this.spinner=this.spinners.shift(),this.spinners.push(this.spinner)},uriEncodePkgName:t=>t.replace("/","%2f")},created:function(){this.getPkg()},watch:{pkgName:function(){this.getPkg()}}},J=A,V=(n("76f7"),Object(u["a"])(J,k,b,!1,null,"eac02bc2",null));V.options.__file="View.vue";var G=V.exports,K=n("d051"),Q=n.n(K);r["a"].use(Q.a);const R=new r["a"]({el:"#app",data:function(){return{path:window.location.hash.slice(1),error:""}},methods:{changePath:function(t){window.location.hash=t},handleError:function(t){console.error(t),this.error=t.message,this.changePath("")},getEmitHandlers:function(){return{error:this.handleError,path:this.changePath}}},render:function(t){switch(this.path){case"":return t(m,{props:{error:this.error},on:this.getEmitHandlers()});default:return t(G,{props:{pkgName:this.path},on:this.getEmitHandlers()})}}});window.addEventListener("hashchange",t=>{R.path=window.location.hash.slice(1)})},"6fad":function(t,e,n){"use strict";var r=n("bb3b"),s=n.n(r);s.a},"76f7":function(t,e,n){"use strict";var r=n("a6f6"),s=n.n(r);s.a},a4d5:function(t,e,n){"use strict";var r=n("c5e6"),s=n.n(r);s.a},a6f6:function(t,e,n){},bb3b:function(t,e,n){},c5e6:function(t,e,n){},ffae:function(t,e,n){}});
2 | //# sourceMappingURL=app.a501711f.js.map
--------------------------------------------------------------------------------
/test/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "simple-browser-testing",
3 | "version": "1.0.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "agent-base": {
8 | "version": "4.3.0",
9 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
10 | "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==",
11 | "dev": true,
12 | "requires": {
13 | "es6-promisify": "^5.0.0"
14 | }
15 | },
16 | "async-limiter": {
17 | "version": "1.0.1",
18 | "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
19 | "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==",
20 | "dev": true
21 | },
22 | "balanced-match": {
23 | "version": "1.0.0",
24 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
25 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
26 | "dev": true
27 | },
28 | "brace-expansion": {
29 | "version": "1.1.11",
30 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
31 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
32 | "dev": true,
33 | "requires": {
34 | "balanced-match": "^1.0.0",
35 | "concat-map": "0.0.1"
36 | }
37 | },
38 | "browser-stdout": {
39 | "version": "1.3.1",
40 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
41 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
42 | "dev": true
43 | },
44 | "buffer-crc32": {
45 | "version": "0.2.13",
46 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
47 | "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
48 | "dev": true
49 | },
50 | "buffer-from": {
51 | "version": "1.1.1",
52 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
53 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
54 | "dev": true
55 | },
56 | "commander": {
57 | "version": "2.15.1",
58 | "resolved": "http://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
59 | "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==",
60 | "dev": true
61 | },
62 | "concat-map": {
63 | "version": "0.0.1",
64 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
65 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
66 | "dev": true
67 | },
68 | "concat-stream": {
69 | "version": "1.6.2",
70 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
71 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
72 | "dev": true,
73 | "requires": {
74 | "buffer-from": "^1.0.0",
75 | "inherits": "^2.0.3",
76 | "readable-stream": "^2.2.2",
77 | "typedarray": "^0.0.6"
78 | }
79 | },
80 | "core-util-is": {
81 | "version": "1.0.2",
82 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
83 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
84 | "dev": true
85 | },
86 | "debug": {
87 | "version": "3.1.0",
88 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
89 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
90 | "dev": true,
91 | "requires": {
92 | "ms": "2.0.0"
93 | }
94 | },
95 | "diff": {
96 | "version": "3.5.0",
97 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
98 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
99 | "dev": true
100 | },
101 | "es6-promise": {
102 | "version": "4.2.8",
103 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
104 | "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",
105 | "dev": true
106 | },
107 | "es6-promisify": {
108 | "version": "5.0.0",
109 | "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
110 | "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
111 | "dev": true,
112 | "requires": {
113 | "es6-promise": "^4.0.3"
114 | }
115 | },
116 | "escape-string-regexp": {
117 | "version": "1.0.5",
118 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
119 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
120 | "dev": true
121 | },
122 | "extract-zip": {
123 | "version": "1.7.0",
124 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz",
125 | "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==",
126 | "dev": true,
127 | "requires": {
128 | "concat-stream": "^1.6.2",
129 | "debug": "^2.6.9",
130 | "mkdirp": "^0.5.4",
131 | "yauzl": "^2.10.0"
132 | },
133 | "dependencies": {
134 | "debug": {
135 | "version": "2.6.9",
136 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
137 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
138 | "dev": true,
139 | "requires": {
140 | "ms": "2.0.0"
141 | }
142 | },
143 | "minimist": {
144 | "version": "1.2.5",
145 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
146 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
147 | "dev": true
148 | },
149 | "mkdirp": {
150 | "version": "0.5.5",
151 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
152 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
153 | "dev": true,
154 | "requires": {
155 | "minimist": "^1.2.5"
156 | }
157 | }
158 | }
159 | },
160 | "fd-slicer": {
161 | "version": "1.1.0",
162 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
163 | "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
164 | "dev": true,
165 | "requires": {
166 | "pend": "~1.2.0"
167 | }
168 | },
169 | "fs.realpath": {
170 | "version": "1.0.0",
171 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
172 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
173 | "dev": true
174 | },
175 | "glob": {
176 | "version": "7.1.2",
177 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
178 | "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
179 | "dev": true,
180 | "requires": {
181 | "fs.realpath": "^1.0.0",
182 | "inflight": "^1.0.4",
183 | "inherits": "2",
184 | "minimatch": "^3.0.4",
185 | "once": "^1.3.0",
186 | "path-is-absolute": "^1.0.0"
187 | }
188 | },
189 | "growl": {
190 | "version": "1.10.5",
191 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
192 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==",
193 | "dev": true
194 | },
195 | "has-flag": {
196 | "version": "3.0.0",
197 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
198 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
199 | "dev": true
200 | },
201 | "he": {
202 | "version": "1.1.1",
203 | "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
204 | "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
205 | "dev": true
206 | },
207 | "https-proxy-agent": {
208 | "version": "2.2.4",
209 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz",
210 | "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==",
211 | "dev": true,
212 | "requires": {
213 | "agent-base": "^4.3.0",
214 | "debug": "^3.1.0"
215 | }
216 | },
217 | "inflight": {
218 | "version": "1.0.6",
219 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
220 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
221 | "dev": true,
222 | "requires": {
223 | "once": "^1.3.0",
224 | "wrappy": "1"
225 | }
226 | },
227 | "inherits": {
228 | "version": "2.0.3",
229 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
230 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
231 | "dev": true
232 | },
233 | "isarray": {
234 | "version": "1.0.0",
235 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
236 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
237 | "dev": true
238 | },
239 | "mime": {
240 | "version": "2.4.6",
241 | "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
242 | "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==",
243 | "dev": true
244 | },
245 | "minimatch": {
246 | "version": "3.0.4",
247 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
248 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
249 | "dev": true,
250 | "requires": {
251 | "brace-expansion": "^1.1.7"
252 | }
253 | },
254 | "minimist": {
255 | "version": "0.0.8",
256 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
257 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
258 | "dev": true
259 | },
260 | "mkdirp": {
261 | "version": "0.5.1",
262 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
263 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
264 | "dev": true,
265 | "requires": {
266 | "minimist": "0.0.8"
267 | }
268 | },
269 | "mocha": {
270 | "version": "5.2.0",
271 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz",
272 | "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==",
273 | "dev": true,
274 | "requires": {
275 | "browser-stdout": "1.3.1",
276 | "commander": "2.15.1",
277 | "debug": "3.1.0",
278 | "diff": "3.5.0",
279 | "escape-string-regexp": "1.0.5",
280 | "glob": "7.1.2",
281 | "growl": "1.10.5",
282 | "he": "1.1.1",
283 | "minimatch": "3.0.4",
284 | "mkdirp": "0.5.1",
285 | "supports-color": "5.4.0"
286 | },
287 | "dependencies": {
288 | "supports-color": {
289 | "version": "5.4.0",
290 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
291 | "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
292 | "dev": true,
293 | "requires": {
294 | "has-flag": "^3.0.0"
295 | }
296 | }
297 | }
298 | },
299 | "ms": {
300 | "version": "2.0.0",
301 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
302 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
303 | "dev": true
304 | },
305 | "once": {
306 | "version": "1.4.0",
307 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
308 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
309 | "dev": true,
310 | "requires": {
311 | "wrappy": "1"
312 | }
313 | },
314 | "path-is-absolute": {
315 | "version": "1.0.1",
316 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
317 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
318 | "dev": true
319 | },
320 | "pend": {
321 | "version": "1.2.0",
322 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
323 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
324 | "dev": true
325 | },
326 | "process-nextick-args": {
327 | "version": "2.0.1",
328 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
329 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
330 | "dev": true
331 | },
332 | "progress": {
333 | "version": "2.0.3",
334 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
335 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
336 | "dev": true
337 | },
338 | "proxy-from-env": {
339 | "version": "1.1.0",
340 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
341 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
342 | "dev": true
343 | },
344 | "puppeteer": {
345 | "version": "1.13.0",
346 | "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-1.13.0.tgz",
347 | "integrity": "sha512-LUXgvhjfB/P6IOUDAKxOcbCz9ISwBLL9UpKghYrcBDwrOGx1m60y0iN2M64mdAUbT4+7oZM5DTxOW7equa2fxQ==",
348 | "dev": true,
349 | "requires": {
350 | "debug": "^4.1.0",
351 | "extract-zip": "^1.6.6",
352 | "https-proxy-agent": "^2.2.1",
353 | "mime": "^2.0.3",
354 | "progress": "^2.0.1",
355 | "proxy-from-env": "^1.0.0",
356 | "rimraf": "^2.6.1",
357 | "ws": "^6.1.0"
358 | },
359 | "dependencies": {
360 | "debug": {
361 | "version": "4.1.1",
362 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
363 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
364 | "dev": true,
365 | "requires": {
366 | "ms": "^2.1.1"
367 | }
368 | },
369 | "ms": {
370 | "version": "2.1.2",
371 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
372 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
373 | "dev": true
374 | }
375 | }
376 | },
377 | "readable-stream": {
378 | "version": "2.3.7",
379 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
380 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
381 | "dev": true,
382 | "requires": {
383 | "core-util-is": "~1.0.0",
384 | "inherits": "~2.0.3",
385 | "isarray": "~1.0.0",
386 | "process-nextick-args": "~2.0.0",
387 | "safe-buffer": "~5.1.1",
388 | "string_decoder": "~1.1.1",
389 | "util-deprecate": "~1.0.1"
390 | }
391 | },
392 | "rimraf": {
393 | "version": "2.7.1",
394 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
395 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
396 | "dev": true,
397 | "requires": {
398 | "glob": "^7.1.3"
399 | },
400 | "dependencies": {
401 | "glob": {
402 | "version": "7.1.6",
403 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
404 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
405 | "dev": true,
406 | "requires": {
407 | "fs.realpath": "^1.0.0",
408 | "inflight": "^1.0.4",
409 | "inherits": "2",
410 | "minimatch": "^3.0.4",
411 | "once": "^1.3.0",
412 | "path-is-absolute": "^1.0.0"
413 | }
414 | }
415 | }
416 | },
417 | "safe-buffer": {
418 | "version": "5.1.2",
419 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
420 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
421 | "dev": true
422 | },
423 | "string_decoder": {
424 | "version": "1.1.1",
425 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
426 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
427 | "dev": true,
428 | "requires": {
429 | "safe-buffer": "~5.1.0"
430 | }
431 | },
432 | "typedarray": {
433 | "version": "0.0.6",
434 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
435 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
436 | "dev": true
437 | },
438 | "util-deprecate": {
439 | "version": "1.0.2",
440 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
441 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
442 | "dev": true
443 | },
444 | "wrappy": {
445 | "version": "1.0.2",
446 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
447 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
448 | "dev": true
449 | },
450 | "ws": {
451 | "version": "6.2.1",
452 | "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
453 | "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
454 | "dev": true,
455 | "requires": {
456 | "async-limiter": "~1.0.0"
457 | }
458 | },
459 | "yauzl": {
460 | "version": "2.10.0",
461 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
462 | "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
463 | "dev": true,
464 | "requires": {
465 | "buffer-crc32": "~0.2.3",
466 | "fd-slicer": "~1.1.0"
467 | }
468 | }
469 | }
470 | }
471 |
--------------------------------------------------------------------------------
/dist/js/app.a501711f.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/Bar.vue?e02d","webpack:///./src/App.vue?7c61","webpack:///./src/App.vue?ece0","webpack:///./src/Suggestion.vue?71cf","webpack:///src/Suggestion.vue","webpack:///./src/Suggestion.vue?3f49","webpack:///./src/Suggestion.vue","webpack:///src/App.vue","webpack:///./src/App.vue?8b47","webpack:///./src/App.vue","webpack:///./src/View.vue?1552","webpack:///./src/Dep.vue?8179","webpack:///./src/Bar.vue?6963","webpack:///src/Bar.vue","webpack:///./src/Bar.vue?a45d","webpack:///./src/Bar.vue","webpack:///src/Dep.vue","webpack:///./src/Dep.vue?3fb2","webpack:///./src/Dep.vue","webpack:///./src/Pkg.vue?dcfa","webpack:///src/Pkg.vue","webpack:///./src/Pkg.vue?6599","webpack:///./src/Pkg.vue","webpack:///src/View.vue","webpack:///./src/View.vue?1b3c","webpack:///./src/View.vue","webpack:///./src/main.js","webpack:///./src/Pkg.vue?7120","webpack:///./src/View.vue?b833","webpack:///./src/Dep.vue?e7d1"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","app","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Bar_vue_vue_type_style_index_0_id_7ea654bc_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Bar_vue_vue_type_style_index_0_id_7ea654bc_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","render","_vm","this","_h","$createElement","_c","_self","attrs","id","_v","staticClass","wait","min-len","keep-open","items","suggestions","get-label","getLabel","component-item","template","input-attrs","autofocus","on","update-items","updateItems","item-selected","go","enter","_s","alert","_e","_m","staticRenderFns","href","Suggestionvue_type_template_id_3d9595ac_render","item","package","version","Suggestionvue_type_template_id_3d9595ac_staticRenderFns","Suggestionvue_type_script_lang_js_","props","required","searchText","computed","lastAt","lastIndexOf","substring","src_Suggestionvue_type_script_lang_js_","component","componentNormalizer","options","__file","Suggestion","Appvue_type_script_lang_js_","[object Object]","input","prevName","notFound","errMsg","error","firstAt","indexOf","methods","getSuggestions","then","$emit","getPath","async","uri","fetch","json","sort","depricatedLast","catch","err","uriEncodePkgName","pkgname","replace","a","b","isDepricated","searchScore","pkg","flags","deprecated","src_Appvue_type_script_lang_js_","App_component","App","Viewvue_type_template_id_eac02bc2_scoped_true_render","spinner","dependencies","_l","dep","parent","goto","goTo","Viewvue_type_template_id_eac02bc2_scoped_true_staticRenderFns","Depvue_type_template_id_6a852b0e_scoped_true_render","ratio","title","click","pretty","size","totalDependencies","Depvue_type_template_id_6a852b0e_scoped_true_staticRenderFns","Barvue_type_template_id_7ea654bc_scoped_true_render","style","Barvue_type_template_id_7ea654bc_scoped_true_staticRenderFns","Barvue_type_script_lang_js_","src_Barvue_type_script_lang_js_","Bar_component","Bar","Depvue_type_script_lang_js_","components","bar","isParent","tarballSize","converted","si_prefix_default","byte","convert","output","toFixed","src_Depvue_type_script_lang_js_","Dep_component","Dep","Pkgvue_type_template_id_0a3d6ba5_scoped_true_render","prettySize","Pkgvue_type_template_id_0a3d6ba5_scoped_true_staticRenderFns","Pkgvue_type_script_lang_js_","location","src_Pkgvue_type_script_lang_js_","Pkg_component","Pkg","Viewvue_type_script_lang_js_","spinners","deps","getPkg","spin","_interval","setInterval","pkgName","res","status","text","Error","spec","clearInterval","created","watch","src_Viewvue_type_script_lang_js_","View_component","View","vue_runtime_esm","use","v_autocomplete_default","el","path","hash","changePath","handleError","console","message","getEmitHandlers","h","addEventListener","event","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pkg_vue_vue_type_style_index_0_id_0a3d6ba5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pkg_vue_vue_type_style_index_0_id_0a3d6ba5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View_vue_vue_type_style_index_0_id_eac02bc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View_vue_vue_type_style_index_0_id_eac02bc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dep_vue_vue_type_style_index_0_id_6a852b0e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dep_vue_vue_type_style_index_0_id_6a852b0e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,KACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAGAe,KAAAhB,GAEA,MAAAO,EAAAC,OACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,OAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACA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,EAAiBZ,GACjBhH,OACAqG,QAAA3I,KAAA2J,MAEAvI,GAAApB,KAAAiK,wBAOA1K,OAAA4K,iBAAA,aAAAC,IACA1M,EAAAiM,KAAApK,OAAAyI,SAAA4B,KAAAnK,MAAA,0CCrDA,IAAA4K,EAAA9M,EAAA,QAAA+M,EAAA/M,EAAA2B,EAAAmL,GAA+YC,EAAG,uCCAlZ,IAAAC,EAAAhN,EAAA,QAAAiN,EAAAjN,EAAA2B,EAAAqL,GAAgZC,EAAG,qCCAnZ,IAAAC,EAAAlN,EAAA,QAAAmN,EAAAnN,EAAA2B,EAAAuL,GAA+YC,EAAG","file":"js/app.a501711f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Bar.vue?vue&type=style&index=0&id=7ea654bc&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Bar.vue?vue&type=style&index=0&id=7ea654bc&scoped=true&lang=css&\"","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('h1',[_vm._v(\"npm download size\")]),_c('p',{staticClass:\"lead\"},[_vm._v(\"Analyse download size and dependencies of npm packages.\")]),_c('p',[_vm._v(\"Enter a package name below and press enter!\")]),_c('v-autocomplete',{attrs:{\"wait\":300,\"min-len\":2,\"keep-open\":true,\"items\":_vm.suggestions,\"get-label\":_vm.getLabel,\"component-item\":_vm.template,\"input-attrs\":{ autofocus: 'true' }},on:{\"update-items\":_vm.updateItems,\"item-selected\":_vm.go,\"enter\":_vm.go}}),_c('div',[(_vm.alert)?_c('p',{staticClass:\"alert\"},[_vm._v(_vm._s(_vm.alert))]):_vm._e()]),_vm._m(0)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"popular\"}},[_c('h2',[_vm._v(\"Popular packages\")]),_c('a',{attrs:{\"href\":\"#request\"}},[_vm._v(\"request\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#chalk\"}},[_vm._v(\"chalk\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#express\"}},[_vm._v(\"express\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#browserify\"}},[_vm._v(\"browserify\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#parcel\"}},[_vm._v(\"parcel\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#webpack\"}},[_vm._v(\"webpack\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#react\"}},[_vm._v(\"react\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#moment\"}},[_vm._v(\"moment\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#express\"}},[_vm._v(\"express\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#lodash\"}},[_vm._v(\"lodash\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#async\"}},[_vm._v(\"async\")]),_vm._v(\",\\n \"),_c('a',{attrs:{\"href\":\"#forever\"}},[_vm._v(\"forever\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_vm._v(_vm._s(_vm.item.package.name + this.version))])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n {{ item.package.name + this.version }}\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Suggestion.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Suggestion.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Suggestion.vue?vue&type=template&id=3d9595ac&\"\nimport script from \"./Suggestion.vue?vue&type=script&lang=js&\"\nexport * from \"./Suggestion.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"Suggestion.vue\"\nexport default component.exports","\n \n
npm download size
\n
Analyse download size and dependencies of npm packages.
\n
Enter a package name below and press enter!
\n
\n
\n
\n
Popular packages
\n
request,\n
chalk,\n
express,\n
browserify,\n
parcel,\n
webpack,\n
react,\n
moment,\n
express,\n
lodash,\n
async,\n
forever\n
\n
\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=5850b7a4&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"view\"}},[(!_vm.pkg)?_c('div',{staticClass:\"loading\"},[_vm._v(\"\\n \"+_vm._s(_vm.spinner)+\" Loading, please wait.\\n \")]):_vm._e(),(_vm.pkg)?_c('div',[_c('pkg',{attrs:{\"pkg\":_vm.pkg}}),(_vm.pkg.dependencies.length)?_c('div',[_c('h1',[_vm._v(\"Dependencies\")]),_c('div',{staticClass:\"deps\"},_vm._l((_vm.deps),function(dep){return _c('dep',{key:dep.name,attrs:{\"pkg\":dep,\"parent\":_vm.pkg},on:{\"goto\":_vm.goTo}})}))]):_vm._e()],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dep\"},[_c('bar',{attrs:{\"ratio\":_vm.ratio}}),_c('a',{staticClass:\"description\",attrs:{\"title\":_vm.title},on:{\"click\":_vm.click}},[_vm._v(_vm._s(_vm.pkg.name)+\" @ \"+_vm._s(_vm.pkg.version)+\" -- \"+_vm._s(_vm.pretty(_vm.pkg.size))+\" (\"+_vm._s(_vm.pkg.totalDependencies)+\" deps)\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bar\"},[_c('div',{staticClass:\"fill\",style:(_vm.style)})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Bar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Bar.vue?vue&type=template&id=7ea654bc&scoped=true&\"\nimport script from \"./Bar.vue?vue&type=script&lang=js&\"\nexport * from \"./Bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Bar.vue?vue&type=style&index=0&id=7ea654bc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea654bc\",\n null\n \n)\n\ncomponent.options.__file = \"Bar.vue\"\nexport default component.exports","\n \n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dep.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dep.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dep.vue?vue&type=template&id=6a852b0e&scoped=true&\"\nimport script from \"./Dep.vue?vue&type=script&lang=js&\"\nexport * from \"./Dep.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Dep.vue?vue&type=style&index=0&id=6a852b0e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6a852b0e\",\n null\n \n)\n\ncomponent.options.__file = \"Dep.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"package\"},[_c('h1',{attrs:{\"title\":\"goto npmjs\"},on:{\"click\":_vm.click}},[_vm._v(_vm._s(_vm.pkg.name)+\" @ \"+_vm._s(_vm.pkg.version))]),_c('table',[_c('tr',[_c('th',[_vm._v(\"Version\")]),_c('td',[_vm._v(_vm._s(_vm.pkg.version))])]),_c('tr',[_c('th',[_vm._v(\"Total size\")]),_c('td',[_vm._v(_vm._s(_vm.pkg.prettySize))])]),_c('tr',[_c('th',[_vm._v(\"Total dependencies\")]),_c('td',[_vm._v(_vm._s(_vm.pkg.totalDependencies))])]),_c('tr',[_c('th',[_vm._v(\"Tarball size\")]),_c('td',[_vm._v(_vm._s(_vm.tarballSize))])]),_c('tr',[_c('th',[_vm._v(\"Direct dependencies\")]),_c('td',[_vm._v(_vm._s(_vm.pkg.dependencies.length))])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
{{pkg.name}} @ {{pkg.version}}
\n
\n \n | Version | \n {{pkg.version}} | \n
\n \n | Total size | \n {{pkg.prettySize}} | \n
\n \n | Total dependencies | \n {{pkg.totalDependencies}} | \n
\n \n | Tarball size | \n {{tarballSize}} | \n
\n \n | Direct dependencies | \n {{pkg.dependencies.length}} | \n
\n
\n
\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pkg.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pkg.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Pkg.vue?vue&type=template&id=0a3d6ba5&scoped=true&\"\nimport script from \"./Pkg.vue?vue&type=script&lang=js&\"\nexport * from \"./Pkg.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Pkg.vue?vue&type=style&index=0&id=0a3d6ba5&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a3d6ba5\",\n null\n \n)\n\ncomponent.options.__file = \"Pkg.vue\"\nexport default component.exports","\n \n
\n {{spinner}} Loading, please wait.\n
\n
\n
\n
\n
Dependencies
\n
\n \n
\n
\n
\n
\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./View.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./View.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./View.vue?vue&type=template&id=eac02bc2&scoped=true&\"\nimport script from \"./View.vue?vue&type=script&lang=js&\"\nexport * from \"./View.vue?vue&type=script&lang=js&\"\nimport style0 from \"./View.vue?vue&type=style&index=0&id=eac02bc2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eac02bc2\",\n null\n \n)\n\ncomponent.options.__file = \"View.vue\"\nexport default component.exports","import Vue from 'vue'\nimport App from './App.vue'\nimport View from './View.vue'\nimport Autocomplete from 'v-autocomplete'\n\nVue.use(Autocomplete)\n\nconst app = new Vue({\n el: '#app',\n data: function () {\n return {\n path: window.location.hash.slice(1),\n error: \"\",\n }\n },\n methods: {\n changePath: function (path) {\n window.location.hash = path\n },\n handleError: function (error) {\n console.error(error)\n this.error = error.message\n this.changePath(\"\")\n },\n getEmitHandlers: function () {\n return {\n error: this.handleError,\n path: this.changePath\n }\n }\n },\n render: function (h) {\n switch (this.path) {\n case '':\n return h(App, {\n props: {\n error: this.error\n },\n on: this.getEmitHandlers()\n })\n default:\n return h(View, {\n props: {\n pkgName: this.path\n },\n on: this.getEmitHandlers()\n })\n }\n }\n})\n\n// called when doing history back/forward\nwindow.addEventListener('hashchange', (event) => {\n app.path = window.location.hash.slice(1)\n})\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pkg.vue?vue&type=style&index=0&id=0a3d6ba5&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pkg.vue?vue&type=style&index=0&id=0a3d6ba5&scoped=true&lang=css&\"","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./View.vue?vue&type=style&index=0&id=eac02bc2&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./View.vue?vue&type=style&index=0&id=eac02bc2&scoped=true&lang=css&\"","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dep.vue?vue&type=style&index=0&id=6a852b0e&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dep.vue?vue&type=style&index=0&id=6a852b0e&scoped=true&lang=css&\""],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/js/chunk-vendors.513242e0.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",function(){return r})},"2b0e":function(t,e,n){"use strict";(function(t){
2 | /*!
3 | * Vue.js v2.5.17
4 | * (c) 2014-2018 Evan You
5 | * Released under the MIT License.
6 | */
7 | var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"===typeof t?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function g(t,e){return _.call(t,e)}function b(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var w=/-(\w)/g,C=b(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),x=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),$=/\B([A-Z])/g,A=b(function(t){return t.replace($,"-$1").toLowerCase()});function k(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function O(t,e){return t.bind(e)}var S=Function.prototype.bind?O:k;function I(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function E(t,e){for(var n in e)t[n]=e[n];return t}function T(t){for(var e={},n=0;n0,tt=Z&&Z.indexOf("edge/")>0,et=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===J),nt=(Z&&/chrome\/\d+/.test(Z),{}.watch),rt=!1;if(X)try{var it={};Object.defineProperty(it,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var ot=function(){return void 0===q&&(q=!X&&!G&&"undefined"!==typeof t&&"server"===t["process"].env.VUE_ENV),q},at=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"===typeof t&&/native code/.test(t.toString())}var ct,ut="undefined"!==typeof Symbol&&st(Symbol)&&"undefined"!==typeof Reflect&&st(Reflect.ownKeys);ct="undefined"!==typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=j,ft=0,pt=function(){this.id=ft++,this.subs=[]};pt.prototype.addSub=function(t){this.subs.push(t)},pt.prototype.removeSub=function(t){y(this.subs,t)},pt.prototype.depend=function(){pt.target&&pt.target.addDep(this)},pt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!g(i,"default"))a=!1;else if(""===a||a===A(t)){var c=Jt(String,i.type);(c<0||s0&&(a=$e(a,(e||"")+"_"+n),xe(a[0])&&xe(u)&&(l[c]=gt(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?xe(u)?l[c]=gt(u.text+a):""!==a&&l.push(gt(a)):xe(a)&&xe(u)?l[c]=gt(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function Ae(t,e){return(t.__esModule||ut&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function ke(t,e,n,r,i){var o=_t();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function Oe(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var a=t.contexts=[n],s=!0,u=function(){for(var t=0,e=a.length;t1?I(n):n;for(var r=I(arguments,1),i=0,o=n.length;iYe&&Ke[n].id>t.id)n--;Ke.splice(n+1,0,t)}else Ke.push(t);Je||(Je=!0,le(tn))}}var an=0,sn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++an,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"===typeof e?this.getter=e:(this.getter=W(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};sn.prototype.get=function(){var t;vt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Zt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&pe(t),ht(),this.cleanupDeps()}return t},sn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},sn.prototype.cleanupDeps=function(){var t=this,e=this.deps.length;while(e--){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},sn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():on(this)},sn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Zt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},sn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},sn.prototype.depend=function(){var t=this,e=this.deps.length;while(e--)t.deps[e].depend()},sn.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)t.deps[e].removeSub(t);this.active=!1}};var cn={enumerable:!0,configurable:!0,get:j,set:j};function un(t,e,n){cn.get=function(){return this[e][n]},cn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,cn)}function ln(t){t._watchers=[];var e=t.$options;e.props&&fn(t,e.props),e.methods&&_n(t,e.methods),e.data?pn(t):Et(t._data={},!0),e.computed&&hn(t,e.computed),e.watch&&e.watch!==nt&&gn(t,e.watch)}function fn(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||kt(!1);var a=function(o){i.push(o);var a=qt(o,e,n,t);Tt(r,o,a),o in t||un(t,"_props",o)};for(var s in e)a(s);kt(!0)}function pn(t){var e=t.$options.data;e=t._data="function"===typeof e?dn(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&g(r,o)||B(o)||un(t,"_data",o)}Et(e,!0)}function dn(t,e){vt();try{return t.call(e,e)}catch(t){return Zt(t,e,"data()"),{}}finally{ht()}}var vn={lazy:!0};function hn(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new sn(t,a||j,j,vn)),i in t||mn(t,i,o)}}function mn(t,e,n){var r=!ot();"function"===typeof n?(cn.get=r?yn(e):n,cn.set=j):(cn.get=n.get?r&&!1!==n.cache?yn(e):n.get:j,cn.set=n.set?n.set:j),Object.defineProperty(t,e,cn)}function yn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),pt.target&&e.depend(),e.value}}function _n(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?j:S(e[n],t)}function gn(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function sr(t){this._init(t)}function cr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function ur(t){t.mixin=function(t){return this.options=zt(this.options,t),this}}function lr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=zt(n.options,t),a["super"]=n,a.options.props&&fr(a),a.options.computed&&pr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),i[r]=a,a}}function fr(t){var e=t.options.props;for(var n in e)un(t.prototype,"_props",n)}function pr(t){var e=t.options.computed;for(var n in e)mn(t.prototype,n,e[n])}function dr(t){R.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function vr(t){return t&&(t.Ctor.options.name||t.tag)}function hr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function mr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=vr(a.componentOptions);s&&!e(s)&&yr(n,o,r,i)}}}function yr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,y(n,e)}nr(sr),wn(sr),Pe(sr),Fe(sr),tr(sr);var _r=[String,RegExp,Array],gr={name:"keep-alive",abstract:!0,props:{include:_r,exclude:_r,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)yr(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){mr(t,function(t){return hr(e,t)})}),this.$watch("exclude",function(e){mr(t,function(t){return!hr(e,t)})})},render:function(){var t=this.$slots.default,e=Ie(t),n=e&&e.componentOptions;if(n){var r=vr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!hr(o,r))||a&&r&&hr(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,y(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&yr(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},br={KeepAlive:gr};function wr(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:E,mergeOptions:zt,defineReactive:Tt},t.set=jt,t.delete=Lt,t.nextTick=le,t.options=Object.create(null),R.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,E(t.options.components,br),cr(t),ur(t),lr(t),dr(t)}wr(sr),Object.defineProperty(sr.prototype,"$isServer",{get:ot}),Object.defineProperty(sr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(sr,"FunctionalRenderContext",{value:Dn}),sr.version="2.5.17";var Cr=h("style,class"),xr=h("input,textarea,option,select,progress"),$r=function(t,e,n){return"value"===n&&xr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ar=h("contenteditable,draggable,spellcheck"),kr=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Or="http://www.w3.org/1999/xlink",Sr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ir=function(t){return Sr(t)?t.slice(6,t.length):""},Er=function(t){return null==t||!1===t};function Tr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=jr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=jr(e,n.data));return Lr(e.staticClass,e.class)}function jr(t,e){return{staticClass:Pr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Lr(t,e){return i(t)||i(e)?Pr(t,Mr(e)):""}function Pr(t,e){return t?e?t+" "+e:t:e||""}function Mr(t){return Array.isArray(t)?Nr(t):c(t)?Dr(t):"string"===typeof t?t:""}function Nr(t){for(var e,n="",r=0,o=t.length;r-1?Hr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Hr[t]=/HTMLUnknownElement/.test(e.toString())}var Wr=h("text,number,password,search,email,tel,url");function qr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Kr(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Xr(t,e){return document.createElementNS(Ur[t],e)}function Gr(t){return document.createTextNode(t)}function Jr(t){return document.createComment(t)}function Zr(t,e,n){t.insertBefore(e,n)}function Yr(t,e){t.removeChild(e)}function Qr(t,e){t.appendChild(e)}function ti(t){return t.parentNode}function ei(t){return t.nextSibling}function ni(t){return t.tagName}function ri(t,e){t.textContent=e}function ii(t,e){t.setAttribute(e,"")}var oi=Object.freeze({createElement:Kr,createElementNS:Xr,createTextNode:Gr,createComment:Jr,insertBefore:Zr,removeChild:Yr,appendChild:Qr,parentNode:ti,nextSibling:ei,tagName:ni,setTextContent:ri,setStyleScope:ii}),ai={create:function(t,e){si(e)},update:function(t,e){t.data.ref!==e.data.ref&&(si(t,!0),si(e))},destroy:function(t){si(t,!0)}};function si(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ci=new mt("",{},[]),ui=["create","activate","update","remove","destroy"];function li(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&fi(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function fi(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Wr(r)&&Wr(o)}function pi(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function di(t){var e,n,a={},c=t.modules,u=t.nodeOps;for(e=0;eh?(f=r(n[_+1])?null:n[_+1].elm,x(t,f,n,v,_,o)):v>_&&A(t,e,p,h)}function S(t,e,n,r){for(var o=n;o-1?$i(t,e,n):kr(e)?Er(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ar(e)?t.setAttribute(e,Er(n)||"false"===n?"false":"true"):Sr(e)?Er(n)?t.removeAttributeNS(Or,Ir(e)):t.setAttributeNS(Or,e,n):$i(t,e,n)}function $i(t,e,n){if(Er(n))t.removeAttribute(e);else{if(Y&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Ai={create:Ci,update:Ci};function ki(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Tr(e),c=n._transitionClasses;i(c)&&(s=Pr(s,Mr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Oi,Si={create:ki,update:ki},Ii="__r",Ei="__c";function Ti(t){if(i(t[Ii])){var e=Y?"change":"input";t[e]=[].concat(t[Ii],t[e]||[]),delete t[Ii]}i(t[Ei])&&(t.change=[].concat(t[Ei],t.change||[]),delete t[Ei])}function ji(t,e,n){var r=Oi;return function i(){var o=t.apply(null,arguments);null!==o&&Pi(e,i,n,r)}}function Li(t,e,n,r,i){e=ue(e),n&&(e=ji(e,t,r)),Oi.addEventListener(t,e,rt?{capture:r,passive:i}:r)}function Pi(t,e,n,r){(r||Oi).removeEventListener(t,e._withTask||e,n)}function Mi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Oi=e.elm,Ti(n),ye(n,i,Li,Pi,e.context),Oi=void 0}}var Ni={create:Mi,update:Mi};function Di(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=E({},c)),s)r(c[n])&&(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=o;var u=r(o)?"":String(o);Ui(a,u)&&(a.value=u)}else a[n]=o}}}function Ui(t,e){return!t.composing&&("OPTION"===t.tagName||Ri(t,e)||Fi(t,e))}function Ri(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function Fi(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Vi={create:Di,update:Di},Bi=b(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function Hi(t){var e=zi(t.style);return t.staticStyle?E(t.staticStyle,e):e}function zi(t){return Array.isArray(t)?T(t):"string"===typeof t?Bi(t):t}function Wi(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=Hi(i.data))&&E(r,n)}(n=Hi(t.data))&&E(r,n);var o=t;while(o=o.parent)o.data&&(n=Hi(o.data))&&E(r,n);return r}var qi,Ki=/^--/,Xi=/\s*!important$/,Gi=function(t,e,n){if(Ki.test(e))t.style.setProperty(e,n);else if(Xi.test(n))t.style.setProperty(e,n.replace(Xi,""),"important");else{var r=Zi(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function eo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function no(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&E(e,ro(t.name||"v")),E(e,t),e}return"string"===typeof t?ro(t):void 0}}var ro=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),io=X&&!Q,oo="transition",ao="animation",so="transition",co="transitionend",uo="animation",lo="animationend";io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(so="WebkitTransition",co="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(uo="WebkitAnimation",lo="webkitAnimationEnd"));var fo=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function po(t){fo(function(){fo(t)})}function vo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),to(t,e))}function ho(t,e){t._transitionClasses&&y(t._transitionClasses,e),eo(t,e)}function mo(t,e,n){var r=_o(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===oo?co:lo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=oo,l=a,f=o.length):e===ao?u>0&&(n=ao,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?oo:ao:null,f=n?n===oo?o.length:c.length:0);var p=n===oo&&yo.test(r[so+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function go(t,e){while(t.length1}function Ao(t,e){!0!==e.data.show&&wo(e)}var ko=X?{create:Ao,activate:Ao,remove:function(t,e){!0!==t.data.show?Co(t,e):e()}}:{},Oo=[Ai,Si,Ni,Vi,Qi,ko],So=Oo.concat(wi),Io=di({nodeOps:oi,modules:So});Q&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Do(t,"input")});var Eo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?_e(n,"postpatch",function(){Eo.componentUpdated(t,e,n)}):To(t,e,n.context),t._vOptions=[].map.call(t.options,Po)):("textarea"===n.tag||Wr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Mo),t.addEventListener("compositionend",No),t.addEventListener("change",No),Q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){To(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Po);if(i.some(function(t,e){return!M(t,r[e])})){var o=t.multiple?e.value.some(function(t){return Lo(t,i)}):e.value!==e.oldValue&&Lo(e.value,i);o&&Do(t,"change")}}}};function To(t,e,n){jo(t,e,n),(Y||tt)&&setTimeout(function(){jo(t,e,n)},0)}function jo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(M(Po(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Lo(t,e){return e.every(function(e){return!M(e,t)})}function Po(t){return"_value"in t?t._value:t.value}function Mo(t){t.target.composing=!0}function No(t){t.target.composing&&(t.target.composing=!1,Do(t.target,"input"))}function Do(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Uo(t){return!t.componentInstance||t.data&&t.data.transition?t:Uo(t.componentInstance._vnode)}var Ro={bind:function(t,e,n){var r=e.value;n=Uo(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,wo(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=Uo(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?wo(n,function(){t.style.display=t.__vOriginalDisplay}):Co(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Fo={model:Eo,show:Ro},Vo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Bo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Bo(Ie(e.children)):t}function Ho(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[C(o)]=i[o];return e}function zo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Wo(t){while(t=t.parent)if(t.data.transition)return!0}function qo(t,e){return e.key===t.key&&e.tag===t.tag}var Ko={name:"transition",props:Vo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||Se(t)}),n.length)){0;var r=this.mode;0;var i=n[0];if(Wo(this.$vnode))return i;var o=Bo(i);if(!o)return i;if(this._leaving)return zo(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=Ho(this),u=this._vnode,l=Bo(u);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),l&&l.data&&!qo(o,l)&&!Se(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=E({},c);if("out-in"===r)return this._leaving=!0,_e(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),zo(t,i);if("in-out"===r){if(Se(o))return u;var p,d=function(){p()};_e(c,"afterEnter",d),_e(c,"enterCancelled",d),_e(f,"delayLeave",function(t){p=t})}}return i}}},Xo=E({tag:String,moveClass:String},Vo);delete Xo.mode;var Go={props:Xo,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ho(this),s=0;s0&&(this.cursor--,this.itemView(this.$el.getElementsByClassName("v-autocomplete-list-item")[this.cursor]))},keyDown:function(t){this.cursor<=this.internalItems.length&&(this.cursor++,this.itemView(this.$el.getElementsByClassName("v-autocomplete-list-item")[this.cursor]))},itemView:function(t){t&&t.scrollIntoView&&t.scrollIntoView(!1)},keyEnter:function(t){this.showList&&this.internalItems[this.cursor]?(this.onSelectItem(this.internalItems[this.cursor]),this.showList=!1):this.$emit("enter",this.searchText)}},created:function(){i.a.minLen=this.minLen,i.a.wait=this.wait,this.onSelectItem(this.value)},watch:{items:function(t){this.setItems(t);var e=i.a.findItem(this.items,this.searchText,this.autoSelectOneItem);e&&(this.onSelectItem(e),this.showList=!1)},value:function(t){this.isSelectedValue(t)||(this.onSelectItem(t),this.searchText=this.getLabel(t))}}}},function(t,e,n){"use strict";e.a={props:{item:{required:!0}}}},function(t,e,n){t.exports=n(4)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5);e.default=Object.assign({},r.a,{install:function(t){return t.component(r.a.name,r.a)}})},function(t,e,n){"use strict";function r(t){n(6)}var i=n(1),o=n(10),a=n(0),s=r,c=a(i.a,o.a,!1,s,null,null);e.a=c.exports},function(t,e){},function(t,e,n){"use strict";var r=n(2),i=n(8),o=n(0),a=o(r.a,i.a,!1,null,null,null);e.a=a.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v(t._s(t.item))])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";e.a={minLen:3,wait:500,timeout:null,isUpdateItems:function(t){if(t.length>=this.minLen)return!0},callUpdateItems:function(t,e){clearTimeout(this.timeout),this.isUpdateItems(t)&&(this.timeout=setTimeout(e,this.wait))},findItem:function(t,e,n){if(e)return n&&1==t.length?t[0]:void 0}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-autocomplete"},[n("div",{staticClass:"v-autocomplete-input-group",class:{"v-autocomplete-selected":t.value}},[n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.searchText,expression:"searchText"}],class:t.inputAttrs.class||t.inputClass,attrs:{type:"text",placeholder:t.inputAttrs.placeholder||t.placeholder,disabled:t.inputAttrs.disabled||t.disabled},domProps:{value:t.searchText},on:{blur:t.blur,focus:t.focus,input:[function(e){e.target.composing||(t.searchText=e.target.value)},t.inputChange],keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.keyEnter(e):null},keydown:[function(e){return"button"in e||!t._k(e.keyCode,"tab",9,e.key,"Tab")?t.keyEnter(e):null},function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?t.keyUp(e):null},function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?t.keyDown(e):null}]}},"input",t.inputAttrs,!1))]),t._v(" "),t.show?n("div",{staticClass:"v-autocomplete-list"},t._l(t.internalItems,function(e,r){return n("div",{staticClass:"v-autocomplete-list-item",class:{"v-autocomplete-item-active":r===t.cursor},on:{click:function(n){t.onClickItem(e)},mouseover:function(e){t.cursor=r}}},[n(t.componentItem,{tag:"div",attrs:{item:e,searchText:t.searchText}})])})):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o}])})},f871:function(t,e){(function(){t.exports=function(){var t,e,n,r,i,o,a;function s(t,e){this.si=t,this.unit=e,this.baseln=n(this.si.base),this.limit=Object.keys(t).sort(a).shift()}return t=Math.abs,e=Math.floor,n=Math.log,r=Math.max,i=Math.pow,o=function(t){return parseFloat(t.toFixed(12))},a=function(t,e){return t-e},s.prototype.format=function(t,e){return null==e&&(e=""),this.convert(t).join(e)},s.prototype.suffix=function(t){return this.convert(t)[1]},s.prototype.convert=function(a){var s,c;c=a/(a=t(a)),s=r(this.limit,e(n(a)/this.baseln));while(!(s in this.si)&&s>this.limit)s--;return a=o(c*a/i(this.si.base,s)),[a,this.si[s]+this.unit]},s}()}).call(this)}}]);
8 | //# sourceMappingURL=chunk-vendors.513242e0.js.map
--------------------------------------------------------------------------------