diff --git a/_config.yml b/_config.yml
index 83d93a2..27620ad 100644
--- a/_config.yml
+++ b/_config.yml
@@ -27,7 +27,12 @@ gems:
- jekyll-babel
- jekyll-sitemap
+babel_js_extensions: 'es6'
+
exclude: [Gemfile, Gemfile.lock, README.md, gen_robot.sh, vendor]
# Content Related
-new_mirrors: [arch4edu, ros, elvish, HHVM, steamos, bjlx, loongson, tensorflow, elastic]
+new_mirrors: [arch4edu, ros, elvish, HHVM, steamos, bjlx, loongson, tensorflow, elasticstack]
+
+descriptions:
+ AOSP: 'Android Open Source Project'
diff --git a/_includes/head.html b/_includes/head.html
index 366455f..42f1e23 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -14,6 +14,7 @@
+
diff --git a/_posts/help/1970-01-01-centos.md b/_posts/help/1970-01-01-centos.md
index 9189164..4ca3c2b 100644
--- a/_posts/help/1970-01-01-centos.md
+++ b/_posts/help/1970-01-01-centos.md
@@ -17,9 +17,9 @@ sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
@@ -45,7 +45,6 @@ baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-{{release_name}}
-
#released updates
[updates]
name=CentOS-$releasever - Updates
@@ -61,7 +60,6 @@ baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-{{release_name}}
-
{{if release_name|equals>5}}
#packages used/produced in the build but not released
[addons]
@@ -79,7 +77,6 @@ baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/centosplus/$base
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-{{release_name}}
-
{{if release_name|between>5>6}}
#contrib - packages by Centos Users
[contrib]
@@ -88,9 +85,7 @@ baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/contrib/$basearc
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
gpgcheck=1
enabled=0
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-{{release_name}}
-
-{{/if}}
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-{{release_name}}{{/if}}
{% endraw %}
diff --git a/_posts/help/1970-01-01-tensorflow.md b/_posts/help/1970-01-01-tensorflow.md
new file mode 100644
index 0000000..4da8e8b
--- /dev/null
+++ b/_posts/help/1970-01-01-tensorflow.md
@@ -0,0 +1,95 @@
+---
+category: help
+layout: help
+mirrorid: tensorflow
+---
+
+# TensorFlow 镜像使用帮助
+
+请先安装 python 环境,科学计算用途建议安装 [anaconda](/help/anaconda/)。
+TensorFlow 安装方法请参考 ,把 `https://storage.googleapis.com/` 替换为 `https://mirrors.tuna.tsinghua.edu.cn/`
+即可。
+
+或直接运行下列命令,一步完成整个安装过程。
+
+
+{% raw %}
+
+
+
+
+pip install \
+ -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
+ https://mirrors.tuna.tsinghua.edu.cn/tensorflow/{{form.os}}/{{form.xpu}}/tensorflow-{{form.tfver}}-{{pytag}}.whl
+
+
+
+
+{% endraw %}
diff --git a/_posts/news/2016-11-06-tensorflow-and-others.md b/_posts/news/2016-11-06-tensorflow-and-others.md
new file mode 100644
index 0000000..e92f50b
--- /dev/null
+++ b/_posts/news/2016-11-06-tensorflow-and-others.md
@@ -0,0 +1,18 @@
+---
+category: news
+layout: news
+title: "新增 Tensorflow 等一系列镜像"
+author: Xavier Yao & Harry Chen
+---
+
+TUNA 镜像站新增一系列镜像。
+
+- tensorflow: Google 开发的、采用数据流图(data flow graphs)、用于数值计算的开源软件库,被广泛应用于深度学习等领域。使用方法见 [TensorFlow 镜像使用帮助](/help/tensorflow/)。
+- arch4edu: 用于 ArchLinux 的一系列科研、教学所需工具
+- ros: 用于开发机器人的工具包
+- elvish: TUNA 前会长 [xiaq](https://github.com/xiaq) 开发的革命性 Shell ,详见 [这里](https://elvish.io/)
+- HHVM: 由 Facebook 开发的高性能 PHP 虚拟机
+- steamos: 不解释,剁手专用
+- bjlx: [北京龙芯 & Debian 俱乐部](http://www.bjlx.org.cn/) 的公开源
+- loongson: 用于龙芯电脑的软件包
+- elasticstack: ELK 系列数据分析工具,5.x 之后改名为 elastic stack
diff --git a/geninfo/genisolist.ini b/geninfo/genisolist.ini
index f74f7b6..a144f97 100644
--- a/geninfo/genisolist.ini
+++ b/geninfo/genisolist.ini
@@ -8,7 +8,7 @@
# is disto name specified in below sections. Lower N makes the distro
# show higher. Default N is 0xFFFF for distro not mentioned.
[%main%]
-root = /srv/www/
+root = /data/
urlbase = /
d30 = Ubuntu
d40 = Ubuntu 衍生版
@@ -177,10 +177,70 @@ pattern = deepin-([0-9.]+)-(\w+).iso
version = $1
platform = $2
-#[qt5]
-#distro = Qt
-#listvers = 1
-#location_0 = qt/official_releases/qt/5.[0-9]/5.[0-9].[0-9]/qt-opensource-*.run
-#location_1 = qt/official_releases/qt/5.[0-9]/5.[0-9].[0-9]/qt-opensource-*.dmg
-#location_2 = qt/official_releases/qt/5.[0-9]/5.[0-9].[0-9]/qt-opensource-*.exe
-#pattern = qt-opensource-(\w+)-.(run|dmg|exe)
+[qt5]
+distro = Qt 5 (含 Qt Creator)
+listvers = 1
+location = qt/official_releases/qt/5.*/5.*/qt-opensource-*
+pattern = qt-opensource-(.*)-([\d.]+).(run|dmg|exe)
+platform = $1
+version = $2
+category = app
+
+[msys2]
+distro = MSYS2
+listvers = 1
+location = msys2/distrib/msys2-*.exe
+pattern = msys2-(i686|x86_64)-(latest).exe
+platform = Windows
+type = $1
+version = $2
+category = app
+
+[virtualbox]
+distro = VirtualBox
+listvers = 1
+location = virtualbox/virtualbox-*
+pattern = virtualbox-(.*)-(latest).(exe|dmg)
+platform = $1
+version = $2
+category = app
+
+[texlive]
+distro = TeX 排版系统
+listvers = 1
+location = CTAN/systems/texlive/Images/texlive*.iso
+pattern = texlive(\d+)-\d+.iso
+platform = Windows & Linux
+version = TeX Live $1
+category = app
+
+[mactex]
+distro = TeX 排版系统
+listvers = 1
+location = CTAN/systems/mac/mactex/mactex-*.pkg
+pattern = mactex-(\d+).pkg
+platform = macOS
+version = MacTeX $1
+category = app
+
+[miktex]
+distro = TeX 排版系统
+listvers = 1
+location = CTAN/systems/win32/miktex/setup/basic-miktex-*
+pattern = basic-miktex-((\d+.)+\d+)(|-)*(x64)*.exe
+platform = Windows
+type = $4
+version = MikTeX $1
+category = app
+
+[anaconda]
+distro = Anaconda
+listvers = 1
+location = anaconda/archive/Anaconda*
+pattern = (Anaconda\d*)-(\d+.\d+.\d+)-(Windows|Linux|MacOSX)-(x86|x86_64).\w+
+platform = $3
+type = $4
+version = $2
+category = app
+
+
diff --git a/geninfo/genisolist.py b/geninfo/genisolist.py
index f33db44..69b7cae 100644
--- a/geninfo/genisolist.py
+++ b/geninfo/genisolist.py
@@ -57,7 +57,7 @@ def parseSection(items):
group_count = len(result.groups()) + 1
imageinfo = {"filepath": imagepath, "distro": items["distro"]}
- for prop in ("version", "type", "platform"):
+ for prop in ("version", "type", "platform", "category"):
s = items.get(prop, "")
for i in range(0, group_count):
s = s.replace("$%d" % i, result.group(i))
@@ -90,7 +90,8 @@ def getDetail(image_info, urlbase):
image_info['platform'],
", %s" % image_info['type'] if image_info['type'] else ''
)
- category = image_info.get('category', 'os')
+
+ category = image_info.get('category', 'os') or "os"
return (desc, url, category)
@@ -146,4 +147,3 @@ if __name__ == "__main__":
import sys
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
print(getImageList())
-
diff --git a/index.html b/index.html
index 2a6452d..5040f7b 100644
--- a/index.html
+++ b/index.html
@@ -6,9 +6,10 @@ permalink: /
{% include head.html %}
{% include nav.html %}
-
+
+
@@ -27,10 +28,6 @@ permalink: /
-
-
+
+
下载链接
+
常用发行版 iso 和应用工具安装包直接下载
+
+
联系我们
@@ -76,6 +80,7 @@ permalink: /
{% include footer.html %}
+ {% raw %}
@@ -86,18 +91,35 @@ permalink: /
获取安装镜像
-
选择安装发行版:
-
选择发行版版本:
-
-
-
+ {% endraw %}
{% raw %}
@@ -106,7 +128,7 @@ permalink: /
{{if is_master}}
|
- {{name}}
+ {{name}}
{{if is_new}}new{{/if}}
{{if help_url}}{{/if}}
|
diff --git a/static/css/style.scss b/static/css/style.scss
index c42edd2..217e255 100644
--- a/static/css/style.scss
+++ b/static/css/style.scss
@@ -125,6 +125,9 @@ $font_local: 'Heiti SC', 'Hiragino Sans GB', 'STHeiti', 'Source Han Sans CN', 'W
color: $color_grey;
}
}
+ .fa-user {
+ font-family: #{$font_default}, 'FontAwesome';
+ }
}
/* Footer */
diff --git a/static/js/help.es6 b/static/js/help.es6
index 766bb02..0520d23 100644
--- a/static/js/help.es6
+++ b/static/js/help.es6
@@ -33,7 +33,6 @@ $(document).ready(() => {
let help_url = $(ev.target).find("option:selected").data('help-url');
window.location = `${window.location.protocol}//${window.location.host}${help_url}`;
});
-
});
// vim: ts=2 sts=2 sw=2 noexpandtab
diff --git a/static/js/index.es6 b/static/js/index.es6
index dbaf685..eecffd6 100644
--- a/static/js/index.es6
+++ b/static/js/index.es6
@@ -23,6 +23,7 @@ var mir_tmpl = $("#template").text(),
new_mirrors = {
{% for n in site.new_mirrors %}"{{n}}": true{% if forloop.index < forloop.length %},{% endif %}{% endfor %}
},
+
unlisted = [
{
'status': 'success',
@@ -39,7 +40,10 @@ var mir_tmpl = $("#template").text(),
'homebrew': {
'url': "/help/homebrew/",
}
- };
+ },
+ descriptions = {
+ {% for item in site.descriptions %}{{ item[0] }}: '{{ item[1] }}' {% endfor %}
+ }
window.refreshMirrorList = () => {
$.getJSON("/static/tunasync.json", (status_data) => {
@@ -58,6 +62,7 @@ window.refreshMirrorList = () => {
d.label = label_map[d.status];
d.help_url = help_url[d.name];
d.is_new = new_mirrors[d.name];
+ d.description = descriptions[d.name];
d.show_status = (d.status != "success");
if (d.is_master === undefined) {
d.is_master = true;
@@ -78,53 +83,45 @@ window.refreshMirrorList = () => {
}
var result = Mark.up(mir_tmpl, {mirrors: mirrors});
$('#mirror-list').html(result);
+
+ $('.mirror-item-label').popover();
});
setTimeout(refreshMirrorList, 10000);
}
-window.modal = () => {
- var bx = document.getElementById("isomodal");
- bx.style.visibility = (bx.style.visibility == "visible") ? "hidden" : "visible";
-}
-
-window.switchDistro = () => {
- var distro = document.getElementById("isodistro");
- var idx = distro.selectedIndex;
- var s = document.getElementById('isoversion');
- s.options.length = 0;
- for (var i = 0; i < isoinfo[idx].urls.length; i++) {
- s.options[s.options.length] = new Option(isoinfo[idx].urls[i].name, i)
- }
- $('.selectpicker').selectpicker('refresh')
-
-}
-
-var refreshISOList = () => {
- $.getJSON("/static/isoinfo.json", (isoinfo) => {
- window.isoinfo = isoinfo;
- window.s = document.getElementById("isodistro");
- s.options.length = 0;
- for (var i = 0; i < isoinfo.length; i++) {
- s.options[s.options.length] = new Option(isoinfo[i].distro, i);
- }
- $('.selectpicker').selectpicker('refresh')
- switchDistro();
- });
-}
-
-$('#isodistro').change(switchDistro);
-$('#btn_download').click(() => {
- var distro = document.getElementById("isodistro");
- var version = document.getElementById("isoversion");
- var i = distro.selectedIndex;
- var j = version.selectedIndex;
- var link = isoinfo[i].urls[j].url;
- window.open(link);
- $('#isoModal').modal('toggle');
-});
-refreshISOList();
refreshMirrorList();
+var vm = new Vue({
+ el: "#isoModal",
+ data: {
+ distroList: [],
+ selected: null,
+ curCategory: "os"
+ },
+ created: function () {
+ var self = this;
+ $.getJSON("/static/isoinfo.json", function (isoinfo) {
+ self.distroList = isoinfo;
+ self.selected = self.curDistroList[0];
+ });
+ },
+ computed: {
+ curDistroList () {
+ return this.distroList.filter((x)=> x.category === this.curCategory);
+ }
+ },
+ methods: {
+ switchDistro (distro) {
+ this.selected = distro;
+ },
+ switchCategory (category) {
+ this.curCategory = category;
+ this.selected = this.curDistroList[0];
+ }
+ }
+
+});
+
});
// vim: ts=2 sts=2 sw=2 noexpandtab
diff --git a/static/js/vue.min.js b/static/js/vue.min.js
new file mode 100644
index 0000000..622631e
--- /dev/null
+++ b/static/js/vue.min.js
@@ -0,0 +1,8 @@
+/*!
+ * Vue.js v2.0.5
+ * (c) 2014-2016 Evan You
+ * Released under the MIT License.
+ */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";function e(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function t(e){var t=parseFloat(e,10);return t||0===t?t:e}function n(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function i(e,t){return Er.call(e,t)}function o(e){return"string"==typeof e||"number"==typeof e}function a(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function s(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function u(e,t){for(var n in t)e[n]=t[n];return e}function l(e){return null!==e&&"object"==typeof e}function f(e){return Pr.call(e)===Rr}function d(e){for(var t={},n=0;n=0&&ei[n].id>e.id;)n--;ei.splice(Math.max(n,ii)+1,0,e)}else ei.push(e);ni||(ni=!0,Gr(x))}}function A(e){si.clear(),O(e,si)}function O(e,t){var n,r,i=Array.isArray(e);if((i||l(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)O(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)O(e[r[n]],t)}}function T(e,t){e.__proto__=t}function S(e,t,n){for(var r=0,i=n.length;r1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i-1?zi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:zi[e]=/HTMLUnknownElement/.test(t.toString())}function Ge(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function Ye(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&n.setAttribute("multiple","multiple"),n)}function Qe(e,t){return document.createElementNS(Mi[e],t)}function Xe(e){return document.createTextNode(e)}function et(e){return document.createComment(e)}function tt(e,t,n){e.insertBefore(t,n)}function nt(e,t){e.removeChild(t)}function rt(e,t){e.appendChild(t)}function it(e){return e.parentNode}function ot(e){return e.nextSibling}function at(e){return e.tagName}function st(e,t){e.textContent=t}function ct(e){return e.childNodes}function ut(e,t,n){e.setAttribute(t,n)}function lt(e,t){var n=e.data.ref;if(n){var i=e.context,o=e.child||e.elm,a=i.$refs;t?Array.isArray(a[n])?r(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].push(o):a[n]=[o]:a[n]=o}}function ft(e){return null==e}function dt(e){return null!=e}function pt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function vt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,dt(i)&&(o[i]=r);return o}function ht(e){function t(e){return new vi(C.tagName(e).toLowerCase(),{},[],void 0,e)}function n(e,t){function n(){0===--n.listeners&&r(e)}return n.listeners=t,n}function r(e){var t=C.parentNode(e);t&&C.removeChild(t,e)}function i(e,t,n){var r,i=e.data;if(e.isRootInsert=!n,dt(i)&&(dt(r=i.hook)&&dt(r=r.init)&&r(e),dt(r=e.child)))return u(e,t),e.elm;var o=e.children,s=e.tag;return dt(s)?(e.elm=e.ns?C.createElementNS(e.ns,s):C.createElement(s,e),l(e),a(e,o,t),dt(i)&&c(e,t)):e.isComment?e.elm=C.createComment(e.text):e.elm=C.createTextNode(e.text),e.elm}function a(e,t,n){if(Array.isArray(t))for(var r=0;rv?(u=ft(n[y+1])?null:n[y+1].elm,f(e,u,n,d,y,r)):d>y&&p(e,t,l,v)}function m(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&(t.isCloned||t.isOnce))return void(t.elm=e.elm);var i,o=t.data,a=dt(o);a&&dt(i=o.hook)&&dt(i=i.prepatch)&&i(e,t);var c=t.elm=e.elm,u=e.children,l=t.children;if(a&&s(t)){for(i=0;i<$.update.length;++i)$.update[i](e,t);dt(i=o.hook)&&dt(i=i.update)&&i(e,t)}ft(t.text)?dt(u)&&dt(l)?u!==l&&h(c,u,l,n,r):dt(l)?(dt(e.text)&&C.setTextContent(c,""),f(c,null,l,0,l.length-1,n)):dt(u)?p(c,u,0,u.length-1):dt(e.text)&&C.setTextContent(c,""):e.text!==t.text&&C.setTextContent(c,t.text),a&&dt(i=o.hook)&&dt(i=i.postpatch)&&i(e,t)}}function g(e,t,n){if(n&&e.parent)e.parent.data.pendingInsert=t;else for(var r=0;r-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ot(e,t){if(t&&t.trim())if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Tt(e){vo(function(){vo(e)})}function St(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),At(e,t)}function Et(e,t){e._transitionClasses&&r(e._transitionClasses,t),Ot(e,t)}function jt(e,t,n){var r=Lt(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===so?lo:po,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=so,l=a,f=o.length):t===co?u>0&&(n=co,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?so:co:null,f=n?n===so?o.length:c.length:0);var d=n===so&&ho.test(r[uo+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:d}}function Nt(e,t){for(;e.length1,T=t._enterCb=It(function(){A&&Et(t,$),T.cancelled?(A&&Et(t,b),k&&k(t)):x&&x(t),t._enterCb=null});e.data.show||K(e.data.hook||(e.data.hook={}),"insert",function(){var n=t.parentNode,r=n&&n._pending&&n._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(t,T)},"transition-insert"),w&&w(t),A&&(St(t,b),St(t,$),Tt(function(){Et(t,b),T.cancelled||O||jt(t,i,T)})),e.data.show&&C&&C(t,T),A||O||T()}}}function Pt(e,t){function n(){m.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),u&&u(r),v&&(St(r,s),St(r,c),Tt(function(){Et(r,s),m.cancelled||h||jt(r,a,m)})),l&&l(r,m),v||h||m())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Rt(e.data.transition);if(!i)return t();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,c=i.leaveActiveClass,u=i.beforeLeave,l=i.leave,f=i.afterLeave,d=i.leaveCancelled,p=i.delayLeave,v=o!==!1&&!Jr,h=l&&(l._length||l.length)>1,m=r._leaveCb=It(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),v&&Et(r,c),m.cancelled?(v&&Et(r,s),d&&d(r)):(t(),f&&f(r)),r._leaveCb=null});p?p(n):n()}}function Rt(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&u(t,mo(e.name||"v")),u(t,e),t}return"string"==typeof e?mo(e):void 0}}function It(e){var t=!1;return function(){t||(t=!0,e())}}function Bt(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(h(Ht(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ft(e,t){for(var n=0,r=t.length;n',n.innerHTML.indexOf(t)>0}function en(e){return Eo.innerHTML=e,Eo.textContent}function tn(e,t){return t&&(e=e.replace(ba,"\n")),e.replace(ya,"<").replace(_a,">").replace($a,"&").replace(wa,'"')}function nn(e,t){function n(t){f+=t,e=e.substring(t)}function r(){var t=e.match(Ro);if(t){var r={tagName:t[1],attrs:[],start:f};n(t[0].length);for(var i,o;!(i=e.match(Io))&&(o=e.match(Do));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=f,r}}function i(e){var n=e.tagName,r=e.unarySlash;u&&("p"===s&&Bi(n)&&o("",s),Ii(n)&&s===n&&o("",n));for(var i=l(n)||"html"===n&&"head"===s||!!r,a=e.attrs.length,f=new Array(a),d=0;d=0&&c[o].tag.toLowerCase()!==a;o--);}else o=0;if(o>=0){for(var u=c.length-1;u>=o;u--)t.end&&t.end(c[u].tag,r,i);c.length=o,s=o&&c[o-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,r,i),t.end&&t.end(n,r,i))}for(var a,s,c=[],u=t.expectHTML,l=t.isUnaryTag||Ir,f=0;e;){if(a=e,s&&ma(s,t.sfc,c)){var d=s.toLowerCase(),p=ga[d]||(ga[d]=new RegExp("([\\s\\S]*?)("+d+"[^>]*>)","i")),v=0,h=e.replace(p,function(e,n,r){return v=r.length,"script"!==d&&"style"!==d&&"noscript"!==d&&(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});f+=e.length-h.length,e=h,o(""+d+">",d,f-v,f)}else{var m=e.indexOf("<");if(0===m){if(Ho.test(e)){var g=e.indexOf("-->");if(g>=0){n(g+3);continue}}if(Uo.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var _=e.match(Fo);if(_){n(_[0].length);continue}var b=e.match(Bo);if(b){var $=f;n(b[0].length),o(b[0],b[1],$,f);continue}var w=r();if(w){i(w);continue}}var C=void 0,x=void 0,k=void 0;if(m>0){for(x=e.slice(m);!(Bo.test(x)||Ro.test(x)||Ho.test(x)||Uo.test(x)||(k=x.indexOf("<",1),k<0));)m+=k,x=e.slice(m);C=e.substring(0,m),n(m)}m<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===a&&t.chars){t.chars(e);break}}o()}function rn(e){function t(){(a||(a=[])).push(e.slice(d,i).trim()),d=i+1}var n,r,i,o,a,s=!1,c=!1,u=0,l=0,f=0,d=0;for(i=0;ia&&o.push(JSON.stringify(e.slice(a,i)));var s=rn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=sa}function pr(e){return 34===e||39===e}function vr(e){var t=1;for(fa=la;!dr();)if(e=fr(),pr(e))hr(e);else if(91===e&&t++,93===e&&t--,0===t){da=la;break}}function hr(e){for(var t=e;!dr()&&(e=fr(),e!==t););}function mr(e,t,n){pa=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;return"select"===o?br(e,r,i):"input"===o&&"checkbox"===a?gr(e,r,i):"input"===o&&"radio"===a?yr(e,r,i):_r(e,r,i),!0}function gr(e,t,n){var r=n&&n.number,i=pn(e,"value")||"null",o=pn(e,"true-value")||"true",a=pn(e,"false-value")||"false";un(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1:_q("+t+","+o+")"),dn(e,"change","var $$a="+t+",$$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&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function yr(e,t,n){var r=n&&n.number,i=pn(e,"value")||"null";i=r?"_n("+i+")":i,un(e,"checked","_q("+t+","+i+")"),dn(e,"change",$r(t,i),null,!0)}function _r(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=o||Vr&&"range"===r?"change":"input",u=!o&&"range"!==r,l="input"===e.tag||"textarea"===e.tag,f=l?"$event.target.value"+(s?".trim()":""):"$event";f=a||"number"===r?"_n("+f+")":f;var d=$r(t,f);l&&u&&(d="if($event.target.composing)return;"+d),un(e,"value",l?"_s("+t+")":"("+t+")"),dn(e,c,d,null,!0)}function br(e,t,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")+"})"+(null==e.attrsMap.multiple?"[0]":""),o=$r(t,i);dn(e,"change",o,null,!0)}function $r(e,t){var n=lr(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function wr(e,t){t.value&&un(e,"textContent","_s("+t.value+")")}function Cr(e,t){t.value&&un(e,"innerHTML","_s("+t.value+")")}function xr(e,t){return t=t?u(u({},Ka),t):Ka,or(e,t)}function kr(e,t,n){var r=(t&&t.warn||$i,t&&t.delimiters?String(t.delimiters)+e:e);if(qa[r])return qa[r];var i={},o=xr(e,t);i.render=Ar(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var s=0;s0,qr=zr&&zr.indexOf("edge/")>0,Kr=zr&&zr.indexOf("android")>0,Wr=zr&&/iphone|ipad|ipod|ios/.test(zr),Zr=Ur&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Gr=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t\/=]+)/,Lo=/(?:=)/,No=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Do=new RegExp("^\\s*"+jo.source+"(?:\\s*("+Lo.source+")\\s*(?:"+No.join("|")+"))?"),Mo="[a-zA-Z_][\\w\\-\\.]*",Po="((?:"+Mo+"\\:)?"+Mo+")",Ro=new RegExp("^<"+Po),Io=/^\s*(\/?)>/,Bo=new RegExp("^<\\/"+Po+"[^>]*>"),Fo=/^]+>/i,Ho=/^