Repository: constkhi/vue-simple-alert
Branch: master
Commit: cc0eaa54990d
Files: 31
Total size: 192.7 KB
Directory structure:
gitextract_lv5soxqi/
├── .editorconfig
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── .vscode/
│ └── settings.json
├── LICENSE
├── README.md
├── docs/
│ ├── css/
│ │ └── app.css
│ ├── index.html
│ └── js/
│ ├── app.js
│ └── chunk-vendors.js
├── example/
│ ├── .browserslistrc
│ ├── .editorconfig
│ ├── .eslintignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── README.md
│ ├── babel.config.js
│ ├── package.json
│ ├── postcss.config.js
│ ├── public/
│ │ └── index.html
│ ├── src/
│ │ ├── App.vue
│ │ ├── components/
│ │ │ └── GithubRibbon.vue
│ │ ├── main.ts
│ │ ├── shims-tsx.d.ts
│ │ └── shims-vue.d.ts
│ ├── tsconfig.json
│ └── vue.config.js
├── package.json
├── src/
│ └── index.ts
└── tsconfig.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
# EditorConfig defines and maintains consistent coding styles between different
# editors and IDEs: http://EditorConfig.org/
# Top-most EditorConfig file
root = true
# All files
[*]
# Widely Supported by Editors
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Supported By A Limited Number of Editors
max_line_length = 80
# Domain-Specific Properties
quote_type = double
spaces_around_operators = true
================================================
FILE: .eslintignore
================================================
**/node_modules/*
**/dist/*
**/lib/*
================================================
FILE: .eslintrc.js
================================================
module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
rules: {
"no-console": "error",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
parserOptions: {
parser: "@typescript-eslint/parser"
}
};
================================================
FILE: .gitignore
================================================
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Misc
.DS_Store
# Dependency directories
node_modules/
# Local history
.history/
# Dist
/dist/
/lib/
================================================
FILE: .vscode/settings.json
================================================
{
"typescript.tsdk": "node_modules/typescript/lib"
}
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2019 constkhi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# Vue Simple Alert

[](https://www.npmjs.com/package/vue-simple-alert)
[](https://vuejs.org)
[](https://www.npmjs.com/package/vue-simple-alert)
[](https://www.npmjs.com/package/vue-simple-alert)
[](https://www.codacy.com/manual/constkhi/vue-simple-alert?utm_source=github.com&utm_medium=referral&utm_content=constkhi/vue-simple-alert&utm_campaign=Badge_Grade)
[](LICENSE)
Simple _**alert()**_, _**confirm()**_, _**prompt()**_ for Vue.js, using sweetalert2.
## Demo
Check out live
demo
## Features
- Provides simple _alert()_, _confirm()_, _prompt()_ like DOM Window methods.
- Based on sweetalert2.
- Installed as a Vue.js plugin.
- Promise based API.
- Support typescript.
## Install
```bash
npm i vue-simple-alert
```
## Basic Usage
### install plugin
```javascript
// main.js
import Vue from "vue";
import VueSimpleAlert from "vue-simple-alert";
Vue.use(VueSimpleAlert);
```
### Alert
```javascript
// in any component
this.$alert("Hello Vue Simple Alert.");
```
### Confirm
```javascript
// in any component
this.$confirm("Are you sure?").then(() => {
//do something...
});
```
### Prompt
```javascript
// in any component
this.$prompt("Input your name").then(text => {
// do somthing with text
});
```
## Advanced Usage
### Global options
Global options can be set when initialize plugin. Refer to [sweetalert2 documentation](https://sweetalert2.github.io/#configuration)
```javascript
// main.js
import Vue from "vue";
import VueSimpleAlert from "vue-simple-alert";
Vue.use(VueSimpleAlert, { reverseButtons: true });
```
### More advanced usage
You can use sweetalert2's _**fire()**_ method through _**\$fire()**_.
For detailed usage, refer to [sweetalert2](https://sweetalert2.github.io) documentation.
```javascript
// in any component
this.$fire({
title: "Title",
text: "text",
type: "success",
timer: 3000
}).then(r => {
console.log(r.value);
});
```
## API
### alert(message?, title?, type?, options?)
The _alert()_ method displays an alert box with a specified message and an OK button.
- message: string
> Optional. Specifies the text to display in the alert box
- title: string
> Optional. Specifies title of the alert box
- type: 'success' | 'error' | 'warning' | 'info' | 'question'
> Optional. Specifies icon type.
- options: SweetAlertOptions
> Optional. Advanced options. Refer to [sweetalert2 documentation](https://sweetalert2.github.io/#configuration).
- returns: Promise\
> Will be resolved with true when alert box closed.
### confirm(message?, title?, type?, options?)
The confirm() method displays a dialog box with a specified message, along with an OK and a Cancel button.
- message: string
> Optional. Specifies the text to display in the confirm box
- title: string
> Optional. Specifies title of the confirm box
- type: 'success' | 'error' | 'warning' | 'info' | 'question'
> Optional. Specifies icon type.
- options: SweetAlertOptions
> Optional. Advanced options. Refer to [sweetalert2 documentation](https://sweetalert2.github.io/#configuration).
- returns: Promise\
> Will be resolved when OK button clicked. If confirm box closed by any other reason, this promise will be rejected.
### prompt(message, defaultText?, title?, type?, options?)
The prompt() method displays a dialog box that prompts the user for input.
- message: string
> Required. Specifies the text to display in the dialog box
- defaultText: string
> Optional. The default input text
- title: string
> Optional. Specifies title of the confirm box
- type: 'success' | 'error' | 'warning' | 'info' | 'question'
> Optional. Specifies icon type.
- options: SweetAlertOptions
> Optional. Advanced options. Refer to [sweetalert2 documentation](https://sweetalert2.github.io/#configuration).
- returns: Promise\
> Will be resolved with input text when OK button clicked. If the user clicks OK without entering any text, promise will be resolved with an empty string. If dialog box closed by any other reason, this promise will be rejected.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/constkhi/vue-simple-alert/tags).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
================================================
FILE: docs/css/app.css
================================================
.github-corner:hover .octo-arm{-webkit-animation:octocat-wave .56s ease-in-out;animation:octocat-wave .56s ease-in-out}@-webkit-keyframes octocat-wave{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}}@keyframes octocat-wave{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{-webkit-animation:none;animation:none}.github-corner .octo-arm{-webkit-animation:octocat-wave .56s ease-in-out;animation:octocat-wave .56s ease-in-out}}body,html{height:100%}body{margin:0;background-image:-webkit-gradient(linear,right top,left bottom,from(#b3d7ff),to(#b3ffec));background-image:linear-gradient(to left bottom,#b3d7ff 0,#b3ffec);background-position:initial initial;background-repeat:no-repeat;background-attachment:fixed}#app{font-family:Dosis,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:20px}#header{display:-webkit-box;display:-ms-flexbox;display:flex;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#logo{height:100px}h1{font-weight:500;font-size:3rem}h1 small{font-size:1.25rem}h2{font-weight:500;font-size:2rem;margin:0 0 10px}h3{font-weight:200;font-size:1.5rem;text-align:left}
================================================
FILE: docs/index.html
================================================
vue-simple-alert example
================================================
FILE: docs/js/app.js
================================================
(function(t){function e(e){for(var o,i,l=e[0],s=e[1],c=e[2],p=0,m=[];pAdvanced example",text:"This dialog will be closed after 3 seconds.",footer:"Check out sweetalert2 documentation.",type:"success",showCancelButton:!0,confirmButtonText:" Great!",cancelButtonText:"No, cancel!",reverseButtons:!0,timer:3e3,width:500,animation:!1,customClass:{popup:"animated tada"},padding:"3em",background:"#fff",backdrop:"\n rgba(0,0,123,0.4)\n center left\n no-repeat\n "};this.$fire(e).then((function(e){e.value&&t.$alert(e.value,"Result")}))},e.prototype.advancedExample2=function(){this.$alert("This is advanced alert with custom button text","Example","success",{confirmButtonText:"Got it!"})},e.prototype.advancedExample3=function(){this.$confirm("This is dialog has reversed buttons.","Error","error",{reverseButtons:!0}).then((function(t){console.log(t)})).catch((function(){console.log("OK not selected.")}))},e=l["a"]([Object(s["a"])({components:{GithubRibbon:v}})],e),e}(s["c"]),x=y,w=x,g=(n("034f"),Object(h["a"])(w,a,i,!1,null,null,null)),C=g.exports;o["a"].config.productionTip=!1,o["a"].use(r["a"],{title:"Vue Simple Alert",width:"420px"}),new o["a"]({render:function(t){return t(C)}}).$mount("#app")},cf05:function(t,e,n){t.exports=n.p+"img/logo.png"}});
//# sourceMappingURL=app.js.map
================================================
FILE: docs/js/chunk-vendors.js
================================================
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"01f9":function(t,e,n){"use strict";var o=n("2d00"),r=n("5ca1"),a=n("2aba"),i=n("32e9"),s=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",m="keys",h="values",v=function(){return this};t.exports=function(t,e,n,w,g,y,b){c(n,e,w);var _,x,k,C=function(t){if(!d&&t in P)return P[t];switch(t){case m:return function(){return new n(this,t)};case h:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",A=g==h,S=!1,P=t.prototype,$=P[f]||P[p]||g&&P[g],j=$||C(g),E=g?A?C("entries"):j:void 0,T="Array"==e&&P.entries||$;if(T&&(k=u(T.call(new t)),k!==Object.prototype&&k.next&&(l(k,O,!0),o||"function"==typeof k[f]||i(k,f,v))),A&&$&&$.name!==h&&(S=!0,j=function(){return $.call(this)}),o&&!b||!d&&!S&&P[f]||i(P,f,j),s[e]=j,s[O]=v,g)if(_={values:A?j:C(h),keys:y?j:C(m),entries:E},b)for(x in _)x in P||a(P,x,_[x]);else r(r.P+r.F*(d||S),e,_);return _}},"097d":function(t,e,n){"use strict";var o=n("5ca1"),r=n("8378"),a=n("7726"),i=n("ebd6"),s=n("bcaa");o(o.P+o.R,"Promise",{finally:function(t){var e=i(this,r.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"0cab":function(t){t.exports=JSON.parse('{"a":"Simple alert(), confirm(), prompt() for Vue.js, using sweetalert2.","b":"1.1.1"}')},"0d58":function(t,e,n){var o=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return o(t,r)}},1495:function(t,e,n){var o=n("86cc"),r=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,i=a(e),s=i.length,c=0;while(s>c)o.f(t,n=i[c++],e[n]);return t}},1991:function(t,e,n){var o,r,a,i=n("9b43"),s=n("31f4"),c=n("fab2"),l=n("230e"),u=n("7726"),f=u.process,d=u.setImmediate,p=u.clearImmediate,m=u.MessageChannel,h=u.Dispatch,v=0,w={},g="onreadystatechange",y=function(){var t=+this;if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},b=function(t){y.call(t.data)};d&&p||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return w[++v]=function(){s("function"==typeof t?t:Function(t),e)},o(v),v},p=function(t){delete w[t]},"process"==n("2d95")(f)?o=function(t){f.nextTick(i(y,t,1))}:h&&h.now?o=function(t){h.now(i(y,t,1))}:m?(r=new m,a=r.port2,r.port1.onmessage=b,o=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(o=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):o=g in l("script")?function(t){c.appendChild(l("script"))[g]=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(i(y,t,1),0)}),t.exports={set:d,clear:p}},"1fa8":function(t,e,n){var o=n("cb7c");t.exports=function(t,e,n,r){try{return r?e(o(n)[0],n[1]):e(n)}catch(i){var a=t["return"];throw void 0!==a&&o(a.call(t)),i}}},"230e":function(t,e,n){var o=n("d3f4"),r=n("7726").document,a=o(r)&&o(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},"23c6":function(t,e,n){var o=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==o(function(){return arguments}()),i=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=i(e=Object(t),r))?n:a?o(e):"Object"==(s=o(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var o=n("23c6"),r=n("2b4c")("iterator"),a=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||a[o(t)]}},2877:function(t,e,n){"use strict";function o(t,e,n,o,r,a,i,s){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return o}))},"2aba":function(t,e,n){var o=n("7726"),r=n("32e9"),a=n("69a8"),i=n("ca5a")("src"),s=n("fa5b"),c="toString",l=(""+s).split(c);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(a(n,i)||r(n,i,t[e]?""+t[e]:l.join(String(e)))),t===o?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[i]||s.call(this)}))},"2aeb":function(t,e,n){var o=n("cb7c"),r=n("1495"),a=n("e11e"),i=n("613b")("IE_PROTO"),s=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),o=a.length,r="<",i=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+i+"document.F=Object"+r+"/script"+i),t.close(),l=t.F;while(o--)delete l[c][a[o]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=o(t),n=new s,s[c]=null,n[i]=t):n=l(),void 0===e?n:r(n,e)}},"2b0e":function(t,e,n){"use strict";(function(t){
/*!
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
var n=Object.freeze({});function o(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function a(t){return!0===t}function i(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function f(t){return"[object RegExp]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){var o=e[n];return o||(e[n]=t(n))}}var x=/-(\w)/g,k=_((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),C=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),O=/\B([A-Z])/g,A=_((function(t){return t.replace(O,"-$1").toLowerCase()}));function S(t,e){function n(n){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function P(t,e){return t.bind(e)}var $=Function.prototype.bind?P:S;function j(t,e){e=e||0;var n=t.length-e,o=new Array(n);while(n--)o[n]=t[n+e];return o}function E(t,e){for(var n in e)t[n]=e[n];return t}function T(t){for(var e={},n=0;n0,nt=Q&&Q.indexOf("edge/")>0,ot=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),rt=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),at={}.watch,it=!1;if(X)try{var st={};Object.defineProperty(st,"passive",{get:function(){it=!0}}),window.addEventListener("test-passive",null,st)}catch(ki){}var ct=function(){return void 0===Y&&(Y=!X&&!G&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),Y},lt=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,dt="undefined"!==typeof Symbol&&ut(Symbol)&&"undefined"!==typeof Reflect&&ut(Reflect.ownKeys);ft="undefined"!==typeof Set&&ut(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var pt=M,mt=0,ht=function(){this.id=mt++,this.subs=[]};ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){g(this.subs,t)},ht.prototype.depend=function(){ht.target&&ht.target.addDep(this)},ht.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(a&&!b(r,"default"))i=!1;else if(""===i||i===A(t)){var c=te(String,r.type);(c<0||s0&&(i=Se(i,(e||"")+"_"+n),Ae(i[0])&&Ae(l)&&(u[c]=xt(l.text+i[0].text),i.shift()),u.push.apply(u,i)):s(i)?Ae(l)?u[c]=xt(l.text+i):""!==i&&u.push(xt(i)):Ae(i)&&Ae(l)?u[c]=xt(l.text+i.text):(a(t._isVList)&&r(i.tag)&&o(i.key)&&r(e)&&(i.key="__vlist"+e+"_"+n+"__"),u.push(i)));return u}function Pe(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function $e(t){var e=je(t.$options.inject,t);e&&($t(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),$t(!0))}function je(t,e){if(t){for(var n=Object.create(null),o=dt?Reflect.ownKeys(t):Object.keys(t),r=0;r0,i=t?!!t.$stable:!a,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(i&&o&&o!==n&&s===o.$key&&!a&&!o.$hasNormal)return o;for(var c in r={},t)t[c]&&"$"!==c[0]&&(r[c]=Le(e,c,t[c]))}else r={};for(var l in e)l in r||(r[l]=Be(e,l));return t&&Object.isExtensible(t)&&(t._normalized=r),q(r,"$stable",i),q(r,"$key",s),q(r,"$hasNormal",a),r}function Le(t,e,n){var o=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Oe(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:o,enumerable:!0,configurable:!0}),o}function Be(t,e){return function(){return t[e]}}function Ie(t,e){var n,o,a,i,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),o=0,a=t.length;o1?j(n):n;for(var o=j(arguments,1),r='event handler for "'+t+'"',a=0,i=n.length;adocument.createEvent("Event").timeStamp&&(Yn=function(){return Zn.now()})}function Xn(){var t,e;for(Kn=Yn(),Un=!0,zn.sort((function(t,e){return t.id-e.id})),qn=0;qnqn&&zn[n].id>t.id)n--;zn.splice(n+1,0,t)}else zn.push(t);Hn||(Hn=!0,me(Xn))}}var eo=0,no=function(t,e,n,o,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++eo,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=K(e),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};no.prototype.get=function(){var t;wt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(ki){if(!this.user)throw ki;ee(ki,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),gt(),this.cleanupDeps()}return t},no.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},no.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},no.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():to(this)},no.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(ki){ee(ki,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},no.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},no.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},no.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var oo={enumerable:!0,configurable:!0,get:M,set:M};function ro(t,e,n){oo.get=function(){return this[e][n]},oo.set=function(t){this[e][n]=t},Object.defineProperty(t,n,oo)}function ao(t){t._watchers=[];var e=t.$options;e.props&&io(t,e.props),e.methods&&ho(t,e.methods),e.data?so(t):Mt(t._data={},!0),e.computed&&uo(t,e.computed),e.watch&&e.watch!==at&&vo(t,e.watch)}function io(t,e){var n=t.$options.propsData||{},o=t._props={},r=t.$options._propKeys=[],a=!t.$parent;a||$t(!1);var i=function(a){r.push(a);var i=Xt(a,e,n,t);Lt(o,a,i),a in t||ro(t,"_props",a)};for(var s in e)i(s);$t(!0)}function so(t){var e=t.$options.data;e=t._data="function"===typeof e?co(e,t):e||{},u(e)||(e={});var n=Object.keys(e),o=t.$options.props,r=(t.$options.methods,n.length);while(r--){var a=n[r];0,o&&b(o,a)||U(a)||ro(t,"_data",a)}Mt(e,!0)}function co(t,e){wt();try{return t.call(e,e)}catch(ki){return ee(ki,e,"data()"),{}}finally{gt()}}var lo={lazy:!0};function uo(t,e){var n=t._computedWatchers=Object.create(null),o=ct();for(var r in e){var a=e[r],i="function"===typeof a?a:a.get;0,o||(n[r]=new no(t,i||M,M,lo)),r in t||fo(t,r,a)}}function fo(t,e,n){var o=!ct();"function"===typeof n?(oo.get=o?po(e):mo(n),oo.set=M):(oo.get=n.get?o&&!1!==n.cache?po(e):mo(n.get):M,oo.set=n.set||M),Object.defineProperty(t,e,oo)}function po(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ht.target&&e.depend(),e.value}}function mo(t){return function(){return t.call(this,this)}}function ho(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?M:$(e[n],t)}function vo(t,e){for(var n in e){var o=e[n];if(Array.isArray(o))for(var r=0;r-1)return this;var n=j(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ao(t){t.mixin=function(t){return this.options=Yt(this.options,t),this}}function So(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,o=n.cid,r=t._Ctor||(t._Ctor={});if(r[o])return r[o];var a=t.name||n.options.name;var i=function(t){this._init(t)};return i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.cid=e++,i.options=Yt(n.options,t),i["super"]=n,i.options.props&&Po(i),i.options.computed&&$o(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,z.forEach((function(t){i[t]=n[t]})),a&&(i.options.components[a]=i),i.superOptions=n.options,i.extendOptions=t,i.sealedOptions=E({},i.options),r[o]=i,i}}function Po(t){var e=t.options.props;for(var n in e)ro(t.prototype,"_props",n)}function $o(t){var e=t.options.computed;for(var n in e)fo(t.prototype,n,e[n])}function jo(t){z.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 Eo(t){return t&&(t.Ctor.options.name||t.tag)}function To(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Mo(t,e){var n=t.cache,o=t.keys,r=t._vnode;for(var a in n){var i=n[a];if(i){var s=Eo(i.componentOptions);s&&!e(s)&&Lo(n,a,o,r)}}}function Lo(t,e,n,o){var r=t[e];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),t[e]=null,g(n,e)}bo(Co),go(Co),$n(Co),Mn(Co),gn(Co);var Bo=[String,RegExp,Array],Io={name:"keep-alive",abstract:!0,props:{include:Bo,exclude:Bo,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lo(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Mo(t,(function(t){return To(e,t)}))})),this.$watch("exclude",(function(e){Mo(t,(function(t){return!To(e,t)}))}))},render:function(){var t=this.$slots.default,e=kn(t),n=e&&e.componentOptions;if(n){var o=Eo(n),r=this,a=r.include,i=r.exclude;if(a&&(!o||!To(a,o))||i&&o&&To(i,o))return e;var s=this,c=s.cache,l=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,g(l,u),l.push(u)):(c[u]=e,l.push(u),this.max&&l.length>parseInt(this.max)&&Lo(c,l[0],l,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Do={KeepAlive:Io};function No(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:pt,extend:E,mergeOptions:Yt,defineReactive:Lt},t.set=Bt,t.delete=It,t.nextTick=me,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,E(t.options.components,Do),Oo(t),Ao(t),So(t),jo(t)}No(Co),Object.defineProperty(Co.prototype,"$isServer",{get:ct}),Object.defineProperty(Co.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Co,"FunctionalRenderContext",{value:Ge}),Co.version="2.6.10";var Ro=v("style,class"),zo=v("input,textarea,option,select,progress"),Fo=function(t,e,n){return"value"===n&&zo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Vo=v("contenteditable,draggable,spellcheck"),Ho=v("events,caret,typing,plaintext-only"),Uo=function(t,e){return Zo(e)||"false"===e?"false":"contenteditable"===t&&Ho(e)?e:"true"},qo=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wo="http://www.w3.org/1999/xlink",Ko=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Yo=function(t){return Ko(t)?t.slice(6,t.length):""},Zo=function(t){return null==t||!1===t};function Xo(t){var e=t.data,n=t,o=t;while(r(o.componentInstance))o=o.componentInstance._vnode,o&&o.data&&(e=Go(o.data,e));while(r(n=n.parent))n&&n.data&&(e=Go(e,n.data));return Jo(e.staticClass,e.class)}function Go(t,e){return{staticClass:Qo(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Jo(t,e){return r(t)||r(e)?Qo(t,tr(e)):""}function Qo(t,e){return t?e?t+" "+e:t:e||""}function tr(t){return Array.isArray(t)?er(t):c(t)?nr(t):"string"===typeof t?t:""}function er(t){for(var e,n="",o=0,a=t.length;o-1?cr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:cr[t]=/HTMLUnknownElement/.test(e.toString())}var ur=v("text,number,password,search,email,tel,url");function fr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function dr(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 pr(t,e){return document.createElementNS(or[t],e)}function mr(t){return document.createTextNode(t)}function hr(t){return document.createComment(t)}function vr(t,e,n){t.insertBefore(e,n)}function wr(t,e){t.removeChild(e)}function gr(t,e){t.appendChild(e)}function yr(t){return t.parentNode}function br(t){return t.nextSibling}function _r(t){return t.tagName}function xr(t,e){t.textContent=e}function kr(t,e){t.setAttribute(e,"")}var Cr=Object.freeze({createElement:dr,createElementNS:pr,createTextNode:mr,createComment:hr,insertBefore:vr,removeChild:wr,appendChild:gr,parentNode:yr,nextSibling:br,tagName:_r,setTextContent:xr,setStyleScope:kr}),Or={create:function(t,e){Ar(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ar(t,!0),Ar(e))},destroy:function(t){Ar(t,!0)}};function Ar(t,e){var n=t.data.ref;if(r(n)){var o=t.context,a=t.componentInstance||t.elm,i=o.$refs;e?Array.isArray(i[n])?g(i[n],a):i[n]===a&&(i[n]=void 0):t.data.refInFor?Array.isArray(i[n])?i[n].indexOf(a)<0&&i[n].push(a):i[n]=[a]:i[n]=a}}var Sr=new yt("",{},[]),Pr=["create","activate","update","remove","destroy"];function $r(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&jr(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function jr(t,e){if("input"!==t.tag)return!0;var n,o=r(n=t.data)&&r(n=n.attrs)&&n.type,a=r(n=e.data)&&r(n=n.attrs)&&n.type;return o===a||ur(o)&&ur(a)}function Er(t,e,n){var o,a,i={};for(o=e;o<=n;++o)a=t[o].key,r(a)&&(i[a]=o);return i}function Tr(t){var e,n,i={},c=t.modules,l=t.nodeOps;for(e=0;eh?(f=o(n[g+1])?null:n[g+1].elm,k(t,f,n,m,g,a)):m>g&&O(t,e,d,h)}function P(t,e,n,o){for(var a=n;a-1?Hr(t,e,n):qo(e)?Zo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Vo(e)?t.setAttribute(e,Uo(e,n)):Ko(e)?Zo(n)?t.removeAttributeNS(Wo,Yo(e)):t.setAttributeNS(Wo,e,n):Hr(t,e,n)}function Hr(t,e,n){if(Zo(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var o=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,n)}}var Ur={create:Fr,update:Fr};function qr(t,e){var n=e.elm,a=e.data,i=t.data;if(!(o(a.staticClass)&&o(a.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Xo(e),c=n._transitionClasses;r(c)&&(s=Qo(s,tr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wr,Kr={create:qr,update:qr},Yr="__r",Zr="__c";function Xr(t){if(r(t[Yr])){var e=tt?"change":"input";t[e]=[].concat(t[Yr],t[e]||[]),delete t[Yr]}r(t[Zr])&&(t.change=[].concat(t[Zr],t.change||[]),delete t[Zr])}function Gr(t,e,n){var o=Wr;return function r(){var a=e.apply(null,arguments);null!==a&&ta(t,r,n,o)}}var Jr=ie&&!(rt&&Number(rt[1])<=53);function Qr(t,e,n,o){if(Jr){var r=Kn,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}Wr.addEventListener(t,e,it?{capture:n,passive:o}:n)}function ta(t,e,n,o){(o||Wr).removeEventListener(t,e._wrapper||e,n)}function ea(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Wr=e.elm,Xr(n),be(n,r,Qr,ta,Gr,e.context),Wr=void 0}}var na,oa={create:ea,update:ea};function ra(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,a,i=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in r(c.__ob__)&&(c=e.data.domProps=E({},c)),s)n in c||(i[n]="");for(n in c){if(a=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),a===s[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=a;var l=o(a)?"":String(a);aa(i,l)&&(i.value=l)}else if("innerHTML"===n&&ar(i.tagName)&&o(i.innerHTML)){na=na||document.createElement("div"),na.innerHTML="";var u=na.firstChild;while(i.firstChild)i.removeChild(i.firstChild);while(u.firstChild)i.appendChild(u.firstChild)}else if(a!==s[n])try{i[n]=a}catch(ki){}}}}function aa(t,e){return!t.composing&&("OPTION"===t.tagName||ia(t,e)||sa(t,e))}function ia(t,e){var n=!0;try{n=document.activeElement!==t}catch(ki){}return n&&t.value!==e}function sa(t,e){var n=t.value,o=t._vModifiers;if(r(o)){if(o.number)return h(n)!==h(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}var ca={create:ra,update:ra},la=_((function(t){var e={},n=/;(?![^(]*\))/g,o=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(o);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function ua(t){var e=fa(t.style);return t.staticStyle?E(t.staticStyle,e):e}function fa(t){return Array.isArray(t)?T(t):"string"===typeof t?la(t):t}function da(t,e){var n,o={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=ua(r.data))&&E(o,n)}(n=ua(t.data))&&E(o,n);var a=t;while(a=a.parent)a.data&&(n=ua(a.data))&&E(o,n);return o}var pa,ma=/^--/,ha=/\s*!important$/,va=function(t,e,n){if(ma.test(e))t.style.setProperty(e,n);else if(ha.test(n))t.style.setProperty(A(e),n.replace(ha,""),"important");else{var o=ga(e);if(Array.isArray(n))for(var r=0,a=n.length;r-1?e.split(_a).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 ka(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(_a).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",o=" "+e+" ";while(n.indexOf(o)>=0)n=n.replace(o," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ca(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&E(e,Oa(t.name||"v")),E(e,t),e}return"string"===typeof t?Oa(t):void 0}}var Oa=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Aa=X&&!et,Sa="transition",Pa="animation",$a="transition",ja="transitionend",Ea="animation",Ta="animationend";Aa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&($a="WebkitTransition",ja="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ea="WebkitAnimation",Ta="webkitAnimationEnd"));var Ma=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function La(t){Ma((function(){Ma(t)}))}function Ba(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xa(t,e))}function Ia(t,e){t._transitionClasses&&g(t._transitionClasses,e),ka(t,e)}function Da(t,e,n){var o=Ra(t,e),r=o.type,a=o.timeout,i=o.propCount;if(!r)return n();var s=r===Sa?ja:Ta,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=i&&l()};setTimeout((function(){c0&&(n=Sa,u=i,f=a.length):e===Pa?l>0&&(n=Pa,u=l,f=c.length):(u=Math.max(i,l),n=u>0?i>l?Sa:Pa:null,f=n?n===Sa?a.length:c.length:0);var d=n===Sa&&Na.test(o[$a+"Property"]);return{type:n,timeout:u,propCount:f,hasTransform:d}}function za(t,e){while(t.length1}function Wa(t,e){!0!==e.data.show&&Va(e)}var Ka=X?{create:Wa,activate:Wa,remove:function(t,e){!0!==t.data.show?Ha(t,e):e()}}:{},Ya=[Ur,Kr,oa,ca,ba,Ka],Za=Ya.concat(zr),Xa=Tr({nodeOps:Cr,modules:Za});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ri(t,"input")}));var Ga={inserted:function(t,e,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?_e(n,"postpatch",(function(){Ga.componentUpdated(t,e,n)})):Ja(t,e,n.context),t._vOptions=[].map.call(t.options,ei)):("textarea"===n.tag||ur(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ni),t.addEventListener("compositionend",oi),t.addEventListener("change",oi),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ja(t,e,n.context);var o=t._vOptions,r=t._vOptions=[].map.call(t.options,ei);if(r.some((function(t,e){return!I(t,o[e])}))){var a=t.multiple?e.value.some((function(t){return ti(t,r)})):e.value!==e.oldValue&&ti(e.value,r);a&&ri(t,"change")}}}};function Ja(t,e,n){Qa(t,e,n),(tt||nt)&&setTimeout((function(){Qa(t,e,n)}),0)}function Qa(t,e,n){var o=e.value,r=t.multiple;if(!r||Array.isArray(o)){for(var a,i,s=0,c=t.options.length;s-1,i.selected!==a&&(i.selected=a);else if(I(ei(i),o))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function ti(t,e){return e.every((function(e){return!I(e,t)}))}function ei(t){return"_value"in t?t._value:t.value}function ni(t){t.target.composing=!0}function oi(t){t.target.composing&&(t.target.composing=!1,ri(t.target,"input"))}function ri(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ai(t){return!t.componentInstance||t.data&&t.data.transition?t:ai(t.componentInstance._vnode)}var ii={bind:function(t,e,n){var o=e.value;n=ai(n);var r=n.data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;o&&r?(n.data.show=!0,Va(n,(function(){t.style.display=a}))):t.style.display=o?a:"none"},update:function(t,e,n){var o=e.value,r=e.oldValue;if(!o!==!r){n=ai(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,o?Va(n,(function(){t.style.display=t.__vOriginalDisplay})):Ha(n,(function(){t.style.display="none"}))):t.style.display=o?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}},si={model:Ga,show:ii},ci={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function li(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?li(kn(e.children)):t}function ui(t){var e={},n=t.$options;for(var o in n.propsData)e[o]=t[o];var r=n._parentListeners;for(var a in r)e[k(a)]=r[a];return e}function fi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function di(t){while(t=t.parent)if(t.data.transition)return!0}function pi(t,e){return e.key===t.key&&e.tag===t.tag}var mi=function(t){return t.tag||xn(t)},hi=function(t){return"show"===t.name},vi={name:"transition",props:ci,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(mi),n.length)){0;var o=this.mode;0;var r=n[0];if(di(this.$vnode))return r;var a=li(r);if(!a)return r;if(this._leaving)return fi(t,r);var i="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?i+"comment":i+a.tag:s(a.key)?0===String(a.key).indexOf(i)?a.key:i+a.key:a.key;var c=(a.data||(a.data={})).transition=ui(this),l=this._vnode,u=li(l);if(a.data.directives&&a.data.directives.some(hi)&&(a.data.show=!0),u&&u.data&&!pi(a,u)&&!xn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=E({},c);if("out-in"===o)return this._leaving=!0,_e(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fi(t,r);if("in-out"===o){if(xn(a))return l;var d,p=function(){d()};_e(c,"afterEnter",p),_e(c,"enterCancelled",p),_e(f,"delayLeave",(function(t){d=t}))}}return r}}},wi=E({tag:String,moveClass:String},ci);delete wi.mode;var gi={props:wi,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=En(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],i=ui(this),s=0;s1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.opacity="",t.style.display=e},U=function(t){t.style.opacity="",t.style.display="none"},q=function(t,e,n){e?H(t,n):U(t)},W=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},K=function(t){return!!(t.scrollHeight>t.clientHeight)},Y=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),o=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||o>0},Z=function(t,e){if("function"===typeof t.contains)return t.contains(e)},X=function(){return document.body.querySelector("."+$.container)},G=function(t){var e=X();return e?e.querySelector(t):null},J=function(t){return G("."+t)},Q=function(){return J($.popup)},tt=function(){var t=Q();return w(t.querySelectorAll("."+$.icon))},et=function(){var t=tt().filter((function(t){return W(t)}));return t.length?t[0]:null},nt=function(){return J($.title)},ot=function(){return J($.content)},rt=function(){return J($.image)},at=function(){return J($["progress-steps"])},it=function(){return J($["validation-message"])},st=function(){return G("."+$.actions+" ."+$.confirm)},ct=function(){return G("."+$.actions+" ."+$.cancel)},lt=function(){return J($.actions)},ut=function(){return J($.header)},ft=function(){return J($.footer)},dt=function(){return J($.close)},pt='\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n',mt=function(){var t=w(Q().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(t,e){return t=parseInt(t.getAttribute("tabindex")),e=parseInt(e.getAttribute("tabindex")),t>e?1:t