From db7937fd7ea52612305079f5423147dda5217210 Mon Sep 17 00:00:00 2001 From: liukai <659801@qq.com> Date: Tue, 27 Jun 2017 07:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=99=BE=E5=BA=A6=E4=BA=91?= =?UTF-8?q?=E5=A4=A7=E6=96=87=E4=BB=B6=E6=A3=80=E6=B5=8B=E5=B1=8F=E8=94=BD?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .babelrc | 8 ++ CHANGELOG.md | 3 + README.md | 4 +- config/index.js | 2 +- safari2aria.safariextension/Info.plist | 6 +- safari2aria.safariextension/global.html | 2 +- safari2aria.safariextension/options.html | 2 +- safari2aria.safariextension/popover.html | 4 +- ...pover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css | 1 - ...pover.b9b1f50de82289210d58823627ecc7dd.css | 1 + .../static/js/endscript.js | 2 +- .../static/js/global.2200b9fc6a37aab2770a.js | 1 + .../static/js/global.23da2288438dd4148362.js | 1 - .../static/js/manifest.js | 2 +- .../static/js/options.655cdd63c4197e7f9d17.js | 1 + .../static/js/options.f850eb7e3ae211ae9129.js | 1 - .../static/js/popover.567ca9495ff78caf3ed2.js | 1 + .../static/js/popover.f2fa40e3c74209f2ab5a.js | 1 - .../static/js/startscript.js | 2 +- .../static/js/vendor.aaff2542e0be66548fec.js | 39 -------- .../static/js/vendor.c1acd049edbf1f576628.js | 39 ++++++++ safari2aria.safariextz | Bin 321431 -> 313233 bytes src/js/endscript/index.js | 72 ++++++++------ src/js/startscript/index.js | 93 +++++++++++++----- src/pages/global/index.js | 11 ++- src/pages/options/components/index.vue | 5 + src/public/pageScriptMessage.js | 38 +++++++ src/public/runInPage.js | 9 ++ 28 files changed, 237 insertions(+), 114 deletions(-) delete mode 100644 safari2aria.safariextension/static/css/popover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css create mode 100644 safari2aria.safariextension/static/css/popover.b9b1f50de82289210d58823627ecc7dd.css create mode 100644 safari2aria.safariextension/static/js/global.2200b9fc6a37aab2770a.js delete mode 100644 safari2aria.safariextension/static/js/global.23da2288438dd4148362.js create mode 100644 safari2aria.safariextension/static/js/options.655cdd63c4197e7f9d17.js delete mode 100644 safari2aria.safariextension/static/js/options.f850eb7e3ae211ae9129.js create mode 100644 safari2aria.safariextension/static/js/popover.567ca9495ff78caf3ed2.js delete mode 100644 safari2aria.safariextension/static/js/popover.f2fa40e3c74209f2ab5a.js delete mode 100644 safari2aria.safariextension/static/js/vendor.aaff2542e0be66548fec.js create mode 100644 safari2aria.safariextension/static/js/vendor.c1acd049edbf1f576628.js create mode 100644 src/public/pageScriptMessage.js create mode 100644 src/public/runInPage.js diff --git a/.babelrc b/.babelrc index 2862a66..640bcda 100644 --- a/.babelrc +++ b/.babelrc @@ -9,7 +9,15 @@ "stage-2" ], "plugins": [ + [ "transform-runtime", + { + "helpers": false, + "polyfill": false, + "regenerator": true, + "moduleName": "babel-runtime" + } + ], "lodash" ], "comments": false, diff --git a/CHANGELOG.md b/CHANGELOG.md index d94bda8..033a64a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v2.8: +1. 屏蔽百度云大文件检测 + ### v2.7: 1. 增加多User-Agent支持 diff --git a/README.md b/README.md index 09cb068..b8b8ac7 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ safari extension for use aria2 to replace safari default download 1. 拦截指定后缀文件下载 2. 多aria2c服务支持 3. 右键菜单指定aria2c服务 -4. 支持百度云([wap](https://pan.baidu.com/wap/home))和迅雷离线导出 +4. 支持百度云和迅雷离线导出 5. 全局拦截模式 6. 可配置下载成功后是否推送通知提醒 7. **下载队列列表** @@ -76,7 +76,7 @@ content-disposition-default-utf8=true - 如当前关闭了自动拦截默认,需长按**shift+cmd**并点击**取回本地**按钮即可导出下载至默认rpc服务器 #### 百度云分享页导出: -- 关闭cookie传递选项 +- 开启cookie传递选项 - 点击下载,打开文件下载窗口 - 如当前为自动拦截模式,长按**shift**并点击**普通下载**按钮即可导出下载至默认rpc服务器 - 如当前关闭了自动拦截默认,需长按**shift+cmd**并点击**普通下载**按钮即可导出下载至默认rpc服务器 diff --git a/config/index.js b/config/index.js index bc0d547..d5b3548 100644 --- a/config/index.js +++ b/config/index.js @@ -22,7 +22,7 @@ module.exports = { env: require('./prod.env'), pages, js, - vendorExclusive:['mini-toastr'], + vendorExclusive:['mini-toastr','pageScriptMessage','runInPage'], assetsRoot: path.resolve(__dirname, `${outputDir}`), assetsSubDirectory: 'static', assetsPublicPath: '', diff --git a/safari2aria.safariextension/Info.plist b/safari2aria.safariextension/Info.plist index 5f25d92..bfc5d75 100644 --- a/safari2aria.safariextension/Info.plist +++ b/safari2aria.safariextension/Info.plist @@ -13,9 +13,9 @@ CFBundleInfoDictionaryVersion 1.0 CFBundleShortVersionString - 2.7.1 + 2.8 CFBundleVersion - 2.7.1 + 2.8 Chrome Database Quota @@ -87,7 +87,7 @@ Update From Gallery Update Manifest URL - https://miniers.github.io/safari2aria/update.plist?t=2.7.1 + https://miniers.github.io/safari2aria/update.plist?t=2.8 Website https://github.com/miniers/safari2aria diff --git a/safari2aria.safariextension/global.html b/safari2aria.safariextension/global.html index 3b331f1..c652bd9 100644 --- a/safari2aria.safariextension/global.html +++ b/safari2aria.safariextension/global.html @@ -8,5 +8,5 @@
- + diff --git a/safari2aria.safariextension/options.html b/safari2aria.safariextension/options.html index 597c7c0..64e7000 100644 --- a/safari2aria.safariextension/options.html +++ b/safari2aria.safariextension/options.html @@ -8,5 +8,5 @@
- + diff --git a/safari2aria.safariextension/popover.html b/safari2aria.safariextension/popover.html index 1f5b1b7..a81adb9 100644 --- a/safari2aria.safariextension/popover.html +++ b/safari2aria.safariextension/popover.html @@ -4,9 +4,9 @@ safari2aria - +
- + diff --git a/safari2aria.safariextension/static/css/popover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css b/safari2aria.safariextension/static/css/popover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css deleted file mode 100644 index 96ad9a5..0000000 --- a/safari2aria.safariextension/static/css/popover.0a438e1ebd5ed58ab69c56b1a0b9d5f4.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:local("Material Icons"),local("MaterialIcons-Regular"),url(../icons/MaterialIcons-Regular.570eb83.woff2) format("woff2")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.radio{display:none}.icon-big:before{font-size:93px}.vux-header{position:relative;padding:3px 0;box-sizing:border-box;background-color:#35495e}.vux-header .vux-header-title,.vux-header h1{margin:0 88px;line-height:40px;text-align:center;height:40px;font-size:18px;font-weight:400;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}.vux-header .vux-header-title>span{display:inline-block}.vux-header .vux-header-left,.vux-header .vux-header-right{position:absolute;top:14px;display:block;font-size:14px;line-height:21px;color:#ccc}.vux-header .vux-header-left a,.vux-header .vux-header-left button,.vux-header .vux-header-right a,.vux-header .vux-header-right button{float:left;margin-right:8px;color:#ccc}.vux-header .vux-header-left a:active,.vux-header .vux-header-left button:active,.vux-header .vux-header-right a:active,.vux-header .vux-header-right button:active{opacity:.5}.vux-header .vux-header-left{left:18px}.vux-header .vux-header-left .vux-header-back{padding-left:16px}.vux-header .vux-header-left .left-arrow{position:absolute;width:30px;height:30px;top:-5px;left:-5px}.vux-header .vux-header-left .left-arrow:before{content:"";position:absolute;width:12px;height:12px;border:1px solid #ccc;border-width:1px 0 0 1px;-webkit-transform:rotate(315deg);transform:rotate(315deg);top:8px;left:7px}.vux-header .vux-header-right{right:15px}.vux-header .vux-header-right a,.vux-header .vux-header-right button{margin-left:8px;margin-right:0}.vux-header .vux-header-right .vux-header-more:after{content:"\2022 \2022 \2022 ";font-size:16px}.vux-header-fade-in-right-enter-active{-webkit-animation:a .5s;animation:a .5s}.vux-header-fade-in-left-enter-active{-webkit-animation:b .5s;animation:b .5s}@-webkit-keyframes a{0%{opacity:0;-webkit-transform:translateX(150px);transform:translateX(150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes a{0%{opacity:0;-webkit-transform:translateX(150px);transform:translateX(150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes b{0%{opacity:0;-webkit-transform:translateX(-150px);transform:translateX(-150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes b{0%{opacity:0;-webkit-transform:translateX(-150px);transform:translateX(-150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}.vux-blank-half:before{content:"\2002";speak:none}.vux-blank-full:before{content:"\2003";speak:none}.vux-no-group-title{margin-top:.77em}.weui-cell_access{-webkit-tap-highlight-color:rgba(0,0,0,0);color:inherit}.weui-cell_access:active{background-color:#ececec}.weui-cell_access .weui-cell__ft{padding-right:13px;position:relative}.weui-cell_access .weui-cell__ft:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:2px}.weui-cell_link{color:#586c94;font-size:14px}.weui-cell_link:first-child:before{display:block}.weui-cell_access.vux-cell-box{padding-right:13px;position:relative}.weui-cell_access.vux-cell-box:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:17px}.weui-cell_vcode{padding-top:0;padding-right:0;padding-bottom:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:44px;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1px solid #e5e5e5;line-height:44px;font-size:17px;color:#3cc51f}button.weui-vcode-btn{background-color:transparent;border-top:0;border-right:0;border-bottom:0;outline:0}.weui-vcode-btn:active{color:#52a341}.vux-x-input .vux-x-input-placeholder-right input::-webkit-input-placeholder{text-align:right}.vux-x-input .vux-x-input-placeholder-center input::-webkit-input-placeholder{text-align:center}.vux-input-icon.weui-icon-success:before,.vux-input-icon.weui-icon-warn:before,.vux-x-input .vux-input-icon{font-size:21px}.vux-x-input .weui-icon{padding-left:5px}.vux-x-input.weui-cell_vcode{padding-top:0;padding-right:0;padding-bottom:0}.vux-label-desc{font-size:14px;color:#666}.vux-x-textarea.weui-cell{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.vux-check-icon{display:inline-block}.vux-check-icon>span{line-height:23px;color:#222;vertical-align:middle}.vux-check-icon>.weui-icon-success-circle:before,.vux-check-icon>.weui-icon-success:before{color:#09bb07}.vux-flexbox{width:100%;text-align:left;display:-webkit-box;display:flex;display:-webkit-flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.vux-flexbox .vux-flexbox-item{-webkit-box-flex:1;flex:1;-webkit-flex:1;min-width:20px;width:0}.vux-flexbox .vux-flexbox-item:first-child{margin-left:0!important;margin-top:0!important}.vux-flex-col{box-orient:vertical;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.vux-flex-col>.vux-flexbox-item{width:100%}.vux-flex-row{box-direction:row;box-orient:horizontal;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.weui-btn{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;color:#fff;line-height:2.33333333;border-radius:5px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden}.weui-btn:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;box-sizing:border-box;border-radius:10px}.weui-btn_inline{display:inline-block}.weui-btn_default{color:#000;background-color:#f8f8f8}.weui-btn_default:not(.weui-btn_disabled):visited{color:#000}.weui-btn_default:not(.weui-btn_disabled):active{color:rgba(0,0,0,.6);background-color:#dedede}.weui-btn_primary{background-color:#1aad19}.weui-btn_primary:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_primary:not(.weui-btn_disabled):active{color:hsla(0,0%,100%,.6);background-color:#179b16}.weui-btn_warn{background-color:#e64340}.weui-btn_warn:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_warn:not(.weui-btn_disabled):active{color:hsla(0,0%,100%,.6);background-color:#ce3c39}.weui-btn_disabled{color:hsla(0,0%,100%,.6)}.weui-btn_disabled.weui-btn_default{color:rgba(0,0,0,.3);background-color:#f7f7f7}.weui-btn_disabled.weui-btn_primary{background-color:#9ed99d}.weui-btn_disabled.weui-btn_warn{background-color:#ec8b89}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:hsla(0,0%,100%,.6)}.weui-btn_loading.weui-btn_primary .weui-loading,.weui-btn_loading.weui-btn_warn .weui-loading{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMjAnIGhlaWdodD0nMTIwJyB2aWV3Qm94PScwIDAgMTAwIDEwMCc+PHBhdGggZmlsbD0nbm9uZScgZD0nTTAgMGgxMDB2MTAwSDB6Jy8+PHJlY3QgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjU2KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIC0zMCknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDMwIDEwNS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjQzKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg2MCA3NS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjM4KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg5MCA2NSA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjMyKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgxMjAgNTguNjYgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4yOCknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoMTUwIDU0LjAyIDY1KScvPjxyZWN0IHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyB4PSc0Ni41JyB5PSc0MCcgZmlsbD0ncmdiYSgyNTUsMjU1LDI1NSwuMjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDE4MCA1MCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjIpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKC0xNTAgNDUuOTggNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xNyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTEyMCA0MS4zNCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjE0KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtOTAgMzUgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtNjAgMjQuMDIgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4wMyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTMwIC01Ljk4IDY1KScvPjwvc3ZnPg==")}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}.weui-btn_plain-primary{color:#1aad19;border:1px solid #1aad19}.weui-btn_plain-primary:not(.weui-btn_plain-disabled):active{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:transparent}.weui-btn_plain-primary:after{border-width:0}.weui-btn_plain-default{color:#353535;border:1px solid #353535}.weui-btn_plain-default:not(.weui-btn_plain-disabled):active{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6)}.weui-btn_plain-default:after{border-width:0}.weui-btn_plain-disabled{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}button.weui-btn,input.weui-btn{width:100%;border-width:0;outline:0;-webkit-appearance:none}button.weui-btn:focus,input.weui-btn:focus{outline:0}button.weui-btn_inline,button.weui-btn_mini,input.weui-btn_inline,input.weui-btn_mini{width:auto}button.weui-btn_plain-default,button.weui-btn_plain-primary,input.weui-btn_plain-default,input.weui-btn_plain-primary{border-width:1px;background-color:transparent}.weui-btn_mini{display:inline-block;padding:0 1.32em;line-height:2.3;font-size:13px}.weui-btn+.weui-btn{margin-top:15px}.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline{margin-top:auto;margin-left:15px}.weui-btn-area{margin:1.17647059em 15px .3em}.weui-btn-area_inline{display:-webkit-box;display:-webkit-flex;display:flex}.weui-btn-area_inline .weui-btn{margin-top:auto;margin-right:15px;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn-area_inline .weui-btn:last-child{margin-right:0}.weui-cell_switch{padding-top:6px;padding-bottom:6px}.weui-switch{-webkit-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{position:relative;width:52px;height:32px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s}.weui-switch-cp__box:before,.weui-switch:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1),-webkit-transform .35s cubic-bezier(.45,1,.4,1)}.weui-switch-cp__box:after,.weui-switch:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35),-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35)}.weui-switch-cp__input:checked~.weui-switch-cp__box,.weui-switch:checked{border-color:#04be02;background-color:#04be02}.weui-switch-cp__input:checked~.weui-switch-cp__box:before,.weui-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch-cp__input:checked~.weui-switch-cp__box:after,.weui-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}.weui-cell_switch .weui-cell__ft{font-size:0}input.weui-switch[disabled]{opacity:.6}.vux-x-switch.weui-cell_switch{padding-top:6px;padding-bottom:6px}.weui-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:c 1s steps(12) infinite;animation:c 1s steps(12) infinite;background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=") no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMjAnIGhlaWdodD0nMTIwJyB2aWV3Qm94PScwIDAgMTAwIDEwMCc+PHBhdGggZmlsbD0nbm9uZScgZD0nTTAgMGgxMDB2MTAwSDB6Jy8+PHJlY3QgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjU2KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIC0zMCknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDMwIDEwNS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjQzKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg2MCA3NS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjM4KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg5MCA2NSA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjMyKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgxMjAgNTguNjYgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4yOCknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoMTUwIDU0LjAyIDY1KScvPjxyZWN0IHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyB4PSc0Ni41JyB5PSc0MCcgZmlsbD0ncmdiYSgyNTUsMjU1LDI1NSwuMjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDE4MCA1MCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjIpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKC0xNTAgNDUuOTggNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xNyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTEyMCA0MS4zNCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjE0KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtOTAgMzUgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtNjAgMjQuMDIgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4wMyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTMwIC01Ljk4IDY1KScvPjwvc3ZnPgo=")}@-webkit-keyframes c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vux-label{word-wrap:break-word;word-break:break-all}.vux-label,.weui-cell__ft .weui-loading{display:block}.weui-cell__ft.vux-cell-align-left{text-align:left}.weui-cell_access .weui-cell__ft.vux-cell-arrow-down:after{-webkit-transform:matrix(.71,.71,-.71,.71,0,0) rotate(90deg);transform:matrix(.71,.71,-.71,.71,0,0) rotate(90deg)}.weui-cell_access .weui-cell__ft.vux-cell-arrow-up:after{-webkit-transform:matrix(.71,.71,-.71,.71,0,0) rotate(-90deg);transform:matrix(.71,.71,-.71,.71,0,0) rotate(-90deg)}.vux-cell-arrow-transition:after{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.vux-cell-disabled .vux-label{color:#b2b2b2}.vux-cell-disabled.weui-cell_access .weui-cell__ft:after{border-color:#e2e2e2}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}*{margin:0;padding:0}a img{border:0}a{text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}::-webkit-input-placeholder{font-family:-apple-system-font,Helvetica Neue,sans-serif}body{background-color:#fbf9fe}.pop_wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:absolute;width:100%;height:100%;overflow:hidden}.pop_wrapper .pop_header{-webkit-box-flex:0;-webkit-flex:none;flex:none}.pop_wrapper .pop_list{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto}.pop_wrapper .pop_list .weui-cells{margin-top:0}.dialog-options .weui-dialog{width:350px;max-width:100%}.dialog-options .weui-cell__primary{padding-right:5px}.dialog-options input{text-align:right}.dialog-options .buttonGroup .weui-cells{display:-webkit-box;display:-webkit-flex;display:flex}.dialog-options .buttonGroup .weui-cells .weui-btn{margin-top:0;border-radius:0}.dialog-options .buttonGroup .weui-cells .weui-btn:after{border-radius:0}.empty{text-align:center}.globalStatus{-webkit-box-align:center;-webkit-align-items:center;align-items:center;min-height:32px}.globalStatus,.globalStatus .control{display:-webkit-box;display:-webkit-flex;display:flex}.globalStatus .control{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:0 10px}.globalStatus .control .inner{display:-webkit-box;display:-webkit-flex;display:flex}.globalStatus .control .weui-btn{padding:0 6px;line-height:1;border:none;background:#54a1b4;color:#fff;margin-top:0;margin-right:10px;margin-left:0;-webkit-box-flex:0;-webkit-flex:none;flex:none;height:24px}.globalStatus .speed{-webkit-box-flex:0;-webkit-flex:none;flex:none;font-size:12px;cursor:pointer}.globalStatus .speed,.globalStatus .speed div{display:-webkit-box;display:-webkit-flex;display:flex}.globalStatus .speed div{min-width:90px}.globalStatus .speed i{font-size:16px}.rpcServer{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.rpcServer button{background:transparent;border:none;outline:none;color:#fff;line-height:40px;font-size:18px;cursor:pointer}.vux-header .vux-popover{background-color:#55708a}.vux-header .vux-popover .vux-popover-arrow{border-bottom-color:#55708a}.vux-header .vux-popover .weui-cells{overflow:hidden;border-radius:5px;margin-top:0;background-color:#55708a;cursor:pointer}.vux-header .vux-popover .weui-cells label{cursor:pointer}.vux-header .vux-popover .weui-cells:before{display:none}.vux-header .vux-popover .weui-cells .weui-cell.acitve{background-color:#309399}.vux-header .vux-popover .weui-cells .weui-cell:hover{background-color:#425a73}.vux-header .vux-popover .weui-cells .weui-cell:before{left:0}.weui-check__label{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999em}.weui-cells_radio .weui-cell__ft{padding-left:.35em}.weui-cells_radio .weui-check:checked+.weui-icon-checked:before{display:block;content:"\EA08";color:#09bb07;font-size:16px}.weui-cells_checkbox .weui-cell__hd{padding-right:.35em}.weui-cells_checkbox .weui-icon-checked:before{content:"\EA01";color:#c9c9c9;font-size:23px;display:block}.weui-cells_checkbox .weui-check:checked+.weui-icon-checked:before{content:"\EA06";color:#09bb07}.weui-label{display:block;width:105px;word-wrap:break-word;word-break:break-all}.weui-input{width:100%;border:0;outline:0;-webkit-appearance:none;background-color:transparent;font-size:inherit;color:inherit;height:1.41176471em;line-height:1.41176471}.weui-input::-webkit-inner-spin-button,.weui-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.weui-textarea{display:block;border:0;resize:none;width:100%;color:inherit;font-size:1em;line-height:inherit;outline:0}.weui-textarea-counter{color:#b2b2b2;text-align:right}.weui-cell_warn .weui-textarea-counter{color:#e64340}.weui-toptips{display:none;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#e64340}.weui-cells_form .weui-cell__ft{font-size:0}.weui-cells_form .weui-icon-warn{display:none}.weui-cells_form input,.weui-cells_form label[for],.weui-cells_form textarea{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-cell_warn{color:#e64340}.weui-cell_warn .weui-icon-warn{display:inline-block}.weui-cell_radio>*{pointer-events:none}.vux-radio-icon{width:24px;height:24px;display:inline-block;margin-right:5px}.vux-radio-icon,.vux-radio-label{vertical-align:middle}.weui-cells_radio.vux-radio-disabled .weui-check:checked+.weui-icon-checked:before{opacity:.5}.weui-dialog{position:fixed;z-index:5000;width:80%;max-width:300px;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.weui-dialog__hd{padding:1.3em 1.6em .5em}.weui-dialog__title{font-weight:400;font-size:18px}.weui-dialog__bd{padding:0 1.6em .8em;min-height:40px;font-size:15px;line-height:1.3;word-wrap:break-word;word-break:break-all;color:#999}.weui-dialog__bd:first-child{padding:2.7em 20px 1.7em;color:#353535}.weui-dialog__ft{position:relative;line-height:48px;font-size:18px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-dialog__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-dialog__btn{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.weui-dialog__btn:active{background-color:#eee}.weui-dialog__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-dialog__btn:first-child:after{display:none}.weui-dialog__btn_default{color:#353535}.weui-dialog__btn_primary{color:#0bb20c}.weui-skin_android .weui-dialog{text-align:left;box-shadow:0 6px 30px 0 rgba(0,0,0,.1)}.weui-skin_android .weui-dialog__title{font-size:21px}.weui-skin_android .weui-dialog__hd{text-align:left}.weui-skin_android .weui-dialog__bd{color:#999;padding:.25em 1.6em 2em;font-size:17px;text-align:left}.weui-skin_android .weui-dialog__bd:first-child{padding:1.6em 1.6em 2em;color:#353535}.weui-skin_android .weui-dialog__ft{display:block;text-align:right;line-height:42px;font-size:16px;padding:0 1.6em .7em}.weui-skin_android .weui-dialog__ft:after{display:none}.weui-skin_android .weui-dialog__btn{display:inline-block;vertical-align:top;padding:0 .8em}.weui-skin_android .weui-dialog__btn:after{display:none}.weui-skin_android .weui-dialog__btn:active,.weui-skin_android .weui-dialog__btn:visited{background-color:rgba(0,0,0,.06)}.weui-skin_android .weui-dialog__btn:last-child{margin-right:-.8em}.weui-skin_android .weui-dialog__btn_default{color:gray}@media screen and (min-width:1024px){.weui-dialog{width:35%}}.vux-drawer{display:block;position:relative;top:0;left:0;width:100%;height:100%}.vux-drawer>.vux-drawer-body{height:100%;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:transform .38s ease-in-out,visibility .38s;transition:transform .38s ease-in-out,visibility .38s,-webkit-transform .38s ease-in-out}.vux-drawer>.vux-drawer-body>.drawer-mask{z-index:9999;position:absolute;top:0;left:0;right:0;bottom:0;visibility:hidden;opacity:0;-webkit-transition:opacity .38s ease-in-out,visibility .38s ease-in-out;transition:opacity .38s ease-in-out,visibility .38s ease-in-out;background-color:rgba(0,0,0,.3)}.vux-drawer>.vux-drawer-body>.vux-drawer-active{visibility:visible;opacity:1}.vux-drawer>.vux-drawer-content{background-color:#fff;position:absolute;top:0;height:100%;overflow:hidden;pointer-events:none;visibility:hidden;-webkit-transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:transform .38s ease-in-out,visibility .38s;transition:transform .38s ease-in-out,visibility .38s,-webkit-transform .38s ease-in-out;will-change:none}.vux-drawer>.drawer-left{left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.vux-drawer>.drawer-right{right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.vux-drawer>.vux-drawer-active{pointer-events:inherit;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}.vux-popover{position:absolute;left:0;top:0;background-color:#35495e;color:#fff;border-radius:3px;z-index:500}.vux-popover-arrow{position:absolute;width:0;height:0}.vux-popover-arrow-up{border-bottom:5px solid #35495e;top:-5px}.vux-popover-arrow-down,.vux-popover-arrow-up{border-left:5px solid transparent;border-right:5px solid transparent;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vux-popover-arrow-down{border-top:5px solid #35495e;bottom:-5px}.vux-popover-arrow-left{border-right:5px solid #35495e;left:-5px}.vux-popover-arrow-left,.vux-popover-arrow-right{border-top:5px solid transparent;border-bottom:5px solid transparent;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vux-popover-arrow-right{border-left:5px solid #35495e;right:-5px}.empty .vux-label{text-align:center}.download{position:relative}.download.selected{background:#95bbe2}.download .progress{position:absolute;z-index:10;height:2px;background:#55708a;left:0;bottom:0}.download .progress span{position:absolute;display:block;left:100%;color:#fff;bottom:8px;font-size:10px;-webkit-transform:translate(-50%);transform:translate(-50%);background:#999;padding:2px 3px;border-radius:100%}.download .progress span:after{content:"";position:absolute;bottom:-4px;left:50%;border-top:5px solid #999;border-left:5px solid transparent;border-right:5px solid transparent;margin-left:-5px}.download .chart{position:absolute;z-index:0;width:100%;height:100%;left:0;top:0}.download.vux-cell-box{padding:5px 8px}.download.vux-cell-box div{width:100%;padding-right:0}.download .info{position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:flex}.download .info div{width:auto}.download .info .left{-webkit-box-flex:1;-webkit-flex:1;flex:1}.download .info .right{-webkit-box-flex:0;-webkit-flex:none;flex:none;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.download .info .right .action{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.download .info .right .action i{display:block;cursor:pointer;margin-left:10px}.download .info .name{-webkit-box-flex:0;-webkit-flex:none;flex:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.download .info .status{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px}.download .info .status div{display:-webkit-box;display:-webkit-flex;display:flex}.download .info .status span{min-width:60px;-webkit-box-flex:0;-webkit-flex:none;flex:none;padding-right:10px}.download .info .status span.size{width:100px;padding-right:0;cursor:pointer}.download .info .status span.speed{padding-right:5px;width:60px;text-align:right}.download .info .status span.connections{min-width:0}.vux-tap-active{tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.vux-tap-active:active{background-color:#ececec}.weui-cells{margin-top:1.17647059em;background-color:#fff;line-height:1.41176471;font-size:17px;overflow:hidden;position:relative}.weui-cells:before{top:0;border-top:1px solid #d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-cells:after{bottom:0;border-bottom:1px solid #d9d9d9;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-cells__title{margin-top:.77em;margin-bottom:.3em;padding-left:15px;padding-right:15px;color:#999;font-size:14px}.weui-cells__title+.weui-cells{margin-top:0}.weui-cells__tips{margin-top:.3em;color:#999;padding-left:15px;padding-right:15px;font-size:14px}.weui-cell{padding:10px 15px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d9d9d9;color:#d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:15px}.weui-cell:first-child:before{display:none}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:#999}.vux-cell-box>div{padding-right:13px}.vux-cell-primary{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell.vux-cell-no-border-intent:before{left:0}.echarts{width:600px;height:400px}.vux-fade-enter-active,.vux-fade-leave-active{opacity:1;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.vux-fade-enter,.vux-fade-leave-to{opacity:0}.vux-dialog-enter-active,.vux-dialog-leave-active{opacity:1;-webkit-transition-duration:.4s;transition-duration:.4s;-webkit-transform:translate(-50%,-50%) scale(1)!important;transform:translate(-50%,-50%) scale(1)!important;-webkit-transition-property:opacity,-webkit-transform!important;transition-property:opacity,-webkit-transform!important;transition-property:transform,opacity!important;transition-property:transform,opacity,-webkit-transform!important}.vux-dialog-leave-active{-webkit-transition-duration:.3s;transition-duration:.3s}.vux-dialog-enter{opacity:0;-webkit-transform:translate(-50%,-50%) scale(1.185)!important;transform:translate(-50%,-50%) scale(1.185)!important}.vux-dialog-leave-active{opacity:0;-webkit-transform:translate(-50%,-50%) scale(.85)!important;transform:translate(-50%,-50%) scale(.85)!important}.vux-mask-enter,.vux-mask-leave-active{opacity:0}.vux-mask-enter-active,.vux-mask-leave-active{-webkit-transition:opacity .3s;transition:opacity .3s}.weui-mask{background:rgba(0,0,0,.6)}.weui-mask,.weui-mask_transparent{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0}@font-face{font-weight:400;font-style:normal;font-family:weui;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx+AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5ZvCRR/EAAASUAAAKtGhlYWQMPROtAAAA4AAAADZoaGVhCCwD+gAAALwAAAAkaG10eEJo//8AAAHUAAAASGxvY2EYqhW4AAAEbAAAACZtYXhwASEAVQAAARgAAAAgbmFtZeNcHtgAAA9IAAAB5nBvc3T6bLhLAAARMAAAAOYAAQAAA+gAAABaA+j/////A+kAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAACbZbxtfDzz1AAsD6AAAAADUm2dvAAAAANSbZ2///wAAA+kD6gAAAAgAAgAAAAAAAAABAAAAEgBJAAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPqAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+j//wPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAOoR//8AAOoB//8AAAABAAQAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAANwAAAAAAAAAEQAA6gEAAOoBAAAAAQAA6gIAAOoCAAAAAgAA6gMAAOoDAAAAAwAA6gQAAOoEAAAABAAA6gUAAOoFAAAABQAA6gYAAOoGAAAABgAA6gcAAOoHAAAABwAA6ggAAOoIAAAACAAA6gkAAOoJAAAACQAA6goAAOoKAAAACgAA6gsAAOoLAAAACwAA6gwAAOoMAAAADAAA6g0AAOoNAAAADQAA6g4AAOoOAAAADgAA6g8AAOoPAAAADwAA6hAAAOoQAAAAEAAA6hEAAOoRAAAAEQAAAAAARgCMANIBJAF4AcQCMgJgAqgC/ANIA6YD/gROBKAE9AVaAAAAAgAAAAADrwOtABQAKQAAASIHBgcGFBcWFxYyNzY3NjQnJicmAyInJicmNDc2NzYyFxYXFhQHBgcGAfV4Z2Q7PDw7ZGfwZmQ7PDw7ZGZ4bl5bNjc3Nlte215bNjc3NlteA608O2Rn8GdjOzw8O2Nn8GdkOzz8rzc1W17bXlw1Nzc1XF7bXls1NwAAAAACAAAAAAOzA7MAFwAtAAABIgcGBwYVFBcWFxYzMjc2NzY1NCcmJyYTBwYiLwEmNjsBETQ2OwEyFhURMzIWAe52Z2Q7PT07ZGd2fGpmOz4+O2ZpIXYOKA52Dg0XXQsHJgcLXRcNA7M+O2ZqfHZnZDs9PTtkZ3Z9aWY7Pv3wmhISmhIaARcICwsI/ukaAAMAAAAAA+UD5QAXACMALAAAASIHBgcGFRQXFhcWMzI3Njc2NTQnJicmAxQrASI1AzQ7ATIHJyImNDYyFhQGAe6Ecm9BRERBb3KEiXZxQkREQnF1aQIxAwgCQgMBIxIZGSQZGQPkREJxdomEcm9BRERBb3KEinVxQkT9HQICAWICAjEZIxkZIxkAAAAAAgAAAAADsQPkABkALgAAAQYHBgc2BREUFxYXFhc2NzY3NjURJBcmJyYTAQYvASY/ATYyHwEWNjclNjIfARYB9VVVQk+v/tFHPmxebGxdbT1I/tGvT0JVo/7VBASKAwMSAQUBcQEFAgESAgUBEQQD4xMYEhk3YP6sjnVlSD8cHD9IZXWOAVRgNxkSGP62/tkDA48EBBkCAVYCAQHlAQIQBAAAAAADAAAAAAOxA+QAGwAqADMAAAEGBwYHBgcGNxEUFxYXFhc2NzY3NjURJBcmJyYHMzIWFQMUBisBIicDNDYTIiY0NjIWFAYB9UFBODssO38gRz5sXmxsXW09SP7YqFBBVW80BAYMAwImBQELBh4PFhYeFRUD5A8SDhIOEikK/q2PdWRJPh0dPklkdY8BU141GRIY/AYE/sYCAwUBOgQG/kAVHxUVHxUAAAACAAAAAAPkA+QAFwAtAAABIgcGBwYVFBcWFxYzMjc2NzY1NCcmJyYTAQYiLwEmPwE2Mh8BFjI3ATYyHwEWAe6Ecm9BQ0NCbnODiXVxQkREQnF1kf6gAQUBowMDFgEFAYUCBQEBQwIFARUEA+NEQnF1iYNzbkJDQ0FvcoSJdXFCRP6j/qUBAagEBR4CAWYBAQENAgIVBAAAAAQAAAAAA68DrQAUACkAPwBDAAABIgcGBwYUFxYXFjI3Njc2NCcmJyYDIicmJyY0NzY3NjIXFhcWFAcGBwYTBQ4BLwEmBg8BBhYfARYyNwE+ASYiFzAfAQH1eGdkOzw8O2Rn8GZkOzw8O2RmeG5eWzY3NzZbXtteWzY3NzZbXmn+9gYSBmAGDwUDBQEGfQUQBgElBQELEBUBAQOtPDtkZ/BnYzs8PDtjZ/BnZDs8/K83NVte215cNTc3NVxe215bNTcCJt0FAQVJBQIGBAcRBoAGBQEhBQ8LBAEBAAABAAAAAAO7AzoAFwAAEy4BPwE+AR8BFjY3ATYWFycWFAcBBiInPQoGBwUHGgzLDCELAh0LHwsNCgr9uQoeCgGzCyEOCw0HCZMJAQoBvgkCCg0LHQv9sQsKAAAAAAIAAAAAA+UD5gAXACwAAAEiBwYHBhUUFxYXFjMyNzY3NjU0JyYnJhMHBi8BJicmNRM0NjsBMhYVExceAQHvhHJvQUNDQm5zg4l1cUJEREJxdVcQAwT6AwIEEAMCKwIDDsUCAQPlREJxdYmDc25CQ0NBb3KEiXVxQkT9VhwEAncCAgMGAXoCAwMC/q2FAgQAAAQAAAAAA68DrQADABgALQAzAAABMB8BAyIHBgcGFBcWFxYyNzY3NjQnJicmAyInJicmNDc2NzYyFxYXFhQHBgcGAyMVMzUjAuUBAfJ4Z2Q7PDw7ZGfwZmQ7PDw7ZGZ4bl5bNjc3Nlte215bNjc3NltemyT92QKDAQEBLDw7ZGfwZ2M7PDw7Y2fwZ2Q7PPyvNzVbXtteXDU3NzVcXtteWzU3AjH9JAAAAAMAAAAAA+QD5AAXACcAMAAAASIHBgcGFRQXFhcWMzI3Njc2NTQnJicmAzMyFhUDFAYrASImNQM0NhMiJjQ2MhYUBgHuhHJvQUNDQm5zg4l1cUJEREJxdZ42BAYMAwInAwMMBh8PFhYeFhYD40RCcXWJg3NuQkNDQW9yhIl1cUJE/vYGBf7AAgMDAgFABQb+NhYfFhYfFgAABAAAAAADwAPAAAgAEgAoAD0AAAEyNjQmIgYUFhcjFTMRIxUzNSMDIgcGBwYVFBYXFjMyNzY3NjU0Jy4BAyInJicmNDc2NzYyFxYXFhQHBgcGAfQYISEwISFRjzk5yTorhG5rPT99am+DdmhlPD4+PMyFbV5bNTc3NVte2l5bNTc3NVteAqAiLyIiLyI5Hf7EHBwCsT89a26Ed8w8Pj48ZWh2g29qffyjNzVbXtpeWzU3NzVbXtpeWzU3AAADAAAAAAOoA6gACwAgADUAAAEHJwcXBxc3FzcnNwMiBwYHBhQXFhcWMjc2NzY0JyYnJgMiJyYnJjQ3Njc2MhcWFxYUBwYHBgKOmpocmpocmpocmpq2dmZiOjs7OmJm7GZiOjs7OmJmdmtdWTQ2NjRZXdZdWTQ2NjRZXQKqmpocmpocmpocmpoBGTs6YmbsZmI6Ozs6YmbsZmI6O/zCNjRZXdZdWTQ2NjRZXdZdWTQ2AAMAAAAAA+kD6gAaAC8AMAAAAQYHBiMiJyYnJjQ3Njc2MhcWFxYVFAcGBwEHATI3Njc2NCcmJyYiBwYHBhQXFhcWMwKONUBCR21dWjU3NzVaXdpdWzU2GBcrASM5/eBXS0grKysrSEuuSkkqLCwqSUpXASMrFxg2NVtd2l1aNTc3NVpdbUdCQDX+3jkBGSsrSEuuSkkqLCwqSUquS0grKwAC//8AAAPoA+gAFAAwAAABIgcGBwYQFxYXFiA3Njc2ECcmJyYTFg4BIi8BBwYuATQ/AScmPgEWHwE3Nh4BBg8BAfSIdHFDRERDcXQBEHRxQ0REQ3F0SQoBFBsKoqgKGxMKqKIKARQbCqKoChsUAQqoA+hEQ3F0/vB0cUNERENxdAEQdHFDRP1jChsTCqiiCgEUGwqiqAobFAEKqKIKARQbCqIAAAIAAAAAA+QD5AAXADQAAAEiBwYHBhUUFxYXFjMyNzY3NjU0JyYnJhMUBiMFFxYUDwEGLwEuAT8BNh8BFhQPAQUyFh0BAe6Ecm9BQ0NCbnODiXVxQkREQnF1fwQC/pGDAQEVAwTsAgEC7AQEFAIBhAFwAgMD40RCcXWJg3NuQkNDQW9yhIl1cUJE/fYCAwuVAgQCFAQE0AIFAtEEBBQCBQGVCwMDJwAAAAUAAAAAA9QD0wAjACcANwBHAEgAAAERFAYjISImNREjIiY9ATQ2MyE1NDYzITIWHQEhMhYdARQGIyERIREHIgYVERQWOwEyNjURNCYjISIGFREUFjsBMjY1ETQmKwEDeyYb/XYbJkMJDQ0JAQYZEgEvExkBBgkNDQn9CQJc0QkNDQktCQ0NCf7sCQ0NCS0JDQ0JLQMi/TQbJiYbAswMCiwJDS4SGRkSLg0JLAoM/UwCtGsNCf5NCQ0NCQGzCQ0NCf5NCQ0NCQGzCQ0AAAAAEADGAAEAAAAAAAEABAAAAAEAAAAAAAIABwAEAAEAAAAAAAMABAALAAEAAAAAAAQABAAPAAEAAAAAAAUACwATAAEAAAAAAAYABAAeAAEAAAAAAAoAKwAiAAEAAAAAAAsAEwBNAAMAAQQJAAEACABgAAMAAQQJAAIADgBoAAMAAQQJAAMACAB2AAMAAQQJAAQACAB+AAMAAQQJAAUAFgCGAAMAAQQJAAYACACcAAMAAQQJAAoAVgCkAAMAAQQJAAsAJgD6d2V1aVJlZ3VsYXJ3ZXVpd2V1aVZlcnNpb24gMS4wd2V1aUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlX3N1Y2Nlc3MJc2FmZV93YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA") format("truetype")}[class*=" weui-icon-"],[class^=weui-icon-]{display:inline-block;vertical-align:middle;font:normal normal normal 14px/1 weui;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}[class*=" weui-icon-"]:before,[class^=weui-icon-]:before{display:inline-block;margin-left:.2em;margin-right:.2em}.weui-icon-circle:before{content:"\EA01"}.weui-icon-download:before{content:"\EA02"}.weui-icon-info:before{content:"\EA03"}.weui-icon-safe-success:before{content:"\EA04"}.weui-icon-safe-warn:before{content:"\EA05"}.weui-icon-success:before{content:"\EA06"}.weui-icon-success-circle:before{content:"\EA07"}.weui-icon-success-no-circle:before{content:"\EA08"}.weui-icon-waiting:before{content:"\EA09"}.weui-icon-waiting-circle:before{content:"\EA0A"}.weui-icon-warn:before{content:"\EA0B"}.weui-icon-info-circle:before{content:"\EA0C"}.weui-icon-cancel:before{content:"\EA0D"}.weui-icon-search:before{content:"\EA0E"}.weui-icon-clear:before{content:"\EA0F"}.weui-icon-back:before{content:"\EA10"}.weui-icon-delete:before{content:"\EA11"}[class*=" weui-icon_"]:before,[class^=weui-icon_]:before{margin:0}.weui-icon-success{font-size:23px;color:#09bb07}.weui-icon-waiting{font-size:23px;color:#10aeff}.weui-icon-warn{font-size:23px;color:#f43530}.weui-icon-info{font-size:23px;color:#10aeff}.weui-icon-success-circle,.weui-icon-success-no-circle{font-size:23px;color:#09bb07}.weui-icon-waiting-circle{font-size:23px;color:#10aeff}.weui-icon-circle{font-size:23px;color:#c9c9c9}.weui-icon-download,.weui-icon-info-circle{font-size:23px;color:#09bb07}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-clear,.weui-icon-search{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}.weui-toast{position:fixed;z-index:5000;width:7.6em;min-height:7.6em;top:180px;left:50%;margin-left:-3.8em;background:hsla(0,0%,7%,.7);text-align:center;border-radius:5px;color:#fff}.weui-icon_toast{margin:22px 0 0;display:block}.weui-icon_toast.weui-icon-success-no-circle:before{color:#fff;font-size:55px}.weui-icon_toast.weui-loading{margin:30px 0 0;width:38px;height:38px;vertical-align:baseline}.weui-toast__content{margin:0 0 15px}.weui-toast.vux-toast-top{top:10px}.weui-toast.vux-toast-bottom{top:auto;bottom:10px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.weui-toast.vux-toast-middle{top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.vux-slide-from-top-enter,.vux-slide-from-top-leave-active{opacity:0;-webkit-transform:translateX(-50%) translateY(-100%)!important;transform:translateX(-50%) translateY(-100%)!important}.vux-slide-from-bottom-enter,.vux-slide-from-bottom-leave-active{opacity:0;-webkit-transform:translateX(-50%) translateY(100%)!important;transform:translateX(-50%) translateY(100%)!important}.vux-slide-from-bottom-enter-active,.vux-slide-from-bottom-leave-active,.vux-slide-from-top-enter-active,.vux-slide-from-top-leave-active{-webkit-transition:all .4s cubic-bezier(.36,.66,.04,1);transition:all .4s cubic-bezier(.36,.66,.04,1)}.weui-toast{-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-left:0!important}.weui-toast.weui-toast_forbidden{color:#f76260}.weui-toast.weui-toast_forbidden .weui-toast__content{margin-top:10px}.weui-toast.weui-toast_text{min-height:0}.weui-toast_text .weui-toast__content{margin:0;padding-top:10px;padding-bottom:10px;border-radius:15px}.weui-toast__content{font-size:16px}.weui-loading_toast .weui-toast__content{margin-top:0}.weui-toast_success .weui-icon_toast:before{content:"\EA08"}.weui-toast_cancel .weui-icon_toast:before{content:"\EA0D"}.weui-toast_forbidden .weui-icon_toast.weui-icon-success-no-circle:before{content:"\EA0B";color:#f76260} \ No newline at end of file diff --git a/safari2aria.safariextension/static/css/popover.b9b1f50de82289210d58823627ecc7dd.css b/safari2aria.safariextension/static/css/popover.b9b1f50de82289210d58823627ecc7dd.css new file mode 100644 index 0000000..c385dd0 --- /dev/null +++ b/safari2aria.safariextension/static/css/popover.b9b1f50de82289210d58823627ecc7dd.css @@ -0,0 +1 @@ +@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:local("Material Icons"),local("MaterialIcons-Regular"),url(../icons/MaterialIcons-Regular.570eb83.woff2) format("woff2")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.radio{display:none}.icon-big:before{font-size:93px}.vux-header{position:relative;padding:3px 0;box-sizing:border-box;background-color:#35495e}.vux-header .vux-header-title,.vux-header h1{margin:0 88px;line-height:40px;text-align:center;height:40px;font-size:18px;font-weight:400;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}.vux-header .vux-header-title>span{display:inline-block}.vux-header .vux-header-left,.vux-header .vux-header-right{position:absolute;top:14px;display:block;font-size:14px;line-height:21px;color:#ccc}.vux-header .vux-header-left a,.vux-header .vux-header-left button,.vux-header .vux-header-right a,.vux-header .vux-header-right button{float:left;margin-right:8px;color:#ccc}.vux-header .vux-header-left a:active,.vux-header .vux-header-left button:active,.vux-header .vux-header-right a:active,.vux-header .vux-header-right button:active{opacity:.5}.vux-header .vux-header-left{left:18px}.vux-header .vux-header-left .vux-header-back{padding-left:16px}.vux-header .vux-header-left .left-arrow{position:absolute;width:30px;height:30px;top:-5px;left:-5px}.vux-header .vux-header-left .left-arrow:before{content:"";position:absolute;width:12px;height:12px;border:1px solid #ccc;border-width:1px 0 0 1px;-webkit-transform:rotate(315deg);transform:rotate(315deg);top:8px;left:7px}.vux-header .vux-header-right{right:15px}.vux-header .vux-header-right a,.vux-header .vux-header-right button{margin-left:8px;margin-right:0}.vux-header .vux-header-right .vux-header-more:after{content:"\2022 \2022 \2022 ";font-size:16px}.vux-header-fade-in-right-enter-active{-webkit-animation:a .5s;animation:a .5s}.vux-header-fade-in-left-enter-active{-webkit-animation:b .5s;animation:b .5s}@-webkit-keyframes a{0%{opacity:0;-webkit-transform:translateX(150px);transform:translateX(150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes a{0%{opacity:0;-webkit-transform:translateX(150px);transform:translateX(150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes b{0%{opacity:0;-webkit-transform:translateX(-150px);transform:translateX(-150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes b{0%{opacity:0;-webkit-transform:translateX(-150px);transform:translateX(-150px)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}.vux-blank-half:before{content:"\2002";speak:none}.vux-blank-full:before{content:"\2003";speak:none}.vux-no-group-title{margin-top:.77em}.weui-cell_access{-webkit-tap-highlight-color:rgba(0,0,0,0);color:inherit}.weui-cell_access:active{background-color:#ececec}.weui-cell_access .weui-cell__ft{padding-right:13px;position:relative}.weui-cell_access .weui-cell__ft:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:2px}.weui-cell_link{color:#586c94;font-size:14px}.weui-cell_link:first-child:before{display:block}.weui-cell_access.vux-cell-box{padding-right:13px;position:relative}.weui-cell_access.vux-cell-box:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:17px}.weui-cell_vcode{padding-top:0;padding-right:0;padding-bottom:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:44px;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1px solid #e5e5e5;line-height:44px;font-size:17px;color:#3cc51f}button.weui-vcode-btn{background-color:transparent;border-top:0;border-right:0;border-bottom:0;outline:0}.weui-vcode-btn:active{color:#52a341}.vux-x-input .vux-x-input-placeholder-right input::-webkit-input-placeholder{text-align:right}.vux-x-input .vux-x-input-placeholder-center input::-webkit-input-placeholder{text-align:center}.vux-input-icon.weui-icon-success:before,.vux-input-icon.weui-icon-warn:before,.vux-x-input .vux-input-icon{font-size:21px}.vux-x-input .weui-icon{padding-left:5px}.vux-x-input.weui-cell_vcode{padding-top:0;padding-right:0;padding-bottom:0}.vux-label-desc{font-size:14px;color:#666}.vux-x-textarea.weui-cell{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.vux-check-icon{display:inline-block}.vux-check-icon>span{line-height:23px;color:#222;vertical-align:middle}.vux-check-icon>.weui-icon-success-circle:before,.vux-check-icon>.weui-icon-success:before{color:#09bb07}.vux-flexbox{width:100%;text-align:left;display:-webkit-box;display:flex;display:-webkit-flex;box-align:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.vux-flexbox .vux-flexbox-item{-webkit-box-flex:1;flex:1;-webkit-flex:1;min-width:20px;width:0}.vux-flexbox .vux-flexbox-item:first-child{margin-left:0!important;margin-top:0!important}.vux-flex-col{box-orient:vertical;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.vux-flex-col>.vux-flexbox-item{width:100%}.vux-flex-row{box-direction:row;box-orient:horizontal;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.weui-btn{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;color:#fff;line-height:2.33333333;border-radius:5px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden}.weui-btn:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;box-sizing:border-box;border-radius:10px}.weui-btn_inline{display:inline-block}.weui-btn_default{color:#000;background-color:#f8f8f8}.weui-btn_default:not(.weui-btn_disabled):visited{color:#000}.weui-btn_default:not(.weui-btn_disabled):active{color:rgba(0,0,0,.6);background-color:#dedede}.weui-btn_primary{background-color:#1aad19}.weui-btn_primary:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_primary:not(.weui-btn_disabled):active{color:hsla(0,0%,100%,.6);background-color:#179b16}.weui-btn_warn{background-color:#e64340}.weui-btn_warn:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_warn:not(.weui-btn_disabled):active{color:hsla(0,0%,100%,.6);background-color:#ce3c39}.weui-btn_disabled{color:hsla(0,0%,100%,.6)}.weui-btn_disabled.weui-btn_default{color:rgba(0,0,0,.3);background-color:#f7f7f7}.weui-btn_disabled.weui-btn_primary{background-color:#9ed99d}.weui-btn_disabled.weui-btn_warn{background-color:#ec8b89}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:hsla(0,0%,100%,.6)}.weui-btn_loading.weui-btn_primary .weui-loading,.weui-btn_loading.weui-btn_warn .weui-loading{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMjAnIGhlaWdodD0nMTIwJyB2aWV3Qm94PScwIDAgMTAwIDEwMCc+PHBhdGggZmlsbD0nbm9uZScgZD0nTTAgMGgxMDB2MTAwSDB6Jy8+PHJlY3QgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjU2KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIC0zMCknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDMwIDEwNS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjQzKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg2MCA3NS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjM4KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg5MCA2NSA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjMyKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgxMjAgNTguNjYgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4yOCknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoMTUwIDU0LjAyIDY1KScvPjxyZWN0IHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyB4PSc0Ni41JyB5PSc0MCcgZmlsbD0ncmdiYSgyNTUsMjU1LDI1NSwuMjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDE4MCA1MCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjIpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKC0xNTAgNDUuOTggNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xNyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTEyMCA0MS4zNCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjE0KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtOTAgMzUgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtNjAgMjQuMDIgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4wMyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTMwIC01Ljk4IDY1KScvPjwvc3ZnPg==")}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}.weui-btn_plain-primary{color:#1aad19;border:1px solid #1aad19}.weui-btn_plain-primary:not(.weui-btn_plain-disabled):active{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:transparent}.weui-btn_plain-primary:after{border-width:0}.weui-btn_plain-default{color:#353535;border:1px solid #353535}.weui-btn_plain-default:not(.weui-btn_plain-disabled):active{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6)}.weui-btn_plain-default:after{border-width:0}.weui-btn_plain-disabled{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}button.weui-btn,input.weui-btn{width:100%;border-width:0;outline:0;-webkit-appearance:none}button.weui-btn:focus,input.weui-btn:focus{outline:0}button.weui-btn_inline,button.weui-btn_mini,input.weui-btn_inline,input.weui-btn_mini{width:auto}button.weui-btn_plain-default,button.weui-btn_plain-primary,input.weui-btn_plain-default,input.weui-btn_plain-primary{border-width:1px;background-color:transparent}.weui-btn_mini{display:inline-block;padding:0 1.32em;line-height:2.3;font-size:13px}.weui-btn+.weui-btn{margin-top:15px}.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline{margin-top:auto;margin-left:15px}.weui-btn-area{margin:1.17647059em 15px .3em}.weui-btn-area_inline{display:-webkit-box;display:-webkit-flex;display:flex}.weui-btn-area_inline .weui-btn{margin-top:auto;margin-right:15px;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn-area_inline .weui-btn:last-child{margin-right:0}.weui-cell_switch{padding-top:6px;padding-bottom:6px}.weui-switch{-webkit-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{position:relative;width:52px;height:32px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s}.weui-switch-cp__box:before,.weui-switch:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1),-webkit-transform .35s cubic-bezier(.45,1,.4,1)}.weui-switch-cp__box:after,.weui-switch:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35),-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35)}.weui-switch-cp__input:checked~.weui-switch-cp__box,.weui-switch:checked{border-color:#04be02;background-color:#04be02}.weui-switch-cp__input:checked~.weui-switch-cp__box:before,.weui-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch-cp__input:checked~.weui-switch-cp__box:after,.weui-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}.weui-cell_switch .weui-cell__ft{font-size:0}input.weui-switch[disabled]{opacity:.6}.vux-x-switch.weui-cell_switch{padding-top:6px;padding-bottom:6px}.weui-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:c 1s steps(12) infinite;animation:c 1s steps(12) infinite;background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=") no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMjAnIGhlaWdodD0nMTIwJyB2aWV3Qm94PScwIDAgMTAwIDEwMCc+PHBhdGggZmlsbD0nbm9uZScgZD0nTTAgMGgxMDB2MTAwSDB6Jy8+PHJlY3QgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjU2KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgwIC0zMCknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDMwIDEwNS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjQzKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg2MCA3NS45OCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjM4KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSg5MCA2NSA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjMyKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgxMjAgNTguNjYgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4yOCknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoMTUwIDU0LjAyIDY1KScvPjxyZWN0IHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyB4PSc0Ni41JyB5PSc0MCcgZmlsbD0ncmdiYSgyNTUsMjU1LDI1NSwuMjUpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKDE4MCA1MCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjIpJyByeD0nNScgcnk9JzUnIHRyYW5zZm9ybT0ncm90YXRlKC0xNTAgNDUuOTggNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xNyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTEyMCA0MS4zNCA2NSknLz48cmVjdCB3aWR0aD0nNycgaGVpZ2h0PScyMCcgeD0nNDYuNScgeT0nNDAnIGZpbGw9J3JnYmEoMjU1LDI1NSwyNTUsLjE0KScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtOTAgMzUgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4xKScgcng9JzUnIHJ5PSc1JyB0cmFuc2Zvcm09J3JvdGF0ZSgtNjAgMjQuMDIgNjUpJy8+PHJlY3Qgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHg9JzQ2LjUnIHk9JzQwJyBmaWxsPSdyZ2JhKDI1NSwyNTUsMjU1LC4wMyknIHJ4PSc1JyByeT0nNScgdHJhbnNmb3JtPSdyb3RhdGUoLTMwIC01Ljk4IDY1KScvPjwvc3ZnPgo=")}@-webkit-keyframes c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vux-label{word-wrap:break-word;word-break:break-all}.vux-label,.weui-cell__ft .weui-loading{display:block}.weui-cell__ft.vux-cell-align-left{text-align:left}.weui-cell_access .weui-cell__ft.vux-cell-arrow-down:after{-webkit-transform:matrix(.71,.71,-.71,.71,0,0) rotate(90deg);transform:matrix(.71,.71,-.71,.71,0,0) rotate(90deg)}.weui-cell_access .weui-cell__ft.vux-cell-arrow-up:after{-webkit-transform:matrix(.71,.71,-.71,.71,0,0) rotate(-90deg);transform:matrix(.71,.71,-.71,.71,0,0) rotate(-90deg)}.vux-cell-arrow-transition:after{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.vux-cell-disabled .vux-label{color:#b2b2b2}.vux-cell-disabled.weui-cell_access .weui-cell__ft:after{border-color:#e2e2e2}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}*{margin:0;padding:0}a img{border:0}a{text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}::-webkit-input-placeholder{font-family:-apple-system-font,Helvetica Neue,sans-serif}body{background-color:#fbf9fe}.pop_wrapper{position:absolute;width:100%;height:100%;overflow:hidden}.pop_wrapper .vux-drawer>.vux-drawer-body{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.pop_wrapper .pop_header{-webkit-box-flex:0;-webkit-flex:none;flex:none}.pop_wrapper .pop_list{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto}.pop_wrapper .pop_list .weui-cells{margin-top:0}.dialog-options .weui-dialog{width:350px;max-width:100%}.dialog-options .weui-cell__primary{padding-right:5px}.dialog-options input{text-align:right}.dialog-options .buttonGroup .weui-cells{display:-webkit-box;display:-webkit-flex;display:flex}.dialog-options .buttonGroup .weui-cells .weui-btn{margin-top:0;border-radius:0}.dialog-options .buttonGroup .weui-cells .weui-btn:after{border-radius:0}.empty{text-align:center}.globalStatus{-webkit-box-align:center;-webkit-align-items:center;align-items:center;min-height:32px}.globalStatus,.globalStatus .control{display:-webkit-box;display:-webkit-flex;display:flex}.globalStatus .control{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:0 10px}.globalStatus .control .inner{display:-webkit-box;display:-webkit-flex;display:flex}.globalStatus .control .weui-btn{padding:0 6px;line-height:1;border:none;background:#54a1b4;color:#fff;margin-top:0;margin-right:10px;margin-left:0;-webkit-box-flex:0;-webkit-flex:none;flex:none;height:24px}.globalStatus .speed{-webkit-box-flex:0;-webkit-flex:none;flex:none;font-size:12px;cursor:pointer}.globalStatus .speed,.globalStatus .speed div{display:-webkit-box;display:-webkit-flex;display:flex}.globalStatus .speed div{min-width:90px}.globalStatus .speed i{font-size:16px}.rpcServer{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.rpcServer button{background:transparent;border:none;outline:none;color:#fff;line-height:40px;font-size:18px;cursor:pointer}.vux-header .vux-popover{background-color:#55708a}.vux-header .vux-popover .vux-popover-arrow{border-bottom-color:#55708a}.vux-header .vux-popover .weui-cells{overflow:hidden;border-radius:5px;margin-top:0;background-color:#55708a;cursor:pointer}.vux-header .vux-popover .weui-cells label{cursor:pointer}.vux-header .vux-popover .weui-cells:before{display:none}.vux-header .vux-popover .weui-cells .weui-cell.acitve{background-color:#309399}.vux-header .vux-popover .weui-cells .weui-cell:hover{background-color:#425a73}.vux-header .vux-popover .weui-cells .weui-cell:before{left:0}.weui-check__label{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999em}.weui-cells_radio .weui-cell__ft{padding-left:.35em}.weui-cells_radio .weui-check:checked+.weui-icon-checked:before{display:block;content:"\EA08";color:#09bb07;font-size:16px}.weui-cells_checkbox .weui-cell__hd{padding-right:.35em}.weui-cells_checkbox .weui-icon-checked:before{content:"\EA01";color:#c9c9c9;font-size:23px;display:block}.weui-cells_checkbox .weui-check:checked+.weui-icon-checked:before{content:"\EA06";color:#09bb07}.weui-label{display:block;width:105px;word-wrap:break-word;word-break:break-all}.weui-input{width:100%;border:0;outline:0;-webkit-appearance:none;background-color:transparent;font-size:inherit;color:inherit;height:1.41176471em;line-height:1.41176471}.weui-input::-webkit-inner-spin-button,.weui-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.weui-textarea{display:block;border:0;resize:none;width:100%;color:inherit;font-size:1em;line-height:inherit;outline:0}.weui-textarea-counter{color:#b2b2b2;text-align:right}.weui-cell_warn .weui-textarea-counter{color:#e64340}.weui-toptips{display:none;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#e64340}.weui-cells_form .weui-cell__ft{font-size:0}.weui-cells_form .weui-icon-warn{display:none}.weui-cells_form input,.weui-cells_form label[for],.weui-cells_form textarea{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-cell_warn{color:#e64340}.weui-cell_warn .weui-icon-warn{display:inline-block}.weui-cell_radio>*{pointer-events:none}.vux-radio-icon{width:24px;height:24px;display:inline-block;margin-right:5px}.vux-radio-icon,.vux-radio-label{vertical-align:middle}.weui-cells_radio.vux-radio-disabled .weui-check:checked+.weui-icon-checked:before{opacity:.5}.weui-dialog{position:fixed;z-index:5000;width:80%;max-width:300px;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.weui-dialog__hd{padding:1.3em 1.6em .5em}.weui-dialog__title{font-weight:400;font-size:18px}.weui-dialog__bd{padding:0 1.6em .8em;min-height:40px;font-size:15px;line-height:1.3;word-wrap:break-word;word-break:break-all;color:#999}.weui-dialog__bd:first-child{padding:2.7em 20px 1.7em;color:#353535}.weui-dialog__ft{position:relative;line-height:48px;font-size:18px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-dialog__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-dialog__btn{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.weui-dialog__btn:active{background-color:#eee}.weui-dialog__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-dialog__btn:first-child:after{display:none}.weui-dialog__btn_default{color:#353535}.weui-dialog__btn_primary{color:#0bb20c}.weui-skin_android .weui-dialog{text-align:left;box-shadow:0 6px 30px 0 rgba(0,0,0,.1)}.weui-skin_android .weui-dialog__title{font-size:21px}.weui-skin_android .weui-dialog__hd{text-align:left}.weui-skin_android .weui-dialog__bd{color:#999;padding:.25em 1.6em 2em;font-size:17px;text-align:left}.weui-skin_android .weui-dialog__bd:first-child{padding:1.6em 1.6em 2em;color:#353535}.weui-skin_android .weui-dialog__ft{display:block;text-align:right;line-height:42px;font-size:16px;padding:0 1.6em .7em}.weui-skin_android .weui-dialog__ft:after{display:none}.weui-skin_android .weui-dialog__btn{display:inline-block;vertical-align:top;padding:0 .8em}.weui-skin_android .weui-dialog__btn:after{display:none}.weui-skin_android .weui-dialog__btn:active,.weui-skin_android .weui-dialog__btn:visited{background-color:rgba(0,0,0,.06)}.weui-skin_android .weui-dialog__btn:last-child{margin-right:-.8em}.weui-skin_android .weui-dialog__btn_default{color:gray}@media screen and (min-width:1024px){.weui-dialog{width:35%}}.vux-drawer{display:block;position:relative;top:0;left:0;width:100%;height:100%}.vux-drawer>.vux-drawer-body{height:100%;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:transform .38s ease-in-out,visibility .38s;transition:transform .38s ease-in-out,visibility .38s,-webkit-transform .38s ease-in-out}.vux-drawer>.vux-drawer-body>.drawer-mask{z-index:9999;position:absolute;top:0;left:0;right:0;bottom:0;visibility:hidden;opacity:0;-webkit-transition:opacity .38s ease-in-out,visibility .38s ease-in-out;transition:opacity .38s ease-in-out,visibility .38s ease-in-out;background-color:rgba(0,0,0,.3)}.vux-drawer>.vux-drawer-body>.vux-drawer-active{visibility:visible;opacity:1}.vux-drawer>.vux-drawer-content{background-color:#fff;position:absolute;top:0;height:100%;overflow:hidden;pointer-events:none;visibility:hidden;-webkit-transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:visibility .38s,-webkit-transform .38s ease-in-out;transition:transform .38s ease-in-out,visibility .38s;transition:transform .38s ease-in-out,visibility .38s,-webkit-transform .38s ease-in-out;will-change:none}.vux-drawer>.drawer-left{left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.vux-drawer>.drawer-right{right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.vux-drawer>.vux-drawer-active{pointer-events:inherit;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}.vux-popover{position:absolute;left:0;top:0;background-color:#35495e;color:#fff;border-radius:3px;z-index:500}.vux-popover-arrow{position:absolute;width:0;height:0}.vux-popover-arrow-up{border-bottom:5px solid #35495e;top:-5px}.vux-popover-arrow-down,.vux-popover-arrow-up{border-left:5px solid transparent;border-right:5px solid transparent;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vux-popover-arrow-down{border-top:5px solid #35495e;bottom:-5px}.vux-popover-arrow-left{border-right:5px solid #35495e;left:-5px}.vux-popover-arrow-left,.vux-popover-arrow-right{border-top:5px solid transparent;border-bottom:5px solid transparent;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vux-popover-arrow-right{border-left:5px solid #35495e;right:-5px}.empty .vux-label{text-align:center}.download{position:relative}.download.selected{background:#95bbe2}.download .progress{position:absolute;z-index:10;height:2px;background:#55708a;left:0;bottom:0}.download .progress span{position:absolute;display:block;left:100%;color:#fff;bottom:8px;font-size:10px;-webkit-transform:translate(-50%);transform:translate(-50%);background:#999;padding:2px 3px;border-radius:100%}.download .progress span:after{content:"";position:absolute;bottom:-4px;left:50%;border-top:5px solid #999;border-left:5px solid transparent;border-right:5px solid transparent;margin-left:-5px}.download .chart{position:absolute;z-index:0;width:100%;height:100%;left:0;top:0}.download.vux-cell-box{padding:5px 8px}.download.vux-cell-box div{width:100%;padding-right:0}.download .info{position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:flex}.download .info div{width:auto}.download .info .left{-webkit-box-flex:1;-webkit-flex:1;flex:1}.download .info .right{-webkit-box-flex:0;-webkit-flex:none;flex:none;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.download .info .right .action{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.download .info .right .action i{display:block;cursor:pointer;margin-left:10px}.download .info .name{-webkit-box-flex:0;-webkit-flex:none;flex:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.download .info .status{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px}.download .info .status div{display:-webkit-box;display:-webkit-flex;display:flex}.download .info .status span{min-width:60px;-webkit-box-flex:0;-webkit-flex:none;flex:none;padding-right:10px}.download .info .status span.size{width:100px;padding-right:0;cursor:pointer}.download .info .status span.speed{padding-right:5px;width:60px;text-align:right}.download .info .status span.connections{min-width:0}.vux-tap-active{tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.vux-tap-active:active{background-color:#ececec}.weui-cells{margin-top:1.17647059em;background-color:#fff;line-height:1.41176471;font-size:17px;overflow:hidden;position:relative}.weui-cells:before{top:0;border-top:1px solid #d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-cells:after{bottom:0;border-bottom:1px solid #d9d9d9;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-cells__title{margin-top:.77em;margin-bottom:.3em;padding-left:15px;padding-right:15px;color:#999;font-size:14px}.weui-cells__title+.weui-cells{margin-top:0}.weui-cells__tips{margin-top:.3em;color:#999;padding-left:15px;padding-right:15px;font-size:14px}.weui-cell{padding:10px 15px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d9d9d9;color:#d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:15px}.weui-cell:first-child:before{display:none}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:#999}.vux-cell-box>div{padding-right:13px}.vux-cell-primary{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell.vux-cell-no-border-intent:before{left:0}.echarts{width:600px;height:400px}.vux-fade-enter-active,.vux-fade-leave-active{opacity:1;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.vux-fade-enter,.vux-fade-leave-to{opacity:0}.vux-dialog-enter-active,.vux-dialog-leave-active{opacity:1;-webkit-transition-duration:.4s;transition-duration:.4s;-webkit-transform:translate(-50%,-50%) scale(1)!important;transform:translate(-50%,-50%) scale(1)!important;-webkit-transition-property:opacity,-webkit-transform!important;transition-property:opacity,-webkit-transform!important;transition-property:transform,opacity!important;transition-property:transform,opacity,-webkit-transform!important}.vux-dialog-leave-active{-webkit-transition-duration:.3s;transition-duration:.3s}.vux-dialog-enter{opacity:0;-webkit-transform:translate(-50%,-50%) scale(1.185)!important;transform:translate(-50%,-50%) scale(1.185)!important}.vux-dialog-leave-active{opacity:0;-webkit-transform:translate(-50%,-50%) scale(.85)!important;transform:translate(-50%,-50%) scale(.85)!important}.vux-mask-enter,.vux-mask-leave-active{opacity:0}.vux-mask-enter-active,.vux-mask-leave-active{-webkit-transition:opacity .3s;transition:opacity .3s}.weui-mask{background:rgba(0,0,0,.6)}.weui-mask,.weui-mask_transparent{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0}@font-face{font-weight:400;font-style:normal;font-family:weui;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx+AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5ZvCRR/EAAASUAAAKtGhlYWQMPROtAAAA4AAAADZoaGVhCCwD+gAAALwAAAAkaG10eEJo//8AAAHUAAAASGxvY2EYqhW4AAAEbAAAACZtYXhwASEAVQAAARgAAAAgbmFtZeNcHtgAAA9IAAAB5nBvc3T6bLhLAAARMAAAAOYAAQAAA+gAAABaA+j/////A+kAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAACbZbxtfDzz1AAsD6AAAAADUm2dvAAAAANSbZ2///wAAA+kD6gAAAAgAAgAAAAAAAAABAAAAEgBJAAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPqAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+j//wPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAOoR//8AAOoB//8AAAABAAQAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAANwAAAAAAAAAEQAA6gEAAOoBAAAAAQAA6gIAAOoCAAAAAgAA6gMAAOoDAAAAAwAA6gQAAOoEAAAABAAA6gUAAOoFAAAABQAA6gYAAOoGAAAABgAA6gcAAOoHAAAABwAA6ggAAOoIAAAACAAA6gkAAOoJAAAACQAA6goAAOoKAAAACgAA6gsAAOoLAAAACwAA6gwAAOoMAAAADAAA6g0AAOoNAAAADQAA6g4AAOoOAAAADgAA6g8AAOoPAAAADwAA6hAAAOoQAAAAEAAA6hEAAOoRAAAAEQAAAAAARgCMANIBJAF4AcQCMgJgAqgC/ANIA6YD/gROBKAE9AVaAAAAAgAAAAADrwOtABQAKQAAASIHBgcGFBcWFxYyNzY3NjQnJicmAyInJicmNDc2NzYyFxYXFhQHBgcGAfV4Z2Q7PDw7ZGfwZmQ7PDw7ZGZ4bl5bNjc3Nlte215bNjc3NlteA608O2Rn8GdjOzw8O2Nn8GdkOzz8rzc1W17bXlw1Nzc1XF7bXls1NwAAAAACAAAAAAOzA7MAFwAtAAABIgcGBwYVFBcWFxYzMjc2NzY1NCcmJyYTBwYiLwEmNjsBETQ2OwEyFhURMzIWAe52Z2Q7PT07ZGd2fGpmOz4+O2ZpIXYOKA52Dg0XXQsHJgcLXRcNA7M+O2ZqfHZnZDs9PTtkZ3Z9aWY7Pv3wmhISmhIaARcICwsI/ukaAAMAAAAAA+UD5QAXACMALAAAASIHBgcGFRQXFhcWMzI3Njc2NTQnJicmAxQrASI1AzQ7ATIHJyImNDYyFhQGAe6Ecm9BRERBb3KEiXZxQkREQnF1aQIxAwgCQgMBIxIZGSQZGQPkREJxdomEcm9BRERBb3KEinVxQkT9HQICAWICAjEZIxkZIxkAAAAAAgAAAAADsQPkABkALgAAAQYHBgc2BREUFxYXFhc2NzY3NjURJBcmJyYTAQYvASY/ATYyHwEWNjclNjIfARYB9VVVQk+v/tFHPmxebGxdbT1I/tGvT0JVo/7VBASKAwMSAQUBcQEFAgESAgUBEQQD4xMYEhk3YP6sjnVlSD8cHD9IZXWOAVRgNxkSGP62/tkDA48EBBkCAVYCAQHlAQIQBAAAAAADAAAAAAOxA+QAGwAqADMAAAEGBwYHBgcGNxEUFxYXFhc2NzY3NjURJBcmJyYHMzIWFQMUBisBIicDNDYTIiY0NjIWFAYB9UFBODssO38gRz5sXmxsXW09SP7YqFBBVW80BAYMAwImBQELBh4PFhYeFRUD5A8SDhIOEikK/q2PdWRJPh0dPklkdY8BU141GRIY/AYE/sYCAwUBOgQG/kAVHxUVHxUAAAACAAAAAAPkA+QAFwAtAAABIgcGBwYVFBcWFxYzMjc2NzY1NCcmJyYTAQYiLwEmPwE2Mh8BFjI3ATYyHwEWAe6Ecm9BQ0NCbnODiXVxQkREQnF1kf6gAQUBowMDFgEFAYUCBQEBQwIFARUEA+NEQnF1iYNzbkJDQ0FvcoSJdXFCRP6j/qUBAagEBR4CAWYBAQENAgIVBAAAAAQAAAAAA68DrQAUACkAPwBDAAABIgcGBwYUFxYXFjI3Njc2NCcmJyYDIicmJyY0NzY3NjIXFhcWFAcGBwYTBQ4BLwEmBg8BBhYfARYyNwE+ASYiFzAfAQH1eGdkOzw8O2Rn8GZkOzw8O2RmeG5eWzY3NzZbXtteWzY3NzZbXmn+9gYSBmAGDwUDBQEGfQUQBgElBQELEBUBAQOtPDtkZ/BnYzs8PDtjZ/BnZDs8/K83NVte215cNTc3NVxe215bNTcCJt0FAQVJBQIGBAcRBoAGBQEhBQ8LBAEBAAABAAAAAAO7AzoAFwAAEy4BPwE+AR8BFjY3ATYWFycWFAcBBiInPQoGBwUHGgzLDCELAh0LHwsNCgr9uQoeCgGzCyEOCw0HCZMJAQoBvgkCCg0LHQv9sQsKAAAAAAIAAAAAA+UD5gAXACwAAAEiBwYHBhUUFxYXFjMyNzY3NjU0JyYnJhMHBi8BJicmNRM0NjsBMhYVExceAQHvhHJvQUNDQm5zg4l1cUJEREJxdVcQAwT6AwIEEAMCKwIDDsUCAQPlREJxdYmDc25CQ0NBb3KEiXVxQkT9VhwEAncCAgMGAXoCAwMC/q2FAgQAAAQAAAAAA68DrQADABgALQAzAAABMB8BAyIHBgcGFBcWFxYyNzY3NjQnJicmAyInJicmNDc2NzYyFxYXFhQHBgcGAyMVMzUjAuUBAfJ4Z2Q7PDw7ZGfwZmQ7PDw7ZGZ4bl5bNjc3Nlte215bNjc3NltemyT92QKDAQEBLDw7ZGfwZ2M7PDw7Y2fwZ2Q7PPyvNzVbXtteXDU3NzVcXtteWzU3AjH9JAAAAAMAAAAAA+QD5AAXACcAMAAAASIHBgcGFRQXFhcWMzI3Njc2NTQnJicmAzMyFhUDFAYrASImNQM0NhMiJjQ2MhYUBgHuhHJvQUNDQm5zg4l1cUJEREJxdZ42BAYMAwInAwMMBh8PFhYeFhYD40RCcXWJg3NuQkNDQW9yhIl1cUJE/vYGBf7AAgMDAgFABQb+NhYfFhYfFgAABAAAAAADwAPAAAgAEgAoAD0AAAEyNjQmIgYUFhcjFTMRIxUzNSMDIgcGBwYVFBYXFjMyNzY3NjU0Jy4BAyInJicmNDc2NzYyFxYXFhQHBgcGAfQYISEwISFRjzk5yTorhG5rPT99am+DdmhlPD4+PMyFbV5bNTc3NVte2l5bNTc3NVteAqAiLyIiLyI5Hf7EHBwCsT89a26Ed8w8Pj48ZWh2g29qffyjNzVbXtpeWzU3NzVbXtpeWzU3AAADAAAAAAOoA6gACwAgADUAAAEHJwcXBxc3FzcnNwMiBwYHBhQXFhcWMjc2NzY0JyYnJgMiJyYnJjQ3Njc2MhcWFxYUBwYHBgKOmpocmpocmpocmpq2dmZiOjs7OmJm7GZiOjs7OmJmdmtdWTQ2NjRZXdZdWTQ2NjRZXQKqmpocmpocmpocmpoBGTs6YmbsZmI6Ozs6YmbsZmI6O/zCNjRZXdZdWTQ2NjRZXdZdWTQ2AAMAAAAAA+kD6gAaAC8AMAAAAQYHBiMiJyYnJjQ3Njc2MhcWFxYVFAcGBwEHATI3Njc2NCcmJyYiBwYHBhQXFhcWMwKONUBCR21dWjU3NzVaXdpdWzU2GBcrASM5/eBXS0grKysrSEuuSkkqLCwqSUpXASMrFxg2NVtd2l1aNTc3NVpdbUdCQDX+3jkBGSsrSEuuSkkqLCwqSUquS0grKwAC//8AAAPoA+gAFAAwAAABIgcGBwYQFxYXFiA3Njc2ECcmJyYTFg4BIi8BBwYuATQ/AScmPgEWHwE3Nh4BBg8BAfSIdHFDRERDcXQBEHRxQ0REQ3F0SQoBFBsKoqgKGxMKqKIKARQbCqKoChsUAQqoA+hEQ3F0/vB0cUNERENxdAEQdHFDRP1jChsTCqiiCgEUGwqiqAobFAEKqKIKARQbCqIAAAIAAAAAA+QD5AAXADQAAAEiBwYHBhUUFxYXFjMyNzY3NjU0JyYnJhMUBiMFFxYUDwEGLwEuAT8BNh8BFhQPAQUyFh0BAe6Ecm9BQ0NCbnODiXVxQkREQnF1fwQC/pGDAQEVAwTsAgEC7AQEFAIBhAFwAgMD40RCcXWJg3NuQkNDQW9yhIl1cUJE/fYCAwuVAgQCFAQE0AIFAtEEBBQCBQGVCwMDJwAAAAUAAAAAA9QD0wAjACcANwBHAEgAAAERFAYjISImNREjIiY9ATQ2MyE1NDYzITIWHQEhMhYdARQGIyERIREHIgYVERQWOwEyNjURNCYjISIGFREUFjsBMjY1ETQmKwEDeyYb/XYbJkMJDQ0JAQYZEgEvExkBBgkNDQn9CQJc0QkNDQktCQ0NCf7sCQ0NCS0JDQ0JLQMi/TQbJiYbAswMCiwJDS4SGRkSLg0JLAoM/UwCtGsNCf5NCQ0NCQGzCQ0NCf5NCQ0NCQGzCQ0AAAAAEADGAAEAAAAAAAEABAAAAAEAAAAAAAIABwAEAAEAAAAAAAMABAALAAEAAAAAAAQABAAPAAEAAAAAAAUACwATAAEAAAAAAAYABAAeAAEAAAAAAAoAKwAiAAEAAAAAAAsAEwBNAAMAAQQJAAEACABgAAMAAQQJAAIADgBoAAMAAQQJAAMACAB2AAMAAQQJAAQACAB+AAMAAQQJAAUAFgCGAAMAAQQJAAYACACcAAMAAQQJAAoAVgCkAAMAAQQJAAsAJgD6d2V1aVJlZ3VsYXJ3ZXVpd2V1aVZlcnNpb24gMS4wd2V1aUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlX3N1Y2Nlc3MJc2FmZV93YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA") format("truetype")}[class*=" weui-icon-"],[class^=weui-icon-]{display:inline-block;vertical-align:middle;font:normal normal normal 14px/1 weui;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}[class*=" weui-icon-"]:before,[class^=weui-icon-]:before{display:inline-block;margin-left:.2em;margin-right:.2em}.weui-icon-circle:before{content:"\EA01"}.weui-icon-download:before{content:"\EA02"}.weui-icon-info:before{content:"\EA03"}.weui-icon-safe-success:before{content:"\EA04"}.weui-icon-safe-warn:before{content:"\EA05"}.weui-icon-success:before{content:"\EA06"}.weui-icon-success-circle:before{content:"\EA07"}.weui-icon-success-no-circle:before{content:"\EA08"}.weui-icon-waiting:before{content:"\EA09"}.weui-icon-waiting-circle:before{content:"\EA0A"}.weui-icon-warn:before{content:"\EA0B"}.weui-icon-info-circle:before{content:"\EA0C"}.weui-icon-cancel:before{content:"\EA0D"}.weui-icon-search:before{content:"\EA0E"}.weui-icon-clear:before{content:"\EA0F"}.weui-icon-back:before{content:"\EA10"}.weui-icon-delete:before{content:"\EA11"}[class*=" weui-icon_"]:before,[class^=weui-icon_]:before{margin:0}.weui-icon-success{font-size:23px;color:#09bb07}.weui-icon-waiting{font-size:23px;color:#10aeff}.weui-icon-warn{font-size:23px;color:#f43530}.weui-icon-info{font-size:23px;color:#10aeff}.weui-icon-success-circle,.weui-icon-success-no-circle{font-size:23px;color:#09bb07}.weui-icon-waiting-circle{font-size:23px;color:#10aeff}.weui-icon-circle{font-size:23px;color:#c9c9c9}.weui-icon-download,.weui-icon-info-circle{font-size:23px;color:#09bb07}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-clear,.weui-icon-search{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}.weui-toast{position:fixed;z-index:5000;width:7.6em;min-height:7.6em;top:180px;left:50%;margin-left:-3.8em;background:hsla(0,0%,7%,.7);text-align:center;border-radius:5px;color:#fff}.weui-icon_toast{margin:22px 0 0;display:block}.weui-icon_toast.weui-icon-success-no-circle:before{color:#fff;font-size:55px}.weui-icon_toast.weui-loading{margin:30px 0 0;width:38px;height:38px;vertical-align:baseline}.weui-toast__content{margin:0 0 15px}.weui-toast.vux-toast-top{top:10px}.weui-toast.vux-toast-bottom{top:auto;bottom:10px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.weui-toast.vux-toast-middle{top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.vux-slide-from-top-enter,.vux-slide-from-top-leave-active{opacity:0;-webkit-transform:translateX(-50%) translateY(-100%)!important;transform:translateX(-50%) translateY(-100%)!important}.vux-slide-from-bottom-enter,.vux-slide-from-bottom-leave-active{opacity:0;-webkit-transform:translateX(-50%) translateY(100%)!important;transform:translateX(-50%) translateY(100%)!important}.vux-slide-from-bottom-enter-active,.vux-slide-from-bottom-leave-active,.vux-slide-from-top-enter-active,.vux-slide-from-top-leave-active{-webkit-transition:all .4s cubic-bezier(.36,.66,.04,1);transition:all .4s cubic-bezier(.36,.66,.04,1)}.weui-toast{-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-left:0!important}.weui-toast.weui-toast_forbidden{color:#f76260}.weui-toast.weui-toast_forbidden .weui-toast__content{margin-top:10px}.weui-toast.weui-toast_text{min-height:0}.weui-toast_text .weui-toast__content{margin:0;padding-top:10px;padding-bottom:10px;border-radius:15px}.weui-toast__content{font-size:16px}.weui-loading_toast .weui-toast__content{margin-top:0}.weui-toast_success .weui-icon_toast:before{content:"\EA08"}.weui-toast_cancel .weui-icon_toast:before{content:"\EA0D"}.weui-toast_forbidden .weui-icon_toast.weui-icon-success-no-circle:before{content:"\EA0B";color:#f76260} \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/endscript.js b/safari2aria.safariextension/static/js/endscript.js index 3c8df7d..a1a4804 100644 --- a/safari2aria.safariextension/static/js/endscript.js +++ b/safari2aria.safariextension/static/js/endscript.js @@ -1 +1 @@ -webpackJsonp([3],{203:function(e,t,n){"use strict";function o(e,t){var n=0;return new window.Promise(function(o,i){var a=function(e){var a=document.querySelector(e);return a&&t&&"none"==a.style.display?++n>20&&(i(!1),!0):(o(a),!0)},s=setInterval(function(){a(e)&&clearInterval(s)},500)})}function i(e,t){e.value=t;var n=/^magnet|torrent$/.test(e.value);$("#newoffline-dialog").find("span:contains('确定')[class='text']").click(),n&&o("#offlinebtlist-dialog",!0).then(function(e){"文件名"==$(".content-title-name").html()&&$("a.checked-all")[0].click(),e.querySelectorAll(".dialog-footer>.g-button")[1].click()});!function e(){o("#offlinelist-dialog",!0).then(function(){i()}),o("#dialog1",!0).then(function(t){var n=t.find(".input-code"),o=void 0;n.focus(),o=setInterval(function(){4==n.val().length&&(clearInterval(o),$("#dialog1").find("span:contains('确定')[class='text']").click(),e())},200)})}()}t.a=function(e){document.querySelector(".g-button[data-button-id=b13]").click(),o("#_disk_id_2").then(function(e){return e.click(),o("#share-offline-link")}).then(function(t){i(t,e)})}},209:function(e,t,n){var o,i,a;!function(n,s){i=[],o=s,void 0!==(a="function"==typeof o?o.apply(t,i):o)&&(e.exports=a)}(0,function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};return function(){function n(e,t){var o=this;e.style.opacity&&e.style.opacity>.05?e.style.opacity=e.style.opacity-.05:e.style.opacity&&e.style.opacity<=.1?e.parentNode&&(e.parentNode.removeChild(e),t&&t()):e.style.opacity=.9,setTimeout(function(){return n.apply(o,[e,t])},1e3/30)}function o(e,n,i){n=n||{},i=i||"";for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];s&&"object"===(void 0===s?"undefined":t(s))&&!(s instanceof Date||s instanceof RegExp)?o(s,n,i+a+" "):n[i]&&"object"===t(n[i])?n[i][a]=s:(n[i]={},n[i][a]=s)}return n}function i(e){var t=o(e),n=JSON.stringify(t,null,2);return n=n.replace(/"([^"]*)": \{/g,"$1 {").replace(/"([^"]*)"/g,"$1").replace(/(\w*-?\w*): ([\w\d .#]*),?/g,"$1: $2;").replace(/},/g,"}\n").replace(/ &([.:])/g,"$1"),n=n.substr(1,n.lastIndexOf("}")-1)}function a(e){var t=document.head||document.getElementsByTagName("head")[0],n=s("style");n.id="mini-toastr-styles",n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div";return document.createElement(e)}function r(e,t,n){var o=s(n.icons[t].nodeType),i=n.icons[t].attrs;for(var a in i)i.hasOwnProperty(a)&&o.setAttribute(a,i[a]);e.appendChild(o)}function c(e,t,n){var o=s();o.className=n,o.appendChild(document.createTextNode(t)),e.appendChild(o)}var u,d;if("undefined"==typeof window)return{init:function(){}};var l={error:"error",warn:"warn",success:"success",info:"info"},f={container:"mini-toastr",notification:"mini-toastr__notification",title:"mini-toastr-notification__title",icon:"mini-toastr-notification__icon",message:"mini-toastr-notification__message",error:"-"+l.error,warn:"-"+l.warn,success:"-"+l.success,info:"-"+l.info},p={types:l,animation:n,timeout:3e3,icons:{},appendTarget:document.body,node:s(),style:(d={},e(d,"."+f.container,{position:"fixed","z-index":99999,right:"12px",top:"12px"}),e(d,"."+f.notification,(u={cursor:"pointer",padding:"12px 18px",margin:"0 0 6px 0","background-color":"#000",opacity:.8,color:"#fff","border-radius":"3px","box-shadow":"#3c3b3b 0 0 12px",width:"300px"},e(u,"&."+f.error,{"background-color":"#D5122B"}),e(u,"&."+f.warn,{"background-color":"#F5AA1E"}),e(u,"&."+f.success,{"background-color":"#7AC13E"}),e(u,"&."+f.info,{"background-color":"#4196E1"}),e(u,"&:hover",{opacity:1,"box-shadow":"#000 0 0 12px"}),u)),e(d,"."+f.title,{"font-weight":"500"}),e(d,"."+f.message,{display:"inline-block","vertical-align":"middle",width:"240px",padding:"0 12px"}),d)},m={config:p,showMessage:function(e,t,n,o,i,a){var u={};Object.assign(u,this.config),Object.assign(u,a);var d=s();return d.className=f.notification+" "+f[n],d.onclick=function(){u.animation(d,null)},t&&c(d,t,f.title),u.icons[n]&&r(d,n,u),e&&c(d,e,f.message),u.node.insertBefore(d,u.node.firstChild),setTimeout(function(){return u.animation(d,i)},o||u.timeout),i&&i(),this},init:function(e){var t=this,n={};return Object.assign(n,p),Object.assign(n,e),this.config=n,a(i(n.style)),n.node.id=""+f.container,n.node.className=""+f.container,n.appendTarget.appendChild(n.node),Object.keys(n.types).forEach(function(e){m[n.types[e]]=function(t,o,i,a,s){return this.showMessage(t,o,n.types[e],i,a,s),this}.bind(t)}),this},setIcon:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"i",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];n.class=n.class?n.class+" "+f.icon:f.icon,this.config.icons[e]={nodeType:t,attrs:n}}};return m}()})},213:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(209),i=n.n(o),a=n(203),s=n(56);window.top===window&&function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f.language||navigator.language;return m[n]&&m[n][e]?[m[n][e]," "].join(""):t.notfailback?"":[e," "].join("")}function t(){var e=window.getSelection().toString();return e.match(/^https?/)||e.match(/magnet:/)?e:null}function o(e){var t=null;return"BODY"===e.tagName?t=null:"IMG"===e.tagName&&e.src?t=e.src:e.href?t=e.href:e.parentNode&&(t=o(e.parentNode)),t}function r(t){"changeRpc"===t.name&&i.a.success(e("Success switch the default download service to")+t.message),"currentRpc"===t.name&&i.a.success(e("The current download service is")+t.message),"showMassage"===t.name&&i.a[t.message.action||"success"](t.message.text,t.message.title),"baiduLixian"===t.name&&location.href.match(/^https?:\/\/pan\.baidu\.com/)&&n.i(a.a)(t.message.url),"sendToEndScript"===t.name&&(f=t.message||{},u(),safari.self.tab.dispatchMessage("documentReady",{cookie:document.cookie})),t.message&&t.message.hasCb&&safari.self.tab.dispatchMessage([t.name,"cb"].join("_"),{cookie:document.cookie})}function c(e){var n=[o(e.target)||t(),document.location.href,document.cookie];safari.self.tab.setContextMenuEventUserInfo(e,n)}function u(){if(l)return void(f.catchIframe||l.disconnect());f.catchIframe&&(l=new MutationObserver(function(e){e.some(function(e){return!("IFRAME"!==e.target.tagName||"attributes"!==e.type||"src"!==e.attributeName||!n.i(s.a)(e.target.src,f,p))&&(!e.target.src.match(/^https:\/\/127\.0\.0\.1\//)&&(safari.self.tab.dispatchMessage("downloadFromIframe",{url:e.target.src,cookie:document.cookie}),e.target.src="https://127.0.0.1/",!1))})}),l.observe(document.body,{attributes:!0,attributeFilter:["src"],attributeOldValue:!0,characterData:!1,characterDataOldValue:!1,childList:!1,subtree:!0}))}function d(){p.isCommandPressed=!!p[91],p.isShiftPressd=!!p[16],p.isOptionPressd=!!p[18],safari.self.tab.dispatchMessage("keyPress",{keyPressed:p})}var l,f,p={},m={"zh-CN":{"Success switch the default download service to":"成功切换默认下载服务至","The current download service is":"当前下载服务为"}};document.onkeydown=function(e){var t=e.charCode?e.charCode:e.keyCode;p[t]=!0,d()},document.onkeyup=function(e){var t=e.charCode?e.charCode:e.keyCode;delete p[t],d()},window.onblur=function(e){p={},d()},function(){i.a.init({appendTarget:document.body,timeout:5e3}),safari.self.tab.dispatchMessage("getConfig"),document.addEventListener("contextmenu",c,!1),safari.self.addEventListener("message",r,!1),d()}()}()},56:function(e,t,n){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&!n[82]&&t.enableTypefiles?!n.isCommandPressed:n.isCommandPressed){if(e.match(/magnet:[^\\"]+/))return!0;var o=e.substr(e.lastIndexOf(".")+1);o=o.toLowerCase();for(var i=t.filetypes?t.filetypes.split(" "):[],a=0;a20&&(i(!1),!0):(o(a),!0)},c=setInterval(function(){a(e)&&clearInterval(c)},500)})}function i(e,t){e.value=t;var n=/^magnet|torrent$/.test(e.value);$("#newoffline-dialog").find("span:contains('确定')[class='text']").click(),n&&o("#offlinebtlist-dialog",!0).then(function(e){"文件名"==$(".content-title-name").html()&&$("a.checked-all")[0].click(),e.querySelectorAll(".dialog-footer>.g-button")[1].click()});!function e(){o("#offlinelist-dialog",!0).then(function(){i()}),o("#dialog1",!0).then(function(t){var n=t.find(".input-code"),o=void 0;n.focus(),o=setInterval(function(){4==n.val().length&&(clearInterval(o),$("#dialog1").find("span:contains('确定')[class='text']").click(),e())},200)})}()}t.a=function(e){document.querySelector(".g-button[data-button-id=b13]").click(),o("#_disk_id_2").then(function(e){return e.click(),o("#share-offline-link")}).then(function(t){i(t,e)})}},153:function(e,t,n){var o,i,a;!function(n,c){i=[],o=c,void 0!==(a="function"==typeof o?o.apply(t,i):o)&&(e.exports=a)}(0,function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};return function(){function n(e,t){var o=this;e.style.opacity&&e.style.opacity>.05?e.style.opacity=e.style.opacity-.05:e.style.opacity&&e.style.opacity<=.1?e.parentNode&&(e.parentNode.removeChild(e),t&&t()):e.style.opacity=.9,setTimeout(function(){return n.apply(o,[e,t])},1e3/30)}function o(e,n,i){n=n||{},i=i||"";for(var a in e)if(e.hasOwnProperty(a)){var c=e[a];c&&"object"===(void 0===c?"undefined":t(c))&&!(c instanceof Date||c instanceof RegExp)?o(c,n,i+a+" "):n[i]&&"object"===t(n[i])?n[i][a]=c:(n[i]={},n[i][a]=c)}return n}function i(e){var t=o(e),n=JSON.stringify(t,null,2);return n=n.replace(/"([^"]*)": \{/g,"$1 {").replace(/"([^"]*)"/g,"$1").replace(/(\w*-?\w*): ([\w\d .#]*),?/g,"$1: $2;").replace(/},/g,"}\n").replace(/ &([.:])/g,"$1"),n=n.substr(1,n.lastIndexOf("}")-1)}function a(e){var t=document.head||document.getElementsByTagName("head")[0],n=c("style");n.id="mini-toastr-styles",n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div";return document.createElement(e)}function s(e,t,n){var o=c(n.icons[t].nodeType),i=n.icons[t].attrs;for(var a in i)i.hasOwnProperty(a)&&o.setAttribute(a,i[a]);e.appendChild(o)}function r(e,t,n){var o=c();o.className=n,o.appendChild(document.createTextNode(t)),e.appendChild(o)}var u,d;if("undefined"==typeof window)return{init:function(){}};var l={error:"error",warn:"warn",success:"success",info:"info"},f={container:"mini-toastr",notification:"mini-toastr__notification",title:"mini-toastr-notification__title",icon:"mini-toastr-notification__icon",message:"mini-toastr-notification__message",error:"-"+l.error,warn:"-"+l.warn,success:"-"+l.success,info:"-"+l.info},p={types:l,animation:n,timeout:3e3,icons:{},appendTarget:document.body,node:c(),style:(d={},e(d,"."+f.container,{position:"fixed","z-index":99999,right:"12px",top:"12px"}),e(d,"."+f.notification,(u={cursor:"pointer",padding:"12px 18px",margin:"0 0 6px 0","background-color":"#000",opacity:.8,color:"#fff","border-radius":"3px","box-shadow":"#3c3b3b 0 0 12px",width:"300px"},e(u,"&."+f.error,{"background-color":"#D5122B"}),e(u,"&."+f.warn,{"background-color":"#F5AA1E"}),e(u,"&."+f.success,{"background-color":"#7AC13E"}),e(u,"&."+f.info,{"background-color":"#4196E1"}),e(u,"&:hover",{opacity:1,"box-shadow":"#000 0 0 12px"}),u)),e(d,"."+f.title,{"font-weight":"500"}),e(d,"."+f.message,{display:"inline-block","vertical-align":"middle",width:"240px",padding:"0 12px"}),d)},m={config:p,showMessage:function(e,t,n,o,i,a){var u={};Object.assign(u,this.config),Object.assign(u,a);var d=c();return d.className=f.notification+" "+f[n],d.onclick=function(){u.animation(d,null)},t&&r(d,t,f.title),u.icons[n]&&s(d,n,u),e&&r(d,e,f.message),u.node.insertBefore(d,u.node.firstChild),setTimeout(function(){return u.animation(d,i)},o||u.timeout),i&&i(),this},init:function(e){var t=this,n={};return Object.assign(n,p),Object.assign(n,e),this.config=n,a(i(n.style)),n.node.id=""+f.container,n.node.className=""+f.container,n.appendTarget.appendChild(n.node),Object.keys(n.types).forEach(function(e){m[n.types[e]]=function(t,o,i,a,c){return this.showMessage(t,o,n.types[e],i,a,c),this}.bind(t)}),this},setIcon:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"i",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];n.class=n.class?n.class+" "+f.icon:f.icon,this.config.icons[e]={nodeType:t,attrs:n}}};return m}()})},157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(153),i=n.n(o),a=n(146),c=n(36),s=n(37);window.top===window&&function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=p.language||navigator.language;return g[n]&&g[n][e]?[g[n][e]," "].join(""):t.notfailback?"":[e," "].join("")}function t(){var e=window.getSelection().toString();return e.match(/^https?/)||e.match(/magnet:/)?e:null}function o(e){var t=null;return"BODY"===e.tagName?t=null:"IMG"===e.tagName&&e.src?t=e.src:e.href?t=e.href:e.parentNode&&(t=o(e.parentNode)),t}function r(t){n.i(s.a)({listeners:[{name:"changeRpc",cb:function(t){i.a.success(e("Success switch the default download service to")+t)}},{name:"currentRpc",cb:function(t){i.a.success(e("The current download service is")+t)}},{name:"showMassage",cb:function(e){i.a[e.action||"success"](e.text,e.title)}},{name:"baiduLixian",cb:function(e){location.href.match(/^https?:\/\/pan\.baidu\.com/)&&n.i(a.a)(e.url)}},{name:"sendToEndScript",cb:function(e){p=e,d(),safari.self.tab.dispatchMessage("documentReady",{cookie:document.cookie})}}]})}function u(e){var n=[o(e.target)||t(),document.location.href,document.cookie];safari.self.tab.setContextMenuEventUserInfo(e,n)}function d(){if(f)return void(p.catchIframe||f.disconnect());p.catchIframe&&(f=new MutationObserver(function(e){e.some(function(e){return!("IFRAME"!==e.target.tagName||"attributes"!==e.type||"src"!==e.attributeName||!n.i(c.a)(e.target.src,p,m))&&(!e.target.src.match(/^https:\/\/127\.0\.0\.1\//)&&(safari.self.tab.dispatchMessage("downloadFromIframe",{url:e.target.src,cookie:document.cookie}),e.target.src="https://127.0.0.1/",!1))})}),f.observe(document.body,{attributes:!0,attributeFilter:["src"],attributeOldValue:!0,characterData:!1,characterDataOldValue:!1,childList:!1,subtree:!0}))}function l(){m.isCommandPressed=!!m[91],m.isShiftPressd=!!m[16],m.isOptionPressd=!!m[18],safari.self.tab.dispatchMessage("keyPress",{keyPressed:m})}var f,p,m={},g={"zh-CN":{"Success switch the default download service to":"成功切换默认下载服务至","The current download service is":"当前下载服务为"}};document.onkeydown=function(e){var t=e.charCode?e.charCode:e.keyCode;m[t]=!0,l()},document.onkeyup=function(e){var t=e.charCode?e.charCode:e.keyCode;delete m[t],l()},window.onblur=function(e){m={},l()},function(){i.a.init({appendTarget:document.body,timeout:5e3}),document.addEventListener("contextmenu",u,!1),r(),l()}()}()},36:function(e,t,n){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&!n[82]&&t.enableTypefiles?!n.isCommandPressed:n.isCommandPressed){if(e.match(/magnet:[^\\"]+/))return!0;var o=e.substr(e.lastIndexOf(".")+1);o=o.toLowerCase();for(var i=t.filetypes?t.filetypes.split(" "):[],a=0;a0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){setTimeout(function(){n("timeout to get config")},1e4),window.extensionMessageListener||safari.self.addEventListener("message",function(e){var o=0;window.extensionMessageListener.forEach(function(n){e.name===n.name&&(n.cb&&n.cb(e.message||{}),t(e.message||{}),o++)}),o||n("no listener"),e.message&&e.message.hasCb&&safari.self.tab.dispatchMessage([e.name,"cb"].join("_"),{cookie:document.cookie})},!1),window.extensionMessageListener=[].concat(window.extensionMessageListener||[]).concat(e.listeners||[]),e.send&&e.send.forEach(function(e){safari.self.tab.dispatchMessage(e.name,e.params)})})}}},[157]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/global.2200b9fc6a37aab2770a.js b/safari2aria.safariextension/static/js/global.2200b9fc6a37aab2770a.js new file mode 100644 index 0000000..c16fd87 --- /dev/null +++ b/safari2aria.safariextension/static/js/global.2200b9fc6a37aab2770a.js @@ -0,0 +1 @@ +webpackJsonp([4],{159:function(t,e,n){"use strict";function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=C.language||navigator.language;return x()(A,[n,t],e.notfailback?"":[t," "].join(""))}function i(){var t={};C.rpcList.forEach(function(e,n){var o=e.url.match(/^(http|ws)(s)?(?:\:\/\/)(token\:[^@]*)?@?([^\:\/]*)\:?(\d*)(\/[^\/]*)/),i={host:o[4],port:o[5]||6800,secure:!(!o||!o[2]),secret:o[3]?o[3].split(":")[1]:"",path:o[6]||"/jsonrpc"};if(j[e.url])t[e.url]=j[e.url],delete j[e.url];else{var r=new I.Aria2(i);t[e.url]={aria2:r,rpc:e,push:e.push}}e.push&&a(t[e.url],e.name)});for(var e in j){var n=j[e].aria2;n&&n.socket&&1===n.socket.readyState&&j[e].aria2.close()}j=t}function a(t,e){var n=t.aria2;return!(!t.aria2||!t.aria2.socket||1!==n.socket.readyState)||(n.open().then(function(){s(t,e),t.reconnect&&(delete t.reconnect,R.success([o("Successful links to"),e]))}).catch(function(n){x()(safari,"application.activeBrowserWindow.activeTab.url")&&(!t.reconnect&&R.error([o("Make sure the aria2 is running, every 10 seconds will automatically retry")],[e,o("Connection fail")]),t.reconnect=!0),P=P||setInterval(function(){var t=0;S()(j,function(e){t+=a(e)?0:1}),t||clearInterval(P)},1e4)}),!1)}function r(){x()(safari,"extension.popovers[0].contentWindow.tlwin.refreshTaskList")&&safari.extension.popovers[0].contentWindow.tlwin.refreshTaskList()}function s(t,e){var n=t.aria2,i=function(t){r()},a=function(t){r()},s=function(t,e){r(),c(n,t.gid).then(function(t){R.show(e?"error":"success",[t,o("Download"),o(e?"error":"success")])})};n.onDownloadStart=i,n.onDownloadPause=a,n.onDownloadStop=a,n.onDownloadComplete=s,n.onBtDownloadComplete=s,n.onDownloadError=function(t){s(t,!0)}}function c(t,e){return t.tellStatus(e,["bittorrent"]).then(function(n){return t.getFiles(e).then(function(t){return{files:t,bt:n}})}).then(function(t){var e=t.files[0].path,n=e.split("/").pop();return t.bt&&t.bt.info?bt.bittorrent.info.name:n}).catch(function(t){R.error([o("Failed to get task information")])})}function l(t){var e=j[t[0].url],n=!!e&&e.aria2,i=C.enableCookie?"Cookie: "+t[3]:"";n&&t[1]?n.addUri([t[1]],{header:i,timeout:10,"content-disposition-default-utf8":!0,"user-agent":C.userAgent}).then(function(){R.success([o("Successfully added to the"),e.rpc.name,C.enableCookie?"":"(with cookie)"])}).catch(function(t){R.error([o("Fail to Added to the"),e.rpc.name,o("failure",{notfailback:!0}),C.enableCookie?"":"(without cookie)"]),console.log(t)}):R.error(["添加任务失败:没有url或者没有连接aria2"])}function u(t){"showOptions"===t.key&&f()}function f(){safari.application.activeBrowserWindow.openTab().url=safari.extension.baseURI+"options.html"}function d(){C=localStorage.getItem("safari2aria");try{C=JSON.parse(C||"{}")}catch(t){C={defaultRpcIndex:0}}L=C.filetypes?C.filetypes.split(" "):[];for(var t=0;t=0){var n=t.userInfo;n&&n.length&&n[0]||(t.target.disabled=!0)}}function g(t){n.i(D.a)(t.url,C,O)&&(t.preventDefault(),p("getCookie",function(e){l([E[C.defaultRpcIndex],t.url,t.target.url,e.cookie])}))}function w(t){E.forEach(function(e,n){t.contextMenu.appendContextMenuItem(["DownloadWithAria2",n].join("."),[o("Downloaded to"),e.name].join(""))}),C.enableXunleiLixian&&t.contextMenu.appendContextMenuItem("DownloadWithXunleilixian",[o("Import to thunder lixian")].join("")),C.enableBaiduLixian&&t.contextMenu.appendContextMenuItem("DownloadWithBaidulixian",[o("Import to baidu lixian")].join(""))}function y(t){M[t.name]&&M[t.name](t.message,t)}Object.defineProperty(e,"__esModule",{value:!0});var b=n(18),x=n.n(b),k=n(55),S=n.n(k),I=n(54),D=n(36),C={defaultRpcIndex:0},A={"zh-CN":{"Successful links to":"成功链接","Connection fail":"连接失败",Download:"下载",error:"失败","Import to thunder lixian":"导入至迅雷离线","Import to baidu lixian":"导入至百度离线","Downloaded to":"下载至",success:"成功","Successfully added to the":"成功添加至","Added to the":"添加至",failure:"失败","Failed to get task information":"获取任务信息失败","Make sure the aria2 is running, every 10 seconds will automatically retry":"请确认aria2已经运行,每隔10秒将会自动重试"}},O=void 0,L=[],E=[],j={},W={},P=void 0,M={updateSafari2Aria:function(t){localStorage.setItem("safari2aria",JSON.stringify(t)),d()},keyPress:function(t){h(t)},getConfig:function(){p("sendToEndScript",C)},documentReady:function(){S()(W,function(t){t.action()})},downloadFromIframe:function(t,e){l([E[C.defaultRpcIndex],t.url,e.target.url,t.cookie])}},R={success:function(t,e){R.show("success",t,e)},error:function(t,e){R.show("error",t,e)},show:function(t,e,n){e instanceof Array&&(e=e.join("")),n instanceof Array&&(n=n.join("")),p("showMassage",{action:t||"success",text:e,title:n})}};window.s2a={changeServer:function(t){var e=void 0;S()(E,function(n,o){n.url===t&&(e=o)}),C.defaultRpcIndex=e,y({name:"updateSafari2Aria",message:C})},dispatchMessage:y,openOptions:f,getConfig:function(){return{config:C,aria2Connects:j}}},document.addEventListener("DOMContentLoaded",d),safari.application.addEventListener("message",y,!1),safari.extension.settings.addEventListener("change",u,!1),safari.application.addEventListener("command",m,!1),safari.application.addEventListener("validate",v,!1),safari.application.addEventListener("beforeNavigate",g,!1),safari.application.addEventListener("contextmenu",w,!1)},36:function(t,e,n){"use strict";function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t&&!n[82]&&e.enableTypefiles?!n.isCommandPressed:n.isCommandPressed){if(t.match(/magnet:[^\\"]+/))return!0;var o=t.substr(t.lastIndexOf(".")+1);o=o.toLowerCase();for(var i=e.filetypes?e.filetypes.split(" "):[],a=0;a0&&(o.params=t.params);var i="http"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path;fetch(i,{method:"POST",body:JSON.stringify(o),headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(t){return t.json()}).then(function(t){n._onmessage(t)}).catch(e)},a.prototype.send=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"==typeof e[e.length-1]?e.pop():null;return this.exec(t,e,n)},a.prototype.exec=function(t,e,n){if("string"!=typeof t)throw new TypeError(t+" is not a string");0!==t.indexOf("system.")&&0!==t.indexOf("aria2.")&&(t="aria2."+t);var i={method:t,"json-rpc":"2.0",id:this.lastId++},a=this.secret?["token:"+this.secret]:[];Array.isArray(e)&&("system.multicall"===t?(Array.isArray(e[0])&&e[0].forEach(function(t){t.params||(t.params=[]),t.params=a.concat(t.params)}),a=e):a=a.concat(e)),a.length>0&&(i.params=a),this.onsend(i);var r=this;return this.socket&&1===this.socket.readyState?this.socket.send(JSON.stringify(i)):this.http(i,function(t){r.callbacks[i.id](t),delete r.callbacks[i.id]}),o()(function(t){r.callbacks[i.id]=t},n)},a.prototype._onmessage=function(t){if(this.onmessage(t),void 0!==t.id){var e=this.callbacks[t.id];e&&(t.error?e(t.error):e(null,t.result),delete this.callbacks[t.id])}else if(t.method){var n=t.method.split("aria2.")[1];0===n.indexOf("on")&&"function"==typeof this[n]&&a.notifications.indexOf(n)>-1&&this[n].apply(this,t.params)}},a.prototype.open=function(t){var e="ws"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path,n=this.socket=new WebSocket(e),i=this,a=!1;return n.onmessage=function(t){i._onmessage(JSON.parse(t.data))},o()(function(t){n.onopen=function(){a||(t(),a=!0),i.onopen()},n.onclose=function(e){i.onclose(),1006==e.code&&(a||(t(e),a=!0))},n.onerror=function(e){a||(t(e),a=!0)}},t)},a.prototype.close=function(t){var e=this.socket;return o()(function(t){e?(e.addEventListener("close",function(){t()}),e.close()):t()},t)},a.methods=["addUri","addTorrent","addMetalink","remove","forceRemove","pause","pauseAll","forcePause","forcePauseAll","unpause","unpauseAll","tellStatus","getUris","getFiles","getPeers","getServers","tellActive","tellWaiting","tellStopped","changePosition","changeUri","getOption","changeOption","getGlobalOption","changeGlobalOption","getGlobalStat","purgeDownloadResult","removeDownloadResult","getVersion","getSessionInfo","shutdown","forceShutdown","saveSession","system.multicall","system.listMethods","system.listNotifications"],a.notifications=["onDownloadStart","onDownloadPause","onDownloadStop","onDownloadComplete","onDownloadError","onBtDownloadComplete"],a.events=["onopen","onclose","onsend","onmessage"],a.options={secure:!1,host:"localhost",port:6800,secret:"",path:"/jsonrpc"},a.methods.forEach(function(t){var e=t.indexOf(".")>-1?t.split(".")[1]:t;a.prototype[e]=function(){return this.send.apply(this,[t].concat(Array.prototype.slice.call(arguments)))}}),a.notifications.forEach(function(t){a.prototype[t]=function(){}}),a.events.forEach(function(t){a.prototype[t]=function(){}}),n?t.exports=a:e.Aria2=a}(this)}).call(e,n(132)(t))}},[159]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/global.23da2288438dd4148362.js b/safari2aria.safariextension/static/js/global.23da2288438dd4148362.js deleted file mode 100644 index 9cc3cda..0000000 --- a/safari2aria.safariextension/static/js/global.23da2288438dd4148362.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([4],{215:function(e,t,n){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O.language||navigator.language;return D()(W,[n,e],t.notfailback?"":[e," "].join(""))}function a(){var e={};O.rpcList.forEach(function(t,n){var o=t.url.match(/^(http|ws)(s)?(?:\:\/\/)(token\:[^@]*)?@?([^\:\/]*)\:?(\d*)(\/[^\/]*)/),a={host:o[4],port:o[5]||6800,secure:!(!o||!o[2]),secret:o[3]?o[3].split(":")[1]:"",path:o[6]||"/jsonrpc"};if(R[t.url])e[t.url]=R[t.url],delete R[t.url];else{var r=new L.Aria2(a);e[t.url]={aria2:r,rpc:t,push:t.push}}t.push&&i(e[t.url],t.name)});for(var t in R){var n=R[t].aria2;n&&n.socket&&1===n.socket.readyState&&R[t].aria2.close()}R=e}function i(e,t){var n=e.aria2;return!(!e.aria2||!e.aria2.socket||1!==n.socket.readyState)||(n.open().then(function(){s(e,t),e.reconnect&&(delete e.reconnect,_.success([o("Successful links to"),t]))}).catch(function(n){D()(safari,"application.activeBrowserWindow.activeTab.url")&&(!e.reconnect&&_.error([o("Make sure the aria2 is running, every 10 seconds will automatically retry")],[t,o("Connection fail")]),e.reconnect=!0),B=B||setInterval(function(){var e=0;A()(R,function(t){e+=i(t)?0:1}),e||clearInterval(B)},1e4)}),!1)}function r(){D()(safari,"extension.popovers[0].contentWindow.tlwin.refreshTaskList")&&safari.extension.popovers[0].contentWindow.tlwin.refreshTaskList()}function s(e,t){var n=e.aria2,a=function(e){r()},i=function(e){r()},s=function(e,t){r(),c(n,e.gid).then(function(e){_.show(t?"error":"success",[e,o("Download"),o(t?"error":"success")])})};n.onDownloadStart=a,n.onDownloadPause=i,n.onDownloadStop=i,n.onDownloadComplete=s,n.onBtDownloadComplete=s,n.onDownloadError=function(e){s(e,!0)}}function c(e,t){return e.tellStatus(t,["bittorrent"]).then(function(n){return e.getFiles(t).then(function(e){return{files:e,bt:n}})}).then(function(e){var t=e.files[0].path,n=t.split("/").pop();return e.bt&&e.bt.info?bt.bittorrent.info.name:n}).catch(function(e){_.error([o("Failed to get task information")])})}function l(e){var t=R[e[0].url],n=!!t&&t.aria2,a=O.enableCookie?"Cookie: "+e[3]:"";n&&e[1]?n.addUri([e[1]],{header:a,timeout:10,"content-disposition-default-utf8":!0,"user-agent":O.userAgent}).then(function(){_.success([o("Successfully added to the"),t.rpc.name,O.enableCookie?"":"(with cookie)"])}).catch(function(e){_.error([o("Fail to Added to the"),t.rpc.name,o("failure",{notfailback:!0}),O.enableCookie?"":"(without cookie)"]),console.log(e)}):_.error(["添加任务失败:没有url或者没有连接aria2"])}function u(e){"showOptions"===e.key&&d()}function d(){safari.application.activeBrowserWindow.openTab().url=safari.extension.baseURI+"options.html"}function f(){O=localStorage.getItem("safari2aria");try{O=JSON.parse(O||"{}")}catch(e){O={defaultRpcIndex:0}}P=O.filetypes?O.filetypes.split(" "):[];for(var e=0;e=0){var n=e.userInfo;n&&n.length&&n[0]||(e.target.disabled=!0)}}function g(e){n.i(E.a)(e.url,O,j)&&(e.preventDefault(),p("getCookie",function(t){l([M[O.defaultRpcIndex],e.url,e.target.url,t.cookie])}))}function w(e){M.forEach(function(t,n){e.contextMenu.appendContextMenuItem(["DownloadWithAria2",n].join("."),[o("Downloaded to"),t.name].join(""))}),O.enableXunleiLixian&&e.contextMenu.appendContextMenuItem("DownloadWithXunleilixian",[o("Import to thunder lixian")].join("")),O.enableBaiduLixian&&e.contextMenu.appendContextMenuItem("DownloadWithBaidulixian",[o("Import to baidu lixian")].join(""))}function y(e){F[e.name]&&F[e.name](e.message,e)}Object.defineProperty(t,"__esModule",{value:!0});var x=n(33),b=n.n(x),k=n(32),S=n.n(k),I=n(34),D=n.n(I),C=n(82),A=n.n(C),L=n(81),E=n(56),O={defaultRpcIndex:0},W={"zh-CN":{"Successful links to":"成功链接","Connection fail":"连接失败",Download:"下载",error:"失败","Import to thunder lixian":"导入至迅雷离线","Import to baidu lixian":"导入至百度离线","Downloaded to":"下载至",success:"成功","Successfully added to the":"成功添加至","Added to the":"添加至",failure:"失败","Failed to get task information":"获取任务信息失败","Make sure the aria2 is running, every 10 seconds will automatically retry":"请确认aria2已经运行,每隔10秒将会自动重试"}},j=void 0,P=[],M=[],R={},T={},B=void 0,F={updateSafari2Aria:function(e){localStorage.setItem("safari2aria",S()(e)),f()},keyPress:function(e){h(e)},getConfig:function(){p("sendToEndScript",O)},documentReady:function(){A()(T,function(e){e.action()})},downloadFromIframe:function(e,t){l([M[O.defaultRpcIndex],e.url,t.target.url,e.cookie])}},_={success:function(e,t){_.show("success",e,t)},error:function(e,t){_.show("error",e,t)},show:function(e,t,n){t instanceof Array&&(t=t.join("")),n instanceof Array&&(n=n.join("")),p("showMassage",{action:e||"success",text:t,title:n})}};window.s2a={changeServer:function(e){var t=void 0;A()(M,function(n,o){n.url===e&&(t=o)}),O.defaultRpcIndex=t,y({name:"updateSafari2Aria",message:O})},dispatchMessage:y,openOptions:d,getConfig:function(){return{config:O,aria2Connects:R}}},document.addEventListener("DOMContentLoaded",f),safari.application.addEventListener("message",y,!1),safari.extension.settings.addEventListener("change",u,!1),safari.application.addEventListener("command",m,!1),safari.application.addEventListener("validate",v,!1),safari.application.addEventListener("beforeNavigate",g,!1),safari.application.addEventListener("contextmenu",w,!1)},56:function(e,t,n){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&!n[82]&&t.enableTypefiles?!n.isCommandPressed:n.isCommandPressed){if(e.match(/magnet:[^\\"]+/))return!0;var o=e.substr(e.lastIndexOf(".")+1);o=o.toLowerCase();for(var a=t.filetypes?t.filetypes.split(" "):[],i=0;i0&&(a.params=e.params);var i="http"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path;fetch(i,{method:"POST",body:o()(a),headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(e){return e.json()}).then(function(e){n._onmessage(e)}).catch(t)},a.prototype.send=function(e){var t=Array.prototype.slice.call(arguments,1),n="function"==typeof t[t.length-1]?t.pop():null;return this.exec(e,t,n)},a.prototype.exec=function(e,t,n){if("string"!=typeof e)throw new TypeError(e+" is not a string");0!==e.indexOf("system.")&&0!==e.indexOf("aria2.")&&(e="aria2."+e);var a={method:e,"json-rpc":"2.0",id:this.lastId++},i=this.secret?["token:"+this.secret]:[];Array.isArray(t)&&("system.multicall"===e?(Array.isArray(t[0])&&t[0].forEach(function(e){e.params||(e.params=[]),e.params=i.concat(e.params)}),i=t):i=i.concat(t)),i.length>0&&(a.params=i),this.onsend(a);var r=this;return this.socket&&1===this.socket.readyState?this.socket.send(o()(a)):this.http(a,function(e){r.callbacks[a.id](e),delete r.callbacks[a.id]}),l()(function(e){r.callbacks[a.id]=e},n)},a.prototype._onmessage=function(e){if(this.onmessage(e),void 0!==e.id){var t=this.callbacks[e.id];t&&(e.error?t(e.error):t(null,e.result),delete this.callbacks[e.id])}else if(e.method){var n=e.method.split("aria2.")[1];0===n.indexOf("on")&&"function"==typeof this[n]&&a.notifications.indexOf(n)>-1&&this[n].apply(this,e.params)}},a.prototype.open=function(e){var t="ws"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path,n=this.socket=new WebSocket(t),o=this,a=!1;return n.onmessage=function(e){o._onmessage(JSON.parse(e.data))},l()(function(e){n.onopen=function(){a||(e(),a=!0),o.onopen()},n.onclose=function(t){o.onclose(),1006==t.code&&(a||(e(t),a=!0))},n.onerror=function(t){a||(e(t),a=!0)}},e)},a.prototype.close=function(e){var t=this.socket;return l()(function(e){t?(t.addEventListener("close",function(){e()}),t.close()):e()},e)},a.methods=["addUri","addTorrent","addMetalink","remove","forceRemove","pause","pauseAll","forcePause","forcePauseAll","unpause","unpauseAll","tellStatus","getUris","getFiles","getPeers","getServers","tellActive","tellWaiting","tellStopped","changePosition","changeUri","getOption","changeOption","getGlobalOption","changeGlobalOption","getGlobalStat","purgeDownloadResult","removeDownloadResult","getVersion","getSessionInfo","shutdown","forceShutdown","saveSession","system.multicall","system.listMethods","system.listNotifications"],a.notifications=["onDownloadStart","onDownloadPause","onDownloadStop","onDownloadComplete","onDownloadError","onBtDownloadComplete"],a.events=["onopen","onclose","onsend","onmessage"],a.options={secure:!1,host:"localhost",port:6800,secret:"",path:"/jsonrpc"},a.methods.forEach(function(e){var t=e.indexOf(".")>-1?e.split(".")[1]:e;a.prototype[t]=function(){return this.send.apply(this,[e].concat(Array.prototype.slice.call(arguments)))}}),a.notifications.forEach(function(e){a.prototype[e]=function(){}}),a.events.forEach(function(e){a.prototype[e]=function(){}}),n?e.exports=a:t.Aria2=a}(this)}).call(t,n(189)(e))}},[215]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/manifest.js b/safari2aria.safariextension/static/js/manifest.js index 70057da..3612cf3 100644 --- a/safari2aria.safariextension/static/js/manifest.js +++ b/safari2aria.safariextension/static/js/manifest.js @@ -1 +1 @@ -!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var f,i,u,s=0,l=[];s1?i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.delRpc(a)}}},[e._v(e._s(e.$t("Delete")))]):e._e()],1)})],2)]),e._v(" "),i("group",{attrs:{title:e.$t("Auxiliary Settings")}},[i("x-switch",{attrs:{title:e.$t("Enable cookie")},model:{value:e.enableCookie,callback:function(t){e.enableCookie=t},expression:"enableCookie"}}),e._v(" "),i("x-switch",{attrs:{title:e.$t("Catch iframe")},model:{value:e.catchIframe,callback:function(t){e.catchIframe=t},expression:"catchIframe"}})],1),e._v(" "),i("group",{attrs:{title:"User-Agent"}},[i("div",{staticClass:"cell rpcList"},[i("flexbox",{staticClass:"header"},[i("flexbox-item",{attrs:{span:.05}},[e._v("\n "+e._s(e.$t("Default"))+"\n ")]),e._v(" "),i("flexbox-item",{attrs:{span:.1}},[e._v("\n "+e._s(e.$t("Name"))+"\n ")]),e._v(" "),i("flexbox-item",[e._v("\n User-agent\n ")]),e._v(" "),i("div",{staticClass:"action"},[i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.addUa(t)}}},[e._v(e._s(e.$t("Add")))])],1)],1),e._v(" "),e._l(e.uaList,function(t,a){return i("flexbox",{key:a},[i("flexbox-item",{attrs:{span:.05}},[i("Radio",{attrs:{val:t.content,value:e.userAgent},on:{"update:value":function(t){e.userAgent=t}}})],1),e._v(" "),i("flexbox-item",{staticClass:"name",attrs:{span:.1}},[i("x-input",{attrs:{"show-clear":!1},model:{value:t.name,callback:function(e){t.name=e},expression:"ua.name"}})],1),e._v(" "),i("flexbox-item",{staticClass:"content"},[i("x-input",{attrs:{"show-clear":!1},model:{value:t.content,callback:function(e){t.content=e},expression:"ua.content"}})],1),e._v(" "),e.uaList.length>1?i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.delUa(a)}}},[e._v(e._s(e.$t("Delete")))]):e._e()],1)})],2)]),e._v(" "),i("group",{attrs:{title:e.$t("Download popover")}},[i("x-input",{staticClass:"right_input",attrs:{title:e.$t("Refresh interval"),type:"number","show-clear":!1},model:{value:e.refreshTime,callback:function(t){e.refreshTime=t},expression:"refreshTime"}},[i("span",{slot:"right"},[e._v(e._s(e.$t("s")))])]),e._v(" "),i("x-switch",{attrs:{title:e.$t("Enable bitfield chart")},model:{value:e.enableChart,callback:function(t){e.enableChart=t},expression:"enableChart"}})],1),e._v(" "),i("group",{attrs:{title:e.$t("Offline download")}},[i("x-switch",{attrs:{title:e.$t("xunlei")},model:{value:e.enableXunleiLixian,callback:function(t){e.enableXunleiLixian=t},expression:"enableXunleiLixian"}}),e._v(" "),i("x-switch",{attrs:{title:e.$t("baidu")},model:{value:e.enableBaiduLixian,callback:function(t){e.enableBaiduLixian=t},expression:"enableBaiduLixian"}})],1),e._v(" "),i("group",{attrs:{title:e.$t("other")}},[i("x-switch",{attrs:{title:e.$t("baidu pan check disable")},model:{value:e.disableBaiduLimit,callback:function(t){e.disableBaiduLimit=t},expression:"disableBaiduLimit"}})],1),e._v(" "),i("group",[i("x-button",{nativeOn:{click:function(t){e.save(e.index)}}},[e._v(e._s(e.$t("Save")))])],1)],1)},staticRenderFns:[]}},313:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-selector weui-cell",class:{"weui-cell_select":!e.readonly,"weui-cell_select-after":e.title}},[e.title?i("div",{staticClass:"weui-cell__hd"},[i("label",{staticClass:"weui-label",style:{width:e.$parent.labelWidth,textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},attrs:{for:"vux-selector-"+e.uuid}},[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.readonly?i("div",{staticClass:"weui-cell__ft vux-selector-readonly"},[e._v("\n "+e._s(e._f("findByKey")(e.value,e.processOptions))+"\n ")]):i("div",{staticClass:"weui-cell__bd"},[i("select",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-select",staticStyle:{color:"red"},style:{direction:e.direction,color:e.color},attrs:{id:"vux-selector-"+e.uuid,ddd:e.color,name:e.name},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.currentValue=t.target.multiple?i:i[0]}}},[e.showPlaceholder?i("option",{attrs:{value:""},domProps:{selected:void 0===e.value&&e.placeholder}},[e._v(e._s(e.placeholder))]):e._e(),e._v(" "),e.fixIos?i("option",{attrs:{disabled:""}}):e._e(),e._v(" "),e._l(e.processOptions,function(t){return i("option",{domProps:{value:t.key}},[e._v(e._s(t.value))])})],2)])])},staticRenderFns:[]}},32:function(e,t,i){i(84);var a=i(1)(i(68),i(100),null,null);e.exports=a.exports},323:function(e,t,i){i(235);var a=i(1)(i(167),i(313),null,null);e.exports=a.exports},327:function(e,t,i){i(234);var a=i(1)(i(172),i(312),null,null);e.exports=a.exports},58:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(7),n=i.n(a),l=i(20),r=i(108);t.default={components:{InlineDesc:n.a},props:i.i(r.a)(),beforeMount:function(){this.hasTitleSlot=!!this.$slots.title},computed:{valueClass:function(){return{"vux-cell-primary":"content"===this.primary||"left"===this.valueAlign,"vux-cell-align-left":"left"===this.valueAlign,"vux-cell-arrow-transition":!!this.arrowDirection,"vux-cell-arrow-up":"up"===this.arrowDirection,"vux-cell-arrow-down":"down"===this.arrowDirection}}},methods:{getLabelStyles:function(){return{width:this.$parent.labelWidth||this.$parent.$parent.labelWidth,textAlign:this.$parent.labelAlign||this.$parent.$parent.labelAlign,marginRight:this.$parent.labelMarginRight||this.$parent.$parent.labelMarginRight}},onClick:function(){!this.disabled&&i.i(l.a)(this.link,this.$router)}},data:function(){return{hasTitleSlot:!1}}}},59:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(15),n=i.n(a);t.default={components:{Icon:n.a},methods:{updateValue:function(){this.$emit("update:value",!this.value)}},props:{value:{type:Boolean,default:!1},type:{type:String,default:"default"}}}},60:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=["-moz-box-","-webkit-box-",""];t.default={props:{span:[Number,String],order:[Number,String]},beforeMount:function(){this.bodyWidth=document.documentElement.offsetWidth},methods:{buildWidth:function(e){return"number"==typeof e?e<1?e:e/12:"string"==typeof e?e.replace("px","")/this.bodyWidth:void 0}},computed:{style:function(){var e={};if(e["horizontal"===this.$parent.orient?"marginLeft":"marginTop"]=this.$parent.gutter+"px",this.span)for(var t=0;t=2&&e.length<=6},msg:"中文姓名"}};t.default={created:function(){var e=this;this.currentValue=this.value||"",this.title||this.placeholder||this.currentValue||console.warn("no title and no placeholder?"),this.required&&!this.currentValue&&(this.valid=!1),this.handleChangeEvent=!0,this.debounce&&(this._debounce=i.i(p.a)(function(){e.$emit("on-change",e.currentValue)},this.debounce))},mounted:function(){this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0)},beforeDestroy:function(){this._debounce&&this._debounce.cancel()},mixins:[a.a],components:{Icon:l.a,InlineDesc:s.a},props:{title:{type:String,default:""},type:{type:String,default:"text"},placeholder:String,value:[String,Number],name:String,readonly:Boolean,disabled:Boolean,keyboard:String,inlineDesc:String,isType:[String,Function],min:Number,max:Number,showClear:{type:Boolean,default:!0},equalWith:String,textAlign:String,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},novalidate:{type:Boolean,default:!1},iconType:String,debounce:Number,placeholderAlign:String,labelWidth:String},computed:{labelStyles:function(){return{width:this.labelWidthComputed||this.$parent.labelWidth||this.labelWidthComputed,textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},pattern:function(){if("number"===this.keyboard||"china-mobile"===this.isType)return"[0-9]*"},labelWidthComputed:function(){var e=this.title.replace(/[^x00-xff]/g,"00").length/2+1;if(e<10)return e+"em"},hasErrors:function(){return Object.keys(this.errors).length>0},inputStyle:function(){if(this.textAlign)return{textAlign:this.textAlign}},showWarn:function(){return!this.novalidate&&!this.equalWith&&!this.valid&&this.firstError&&(this.touched||this.forceShowError)}},methods:{reset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.dirty=!1,this.currentValue=e,this.firstError="",this.valid=!0},clear:function(){this.currentValue="",this.focus()},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},focusHandler:function(){this.$emit("on-focus",this.currentValue)},onBlur:function(){this.setTouched(),this.validate(),this.$emit("on-blur",this.currentValue)},onKeyUp:function(e){"Enter"===e.key&&(e.target.blur(),this.$emit("on-enter",this.currentValue))},getError:function(){var e=Object.keys(this.errors)[0];this.firstError=this.errors[e]},validate:function(){if(void 0!==this.equalWith)return void this.validateEqual();if(this.errors={},!this.currentValue&&!this.required)return void(this.valid=!0);if(!this.currentValue&&this.required)return this.valid=!1,this.errors.required="必填哦",void this.getError();if("string"==typeof this.isType){var e=h[this.isType];if(e){if(this.valid=e.fn(this.currentValue),!this.valid)return void(this.errors.format=e.msg+"格式不对哦~");delete this.errors.format}}if("function"==typeof this.isType){var t=this.isType(this.currentValue);if(this.valid=t.valid,!this.valid)return this.errors.format=t.msg,this.forceShowError=!0,void(this.firstError||this.getError());delete this.errors.format}if(this.min){if(this.currentValue.lengththis.max)return this.errors.max="最多可以输入"+this.max+"个字符哦",this.valid=!1,void(this.forceShowError=!0);this.forceShowError=!1,delete this.errors.max}this.valid=!0},validateEqual:function(){return!this.equalWith&&this.currentValue?(this.valid=!1,void(this.errors.equal="输入不一致")):(this.dirty||this.currentValue.length>=this.equalWith.length)&&this.currentValue!==this.equalWith?(this.valid=!1,void(this.errors.equal="输入不一致")):void(!this.currentValue&&this.required?this.valid=!1:(this.valid=!0,delete this.errors.equal))}},data:function(){return{hasRestrictedLabel:!1,firstError:"",forceShowError:!1,hasLengthEqual:!1,valid:!0,currentValue:""}},watch:{valid:function(){this.getError()},value:function(e){this.currentValue=e},equalWith:function(e){e&&this.equalWith?(e.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate()},currentValue:function(e){!this.equalWith&&e&&this.validateEqual(),e&&this.equalWith?(e.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate(),this.$emit("input",e),this._debounce?this._debounce():this.$emit("on-change",e)}}}},67:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(7),n=i.n(a);t.default={components:{InlineDesc:n.a},computed:{labelStyle:function(){var e=/<\/?[^>]*>/.test(this.title);return{display:"block",width:Math.min(e?5:this.title.length+1,14)+"em"}}},props:{title:{type:String,required:!0},disabled:Boolean,value:{type:Boolean,default:!1},inlineDesc:[String,Boolean,Number]},data:function(){return{currentValue:this.value}},watch:{currentValue:function(e){this.$emit("input",e),this.$emit("on-change",e)},value:function(e){this.currentValue=e}}}},68:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(19),n=i(7),l=i.n(n),r=i(106),s=i.n(r);t.default={minxins:[a.a],mounted:function(){var e=this;this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0),this.$nextTick(function(){e.autosize&&e.bindAutosize()})},components:{InlineDesc:l.a},props:{title:String,inlineDesc:String,showCounter:{type:Boolean,default:!0},max:Number,value:String,name:String,placeholder:String,readonly:Boolean,rows:{type:Number,default:3},cols:{type:Number,default:30},height:Number,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},autosize:Boolean},created:function(){this.currentValue=this.value},watch:{autosize:function(e){this.unbindAutosize(),e&&this.bindAutosize()},value:function(e){this.currentValue=e},currentValue:function(e){this.max&&e&&e.length>this.max&&(this.currentValue=e.slice(0,this.max)),this.$emit("input",this.currentValue),this.$emit("on-change",this.currentValue)}},data:function(){return{hasRestrictedLabel:!1,currentValue:""}},computed:{count:function(){var e=0;return this.currentValue&&(e=this.currentValue.replace(/\n/g,"aa").length),e>this.max?this.max:e},textareaStyle:function(){if(this.height)return{height:this.height+"px"}},labelStyles:function(){return{width:this.$parent.labelWidth||this.labelWidth+"em",textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},labelWidth:function(){return this.title.replace(/[^x00-xff]/g,"00").length/2+1}},methods:{bindAutosize:function(){s()(this.$refs.textarea)},unbindAutosize:function(){s.a.destroy(this.$refs.textarea)},focus:function(){this.$refs.textarea.focus()}},beforeDestroy:function(){this.unbindAutosize()}}},69:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(15),n=i.n(a);t.default={components:{Icon:n.a},methods:{updateValue:function(){this.$emit("update:value",this.val)}},props:{value:[String,Number],val:[String,Number],type:{type:String,default:"default"}}}},7:function(e,t,i){i(81);var a=i(1)(null,i(97),null,null);e.exports=a.exports},73:function(e,t){},74:function(e,t){},75:function(e,t){},76:function(e,t){},77:function(e,t){},78:function(e,t){},79:function(e,t){},80:function(e,t){},81:function(e,t){},82:function(e,t){},83:function(e,t){},84:function(e,t){},88:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"weui-btn",class:e.classes,attrs:{disabled:e.disabled,type:e.actionType},on:{click:e.onClick}},[e.showLoading?i("i",{staticClass:"weui-loading"}):e._e(),e._v(" "),e._t("default",[e._v(e._s(e.text))])],2)},staticRenderFns:[]}},89:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vux-flexbox",class:{"vux-flex-col":"vertical"===e.orient,"vux-flex-row":"horizontal"===e.orient},style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},90:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-header"},[i("div",{staticClass:"vux-header-left"},[e._t("overwrite-left",[i("transition",{attrs:{name:e.transition}},[i("a",{directives:[{name:"show",rawName:"v-show",value:e._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"vux-header-back",on:{click:[function(t){if(!("button"in t)&&e._k(t.keyCode,"preventDefault"))return null},e.onClickBack]}},[e._v(e._s(void 0===e._leftOptions.backText?"返回":e._leftOptions.backText))])]),e._v(" "),i("transition",{attrs:{name:e.transition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"left-arrow",on:{click:e.onClickBack}})])]),e._v(" "),e._t("left")],2),e._v(" "),i("h1",{staticClass:"vux-header-title",on:{click:function(t){e.$emit("on-click-title")}}},[e._t("default",[i("transition",{attrs:{name:e.transition}},[i("span",{directives:[{name:"show",rawName:"v-show",value:e.title,expression:"title"}]},[e._v(e._s(e.title))])])])],2),e._v(" "),i("div",{staticClass:"vux-header-right"},[e.rightOptions.showMore?i("a",{staticClass:"vux-header-more",on:{click:[function(t){if(!("button"in t)&&e._k(t.keyCode,"preventDefault"))return null},function(t){e.$emit("on-click-more")}]}}):e._e(),e._v(" "),e._t("right")],2)])},staticRenderFns:[]}},91:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"weui-cell",class:{"vux-tap-active":e.isLink||!!e.link,"weui-cell_access":e.isLink||!!e.link,"vux-cell-no-border-intent":!e.borderIntent,"vux-cell-disabled":e.disabled},on:{click:e.onClick}},[i("div",{staticClass:"weui-cell__hd"},[e._t("icon")],2),e._v(" "),i("div",{staticClass:"vux-cell-bd",class:{"vux-cell-primary":"title"===e.primary&&"left"!==e.valueAlign}},[i("p",[e.title||e.hasTitleSlot?i("label",{staticClass:"vux-label",style:e.getLabelStyles()},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e._v(" "),e._t("after-title")],2),e._v(" "),i("inline-desc",[e._t("inline-desc",[e._v(e._s(e.inlineDesc))])],2)],1),e._v(" "),i("div",{staticClass:"weui-cell__ft",class:e.valueClass},[e._t("value"),e._v(" "),e._t("default",[e._v(e._s(e.value))]),e._v(" "),e.isLoading?i("i",{staticClass:"weui-loading"}):e._e()],2),e._v(" "),e._t("child")],2)},staticRenderFns:[]}},92:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-check-icon",on:{click:e.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===e.type&&e.value===e.val,expression:"type === 'default' && value === val"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===e.type&&e.value===e.val,expression:"type === 'plain' && value === val"}],attrs:{type:"success_circle"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.value!==e.val,expression:"value !== val"}],attrs:{type:"circle"}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"radio",attrs:{type:"radio"},domProps:{value:e.val,checked:e._q(e.value,e.val)},on:{__c:function(t){e.value=e.val}}}),e._v(" "),i("span",[e._t("default")],2)],1)},staticRenderFns:[]}},93:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-switch weui-cell weui-cell_switch"},[i("div",{staticClass:"weui-cell__bd"},[i("label",{staticClass:"weui-label",style:e.labelStyle,domProps:{innerHTML:e._s(e.title)}}),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()],1),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-switch",attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.currentValue)?e._i(e.currentValue,null)>-1:e.currentValue},on:{__c:function(t){var i=e.currentValue,a=t.target,n=!!a.checked;if(Array.isArray(i)){var l=e._i(i,null);n?l<0&&(e.currentValue=i.concat(null)):l>-1&&(e.currentValue=i.slice(0,l).concat(i.slice(l+1)))}else e.currentValue=n}}})])])},staticRenderFns:[]}},94:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vux-flexbox-item",style:e.style},[e._t("default")],2)},staticRenderFns:[]}},95:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-check-icon",on:{click:e.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===e.type&&e.value,expression:"type === 'default' && value"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===e.type&&e.value,expression:"type === 'plain' && value"}],attrs:{type:"success_circle"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.value,expression:"!value"}],attrs:{type:"circle"}}),e._v(" "),i("span",[e._t("default")],2)],1)},staticRenderFns:[]}},96:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-input weui-cell",class:{"weui-cell_warn":e.showWarn}},[i("div",{staticClass:"weui-cell__hd"},[e.hasRestrictedLabel?i("div",{style:e.labelStyles},[e._t("restricted-label")],2):e._e(),e._v(" "),e._t("label",[e.title?i("label",{staticClass:"weui-label",style:{width:e.labelWidth||e.$parent.labelWidth||e.labelWidthComputed,textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()])],2),e._v(" "),i("div",{staticClass:"weui-cell__bd weui-cell__primary",class:e.placeholderAlign?"vux-x-input-placeholder-"+e.placeholderAlign:""},[e.type&&"text"!==e.type?e._e():i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"text",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),"number"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"number",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:[e.onBlur,function(t){e.$forceUpdate()}],keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"email",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"password"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"password",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"tel",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.equalWith&&e.showClear&&e.currentValue&&!e.readonly&&!e.disabled,expression:"!equalWith && showClear && currentValue && !readonly && !disabled"}],attrs:{type:"clear"},nativeOn:{click:function(t){e.clear(t)}}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.showWarn,expression:"showWarn"}],staticClass:"vux-input-icon",attrs:{type:"warn",title:e.valid?"":e.firstError}}),e._v(" "),!e.novalidate&&e.hasLengthEqual&&e.dirty&&e.equalWith&&!e.valid?i("icon",{staticClass:"vux-input-icon",attrs:{type:"warn"}}):e._e(),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.novalidate&&e.equalWith&&e.equalWith===e.currentValue&&e.valid,expression:"!novalidate && equalWith && equalWith === currentValue && valid"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.novalidate&&"success"===e.iconType,expression:"novalidate && iconType === 'success'"}],staticClass:"vux-input-icon",attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.novalidate&&"error"===e.iconType,expression:"novalidate && iconType === 'error'"}],staticClass:"vux-input-icon",attrs:{type:"warn"}}),e._v(" "),e._t("right")],2)])},staticRenderFns:[]}},97:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{staticClass:"vux-label-desc"},[e._t("default")],2)},staticRenderFns:[]}},98:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{class:[e.className,e.isMsg?"weui-icon_msg":""]})},staticRenderFns:[]}},99:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.title?i("div",{staticClass:"weui-cells__title",style:{color:e.titleColor},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),i("div",{staticClass:"weui-cells",class:{"vux-no-group-title":!e.title},style:{marginTop:"number"==typeof e.gutter?e.gutter+"px":e.gutter}},[e._t("after-title"),e._v(" "),e._t("default")],2)])},staticRenderFns:[]}}},[160]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/options.f850eb7e3ae211ae9129.js b/safari2aria.safariextension/static/js/options.f850eb7e3ae211ae9129.js deleted file mode 100644 index 90d050b..0000000 --- a/safari2aria.safariextension/static/js/options.f850eb7e3ae211ae9129.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([2],{115:function(e,t){},116:function(e,t){},117:function(e,t){},118:function(e,t){},119:function(e,t){},12:function(e,t,i){i(123);var a=i(1)(null,i(139),null,null);e.exports=a.exports},120:function(e,t){},121:function(e,t){},122:function(e,t){},123:function(e,t){},124:function(e,t){},125:function(e,t){},126:function(e,t){},130:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"weui-btn",class:e.classes,attrs:{disabled:e.disabled,type:e.actionType},on:{click:e.onClick}},[e.showLoading?i("i",{staticClass:"weui-loading"}):e._e(),e._v(" "),e._t("default",[e._v(e._s(e.text))])],2)},staticRenderFns:[]}},131:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vux-flexbox",class:{"vux-flex-col":"vertical"===e.orient,"vux-flex-row":"horizontal"===e.orient},style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},132:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-header"},[i("div",{staticClass:"vux-header-left"},[e._t("overwrite-left",[i("transition",{attrs:{name:e.transition}},[i("a",{directives:[{name:"show",rawName:"v-show",value:e._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"vux-header-back",on:{click:[function(t){if(!("button"in t)&&e._k(t.keyCode,"preventDefault"))return null},e.onClickBack]}},[e._v(e._s(void 0===e._leftOptions.backText?"返回":e._leftOptions.backText))])]),e._v(" "),i("transition",{attrs:{name:e.transition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"left-arrow",on:{click:e.onClickBack}})])]),e._v(" "),e._t("left")],2),e._v(" "),i("h1",{staticClass:"vux-header-title",on:{click:function(t){e.$emit("on-click-title")}}},[e._t("default",[i("transition",{attrs:{name:e.transition}},[i("span",{directives:[{name:"show",rawName:"v-show",value:e.title,expression:"title"}]},[e._v(e._s(e.title))])])])],2),e._v(" "),i("div",{staticClass:"vux-header-right"},[e.rightOptions.showMore?i("a",{staticClass:"vux-header-more",on:{click:[function(t){if(!("button"in t)&&e._k(t.keyCode,"preventDefault"))return null},function(t){e.$emit("on-click-more")}]}}):e._e(),e._v(" "),e._t("right")],2)])},staticRenderFns:[]}},133:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"weui-cell",class:{"vux-tap-active":e.isLink||!!e.link,"weui-cell_access":e.isLink||!!e.link,"vux-cell-no-border-intent":!e.borderIntent,"vux-cell-disabled":e.disabled},on:{click:e.onClick}},[i("div",{staticClass:"weui-cell__hd"},[e._t("icon")],2),e._v(" "),i("div",{staticClass:"vux-cell-bd",class:{"vux-cell-primary":"title"===e.primary&&"left"!==e.valueAlign}},[i("p",[e.title||e.hasTitleSlot?i("label",{staticClass:"vux-label",style:e.getLabelStyles()},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e._v(" "),e._t("after-title")],2),e._v(" "),i("inline-desc",[e._t("inline-desc",[e._v(e._s(e.inlineDesc))])],2)],1),e._v(" "),i("div",{staticClass:"weui-cell__ft",class:e.valueClass},[e._t("value"),e._v(" "),e._t("default",[e._v(e._s(e.value))]),e._v(" "),e.isLoading?i("i",{staticClass:"weui-loading"}):e._e()],2),e._v(" "),e._t("child")],2)},staticRenderFns:[]}},134:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-check-icon",on:{click:e.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===e.type&&e.value===e.val,expression:"type === 'default' && value === val"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===e.type&&e.value===e.val,expression:"type === 'plain' && value === val"}],attrs:{type:"success_circle"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.value!==e.val,expression:"value !== val"}],attrs:{type:"circle"}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"radio",attrs:{type:"radio"},domProps:{value:e.val,checked:e._q(e.value,e.val)},on:{__c:function(t){e.value=e.val}}}),e._v(" "),i("span",[e._t("default")],2)],1)},staticRenderFns:[]}},135:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-switch weui-cell weui-cell_switch"},[i("div",{staticClass:"weui-cell__bd"},[i("label",{staticClass:"weui-label",style:e.labelStyle,domProps:{innerHTML:e._s(e.title)}}),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()],1),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-switch",attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.currentValue)?e._i(e.currentValue,null)>-1:e.currentValue},on:{__c:function(t){var i=e.currentValue,a=t.target,n=!!a.checked;if(Array.isArray(i)){var l=e._i(i,null);n?l<0&&(e.currentValue=i.concat(null)):l>-1&&(e.currentValue=i.slice(0,l).concat(i.slice(l+1)))}else e.currentValue=n}}})])])},staticRenderFns:[]}},136:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vux-flexbox-item",style:e.style},[e._t("default")],2)},staticRenderFns:[]}},137:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-check-icon",on:{click:e.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===e.type&&e.value,expression:"type === 'default' && value"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===e.type&&e.value,expression:"type === 'plain' && value"}],attrs:{type:"success_circle"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.value,expression:"!value"}],attrs:{type:"circle"}}),e._v(" "),i("span",[e._t("default")],2)],1)},staticRenderFns:[]}},138:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-input weui-cell",class:{"weui-cell_warn":e.showWarn}},[i("div",{staticClass:"weui-cell__hd"},[e.hasRestrictedLabel?i("div",{style:e.labelStyles},[e._t("restricted-label")],2):e._e(),e._v(" "),e._t("label",[e.title?i("label",{staticClass:"weui-label",style:{width:e.labelWidth||e.$parent.labelWidth||e.labelWidthComputed,textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()])],2),e._v(" "),i("div",{staticClass:"weui-cell__bd weui-cell__primary",class:e.placeholderAlign?"vux-x-input-placeholder-"+e.placeholderAlign:""},[e.type&&"text"!==e.type?e._e():i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"text",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),"number"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"number",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:[e.onBlur,function(t){e.$forceUpdate()}],keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"email",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"password"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"password",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"tel",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.equalWith&&e.showClear&&e.currentValue&&!e.readonly&&!e.disabled,expression:"!equalWith && showClear && currentValue && !readonly && !disabled"}],attrs:{type:"clear"},nativeOn:{click:function(t){e.clear(t)}}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.showWarn,expression:"showWarn"}],staticClass:"vux-input-icon",attrs:{type:"warn",title:e.valid?"":e.firstError}}),e._v(" "),!e.novalidate&&e.hasLengthEqual&&e.dirty&&e.equalWith&&!e.valid?i("icon",{staticClass:"vux-input-icon",attrs:{type:"warn"}}):e._e(),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.novalidate&&e.equalWith&&e.equalWith===e.currentValue&&e.valid,expression:"!novalidate && equalWith && equalWith === currentValue && valid"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.novalidate&&"success"===e.iconType,expression:"novalidate && iconType === 'success'"}],staticClass:"vux-input-icon",attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.novalidate&&"error"===e.iconType,expression:"novalidate && iconType === 'error'"}],staticClass:"vux-input-icon",attrs:{type:"warn"}}),e._v(" "),e._t("right")],2)])},staticRenderFns:[]}},139:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{staticClass:"vux-label-desc"},[e._t("default")],2)},staticRenderFns:[]}},140:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{class:[e.className,e.isMsg?"weui-icon_msg":""]})},staticRenderFns:[]}},141:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.title?i("div",{staticClass:"weui-cells__title",style:{color:e.titleColor},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),i("div",{staticClass:"weui-cells",class:{"vux-no-group-title":!e.title},style:{marginTop:"number"==typeof e.gutter?e.gutter+"px":e.gutter}},[e._t("after-title"),e._v(" "),e._t("default")],2)])},staticRenderFns:[]}},142:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"weui-cell vux-x-textarea"},[i("div",{staticClass:"weui-cell__hd"},[e.hasRestrictedLabel?i("div",{style:e.labelStyles},[e._t("restricted-label")],2):e._e(),e._v(" "),e._t("label",[e.title?i("label",{staticClass:"weui-label",style:{width:e.$parent.labelWidth||e.labelWidth+"em",textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()])],2),e._v(" "),i("div",{staticClass:"weui-cell__bd"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"textarea",staticClass:"weui-textarea",style:e.textareaStyle,attrs:{autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,placeholder:e.placeholder,readonly:e.readonly,name:e.name,rows:e.rows,cols:e.cols,maxlength:e.max},domProps:{value:e.currentValue},on:{focus:function(t){e.$emit("on-focus")},blur:function(t){e.$emit("on-blur")},input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showCounter&&e.max,expression:"showCounter && max"}],staticClass:"weui-textarea-counter",on:{click:e.focus}},[i("span",[e._v(e._s(e.count))]),e._v("/"+e._s(e.max)+"\n ")])])])},staticRenderFns:[]}},143:function(e,t,i){i(119);var a=i(1)(i(96),i(134),null,null);e.exports=a.exports},204:function(e,t,i){"use strict";var a=i(19),n=i(188),l=i(439),r=i.n(l);a.a.use(n.a),t.a=new n.a({routes:[{path:"/",name:"options",component:r.a}]})},210:function(e,t,i){i(341);var a=i(1)(i(227),i(419),null,null);e.exports=a.exports},216:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(19),n=i(210),l=i.n(n),r=i(204),s=i(83);a.a.use(s.a);var o=new s.a({locale:navigator.language});a.a.config.productionTip=!1,new a.a({router:r.a,i18n:o,render:function(e){return e(l.a)}}).$mount("#app-box")},223:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(20),n=i.n(a),l=i(212),r=i.n(l),s=i(239),o=function(e,t){var i=r()(t,function(t){return t.key===e});return i?i.value:e};t.default={mixins:[s.a],created:function(){void 0!==this.value&&(this.currentValue=this.value)},computed:{fixIos:function(){return!this.placeholder&&n()("undefined"===this.value||""===this.value)&&this.isIOS&&this.title},color:function(){return this.showPlaceholder?"#A9A9A9":""},processOptions:function(){return this.options.length&&{}.hasOwnProperty.call(this.options[0],"key")?this.options:this.options.map(function(e){return{key:e,value:e}})},showPlaceholder:function(){return!(void 0!==this.value&&""!==this.value||!this.placeholder)}},filters:{findByKey:o},watch:{value:function(e){this.currentValue=e},currentValue:function(e){this.$emit("input",e),this.$emit("on-change",e)}},props:{title:String,direction:String,options:{type:Array,required:!0},name:String,placeholder:String,readonly:Boolean,value:[Boolean,String,Number,Object]},data:function(){return{currentValue:"",isIOS:/iPad|iPhone|iPod/.test(window.navigator.userAgent)}}}},227:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app"}},228:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(32),n=i.n(a),l=i(33),r=i.n(l),s=i(143),o=i.n(s),u=i(49),c=i.n(u),d=i(435),p=i.n(d),h=i(47),v=i.n(h),f=i(50),m=i.n(f),_=i(52),x=i.n(_),g=i(44),b=i.n(g),y=i(46),w=i.n(y),k=i(45),$=i.n(k),C=i(48),S=i.n(C),V=i(51),A=i.n(V),E=i(43),N=i.n(E);t.default={components:{XHeader:c.a,Group:v.a,Selector:p.a,XInput:m.a,XTextarea:x.a,CheckIcon:b.a,Flexbox:w.a,FlexboxItem:$.a,XButton:S.a,XSwitch:A.a,Cell:N.a,Radio:o.a},i18n:{messages:{"zh-CN":{Setting:"设置","Auto intercept":"自动拦截","File type":"文件类型","Aria2 Address":"aria2服务器地址",Add:"新增",Default:"默认",Push:"推送",Name:"名称",Url:"地址",Action:"操作",Delete:"删除","Auxiliary Settings":"辅助设置","Enable cookie":"启用cookie","Catch iframe":"启用iframe拦截","Download popover":"下载队列浮窗","Refresh interval":"列表刷新间隔",s:"秒",Save:"保存",xunlei:"迅雷离线",baidu:"百度离线","Offline download":"右键离线下载菜单","Enable bitfield chart":"启用文件分块图表"}}},data:function(){var e=localStorage.getItem("safari2aria");try{e=JSON.parse(e||"{}")}catch(t){e={}}return e.language&&(this.$i18n.locale=e.language),r()({enableCookie:!0,userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4",catchIframe:!0,enableTypefiles:!0,enableXunleiLixian:!0,languageList:[{key:"en",value:"English"},{key:"zh-CN",value:"中文"}],language:navigator.language,enableBaiduLixian:!0,enableChart:!1,baidupanAutoRestart:!1,baidupanLimitSpeed:1e3,defaultRpcIndex:0,refreshTime:5,uaList:[{name:"safari 10",content:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4"}],filetypes:"mp4 flv m4v asf mpeg mkv mpg divx div 3gp wmv avi mov vob ogg ogv webm flac m4a mp3 aac wma wav ape exe app pkg zip rar dmg iso 7z jpg png jpeg tiff gif bmp pdf epub pages pptx keynote rtf doc docx",rpcList:[{name:"localhost",push:!1,url:"http://127.0.0.1:6800/jsonrpc"}]},e)},watch:{language:function(e){this.$i18n.locale=e}},methods:{addRpc:function(){this.rpcList.push({name:"localhost",push:!1,url:"http://127.0.0.1:6800/jsonrpc"})},delRpc:function(e){this.rpcList.splice(e,1)},addUa:function(){this.uaList.push({name:"",url:""})},delUa:function(e){this.uaList.splice(e,1)},save:function(){var e=JSON.parse(n()(this.$data));safari.self.tab.dispatchMessage("updateSafari2Aria",e),window.close()}}}},26:function(e,t,i){i(124);var a=i(1)(i(90),i(140),null,null);e.exports=a.exports},341:function(e,t){},346:function(e,t){},347:function(e,t){},419:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("router-view")],1)},staticRenderFns:[]}},424:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("x-header",{attrs:{"left-options":{showBack:!1}}},[e._v(e._s(e.$t("Setting")))]),e._v(" "),i("group",[i("selector",{attrs:{title:e.$t("Language"),options:e.languageList},model:{value:e.language,callback:function(t){e.language=t},expression:"language"}})],1),e._v(" "),i("group",[i("x-switch",{attrs:{title:e.$t("Auto intercept")},model:{value:e.enableTypefiles,callback:function(t){e.enableTypefiles=t},expression:"enableTypefiles"}}),e._v(" "),i("x-textarea",{directives:[{name:"show",rawName:"v-show",value:e.enableTypefiles,expression:"enableTypefiles"}],attrs:{title:e.$t("File type")},model:{value:e.filetypes,callback:function(t){e.filetypes=t},expression:"filetypes"}})],1),e._v(" "),i("group",{attrs:{title:e.$t("Aria2 Address")}},[i("div",{staticClass:"cell rpcList"},[i("flexbox",{staticClass:"header"},[i("flexbox-item",{attrs:{span:.05}},[e._v("\n "+e._s(e.$t("Default"))+"\n ")]),e._v(" "),i("flexbox-item",{attrs:{span:.05}},[e._v("\n "+e._s(e.$t("Push"))+"\n ")]),e._v(" "),i("flexbox-item",{attrs:{span:.1}},[e._v("\n "+e._s(e.$t("Name"))+"\n ")]),e._v(" "),i("flexbox-item",[e._v("\n "+e._s(e.$t("Url"))+"\n ")]),e._v(" "),i("div",{staticClass:"action"},[i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.addRpc(t)}}},[e._v(e._s(e.$t("Add")))])],1)],1),e._v(" "),e._l(e.rpcList,function(t,a){return i("flexbox",{key:a},[i("flexbox-item",{attrs:{span:.05}},[i("Radio",{attrs:{val:a,value:e.defaultRpcIndex},on:{"update:value":function(t){e.defaultRpcIndex=t}}})],1),e._v(" "),i("flexbox-item",{attrs:{span:.05}},[i("check-icon",{attrs:{value:t.push},on:{"update:value":function(e){t.push=e}}})],1),e._v(" "),i("flexbox-item",{staticClass:"name",attrs:{span:.1}},[i("x-input",{attrs:{"show-clear":!1},model:{value:t.name,callback:function(e){t.name=e},expression:"rpc.name"}})],1),e._v(" "),i("flexbox-item",{staticClass:"url"},[i("x-input",{attrs:{"show-clear":!1},model:{value:t.url,callback:function(e){t.url=e},expression:"rpc.url"}})],1),e._v(" "),e.rpcList.length>1?i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.delRpc(a)}}},[e._v(e._s(e.$t("Delete")))]):e._e()],1)})],2)]),e._v(" "),i("group",{attrs:{title:e.$t("Auxiliary Settings")}},[i("x-switch",{attrs:{title:e.$t("Enable cookie")},model:{value:e.enableCookie,callback:function(t){e.enableCookie=t},expression:"enableCookie"}}),e._v(" "),i("x-switch",{attrs:{title:e.$t("Catch iframe")},model:{value:e.catchIframe,callback:function(t){e.catchIframe=t},expression:"catchIframe"}})],1),e._v(" "),i("group",{attrs:{title:"User-Agent"}},[i("div",{staticClass:"cell rpcList"},[i("flexbox",{staticClass:"header"},[i("flexbox-item",{attrs:{span:.05}},[e._v("\n "+e._s(e.$t("Default"))+"\n ")]),e._v(" "),i("flexbox-item",{attrs:{span:.1}},[e._v("\n "+e._s(e.$t("Name"))+"\n ")]),e._v(" "),i("flexbox-item",[e._v("\n User-agent\n ")]),e._v(" "),i("div",{staticClass:"action"},[i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.addUa(t)}}},[e._v(e._s(e.$t("Add")))])],1)],1),e._v(" "),e._l(e.uaList,function(t,a){return i("flexbox",{key:a},[i("flexbox-item",{attrs:{span:.05}},[i("Radio",{attrs:{val:t.content,value:e.userAgent},on:{"update:value":function(t){e.userAgent=t}}})],1),e._v(" "),i("flexbox-item",{staticClass:"name",attrs:{span:.1}},[i("x-input",{attrs:{"show-clear":!1},model:{value:t.name,callback:function(e){t.name=e},expression:"ua.name"}})],1),e._v(" "),i("flexbox-item",{staticClass:"content"},[i("x-input",{attrs:{"show-clear":!1},model:{value:t.content,callback:function(e){t.content=e},expression:"ua.content"}})],1),e._v(" "),e.uaList.length>1?i("x-button",{attrs:{mini:""},nativeOn:{click:function(t){e.delUa(a)}}},[e._v(e._s(e.$t("Delete")))]):e._e()],1)})],2)]),e._v(" "),i("group",{attrs:{title:e.$t("Download popover")}},[i("x-input",{staticClass:"right_input",attrs:{title:e.$t("Refresh interval"),type:"number","show-clear":!1},model:{value:e.refreshTime,callback:function(t){e.refreshTime=t},expression:"refreshTime"}},[i("span",{slot:"right"},[e._v(e._s(e.$t("s")))])]),e._v(" "),i("x-switch",{attrs:{title:e.$t("Enable bitfield chart")},model:{value:e.enableChart,callback:function(t){e.enableChart=t},expression:"enableChart"}})],1),e._v(" "),i("group",{attrs:{title:e.$t("Offline download")}},[i("x-switch",{attrs:{title:e.$t("xunlei")},model:{value:e.enableXunleiLixian,callback:function(t){e.enableXunleiLixian=t},expression:"enableXunleiLixian"}}),e._v(" "),i("x-switch",{attrs:{title:e.$t("baidu")},model:{value:e.enableBaiduLixian,callback:function(t){e.enableBaiduLixian=t},expression:"enableBaiduLixian"}})],1),e._v(" "),i("group",[i("x-button",{nativeOn:{click:function(t){e.save(e.index)}}},[e._v(e._s(e.$t("Save")))])],1)],1)},staticRenderFns:[]}},425:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-selector weui-cell",class:{"weui-cell_select":!e.readonly,"weui-cell_select-after":e.title}},[e.title?i("div",{staticClass:"weui-cell__hd"},[i("label",{staticClass:"weui-label",style:{width:e.$parent.labelWidth,textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},attrs:{for:"vux-selector-"+e.uuid}},[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.readonly?i("div",{staticClass:"weui-cell__ft vux-selector-readonly"},[e._v("\n "+e._s(e._f("findByKey")(e.value,e.processOptions))+"\n ")]):i("div",{staticClass:"weui-cell__bd"},[i("select",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-select",staticStyle:{color:"red"},style:{direction:e.direction,color:e.color},attrs:{id:"vux-selector-"+e.uuid,ddd:e.color,name:e.name},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.currentValue=t.target.multiple?i:i[0]}}},[e.showPlaceholder?i("option",{attrs:{value:""},domProps:{selected:void 0===e.value&&e.placeholder}},[e._v(e._s(e.placeholder))]):e._e(),e._v(" "),e.fixIos?i("option",{attrs:{disabled:""}}):e._e(),e._v(" "),e._l(e.processOptions,function(t){return i("option",{domProps:{value:t.key}},[e._v(e._s(t.value))])})],2)])])},staticRenderFns:[]}},43:function(e,t,i){i(118);var a=i(1)(i(85),i(133),null,null);e.exports=a.exports},435:function(e,t,i){i(347);var a=i(1)(i(223),i(425),null,null);e.exports=a.exports},439:function(e,t,i){i(346);var a=i(1)(i(228),i(424),null,null);e.exports=a.exports},44:function(e,t,i){i(121);var a=i(1)(i(86),i(137),null,null);e.exports=a.exports},45:function(e,t,i){var a=i(1)(i(87),i(136),null,null);e.exports=a.exports},46:function(e,t,i){i(116);var a=i(1)(i(88),i(131),null,null);e.exports=a.exports},47:function(e,t,i){i(125);var a=i(1)(i(89),i(141),null,null);e.exports=a.exports},48:function(e,t,i){i(115);var a=i(1)(i(91),i(130),null,null);e.exports=a.exports},49:function(e,t,i){i(117);var a=i(1)(i(92),i(132),null,null);e.exports=a.exports},50:function(e,t,i){i(122);var a=i(1)(i(93),i(138),null,null);e.exports=a.exports},51:function(e,t,i){i(120);var a=i(1)(i(94),i(135),null,null);e.exports=a.exports},52:function(e,t,i){i(126);var a=i(1)(i(95),i(142),null,null);e.exports=a.exports},85:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(12),n=i.n(a),l=i(36),r=i(150);t.default={components:{InlineDesc:n.a},props:i.i(r.a)(),beforeMount:function(){this.hasTitleSlot=!!this.$slots.title},computed:{valueClass:function(){return{"vux-cell-primary":"content"===this.primary||"left"===this.valueAlign,"vux-cell-align-left":"left"===this.valueAlign,"vux-cell-arrow-transition":!!this.arrowDirection,"vux-cell-arrow-up":"up"===this.arrowDirection,"vux-cell-arrow-down":"down"===this.arrowDirection}}},methods:{getLabelStyles:function(){return{width:this.$parent.labelWidth||this.$parent.$parent.labelWidth,textAlign:this.$parent.labelAlign||this.$parent.$parent.labelAlign,marginRight:this.$parent.labelMarginRight||this.$parent.$parent.labelMarginRight}},onClick:function(){!this.disabled&&i.i(l.a)(this.link,this.$router)}},data:function(){return{hasTitleSlot:!1}}}},86:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(26),n=i.n(a);t.default={components:{Icon:n.a},methods:{updateValue:function(){this.$emit("update:value",!this.value)}},props:{value:{type:Boolean,default:!1},type:{type:String,default:"default"}}}},87:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=["-moz-box-","-webkit-box-",""];t.default={props:{span:[Number,String],order:[Number,String]},beforeMount:function(){this.bodyWidth=document.documentElement.offsetWidth},methods:{buildWidth:function(e){return"number"==typeof e?e<1?e:e/12:"string"==typeof e?e.replace("px","")/this.bodyWidth:void 0}},computed:{style:function(){var e={};if(e["horizontal"===this.$parent.orient?"marginLeft":"marginTop"]=this.$parent.gutter+"px",this.span)for(var t=0;t=2&&e.length<=6},msg:"中文姓名"}};t.default={created:function(){var e=this;this.currentValue=this.value||"",this.title||this.placeholder||this.currentValue||console.warn("no title and no placeholder?"),this.required&&!this.currentValue&&(this.valid=!1),this.handleChangeEvent=!0,this.debounce&&(this._debounce=i.i(v.a)(function(){e.$emit("on-change",e.currentValue)},this.debounce))},mounted:function(){this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0)},beforeDestroy:function(){this._debounce&&this._debounce.cancel()},mixins:[l.a],components:{Icon:s.a,InlineDesc:u.a},props:{title:{type:String,default:""},type:{type:String,default:"text"},placeholder:String,value:[String,Number],name:String,readonly:Boolean,disabled:Boolean,keyboard:String,inlineDesc:String,isType:[String,Function],min:Number,max:Number,showClear:{type:Boolean,default:!0},equalWith:String,textAlign:String,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},novalidate:{type:Boolean,default:!1},iconType:String,debounce:Number,placeholderAlign:String,labelWidth:String},computed:{labelStyles:function(){return{width:this.labelWidthComputed||this.$parent.labelWidth||this.labelWidthComputed,textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},pattern:function(){if("number"===this.keyboard||"china-mobile"===this.isType)return"[0-9]*"},labelWidthComputed:function(){var e=this.title.replace(/[^x00-xff]/g,"00").length/2+1;if(e<10)return e+"em"},hasErrors:function(){return n()(this.errors).length>0},inputStyle:function(){if(this.textAlign)return{textAlign:this.textAlign}},showWarn:function(){return!this.novalidate&&!this.equalWith&&!this.valid&&this.firstError&&(this.touched||this.forceShowError)}},methods:{reset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.dirty=!1,this.currentValue=e,this.firstError="",this.valid=!0},clear:function(){this.currentValue="",this.focus()},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},focusHandler:function(){this.$emit("on-focus",this.currentValue)},onBlur:function(){this.setTouched(),this.validate(),this.$emit("on-blur",this.currentValue)},onKeyUp:function(e){"Enter"===e.key&&(e.target.blur(),this.$emit("on-enter",this.currentValue))},getError:function(){var e=n()(this.errors)[0];this.firstError=this.errors[e]},validate:function(){if(void 0!==this.equalWith)return void this.validateEqual();if(this.errors={},!this.currentValue&&!this.required)return void(this.valid=!0);if(!this.currentValue&&this.required)return this.valid=!1,this.errors.required="必填哦",void this.getError();if("string"==typeof this.isType){var e=f[this.isType];if(e){if(this.valid=e.fn(this.currentValue),!this.valid)return void(this.errors.format=e.msg+"格式不对哦~");delete this.errors.format}}if("function"==typeof this.isType){var t=this.isType(this.currentValue);if(this.valid=t.valid,!this.valid)return this.errors.format=t.msg,this.forceShowError=!0,void(this.firstError||this.getError());delete this.errors.format}if(this.min){if(this.currentValue.lengththis.max)return this.errors.max="最多可以输入"+this.max+"个字符哦",this.valid=!1,void(this.forceShowError=!0);this.forceShowError=!1,delete this.errors.max}this.valid=!0},validateEqual:function(){return!this.equalWith&&this.currentValue?(this.valid=!1,void(this.errors.equal="输入不一致")):(this.dirty||this.currentValue.length>=this.equalWith.length)&&this.currentValue!==this.equalWith?(this.valid=!1,void(this.errors.equal="输入不一致")):void(!this.currentValue&&this.required?this.valid=!1:(this.valid=!0,delete this.errors.equal))}},data:function(){return{hasRestrictedLabel:!1,firstError:"",forceShowError:!1,hasLengthEqual:!1,valid:!0,currentValue:""}},watch:{valid:function(){this.getError()},value:function(e){this.currentValue=e},equalWith:function(e){e&&this.equalWith?(e.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate()},currentValue:function(e){!this.equalWith&&e&&this.validateEqual(),e&&this.equalWith?(e.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate(),this.$emit("input",e),this._debounce?this._debounce():this.$emit("on-change",e)}}}},94:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(12),n=i.n(a);t.default={components:{InlineDesc:n.a},computed:{labelStyle:function(){var e=/<\/?[^>]*>/.test(this.title);return{display:"block",width:Math.min(e?5:this.title.length+1,14)+"em"}}},props:{title:{type:String,required:!0},disabled:Boolean,value:{type:Boolean,default:!1},inlineDesc:[String,Boolean,Number]},data:function(){return{currentValue:this.value}},watch:{currentValue:function(e){this.$emit("input",e),this.$emit("on-change",e)},value:function(e){this.currentValue=e}}}},95:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(35),n=i(12),l=i.n(n),r=i(148),s=i.n(r);t.default={minxins:[a.a],mounted:function(){var e=this;this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0),this.$nextTick(function(){e.autosize&&e.bindAutosize()})},components:{InlineDesc:l.a},props:{title:String,inlineDesc:String,showCounter:{type:Boolean,default:!0},max:Number,value:String,name:String,placeholder:String,readonly:Boolean,rows:{type:Number,default:3},cols:{type:Number,default:30},height:Number,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},autosize:Boolean},created:function(){this.currentValue=this.value},watch:{autosize:function(e){this.unbindAutosize(),e&&this.bindAutosize()},value:function(e){this.currentValue=e},currentValue:function(e){this.max&&e&&e.length>this.max&&(this.currentValue=e.slice(0,this.max)),this.$emit("input",this.currentValue),this.$emit("on-change",this.currentValue)}},data:function(){return{hasRestrictedLabel:!1,currentValue:""}},computed:{count:function(){var e=0;return this.currentValue&&(e=this.currentValue.replace(/\n/g,"aa").length),e>this.max?this.max:e},textareaStyle:function(){if(this.height)return{height:this.height+"px"}},labelStyles:function(){return{width:this.$parent.labelWidth||this.labelWidth+"em",textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},labelWidth:function(){return this.title.replace(/[^x00-xff]/g,"00").length/2+1}},methods:{bindAutosize:function(){s()(this.$refs.textarea)},unbindAutosize:function(){s.a.destroy(this.$refs.textarea)},focus:function(){this.$refs.textarea.focus()}},beforeDestroy:function(){this.unbindAutosize()}}},96:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(26),n=i.n(a);t.default={components:{Icon:n.a},methods:{updateValue:function(){this.$emit("update:value",this.val)}},props:{value:[String,Number],val:[String,Number],type:{type:String,default:"default"}}}}},[216]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/popover.567ca9495ff78caf3ed2.js b/safari2aria.safariextension/static/js/popover.567ca9495ff78caf3ed2.js new file mode 100644 index 0000000..cd766ca --- /dev/null +++ b/safari2aria.safariextension/static/js/popover.567ca9495ff78caf3ed2.js @@ -0,0 +1 @@ +webpackJsonp([1],[,,,,,,,function(t,e,i){i(81);var n=i(1)(null,i(97),null,null);t.exports=n.exports},,,,,,,,function(t,e,i){i(82);var n=i(1)(i(63),i(98),null,null);t.exports=n.exports},,,,,,,,function(t,e,i){i(76);var n=i(1)(i(58),i(91),null,null);t.exports=n.exports},function(t,e,i){i(79);var n=i(1)(i(59),i(95),null,null);t.exports=n.exports},function(t,e,i){var n=i(1)(i(60),i(94),null,null);t.exports=n.exports},function(t,e,i){i(74);var n=i(1)(i(61),i(89),null,null);t.exports=n.exports},function(t,e,i){i(83);var n=i(1)(i(62),i(99),null,null);t.exports=n.exports},function(t,e,i){i(73);var n=i(1)(i(64),i(88),null,null);t.exports=n.exports},function(t,e,i){i(75);var n=i(1)(i(65),i(90),null,null);t.exports=n.exports},function(t,e,i){i(80);var n=i(1)(i(66),i(96),null,null);t.exports=n.exports},function(t,e,i){i(78);var n=i(1)(i(67),i(93),null,null);t.exports=n.exports},function(t,e,i){i(84);var n=i(1)(i(68),i(100),null,null);t.exports=n.exports},,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";(function(t){var e=i(127),n=i.n(e),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(e){var i=void 0!==t&&t.exports,s=function t(e){this.callbacks=Object.create(null),this.lastId=0;for(var i in t.options)this[i]="object"===(void 0===e?"undefined":a(e))&&i in e?e[i]:t.options[i]};s.prototype.http=function(t,e){var i=this,n={method:t.method,id:t.id};Array.isArray(t.params)&&t.params.length>0&&(n.params=t.params);var a="http"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path;fetch(a,{method:"POST",body:JSON.stringify(n),headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(t){return t.json()}).then(function(t){i._onmessage(t)}).catch(e)},s.prototype.send=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof e[e.length-1]?e.pop():null;return this.exec(t,e,i)},s.prototype.exec=function(t,e,i){if("string"!=typeof t)throw new TypeError(t+" is not a string");0!==t.indexOf("system.")&&0!==t.indexOf("aria2.")&&(t="aria2."+t);var a={method:t,"json-rpc":"2.0",id:this.lastId++},s=this.secret?["token:"+this.secret]:[];Array.isArray(e)&&("system.multicall"===t?(Array.isArray(e[0])&&e[0].forEach(function(t){t.params||(t.params=[]),t.params=s.concat(t.params)}),s=e):s=s.concat(e)),s.length>0&&(a.params=s),this.onsend(a);var o=this;return this.socket&&1===this.socket.readyState?this.socket.send(JSON.stringify(a)):this.http(a,function(t){o.callbacks[a.id](t),delete o.callbacks[a.id]}),n()(function(t){o.callbacks[a.id]=t},i)},s.prototype._onmessage=function(t){if(this.onmessage(t),void 0!==t.id){var e=this.callbacks[t.id];e&&(t.error?e(t.error):e(null,t.result),delete this.callbacks[t.id])}else if(t.method){var i=t.method.split("aria2.")[1];0===i.indexOf("on")&&"function"==typeof this[i]&&s.notifications.indexOf(i)>-1&&this[i].apply(this,t.params)}},s.prototype.open=function(t){var e="ws"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path,i=this.socket=new WebSocket(e),a=this,s=!1;return i.onmessage=function(t){a._onmessage(JSON.parse(t.data))},n()(function(t){i.onopen=function(){s||(t(),s=!0),a.onopen()},i.onclose=function(e){a.onclose(),1006==e.code&&(s||(t(e),s=!0))},i.onerror=function(e){s||(t(e),s=!0)}},t)},s.prototype.close=function(t){var e=this.socket;return n()(function(t){e?(e.addEventListener("close",function(){t()}),e.close()):t()},t)},s.methods=["addUri","addTorrent","addMetalink","remove","forceRemove","pause","pauseAll","forcePause","forcePauseAll","unpause","unpauseAll","tellStatus","getUris","getFiles","getPeers","getServers","tellActive","tellWaiting","tellStopped","changePosition","changeUri","getOption","changeOption","getGlobalOption","changeGlobalOption","getGlobalStat","purgeDownloadResult","removeDownloadResult","getVersion","getSessionInfo","shutdown","forceShutdown","saveSession","system.multicall","system.listMethods","system.listNotifications"],s.notifications=["onDownloadStart","onDownloadPause","onDownloadStop","onDownloadComplete","onDownloadError","onBtDownloadComplete"],s.events=["onopen","onclose","onsend","onmessage"],s.options={secure:!1,host:"localhost",port:6800,secret:"",path:"/jsonrpc"},s.methods.forEach(function(t){var e=t.indexOf(".")>-1?t.split(".")[1]:t;s.prototype[e]=function(){return this.send.apply(this,[t].concat(Array.prototype.slice.call(arguments)))}}),s.notifications.forEach(function(t){s.prototype[t]=function(){}}),s.events.forEach(function(t){s.prototype[t]=function(){}}),i?t.exports=s:e.Aria2=s}(this)}).call(e,i(132)(t))},,,function(t,e,i){"use strict";function n(t){var e="";return e=t.bittorrent?r()(t,"bittorrent.info.name",["BT:",t.infoHash].join("")):r()(t,"files[0].path","").replace(/^.*[\\\/]/,""),e||(e=r()(t,"files[0].uris[0].uri")),e||"..."}function a(t,e){t=Number(t);var i=["Bytes","KB","MB","GB","TB"];if(0===t)return"0 KB";var n=parseInt(Math.floor(Math.log(t)/Math.log(1e3)),10);if(0===n)return t+" "+i[n];var a=[1,1,10,100,100][n];return Number.isInteger(e)&&(a=Math.pow(10,e)),""+Math.floor(100*t/Math.pow(1024,n)*a)/(100*a)+i[n]}function s(t,e){function i(t,e){return(new Array(e+1).join("0")+t).slice(-e)}var n=/((?:[^ydhms']+)|(?:'(?:[^']|'')*')|(?:y+|d+|h+|m+|s+))(.*)/,a={y:{value:31536e6},yy:{value:"y",pad:2},d:{value:864e5},dd:{value:"d",pad:2},h:{value:36e5},hh:{value:"h",pad:2},m:{value:6e4},mm:{value:"m",pad:2},s:{value:1e3},ss:{value:"s",pad:2},sss:{value:1},ssss:{value:"sss",pad:4}},s=parseFloat(t,10),o=function(t){for(var e=[],i=t?t.toString():"";i;){var a=n.exec(i);a?(e=e.concat(a.slice(1)),i=e.pop()):(e.push(i),i=null)}return e}(e);return isNaN(s)||0===o.length?t:function(t,e){var n="",s={};e.filter(function(t){return a.hasOwnProperty(t)}).map(function(t){var e=a[t];return e.hasOwnProperty("pad")?e.value:t}).filter(function(t,e,i){return i.indexOf(t)===e}).map(function(t){return Object.assign({name:t},a[t])}).sort(function(t,e){return e.value-t.value}).forEach(function(e){var i=s[e.name]=Math.floor(t/e.value);t-=i*e.value});for(var o=0;o=2&&t.length<=6},msg:"中文姓名"}};e.default={created:function(){var t=this;this.currentValue=this.value||"",this.title||this.placeholder||this.currentValue||console.warn("no title and no placeholder?"),this.required&&!this.currentValue&&(this.valid=!1),this.handleChangeEvent=!0,this.debounce&&(this._debounce=i.i(h.a)(function(){t.$emit("on-change",t.currentValue)},this.debounce))},mounted:function(){this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0)},beforeDestroy:function(){this._debounce&&this._debounce.cancel()},mixins:[n.a],components:{Icon:s.a,InlineDesc:r.a},props:{title:{type:String,default:""},type:{type:String,default:"text"},placeholder:String,value:[String,Number],name:String,readonly:Boolean,disabled:Boolean,keyboard:String,inlineDesc:String,isType:[String,Function],min:Number,max:Number,showClear:{type:Boolean,default:!0},equalWith:String,textAlign:String,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},novalidate:{type:Boolean,default:!1},iconType:String,debounce:Number,placeholderAlign:String,labelWidth:String},computed:{labelStyles:function(){return{width:this.labelWidthComputed||this.$parent.labelWidth||this.labelWidthComputed,textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},pattern:function(){if("number"===this.keyboard||"china-mobile"===this.isType)return"[0-9]*"},labelWidthComputed:function(){var t=this.title.replace(/[^x00-xff]/g,"00").length/2+1;if(t<10)return t+"em"},hasErrors:function(){return Object.keys(this.errors).length>0},inputStyle:function(){if(this.textAlign)return{textAlign:this.textAlign}},showWarn:function(){return!this.novalidate&&!this.equalWith&&!this.valid&&this.firstError&&(this.touched||this.forceShowError)}},methods:{reset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.dirty=!1,this.currentValue=t,this.firstError="",this.valid=!0},clear:function(){this.currentValue="",this.focus()},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},focusHandler:function(){this.$emit("on-focus",this.currentValue)},onBlur:function(){this.setTouched(),this.validate(),this.$emit("on-blur",this.currentValue)},onKeyUp:function(t){"Enter"===t.key&&(t.target.blur(),this.$emit("on-enter",this.currentValue))},getError:function(){var t=Object.keys(this.errors)[0];this.firstError=this.errors[t]},validate:function(){if(void 0!==this.equalWith)return void this.validateEqual();if(this.errors={},!this.currentValue&&!this.required)return void(this.valid=!0);if(!this.currentValue&&this.required)return this.valid=!1,this.errors.required="必填哦",void this.getError();if("string"==typeof this.isType){var t=p[this.isType];if(t){if(this.valid=t.fn(this.currentValue),!this.valid)return void(this.errors.format=t.msg+"格式不对哦~");delete this.errors.format}}if("function"==typeof this.isType){var e=this.isType(this.currentValue);if(this.valid=e.valid,!this.valid)return this.errors.format=e.msg,this.forceShowError=!0,void(this.firstError||this.getError());delete this.errors.format}if(this.min){if(this.currentValue.lengththis.max)return this.errors.max="最多可以输入"+this.max+"个字符哦",this.valid=!1,void(this.forceShowError=!0);this.forceShowError=!1,delete this.errors.max}this.valid=!0},validateEqual:function(){return!this.equalWith&&this.currentValue?(this.valid=!1,void(this.errors.equal="输入不一致")):(this.dirty||this.currentValue.length>=this.equalWith.length)&&this.currentValue!==this.equalWith?(this.valid=!1,void(this.errors.equal="输入不一致")):void(!this.currentValue&&this.required?this.valid=!1:(this.valid=!0,delete this.errors.equal))}},data:function(){return{hasRestrictedLabel:!1,firstError:"",forceShowError:!1,hasLengthEqual:!1,valid:!0,currentValue:""}},watch:{valid:function(){this.getError()},value:function(t){this.currentValue=t},equalWith:function(t){t&&this.equalWith?(t.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate()},currentValue:function(t){!this.equalWith&&t&&this.validateEqual(),t&&this.equalWith?(t.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate(),this.$emit("input",t),this._debounce?this._debounce():this.$emit("on-change",t)}}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(7),a=i.n(n);e.default={components:{InlineDesc:a.a},computed:{labelStyle:function(){var t=/<\/?[^>]*>/.test(this.title);return{display:"block",width:Math.min(t?5:this.title.length+1,14)+"em"}}},props:{title:{type:String,required:!0},disabled:Boolean,value:{type:Boolean,default:!1},inlineDesc:[String,Boolean,Number]},data:function(){return{currentValue:this.value}},watch:{currentValue:function(t){this.$emit("input",t),this.$emit("on-change",t)},value:function(t){this.currentValue=t}}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(19),a=i(7),s=i.n(a),o=i(106),r=i.n(o);e.default={minxins:[n.a],mounted:function(){var t=this;this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0),this.$nextTick(function(){t.autosize&&t.bindAutosize()})},components:{InlineDesc:s.a},props:{title:String,inlineDesc:String,showCounter:{type:Boolean,default:!0},max:Number,value:String,name:String,placeholder:String,readonly:Boolean,rows:{type:Number,default:3},cols:{type:Number,default:30},height:Number,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},autosize:Boolean},created:function(){this.currentValue=this.value},watch:{autosize:function(t){this.unbindAutosize(),t&&this.bindAutosize()},value:function(t){this.currentValue=t},currentValue:function(t){this.max&&t&&t.length>this.max&&(this.currentValue=t.slice(0,this.max)),this.$emit("input",this.currentValue),this.$emit("on-change",this.currentValue)}},data:function(){return{hasRestrictedLabel:!1,currentValue:""}},computed:{count:function(){var t=0;return this.currentValue&&(t=this.currentValue.replace(/\n/g,"aa").length),t>this.max?this.max:t},textareaStyle:function(){if(this.height)return{height:this.height+"px"}},labelStyles:function(){return{width:this.$parent.labelWidth||this.labelWidth+"em",textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},labelWidth:function(){return this.title.replace(/[^x00-xff]/g,"00").length/2+1}},methods:{bindAutosize:function(){r()(this.$refs.textarea)},unbindAutosize:function(){r.a.destroy(this.$refs.textarea)},focus:function(){this.$refs.textarea.focus()}},beforeDestroy:function(){this.unbindAutosize()}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(15),a=i.n(n);e.default={components:{Icon:a.a},methods:{updateValue:function(){this.$emit("update:value",this.val)}},props:{value:[String,Number],val:[String,Number],type:{type:String,default:"default"}}}},,,,function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},,,,function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"weui-btn",class:t.classes,attrs:{disabled:t.disabled,type:t.actionType},on:{click:t.onClick}},[t.showLoading?i("i",{staticClass:"weui-loading"}):t._e(),t._v(" "),t._t("default",[t._v(t._s(t.text))])],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"vux-flexbox",class:{"vux-flex-col":"vertical"===t.orient,"vux-flex-row":"horizontal"===t.orient},style:t.styles},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-header"},[i("div",{staticClass:"vux-header-left"},[t._t("overwrite-left",[i("transition",{attrs:{name:t.transition}},[i("a",{directives:[{name:"show",rawName:"v-show",value:t._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"vux-header-back",on:{click:[function(e){if(!("button"in e)&&t._k(e.keyCode,"preventDefault"))return null},t.onClickBack]}},[t._v(t._s(void 0===t._leftOptions.backText?"返回":t._leftOptions.backText))])]),t._v(" "),i("transition",{attrs:{name:t.transition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"left-arrow",on:{click:t.onClickBack}})])]),t._v(" "),t._t("left")],2),t._v(" "),i("h1",{staticClass:"vux-header-title",on:{click:function(e){t.$emit("on-click-title")}}},[t._t("default",[i("transition",{attrs:{name:t.transition}},[i("span",{directives:[{name:"show",rawName:"v-show",value:t.title,expression:"title"}]},[t._v(t._s(t.title))])])])],2),t._v(" "),i("div",{staticClass:"vux-header-right"},[t.rightOptions.showMore?i("a",{staticClass:"vux-header-more",on:{click:[function(e){if(!("button"in e)&&t._k(e.keyCode,"preventDefault"))return null},function(e){t.$emit("on-click-more")}]}}):t._e(),t._v(" "),t._t("right")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"weui-cell",class:{"vux-tap-active":t.isLink||!!t.link,"weui-cell_access":t.isLink||!!t.link,"vux-cell-no-border-intent":!t.borderIntent,"vux-cell-disabled":t.disabled},on:{click:t.onClick}},[i("div",{staticClass:"weui-cell__hd"},[t._t("icon")],2),t._v(" "),i("div",{staticClass:"vux-cell-bd",class:{"vux-cell-primary":"title"===t.primary&&"left"!==t.valueAlign}},[i("p",[t.title||t.hasTitleSlot?i("label",{staticClass:"vux-label",style:t.getLabelStyles()},[t._t("title",[t._v(t._s(t.title))])],2):t._e(),t._v(" "),t._t("after-title")],2),t._v(" "),i("inline-desc",[t._t("inline-desc",[t._v(t._s(t.inlineDesc))])],2)],1),t._v(" "),i("div",{staticClass:"weui-cell__ft",class:t.valueClass},[t._t("value"),t._v(" "),t._t("default",[t._v(t._s(t.value))]),t._v(" "),t.isLoading?i("i",{staticClass:"weui-loading"}):t._e()],2),t._v(" "),t._t("child")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-check-icon",on:{click:t.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===t.type&&t.value===t.val,expression:"type === 'default' && value === val"}],attrs:{type:"success"}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===t.type&&t.value===t.val,expression:"type === 'plain' && value === val"}],attrs:{type:"success_circle"}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:t.value!==t.val,expression:"value !== val"}],attrs:{type:"circle"}}),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"radio",attrs:{type:"radio"},domProps:{value:t.val,checked:t._q(t.value,t.val)},on:{__c:function(e){t.value=t.val}}}),t._v(" "),i("span",[t._t("default")],2)],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-x-switch weui-cell weui-cell_switch"},[i("div",{staticClass:"weui-cell__bd"},[i("label",{staticClass:"weui-label",style:t.labelStyle,domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t.inlineDesc?i("inline-desc",[t._v(t._s(t.inlineDesc))]):t._e()],1),t._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],staticClass:"weui-switch",attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.currentValue)?t._i(t.currentValue,null)>-1:t.currentValue},on:{__c:function(e){var i=t.currentValue,n=e.target,a=!!n.checked;if(Array.isArray(i)){var s=t._i(i,null);a?s<0&&(t.currentValue=i.concat(null)):s>-1&&(t.currentValue=i.slice(0,s).concat(i.slice(s+1)))}else t.currentValue=a}}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"vux-flexbox-item",style:t.style},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-check-icon",on:{click:t.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===t.type&&t.value,expression:"type === 'default' && value"}],attrs:{type:"success"}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===t.type&&t.value,expression:"type === 'plain' && value"}],attrs:{type:"success_circle"}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!t.value,expression:"!value"}],attrs:{type:"circle"}}),t._v(" "),i("span",[t._t("default")],2)],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-x-input weui-cell",class:{"weui-cell_warn":t.showWarn}},[i("div",{staticClass:"weui-cell__hd"},[t.hasRestrictedLabel?i("div",{style:t.labelStyles},[t._t("restricted-label")],2):t._e(),t._v(" "),t._t("label",[t.title?i("label",{staticClass:"weui-label",style:{width:t.labelWidth||t.$parent.labelWidth||t.labelWidthComputed,textAlign:t.$parent.labelAlign,marginRight:t.$parent.labelMarginRight},domProps:{innerHTML:t._s(t.title)}}):t._e(),t._v(" "),t.inlineDesc?i("inline-desc",[t._v(t._s(t.inlineDesc))]):t._e()])],2),t._v(" "),i("div",{staticClass:"weui-cell__bd weui-cell__primary",class:t.placeholderAlign?"vux-x-input-placeholder-"+t.placeholderAlign:""},[t.type&&"text"!==t.type?t._e():i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:t.inputStyle,attrs:{maxlength:t.max,autocomplete:t.autocomplete,autocapitalize:t.autocapitalize,autocorrect:t.autocorrect,spellcheck:t.spellcheck,type:"text",name:t.name,pattern:t.pattern,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:t.focusHandler,blur:t.onBlur,keyup:t.onKeyUp,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t._v(" "),"number"===t.type?i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:t.inputStyle,attrs:{maxlength:t.max,autocomplete:t.autocomplete,autocapitalize:t.autocapitalize,autocorrect:t.autocorrect,spellcheck:t.spellcheck,type:"number",name:t.name,pattern:t.pattern,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:t.focusHandler,blur:[t.onBlur,function(e){t.$forceUpdate()}],keyup:t.onKeyUp,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"email"===t.type?i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:t.inputStyle,attrs:{maxlength:t.max,autocomplete:t.autocomplete,autocapitalize:t.autocapitalize,autocorrect:t.autocorrect,spellcheck:t.spellcheck,type:"email",name:t.name,pattern:t.pattern,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:t.focusHandler,blur:t.onBlur,keyup:t.onKeyUp,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"password"===t.type?i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:t.inputStyle,attrs:{maxlength:t.max,autocomplete:t.autocomplete,autocapitalize:t.autocapitalize,autocorrect:t.autocorrect,spellcheck:t.spellcheck,type:"password",name:t.name,pattern:t.pattern,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:t.focusHandler,blur:t.onBlur,keyup:t.onKeyUp,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e(),t._v(" "),"tel"===t.type?i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:t.inputStyle,attrs:{maxlength:t.max,autocomplete:t.autocomplete,autocapitalize:t.autocapitalize,autocorrect:t.autocorrect,spellcheck:t.spellcheck,type:"tel",name:t.name,pattern:t.pattern,placeholder:t.placeholder,readonly:t.readonly,disabled:t.disabled},domProps:{value:t.currentValue},on:{focus:t.focusHandler,blur:t.onBlur,keyup:t.onKeyUp,input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}):t._e()]),t._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("icon",{directives:[{name:"show",rawName:"v-show",value:!t.equalWith&&t.showClear&&t.currentValue&&!t.readonly&&!t.disabled,expression:"!equalWith && showClear && currentValue && !readonly && !disabled"}],attrs:{type:"clear"},nativeOn:{click:function(e){t.clear(e)}}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:t.showWarn,expression:"showWarn"}],staticClass:"vux-input-icon",attrs:{type:"warn",title:t.valid?"":t.firstError}}),t._v(" "),!t.novalidate&&t.hasLengthEqual&&t.dirty&&t.equalWith&&!t.valid?i("icon",{staticClass:"vux-input-icon",attrs:{type:"warn"}}):t._e(),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!t.novalidate&&t.equalWith&&t.equalWith===t.currentValue&&t.valid,expression:"!novalidate && equalWith && equalWith === currentValue && valid"}],attrs:{type:"success"}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:t.novalidate&&"success"===t.iconType,expression:"novalidate && iconType === 'success'"}],staticClass:"vux-input-icon",attrs:{type:"success"}}),t._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:t.novalidate&&"error"===t.iconType,expression:"novalidate && iconType === 'error'"}],staticClass:"vux-input-icon",attrs:{type:"warn"}}),t._v(" "),t._t("right")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",{staticClass:"vux-label-desc"},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("i",{class:[t.className,t.isMsg?"weui-icon_msg":""]})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t.title?i("div",{staticClass:"weui-cells__title",style:{color:t.titleColor},domProps:{innerHTML:t._s(t.title)}}):t._e(),t._v(" "),i("div",{staticClass:"weui-cells",class:{"vux-no-group-title":!t.title},style:{marginTop:"number"==typeof t.gutter?t.gutter+"px":t.gutter}},[t._t("after-title"),t._v(" "),t._t("default")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"weui-cell vux-x-textarea"},[i("div",{staticClass:"weui-cell__hd"},[t.hasRestrictedLabel?i("div",{style:t.labelStyles},[t._t("restricted-label")],2):t._e(),t._v(" "),t._t("label",[t.title?i("label",{staticClass:"weui-label",style:{width:t.$parent.labelWidth||t.labelWidth+"em",textAlign:t.$parent.labelAlign,marginRight:t.$parent.labelMarginRight},domProps:{innerHTML:t._s(t.title)}}):t._e(),t._v(" "),t.inlineDesc?i("inline-desc",[t._v(t._s(t.inlineDesc))]):t._e()])],2),t._v(" "),i("div",{staticClass:"weui-cell__bd"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"textarea",staticClass:"weui-textarea",style:t.textareaStyle,attrs:{autocomplete:t.autocomplete,autocapitalize:t.autocapitalize,autocorrect:t.autocorrect,spellcheck:t.spellcheck,placeholder:t.placeholder,readonly:t.readonly,name:t.name,rows:t.rows,cols:t.cols,maxlength:t.max},domProps:{value:t.currentValue},on:{focus:function(e){t.$emit("on-focus")},blur:function(e){t.$emit("on-blur")},input:function(e){e.target.composing||(t.currentValue=e.target.value)}}}),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.showCounter&&t.max,expression:"showCounter && max"}],staticClass:"weui-textarea-counter",on:{click:t.focus}},[i("span",[t._v(t._s(t.count))]),t._v("/"+t._s(t.max)+"\n ")])])])},staticRenderFns:[]}},function(t,e,i){i(77);var n=i(1)(i(69),i(92),null,null);t.exports=n.exports},,,,,,function(t,e,i){"use strict";var n=i(55),a=(i.n(n),i(18)),s=i.n(a);i(54);e.a={getConfig:function(){var t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],s()(safari,"extension.globalPage.contentWindow.s2a",{}));if(t.getConfig){var e=t.getConfig();e.aria2Connects}return t}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";var n=i(12),a=i(131),s=i(328),o=i.n(s);n.a.use(a.a),e.a=new a.a({routes:[{path:"/",name:"Index",component:o.a}]})},function(t,e,i){"use strict";function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function a(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1?n-1:0),o=1;o1?e-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:{config:{}},n=JSON.parse(JSON.stringify(p({},e.config,i.config)));f.dispatchMessage({name:"updateSafari2Aria",message:n})},toggleSelectedStatus:function(t){var e=t.dispatch,i=t.state,n=t.getters,a=(t.commit,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),s=o()(a,"gids",i.selectedGids),r=n.taskLists.filter(function(t){return~s.indexOf(t.gid)}),l={active:[],paused:[]};r.map(function(t){var e=t.status;e="waiting"===e?"active":e,l[e]=l[e]||[],l[e].push(t.gid)});var c=l.active.length>=l.paused.length?"active":"paused",u=l.active.length>=l.paused.length?"pause":"unpause";return l.active.length||l.paused.length?v.mutilCall(i.currentServerUrl,l[c].map(function(t){return{methodName:"aria2."+u,params:[t]}})).then(function(){return e("getTaskList")}):Promise.resolve("no change")},saveOptions:function(t){var e=t.dispatch,i=t.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v.sendCall(i.currentServerUrl,"aria2.changeGlobalOption",p({},n.options)).then(function(){return e("getTaskList",{loadOptions:!0})}).catch(function(t){console.log(t)})},startSelectedDownloads:function(t){var e=t.dispatch,i=t.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o()(n,"gids",i.selectedGids);return v.mutilCall(i.currentServerUrl,a.map(function(t){return{methodName:"aria2.unpause",params:[t]}})).then(function(){return e("getTaskList")})},pauseSelectedDownloads:function(t){var e=t.dispatch,i=t.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o()(n,"gids",i.selectedGids);return v.mutilCall(i.currentServerUrl,a.map(function(t){return{methodName:"aria2.pause",params:[t]}})).then(function(){return e("getTaskList")})},removeSelectedDownloads:function(t){var e=t.dispatch,i=t.state,n=t.getters,a=t.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=o()(s,"gids",i.selectedGids),l=n.taskLists.filter(function(t){return~r.indexOf(t.gid)});return v.mutilCall(i.currentServerUrl,l.map(function(t){return{methodName:"aria2."+(~["active","paused","waiting"].indexOf(t.status)?"remove":"removeDownloadResult"),params:[t.gid]}})).then(function(){return a("setSelected",{selected:[]}),e("getTaskList")})},removeStoppedDownloads:function(t){var e=t.dispatch,i=t.state,n=(t.getters,t.commit);arguments.length>1&&void 0!==arguments[1]&&arguments[1];return v.sendCall(i.currentServerUrl,"aria2.purgeDownloadResult").then(function(){return n("setSelected",{selected:[]}),e("getTaskList")})},getTaskList:function(t){var e=t.commit,i=t.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!v.get_s2a())return Promise.reject("获取global变量错误");i.currentServerUrl||e("refreshServerList");var a=[{methodName:"aria2.tellActive",params:[]}];return n.activeList||a.push({methodName:"aria2.tellWaiting",params:[0,1e3]},{methodName:"aria2.tellStopped",params:[0,1e3]}),a.push({methodName:"aria2.getGlobalStat",params:null}),n.loadOptions&&a.push({methodName:"aria2.getGlobalOption",params:null}),i.currentServerUrl?v.sendCall(i.currentServerUrl,"system.multicall",a).then(function(t){var a=void 0;a=n.activeList?p({},i.taskList[i.currentServerUrl],{active:t[0][0]||[]}):{active:t[0][0]||[],waiting:t[1][0]||[],stopped:t[2][0]||[]},e("setTaskList",{list:a,url:i.currentServerUrl});var s=n.activeList?1:3;if(e("setGlobalStat",{globalStat:t[s][0]}),o()(window.safari||{},"extension.toolbarItems")&&(a.active.length>0||a.waiting.length>0?safari.extension.toolbarItems[0].badge=a.active.length+a.waiting.length:safari.extension.toolbarItems[0].badge=0),n.loadOptions&&e("setGlobalOption",{globalOption:t[s+1][0]}),t[s]&&t[s].code)return Promise.reject(t[s])}).catch(function(t){e("setGlobalStat",{globalStat:!1}),console.log("获取列表失败",t)}):Promise.reject("no server url")}},_={isDebug:function(t){return!!v.get_s2a()&&f.isDebug},serverList:function(t){return t.serverList},getAllTaskGid:function(t,e){return e.taskLists.map(function(t){return t.gid})},getStoppedTaskGid:function(){var t=m.currentServerUrl;return o()(m,["taskList",t,"stopped"],[]).map(function(t){return t?t.gid:null})},getGlobalStat:function(t){var e=Object.assign({},t.globalStat);return e.downloadSpeedText=d.a(e.downloadSpeed||0)+"/s",e.uploadSpeedText=d.a(e.uploadSpeed||0)+"/s",e},taskLists:function(t){var e=["complete","error","paused","waiting","active"],i=t.currentServerUrl,n=[];return t.taskList[i]&&(n=[].concat(t.taskList[i].active||[],t.taskList[i].waiting||[],t.taskList[i].stopped||[]),n=n.slice(0).sort(function(t,i){return t.status===i.status?d.b(i)>d.b(t)?1:-1:e.indexOf(i.status)>e.indexOf(t.status)?1:-1})),n},selectedTasks:function(t,e){return e.taskLists.filter(function(e){return~t.selectedGids.indexOf(e.gid)})}};e.a=new u.a.Store({state:m,getters:_,actions:w,mutations:g})},,function(t,e,i){"use strict";var n=i(162),a=function(t){return Object.keys(t).map(function(e){var a={};return e.split("+").forEach(function(t){switch(t.toLowerCase()){case"ctrl":case"alt":case"shift":case"meta":a[t]=!0;break;default:a.keyCode=i.i(n.a)(t)}}),a.callback=t[e],a})};e.a={install:function(t){t.directive("hotkey",{bind:function(t,e,i,n){t._keymap=a(e.value),t._keyHandler=function(e){var i=!0,n=!1,a=void 0;try{for(var s,o=t._keymap[Symbol.iterator]();!(i=(s=o.next()).done);i=!0){var r=s.value;r.keyCode===e.keyCode&&!!r.ctrl===e.ctrlKey&&!!r.alt===e.altKey&&!!r.shift===e.shiftKey&&!!r.meta===e.metaKey&&r.callback(e)}}catch(t){n=!0,a=t}finally{try{!i&&o.return&&o.return()}finally{if(n)throw a}}},document.addEventListener("keydown",t._keyHandler)},unbind:function(t,e,i,n){document.removeEventListener("keydown",t._keyHandler)}})}}},,,,function(t,e,i){i(226);var n=i(1)(i(173),i(304),null,null);t.exports=n.exports},,,,,,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(12),a=i(155),s=i.n(a),o=i(148),r=i(149),l=i(151),c=i(152),u=i(56);n.a.use(u.a);var d=new u.a({locale:navigator.language});n.a.use(c.a),n.a.use(l.a),new n.a({router:o.a,store:r.a,i18n:d,render:function(t){return t(s.a)}}).$mount("#app-box"),window.tlwin={refreshServerList:function(){r.a.commit("refreshServerList")},refreshTaskList:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.a.dispatch("getTaskList",{loadOptions:!0,all:t.all})}}},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a=function(t){if(t&&"object"===(void 0===t?"undefined":n(t))){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"==typeof t)return names[t];var i=String(t),o=a[i.toLowerCase()];if(o)return o;var o=s[i.toLowerCase()];return o||(1===i.length?i.charCodeAt(0):void 0)};var a={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)a[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)a[o-48]=o;for(o=1;o<13;o++)a["f"+o]=o+111;for(o=0;o<10;o++)a["numpad "+o]=o+96},function(t,e,i){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1?i-1:0),s=1;s50){for(var n=[],a=0,s=parseInt(i.length/50)+1;a=i.length&&(s=i.length-a-1);for(var l=a;l<=a+s;l++)o+=i[l];o=parseInt(o*(r/s)),n.push(o),a+=s}e=16*(parseInt(i.length/50)+1),i=n,t.length=i.length}return{grid:{left:"0%",right:"0%",containLabel:!1},xAxis:{show:!1,data:t},yAxis:{show:!1,max:e},series:[{type:"bar",barGap:"0%",silent:!0,barCategoryGap:"0",itemStyle:{normal:{color:"#eeeeee"}},data:i}]}},getStatus:function(){return this.$t(this.download.status)||""},name:function(){return k.b(this.download)},path:function(){return["file://",this.download.dir].join("")},progress:function(){var t="0"===this.download.totalLength?0:this.download.completedLength/this.download.totalLength;return[parseInt(100*t),"%"].join("")},completedSize:function(){return k.a(this.download.completedLength,-1)},size:function(){return k.a(this.download.totalLength,-1)},isDownloading:function(){return"active"===this.download.status&&"0"!==this.download.downloadSpeed},isUploading:function(){return"active"===this.download.status&&"0"!==this.download.uploadSpeed},downloadSpeed:function(){return[k.a(this.download.downloadSpeed||0,-1),"/s"].join("")},downloadConnections:function(){return this.download.connections},uploadSpeed:function(){return k.a(this.download.uploadSpeed||0)+"/s"}},i.i(C.c)({globalConfig:"config"})),methods:A({showAction:function(){this.showAction=!0},hideAction:function(){this.showAction=!0}},i.i(C.e)(["startSelectedDownloads","pauseSelectedDownloads","removeSelectedDownloads"]))}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(29),a=i.n(n),s=i(27),o=i.n(s),r=i(30),l=i.n(r),c=i(32),u=i.n(c),d=i(24),h=i.n(d),p=i(26),f=i.n(p),v=i(25),m=i.n(v),g=i(28),w=i.n(g),_=i(31),y=i.n(_),b=i(23),x=i.n(b),S=i(329),k=i.n(S),C=i(49),O=Object.assign||function(t){for(var e=1;es[1]&&s.reverse(),i=this.gids.slice(s[0],s[1]+1)}this.setSelected({selected:i})},startOrPause:function(t){"paused"===t.status?this.$store.dispatch("startSelectedDownloads"):"active"===t.status&&this.$store.dispatch("pauseSelectedDownloads")}},i.i(C.d)(["setSelected"]))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){},function(t,e){},function(t,e){},,function(t,e){},function(t,e){},function(t,e){},function(t,e){},,,function(t,e){},function(t,e){},function(t,e){},function(t,e){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"app"}},[i("router-view")],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-drawer"},[i("div",{staticClass:"vux-drawer-body",style:{transform:"translate3d("+t.translateX+"px, 0, 0)"}},[t._t("default"),t._v(" "),i("div",{staticClass:"drawer-mask",class:t.show?"vux-drawer-active":"",on:{click:t.hideMask}})],2),t._v(" "),i("div",{ref:"drawer",staticClass:"vux-drawer-content",class:["left"!==t.placement?"drawer-right":"drawer-left",t.show?"vux-drawer-active":""],style:t.drawerStyle},[t._t("drawer")],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.keymap,expression:"keymap"}],staticClass:"pop_wrapper"},[i("drawer",{attrs:{width:"240px;",show:t.menuShow,"show-mode":"overlay",placement:"right","drawer-style":{"background-color":"#35495e",width:"240px"}},on:{"update:show":function(e){t.menuShow=e}}},[i("div",{slot:"drawer"},[i("group",{attrs:{title:t.$t("Options")}},[i("cell",{attrs:{title:t.$t("Open options panel"),"is-link":!0},nativeOn:{click:function(e){t.menuShow=!1,t.openOptionsPanel()}}})],1),t._v(" "),t.uaList&&t.uaList.length>1?i("group",{attrs:{title:"User-Agent"}},[i("radio",{attrs:{value:t.config.userAgent,options:t.uaList},on:{"on-change":t.changeUa}})],1):t._e()],1),t._v(" "),i("x-header",{staticClass:"pop_header",attrs:{"left-options":{showBack:!1},"right-options":{showMore:!0}},on:{"on-click-more":function(e){t.menuShow=!0}}},[i("popmenu",{ref:"popmenu",attrs:{placement:"bottom"},on:{"on-show":t.popmenuShow,"on-hide":t.popmenuHide}},[i("div",{staticClass:"selectRpcServer",slot:"content"},[i("group",t._l(t.serverList,function(e){return i("cell",{key:e.url,class:{acitve:e.url===t.currentServerUrl},attrs:{title:e.name},nativeOn:{click:function(i){t.changeList({url:e.url})}}})}))],1),t._v(" "),i("div",{staticClass:"rpcServer"},[i("button",[t._v(t._s(t.currenServerName)+t._s(t.globalStat?"":"("+t.$t("ununited")+")"))]),t._v(" "),i("i",{staticClass:"material-icons"},[t._v(t._s(t.popmenuIsShow?"keyboard_arrow_up":"keyboard_arrow_down"))])])])],1),t._v(" "),i("div",{staticClass:"globalStatus"},[i("div",{staticClass:"control"},[i("x-button",{directives:[{name:"show",rawName:"v-show",value:t.taskLists.length>0,expression:"taskLists.length>0"}],attrs:{mini:"",plain:""},nativeOn:{click:function(e){e.stopPropagation(),t.selecteAll()}}},[i("i",{directives:[{name:"show",rawName:"v-show",value:0===t.selectedGids.length,expression:"selectedGids.length===0"}],staticClass:"material-icons"},[t._v("done_all")]),t._v(" "),i("i",{directives:[{name:"show",rawName:"v-show",value:t.selectedGids.length>0,expression:"selectedGids.length>0"}],staticClass:"material-icons"},[t._v("cancel")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.selectedGids.length>0,expression:"selectedGids.length>0"}],staticClass:"inner"},[i("x-button",{attrs:{mini:"",plain:""},nativeOn:{click:function(e){e.stopPropagation(),t.startSelectedDownloads()}}},[i("i",{staticClass:"material-icons"},[t._v("play_arrow")])]),t._v(" "),i("x-button",{attrs:{mini:"",plain:""},nativeOn:{click:function(e){e.stopPropagation(),t.pauseSelectedDownloads()}}},[i("i",{staticClass:"material-icons"},[t._v("pause")])]),t._v(" "),i("x-button",{attrs:{mini:"",plain:""},nativeOn:{click:function(e){e.stopPropagation(),t.removeSelectedDownloads()}}},[i("i",{staticClass:"material-icons"},[t._v("delete_forever")])])],1),t._v(" "),i("x-button",{directives:[{name:"show",rawName:"v-show",value:t.getStoppedTaskGid.length>0&&0===t.selectedGids.length,expression:"getStoppedTaskGid.length>0 && selectedGids.length===0"}],attrs:{mini:"",plain:""},nativeOn:{click:function(e){e.stopPropagation(),t.removeStoppedDownloads()}}},[t._v(t._s(t.$t("Remove stopped"))+"\n ")])],1),t._v(" "),i("div",{staticClass:"speed",attrs:{title:t.$t("Click to set global speed limit")},on:{click:function(e){if(!("button"in e)&&t._k(e.keyCode,"nativ"))return null;e.stopPropagation(),t.openAria2Options()}}},[t.getGlobalStat.uploadSpeed>0?i("div",{staticClass:"up"},[i("i",{staticClass:"material-icons"},[t._v("arrow_upward")]),t._v("\n "+t._s(t.getGlobalStat.uploadSpeedText)+"\n ")]):t._e(),t._v(" "),i("div",{staticClass:"down"},[i("i",{staticClass:"material-icons"},[t._v("arrow_downward")]),t._v("\n "+t._s(t.getGlobalStat.downloadSpeedText)+"\n ")])])]),t._v(" "),i("task-list",{staticClass:"pop_list",attrs:{list:t.taskLists},nativeOn:{click:function(e){e.stopPropagation(),t.setSelected({selected:[]})}}}),t._v(" "),i("x-dialog",{staticClass:"dialog-options",attrs:{"hide-on-blur":"",scroll:!1},model:{value:t.showOptions,callback:function(e){t.showOptions=e},expression:"showOptions"}},[i("group",[i("x-input",{attrs:{title:t.$t("max-overall-download-limit"),type:"number","show-clear":!1,min:0},model:{value:t.change2GlobalOptions["max-overall-download-limit"],callback:function(e){var i=t.change2GlobalOptions;Array.isArray(i)?i.splice("max-overall-download-limit",1,e):t.change2GlobalOptions["max-overall-download-limit"]=e},expression:"change2GlobalOptions['max-overall-download-limit']"}},[i("span",{slot:"right"},[t._v("KB")])]),t._v(" "),i("x-input",{attrs:{title:t.$t("max-overall-upload-limit"),type:"number","show-clear":!1,min:0},model:{value:t.change2GlobalOptions["max-overall-upload-limit"],callback:function(e){var i=t.change2GlobalOptions;Array.isArray(i)?i.splice("max-overall-upload-limit",1,e):t.change2GlobalOptions["max-overall-upload-limit"]=e},expression:"change2GlobalOptions['max-overall-upload-limit']"}},[i("span",{slot:"right"},[t._v("KB")])]),t._v(" "),i("x-input",{attrs:{title:t.$t("max-concurrent-downloads"),type:"number","show-clear":!1,min:1},model:{value:t.change2GlobalOptions["max-concurrent-downloads"],callback:function(e){var i=t.change2GlobalOptions;Array.isArray(i)?i.splice("max-concurrent-downloads",1,e):t.change2GlobalOptions["max-concurrent-downloads"]=e},expression:"change2GlobalOptions['max-concurrent-downloads']"}},[i("span",{slot:"right"},[t._v("个")])])],1),t._v(" "),i("group",{staticClass:"buttonGroup"},[i("x-button",{nativeOn:{click:function(e){t.saveAria2Options()}}},[t._v(t._s(t.$t("Save")))]),t._v(" "),i("x-button",{nativeOn:{click:function(e){t.showOptions=!1}}},[t._v(t._s(t.$t("Cancel")))])],1)],1)],1)],1)},staticRenderFns:[]}},,function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"weui-cells_radio",class:t.disabled?"vux-radio-disabled":""},[t._l(t.options,function(e,n){return i("label",{staticClass:"weui-cell weui-cell_radio weui-check__label",attrs:{for:"radio_"+t.uuid+"_"+n}},[i("div",{staticClass:"weui-cell__bd"},[t._t("each-item",[i("p",[i("img",{directives:[{name:"show",rawName:"v-show",value:e&&e.icon,expression:"one && one.icon"}],staticClass:"vux-radio-icon",attrs:{src:e.icon}}),t._v(" "),i("span",{staticClass:"vux-radio-label",style:t.currentValue===t.getKey(e)?t.selectedLabelStyle||"":""},[t._v(t._s(t._f("getValue")(e)))])])],{icon:e.icon,label:t.getValue(e),index:n,selected:t.currentValue===t.getKey(e)})],2),t._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],staticClass:"weui-check",attrs:{type:"radio",id:t.disabled?"":"radio_"+t.uuid+"_"+n},domProps:{value:t.getKey(e),checked:t._q(t.currentValue,t.getKey(e))},on:{__c:function(i){t.currentValue=t.getKey(e)}}}),t._v(" "),i("span",{staticClass:"weui-icon-checked"})])])}),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.fillMode,expression:"fillMode"}],staticClass:"weui-cell"},[i("div",{staticClass:"weui-cell__hd"},[i("label",{staticClass:"weui-label",attrs:{for:""}},[t._v(t._s(t.fillLabel))])]),t._v(" "),i("div",{staticClass:"weui-cell__bd"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.fillValue,expression:"fillValue"}],staticClass:"weui-input needsclick",attrs:{type:"text",placeholder:t.fillPlaceholder},domProps:{value:t.fillValue},on:{blur:function(e){t.isFocus=!1},focus:function(e){t.onFocus()},input:function(e){e.target.composing||(t.fillValue=e.target.value)}}})]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:""===t.value&&!t.isFocus,expression:"value==='' && !isFocus"}],staticClass:"weui-cell__ft"},[i("i",{staticClass:"weui-icon-warn"})])])],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"echarts"})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-x-dialog",on:{touchmove:t.onTouchMove}},[i("transition",{attrs:{name:t.maskTransition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.currentValue,expression:"currentValue"}],staticClass:"weui-mask",on:{click:function(e){t.hideOnBlur&&(t.currentValue=!1)}}})]),t._v(" "),i("transition",{attrs:{name:t.dialogTransition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.currentValue,expression:"currentValue"}],class:t.dialogClass,style:t.dialogStyle},[t._t("default")],2)])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.onClickedOutside,expression:"onClickedOutside"}]},[i("span",{ref:"trigger",on:{click:t.toggle}},[t._t("default")],2),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"popover",staticClass:"vux-popover",style:t.popoverStyle},[i("div",{class:t.arrowClass}),t._v(" "),i("div",{on:{click:function(e){t.$emit("on-click-content")}}},[t._t("content",[i("div",{domProps:{innerHTML:t._s(t.content)}})])],2)])])},staticRenderFns:[]}},,,function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("group",[i("div",{staticClass:"download-list"},[t._l(t.list,function(e){return i("task-line",{key:e.gid,attrs:{download:e,selected:~t.selectedGids.indexOf(e.gid)},nativeOn:{click:function(i){i.stopPropagation(),t.select(e.gid,i)},dblclick:function(i){i.stopPropagation(),t.startOrPause(e)}}})}),t._v(" "),t.list.length<1?i("cell",{staticClass:"empty",attrs:{title:t.$t("No downloads")}}):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("cell-box",{staticClass:"download",class:{selected:t.selected},nativeOn:{mouseenter:function(e){t.showAction=!0},mouseleave:function(e){t.showAction=!1}}},[t.globalConfig.enableChart?i("chart",{staticClass:"chart",attrs:{autoResize:!0,options:t.char}}):t._e(),t._v(" "),i("div",{staticClass:"progress",style:{width:t.progress}},[i("span",{directives:[{name:"show",rawName:"v-show",value:t.showPercent,expression:"showPercent"}]},[t._v(t._s(parseInt(t.progress)))])]),t._v(" "),i("div",{staticClass:"info"},[i("div",{staticClass:"left"},[i("div",{staticClass:"name",attrs:{title:t.name}},[t._v("\n "+t._s(t.name)+"\n ")]),t._v(" "),i("div",{staticClass:"status"},[t.download.errorMessage?i("div",[t._v(t._s(t.download.errorMessage))]):t._e(),t._v(" "),t.download.errorMessage?t._e():i("div",["active"!=t.download.status?i("span",[t._v(t._s(t.getStatus))]):t._e(),t._v(" "),"0"!==t.download.totalLength?i("span",{staticClass:"size",on:{mouseenter:function(e){t.showPercent=!0},mouseleave:function(e){t.showPercent=!1}}},[t._v(t._s(t.isDownloading?t.completedSize+"/":"")+t._s(t.size))]):t._e(),t._v(" "),t.isDownloading?i("span",{staticClass:"speed"},[t._v(t._s(t.downloadSpeed))]):t._e(),t._v(" "),t.isDownloading?i("span",{staticClass:"connections",attrs:{title:t.$t("connections")}},[t._v(t._s(t.downloadConnections))]):t._e(),t._v(" "),t.isUploading?i("span",{staticClass:"speed upload"},[t._v(t._s(t.uploadSpeed))]):t._e(),t._v(" "),t.isDownloading?i("span",{staticClass:"eta"},[t._v(t._s(t.$t("eta"))+":"+t._s(t.eta))]):t._e()])])]),t._v(" "),i("div",{staticClass:"right"},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.showAction&&!t.showPercent,expression:"showAction&&!showPercent"}],staticClass:"action"},[i("i",{directives:[{name:"show",rawName:"v-show",value:"active"===t.download.status,expression:"download.status === 'active'"}],staticClass:"material-icons",attrs:{title:t.$t("pause")},on:{click:function(e){e.stopPropagation(),t.pauseSelectedDownloads({gids:[t.download.gid]})}}},[t._v("pause_circle_outline")]),t._v(" "),i("i",{directives:[{name:"show",rawName:"v-show",value:"paused"===t.download.status,expression:"download.status === 'paused'"}],staticClass:"material-icons",attrs:{title:t.$t("start")},on:{click:function(e){e.stopPropagation(),t.startSelectedDownloads({gids:[t.download.gid]})}}},[t._v("play_circle_outline")]),t._v(" "),i("i",{staticClass:"material-icons",attrs:{title:t.$t("delete")},on:{click:function(e){e.stopPropagation(),t.removeSelectedDownloads({gids:[t.download.gid]})}}},[t._v("delete_forever")])])])])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-toast"},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowMask&&t.show,expression:"isShowMask && show"}],staticClass:"weui-mask_transparent"}),t._v(" "),i("transition",{attrs:{name:t.currentTransition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"weui-toast",class:t.toastClass,style:{width:t.width}},[i("i",{directives:[{name:"show",rawName:"v-show",value:"text"!==t.type,expression:"type !== 'text'"}],staticClass:"weui-icon-success-no-circle weui-icon_toast"}),t._v(" "),t.text?i("p",{staticClass:"weui-toast__content",style:t.style,domProps:{innerHTML:t._s(t.text)}}):i("p",{staticClass:"weui-toast__content"},[t._t("default")],2)])])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-cell-box weui-cell",class:{"vux-tap-active":t.isLink||!!t.link,"weui-cell_access":t.isLink||!!t.link,"vux-cell-no-border-intent":!t.borderIntent},on:{click:t.onClick}},[i("div",[t._t("default")],2)])},staticRenderFns:[]}},,function(t,e,i){i(231);var n=i(1)(i(163),i(309),null,null);t.exports=n.exports},function(t,e,i){i(239);var n=i(1)(i(164),i(317),null,null);t.exports=n.exports},function(t,e,i){i(227);var n=i(1)(i(165),i(305),null,null);t.exports=n.exports},function(t,e,i){i(230);var n=i(1)(i(166),i(308),null,null);t.exports=n.exports},,function(t,e,i){i(238);var n=i(1)(i(168),i(316),null,null);t.exports=n.exports},function(t,e,i){i(232);var n=i(1)(i(169),i(310),null,null);t.exports=n.exports},function(t,e,i){i(233);var n=i(1)(i(170),i(311),null,null);t.exports=n.exports},,function(t,e,i){i(228);var n=i(1)(i(174),i(306),null,null);t.exports=n.exports},function(t,e,i){i(237);var n=i(1)(i(175),i(315),null,null);t.exports=n.exports},function(t,e,i){i(236);var n=i(1)(i(176),i(314),null,null);t.exports=n.exports}],[161]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/popover.f2fa40e3c74209f2ab5a.js b/safari2aria.safariextension/static/js/popover.f2fa40e3c74209f2ab5a.js deleted file mode 100644 index 5b56129..0000000 --- a/safari2aria.safariextension/static/js/popover.f2fa40e3c74209f2ab5a.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([1],[,,,,,,,,,,,,function(e,t,i){i(123);var n=i(1)(null,i(139),null,null);e.exports=n.exports},,,,,,,,,,,,,,function(e,t,i){i(124);var n=i(1)(i(90),i(140),null,null);e.exports=n.exports},,,,,,,,,,,,,,,,,function(e,t,i){i(118);var n=i(1)(i(85),i(133),null,null);e.exports=n.exports},function(e,t,i){i(121);var n=i(1)(i(86),i(137),null,null);e.exports=n.exports},function(e,t,i){var n=i(1)(i(87),i(136),null,null);e.exports=n.exports},function(e,t,i){i(116);var n=i(1)(i(88),i(131),null,null);e.exports=n.exports},function(e,t,i){i(125);var n=i(1)(i(89),i(141),null,null);e.exports=n.exports},function(e,t,i){i(115);var n=i(1)(i(91),i(130),null,null);e.exports=n.exports},function(e,t,i){i(117);var n=i(1)(i(92),i(132),null,null);e.exports=n.exports},function(e,t,i){i(122);var n=i(1)(i(93),i(138),null,null);e.exports=n.exports},function(e,t,i){i(120);var n=i(1)(i(94),i(135),null,null);e.exports=n.exports},function(e,t,i){i(126);var n=i(1)(i(95),i(142),null,null);e.exports=n.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";(function(e){var t=i(32),n=i.n(t),a=i(20),s=i.n(a),o=i(152),r=i.n(o),l=i(184),c=i.n(l);!function(t){var i=void 0!==e&&e.exports,a=function e(t){this.callbacks=r()(null),this.lastId=0;for(var i in e.options)this[i]="object"===(void 0===t?"undefined":s()(t))&&i in t?t[i]:e.options[i]};a.prototype.http=function(e,t){var i=this,a={method:e.method,id:e.id};Array.isArray(e.params)&&e.params.length>0&&(a.params=e.params);var s="http"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path;fetch(s,{method:"POST",body:n()(a),headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(e){return e.json()}).then(function(e){i._onmessage(e)}).catch(t)},a.prototype.send=function(e){var t=Array.prototype.slice.call(arguments,1),i="function"==typeof t[t.length-1]?t.pop():null;return this.exec(e,t,i)},a.prototype.exec=function(e,t,i){if("string"!=typeof e)throw new TypeError(e+" is not a string");0!==e.indexOf("system.")&&0!==e.indexOf("aria2.")&&(e="aria2."+e);var a={method:e,"json-rpc":"2.0",id:this.lastId++},s=this.secret?["token:"+this.secret]:[];Array.isArray(t)&&("system.multicall"===e?(Array.isArray(t[0])&&t[0].forEach(function(e){e.params||(e.params=[]),e.params=s.concat(e.params)}),s=t):s=s.concat(t)),s.length>0&&(a.params=s),this.onsend(a);var o=this;return this.socket&&1===this.socket.readyState?this.socket.send(n()(a)):this.http(a,function(e){o.callbacks[a.id](e),delete o.callbacks[a.id]}),c()(function(e){o.callbacks[a.id]=e},i)},a.prototype._onmessage=function(e){if(this.onmessage(e),void 0!==e.id){var t=this.callbacks[e.id];t&&(e.error?t(e.error):t(null,e.result),delete this.callbacks[e.id])}else if(e.method){var i=e.method.split("aria2.")[1];0===i.indexOf("on")&&"function"==typeof this[i]&&a.notifications.indexOf(i)>-1&&this[i].apply(this,e.params)}},a.prototype.open=function(e){var t="ws"+(this.secure?"s":"")+"://"+this.host+":"+this.port+this.path,i=this.socket=new WebSocket(t),n=this,a=!1;return i.onmessage=function(e){n._onmessage(JSON.parse(e.data))},c()(function(e){i.onopen=function(){a||(e(),a=!0),n.onopen()},i.onclose=function(t){n.onclose(),1006==t.code&&(a||(e(t),a=!0))},i.onerror=function(t){a||(e(t),a=!0)}},e)},a.prototype.close=function(e){var t=this.socket;return c()(function(e){t?(t.addEventListener("close",function(){e()}),t.close()):e()},e)},a.methods=["addUri","addTorrent","addMetalink","remove","forceRemove","pause","pauseAll","forcePause","forcePauseAll","unpause","unpauseAll","tellStatus","getUris","getFiles","getPeers","getServers","tellActive","tellWaiting","tellStopped","changePosition","changeUri","getOption","changeOption","getGlobalOption","changeGlobalOption","getGlobalStat","purgeDownloadResult","removeDownloadResult","getVersion","getSessionInfo","shutdown","forceShutdown","saveSession","system.multicall","system.listMethods","system.listNotifications"],a.notifications=["onDownloadStart","onDownloadPause","onDownloadStop","onDownloadComplete","onDownloadError","onBtDownloadComplete"],a.events=["onopen","onclose","onsend","onmessage"],a.options={secure:!1,host:"localhost",port:6800,secret:"",path:"/jsonrpc"},a.methods.forEach(function(e){var t=e.indexOf(".")>-1?e.split(".")[1]:e;a.prototype[t]=function(){return this.send.apply(this,[e].concat(Array.prototype.slice.call(arguments)))}}),a.notifications.forEach(function(e){a.prototype[e]=function(){}}),a.events.forEach(function(e){a.prototype[e]=function(){}}),i?e.exports=a:t.Aria2=a}(this)}).call(t,i(189)(e))},,,function(e,t,i){"use strict";function n(e){var t="";return t=e.bittorrent?d()(e,"bittorrent.info.name",["BT:",e.infoHash].join("")):d()(e,"files[0].path","").replace(/^.*[\\\/]/,""),t||(t=d()(e,"files[0].uris[0].uri")),t||"..."}function a(e,t){e=Number(e);var i=["Bytes","KB","MB","GB","TB"];if(0===e)return"0 KB";var n=parseInt(Math.floor(Math.log(e)/Math.log(1e3)),10);if(0===n)return e+" "+i[n];var a=[1,1,10,100,100][n];return c()(t)&&(a=Math.pow(10,t)),""+Math.floor(100*e/Math.pow(1024,n)*a)/(100*a)+i[n]}function s(e,t){function i(e,t){return(new Array(t+1).join("0")+e).slice(-t)}var n=/((?:[^ydhms']+)|(?:'(?:[^']|'')*')|(?:y+|d+|h+|m+|s+))(.*)/,a={y:{value:31536e6},yy:{value:"y",pad:2},d:{value:864e5},dd:{value:"d",pad:2},h:{value:36e5},hh:{value:"h",pad:2},m:{value:6e4},mm:{value:"m",pad:2},s:{value:1e3},ss:{value:"s",pad:2},sss:{value:1},ssss:{value:"sss",pad:4}},s=parseFloat(e,10),o=function(e){for(var t=[],i=e?e.toString():"";i;){var a=n.exec(i);a?(t=t.concat(a.slice(1)),i=t.pop()):(t.push(i),i=null)}return t}(t);return isNaN(s)||0===o.length?e:function(e,t){var n="",s={};t.filter(function(e){return a.hasOwnProperty(e)}).map(function(e){var t=a[e];return t.hasOwnProperty("pad")?t.value:e}).filter(function(e,t,i){return i.indexOf(e)===t}).map(function(e){return r()({name:e},a[e])}).sort(function(e,t){return t.value-e.value}).forEach(function(t){var i=s[t.name]=Math.floor(e/t.value);e-=i*t.value});for(var o=0;o=2&&e.length<=6},msg:"中文姓名"}};t.default={created:function(){var e=this;this.currentValue=this.value||"",this.title||this.placeholder||this.currentValue||console.warn("no title and no placeholder?"),this.required&&!this.currentValue&&(this.valid=!1),this.handleChangeEvent=!0,this.debounce&&(this._debounce=i.i(f.a)(function(){e.$emit("on-change",e.currentValue)},this.debounce))},mounted:function(){this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0)},beforeDestroy:function(){this._debounce&&this._debounce.cancel()},mixins:[s.a],components:{Icon:r.a,InlineDesc:c.a},props:{title:{type:String,default:""},type:{type:String,default:"text"},placeholder:String,value:[String,Number],name:String,readonly:Boolean,disabled:Boolean,keyboard:String,inlineDesc:String,isType:[String,Function],min:Number,max:Number,showClear:{type:Boolean,default:!0},equalWith:String,textAlign:String,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},novalidate:{type:Boolean,default:!1},iconType:String,debounce:Number,placeholderAlign:String,labelWidth:String},computed:{labelStyles:function(){return{width:this.labelWidthComputed||this.$parent.labelWidth||this.labelWidthComputed,textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},pattern:function(){if("number"===this.keyboard||"china-mobile"===this.isType)return"[0-9]*"},labelWidthComputed:function(){var e=this.title.replace(/[^x00-xff]/g,"00").length/2+1;if(e<10)return e+"em"},hasErrors:function(){return a()(this.errors).length>0},inputStyle:function(){if(this.textAlign)return{textAlign:this.textAlign}},showWarn:function(){return!this.novalidate&&!this.equalWith&&!this.valid&&this.firstError&&(this.touched||this.forceShowError)}},methods:{reset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.dirty=!1,this.currentValue=e,this.firstError="",this.valid=!0},clear:function(){this.currentValue="",this.focus()},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},focusHandler:function(){this.$emit("on-focus",this.currentValue)},onBlur:function(){this.setTouched(),this.validate(),this.$emit("on-blur",this.currentValue)},onKeyUp:function(e){"Enter"===e.key&&(e.target.blur(),this.$emit("on-enter",this.currentValue))},getError:function(){var e=a()(this.errors)[0];this.firstError=this.errors[e]},validate:function(){if(void 0!==this.equalWith)return void this.validateEqual();if(this.errors={},!this.currentValue&&!this.required)return void(this.valid=!0);if(!this.currentValue&&this.required)return this.valid=!1,this.errors.required="必填哦",void this.getError();if("string"==typeof this.isType){var e=v[this.isType];if(e){if(this.valid=e.fn(this.currentValue),!this.valid)return void(this.errors.format=e.msg+"格式不对哦~");delete this.errors.format}}if("function"==typeof this.isType){var t=this.isType(this.currentValue);if(this.valid=t.valid,!this.valid)return this.errors.format=t.msg,this.forceShowError=!0,void(this.firstError||this.getError());delete this.errors.format}if(this.min){if(this.currentValue.lengththis.max)return this.errors.max="最多可以输入"+this.max+"个字符哦",this.valid=!1,void(this.forceShowError=!0);this.forceShowError=!1,delete this.errors.max}this.valid=!0},validateEqual:function(){return!this.equalWith&&this.currentValue?(this.valid=!1,void(this.errors.equal="输入不一致")):(this.dirty||this.currentValue.length>=this.equalWith.length)&&this.currentValue!==this.equalWith?(this.valid=!1,void(this.errors.equal="输入不一致")):void(!this.currentValue&&this.required?this.valid=!1:(this.valid=!0,delete this.errors.equal))}},data:function(){return{hasRestrictedLabel:!1,firstError:"",forceShowError:!1,hasLengthEqual:!1,valid:!0,currentValue:""}},watch:{valid:function(){this.getError()},value:function(e){this.currentValue=e},equalWith:function(e){e&&this.equalWith?(e.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate()},currentValue:function(e){!this.equalWith&&e&&this.validateEqual(),e&&this.equalWith?(e.length===this.equalWith.length&&(this.hasLengthEqual=!0),this.validateEqual()):this.validate(),this.$emit("input",e),this._debounce?this._debounce():this.$emit("on-change",e)}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12),a=i.n(n);t.default={components:{InlineDesc:a.a},computed:{labelStyle:function(){var e=/<\/?[^>]*>/.test(this.title);return{display:"block",width:Math.min(e?5:this.title.length+1,14)+"em"}}},props:{title:{type:String,required:!0},disabled:Boolean,value:{type:Boolean,default:!1},inlineDesc:[String,Boolean,Number]},data:function(){return{currentValue:this.value}},watch:{currentValue:function(e){this.$emit("input",e),this.$emit("on-change",e)},value:function(e){this.currentValue=e}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(35),a=i(12),s=i.n(a),o=i(148),r=i.n(o);t.default={minxins:[n.a],mounted:function(){var e=this;this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0),this.$nextTick(function(){e.autosize&&e.bindAutosize()})},components:{InlineDesc:s.a},props:{title:String,inlineDesc:String,showCounter:{type:Boolean,default:!0},max:Number,value:String,name:String,placeholder:String,readonly:Boolean,rows:{type:Number,default:3},cols:{type:Number,default:30},height:Number,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},autosize:Boolean},created:function(){this.currentValue=this.value},watch:{autosize:function(e){this.unbindAutosize(),e&&this.bindAutosize()},value:function(e){this.currentValue=e},currentValue:function(e){this.max&&e&&e.length>this.max&&(this.currentValue=e.slice(0,this.max)),this.$emit("input",this.currentValue),this.$emit("on-change",this.currentValue)}},data:function(){return{hasRestrictedLabel:!1,currentValue:""}},computed:{count:function(){var e=0;return this.currentValue&&(e=this.currentValue.replace(/\n/g,"aa").length),e>this.max?this.max:e},textareaStyle:function(){if(this.height)return{height:this.height+"px"}},labelStyles:function(){return{width:this.$parent.labelWidth||this.labelWidth+"em",textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},labelWidth:function(){return this.title.replace(/[^x00-xff]/g,"00").length/2+1}},methods:{bindAutosize:function(){r()(this.$refs.textarea)},unbindAutosize:function(){r.a.destroy(this.$refs.textarea)},focus:function(){this.$refs.textarea.focus()}},beforeDestroy:function(){this.unbindAutosize()}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(26),a=i.n(n);t.default={components:{Icon:a.a},methods:{updateValue:function(){this.$emit("update:value",this.val)}},props:{value:[String,Number],val:[String,Number],type:{type:String,default:"default"}}}},,,,,,,,,,,,,,,,,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,,function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"weui-btn",class:e.classes,attrs:{disabled:e.disabled,type:e.actionType},on:{click:e.onClick}},[e.showLoading?i("i",{staticClass:"weui-loading"}):e._e(),e._v(" "),e._t("default",[e._v(e._s(e.text))])],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vux-flexbox",class:{"vux-flex-col":"vertical"===e.orient,"vux-flex-row":"horizontal"===e.orient},style:e.styles},[e._t("default")],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-header"},[i("div",{staticClass:"vux-header-left"},[e._t("overwrite-left",[i("transition",{attrs:{name:e.transition}},[i("a",{directives:[{name:"show",rawName:"v-show",value:e._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"vux-header-back",on:{click:[function(t){if(!("button"in t)&&e._k(t.keyCode,"preventDefault"))return null},e.onClickBack]}},[e._v(e._s(void 0===e._leftOptions.backText?"返回":e._leftOptions.backText))])]),e._v(" "),i("transition",{attrs:{name:e.transition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e._leftOptions.showBack,expression:"_leftOptions.showBack"}],staticClass:"left-arrow",on:{click:e.onClickBack}})])]),e._v(" "),e._t("left")],2),e._v(" "),i("h1",{staticClass:"vux-header-title",on:{click:function(t){e.$emit("on-click-title")}}},[e._t("default",[i("transition",{attrs:{name:e.transition}},[i("span",{directives:[{name:"show",rawName:"v-show",value:e.title,expression:"title"}]},[e._v(e._s(e.title))])])])],2),e._v(" "),i("div",{staticClass:"vux-header-right"},[e.rightOptions.showMore?i("a",{staticClass:"vux-header-more",on:{click:[function(t){if(!("button"in t)&&e._k(t.keyCode,"preventDefault"))return null},function(t){e.$emit("on-click-more")}]}}):e._e(),e._v(" "),e._t("right")],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"weui-cell",class:{"vux-tap-active":e.isLink||!!e.link,"weui-cell_access":e.isLink||!!e.link,"vux-cell-no-border-intent":!e.borderIntent,"vux-cell-disabled":e.disabled},on:{click:e.onClick}},[i("div",{staticClass:"weui-cell__hd"},[e._t("icon")],2),e._v(" "),i("div",{staticClass:"vux-cell-bd",class:{"vux-cell-primary":"title"===e.primary&&"left"!==e.valueAlign}},[i("p",[e.title||e.hasTitleSlot?i("label",{staticClass:"vux-label",style:e.getLabelStyles()},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e._v(" "),e._t("after-title")],2),e._v(" "),i("inline-desc",[e._t("inline-desc",[e._v(e._s(e.inlineDesc))])],2)],1),e._v(" "),i("div",{staticClass:"weui-cell__ft",class:e.valueClass},[e._t("value"),e._v(" "),e._t("default",[e._v(e._s(e.value))]),e._v(" "),e.isLoading?i("i",{staticClass:"weui-loading"}):e._e()],2),e._v(" "),e._t("child")],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-check-icon",on:{click:e.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===e.type&&e.value===e.val,expression:"type === 'default' && value === val"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===e.type&&e.value===e.val,expression:"type === 'plain' && value === val"}],attrs:{type:"success_circle"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.value!==e.val,expression:"value !== val"}],attrs:{type:"circle"}}),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"radio",attrs:{type:"radio"},domProps:{value:e.val,checked:e._q(e.value,e.val)},on:{__c:function(t){e.value=e.val}}}),e._v(" "),i("span",[e._t("default")],2)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-switch weui-cell weui-cell_switch"},[i("div",{staticClass:"weui-cell__bd"},[i("label",{staticClass:"weui-label",style:e.labelStyle,domProps:{innerHTML:e._s(e.title)}}),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()],1),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-switch",attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.currentValue)?e._i(e.currentValue,null)>-1:e.currentValue},on:{__c:function(t){var i=e.currentValue,n=t.target,a=!!n.checked;if(Array.isArray(i)){var s=e._i(i,null);a?s<0&&(e.currentValue=i.concat(null)):s>-1&&(e.currentValue=i.slice(0,s).concat(i.slice(s+1)))}else e.currentValue=a}}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vux-flexbox-item",style:e.style},[e._t("default")],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-check-icon",on:{click:e.updateValue}},[i("icon",{directives:[{name:"show",rawName:"v-show",value:"default"===e.type&&e.value,expression:"type === 'default' && value"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:"plain"===e.type&&e.value,expression:"type === 'plain' && value"}],attrs:{type:"success_circle"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.value,expression:"!value"}],attrs:{type:"circle"}}),e._v(" "),i("span",[e._t("default")],2)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-input weui-cell",class:{"weui-cell_warn":e.showWarn}},[i("div",{staticClass:"weui-cell__hd"},[e.hasRestrictedLabel?i("div",{style:e.labelStyles},[e._t("restricted-label")],2):e._e(),e._v(" "),e._t("label",[e.title?i("label",{staticClass:"weui-label",style:{width:e.labelWidth||e.$parent.labelWidth||e.labelWidthComputed,textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()])],2),e._v(" "),i("div",{staticClass:"weui-cell__bd weui-cell__primary",class:e.placeholderAlign?"vux-x-input-placeholder-"+e.placeholderAlign:""},[e.type&&"text"!==e.type?e._e():i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"text",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),"number"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"number",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:[e.onBlur,function(t){e.$forceUpdate()}],keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"email"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"email",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"password"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"password",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e(),e._v(" "),"tel"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"input",staticClass:"weui-input",style:e.inputStyle,attrs:{maxlength:e.max,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,type:"tel",name:e.name,pattern:e.pattern,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled},domProps:{value:e.currentValue},on:{focus:e.focusHandler,blur:e.onBlur,keyup:e.onKeyUp,input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}):e._e()]),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.equalWith&&e.showClear&&e.currentValue&&!e.readonly&&!e.disabled,expression:"!equalWith && showClear && currentValue && !readonly && !disabled"}],attrs:{type:"clear"},nativeOn:{click:function(t){e.clear(t)}}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.showWarn,expression:"showWarn"}],staticClass:"vux-input-icon",attrs:{type:"warn",title:e.valid?"":e.firstError}}),e._v(" "),!e.novalidate&&e.hasLengthEqual&&e.dirty&&e.equalWith&&!e.valid?i("icon",{staticClass:"vux-input-icon",attrs:{type:"warn"}}):e._e(),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:!e.novalidate&&e.equalWith&&e.equalWith===e.currentValue&&e.valid,expression:"!novalidate && equalWith && equalWith === currentValue && valid"}],attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.novalidate&&"success"===e.iconType,expression:"novalidate && iconType === 'success'"}],staticClass:"vux-input-icon",attrs:{type:"success"}}),e._v(" "),i("icon",{directives:[{name:"show",rawName:"v-show",value:e.novalidate&&"error"===e.iconType,expression:"novalidate && iconType === 'error'"}],staticClass:"vux-input-icon",attrs:{type:"warn"}}),e._v(" "),e._t("right")],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{staticClass:"vux-label-desc"},[e._t("default")],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{class:[e.className,e.isMsg?"weui-icon_msg":""]})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.title?i("div",{staticClass:"weui-cells__title",style:{color:e.titleColor},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),i("div",{staticClass:"weui-cells",class:{"vux-no-group-title":!e.title},style:{marginTop:"number"==typeof e.gutter?e.gutter+"px":e.gutter}},[e._t("after-title"),e._v(" "),e._t("default")],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"weui-cell vux-x-textarea"},[i("div",{staticClass:"weui-cell__hd"},[e.hasRestrictedLabel?i("div",{style:e.labelStyles},[e._t("restricted-label")],2):e._e(),e._v(" "),e._t("label",[e.title?i("label",{staticClass:"weui-label",style:{width:e.$parent.labelWidth||e.labelWidth+"em",textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.inlineDesc?i("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()])],2),e._v(" "),i("div",{staticClass:"weui-cell__bd"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"textarea",staticClass:"weui-textarea",style:e.textareaStyle,attrs:{autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,placeholder:e.placeholder,readonly:e.readonly,name:e.name,rows:e.rows,cols:e.cols,maxlength:e.max},domProps:{value:e.currentValue},on:{focus:function(t){e.$emit("on-focus")},blur:function(t){e.$emit("on-blur")},input:function(t){t.target.composing||(e.currentValue=t.target.value)}}}),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showCounter&&e.max,expression:"showCounter && max"}],staticClass:"weui-textarea-counter",on:{click:e.focus}},[i("span",[e._v(e._s(e.count))]),e._v("/"+e._s(e.max)+"\n ")])])])},staticRenderFns:[]}},function(e,t,i){i(119);var n=i(1)(i(96),i(134),null,null);e.exports=n.exports},,,,,,function(e,t,i){"use strict";var n=i(82),a=(i.n(n),i(34)),s=i.n(a);i(81);t.a={getConfig:function(){var e=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],s()(safari,"extension.globalPage.contentWindow.s2a",{}));if(e.getConfig){var t=e.getConfig();t.aria2Connects}return e}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";var n=i(19),a=i(188),s=i(440),o=i.n(s);n.a.use(a.a),t.a=new a.a({routes:[{path:"/",name:"Index",component:o.a}]})},function(e,t,i){"use strict";var n=i(33),a=i.n(n),s=i(32),o=i.n(s),r=i(57),l=i.n(r),c=i(247),u=i.n(c),d=i(58),h=i.n(d),p=i(244),f=i.n(p),v=i(153),m=i.n(v),g=i(34),w=i.n(g),_=i(82),x=i.n(_),b=i(19),y=i(76),S=i(84),k=i(149);b.a.use(y.a);var C=void 0,O={get_s2a:function(){if(!C||!C.getConfig){for(var e=arguments.length,t=Array(e),i=0;i1?n-1:0),s=1;s1?t-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:{config:{}},n=JSON.parse(o()(h()({},t.config,i.config)));C.dispatchMessage({name:"updateSafari2Aria",message:n})},toggleSelectedStatus:function(e){var t=e.dispatch,i=e.state,n=e.getters,a=(e.commit,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),s=w()(a,"gids",i.selectedGids),o=n.taskLists.filter(function(e){return~s.indexOf(e.gid)}),r={active:[],paused:[]};o.map(function(e){var t=e.status;t="waiting"===t?"active":t,r[t]=r[t]||[],r[t].push(e.gid)});var l=r.active.length>=r.paused.length?"active":"paused",c=r.active.length>=r.paused.length?"pause":"unpause";return r.active.length||r.paused.length?O.mutilCall(i.currentServerUrl,r[l].map(function(e){return{methodName:"aria2."+c,params:[e]}})).then(function(){return t("getTaskList")}):f.a.resolve("no change")},saveOptions:function(e){var t=e.dispatch,i=e.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return O.sendCall(i.currentServerUrl,"aria2.changeGlobalOption",h()({},n.options)).then(function(){return t("getTaskList",{loadOptions:!0})}).catch(function(e){console.log(e)})},startSelectedDownloads:function(e){var t=e.dispatch,i=e.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=w()(n,"gids",i.selectedGids);return O.mutilCall(i.currentServerUrl,a.map(function(e){return{methodName:"aria2.unpause",params:[e]}})).then(function(){return t("getTaskList")})},pauseSelectedDownloads:function(e){var t=e.dispatch,i=e.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=w()(n,"gids",i.selectedGids);return O.mutilCall(i.currentServerUrl,a.map(function(e){return{methodName:"aria2.pause",params:[e]}})).then(function(){return t("getTaskList")})},removeSelectedDownloads:function(e){var t=e.dispatch,i=e.state,n=e.getters,a=e.commit,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=w()(s,"gids",i.selectedGids),r=n.taskLists.filter(function(e){return~o.indexOf(e.gid)});return O.mutilCall(i.currentServerUrl,r.map(function(e){return{methodName:"aria2."+(~["active","paused","waiting"].indexOf(e.status)?"remove":"removeDownloadResult"),params:[e.gid]}})).then(function(){return a("setSelected",{selected:[]}),t("getTaskList")})},removeStoppedDownloads:function(e){var t=e.dispatch,i=e.state,n=(e.getters,e.commit);arguments.length>1&&void 0!==arguments[1]&&arguments[1];return O.sendCall(i.currentServerUrl,"aria2.purgeDownloadResult").then(function(){return n("setSelected",{selected:[]}),t("getTaskList")})},getTaskList:function(e){var t=e.commit,i=e.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!O.get_s2a())return f.a.reject("获取global变量错误");i.currentServerUrl||t("refreshServerList");var a=[{methodName:"aria2.tellActive",params:[]}];return n.activeList||a.push({methodName:"aria2.tellWaiting",params:[0,1e3]},{methodName:"aria2.tellStopped",params:[0,1e3]}),a.push({methodName:"aria2.getGlobalStat",params:null}),n.loadOptions&&a.push({methodName:"aria2.getGlobalOption",params:null}),i.currentServerUrl?O.sendCall(i.currentServerUrl,"system.multicall",a).then(function(e){var a=void 0;a=n.activeList?h()({},i.taskList[i.currentServerUrl],{active:e[0][0]||[]}):{active:e[0][0]||[],waiting:e[1][0]||[],stopped:e[2][0]||[]},t("setTaskList",{list:a,url:i.currentServerUrl});var s=n.activeList?1:3;if(t("setGlobalStat",{globalStat:e[s][0]}),w()(window.safari||{},"extension.toolbarItems")&&(a.active.length>0||a.waiting.length>0?safari.extension.toolbarItems[0].badge=a.active.length+a.waiting.length:safari.extension.toolbarItems[0].badge=0),n.loadOptions&&t("setGlobalOption",{globalOption:e[s+1][0]}),e[s]&&e[s].code)return f.a.reject(e[s])}).catch(function(e){t("setGlobalStat",{globalStat:!1}),console.log("获取列表失败",e)}):f.a.reject("no server url")}},T={isDebug:function(e){return!!O.get_s2a()&&C.isDebug},serverList:function(e){return e.serverList},getAllTaskGid:function(e,t){return t.taskLists.map(function(e){return e.gid})},getStoppedTaskGid:function(){var e=$.currentServerUrl;return w()($,["taskList",e,"stopped"],[]).map(function(e){return e?e.gid:null})},getGlobalStat:function(e){var t=a()({},e.globalStat);return t.downloadSpeedText=S.a(t.downloadSpeed||0)+"/s",t.uploadSpeedText=S.a(t.uploadSpeed||0)+"/s",t},taskLists:function(e){var t=["complete","error","paused","waiting","active"],i=e.currentServerUrl,n=[];return e.taskList[i]&&(n=[].concat(e.taskList[i].active||[],e.taskList[i].waiting||[],e.taskList[i].stopped||[]),n=n.slice(0).sort(function(e,i){return e.status===i.status?S.b(i)>S.b(e)?1:-1:t.indexOf(i.status)>t.indexOf(e.status)?1:-1})),n},selectedTasks:function(e,t){return t.taskLists.filter(function(t){return~e.selectedGids.indexOf(t.gid)})}};t.a=new y.a.Store({state:$,getters:T,actions:V,mutations:L})},function(e,t,i){"use strict";var n=i(241),a=i.n(n),s=i(57),o=i.n(s),r=i(218),l=function(e){return o()(e).map(function(t){var n={};return t.split("+").forEach(function(e){switch(e.toLowerCase()){case"ctrl":case"alt":case"shift":case"meta":n[e]=!0;break;default:n.keyCode=i.i(r.a)(e)}}),n.callback=e[t],n})};t.a={install:function(e){e.directive("hotkey",{bind:function(e,t,i,n){e._keymap=l(t.value),e._keyHandler=function(t){var i=!0,n=!1,s=void 0;try{for(var o,r=a()(e._keymap);!(i=(o=r.next()).done);i=!0){var l=o.value;l.keyCode===t.keyCode&&!!l.ctrl===t.ctrlKey&&!!l.alt===t.altKey&&!!l.shift===t.shiftKey&&!!l.meta===t.metaKey&&l.callback(t)}}catch(e){n=!0,s=e}finally{try{!i&&r.return&&r.return()}finally{if(n)throw s}}},document.addEventListener("keydown",e._keyHandler)},unbind:function(e,t,i,n){document.removeEventListener("keydown",e._keyHandler)}})}}},,,,function(e,t,i){i(338);var n=i(1)(i(229),i(416),null,null);e.exports=n.exports},,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(19),a=i(211),s=i.n(a),o=i(205),r=i(206),l=i(207),c=i(208),u=i(83);n.a.use(u.a);var d=new u.a({locale:navigator.language});n.a.use(c.a),n.a.use(l.a),new n.a({router:o.a,store:r.a,i18n:d,render:function(e){return e(s.a)}}).$mount("#app-box"),window.tlwin={refreshServerList:function(){r.a.commit("refreshServerList")},refreshTaskList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.a.dispatch("getTaskList",{loadOptions:!0,all:e.all})}}},function(e,t,i){"use strict";var n=i(20),a=i.n(n);t.a=function(e){if(e&&"object"===(void 0===e?"undefined":a()(e))){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return names[e];var i=String(e),n=s[i.toLowerCase()];if(n)return n;var n=o[i.toLowerCase()];return n||(1===i.length?i.charCodeAt(0):void 0)};var s={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(r=97;r<123;r++)s[String.fromCharCode(r)]=r-32;for(var r=48;r<58;r++)s[r-48]=r;for(r=1;r<13;r++)s["f"+r]=r+111;for(r=0;r<10;r++)s["numpad "+r]=r+96},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(153),a=i.n(n),s=i(41),o=i.n(s),r=i(177),l=i.n(r),c=i(19),u=["legendselectchanged","legendselected","legendunselected","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","brush","brushselected"],d=["click","dblclick","mouseover","mouseout","mousedown","mouseup","globalout"];t.default={props:{options:Object,theme:String,initOptions:Object,group:String,autoResize:Boolean},data:function(){return{chart:null}},computed:{width:{cache:!1,get:function(){return this._delegateGet("width","getWidth")}},height:{cache:!1,get:function(){return this._delegateGet("height","getHeight")}},isDisposed:{cache:!1,get:function(){return!!this._delegateGet("isDisposed","isDisposed")}},computedOptions:{cache:!1,get:function(){return this._delegateGet("computedOptions","getOption")}}},watch:{options:{handler:function(e){!this.chart&&e?this._init():this.chart.setOption(this.options,!0)},deep:!0},group:{handler:function(e){this.chart.group=e}}},methods:{mergeOptions:function(e){this._delegateMethod("setOption",e)},resize:function(e){this._delegateMethod("resize",e)},dispatchAction:function(e){this._delegateMethod("dispatchAction",e)},convertToPixel:function(e,t){return this._delegateMethod("convertToPixel",e,t)},convertFromPixel:function(e,t){return this._delegateMethod("convertFromPixel",e,t)},containPixel:function(e,t){return this._delegateMethod("containPixel",e,t)},showLoading:function(e,t){this._delegateMethod("showLoading",e,t)},hideLoading:function(){this._delegateMethod("hideLoading")},getDataURL:function(e){return this._delegateMethod("getDataURL",e)},getConnectedDataURL:function(e){return this._delegateMethod("getConnectedDataURL",e)},clear:function(){this._delegateMethod("clear")},dispose:function(){this._delegateMethod("dispose")},_delegateMethod:function(e){var t;if(!this.chart)return void c.a.util.warn("Cannot call ["+e+"] before the chart is initialized. Set prop [options] first.",this);for(var i=arguments.length,n=Array(i>1?i-1:0),s=1;s50){for(var n=[],a=0,s=parseInt(i.length/50)+1;a=i.length&&(s=i.length-a-1);for(var l=a;l<=a+s;l++)o+=i[l];o=parseInt(o*(r/s)),n.push(o),a+=s}t=16*(parseInt(i.length/50)+1),i=n,e.length=i.length}return{grid:{left:"0%",right:"0%",containLabel:!1},xAxis:{show:!1,data:e},yAxis:{show:!1,max:t},series:[{type:"bar",barGap:"0%",silent:!0,barCategoryGap:"0",itemStyle:{normal:{color:"#eeeeee"}},data:i}]}},getStatus:function(){return this.$t(this.download.status)||""},name:function(){return O.b(this.download)},path:function(){return["file://",this.download.dir].join("")},progress:function(){var e="0"===this.download.totalLength?0:this.download.completedLength/this.download.totalLength;return[parseInt(100*e),"%"].join("")},completedSize:function(){return O.a(this.download.completedLength,-1)},size:function(){return O.a(this.download.totalLength,-1)},isDownloading:function(){return"active"===this.download.status&&"0"!==this.download.downloadSpeed},isUploading:function(){return"active"===this.download.status&&"0"!==this.download.uploadSpeed},downloadSpeed:function(){return[O.a(this.download.downloadSpeed||0,-1),"/s"].join("")},downloadConnections:function(){return this.download.connections},uploadSpeed:function(){return O.a(this.download.uploadSpeed||0)+"/s"}},i.i($.c)({globalConfig:"config"})),methods:a()({showAction:function(){this.showAction=!0},hideAction:function(){this.showAction=!0}},i.i($.e)(["startSelectedDownloads","pauseSelectedDownloads","removeSelectedDownloads"]))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(58),a=i.n(n),s=i(49),o=i.n(s),r=i(47),l=i.n(r),c=i(50),u=i.n(c),d=i(52),h=i.n(d),p=i(44),f=i.n(p),v=i(46),m=i.n(v),g=i(45),w=i.n(g),_=i(48),x=i.n(_),b=i(51),y=i.n(b),S=i(43),k=i.n(S),C=i(441),O=i.n(C),$=i(76);t.default={components:{XHeader:o.a,Group:l.a,XInput:u.a,XTextarea:h.a,CheckIcon:f.a,Flexbox:m.a,FlexboxItem:w.a,XButton:x.a,XSwitch:y.a,Cell:k.a,TaskLine:O.a},props:{list:Array,selected:Array},i18n:{messages:{"zh-CN":{"No downloads":"暂无下载任务"}}},computed:a()({gids:function(){return this.list.map(function(e){return e?e.gid:""})}},i.i($.c)(["selectedGids"])),methods:a()({select:function(e,t){var i=this.selectedGids;if(t.ctrlKey||t.metaKey||t.shiftKey?i.push(e):i=[e],t.shiftKey&&i.length){var n=i[0],a=i[i.length-1],s=[this.gids.indexOf(n),this.gids.indexOf(a)];s[0]>s[1]&&s.reverse(),i=this.gids.slice(s[0],s[1]+1)}this.setSelected({selected:i})},startOrPause:function(e){"paused"===e.status?this.$store.dispatch("startSelectedDownloads"):"active"===e.status&&this.$store.dispatch("pauseSelectedDownloads")}},i.i($.d)(["setSelected"]))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},function(e,t){},function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("router-view")],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-drawer"},[i("div",{staticClass:"vux-drawer-body",style:{transform:"translate3d("+e.translateX+"px, 0, 0)"}},[e._t("default"),e._v(" "),i("div",{staticClass:"drawer-mask",class:e.show?"vux-drawer-active":"",on:{click:e.hideMask}})],2),e._v(" "),i("div",{ref:"drawer",staticClass:"vux-drawer-content",class:["left"!==e.placement?"drawer-right":"drawer-left",e.show?"vux-drawer-active":""],style:e.drawerStyle},[e._t("drawer")],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:e.keymap,expression:"keymap"}],staticClass:"pop_wrapper"},[i("drawer",{attrs:{width:"240px;",show:e.menuShow,"show-mode":"overlay",placement:"right","drawer-style":{"background-color":"#35495e",width:"240px"}},on:{"update:show":function(t){e.menuShow=t}}},[i("div",{slot:"drawer"},[i("group",{attrs:{title:e.$t("Options")}},[i("cell",{attrs:{title:e.$t("Open options panel"),"is-link":"true"},nativeOn:{click:function(t){e.menuShow=!1,e.openOptionsPanel()}}})],1),e._v(" "),e.uaList&&e.uaList.length>1?i("group",{attrs:{title:"User-Agent"}},[i("radio",{attrs:{value:e.config.userAgent,options:e.uaList},on:{"on-change":e.changeUa}})],1):e._e()],1),e._v(" "),i("x-header",{staticClass:"pop_header",attrs:{"left-options":{showBack:!1},"right-options":{showMore:!0}},on:{"on-click-more":function(t){e.menuShow=!0}}},[i("popmenu",{ref:"popmenu",attrs:{placement:"bottom"},on:{"on-show":e.popmenuShow,"on-hide":e.popmenuHide}},[i("div",{staticClass:"selectRpcServer",slot:"content"},[i("group",e._l(e.serverList,function(t){return i("cell",{key:t.url,class:{acitve:t.url===e.currentServerUrl},attrs:{title:t.name},nativeOn:{click:function(i){e.changeList({url:t.url})}}})}))],1),e._v(" "),i("div",{staticClass:"rpcServer"},[i("button",[e._v(e._s(e.currenServerName)+e._s(e.globalStat?"":"("+e.$t("ununited")+")"))]),e._v(" "),i("i",{staticClass:"material-icons"},[e._v(e._s(e.popmenuIsShow?"keyboard_arrow_up":"keyboard_arrow_down"))])])])],1),e._v(" "),i("div",{staticClass:"globalStatus"},[i("div",{staticClass:"control"},[i("x-button",{directives:[{name:"show",rawName:"v-show",value:e.taskLists.length>0,expression:"taskLists.length>0"}],attrs:{mini:"",plain:""},nativeOn:{click:function(t){t.stopPropagation(),e.selecteAll()}}},[i("i",{directives:[{name:"show",rawName:"v-show",value:0===e.selectedGids.length,expression:"selectedGids.length===0"}],staticClass:"material-icons"},[e._v("done_all")]),e._v(" "),i("i",{directives:[{name:"show",rawName:"v-show",value:e.selectedGids.length>0,expression:"selectedGids.length>0"}],staticClass:"material-icons"},[e._v("cancel")])]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.selectedGids.length>0,expression:"selectedGids.length>0"}],staticClass:"inner"},[i("x-button",{attrs:{mini:"",plain:""},nativeOn:{click:function(t){t.stopPropagation(),e.startSelectedDownloads()}}},[i("i",{staticClass:"material-icons"},[e._v("play_arrow")])]),e._v(" "),i("x-button",{attrs:{mini:"",plain:""},nativeOn:{click:function(t){t.stopPropagation(),e.pauseSelectedDownloads()}}},[i("i",{staticClass:"material-icons"},[e._v("pause")])]),e._v(" "),i("x-button",{attrs:{mini:"",plain:""},nativeOn:{click:function(t){t.stopPropagation(),e.removeSelectedDownloads()}}},[i("i",{staticClass:"material-icons"},[e._v("delete_forever")])])],1),e._v(" "),i("x-button",{directives:[{name:"show",rawName:"v-show",value:e.getStoppedTaskGid.length>0&&0===e.selectedGids.length,expression:"getStoppedTaskGid.length>0 && selectedGids.length===0"}],attrs:{mini:"",plain:""},nativeOn:{click:function(t){t.stopPropagation(),e.removeStoppedDownloads()}}},[e._v(e._s(e.$t("Remove stopped"))+"\n ")])],1),e._v(" "),i("div",{staticClass:"speed",attrs:{title:e.$t("Click to set global speed limit")},on:{click:function(t){if(!("button"in t)&&e._k(t.keyCode,"nativ"))return null;t.stopPropagation(),e.openAria2Options()}}},[e.getGlobalStat.uploadSpeed>0?i("div",{staticClass:"up"},[i("i",{staticClass:"material-icons"},[e._v("arrow_upward")]),e._v("\n "+e._s(e.getGlobalStat.uploadSpeedText)+"\n ")]):e._e(),e._v(" "),i("div",{staticClass:"down"},[i("i",{staticClass:"material-icons"},[e._v("arrow_downward")]),e._v("\n "+e._s(e.getGlobalStat.downloadSpeedText)+"\n ")])])]),e._v(" "),i("task-list",{staticClass:"pop_list",attrs:{list:e.taskLists},nativeOn:{click:function(t){t.stopPropagation(),e.setSelected({selected:[]})}}}),e._v(" "),i("x-dialog",{staticClass:"dialog-options",attrs:{"hide-on-blur":"",scroll:!1},model:{value:e.showOptions,callback:function(t){e.showOptions=t},expression:"showOptions"}},[i("group",[i("x-input",{attrs:{title:e.$t("max-overall-download-limit"),type:"number","show-clear":!1,min:0},model:{value:e.change2GlobalOptions["max-overall-download-limit"],callback:function(t){var i=e.change2GlobalOptions;Array.isArray(i)?i.splice("max-overall-download-limit",1,t):e.change2GlobalOptions["max-overall-download-limit"]=t},expression:"change2GlobalOptions['max-overall-download-limit']"}},[i("span",{slot:"right"},[e._v("KB")])]),e._v(" "),i("x-input",{attrs:{title:e.$t("max-overall-upload-limit"),type:"number","show-clear":!1,min:0},model:{value:e.change2GlobalOptions["max-overall-upload-limit"],callback:function(t){var i=e.change2GlobalOptions;Array.isArray(i)?i.splice("max-overall-upload-limit",1,t):e.change2GlobalOptions["max-overall-upload-limit"]=t},expression:"change2GlobalOptions['max-overall-upload-limit']"}},[i("span",{slot:"right"},[e._v("KB")])]),e._v(" "),i("x-input",{attrs:{title:e.$t("max-concurrent-downloads"),type:"number","show-clear":!1,min:1},model:{value:e.change2GlobalOptions["max-concurrent-downloads"],callback:function(t){var i=e.change2GlobalOptions;Array.isArray(i)?i.splice("max-concurrent-downloads",1,t):e.change2GlobalOptions["max-concurrent-downloads"]=t},expression:"change2GlobalOptions['max-concurrent-downloads']"}},[i("span",{slot:"right"},[e._v("个")])])],1),e._v(" "),i("group",{staticClass:"buttonGroup"},[i("x-button",{nativeOn:{click:function(t){e.saveAria2Options()}}},[e._v(e._s(e.$t("Save")))]),e._v(" "),i("x-button",{nativeOn:{click:function(t){e.showOptions=!1}}},[e._v(e._s(e.$t("Cancel")))])],1)],1)],1)],1)},staticRenderFns:[]}},,function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"weui-cells_radio",class:e.disabled?"vux-radio-disabled":""},[e._l(e.options,function(t,n){return i("label",{staticClass:"weui-cell weui-cell_radio weui-check__label",attrs:{for:"radio_"+e.uuid+"_"+n}},[i("div",{staticClass:"weui-cell__bd"},[e._t("each-item",[i("p",[i("img",{directives:[{name:"show",rawName:"v-show",value:t&&t.icon,expression:"one && one.icon"}],staticClass:"vux-radio-icon",attrs:{src:t.icon}}),e._v(" "),i("span",{staticClass:"vux-radio-label",style:e.currentValue===e.getKey(t)?e.selectedLabelStyle||"":""},[e._v(e._s(e._f("getValue")(t)))])])],{icon:t.icon,label:e.getValue(t),index:n,selected:e.currentValue===e.getKey(t)})],2),e._v(" "),i("div",{staticClass:"weui-cell__ft"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-check",attrs:{type:"radio",id:e.disabled?"":"radio_"+e.uuid+"_"+n},domProps:{value:e.getKey(t),checked:e._q(e.currentValue,e.getKey(t))},on:{__c:function(i){e.currentValue=e.getKey(t)}}}),e._v(" "),i("span",{staticClass:"weui-icon-checked"})])])}),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.fillMode,expression:"fillMode"}],staticClass:"weui-cell"},[i("div",{staticClass:"weui-cell__hd"},[i("label",{staticClass:"weui-label",attrs:{for:""}},[e._v(e._s(e.fillLabel))])]),e._v(" "),i("div",{staticClass:"weui-cell__bd"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.fillValue,expression:"fillValue"}],staticClass:"weui-input needsclick",attrs:{type:"text",placeholder:e.fillPlaceholder},domProps:{value:e.fillValue},on:{blur:function(t){e.isFocus=!1},focus:function(t){e.onFocus()},input:function(t){t.target.composing||(e.fillValue=t.target.value)}}})]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:""===e.value&&!e.isFocus,expression:"value==='' && !isFocus"}],staticClass:"weui-cell__ft"},[i("i",{staticClass:"weui-icon-warn"})])])],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"echarts"})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-x-dialog",on:{touchmove:e.onTouchMove}},[i("transition",{attrs:{name:e.maskTransition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.currentValue,expression:"currentValue"}],staticClass:"weui-mask",on:{click:function(t){e.hideOnBlur&&(e.currentValue=!1)}}})]),e._v(" "),i("transition",{attrs:{name:e.dialogTransition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.currentValue,expression:"currentValue"}],class:e.dialogClass,style:e.dialogStyle},[e._t("default")],2)])],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.onClickedOutside,expression:"onClickedOutside"}]},[i("span",{ref:"trigger",on:{click:e.toggle}},[e._t("default")],2),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],ref:"popover",staticClass:"vux-popover",style:e.popoverStyle},[i("div",{class:e.arrowClass}),e._v(" "),i("div",{on:{click:function(t){e.$emit("on-click-content")}}},[e._t("content",[i("div",{domProps:{innerHTML:e._s(e.content)}})])],2)])])},staticRenderFns:[]}},,,function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("group",[i("div",{staticClass:"download-list"},[e._l(e.list,function(t){return i("task-line",{key:t.gid,attrs:{download:t,selected:~e.selectedGids.indexOf(t.gid)},nativeOn:{click:function(i){i.stopPropagation(),e.select(t.gid,i)},dblclick:function(i){i.stopPropagation(),e.startOrPause(t)}}})}),e._v(" "),e.list.length<1?i("cell",{staticClass:"empty",attrs:{title:e.$t("No downloads")}}):e._e()],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("cell-box",{staticClass:"download",class:{selected:e.selected},nativeOn:{mouseenter:function(t){e.showAction=!0},mouseleave:function(t){e.showAction=!1}}},[e.globalConfig.enableChart?i("chart",{staticClass:"chart",attrs:{autoResize:!0,options:e.char}}):e._e(),e._v(" "),i("div",{staticClass:"progress",style:{width:e.progress}},[i("span",{directives:[{name:"show",rawName:"v-show",value:e.showPercent,expression:"showPercent"}]},[e._v(e._s(parseInt(e.progress)))])]),e._v(" "),i("div",{staticClass:"info"},[i("div",{staticClass:"left"},[i("div",{staticClass:"name",attrs:{title:e.name}},[e._v("\n "+e._s(e.name)+"\n ")]),e._v(" "),i("div",{staticClass:"status"},[e.download.errorMessage?i("div",[e._v(e._s(e.download.errorMessage))]):e._e(),e._v(" "),e.download.errorMessage?e._e():i("div",["active"!=e.download.status?i("span",[e._v(e._s(e.getStatus))]):e._e(),e._v(" "),"0"!==e.download.totalLength?i("span",{staticClass:"size",on:{mouseenter:function(t){e.showPercent=!0},mouseleave:function(t){e.showPercent=!1}}},[e._v(e._s(e.isDownloading?e.completedSize+"/":"")+e._s(e.size))]):e._e(),e._v(" "),e.isDownloading?i("span",{staticClass:"speed"},[e._v(e._s(e.downloadSpeed))]):e._e(),e._v(" "),e.isDownloading?i("span",{staticClass:"connections",attrs:{title:e.$t("connections")}},[e._v(e._s(e.downloadConnections))]):e._e(),e._v(" "),e.isUploading?i("span",{staticClass:"speed upload"},[e._v(e._s(e.uploadSpeed))]):e._e(),e._v(" "),e.isDownloading?i("span",{staticClass:"eta"},[e._v(e._s(e.$t("eta"))+":"+e._s(e.eta))]):e._e()])])]),e._v(" "),i("div",{staticClass:"right"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.showAction&&!e.showPercent,expression:"showAction&&!showPercent"}],staticClass:"action"},[i("i",{directives:[{name:"show",rawName:"v-show",value:"active"===e.download.status,expression:"download.status === 'active'"}],staticClass:"material-icons",attrs:{title:e.$t("pause")},on:{click:function(t){t.stopPropagation(),e.pauseSelectedDownloads({gids:[e.download.gid]})}}},[e._v("pause_circle_outline")]),e._v(" "),i("i",{directives:[{name:"show",rawName:"v-show",value:"paused"===e.download.status,expression:"download.status === 'paused'"}],staticClass:"material-icons",attrs:{title:e.$t("start")},on:{click:function(t){t.stopPropagation(),e.startSelectedDownloads({gids:[e.download.gid]})}}},[e._v("play_circle_outline")]),e._v(" "),i("i",{staticClass:"material-icons",attrs:{title:e.$t("delete")},on:{click:function(t){t.stopPropagation(),e.removeSelectedDownloads({gids:[e.download.gid]})}}},[e._v("delete_forever")])])])])],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-toast"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMask&&e.show,expression:"isShowMask && show"}],staticClass:"weui-mask_transparent"}),e._v(" "),i("transition",{attrs:{name:e.currentTransition}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"weui-toast",class:e.toastClass,style:{width:e.width}},[i("i",{directives:[{name:"show",rawName:"v-show",value:"text"!==e.type,expression:"type !== 'text'"}],staticClass:"weui-icon-success-no-circle weui-icon_toast"}),e._v(" "),e.text?i("p",{staticClass:"weui-toast__content",style:e.style,domProps:{innerHTML:e._s(e.text)}}):i("p",{staticClass:"weui-toast__content"},[e._t("default")],2)])])],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vux-cell-box weui-cell",class:{"vux-tap-active":e.isLink||!!e.link,"weui-cell_access":e.isLink||!!e.link,"vux-cell-no-border-intent":!e.borderIntent},on:{click:e.onClick}},[i("div",[e._t("default")],2)])},staticRenderFns:[]}},,function(e,t,i){i(343);var n=i(1)(i(219),i(421),null,null);e.exports=n.exports},function(e,t,i){i(351);var n=i(1)(i(220),i(429),null,null);e.exports=n.exports},function(e,t,i){i(339);var n=i(1)(i(221),i(417),null,null);e.exports=n.exports},function(e,t,i){i(342);var n=i(1)(i(222),i(420),null,null);e.exports=n.exports},,function(e,t,i){i(350);var n=i(1)(i(224),i(428),null,null);e.exports=n.exports},function(e,t,i){i(344);var n=i(1)(i(225),i(422),null,null);e.exports=n.exports},function(e,t,i){i(345);var n=i(1)(i(226),i(423),null,null);e.exports=n.exports},,function(e,t,i){i(340);var n=i(1)(i(230),i(418),null,null);e.exports=n.exports},function(e,t,i){i(349);var n=i(1)(i(231),i(427),null,null);e.exports=n.exports},function(e,t,i){i(348);var n=i(1)(i(232),i(426),null,null);e.exports=n.exports}],[217]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/startscript.js b/safari2aria.safariextension/static/js/startscript.js index e507b04..5ff9d3d 100644 --- a/safari2aria.safariextension/static/js/startscript.js +++ b/safari2aria.safariextension/static/js/startscript.js @@ -1 +1 @@ -webpackJsonp([5],{214:function(n,o){function t(){if(location.href.match(/baidu/)){var n="浏览器window.navigator属性修改失败,自动尝试方案2。",o="无法修改浏览器window.navigator,这将影响屏蔽功能。";try{Object.defineProperty(window.navigator,"platform",{get:function(){return"Android"}})}catch(n){}!function(){if("Android"!=window.navigator.platform){console.log(n);try{window.navigator.__defineGetter__("platform",function(){return"Android"})}catch(n){}"Android"!=window.navigator.platform&&console.log(o)}}()}}var i=document.createElement("script");i.type="text/javascript",i.innerHTML=[t.toString(),[t.name,"()"].join("")].join(";"),document.documentElement.appendChild(i)}},[214]); \ No newline at end of file +webpackJsonp([5],{150:function(i,e,n){"use strict";e.a=function(i,e){var n=document.createElement("script");n.type="text/javascript",n.innerHTML=["(",i.toString(),")(",JSON.stringify(e),")"].join(""),document.documentElement.appendChild(n)}},158:function(i,e,n){"use strict";function t(){var i=window.mDisableBaiduLimit;window.mDisableBaiduLimit=!0;var e="浏览器window.navigator属性修改失败,自动尝试方案2。",n="无法修改浏览器window.navigator,这将影响屏蔽功能。",t=window.navigator.platform,a=window.navigator.userAgent;try{Object.defineProperty(window.navigator,"platform",{get:function(){return window.mDisableBaiduLimit?"Android":t}}),Object.defineProperty(window.navigator,"userAgent",{get:function(){return window.mDisableBaiduLimit?"Android":a}})}catch(i){}!function(){if("Android"!==window.navigator.platform){console.log(e);try{window.navigator.__defineGetter__("platform",function(){return window.mDisableBaiduLimit?"Android":t}),window.navigator.__defineGetter__("userAgent",function(){return window.mDisableBaiduLimit?"Android":a})}catch(i){}"Android"!==window.navigator.platform&&console.log(n)}window.mDisableBaiduLimit=i}()}function a(i){console.log("disableBaiduLimit:",i.disableBaiduLimit),window.mDisableBaiduLimit=i.disableBaiduLimit}Object.defineProperty(e,"__esModule",{value:!0});var o=n(37),s=n(150);window.top===window&&location.href.match(/baidu/)&&(n.i(s.a)(t),n.i(o.a)({send:[{name:"getConfig",params:""}],listeners:[{name:"sendToEndScript",cb:function(i){n.i(s.a)(a,{disableBaiduLimit:i.disableBaiduLimit})}}]}))},37:function(i,e,n){"use strict";e.a=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(e,n){setTimeout(function(){n("timeout to get config")},1e4),window.extensionMessageListener||safari.self.addEventListener("message",function(i){var t=0;window.extensionMessageListener.forEach(function(n){i.name===n.name&&(n.cb&&n.cb(i.message||{}),e(i.message||{}),t++)}),t||n("no listener"),i.message&&i.message.hasCb&&safari.self.tab.dispatchMessage([i.name,"cb"].join("_"),{cookie:document.cookie})},!1),window.extensionMessageListener=[].concat(window.extensionMessageListener||[]).concat(i.listeners||[]),i.send&&i.send.forEach(function(i){safari.self.tab.dispatchMessage(i.name,i.params)})})}}},[158]); \ No newline at end of file diff --git a/safari2aria.safariextension/static/js/vendor.aaff2542e0be66548fec.js b/safari2aria.safariextension/static/js/vendor.aaff2542e0be66548fec.js deleted file mode 100644 index b392b93..0000000 --- a/safari2aria.safariextension/static/js/vendor.aaff2542e0be66548fec.js +++ /dev/null @@ -1,39 +0,0 @@ -webpackJsonp([0],[function(t,e){function n(t){if(null==t||"object"!=typeof t)return t;var e=t,r=R.call(t);if("[object Array]"===r){e=[];for(var i=0,o=t.length;i0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/i*o+n[0]},a.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},a.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},a.asc=function(t){return t.sort(function(t,e){return t-e}),t},a.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},a.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var r=+e.slice(n+1);return r<0?-r:0}var i=e.indexOf(".");return i<0?0:e.length-1-i},a.getPixelPrecision=function(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20},a.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var r=o.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===r)return 0;for(var i=Math.pow(10,n),a=o.map(t,function(t){return(isNaN(t)?0:t)/r*i*100}),s=100*i,u=o.map(a,function(t){return Math.floor(t)}),c=o.reduce(u,function(t,e){return t+e},0),l=o.map(a,function(t,e){return t-u[e]});cf&&(f=l[p],h=p);++u[h],l[h]=0,++c}return u[e]/i},a.MAX_SAFE_INTEGER=9007199254740991,a.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},a.isRadianAroundZero=function(t){return t>-1e-4&&t<1e-4};var s=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;a.getTimezoneOffset=function(){return(new Date).getTimezoneOffset()},a.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=s.exec(t);if(!e)return new Date(NaN);var n=a.getTimezoneOffset(),r=e[8]?"Z"===e[8].toUpperCase()?n:60*+e[8].slice(0,3)+n:0;return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0)-r,+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},a.quantity=function(t){return Math.pow(10,i(t))},a.nice=function(t,e){var n,r=i(t),o=Math.pow(10,r),a=t/o;return n=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=n*o,r>=-20?+t.toFixed(r<0?-r:0):t},a.reformIntervals=function(t){function e(t,n,r){return t.interval[r]=0},t.exports=a},function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array,r={create:function(t,e){var r=new n(2);return null==t&&(t=0),null==e&&(e=0),r[0]=t,r[1]=e,r},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},clone:function(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},len:function(t){return Math.sqrt(this.lenSquare(t))},lenSquare:function(t){return t[0]*t[0]+t[1]*t[1]},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},normalize:function(t,e){var n=r.len(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},distance:function(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))},distanceSquare:function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:function(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t},applyTransform:function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}};r.length=r.len,r.lengthSquare=r.lenSquare,r.dist=r.distance,r.distSquare=r.distanceSquare,t.exports=r},function(t,e,n){function r(t){i.call(this,t),this.path=null}var i=n(146),o=n(0),a=n(79),s=n(453),u=n(199),c=u.prototype.getCanvasPattern,l=Math.abs,f=new a(!0);r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n=this.style,r=this.path||f,i=n.hasStroke(),o=n.hasFill(),a=n.fill,s=n.stroke,u=o&&!!a.colorStops,l=i&&!!s.colorStops,h=o&&!!a.image,p=i&&!!s.image;if(n.bind(t,this,e),this.setTransform(t),this.__dirty){var d;u&&(d=d||this.getBoundingRect(),this._fillGradient=n.getGradient(t,a,d)),l&&(d=d||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,s,d))}u?t.fillStyle=this._fillGradient:h&&(t.fillStyle=c.call(a,t)),l?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=c.call(s,t));var v=n.lineDash,g=n.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();r.setScale(y[0],y[1]),this.__dirtyPath||v&&!m&&i?(r.beginPath(t),v&&!m&&(r.setLineDash(v),r.setLineDashOffset(g)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o&&r.fill(t),v&&m&&(t.setLineDash(v),t.lineDashOffset=g),i&&r.stroke(t),v&&m&&t.setLineDash([]),this.restoreTransform(t),null!=n.text&&this.drawRectText(t,this.getBoundingRect())},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var r=this.path;r||(r=this.path=new a),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){i.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(i.width+=o/s,i.height+=o/s,i.x-=o/s/2,i.y-=o/s/2)}return i}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path.data;if(i.hasStroke()){var a=i.lineWidth,u=i.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(i.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),s.containStroke(o,a/u,t,e)))return!0}if(i.hasFill())return s.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(o.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},r.extend=function(t){var e=function(e){r.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var o in n)!i.hasOwnProperty(o)&&n.hasOwnProperty(o)&&(i[o]=n[o])}t.init&&t.init.call(this,e)};o.inherits(e,r);for(var n in t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},o.inherits(r,i),t.exports=r},function(t,e,n){"use strict";function r(t){return null!=t&&"none"!=t}function i(t){return"string"==typeof t?_.lift(t,-.1):t}function o(t){if(t.__hoverStlDirty){var e=t.style.stroke,n=t.style.fill,o=t.__hoverStl;o.fill=o.fill||(r(n)?i(n):null),o.stroke=o.stroke||(r(e)?i(e):null);var a={};for(var s in o)o.hasOwnProperty(s)&&(a[s]=t.style[s]);t.__normalStl=a,t.__hoverStlDirty=!1}}function a(t){t.__isHover||(o(t),t.useHoverLayer?t.__zr&&t.__zr.addHover(t,t.__hoverStl):(t.setStyle(t.__hoverStl),t.z2+=1),t.__isHover=!0)}function s(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t.setStyle(e),t.z2-=1),t.__isHover=!1}}function u(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&a(t)}):a(t)}function c(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&s(t)}):s(t)}function l(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&o(t)}function f(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&u(this)}function h(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&c(this)}function p(){this.__isEmphasis=!0,u(this)}function d(){this.__isEmphasis=!1,c(this)}function v(t,e,n,r,i,o){if("function"==typeof i&&(o=i,i=null),r&&r.isAnimationEnabled()){var a=t?"Update":"",s=r.getShallow("animationDuration"+a),u=r.getShallow("animationEasing"+a),c=r.getShallow("animationDelay"+a);"function"==typeof c&&(c=c(i,r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null)),"function"==typeof s&&(s=s(i)),s>0?e.animateTo(n,s,c||0,u,o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}var g=n(0),m=n(478),y=n(7),_=n(80),x=n(54),b=n(6),w=n(202),T=n(13),C=Math.round,S=Math.max,A=Math.min,M={};M.Group=n(78),M.Image=n(198),M.Text=n(462),M.Circle=n(469),M.Sector=n(475),M.Ring=n(474),M.Polygon=n(471),M.Polyline=n(472),M.Rect=n(473),M.Line=n(470),M.BezierCurve=n(468),M.Arc=n(467),M.CompoundPath=n(459),M.LinearGradient=n(460),M.RadialGradient=n(461),M.BoundingRect=T,M.extendShape=function(t){return y.extend(t)},M.extendPath=function(t,e){return m.extendFromString(t,e)},M.makePath=function(t,e,n,r){var i=m.createFromString(t,e),o=i.getBoundingRect();if(n){var a=o.width/o.height;if("center"===r){var s,u=n.height*a;u<=n.width?s=n.height:(u=n.width,s=u/a);var c=n.x+n.width/2,l=n.y+n.height/2;n.x=c-u/2,n.y=l-s/2,n.width=u,n.height=s}M.resizePath(i,n)}return i},M.mergePath=m.mergePath,M.resizePath=function(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}},M.subPixelOptimizeLine=function(t){var e=M.subPixelOptimize,n=t.shape,r=t.style.lineWidth;return C(2*n.x1)===C(2*n.x2)&&(n.x1=n.x2=e(n.x1,r,!0)),C(2*n.y1)===C(2*n.y2)&&(n.y1=n.y2=e(n.y1,r,!0)),t},M.subPixelOptimizeRect=function(t){var e=M.subPixelOptimize,n=t.shape,r=t.style.lineWidth,i=n.x,o=n.y,a=n.width,s=n.height;return n.x=e(n.x,r,!0),n.y=e(n.y,r,!0),n.width=Math.max(e(i+a,r,!1)-n.x,0===a?0:1),n.height=Math.max(e(o+s,r,!1)-n.y,0===s?0:1),t},M.subPixelOptimize=function(t,e,n){var r=C(2*t);return(r+C(e))%2==0?r/2:(r+(n?1:-1))/2},M.setHoverStyle=function(t,e,n){t.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&l(t,e)}):l(t,e),t.on("mouseover",f).on("mouseout",h),t.on("emphasis",p).on("normal",d)},M.setText=function(t,e,n){var r=e.getShallow("position")||"inside",i=e.getShallow("offset"),o=r.indexOf("inside")>=0?"white":n,a=e.getModel("textStyle");g.extend(t,{textDistance:e.getShallow("distance")||5,textFont:a.getFont(),textPosition:r,textOffset:i,textFill:a.getTextColor()||o})},M.getFont=function(t,e){var n=e&&e.getModel("textStyle");return[t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" ")},M.updateProps=function(t,e,n,r,i){v(!0,t,e,n,r,i)},M.initProps=function(t,e,n,r,i){v(!1,t,e,n,r,i)},M.getTransform=function(t,e){for(var n=x.identity([]);t&&t!==e;)x.mul(n,t.getLocalTransform(),n),t=t.parent;return n},M.applyTransform=function(t,e,n){return e&&!g.isArrayLike(e)&&(e=w.getLocalTransform(e)),n&&(e=x.invert([],e)),b.applyTransform([],t,e)},M.transformDirection=function(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=M.applyTransform(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},M.groupTransition=function(t,e,n,r){function i(t){var e={position:b.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=g.extend({},t.shape)),e}if(t&&e){var o=function(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var r=i(t);t.attr(i(e)),M.updateProps(t,r,n,t.dataIndex)}}})}},M.clipPointsByRect=function(t,e){return g.map(t,function(t){var n=t[0];n=S(n,e.x),n=A(n,e.x+e.width);var r=t[1];return r=S(r,e.y),r=A(r,e.y+e.height),[n,r]})},M.clipRectByRect=function(t,e){var n=S(t.x,e.x),r=A(t.x+t.width,e.x+e.width),i=S(t.y,e.y),o=A(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}},t.exports=M},function(t,e,n){var r=n(4),i=n(2),o=n(38),a=n(22),s=function(t,e,n){var u,c,l,f=t&s.F,h=t&s.G,p=t&s.S,d=t&s.P,v=t&s.B,g=t&s.W,m=h?i:i[e]||(i[e]={}),y=m.prototype,_=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(c=!f&&_&&void 0!==_[u])&&u in m||(l=c?_[u]:n[u],m[u]=h&&"function"!=typeof _[u]?n[u]:v&&c?o(l,r):g&&_[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[u]=l,t&s.R&&y&&!y[u]&&a(y,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){var r=n(14),i=n(156),o=n(107),a=Object.defineProperty;e.f=n(15)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){function r(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function i(t,e,n){for(var r=0;r=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new r(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},t.exports=r},function(t,e,n){var r=n(28);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){function r(t){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i(t,e){var n=a.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function o(t,e,n){return this.superClass.prototype[e].apply(t,n)}var a=n(0),s={},u="___EC__COMPONENT__CONTAINER___";s.set=function(t,e,n){return t["\0ec_\0"+e]=n},s.get=function(t,e){return t["\0ec_\0"+e]},s.hasOwn=function(t,e){return t.hasOwnProperty("\0ec_\0"+e)};var c=s.parseClassType=function(t){var e={main:"",sub:""};return t&&(t=t.split("."),e.main=t[0]||"",e.sub=t[1]||""),e};s.enableClassExtend=function(t,e){t.$constructor=t,t.extend=function(t){__DEV__&&a.each(e,function(e){t[e]||console.warn("Method `"+e+"` should be implemented"+(t.type?" in "+t.type:"")+".")});var n=this,r=function(){t.$constructor?t.$constructor.apply(this,arguments):n.apply(this,arguments)};return a.extend(r.prototype,t),r.extend=this.extend,r.superCall=i,r.superApply=o,a.inherits(r,this),r.superClass=n,r}},s.enableClassManagement=function(t,e){function n(t){var e=i[t.main];return e&&e[u]||(e=i[t.main]={},e[u]=!0),e}e=e||{};var i={};if(t.registerClass=function(t,e){if(e)if(r(e),e=c(e),e.sub){if(e.sub!==u){var o=n(e);o[e.sub]=t}}else __DEV__&&i[e.main]&&console.warn(e.main+" exists."),i[e.main]=t;return t},t.getClass=function(t,e,n){var r=i[t];if(r&&r[u]&&(r=e?r[e]:null),n&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=c(t);var e=[],n=i[t.main];return n&&n[u]?a.each(n,function(t,n){n!==u&&e.push(t)}):e.push(n),e},t.hasClass=function(t){return t=c(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return a.each(i,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=c(t);var e=i[t.main];return e&&e[u]},t.parseClassType=c,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var n=o.call(this,e);return t.registerClass(n,e.type)})}return t},s.setReadOnly=function(t,e){},t.exports=s},function(t,e,n){function r(t,e){return t&&t.hasOwnProperty(e)}var i=n(25),o=n(5),a=n(11),s=n(0),u=s.each,c=s.isObject,l={};l.normalizeToArray=function(t){return t instanceof Array?t:null==t?[]:[t]},l.defaultEmphasis=function(t,e){if(t){var n=t.emphasis=t.emphasis||{},r=t.normal=t.normal||{};u(e,function(t){var e=s.retrieve(n[t],r[t]);null!=e&&(n[t]=e)})}},l.LABEL_OPTIONS=["position","offset","show","textStyle","distance","formatter"],l.getDataItemValue=function(t){return t&&(null==t.value?t:t.value)},l.isDataItemOption=function(t){return c(t)&&!(t instanceof Array)},l.converDataValue=function(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+o.parseDate(t)),null==t||""===t?NaN:+t)},l.createDataFormatModel=function(t,e){var n=new a;return s.mixin(n,l.dataFormatMixin),n.seriesIndex=e.seriesIndex,n.name=e.name||"",n.mainType=e.mainType,n.subType=e.subType,n.getData=function(){return t},n},l.dataFormatMixin={getDataParams:function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),o=n.getRawIndex(t),a=n.getName(t,!0),s=n.getRawDataItem(t),u=n.getItemVisual(t,"color");return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:a,dataIndex:o,data:s,dataType:e,value:r,color:u,marker:i.getTooltipMarker(u),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,r,o){e=e||"normal";var a=this.getData(n),s=a.getItemModel(t),u=this.getDataParams(t,n);null!=r&&u.value instanceof Array&&(u.value=u.value[r]);var c=s.get([o||"label",e,"formatter"]);return"function"==typeof c?(u.status=e,c(u)):"string"==typeof c?i.formatTpl(c,u):void 0},getRawValue:function(t,e){var n=this.getData(e),r=n.getRawDataItem(t);if(null!=r)return!c(r)||r instanceof Array?r:r.value},formatTooltip:s.noop},l.mappingToExists=function(t,e){e=(e||[]).slice();var n=s.map(t||[],function(t,e){return{exist:t}});return u(e,function(t,r){if(c(t)){for(var i=0;i=n.length&&n.push({option:t})}}),n},l.makeIdAndName=function(t){var e=s.createHashMap();u(t,function(t,n){var r=t.exist;r&&e.set(r.id,t)}),u(t,function(t,n){var r=t.option;s.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),u(t,function(t,n){var r=t.exist,i=t.option,o=t.keyInfo;if(c(i)){if(o.name=null!=i.name?i.name+"":r?r.name:"\0-",r)o.id=r.id;else if(null!=i.id)o.id=i.id+"";else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(e.get(o.id))}e.set(o.id,t)}})},l.isIdInner=function(t){return c(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")},l.compressBatches=function(t,e){function n(t,e,n){for(var r=0,i=t.length;r=11)}}(navigator.userAgent),t.exports=n},function(t,e,n){"use strict";(function(t){/*! - * Vue.js v2.3.4 - * (c) 2014-2017 Evan You - * Released under the MIT License. - */ -function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return!1===t}function a(t){return"string"==typeof t||"number"==typeof t}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===Ei.call(t)}function c(t){return"[object RegExp]"===Ei.call(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function f(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)}}function d(t,e){return Ii.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function g(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 m(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function _(t){for(var e={},n=0;nIo&&ko[n].id>t.id;)n--;ko.splice(n+1,0,t)}else ko.push(t);Eo||(Eo=!0,lo(St))}}function Pt(t){jo.clear(),Et(t,jo)}function Et(t,e){var n,r,i=Array.isArray(t);if((i||s(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)Et(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Et(t[r[n]],e)}}function Lt(t,e,n){Ro.get=function(){return this[e][n]},Ro.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ro)}function It(t){t._watchers=[];var e=t.$options;e.props&&Dt(t,e.props),e.methods&&zt(t,e.methods),e.data?$t(t):I(t._data={},!0),e.computed&&Rt(t,e.computed),e.watch&&Bt(t,e.watch)}function Dt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;yo.shouldConvert=o;for(var a in e)!function(o){i.push(o);var a=W(o,e,n,t);D(r,o,a),o in t||Lt(t,"_props",o)}(a);yo.shouldConvert=!0}function $t(t){var e=t.$options.data;e=t._data="function"==typeof e?jt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=n.length;i--;)r&&d(r,n[i])||C(n[i])||Lt(t,"_data",n[i]);I(e,!0)}function jt(t,e){try{return t.call(e)}catch(t){return M(t,e,"data()"),{}}}function Rt(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var i=e[r],o="function"==typeof i?i:i.get;n[r]=new $o(t,o,x,No),r in t||Nt(t,r,i)}}function Nt(t,e,n){"function"==typeof n?(Ro.get=Ft(e),Ro.set=x):(Ro.get=n.get?!1!==n.cache?Ft(e):n.get:x,Ro.set=n.set?n.set:x),Object.defineProperty(t,e,Ro)}function Ft(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ho.target&&e.depend(),e.value}}function zt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?x:g(e[n],t)}function Bt(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 ge(t){this._init(t)}function me(t){t.use=function(t){if(t.installed)return this;var e=m(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):"function"==typeof t&&t.apply(null,e),t.installed=!0,this}}function ye(t){t.mixin=function(t){return this.options=H(this.options,t),this}}function _e(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,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=H(n.options,t),a.super=n,a.options.props&&xe(a),a.options.computed&&be(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Vi.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=y({},a.options),i[r]=a,a}}function xe(t){var e=t.options.props;for(var n in e)Lt(t.prototype,"_props",n)}function be(t){var e=t.options.computed;for(var n in e)Nt(t.prototype,n,e[n])}function we(t){Vi.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(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 Te(t){return t&&(t.Ctor.options.name||t.tag)}function Ce(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function Se(t,e,n){for(var r in t){var i=t[r];if(i){var o=Te(i.componentOptions);o&&!n(o)&&(i!==e&&Ae(i),t[r]=null)}}}function Ae(t){t&&t.componentInstance.$destroy()}function Me(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(e=ke(i.data,e));for(;r(n=n.parent);)n.data&&(e=ke(e,n.data));return Oe(e)}function ke(t,e){return{staticClass:Pe(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Oe(t){var e=t.class,n=t.staticClass;return r(n)||r(e)?Pe(n,Ee(e)):""}function Pe(t,e){return t?e?t+" "+e:t:e||""}function Ee(t){if(n(t))return"";if("string"==typeof t)return t;var e="";if(Array.isArray(t)){for(var i,o=0,a=t.length;o-1?ga[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ga[t]=/HTMLUnknownElement/.test(e.toString())}function De(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function $e(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 je(t,e){return document.createElementNS(fa[t],e)}function Re(t){return document.createTextNode(t)}function Ne(t){return document.createComment(t)}function Fe(t,e,n){t.insertBefore(e,n)}function ze(t,e){t.removeChild(e)}function Be(t,e){t.appendChild(e)}function Ve(t){return t.parentNode}function He(t){return t.nextSibling}function qe(t){return t.tagName}function We(t,e){t.textContent=e}function Ue(t,e,n){t.setAttribute(e,n)}function Ge(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?p(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(i)<0?o[n].push(i):o[n]=[i]:o[n]=i}}function Ze(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Xe(t,e)}function Xe(t,e){if("input"!==t.tag)return!0;var n;return(r(n=t.data)&&r(n=n.attrs)&&n.type)===(r(n=e.data)&&r(n=n.attrs)&&n.type)}function Ye(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function Ke(t,e){(t.data.directives||e.data.directives)&&Je(t,e)}function Je(t,e){var n,r,i,o=t===_a,a=e===_a,s=Qe(t.data.directives,t.context),u=Qe(e.data.directives,e.context),c=[],l=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,en(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(en(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n=0&&" "===(g=t.charAt(v));v--);g&&Aa.test(g)||(l=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==d&&e(),a)for(i=0;i=Go}function bn(t){return 34===t||39===t}function wn(t){var e=1;for(Ko=Yo;!xn();)if(t=_n(),bn(t))Tn(t);else if(91===t&&e++,93===t&&e--,0===e){Jo=Yo;break}}function Tn(t){for(var e=t;!xn()&&(t=_n())!==e;);}function Cn(t,e,n){Qo=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if("select"===o)Mn(t,r,i);else if("input"===o&&"checkbox"===a)Sn(t,r,i);else if("input"===o&&"radio"===a)An(t,r,i);else if("input"===o||"textarea"===o)kn(t,r,i);else if(!qi.isReservedTag(o))return gn(t,r,i),!1;return!0}function Sn(t,e,n){var r=n&&n.number,i=dn(t,"value")||"null",o=dn(t,"true-value")||"true",a=dn(t,"false-value")||"false";ln(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),pn(t,ka,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+mn(e,"$$c")+"}",null,!0)}function An(t,e,n){var r=n&&n.number,i=dn(t,"value")||"null";i=r?"_n("+i+")":i,ln(t,"checked","_q("+e+","+i+")"),pn(t,ka,mn(e,i),null,!0)}function Mn(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+mn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),pn(t,"change",o,null,!0)}function kn(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=!o&&"range"!==r,c=o?"change":"range"===r?Ma:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=mn(e,l);u&&(f="if($event.target.composing)return;"+f),ln(t,"value","("+e+")"),pn(t,c,f,null,!0),(s||a||"number"===r)&&pn(t,"blur","$forceUpdate()")}function On(t){var e;r(t[Ma])&&(e=Ki?"change":"input",t[e]=[].concat(t[Ma],t[e]||[]),delete t[Ma]),r(t[ka])&&(e=no?"click":"change",t[e]=[].concat(t[ka],t[e]||[]),delete t[ka])}function Pn(t,e,n,r,i){if(n){var o=e,a=ta;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&En(t,e,r,a)}}ta.addEventListener(t,e,ro?{capture:r,passive:i}:r)}function En(t,e,n,r){(r||ta).removeEventListener(t,e,n)}function Ln(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},i=t.data.on||{};ta=e.elm,On(r),Q(r,i,Pn,En,e.context)}}function In(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,o,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};r(u.__ob__)&&(u=e.data.domProps=y({},u));for(i in s)n(u[i])&&(a[i]="");for(i in u)if(o=u[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),o!==s[i]))if("value"===i){a._value=o;var c=n(o)?"":String(o);Dn(a,e,c)&&(a.value=c)}else a[i]=o}}function Dn(t,e,n){return!t.composing&&("option"===e.tag||$n(t,n)||jn(t,n))}function $n(t,e){return document.activeElement!==t&&t.value!==e}function jn(t,e){var n=t.value,i=t._vModifiers;return r(i)&&i.number||"number"===t.type?f(n)!==f(e):r(i)&&i.trim?n.trim()!==e.trim():n!==e}function Rn(t){var e=Nn(t.style);return t.staticStyle?y(t.staticStyle,e):e}function Nn(t){return Array.isArray(t)?_(t):"string"==typeof t?Ea(t):t}function Fn(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Rn(i.data))&&y(r,n);(n=Rn(t.data))&&y(r,n);for(var o=t;o=o.parent;)o.data&&(n=Rn(o.data))&&y(r,n);return r}function zn(t,e){var i=e.data,o=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,u=e.elm,c=o.staticStyle,l=o.normalizedStyle||o.style||{},f=c||l,h=Nn(e.data.style)||{};e.data.normalizedStyle=r(h.__ob__)?y({},h):h;var p=Fn(e,!0);for(s in f)n(p[s])&&Da(u,s,"");for(s in p)(a=p[s])!==f[s]&&Da(u,s,null==a?"":a)}}function Bn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-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 Vn(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);else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Hn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,Na(t.name||"v")),y(e,t),e}return"string"==typeof t?Na(t):void 0}}function qn(t){Ua(function(){Ua(t)})}function Wn(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Bn(t,e)}function Un(t,e){t._transitionClasses&&p(t._transitionClasses,e),Vn(t,e)}function Gn(t,e,n){var r=Zn(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===za?Ha:Wa,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=za,l=a,f=o.length):e===Ba?c>0&&(n=Ba,l=c,f=u.length):(l=Math.max(a,c),n=l>0?a>c?za:Ba:null,f=n?n===za?o.length:u.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===za&&Ga.test(r[Va+"Property"])}}function Xn(t,e){for(;t.length1}function er(t,e){!0!==e.data.show&&Kn(e)}function nr(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(b(ir(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function rr(t,e){for(var n=0,r=e.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var u=a.length-1;u>=i;u--)e.end&&e.end(a[u].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,o,a=[],s=e.expectHTML,u=e.isUnaryTag||Fi,c=e.canBeLeftOpenTag||Fi,l=0;t;){if(i=t,o&&Vs(o)){var f=o.toLowerCase(),h=Hs[f]||(Hs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,d=t.replace(h,function(t,n,r){return p=r.length,Vs(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""});l+=t.length-d.length,t=d,r(f,l-p,l)}else{var v=t.indexOf("<");if(0===v){if(bs.test(t)){var g=t.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(ws.test(t)){var m=t.indexOf("]>");if(m>=0){n(m+2);continue}}var y=t.match(xs);if(y){n(y[0].length);continue}var _=t.match(_s);if(_){var x=l;n(_[0].length),r(_[1],x,l);continue}var b=function(){var e=t.match(ms);if(e){var r={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var i,o;!(i=t.match(ys))&&(o=t.match(ds));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if(b){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&ls(n)&&r(o),c(n)&&o===n&&r(n));for(var l=u(n)||"html"===n&&"head"===o||!!i,f=t.attrs.length,h=new Array(f),p=0;p=0){for(T=t.slice(v);!(_s.test(T)||ms.test(T)||bs.test(T)||ws.test(T)||(C=T.indexOf("<",1))<0);)v+=C,T=t.slice(v);w=t.substring(0,v),n(v)}v<0&&(w=t,t=""),e.chars&&w&&e.chars(w)}if(t===i){e.chars&&e.chars(t);break}}r()}function xr(t,e){var n=e?Xs(e):Gs;if(n.test(t)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var s=an(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Qi=Yi&&Yi.indexOf("edge/")>0,to=Yi&&Yi.indexOf("android")>0,eo=Yi&&/iphone|ipad|ipod|ios/.test(Yi),no=Yi&&/chrome\/\d+/.test(Yi)&&!Qi,ro=!1;if(Xi)try{var io={};Object.defineProperty(io,"passive",{get:function(){ro=!0}}),window.addEventListener("test-passive",null,io)}catch(t){}var oo,ao,so=function(){return void 0===oo&&(oo=!Xi&&void 0!==t&&"server"===t.process.env.VUE_ENV),oo},uo=Xi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,co="undefined"!=typeof Symbol&&k(Symbol)&&"undefined"!=typeof Reflect&&k(Reflect.ownKeys),lo=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?m(n):n;for(var r=m(arguments,1),i=0,o=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),La=/^--/,Ia=/\s*!important$/,Da=function(t,e,n){if(La.test(e))t.style.setProperty(e,n);else if(Ia.test(n))t.style.setProperty(e,n.replace(Ia,""),"important");else{var r=ja(e);if(Array.isArray(n))for(var i=0,o=n.length;id?(f=n(i[m+1])?null:i[m+1].elm,y(t,f,i,p,m,o)):p>m&&x(t,e,h,d)}function T(t,e,o,a){if(t!==e){if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var s,u=e.data;r(u)&&r(s=u.hook)&&r(s=s.prepatch)&&s(t,e);var c=e.elm=t.elm,l=t.children,f=e.children;if(r(u)&&v(e)){for(s=0;s',n.innerHTML.indexOf(e)>0}("\n"," "),us=h("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),cs=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ls=h("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),fs=/([^\s"'<>\/=]+)/,hs=/(?:=)/,ps=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],ds=new RegExp("^\\s*"+fs.source+"(?:\\s*("+hs.source+")\\s*(?:"+ps.join("|")+"))?"),vs="[a-zA-Z_][\\w\\-\\.]*",gs="((?:"+vs+"\\:)?"+vs+")",ms=new RegExp("^<"+gs),ys=/^\s*(\/?)>/,_s=new RegExp("^<\\/"+gs+"[^>]*>"),xs=/^]+>/i,bs=/^/g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""});l+=t.length-p.length,t=p,r(f,l-d,l)}else{var v=t.indexOf("<");if(0===v){if(bs.test(t)){var g=t.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(ws.test(t)){var m=t.indexOf("]>");if(m>=0){n(m+2);continue}}var y=t.match(xs);if(y){n(y[0].length);continue}var _=t.match(_s);if(_){var x=l;n(_[0].length),r(_[1],x,l);continue}var b=function(){var e=t.match(ms);if(e){var r={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var i,o;!(i=t.match(ys))&&(o=t.match(ps));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if(b){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&ls(n)&&r(o),c(n)&&o===n&&r(n));for(var l=u(n)||"html"===n&&"head"===o||!!i,f=t.attrs.length,h=new Array(f),d=0;d=0){for(T=t.slice(v);!(_s.test(T)||ms.test(T)||bs.test(T)||ws.test(T)||(C=T.indexOf("<",1))<0);)v+=C,T=t.slice(v);w=t.substring(0,v),n(v)}v<0&&(w=t,t=""),e.chars&&w&&e.chars(w)}if(t===i){e.chars&&e.chars(t);break}}r()}function xr(t,e){var n=e?Xs(e):Gs;if(n.test(t)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var s=an(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Qi=Yi&&Yi.indexOf("edge/")>0,to=Yi&&Yi.indexOf("android")>0,eo=Yi&&/iphone|ipad|ipod|ios/.test(Yi),no=Yi&&/chrome\/\d+/.test(Yi)&&!Qi,ro=!1;if(Xi)try{var io={};Object.defineProperty(io,"passive",{get:function(){ro=!0}}),window.addEventListener("test-passive",null,io)}catch(t){}var oo,ao,so=function(){return void 0===oo&&(oo=!Xi&&void 0!==t&&"server"===t.process.env.VUE_ENV),oo},uo=Xi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,co="undefined"!=typeof Symbol&&k(Symbol)&&"undefined"!=typeof Reflect&&k(Reflect.ownKeys),lo=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?m(n):n;for(var r=m(arguments,1),i=0,o=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),Da=/^--/,Ia=/\s*!important$/,Ea=function(t,e,n){if(Da.test(e))t.style.setProperty(e,n);else if(Ia.test(n))t.style.setProperty(e,n.replace(Ia,""),"important");else{var r=Ra(e);if(Array.isArray(n))for(var i=0,o=n.length;ip?(f=n(i[m+1])?null:i[m+1].elm,y(t,f,i,d,m,o)):d>m&&x(t,e,h,p)}function T(t,e,o,a){if(t!==e){if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var s,u=e.data;r(u)&&r(s=u.hook)&&r(s=s.prepatch)&&s(t,e);var c=e.elm=t.elm,l=t.children,f=e.children;if(r(u)&&v(e)){for(s=0;s',n.innerHTML.indexOf(e)>0}("\n"," "),us=h("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),cs=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ls=h("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),fs=/([^\s"'<>\/=]+)/,hs=/(?:=)/,ds=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],ps=new RegExp("^\\s*"+fs.source+"(?:\\s*("+hs.source+")\\s*(?:"+ds.join("|")+"))?"),vs="[a-zA-Z_][\\w\\-\\.]*",gs="((?:"+vs+"\\:)?"+vs+")",ms=new RegExp("^<"+gs),ys=/^\s*(\/?)>/,_s=new RegExp("^<\\/"+gs+"[^>]*>"),xs=/^]+>/i,bs=/^