!function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/js",e(e.s=36)}([function(t,n,e){"use strict";var r=e(6),o=e(14),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,n){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var e=0,r=t.length;e=0&&Math.floor(n)===n&&isFinite(t)}function v(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var n=parseFloat(t);return isNaN(n)?t:n}function d(t,n){for(var e=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(e,1)}}var m=Object.prototype.hasOwnProperty;function b(t,n){return m.call(t,n)}function w(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var C=/-(\w)/g,x=w(function(t){return t.replace(C,function(t,n){return n?n.toUpperCase():""})}),$=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),A=/\B([A-Z])/g,O=w(function(t){return t.replace(A,"-$1").toLowerCase()});var S=Function.prototype.bind?function(t,n){return t.bind(n)}:function(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e};function T(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function L(t,n){for(var e in n)t[e]=n[e];return t}function k(t){for(var n={},e=0;e0,Q=Z&&Z.indexOf("edge/")>0,z=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===W),V=(Z&&/chrome\/\d+/.test(Z),{}.watch),tt=!1;if(X)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var et=function(){return void 0===P&&(P=!X&&!K&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),P},rt=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var it,at="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);it="undefined"!=typeof Set&&ot(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 st=I,ct=0,ut=function(){this.id=ct++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){_(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){var t=this.subs.slice();for(var n=0,e=t.length;n-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===O(t)){var c=Dt(String,o.type);(c<0||s0&&(un((u=t(u,(e||"")+"_"+c))[0])&&un(p)&&(r[f]=yt(p.text+u[0].text),u.shift()),r.push.apply(r,u)):s(u)?un(p)?r[f]=yt(p.text+u):""!==u&&r.push(yt(u)):un(u)&&un(p)?r[f]=yt(p.text+u.text):(a(n._isVList)&&i(u.tag)&&o(u.key)&&i(e)&&(u.key="__vlist"+e+"_"+c+"__"),r.push(u)));return r}(t):void 0}function un(t){return i(t)&&i(t.text)&&!1===t.isComment}function fn(t,n){return(t.__esModule||at&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?n.extend(t):t}function pn(t){return t.isComment&&t.asyncFactory}function ln(t){if(Array.isArray(t))for(var n=0;nkn&&An[e].id>t.id;)e--;An.splice(e+1,0,t)}else An.push(t);Tn||(Tn=!0,zt(In))}}(this)},En.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var n=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,n)}catch(t){qt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,n)}}},En.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},En.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},En.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Un={enumerable:!0,configurable:!0,get:I,set:I};function Fn(t,n,e){Un.get=function(){return this[n][e]},Un.set=function(t){this[n][e]=t},Object.defineProperty(t,e,Un)}function Rn(t){t._watchers=[];var n=t.$options;n.props&&function(t,n){var e=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&Ct(!1);var i=function(i){o.push(i);var a=Rt(i,n,e,t);At(r,i,a),i in t||Fn(t,"_props",i)};for(var a in n)i(a);Ct(!0)}(t,n.props),n.methods&&function(t,n){t.$options.props;for(var e in n)t[e]="function"!=typeof n[e]?I:S(n[e],t)}(t,n.methods),n.data?function(t){var n=t.$options.data;f(n=t._data="function"==typeof n?function(t,n){pt();try{return t.call(n,n)}catch(t){return qt(t,n,"data()"),{}}finally{lt()}}(n,t):n||{})||(n={});var e=Object.keys(n),r=t.$options.props,o=(t.$options.methods,e.length);for(;o--;){var i=e[o];0,r&&b(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&Fn(t,"_data",i))}var a;$t(n,!0)}(t):$t(t._data={},!0),n.computed&&function(t,n){var e=t._computedWatchers=Object.create(null),r=et();for(var o in n){var i=n[o],a="function"==typeof i?i:i.get;0,r||(e[o]=new En(t,a||I,I,Mn)),o in t||Nn(t,o,i)}}(t,n.computed),n.watch&&n.watch!==V&&function(t,n){for(var e in n){var r=n[e];if(Array.isArray(r))for(var o=0;o=0||e.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function he(t){this._init(t)}function de(t){t.cid=0;var n=1;t.extend=function(t){t=t||{};var e=this,r=e.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||e.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(e.prototype)).constructor=a,a.cid=n++,a.options=Ut(e.options,t),a.super=e,a.options.props&&function(t){var n=t.options.props;for(var e in n)Fn(t.prototype,"_props",e)}(a),a.options.computed&&function(t){var n=t.options.computed;for(var e in n)Nn(t.prototype,e,n[e])}(a),a.extend=e.extend,a.mixin=e.mixin,a.use=e.use,N.forEach(function(t){a[t]=e[t]}),i&&(a.options.components[i]=a),a.superOptions=e.options,a.extendOptions=t,a.sealedOptions=L({},a.options),o[r]=a,a}}function ye(t){return t&&(t.Ctor.options.name||t.tag)}function ge(t,n){return Array.isArray(t)?t.indexOf(n)>-1:"string"==typeof t?t.split(",").indexOf(n)>-1:!!p(t)&&t.test(n)}function _e(t,n){var e=t.cache,r=t.keys,o=t._vnode;for(var i in e){var a=e[i];if(a){var s=ye(a.componentOptions);s&&!n(s)&&me(e,i,r,o)}}}function me(t,n,e,r){var o=t[n];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[n]=null,_(e,n)}!function(t){t.prototype._init=function(t){var n=this;n._uid=pe++,n._isVue=!0,t&&t._isComponent?function(t,n){var e=t.$options=Object.create(t.constructor.options),r=n._parentVnode;e.parent=n.parent,e._parentVnode=r;var o=r.componentOptions;e.propsData=o.propsData,e._parentListeners=o.listeners,e._renderChildren=o.children,e._componentTag=o.tag,n.render&&(e.render=n.render,e.staticRenderFns=n.staticRenderFns)}(n,t):n.$options=Ut(le(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(t){var n=t.$options,e=n.parent;if(e&&!n.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(t)}t.$parent=e,t.$root=e?e.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var n=t.$options._parentListeners;n&&yn(t,n)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,e=t.$vnode=n._parentVnode,o=e&&e.context;t.$slots=gn(n._renderChildren,o),t.$scopedSlots=r,t._c=function(n,e,r,o){return fe(t,n,e,r,o,!1)},t.$createElement=function(n,e,r,o){return fe(t,n,e,r,o,!0)};var i=e&&e.data;At(t,"$attrs",i&&i.attrs||r,null,!0),At(t,"$listeners",n._parentListeners||r,null,!0)}(n),$n(n,"beforeCreate"),function(t){var n=Jn(t.$options.inject,t);n&&(Ct(!1),Object.keys(n).forEach(function(e){At(t,e,n[e])}),Ct(!0))}(n),Rn(n),function(t){var n=t.$options.provide;n&&(t._provided="function"==typeof n?n.call(t):n)}(n),$n(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(he),function(t){var n={get:function(){return this._data}},e={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",n),Object.defineProperty(t.prototype,"$props",e),t.prototype.$set=Ot,t.prototype.$delete=St,t.prototype.$watch=function(t,n,e){if(f(n))return Bn(this,t,n,e);(e=e||{}).user=!0;var r=new En(this,t,n,e);if(e.immediate)try{n.call(this,r.value)}catch(t){qt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(he),function(t){var n=/^hook:/;t.prototype.$on=function(t,e){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?T(n):n;for(var e=T(arguments,1),r=0,o=n.length;rparseInt(this.max)&&me(a,s[0],s,this._vnode)),n.data.keepAlive=!0}return n||t&&t[0]}}};!function(t){var n={get:function(){return q}};Object.defineProperty(t,"config",n),t.util={warn:st,extend:L,mergeOptions:Ut,defineReactive:At},t.set=Ot,t.delete=St,t.nextTick=zt,t.options=Object.create(null),N.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,L(t.options.components,we),function(t){t.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var e=T(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):"function"==typeof t&&t.apply(null,e),n.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}(t),de(t),function(t){N.forEach(function(n){t[n]=function(t,e){return e?("component"===n&&f(e)&&(e.name=e.name||t,e=this.options._base.extend(e)),"directive"===n&&"function"==typeof e&&(e={bind:e,update:e}),this.options[n+"s"][t]=e,e):this.options[n+"s"][t]}})}(t)}(he),Object.defineProperty(he.prototype,"$isServer",{get:et}),Object.defineProperty(he.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(he,"FunctionalRenderContext",{value:ne}),he.version="2.5.21";var Ce=d("style,class"),xe=d("input,textarea,option,select,progress"),$e=function(t,n,e){return"value"===e&&xe(t)&&"button"!==n||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},Ae=d("contenteditable,draggable,spellcheck"),Oe=d("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"),Se="http://www.w3.org/1999/xlink",Te=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Le=function(t){return Te(t)?t.slice(6,t.length):""},ke=function(t){return null==t||!1===t};function Ie(t){for(var n=t.data,e=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(n=je(r.data,n));for(;i(e=e.parent);)e&&e.data&&(n=je(n,e.data));return function(t,n){if(i(t)||i(n))return Ee(t,Ue(n));return""}(n.staticClass,n.class)}function je(t,n){return{staticClass:Ee(t.staticClass,n.staticClass),class:i(t.class)?[t.class,n.class]:n.class}}function Ee(t,n){return t?n?t+" "+n:t:n||""}function Ue(t){return Array.isArray(t)?function(t){for(var n,e="",r=0,o=t.length;r-1?ir(t,n,e):Oe(n)?ke(e)?t.removeAttribute(n):(e="allowfullscreen"===n&&"EMBED"===t.tagName?"true":n,t.setAttribute(n,e)):Ae(n)?t.setAttribute(n,ke(e)||"false"===e?"false":"true"):Te(n)?ke(e)?t.removeAttributeNS(Se,Le(n)):t.setAttributeNS(Se,n,e):ir(t,n,e)}function ir(t,n,e){if(ke(e))t.removeAttribute(n);else{if(Y&&!G&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===n&&!t.__ieph){var r=function(n){n.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(n,e)}}var ar={create:rr,update:rr};function sr(t,n){var e=n.elm,r=n.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Ie(n),c=e._transitionClasses;i(c)&&(s=Ee(s,Ue(c))),s!==e._prevClass&&(e.setAttribute("class",s),e._prevClass=s)}}var cr,ur,fr,pr,lr,vr,hr={create:sr,update:sr},dr=/[\w).+\-_$\]]/;function yr(t){var n,e,r,o,i,a=!1,s=!1,c=!1,u=!1,f=0,p=0,l=0,v=0;for(r=0;r=0&&" "===(d=t.charAt(h));h--);d&&dr.test(d)||(u=!0)}}else void 0===o?(v=r+1,o=t.slice(0,r).trim()):y();function y(){(i||(i=[])).push(t.slice(v,r).trim()),v=r+1}if(void 0===o?o=t.slice(0,r).trim():0!==v&&y(),i)for(r=0;r-1?{exp:t.slice(0,pr),key:'"'+t.slice(pr+1)+'"'}:{exp:t,key:null};ur=t,pr=lr=vr=0;for(;!kr();)Ir(fr=Lr())?Er(fr):91===fr&&jr(fr);return{exp:t.slice(0,lr),key:t.slice(lr+1,vr)}}(t);return null===e.key?t+"="+n:"$set("+e.exp+", "+e.key+", "+n+")"}function Lr(){return ur.charCodeAt(++pr)}function kr(){return pr>=cr}function Ir(t){return 34===t||39===t}function jr(t){var n=1;for(lr=pr;!kr();)if(Ir(t=Lr()))Er(t);else if(91===t&&n++,93===t&&n--,0===n){vr=pr;break}}function Er(t){for(var n=t;!kr()&&(t=Lr())!==n;);}var Ur,Fr="__r",Rr="__c";function Mr(t,n,e){var r=Ur;return function o(){null!==n.apply(null,arguments)&&Dr(t,o,e,r)}}function Nr(t,n,e,r){var o;n=(o=n)._withTask||(o._withTask=function(){Zt=!0;try{return o.apply(null,arguments)}finally{Zt=!1}}),Ur.addEventListener(t,n,tt?{capture:e,passive:r}:e)}function Dr(t,n,e,r){(r||Ur).removeEventListener(t,n._withTask||n,e)}function qr(t,n){if(!o(t.data.on)||!o(n.data.on)){var e=n.data.on||{},r=t.data.on||{};Ur=n.elm,function(t){if(i(t[Fr])){var n=Y?"change":"input";t[n]=[].concat(t[Fr],t[n]||[]),delete t[Fr]}i(t[Rr])&&(t.change=[].concat(t[Rr],t.change||[]),delete t[Rr])}(e),on(e,r,Nr,Dr,Mr,n.context),Ur=void 0}}var Br={create:qr,update:qr};function Jr(t,n){if(!o(t.data.domProps)||!o(n.data.domProps)){var e,r,a=n.elm,s=t.data.domProps||{},c=n.data.domProps||{};for(e in i(c.__ob__)&&(c=n.data.domProps=L({},c)),s)o(c[e])&&(a[e]="");for(e in c){if(r=c[e],"textContent"===e||"innerHTML"===e){if(n.children&&(n.children.length=0),r===s[e])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===e){a._value=r;var u=o(r)?"":String(r);Pr(a,u)&&(a.value=u)}else a[e]=r}}}function Pr(t,n){return!t.composing&&("OPTION"===t.tagName||function(t,n){var e=!0;try{e=document.activeElement!==t}catch(t){}return e&&t.value!==n}(t,n)||function(t,n){var e=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return h(e)!==h(n);if(r.trim)return e.trim()!==n.trim()}return e!==n}(t,n))}var Hr={create:Jr,update:Jr},Xr=w(function(t){var n={},e=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(e);r.length>1&&(n[r[0].trim()]=r[1].trim())}}),n});function Kr(t){var n=Wr(t.style);return t.staticStyle?L(t.staticStyle,n):n}function Wr(t){return Array.isArray(t)?k(t):"string"==typeof t?Xr(t):t}var Zr,Yr=/^--/,Gr=/\s*!important$/,Qr=function(t,n,e){if(Yr.test(n))t.style.setProperty(n,e);else if(Gr.test(e))t.style.setProperty(n,e.replace(Gr,""),"important");else{var r=Vr(n);if(Array.isArray(e))for(var o=0,i=e.length;o-1?n.split(eo).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+(t.getAttribute("class")||"")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function oo(t,n){if(n&&(n=n.trim()))if(t.classList)n.indexOf(" ")>-1?n.split(eo).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n),t.classList.length||t.removeAttribute("class");else{for(var e=" "+(t.getAttribute("class")||"")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");(e=e.trim())?t.setAttribute("class",e):t.removeAttribute("class")}}function io(t){if(t){if("object"==typeof t){var n={};return!1!==t.css&&L(n,ao(t.name||"v")),L(n,t),n}return"string"==typeof t?ao(t):void 0}}var ao=w(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"}}),so=X&&!G,co="transition",uo="animation",fo="transition",po="transitionend",lo="animation",vo="animationend";so&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(fo="WebkitTransition",po="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lo="WebkitAnimation",vo="webkitAnimationEnd"));var ho=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function yo(t){ho(function(){ho(t)})}function go(t,n){var e=t._transitionClasses||(t._transitionClasses=[]);e.indexOf(n)<0&&(e.push(n),ro(t,n))}function _o(t,n){t._transitionClasses&&_(t._transitionClasses,n),oo(t,n)}function mo(t,n,e){var r=wo(t,n),o=r.type,i=r.timeout,a=r.propCount;if(!o)return e();var s=o===co?po:vo,c=0,u=function(){t.removeEventListener(s,f),e()},f=function(n){n.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(e=co,f=a,p=i.length):n===uo?u>0&&(e=uo,f=u,p=c.length):p=(e=(f=Math.max(a,u))>0?a>u?co:uo:null)?e===co?i.length:c.length:0,{type:e,timeout:f,propCount:p,hasTransform:e===co&&bo.test(r[fo+"Property"])}}function Co(t,n){for(;t.length1}function To(t,n){!0!==n.data.show&&$o(n)}var Lo=function(t){var n,e,r={},c=t.modules,u=t.nodeOps;for(n=0;nh?m(t,o(e[g+1])?null:e[g+1].elm,e,v,g,r):v>g&&w(0,n,l,h)}(l,d,g,e,f):i(g)?(i(t.text)&&u.setTextContent(l,""),m(l,null,g,0,g.length-1,e)):i(d)?w(0,d,0,d.length-1):i(t.text)&&u.setTextContent(l,""):t.text!==n.text&&u.setTextContent(l,n.text),i(h)&&i(v=h.hook)&&i(v=v.postpatch)&&v(t,n)}}}function A(t,n,e){if(a(e)&&i(t.parent))t.parent.data.pendingInsert=n;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(U(Uo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Eo(t,n){return n.every(function(n){return!U(n,t)})}function Uo(t){return"_value"in t?t._value:t.value}function Fo(t){t.target.composing=!0}function Ro(t){t.target.composing&&(t.target.composing=!1,Mo(t.target,"input"))}function Mo(t,n){var e=document.createEvent("HTMLEvents");e.initEvent(n,!0,!0),t.dispatchEvent(e)}function No(t){return!t.componentInstance||t.data&&t.data.transition?t:No(t.componentInstance._vnode)}var Do={model:ko,show:{bind:function(t,n,e){var r=n.value,o=(e=No(e)).data&&e.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(e.data.show=!0,$o(e,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,n,e){var r=n.value;!r!=!n.oldValue&&((e=No(e)).data&&e.data.transition?(e.data.show=!0,r?$o(e,function(){t.style.display=t.__vOriginalDisplay}):Ao(e,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,n,e,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},qo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Bo(t){var n=t&&t.componentOptions;return n&&n.Ctor.options.abstract?Bo(ln(n.children)):t}function Jo(t){var n={},e=t.$options;for(var r in e.propsData)n[r]=t[r];var o=e._parentListeners;for(var i in o)n[x(i)]=o[i];return n}function Po(t,n){if(/\d-keep-alive$/.test(n.tag))return t("keep-alive",{props:n.componentOptions.propsData})}var Ho=function(t){return t.tag||pn(t)},Xo=function(t){return"show"===t.name},Ko={name:"transition",props:qo,abstract:!0,render:function(t){var n=this,e=this.$slots.default;if(e&&(e=e.filter(Ho)).length){0;var r=this.mode;0;var o=e[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Bo(o);if(!i)return o;if(this._leaving)return Po(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=Jo(this),u=this._vnode,f=Bo(u);if(i.data.directives&&i.data.directives.some(Xo)&&(i.data.show=!0),f&&f.data&&!function(t,n){return n.key===t.key&&n.tag===t.tag}(i,f)&&!pn(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var p=f.data.transition=L({},c);if("out-in"===r)return this._leaving=!0,an(p,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),Po(t,o);if("in-out"===r){if(pn(i))return u;var l,v=function(){l()};an(c,"afterEnter",v),an(c,"enterCancelled",v),an(p,"delayLeave",function(t){l=t})}}return o}}},Wo=L({tag:String,moveClass:String},qo);function Zo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Yo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Go(t){var n=t.data.pos,e=t.data.newPos,r=n.left-e.left,o=n.top-e.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete Wo.mode;var Qo={Transition:Ko,TransitionGroup:{props:Wo,beforeMount:function(){var t=this,n=this._update;this._update=function(e,r){var o=wn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),n.call(t,e,r)}},render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Jo(this),s=0;s-1?qe[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:qe[t]=/HTMLUnknownElement/.test(n.toString())},L(he.options.directives,Do),L(he.options.components,Qo),he.prototype.__patch__=X?Lo:I,he.prototype.$mount=function(t,n){return function(t,n,e){var r;return t.$el=n,t.$options.render||(t.$options.render=dt),$n(t,"beforeMount"),r=function(){t._update(t._render(),e)},new En(t,r,I,{before:function(){t._isMounted&&!t._isDestroyed&&$n(t,"beforeUpdate")}},!0),e=!1,null==t.$vnode&&(t._isMounted=!0,$n(t,"mounted")),t}(this,t=t&&X?Je(t):void 0,n)},X&&setTimeout(function(){q.devtools&&rt&&rt.emit("init",he)},0);var zo=/\{\{((?:.|\r?\n)+?)\}\}/g,Vo=/[-.*+?^${}()|[\]\/\\]/g,ti=w(function(t){var n=t[0].replace(Vo,"\\$&"),e=t[1].replace(Vo,"\\$&");return new RegExp(n+"((?:.|\\n)+?)"+e,"g")});var ni={staticKeys:["staticClass"],transformNode:function(t,n){n.warn;var e=Or(t,"class");e&&(t.staticClass=JSON.stringify(e));var r=Ar(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var n="";return t.staticClass&&(n+="staticClass:"+t.staticClass+","),t.classBinding&&(n+="class:"+t.classBinding+","),n}};var ei,ri={staticKeys:["staticStyle"],transformNode:function(t,n){n.warn;var e=Or(t,"style");e&&(t.staticStyle=JSON.stringify(Xr(e)));var r=Ar(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var n="";return t.staticStyle&&(n+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(n+="style:("+t.styleBinding+"),"),n}},oi=function(t){return(ei=ei||document.createElement("div")).innerHTML=t,ei.textContent},ii=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ai=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),si=d("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"),ci=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ui="[a-zA-Z_][\\w\\-\\.]*",fi="((?:"+ui+"\\:)?"+ui+")",pi=new RegExp("^<"+fi),li=/^\s*(\/?)>/,vi=new RegExp("^<\\/"+fi+"[^>]*>"),hi=/^]+>/i,di=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},bi=/&(?:lt|gt|quot|amp);/g,wi=/&(?:lt|gt|quot|amp|#10|#9);/g,Ci=d("pre,textarea",!0),xi=function(t,n){return t&&Ci(t)&&"\n"===n[0]};function $i(t,n){var e=n?wi:bi;return t.replace(e,function(t){return mi[t]})}var Ai,Oi,Si,Ti,Li,ki,Ii,ji,Ei=/^@|^v-on:/,Ui=/^v-|^@|^:/,Fi=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ri=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Mi=/^\(|\)$/g,Ni=/:(.*)$/,Di=/^:|^v-bind:/,qi=/\.[^.]+/g,Bi=w(oi);function Ji(t,n,e){return{type:1,tag:t,attrsList:n,attrsMap:Zi(n),parent:e,children:[]}}function Pi(t,n){Ai=n.warn||_r,ki=n.isPreTag||j,Ii=n.mustUseProp||j,ji=n.getTagNamespace||j,Si=mr(n.modules,"transformNode"),Ti=mr(n.modules,"preTransformNode"),Li=mr(n.modules,"postTransformNode"),Oi=n.delimiters;var e,r,o=[],i=!1!==n.preserveWhitespace,a=!1,s=!1;function c(t){t.pre&&(a=!1),ki(t.tag)&&(s=!1);for(var e=0;e]*>)","i")),l=t.replace(p,function(t,e,r){return u=r.length,gi(f)||"noscript"===f||(e=e.replace(//g,"$1").replace(//g,"$1")),xi(f,e)&&(e=e.slice(1)),n.chars&&n.chars(e),""});c+=t.length-l.length,t=l,O(f,c-u,c)}else{var v=t.indexOf("<");if(0===v){if(di.test(t)){var h=t.indexOf("--\x3e");if(h>=0){n.shouldKeepComment&&n.comment(t.substring(4,h)),x(h+3);continue}}if(yi.test(t)){var d=t.indexOf("]>");if(d>=0){x(d+2);continue}}var y=t.match(hi);if(y){x(y[0].length);continue}var g=t.match(vi);if(g){var _=c;x(g[0].length),O(g[1],_,c);continue}var m=$();if(m){A(m),xi(m.tagName,t)&&x(1);continue}}var b=void 0,w=void 0,C=void 0;if(v>=0){for(w=t.slice(v);!(vi.test(w)||pi.test(w)||di.test(w)||yi.test(w)||(C=w.indexOf("<",1))<0);)v+=C,w=t.slice(v);b=t.substring(0,v),x(v)}v<0&&(b=t,t=""),n.chars&&b&&n.chars(b)}if(t===e){n.chars&&n.chars(t);break}}function x(n){c+=n,t=t.substring(n)}function $(){var n=t.match(pi);if(n){var e,r,o={tagName:n[1],attrs:[],start:c};for(x(n[0].length);!(e=t.match(li))&&(r=t.match(ci));)x(r[0].length),o.attrs.push(r);if(e)return o.unarySlash=e[1],x(e[0].length),o.end=c,o}}function A(t){var e=t.tagName,c=t.unarySlash;i&&("p"===r&&si(e)&&O(r),s(e)&&r===e&&O(e));for(var u=a(e)||!!c,f=t.attrs.length,p=new Array(f),l=0;l=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)n.end&&n.end(o[u].tag,e,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?n.start&&n.start(t,[],!0,e,i):"p"===s&&(n.start&&n.start(t,[],!1,e,i),n.end&&n.end(t,e,i))}O()}(t,{warn:Ai,expectHTML:n.expectHTML,isUnaryTag:n.isUnaryTag,canBeLeftOpenTag:n.canBeLeftOpenTag,shouldDecodeNewlines:n.shouldDecodeNewlines,shouldDecodeNewlinesForHref:n.shouldDecodeNewlinesForHref,shouldKeepComment:n.comments,start:function(t,i,u){var f=r&&r.ns||ji(t);Y&&"svg"===f&&(i=function(t){for(var n=[],e=0;ec&&(s.push(i=t.slice(c,o)),a.push(JSON.stringify(i)));var u=yr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c-1"+("true"===i?":("+n+")":":_q("+n+","+i+")")),$r(t,"change","var $$a="+n+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Tr(n,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Tr(n,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Tr(n,"$$c")+"}",null,!0)}(t,r,o);else if("input"===i&&"radio"===a)!function(t,n,e){var r=e&&e.number,o=Ar(t,"value")||"null";br(t,"checked","_q("+n+","+(o=r?"_n("+o+")":o)+")"),$r(t,"change",Tr(n,o),null,!0)}(t,r,o);else if("input"===i||"textarea"===i)!function(t,n,e){var r=t.attrsMap.type,o=e||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Fr:"input",f="$event.target.value";s&&(f="$event.target.value.trim()"),a&&(f="_n("+f+")");var p=Tr(n,f);c&&(p="if($event.target.composing)return;"+p),br(t,"value","("+n+")"),$r(t,u,p,null,!0),(s||a)&&$r(t,"blur","$forceUpdate()")}(t,r,o);else if(!q.isReservedTag(i))return Sr(t,r,o),!1;return!0},text:function(t,n){n.value&&br(t,"textContent","_s("+n.value+")")},html:function(t,n){n.value&&br(t,"innerHTML","_s("+n.value+")")}},isPreTag:function(t){return"pre"===t},isUnaryTag:ii,mustUseProp:$e,canBeLeftOpenTag:ai,isReservedTag:Ne,getTagNamespace:De,staticKeys:function(t){return t.reduce(function(t,n){return t.concat(n.staticKeys||[])},[]).join(",")}(zi)},ea=w(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))});function ra(t,n){t&&(Vi=ea(n.staticKeys||""),ta=n.isReservedTag||j,function t(n){n.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||y(t.tag)||!ta(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Vi)))}(n);if(1===n.type){if(!ta(n.tag)&&"slot"!==n.tag&&null==n.attrsMap["inline-template"])return;for(var e=0,r=n.children.length;e|^function\s*\(/,ia=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,aa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},sa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ca=function(t){return"if("+t+")return null;"},ua={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ca("$event.target !== $event.currentTarget"),ctrl:ca("!$event.ctrlKey"),shift:ca("!$event.shiftKey"),alt:ca("!$event.altKey"),meta:ca("!$event.metaKey"),left:ca("'button' in $event && $event.button !== 0"),middle:ca("'button' in $event && $event.button !== 1"),right:ca("'button' in $event && $event.button !== 2")};function fa(t,n){var e=n?"nativeOn:{":"on:{";for(var r in t)e+='"'+r+'":'+pa(r,t[r])+",";return e.slice(0,-1)+"}"}function pa(t,n){if(!n)return"function(){}";if(Array.isArray(n))return"["+n.map(function(n){return pa(t,n)}).join(",")+"]";var e=ia.test(n.value),r=oa.test(n.value);if(n.modifiers){var o="",i="",a=[];for(var s in n.modifiers)if(ua[s])i+=ua[s],aa[s]&&a.push(s);else if("exact"===s){var c=n.modifiers;i+=ca(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(o+=function(t){return"if(!('button' in $event)&&"+t.map(la).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(e?"return "+n.value+"($event)":r?"return ("+n.value+")($event)":n.value)+"}"}return e||r?n.value:"function($event){"+n.value+"}"}function la(t){var n=parseInt(t,10);if(n)return"$event.keyCode!=="+n;var e=aa[t],r=sa[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(e)+",$event.key,"+JSON.stringify(r)+")"}var va={on:function(t,n){t.wrapListeners=function(t){return"_g("+t+","+n.value+")"}},bind:function(t,n){t.wrapData=function(e){return"_b("+e+",'"+t.tag+"',"+n.value+","+(n.modifiers&&n.modifiers.prop?"true":"false")+(n.modifiers&&n.modifiers.sync?",true":"")+")"}},cloak:I},ha=function(t){this.options=t,this.warn=t.warn||_r,this.transforms=mr(t.modules,"transformCode"),this.dataGenFns=mr(t.modules,"genData"),this.directives=L(L({},va),t.directives);var n=t.isReservedTag||j;this.maybeComponent=function(t){return!(n(t.tag)&&!t.component)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function da(t,n){var e=new ha(n);return{render:"with(this){return "+(t?ya(t,e):'_c("div")')+"}",staticRenderFns:e.staticRenderFns}}function ya(t,n){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return ga(t,n);if(t.once&&!t.onceProcessed)return _a(t,n);if(t.for&&!t.forProcessed)return function(t,n,e,r){var o=t.for,i=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";0;return t.forProcessed=!0,(r||"_l")+"(("+o+"),function("+i+a+s+"){return "+(e||ya)(t,n)+"})"}(t,n);if(t.if&&!t.ifProcessed)return ma(t,n);if("template"!==t.tag||t.slotTarget||n.pre){if("slot"===t.tag)return function(t,n){var e=t.slotName||'"default"',r=Ca(t,n),o="_t("+e+(r?","+r:""),i=t.attrs&&"{"+t.attrs.map(function(t){return x(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];!i&&!a||r||(o+=",null");i&&(o+=","+i);a&&(o+=(i?"":",null")+","+a);return o+")"}(t,n);var e;if(t.component)e=function(t,n,e){var r=n.inlineTemplate?null:Ca(n,e,!0);return"_c("+t+","+ba(n,e)+(r?","+r:"")+")"}(t.component,t,n);else{var r;(!t.plain||t.pre&&n.maybeComponent(t))&&(r=ba(t,n));var o=t.inlineTemplate?null:Ca(t,n,!0);e="_c('"+t.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i':'
',ka.innerHTML.indexOf(" ")>0}var Ua=!!X&&Ea(!1),Fa=!!X&&Ea(!0),Ra=w(function(t){var n=Je(t);return n&&n.innerHTML}),Ma=he.prototype.$mount;he.prototype.$mount=function(t,n){if((t=t&&Je(t))===document.body||t===document.documentElement)return this;var e=this.$options;if(!e.render){var r=e.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ra(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var n=document.createElement("div");return n.appendChild(t.cloneNode(!0)),n.innerHTML}(t));if(r){0;var o=ja(r,{shouldDecodeNewlines:Ua,shouldDecodeNewlinesForHref:Fa,delimiters:e.delimiters,comments:e.comments},this),i=o.render,a=o.staticRenderFns;e.render=i,e.staticRenderFns=a}}return Ma.call(this,t,n)},he.compile=ja,n.a=he}).call(this,e(5),e(34).setImmediate)},function(t,n,e){var r=e(32);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,e(37).default)("a32ad72a",r,!1,{})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(12).default.create({headers:{requesttoken:OC.requestToken}});n.default=r},function(t,n,e){"use strict";(function(n){var r=e(0),o=e(16),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,n){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=n)}var s,c={adapter:("undefined"!=typeof XMLHttpRequest?s=e(8):void 0!==n&&(s=e(8)),s),transformRequest:[function(t,n){return o(n,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(n,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){c.headers[t]={}}),r.forEach(["post","put","patch"],function(t){c.headers[t]=r.merge(i)}),t.exports=c}).call(this,e(7))},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";t.exports=function(t,n){return function(){for(var e=new Array(arguments.length),r=0;r1)for(var e=1;e * @license MIT */ t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,n,e){"use strict";var r=e(4),o=e(0),i=e(24),a=e(25);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var n=[a,void 0],e=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){n.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){n.push(t.fulfilled,t.rejected)});n.length;)e=e.then(n.shift(),n.shift());return e},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(n,e){return this.request(o.merge(e||{},{method:t,url:n}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(n,e,r){return this.request(o.merge(r||{},{method:t,url:n,data:e}))}}),t.exports=s},function(t,n,e){"use strict";var r=e(0);t.exports=function(t,n){r.forEach(t,function(e,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=e,delete t[r])})}},function(t,n,e){"use strict";var r=e(9);t.exports=function(t,n,e){var o=e.config.validateStatus;e.status&&o&&!o(e.status)?n(r("Request failed with status code "+e.status,e.config,null,e.request,e)):t(e)}},function(t,n,e){"use strict";t.exports=function(t,n,e,r,o){return t.config=n,e&&(t.code=e),t.request=r,t.response=o,t}},function(t,n,e){"use strict";var r=e(0);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,n,e){if(!n)return t;var i;if(e)i=e(n);else if(r.isURLSearchParams(n))i=n.toString();else{var a=[];r.forEach(n,function(t,n){null!=t&&(r.isArray(t)?n+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(n)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,n,e){"use strict";var r=e(0),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var n,e,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),n=r.trim(t.substr(0,i)).toLowerCase(),e=r.trim(t.substr(i+1)),n){if(a[n]&&o.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([e]):a[n]?a[n]+", "+e:e}}),a):a}},function(t,n,e){"use strict";var r=e(0);t.exports=r.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");function o(t){var r=t;return n&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return t=o(window.location.href),function(n){var e=r.isString(n)?o(n):n;return e.protocol===t.protocol&&e.host===t.host}}():function(){return!0}},function(t,n,e){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",t.exports=function(t){for(var n,e,i=String(t),a="",s=0,c=r;i.charAt(0|s)||(c="=",s%1);a+=c.charAt(63&n>>8-s%1*8)){if((e=i.charCodeAt(s+=.75))>255)throw new o;n=n<<8|e}return a}},function(t,n,e){"use strict";var r=e(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,n,e,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(n)),r.isNumber(e)&&s.push("expires="+new Date(e).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,n,e){"use strict";var r=e(0);function o(){this.handlers=[]}o.prototype.use=function(t,n){return this.handlers.push({fulfilled:t,rejected:n}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(n){null!==n&&t(n)})},t.exports=o},function(t,n,e){"use strict";var r=e(0),o=e(26),i=e(10),a=e(4),s=e(27),c=e(28);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]}),(t.adapter||a.adapter)(t).then(function(n){return u(t),n.data=o(n.data,n.headers,t.transformResponse),n},function(n){return i(n)||(u(t),n&&n.response&&(n.response.data=o(n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})}},function(t,n,e){"use strict";var r=e(0);t.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(t,n,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,n,e){"use strict";t.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}},function(t,n,e){"use strict";var r=e(11);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(t){n=t});var e=this;t(function(t){e.reason||(e.reason=new r(t),n(e.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(n){t=n}),cancel:t}},t.exports=o},function(t,n,e){"use strict";t.exports=function(t){return function(n){return t.apply(null,n)}}},function(t,n,e){"use strict";var r=e(2);e.n(r).a},function(t,n,e){(t.exports=e(33)(!1)).push([t.i,"\n.icon-toggle[data-v-76c9f16a],\n.icon-delete[data-v-76c9f16a] {\n\tdisplay: inline-block;\n\twidth: 16px;\n\theight: 16px;\n\tpadding: 10px;\n\tvertical-align: middle;\n}\ntd code[data-v-76c9f16a] {\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding: 3px;\n}\n",""])},function(t,n,e){"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e=function(t,n){var e=t[1]||"",r=t[3];if(!r)return e;if(n&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[e].concat(i).concat([o]).join("\n")}var a;return[e].join("\n")}(n,t);return n[2]?"@media "+n[2]+"{"+e+"}":e}).join("")},n.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},n))},e(35),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,e(5))},function(t,n,e){(function(t,n){!function(t,e){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},f=!1,p=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?r=function(t){n.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var n=!0,e=t.onmessage;return t.onmessage=function(){n=!1},t.postMessage("","*"),t.onmessage=e,n}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):p&&"onreadystatechange"in p.createElement("script")?(o=p.documentElement,r=function(t){var n=p.createElement("script");n.onreadystatechange=function(){h(t),n.onreadystatechange=null,o.removeChild(n),n=null},o.appendChild(n)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(a)&&h(+n.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(n){t.postMessage(a+n,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var n=new Array(arguments.length-1),e=0;e0?e("table",{staticClass:"grid"},[e("thead",[e("tr",[e("th",{attrs:{id:"headerName",scope:"col"}},[t._v(t._s(t.t("oauth2","Name")))]),t._v(" "),e("th",{attrs:{id:"headerRedirectUri",scope:"col"}},[t._v(t._s(t.t("oauth2","Redirection URI")))]),t._v(" "),e("th",{attrs:{id:"headerClientIdentifier",scope:"col"}},[t._v(t._s(t.t("oauth2","Client Identifier")))]),t._v(" "),e("th",{attrs:{id:"headerSecret",scope:"col"}},[t._v(t._s(t.t("oauth2","Secret")))]),t._v(" "),e("th",{attrs:{id:"headerRemove"}},[t._v(" ")])])]),t._v(" "),e("tbody",t._l(t.clients,function(n){return e("OAuthItem",{key:n.id,attrs:{client:n},on:{delete:t.deleteClient}})}),1)]):t._e(),t._v(" "),e("br"),t._v(" "),e("h3",[t._v(t._s(t.t("oauth2","Add client")))]),t._v(" "),t.newClient.error?e("span",{staticClass:"msg error"},[t._v(t._s(t.newClient.errorMsg))]):t._e(),t._v(" "),e("form",{on:{submit:function(n){return n.preventDefault(),t.addClient(n)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.newClient.name,expression:"newClient.name"}],attrs:{type:"text",id:"name",name:"name",placeholder:t.t("oauth2","Name")},domProps:{value:t.newClient.name},on:{input:function(n){n.target.composing||t.$set(t.newClient,"name",n.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.newClient.redirectUri,expression:"newClient.redirectUri"}],attrs:{type:"url",id:"redirectUri",name:"redirectUri",placeholder:t.t("oauth2","Redirection URI")},domProps:{value:t.newClient.redirectUri},on:{input:function(n){n.target.composing||t.$set(t.newClient,"redirectUri",n.target.value)}}}),t._v(" "),e("input",{staticClass:"button",attrs:{type:"submit"},domProps:{value:t.t("oauth2","Add")}})])])};i._withStripped=!0;var a=r(3),s=r.n(a),c=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("tr",[e("td",[t._v(t._s(t.name))]),t._v(" "),e("td",[t._v(t._s(t.redirectUri))]),t._v(" "),e("td",[e("code",[t._v(t._s(t.clientId))])]),t._v(" "),e("td",[e("code",[t._v(t._s(t.renderedSecret))]),e("a",{staticClass:"icon-toggle has-tooltip",attrs:{title:t.t("oauth2","Show client secret")},on:{click:t.toggleSecret}})]),t._v(" "),e("td",{staticClass:"action-column"},[e("span",[e("a",{staticClass:"icon-delete has-tooltip",attrs:{title:t.t("oauth2","Delete")},on:{click:function(n){t.$emit("delete",t.id)}}})])])])};c._withStripped=!0;var u={name:"OAuthItem",props:{client:{type:Object,required:!0}},data:function(){return{id:this.client.id,name:this.client.name,redirectUri:this.client.redirectUri,clientId:this.client.clientId,clientSecret:this.client.clientSecret,renderSecret:!1}},computed:{renderedSecret:function(){return this.renderSecret?this.clientSecret:"****"}},methods:{toggleSecret(){this.renderSecret=!this.renderSecret}}};r(31);function f(t,n,e,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(n&&(u.render=n,u.staticRenderFns=e,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,n){return c.call(n),f(t,n)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}var p=f(u,c,[],!1,null,"76c9f16a",null);p.options.__file="src/components/OAuthItem.vue";var l=f({name:"App",components:{OAuthItem:p.exports},data:function(){return{clients:[],newClient:{name:"",redirectUri:"",errorMsg:"",error:!1}}},beforeMount:function(){s.a.get(OC.generateUrl("apps/oauth2/clients")).then(t=>{this.clients=t.data})},methods:{deleteClient(t){s.a.delete(OC.generateUrl("apps/oauth2/clients/{id}",{id:t})).then(n=>{this.clients=this.clients.filter(n=>n.id!==t)})},addClient(){this.newClient.error=!1,s.a.post(OC.generateUrl("apps/oauth2/clients"),{name:this.newClient.name,redirectUri:this.newClient.redirectUri}).then(t=>{this.clients.push(t.data),this.newClient.name="",this.newClient.redirectUri=""}).catch(t=>{this.newClient.error=!0,this.newClient.errorMsg=t.response.data.message})}}},i,[],!1,null,null,null);l.options.__file="src/App.vue";var v=l.exports;r.d(e,"app",function(){return h}), /** * @copyright Copyright (c) 2018 Roeland Jago Douma * * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ o.a.prototype.t=t,o.a.prototype.oc_defaults=oc_defaults,o.a.prototype.OC=OC;const h=new o.a({render:t=>t(v)}).$mount("#oauth2")},function(t,n,e){"use strict";function r(t,n){for(var e=[],r={},o=0;oe.parts.length&&(r.parts.length=e.parts.length)}else{var a=[];for(o=0;o