2
0
mirror of https://github.com/tenrok/vue-tribute.git synced 2026-06-14 16:42:25 +03:00
Files
vue-tribute/example/dist/vendors~main.e75cdecb.js
T
2021-04-11 16:37:55 -04:00

2 lines
97 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[,function(e,t,n){e.exports=function(){"use strict";function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}if(Array.prototype.find||(Array.prototype.find=function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(i,t,o,n))return t}),window&&"function"!=typeof window.CustomEvent){var t=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n};void 0!==window.Event&&(t.prototype=window.Event.prototype),window.CustomEvent=t}var Y=function(){function i(e){X(this,i),this.tribute=e,this.tribute.events=this}return e(i,[{key:"bind",value:function(e){e.boundKeydown=this.keydown.bind(e,this),e.boundKeyup=this.keyup.bind(e,this),e.boundInput=this.input.bind(e,this),e.addEventListener("keydown",e.boundKeydown,!1),e.addEventListener("keyup",e.boundKeyup,!1),e.addEventListener("input",e.boundInput,!1)}},{key:"unbind",value:function(e){e.removeEventListener("keydown",e.boundKeydown,!1),e.removeEventListener("keyup",e.boundKeyup,!1),e.removeEventListener("input",e.boundInput,!1),delete e.boundKeydown,delete e.boundKeyup,delete e.boundInput}},{key:"keydown",value:function(t,n){t.shouldDeactivate(n)&&(t.tribute.isActive=!1,t.tribute.hideMenu());var r=this;t.commandEvent=!1,i.keys().forEach(function(e){e.key===n.keyCode&&(t.commandEvent=!0,t.callbacks()[e.value.toLowerCase()](n,r))})}},{key:"input",value:function(e,t){e.inputEvent=!0,e.keyup.call(this,e,t)}},{key:"click",value:function(e,t){var n=e.tribute;if(n.menu&&n.menu.contains(t.target)){var r=t.target;for(t.preventDefault(),t.stopPropagation();"li"!==r.nodeName.toLowerCase();)if(!(r=r.parentNode)||r===n.menu)throw new Error("cannot find the <li> container for the click");n.selectItemAtIndex(r.getAttribute("data-index"),t),n.hideMenu()}else n.current.element&&!n.current.externalTrigger&&(n.current.externalTrigger=!1,setTimeout(function(){return n.hideMenu()}))}},{key:"keyup",value:function(e,t){if(e.inputEvent&&(e.inputEvent=!1),e.updateSelection(this),27!==t.keyCode){if(!e.tribute.allowSpaces&&e.tribute.hasTrailingSpace)return e.tribute.hasTrailingSpace=!1,e.commandEvent=!0,void e.callbacks().space(t,this);if(!e.tribute.isActive)if(e.tribute.autocompleteMode)e.callbacks().triggerChar(t,this,"");else{var n=e.getKeyCode(e,this,t);if(isNaN(n)||!n)return;var r=e.tribute.triggers().find(function(e){return e.charCodeAt(0)===n});void 0!==r&&e.callbacks().triggerChar(t,this,r)}e.tribute.current.mentionText.length<e.tribute.current.collection.menuShowMinLength||((e.tribute.current.trigger||e.tribute.autocompleteMode)&&!1===e.commandEvent||e.tribute.isActive&&8===t.keyCode)&&e.tribute.showMenuFor(this,!0)}}},{key:"shouldDeactivate",value:function(t){if(!this.tribute.isActive)return!1;if(0!==this.tribute.current.mentionText.length)return!1;var n=!1;return i.keys().forEach(function(e){t.keyCode===e.key&&(n=!0)}),!n}},{key:"getKeyCode",value:function(e,t,n){var r=e.tribute,i=r.range.getTriggerInfo(!1,r.hasTrailingSpace,!0,r.allowSpaces,r.autocompleteMode);return!!i&&i.mentionTriggerChar.charCodeAt(0)}},{key:"updateSelection",value:function(e){this.tribute.current.element=e;var t=this.tribute.range.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);t&&(this.tribute.current.selectedPath=t.mentionSelectedPath,this.tribute.current.mentionText=t.mentionText,this.tribute.current.selectedOffset=t.mentionSelectedOffset)}},{key:"callbacks",value:function(){var o=this;return{triggerChar:function(e,t,n){var r=o.tribute;r.current.trigger=n;var i=r.collection.find(function(e){return e.trigger===n});r.current.collection=i,r.current.mentionText.length>=r.current.collection.menuShowMinLength&&r.inputEvent&&r.showMenuFor(t,!0)},enter:function(e,t){o.tribute.isActive&&o.tribute.current.filteredItems&&(e.preventDefault(),e.stopPropagation(),setTimeout(function(){o.tribute.selectItemAtIndex(o.tribute.menuSelected,e),o.tribute.hideMenu()},0))},escape:function(e,t){o.tribute.isActive&&(e.preventDefault(),e.stopPropagation(),o.tribute.isActive=!1,o.tribute.hideMenu())},tab:function(e,t){o.callbacks().enter(e,t)},space:function(e,t){o.tribute.isActive&&(o.tribute.spaceSelectsMatch?o.callbacks().enter(e,t):o.tribute.allowSpaces||(e.stopPropagation(),setTimeout(function(){o.tribute.hideMenu(),o.tribute.isActive=!1},0)))},up:function(e,t){if(o.tribute.isActive&&o.tribute.current.filteredItems){e.preventDefault(),e.stopPropagation();var n=o.tribute.current.filteredItems.length,r=o.tribute.menuSelected;r<n&&0<r?(o.tribute.menuSelected--,o.setActiveLi()):0===r&&(o.tribute.menuSelected=n-1,o.setActiveLi(),o.tribute.menu.scrollTop=o.tribute.menu.scrollHeight)}},down:function(e,t){if(o.tribute.isActive&&o.tribute.current.filteredItems){e.preventDefault(),e.stopPropagation();var n=o.tribute.current.filteredItems.length-1,r=o.tribute.menuSelected;r<n?(o.tribute.menuSelected++,o.setActiveLi()):n===r&&(o.tribute.menuSelected=0,o.setActiveLi(),o.tribute.menu.scrollTop=0)}},delete:function(e,t){o.tribute.isActive&&o.tribute.current.mentionText.length<1?o.tribute.hideMenu():o.tribute.isActive&&o.tribute.showMenuFor(t)}}}},{key:"setActiveLi",value:function(e){var t=this.tribute.menu.querySelectorAll("li"),n=t.length>>>0;e&&(this.tribute.menuSelected=parseInt(e));for(var r=0;r<n;r++){var i=t[r];if(r===this.tribute.menuSelected){i.classList.add(this.tribute.current.collection.selectClass);var o=i.getBoundingClientRect(),a=this.tribute.menu.getBoundingClientRect();if(o.bottom>a.bottom){var s=o.bottom-a.bottom;this.tribute.menu.scrollTop+=s}else if(o.top<a.top){var u=a.top-o.top;this.tribute.menu.scrollTop-=u}}else i.classList.remove(this.tribute.current.collection.selectClass)}}},{key:"getFullHeight",value:function(e,t){var n=e.getBoundingClientRect().height;if(t){var r=e.currentStyle||window.getComputedStyle(e);return n+parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}}],[{key:"keys",value:function(){return[{key:9,value:"TAB"},{key:8,value:"DELETE"},{key:13,value:"ENTER"},{key:27,value:"ESCAPE"},{key:32,value:"SPACE"},{key:38,value:"UP"},{key:40,value:"DOWN"}]}}]),i}(),Q=function(){function t(e){X(this,t),this.tribute=e,(this.tribute.menuEvents=this).menu=this.tribute.menu}return e(t,[{key:"bind",value:function(e){var t=this;this.menuClickEvent=this.tribute.events.click.bind(null,this),this.menuContainerScrollEvent=this.debounce(function(){t.tribute.isActive&&t.tribute.showMenuFor(t.tribute.current.element,!1)},300,!1),this.windowResizeEvent=this.debounce(function(){t.tribute.isActive&&t.tribute.range.positionMenuAtCaret(!0)},300,!1),this.tribute.range.getDocument().addEventListener("MSPointerDown",this.menuClickEvent,!1),this.tribute.range.getDocument().addEventListener("mousedown",this.menuClickEvent,!1),window.addEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.addEventListener("scroll",this.menuContainerScrollEvent,!1):window.addEventListener("scroll",this.menuContainerScrollEvent)}},{key:"unbind",value:function(e){this.tribute.range.getDocument().removeEventListener("mousedown",this.menuClickEvent,!1),this.tribute.range.getDocument().removeEventListener("MSPointerDown",this.menuClickEvent,!1),window.removeEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.removeEventListener("scroll",this.menuContainerScrollEvent,!1):window.removeEventListener("scroll",this.menuContainerScrollEvent)}},{key:"debounce",value:function(r,i,o){var a,s=arguments,u=this;return function(){var e=u,t=s,n=o&&!a;clearTimeout(a),a=setTimeout(function(){a=null,o||r.apply(e,t)},i),n&&r.apply(e,t)}}}]),t}(),J=function(){function t(e){X(this,t),this.tribute=e,this.tribute.range=this}return e(t,[{key:"getDocument",value:function(){var e;return this.tribute.current.collection&&(e=this.tribute.current.collection.iframe),e?e.contentWindow.document:document}},{key:"positionMenuAtCaret",value:function(i){var o,a=this,e=this.tribute.current,t=this.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==t){if(!this.tribute.positionMenu)return void(this.tribute.menu.style.cssText="display: block;");o=this.isContentEditable(e.element)?this.getContentEditableCaretPosition(t.mentionPosition):this.getTextAreaOrInputUnderlinePosition(this.tribute.current.element,t.mentionPosition),this.tribute.menu.style.cssText="top: ".concat(o.top,"px;\n left: ").concat(o.left,"px;\n right: ").concat(o.right,"px;\n bottom: ").concat(o.bottom,"px;\n position: absolute;\n display: block;"),"auto"===o.left&&(this.tribute.menu.style.left="auto"),"auto"===o.top&&(this.tribute.menu.style.top="auto"),i&&this.scrollIntoView(),window.setTimeout(function(){var e={width:a.tribute.menu.offsetWidth,height:a.tribute.menu.offsetHeight},t=a.isMenuOffScreen(o,e),n=window.innerWidth>e.width&&(t.left||t.right),r=window.innerHeight>e.height&&(t.top||t.bottom);(n||r)&&(a.tribute.menu.style.cssText="display: none",a.positionMenuAtCaret(i))},0)}else this.tribute.menu.style.cssText="display: none"}},{key:"selectElement",value:function(e,t,n){var r,i=e;if(t)for(var o=0;o<t.length;o++){if(void 0===(i=i.childNodes[t[o]]))return;for(;i.length<n;)n-=i.length,i=i.nextSibling;0!==i.childNodes.length||i.length||(i=i.previousSibling)}var a=this.getWindowSelection();(r=this.getDocument().createRange()).setStart(i,n),r.setEnd(i,n),r.collapse(!0);try{a.removeAllRanges()}catch(e){}a.addRange(r),e.focus()}},{key:"replaceTriggerText",value:function(e,t,n,r,i){var o=this.getTriggerInfo(!0,n,t,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==o){var a=this.tribute.current,s=new CustomEvent("tribute-replaced",{detail:{item:i,instance:a,context:o,event:r}});if(this.isContentEditable(a.element)){e+="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";var u=o.mentionPosition+o.mentionText.length;this.tribute.autocompleteMode||(u+=o.mentionTriggerChar.length),this.pasteHtml(e,o.mentionPosition,u)}else{var c=this.tribute.current.element,l="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";e+=l;var f=o.mentionPosition,d=o.mentionPosition+o.mentionText.length+l.length;this.tribute.autocompleteMode||(d+=o.mentionTriggerChar.length-1),c.value=c.value.substring(0,f)+e+c.value.substring(d,c.value.length),c.selectionStart=f+e.length,c.selectionEnd=f+e.length}a.element.dispatchEvent(new CustomEvent("input",{bubbles:!0})),a.element.dispatchEvent(s)}}},{key:"pasteHtml",value:function(e,t,n){var r,i;i=this.getWindowSelection(),(r=this.getDocument().createRange()).setStart(i.anchorNode,t),r.setEnd(i.anchorNode,n),r.deleteContents();var o=this.getDocument().createElement("div");o.innerHTML=e;for(var a,s,u=this.getDocument().createDocumentFragment();a=o.firstChild;)s=u.appendChild(a);r.insertNode(u),s&&((r=r.cloneRange()).setStartAfter(s),r.collapse(!0),i.removeAllRanges(),i.addRange(r))}},{key:"getWindowSelection",value:function(){return this.tribute.collection.iframe?this.tribute.collection.iframe.contentWindow.getSelection():window.getSelection()}},{key:"getNodePositionInParent",value:function(e){if(null===e.parentNode)return 0;for(var t=0;t<e.parentNode.childNodes.length;t++)if(e.parentNode.childNodes[t]===e)return t}},{key:"getContentEditableSelectedPath",value:function(e){var t=this.getWindowSelection(),n=t.anchorNode,r=[];if(null!=n){for(var i,o=n.contentEditable;null!==n&&"true"!==o;)i=this.getNodePositionInParent(n),r.push(i),null!==(n=n.parentNode)&&(o=n.contentEditable);return r.reverse(),{selected:n,path:r,offset:t.getRangeAt(0).startOffset}}}},{key:"getTextPrecedingCurrentSelection",value:function(){var e=this.tribute.current,t="";if(this.isContentEditable(e.element)){var n=this.getWindowSelection().anchorNode;if(null!=n){var r=n.textContent,i=this.getWindowSelection().getRangeAt(0).startOffset;r&&0<=i&&(t=r.substring(0,i))}}else{var o=this.tribute.current.element;if(o){var a=o.selectionStart;o.value&&0<=a&&(t=o.value.substring(0,a))}}return t}},{key:"getLastWordInText",value:function(e){var t=(e=e.replace(/\u00A0/g," ")).split(/\s+/);return t[t.length-1].trim()}},{key:"getTriggerInfo",value:function(e,t,r,n,i){var o,a,s,u=this,c=this.tribute.current;if(this.isContentEditable(c.element)){var l=this.getContentEditableSelectedPath(c);l&&(o=l.selected,a=l.path,s=l.offset)}else o=this.tribute.current.element;var f=this.getTextPrecedingCurrentSelection(),d=this.getLastWordInText(f);if(i)return{mentionPosition:f.length-d.length,mentionText:d,mentionSelectedElement:o,mentionSelectedPath:a,mentionSelectedOffset:s};if(null!=f){var p,h=-1;if(this.tribute.collection.forEach(function(e){var t=e.trigger,n=e.requireLeadingSpace?u.lastIndexWithLeadingSpace(f,t):f.lastIndexOf(t);h<n&&(h=n,p=t,r=e.requireLeadingSpace)}),0<=h&&(0===h||!r||/[\xA0\s]/g.test(f.substring(h-1,h)))){var v=f.substring(h+p.length,f.length);p=f.substring(h,h+p.length);var m=v.substring(0,1),g=0<v.length&&(" "===m||" "===m);t&&(v=v.trim());var y=n?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=y.test(v),!g&&(e||!y.test(v)))return{mentionPosition:h,mentionText:v,mentionSelectedElement:o,mentionSelectedPath:a,mentionSelectedOffset:s,mentionTriggerChar:p}}}}},{key:"lastIndexWithLeadingSpace",value:function(e,t){for(var n=e.split("").reverse().join(""),r=-1,i=0,o=e.length;i<o;i++){for(var a=i===e.length-1,s=/\s/.test(n[i+1]),u=!0,c=t.length-1;0<=c;c--)if(t[c]!==n[i-c]){u=!1;break}if(u&&(a||s)){r=e.length-1-i;break}}return r}},{key:"isContentEditable",value:function(e){return"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName}},{key:"isMenuOffScreen",value:function(e,t){var n=window.innerWidth,r=window.innerHeight,i=document.documentElement,o=(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),a=(window.pageYOffset||i.scrollTop)-(i.clientTop||0),s="number"==typeof e.top?e.top:a+r-e.bottom-t.height,u="number"==typeof e.right?e.right:e.left+t.width,c="number"==typeof e.bottom?e.bottom:e.top+t.height,l="number"==typeof e.left?e.left:o+n-e.right-t.width;return{top:s<Math.floor(a),right:u>Math.ceil(o+n),bottom:c>Math.ceil(a+r),left:l<Math.floor(o)}}},{key:"getMenuDimensions",value:function(){var e={width:null,height:null};return this.tribute.menu.style.cssText="top: 0px;\n left: 0px;\n position: fixed;\n display: block;\n visibility; hidden;",e.width=this.tribute.menu.offsetWidth,e.height=this.tribute.menu.offsetHeight,this.tribute.menu.style.cssText="display: none;",e}},{key:"getTextAreaOrInputUnderlinePosition",value:function(e,t,n){var r=null!==window.mozInnerScreenX,i=this.getDocument().createElement("div");i.id="input-textarea-caret-position-mirror-div",this.getDocument().body.appendChild(i);var o=i.style,a=window.getComputedStyle?getComputedStyle(e):e.currentStyle;o.whiteSpace="pre-wrap","INPUT"!==e.nodeName&&(o.wordWrap="break-word"),o.position="absolute",o.visibility="hidden",["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing"].forEach(function(e){o[e]=a[e]}),r?(o.width="".concat(parseInt(a.width)-2,"px"),e.scrollHeight>parseInt(a.height)&&(o.overflowY="scroll")):o.overflow="hidden",i.textContent=e.value.substring(0,t),"INPUT"===e.nodeName&&(i.textContent=i.textContent.replace(/\s/g," "));var s=this.getDocument().createElement("span");s.textContent=e.value.substring(t)||".",i.appendChild(s);var u=e.getBoundingClientRect(),c=document.documentElement,l=(window.pageXOffset||c.scrollLeft)-(c.clientLeft||0),f=(window.pageYOffset||c.scrollTop)-(c.clientTop||0),d=0,p=0;this.menuContainerIsBody&&(d=u.top,p=u.left);var h={top:d+f+s.offsetTop+parseInt(a.borderTopWidth)+parseInt(a.fontSize)-e.scrollTop,left:p+l+s.offsetLeft+parseInt(a.borderLeftWidth)},v=window.innerWidth,m=window.innerHeight,g=this.getMenuDimensions(),y=this.isMenuOffScreen(h,g);y.right&&(h.right=v-h.left,h.left="auto");var b=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(y.bottom){var _=b-(m-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);h.bottom=_+(m-u.top-s.offsetTop),h.top="auto"}return(y=this.isMenuOffScreen(h,g)).left&&(h.left=v>g.width?l+v-g.width:l,delete h.right),y.top&&(h.top=m>g.height?f+m-g.height:f,delete h.bottom),this.getDocument().body.removeChild(i),h}},{key:"getContentEditableCaretPosition",value:function(e){var t,n=this.getWindowSelection();(t=this.getDocument().createRange()).setStart(n.anchorNode,e),t.setEnd(n.anchorNode,e),t.collapse(!1);var r=t.getBoundingClientRect(),i=document.documentElement,o=(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),a=(window.pageYOffset||i.scrollTop)-(i.clientTop||0),s={left:r.left+o,top:r.top+r.height+a},u=window.innerWidth,c=window.innerHeight,l=this.getMenuDimensions(),f=this.isMenuOffScreen(s,l);f.right&&(s.left="auto",s.right=u-r.left-o);var d=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(f.bottom){var p=d-(c-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);s.top="auto",s.bottom=p+(c-r.top)}return(f=this.isMenuOffScreen(s,l)).left&&(s.left=u>l.width?o+u-l.width:o,delete s.right),f.top&&(s.top=c>l.height?a+c-l.height:a,delete s.bottom),this.menuContainerIsBody||(s.left=s.left?s.left-this.tribute.menuContainer.offsetLeft:s.left,s.top=s.top?s.top-this.tribute.menuContainer.offsetTop:s.top),s}},{key:"scrollIntoView",value:function(e){var t,n=this.menu;if(void 0!==n){for(;void 0===t||0===t.height;)if(0===(t=n.getBoundingClientRect()).height&&(void 0===(n=n.childNodes[0])||!n.getBoundingClientRect))return;var r=t.top,i=r+t.height;if(r<0)window.scrollTo(0,window.pageYOffset+t.top-20);else if(i>window.innerHeight){var o=window.pageYOffset+t.top-20;100<o-window.pageYOffset&&(o=window.pageYOffset+100);var a=window.pageYOffset-(window.innerHeight-i);o<a&&(a=o),window.scrollTo(0,a)}}}},{key:"menuContainerIsBody",get:function(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}}]),t}(),G=function(){function t(e){X(this,t),this.tribute=e,this.tribute.search=this}return e(t,[{key:"simpleFilter",value:function(t,e){var n=this;return e.filter(function(e){return n.test(t,e)})}},{key:"test",value:function(e,t){return null!==this.match(e,t)}},{key:"match",value:function(e,t,n){n=n||{},t.length;var r=n.pre||"",i=n.post||"",o=n.caseSensitive&&t||t.toLowerCase();if(n.skip)return{rendered:t,score:0};e=n.caseSensitive&&e||e.toLowerCase();var a=this.traverse(o,e,0,0,[]);return a?{rendered:this.render(t,a.cache,r,i),score:a.score}:null}},{key:"traverse",value:function(e,t,n,r,i){if(t.length===r)return{score:this.calculateScore(i),cache:i.slice()};if(!(e.length===n||t.length-r>e.length-n)){for(var o,a,s=t[r],u=e.indexOf(s,n);-1<u;){if(i.push(u),a=this.traverse(e,t,u+1,r+1,i),i.pop(),!a)return o;(!o||o.score<a.score)&&(o=a),u=e.indexOf(s,u+1)}return o}}},{key:"calculateScore",value:function(n){var r=0,i=1;return n.forEach(function(e,t){0<t&&(n[t-1]+1===e?i+=i+1:i=1),r+=i}),r}},{key:"render",value:function(n,r,i,o){var a=n.substring(0,r[0]);return r.forEach(function(e,t){a+=i+n[e]+o+n.substring(e+1,r[t+1]?r[t+1]:n.length)}),a}},{key:"filter",value:function(a,e,s){var u=this;return s=s||{},e.reduce(function(e,t,n,r){var i=t;s.extract&&((i=s.extract(t))||(i=""));var o=u.match(a,i,s);return null!=o&&(e[e.length]={string:o.rendered,score:o.score,index:n,original:t}),e},[]).sort(function(e,t){var n=t.score-e.score;return n||e.index-t.index})}}]),t}();return function(){function q(e){var t,n=this,r=e.values,i=void 0===r?null:r,o=e.iframe,a=void 0===o?null:o,s=e.selectClass,u=void 0===s?"highlight":s,c=e.containerClass,l=void 0===c?"tribute-container":c,f=e.itemClass,d=void 0===f?"":f,p=e.trigger,h=void 0===p?"@":p,v=e.autocompleteMode,m=void 0!==v&&v,g=e.selectTemplate,y=void 0===g?null:g,b=e.menuItemTemplate,_=void 0===b?null:b,w=e.lookup,C=void 0===w?"key":w,T=e.fillAttr,k=void 0===T?"value":T,A=e.collection,x=void 0===A?null:A,S=e.menuContainer,E=void 0===S?null:S,O=e.noMatchTemplate,$=void 0===O?null:O,I=e.requireLeadingSpace,M=void 0===I||I,L=e.allowSpaces,N=void 0!==L&&L,D=e.replaceTextSuffix,P=void 0===D?null:D,j=e.positionMenu,R=void 0===j||j,F=e.spaceSelectsMatch,H=void 0!==F&&F,W=e.searchOpts,B=void 0===W?{}:W,U=e.menuItemLimit,z=void 0===U?null:U,V=e.menuShowMinLength,K=void 0===V?0:V;if(X(this,q),this.autocompleteMode=m,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=E,this.allowSpaces=N,this.replaceTextSuffix=P,this.positionMenu=R,this.hasTrailingSpace=!1,this.spaceSelectsMatch=H,this.autocompleteMode&&(h="",N=!1),i)this.collection=[{trigger:h,iframe:a,selectClass:u,containerClass:l,itemClass:d,selectTemplate:(y||q.defaultSelectTemplate).bind(this),menuItemTemplate:(_||q.defaultMenuItemTemplate).bind(this),noMatchTemplate:(t=$,"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(n):$||function(){return"<li>No Match Found!</li>"}.bind(n)),lookup:C,fillAttr:k,values:i,requireLeadingSpace:M,searchOpts:B,menuItemLimit:z,menuShowMinLength:K}];else{if(!x)throw new Error("[Tribute] No collection specified.");this.autocompleteMode&&console.warn("Tribute in autocomplete mode does not work for collections"),this.collection=x.map(function(e){return{trigger:e.trigger||h,iframe:e.iframe||a,selectClass:e.selectClass||u,containerClass:e.containerClass||l,itemClass:e.itemClass||d,selectTemplate:(e.selectTemplate||q.defaultSelectTemplate).bind(n),menuItemTemplate:(e.menuItemTemplate||q.defaultMenuItemTemplate).bind(n),noMatchTemplate:(t=$,"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(n):$||function(){return"<li>No Match Found!</li>"}.bind(n)),lookup:e.lookup||C,fillAttr:e.fillAttr||k,values:e.values,requireLeadingSpace:e.requireLeadingSpace,searchOpts:e.searchOpts||B,menuItemLimit:e.menuItemLimit||z,menuShowMinLength:e.menuShowMinLength||K};var t})}new J(this),new Y(this),new Q(this),new G(this)}return e(q,[{key:"triggers",value:function(){return this.collection.map(function(e){return e.trigger})}},{key:"attach",value:function(e){if(!e)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if("undefined"!=typeof jQuery&&e instanceof jQuery&&(e=e.get()),e.constructor===NodeList||e.constructor===HTMLCollection||e.constructor===Array)for(var t=e.length,n=0;n<t;++n)this._attach(e[n]);else this._attach(e)}},{key:"_attach",value:function(e){e.hasAttribute("data-tribute")&&console.warn("Tribute was already bound to "+e.nodeName),this.ensureEditable(e),this.events.bind(e),e.setAttribute("data-tribute",!0)}},{key:"ensureEditable",value:function(e){if(-1===q.inputTypes().indexOf(e.nodeName)){if(!e.contentEditable)throw new Error("[Tribute] Cannot bind to "+e.nodeName);e.contentEditable=!0}}},{key:"createMenu",value:function(e){var t=this.range.getDocument().createElement("div"),n=this.range.getDocument().createElement("ul");return t.className=e,t.appendChild(n),this.menuContainer?this.menuContainer.appendChild(t):this.range.getDocument().body.appendChild(t)}},{key:"showMenuFor",value:function(e,o){var a=this;if(!this.isActive||this.current.element!==e||this.current.mentionText!==this.currentMentionTextSnapshot){this.currentMentionTextSnapshot=this.current.mentionText,this.menu||(this.menu=this.createMenu(this.current.collection.containerClass),e.tributeMenu=this.menu,this.menuEvents.bind(this.menu)),this.isActive=!0,this.menuSelected=0,this.current.mentionText||(this.current.mentionText="");var t=function(e){if(a.isActive){var t=a.search.filter(a.current.mentionText,e,{pre:a.current.collection.searchOpts.pre||"<span>",post:a.current.collection.searchOpts.post||"</span>",skip:a.current.collection.searchOpts.skip,extract:function(e){if("string"==typeof a.current.collection.lookup)return e[a.current.collection.lookup];if("function"==typeof a.current.collection.lookup)return a.current.collection.lookup(e,a.current.mentionText);throw new Error("Invalid lookup attribute, lookup must be string or function.")}});a.current.collection.menuItemLimit&&(t=t.slice(0,a.current.collection.menuItemLimit)),a.current.filteredItems=t;var n=a.menu.querySelector("ul");if(a.range.positionMenuAtCaret(o),!t.length){var r=new CustomEvent("tribute-no-match",{detail:a.menu});return a.current.element.dispatchEvent(r),void("function"==typeof a.current.collection.noMatchTemplate&&!a.current.collection.noMatchTemplate()||!a.current.collection.noMatchTemplate?a.hideMenu():"function"==typeof a.current.collection.noMatchTemplate?n.innerHTML=a.current.collection.noMatchTemplate():n.innerHTML=a.current.collection.noMatchTemplate)}n.innerHTML="";var i=a.range.getDocument().createDocumentFragment();t.forEach(function(e,t){var n=a.range.getDocument().createElement("li");n.setAttribute("data-index",t),n.className=a.current.collection.itemClass,n.addEventListener("mousemove",function(e){var t,n,r=(t=a._findLiTarget(e.target),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),i=(r[0],r[1]);0!==e.movementY&&a.events.setActiveLi(i)}),a.menuSelected===t&&n.classList.add(a.current.collection.selectClass),n.innerHTML=a.current.collection.menuItemTemplate(e),i.appendChild(n)}),n.appendChild(i)}};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,t):t(this.current.collection.values)}}},{key:"_findLiTarget",value:function(e){if(!e)return[];var t=e.getAttribute("data-index");return t?[e,t]:this._findLiTarget(e.parentNode)}},{key:"showMenuForCollection",value:function(e,t){e!==document.activeElement&&this.placeCaretAtEnd(e),this.current.collection=this.collection[t||0],this.current.externalTrigger=!0,(this.current.element=e).isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(e,this.current.collection.trigger),this.showMenuFor(e)}},{key:"placeCaretAtEnd",value:function(e){if(e.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var t=document.createRange();t.selectNodeContents(e),t.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(t)}else if(void 0!==document.body.createTextRange){var r=document.body.createTextRange();r.moveToElementText(e),r.collapse(!1),r.select()}}},{key:"insertTextAtCursor",value:function(e){var t,n;(n=(t=window.getSelection()).getRangeAt(0)).deleteContents();var r=document.createTextNode(e);n.insertNode(r),n.selectNodeContents(r),n.collapse(!1),t.removeAllRanges(),t.addRange(n)}},{key:"insertAtCaret",value:function(e,t){var n=e.scrollTop,r=e.selectionStart,i=e.value.substring(0,r),o=e.value.substring(e.selectionEnd,e.value.length);e.value=i+t+o,r+=t.length,e.selectionStart=r,e.selectionEnd=r,e.focus(),e.scrollTop=n}},{key:"hideMenu",value:function(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}},{key:"selectItemAtIndex",value:function(e,t){if("number"==typeof(e=parseInt(e))&&!isNaN(e)){var n=this.current.filteredItems[e],r=this.current.collection.selectTemplate(n);null!==r&&this.replaceText(r,t,n)}}},{key:"replaceText",value:function(e,t,n){this.range.replaceTriggerText(e,!0,!0,t,n)}},{key:"_append",value:function(e,t,n){if("function"==typeof e.values)throw new Error("Unable to append to values, as it is a function.");e.values=n?t:e.values.concat(t)}},{key:"append",value:function(e,t,n){var r=parseInt(e);if("number"!=typeof r)throw new Error("please provide an index for the collection to update.");var i=this.collection[r];this._append(i,t,n)}},{key:"appendCurrent",value:function(e,t){if(!this.isActive)throw new Error("No active state. Please use append instead and pass an index.");this._append(this.current.collection,e,t)}},{key:"detach",value:function(e){if(!e)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if("undefined"!=typeof jQuery&&e instanceof jQuery&&(e=e.get()),e.constructor===NodeList||e.constructor===HTMLCollection||e.constructor===Array)for(var t=e.length,n=0;n<t;++n)this._detach(e[n]);else this._detach(e)}},{key:"_detach",value:function(e){var t=this;this.events.unbind(e),e.tributeMenu&&this.menuEvents.unbind(e.tributeMenu),setTimeout(function(){e.removeAttribute("data-tribute"),t.isActive=!1,e.tributeMenu&&e.tributeMenu.remove()})}},{key:"isActive",get:function(){return this._isActive},set:function(e){if(this._isActive!=e&&(this._isActive=e,this.current.element)){var t=new CustomEvent("tribute-active-".concat(e));this.current.element.dispatchEvent(t)}}}],[{key:"defaultSelectTemplate",value:function(e){return void 0===e?"".concat(this.current.collection.trigger).concat(this.current.mentionText):this.range.isContentEditable(this.current.element)?'<span class="tribute-mention">'+(this.current.collection.trigger+e.original[this.current.collection.fillAttr])+"</span>":this.current.collection.trigger+e.original[this.current.collection.fillAttr]}},{key:"defaultMenuItemTemplate",value:function(e){return e.string}},{key:"inputTypes",value:function(){return["TEXTAREA","INPUT"]}}]),q}()}()},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},function(e,zi,t){"use strict";(function(e,t){var g=Object.freeze({});function D(e){return null==e}function P(e){return null!=e}function E(e){return!0===e}function O(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function j(e){return null!==e&&"object"==typeof e}var n=Object.prototype.toString;function u(e){return"[object Object]"===n.call(e)}function r(e){return"[object RegExp]"===n.call(e)}function i(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function y(e){return P(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function o(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===n?JSON.stringify(e,null,2):String(e)}function R(e){var t=parseFloat(e);return isNaN(t)?e:t}function s(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}s("slot,component",!0);var c=s("key,ref,slot,slot-scope,is");function l(e,t){if(e.length){var n=e.indexOf(t);if(-1<n)return e.splice(n,1)}}var a=Object.prototype.hasOwnProperty;function f(e,t){return a.call(e,t)}function d(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var p=/-(\w)/g,h=d(function(e){return e.replace(p,function(e,t){return t?t.toUpperCase():""})}),v=d(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),m=/\B([A-Z])/g,b=d(function(e){return e.replace(m,"-$1").toLowerCase()});var _=Function.prototype.bind?function(e,t){return e.bind(t)}:function(n,r){function e(e){var t=arguments.length;return t?1<t?n.apply(r,arguments):n.call(r,e):n.call(r)}return e._length=n.length,e};function w(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function C(e,t){for(var n in t)e[n]=t[n];return e}function T(e){for(var t={},n=0;n<e.length;n++)e[n]&&C(t,e[n]);return t}function k(e,t,n){}var A=function(e,t,n){return!1},x=function(e){return e};function S(t,n){if(t===n)return!0;var e=j(t),r=j(n);if(!e||!r)return!e&&!r&&String(t)===String(n);try{var i=Array.isArray(t),o=Array.isArray(n);if(i&&o)return t.length===n.length&&t.every(function(e,t){return S(e,n[t])});if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every(function(e){return S(t[e],n[e])})}catch(e){return!1}}function $(e,t){for(var n=0;n<e.length;n++)if(S(e[n],t))return n;return-1}function F(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var I="data-server-rendered",M=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],N={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:A,isReservedAttr:A,isUnknownElement:A,getTagNamespace:k,parsePlatformTagName:x,mustUseProp:A,async:!0,_lifecycleHooks:L},H="a-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-";function W(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var B=new RegExp("[^"+H+".$_\\d]");var U,z="__proto__"in{},V="undefined"!=typeof window,K="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,q=K&&WXEnvironment.platform.toLowerCase(),X=V&&window.navigator.userAgent.toLowerCase(),Y=X&&/msie|trident/.test(X),Q=X&&0<X.indexOf("msie 9.0"),J=X&&0<X.indexOf("edge/"),G=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===q),Z=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(V)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(e){}var re=function(){return void 0===U&&(U=!V&&!K&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),U},ie=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,se="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);ae="undefined"!=typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=k,ce=0,le=function(){this.id=ce++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){l(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},le.target=null;var fe=[];function de(e){fe.push(e),le.target=e}function pe(){fe.pop(),le.target=fe[fe.length-1]}var he=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ve={child:{configurable:!0}};ve.child.get=function(){return this.componentInstance},Object.defineProperties(he.prototype,ve);var me=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function ge(e){return new he(void 0,void 0,void 0,String(e))}function ye(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var be=Array.prototype,_e=Object.create(be);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(o){var a=be[o];W(_e,o,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=a.apply(this,e),i=this.__ob__;switch(o){case"push":case"unshift":n=e;break;case"splice":n=e.slice(2)}return n&&i.observeArray(n),i.dep.notify(),r})});var we=Object.getOwnPropertyNames(_e),Ce=!0;function Te(e){Ce=e}var ke=function(e){var t;this.value=e,this.dep=new le,this.vmCount=0,W(e,"__ob__",this),Array.isArray(e)?(z?(t=_e,e.__proto__=t):function(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];W(e,o,t[o])}}(e,_e,we),this.observeArray(e)):this.walk(e)};function Ae(e,t){var n;if(j(e)&&!(e instanceof he))return f(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:Ce&&!re()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ke(e)),t&&n&&n.vmCount++,n}function xe(n,e,r,t,i){var o=new le,a=Object.getOwnPropertyDescriptor(n,e);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(r=n[e]);var c=!i&&Ae(r);Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(n):r;return le.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(e)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(e))),e},set:function(e){var t=s?s.call(n):r;e===t||e!=e&&t!=t||s&&!u||(u?u.call(n,e):r=e,c=!i&&Ae(e),o.notify())}})}}function Se(e,t,n){if(Array.isArray(e)&&i(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(xe(r.value,t,n),r.dep.notify(),n):e[t]=n}function Ee(e,t){if(Array.isArray(e)&&i(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||f(e,t)&&(delete e[t],n&&n.dep.notify())}}ke.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)xe(e,t[n])},ke.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ae(e[t])};var Oe=N.optionMergeStrategies;function $e(e,t){if(!t)return e;for(var n,r,i,o=se?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],f(e,n)?r!==i&&u(r)&&u(i)&&$e(r,i):Se(e,n,i));return e}function Ie(n,r,i){return i?function(){var e="function"==typeof r?r.call(i,i):r,t="function"==typeof n?n.call(i,i):n;return e?$e(e,t):t}:r?n?function(){return $e("function"==typeof r?r.call(this,this):r,"function"==typeof n?n.call(this,this):n)}:r:n}function Me(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Le(e,t,n,r){var i=Object.create(e||null);return t?C(i,t):i}Oe.data=function(e,t,n){return n?Ie(e,t,n):t&&"function"!=typeof t?e:Ie(e,t)},L.forEach(function(e){Oe[e]=Me}),M.forEach(function(e){Oe[e+"s"]=Le}),Oe.watch=function(e,t,n,r){if(e===ee&&(e=void 0),t===ee&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in C(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Oe.props=Oe.methods=Oe.inject=Oe.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return C(i,e),t&&C(i,t),i},Oe.provide=Ie;var Ne=function(e,t){return void 0===t?e:t};function De(n,r,i){if("function"==typeof r&&(r=r.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[h(i)]={type:null});else if(u(n))for(var a in n)i=n[a],o[h(a)]=u(i)?i:{type:i};e.props=o}}(r),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var a=n[o];r[o]=u(a)?C({from:o},a):{from:a}}}}(r),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(r),!r._base&&(r.extends&&(n=De(n,r.extends,i)),r.mixins))for(var e=0,t=r.mixins.length;e<t;e++)n=De(n,r.mixins[e],i);var o,a={};for(o in n)s(o);for(o in r)f(n,o)||s(o);function s(e){var t=Oe[e]||Ne;a[e]=t(n[e],r[e],i,e)}return a}function Pe(e,t,n,r){if("string"==typeof n){var i=e[t];if(f(i,n))return i[n];var o=h(n);if(f(i,o))return i[o];var a=v(o);return f(i,a)?i[a]:i[n]||i[o]||i[a]}}function je(e,t,n,r){var i=t[e],o=!f(n,e),a=n[e],s=He(Boolean,i.type);if(-1<s)if(o&&!f(i,"default"))a=!1;else if(""===a||a===b(e)){var u=He(String,i.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!f(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Re(t.type)?r.call(e):r}(r,i,e);var c=Ce;Te(!0),Ae(a),Te(c)}return a}function Re(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Fe(e,t){return Re(e)===Re(t)}function He(e,t){if(!Array.isArray(t))return Fe(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Fe(t[n],e))return n;return-1}function We(e,t,n){if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Ue(e,r,"errorCaptured hook")}}Ue(e,t,n)}function Be(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&y(o)&&o.catch(function(e){return We(e,r,i+" (Promise/async)")})}catch(e){We(e,r,i)}return o}function Ue(e,t,n){if(N.errorHandler)try{return N.errorHandler.call(null,e,t,n)}catch(e){ze(e,null,"config.errorHandler")}ze(e,t,n)}function ze(e,t,n){if(!V&&!K||"undefined"==typeof console)throw e;console.error(e)}var Ve,Ke=!1,qe=[],Xe=!1;function Ye(){Xe=!1;for(var e=qe.slice(0),t=qe.length=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&oe(Promise)){var Qe=Promise.resolve();Ve=function(){Qe.then(Ye),G&&setTimeout(k)},Ke=!0}else if(Y||"undefined"==typeof MutationObserver||!oe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ve=void 0!==t&&oe(t)?function(){t(Ye)}:function(){setTimeout(Ye,0)};else{var Je=1,Ge=new MutationObserver(Ye),Ze=document.createTextNode(String(Je));Ge.observe(Ze,{characterData:!0}),Ve=function(){Je=(Je+1)%2,Ze.data=String(Je)},Ke=!0}function et(e,t){var n;if(qe.push(function(){if(e)try{e.call(t)}catch(e){We(e,t,"nextTick")}else n&&n(t)}),Xe||(Xe=!0,Ve()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var tt=new ae;function nt(e){!function e(t,n){var r,i;var o=Array.isArray(t);if(!o&&!j(t)||Object.isFrozen(t)||t instanceof he)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}(e,tt),tt.clear()}var rt=d(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function it(e,i){function o(){var e=arguments,t=o.fns;if(!Array.isArray(t))return Be(t,null,arguments,i,"v-on handler");for(var n=t.slice(),r=0;r<n.length;r++)Be(n[r],null,e,i,"v-on handler")}return o.fns=e,o}function ot(e,t,n,r,i,o){var a,s,u,c;for(a in e)s=e[a],u=t[a],c=rt(a),D(s)||(D(u)?(D(s.fns)&&(s=e[a]=it(s,o)),E(c.once)&&(s=e[a]=i(c.name,s,c.capture)),n(c.name,s,c.capture,c.passive,c.params)):s!==u&&(u.fns=s,e[a]=u));for(a in t)D(e[a])&&r((c=rt(a)).name,t[a],c.capture)}function at(e,t,n){var r;e instanceof he&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),l(r.fns,o)}D(i)?r=it([o]):P(i.fns)&&E(i.merged)?(r=i).fns.push(o):r=it([i,o]),r.merged=!0,e[t]=r}function st(e,t,n,r,i){if(P(t)){if(f(t,n))return e[n]=t[n],i||delete t[n],!0;if(f(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ut(e){return O(e)?[ge(e)]:Array.isArray(e)?function e(t,n){var r=[];var i,o,a,s;for(i=0;i<t.length;i++)D(o=t[i])||"boolean"==typeof o||(a=r.length-1,s=r[a],Array.isArray(o)?0<o.length&&(ct((o=e(o,(n||"")+"_"+i))[0])&&ct(s)&&(r[a]=ge(s.text+o[0].text),o.shift()),r.push.apply(r,o)):O(o)?ct(s)?r[a]=ge(s.text+o):""!==o&&r.push(ge(o)):ct(o)&&ct(s)?r[a]=ge(s.text+o.text):(E(t._isVList)&&P(o.tag)&&D(o.key)&&P(n)&&(o.key="__vlist"+n+"_"+i+"__"),r.push(o)));return r}(e):void 0}function ct(e){return P(e)&&P(e.text)&&!1===e.isComment}function lt(e,t){if(e){for(var n=Object.create(null),r=se?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&f(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var u=e[o].default;n[o]="function"==typeof u?u.call(t):u}else 0}}return n}}function ft(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var c in n)n[c].every(dt)&&delete n[c];return n}function dt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function pt(e,t){var n;if(e){if(e._normalized)return e;for(var r in n={},e)e[r]&&"$"!==r[0]&&(n[r]=ht(e[r]))}else n={};for(var i in t)i in n||(n[i]=vt(t,i));return W(n,"_normalized",!0),W(n,"$stable",!e||!!e.$stable),n}function ht(n){return function(e){var t=n(e);return t&&"object"==typeof t&&!Array.isArray(t)?[t]:ut(t)}}function vt(e,t){return function(){return e[t]}}function mt(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(j(e))if(se&&e[Symbol.iterator]){n=[];for(var s=e[Symbol.iterator](),u=s.next();!u.done;)n.push(t(u.value,n.length)),u=s.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return P(n)||(n=[]),n._isVList=!0,n}function gt(e,t,n,r){var i,o=this.$scopedSlots[e];i=o?(n=n||{},r&&(n=C(C({},r),n)),o(n)||t):this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function yt(e){return Pe(this.$options,"filters",e)||x}function bt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function _t(e,t,n,r,i){var o=N.keyCodes[t]||n;return i&&r&&!N.keyCodes[t]?bt(i,r):o?bt(o,e):r?b(r)!==t:void 0}function wt(r,i,o,a,s){if(o)if(j(o)){var u;Array.isArray(o)&&(o=T(o));var e=function(t){if("class"===t||"style"===t||c(t))u=r;else{var e=r.attrs&&r.attrs.type;u=a||N.mustUseProp(i,e,t)?r.domProps||(r.domProps={}):r.attrs||(r.attrs={})}var n=h(t);t in u||n in u||(u[t]=o[t],s&&((r.on||(r.on={}))["update:"+n]=function(e){o[t]=e}))};for(var t in o)e(t)}else;return r}function Ct(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||kt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function Tt(e,t,n){return kt(e,"__once__"+t+(n?"_"+n:""),!0),e}function kt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&At(e[r],t+"_"+r,n);else At(e,t,n)}function At(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function xt(e,t){if(t)if(u(t)){var n=e.on=e.on?C({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function St(e,t,n){n=n||{$stable:!t};for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?St(i,t,n):i&&(n[i.key]=i.fn)}return n}function Et(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Ot(e,t){return"string"==typeof e?t+e:e}function $t(e){e._o=Tt,e._n=R,e._s=o,e._l=mt,e._t=gt,e._q=S,e._i=$,e._m=Ct,e._f=yt,e._k=_t,e._b=wt,e._v=ge,e._e=me,e._u=St,e._g=xt,e._d=Et,e._p=Ot}function It(e,t,n,o,r){var a,s=r.options;f(o,"_uid")?(a=Object.create(o))._original=o:o=(a=o)._original;var i=E(s._compiled),u=!i;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||g,this.injections=lt(s.inject,o),this.slots=function(){return ft(n,o)},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pt(e.scopedSlots,this.slots())}}),i&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=pt(e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,r){var i=Ht(a,e,t,n,r,u);return i&&!Array.isArray(i)&&(i.fnScopeId=s._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return Ht(a,e,t,n,r,u)}}function Mt(e,t,n,r,i){var o=ye(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Lt(e,t){for(var n in t)e[h(n)]=t[n]}$t(It.prototype);var Nt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Nt.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;P(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Qt)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){0;var o=!!(r.data.scopedSlots&&!r.data.scopedSlots.$stable||e.$scopedSlots!==g&&!e.$scopedSlots.$stable),a=!!(i||e.$options._renderChildren||o);e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r);if(e.$options._renderChildren=i,e.$attrs=r.data.attrs||g,e.$listeners=n||g,t&&e.$options.props){Te(!1);for(var s=e._props,u=e.$options._propKeys||[],c=0;c<u.length;c++){var l=u[c],f=e.$options.props;s[l]=je(l,f,t,e)}Te(!0),e.$options.propsData=t}n=n||g;var d=e.$options._parentListeners;e.$options._parentListeners=n,Yt(e,n,d),a&&(e.$slots=ft(i,r.context),e.$forceUpdate());0}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,en(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,nn.push(t)):Zt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Gt(t)))return;if(!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);en(t,"deactivated")}}(t,!0):t.$destroy())}},Dt=Object.keys(Nt);function Pt(e,t,n,r,i){if(!D(e)){var o=n.$options._base;if(j(e)&&(e=o.extend(e)),"function"==typeof e){var a,s,u,c,l,f,d;if(D(e.cid)&&void 0===(e=function(t,n){if(E(t.error)&&P(t.errorComp))return t.errorComp;if(P(t.resolved))return t.resolved;if(E(t.loading)&&P(t.loadingComp))return t.loadingComp;var e=Bt;{if(!P(t.owners)){var r=t.owners=[e],i=!0,o=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0)},a=F(function(e){t.resolved=Ut(e,n),i?r.length=0:o(!0)}),s=F(function(e){P(t.errorComp)&&(t.error=!0,o(!0))}),u=t(a,s);return j(u)&&(y(u)?D(t.resolved)&&u.then(a,s):y(u.component)&&(u.component.then(a,s),P(u.error)&&(t.errorComp=Ut(u.error,n)),P(u.loading)&&(t.loadingComp=Ut(u.loading,n),0===u.delay?t.loading=!0:setTimeout(function(){D(t.resolved)&&D(t.error)&&(t.loading=!0,o(!1))},u.delay||200)),P(u.timeout)&&setTimeout(function(){D(t.resolved)&&s(null)},u.timeout))),i=!1,t.loading?t.loadingComp:t.resolved}t.owners.push(e)}}(a=e,o)))return s=a,u=t,c=n,l=r,f=i,(d=me()).asyncFactory=s,d.asyncMeta={data:u,context:c,children:l,tag:f},d;t=t||{},On(e),P(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),o=i[r],a=t.model.callback;P(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(i[r]=[a].concat(o)):i[r]=a}(e.options,t);var p=function(e,t,n){var r=t.options.props;if(!D(r)){var i={},o=e.attrs,a=e.props;if(P(o)||P(a))for(var s in r){var u=b(s);st(i,a,s,u,!0)||st(i,o,s,u,!1)}return i}}(t,e);if(E(e.options.functional))return function(e,t,n,r,i){var o=e.options,a={},s=o.props;if(P(s))for(var u in s)a[u]=je(u,s,t||g);else P(n.attrs)&&Lt(a,n.attrs),P(n.props)&&Lt(a,n.props);var c=new It(n,a,i,r,e),l=o.render.call(null,c._c,c);if(l instanceof he)return Mt(l,n,c.parent,o);if(Array.isArray(l)){for(var f=ut(l)||[],d=new Array(f.length),p=0;p<f.length;p++)d[p]=Mt(f[p],n,c.parent,o);return d}}(e,p,t,n,r);var h=t.on;if(t.on=t.nativeOn,E(e.options.abstract)){var v=t.slot;t={},v&&(t.slot=v)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Dt.length;n++){var r=Dt[n],i=t[r],o=Nt[r];i===o||i&&i._merged||(t[r]=i?jt(o,i):o)}}(t);var m=e.options.name||i;return new he("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:h,tag:i,children:r},a)}}}function jt(n,r){var e=function(e,t){n(e,t),r(e,t)};return e._merged=!0,e}var Rt=1,Ft=2;function Ht(e,t,n,r,i,o){return(Array.isArray(n)||O(n))&&(i=r,r=n,n=void 0),E(o)&&(i=Ft),function(e,t,n,r,i){if(P(n)&&P(n.__ob__))return me();P(n)&&P(n.is)&&(t=n.is);if(!t)return me();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);i===Ft?r=ut(r):i===Rt&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var o,a;if("string"==typeof t){var s;a=e.$vnode&&e.$vnode.ns||N.getTagNamespace(t),o=N.isReservedTag(t)?new he(N.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!P(s=Pe(e.$options,"components",t))?new he(t,n,r,void 0,void 0,e):Pt(s,n,e,r,t)}else o=Pt(t,n,e,r);return Array.isArray(o)?o:P(o)?(P(a)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(r=!(n=void 0));if(P(t.children))for(var i=0,o=t.children.length;i<o;i++){var a=t.children[i];P(a.tag)&&(D(a.ns)||E(r)&&"svg"!==a.tag)&&e(a,n,r)}}(o,a),P(n)&&function(e){j(e.style)&&nt(e.style);j(e.class)&&nt(e.class)}(n),o):me()}(e,t,n,r,i)}var Wt,Bt=null;function Ut(e,t){return(e.__esModule||se&&"Module"===e[Symbol.toStringTag])&&(e=e.default),j(e)?t.extend(e):e}function zt(e){return e.isComment&&e.asyncFactory}function Vt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(P(n)&&(P(n.componentOptions)||zt(n)))return n}}function Kt(e,t){Wt.$on(e,t)}function qt(e,t){Wt.$off(e,t)}function Xt(t,n){var r=Wt;return function e(){null!==n.apply(null,arguments)&&r.$off(t,e)}}function Yt(e,t,n){ot(t,n||{},Kt,qt,Xt,Wt=e),Wt=void 0}var Qt=null;function Jt(e){var t=Qt;return Qt=e,function(){Qt=t}}function Gt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Zt(e,t){if(t){if(e._directInactive=!1,Gt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Zt(e.$children[n]);en(e,"activated")}}function en(e,t){de();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Be(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),pe()}var tn=[],nn=[],rn={},on=!1,an=!1,sn=0;var un=0,cn=Date.now;function ln(){var e,t;for(un=cn(),an=!0,tn.sort(function(e,t){return e.id-t.id}),sn=0;sn<tn.length;sn++)(e=tn[sn]).before&&e.before(),t=e.id,rn[t]=null,e.run();var n=nn.slice(),r=tn.slice();sn=tn.length=nn.length=0,on=an=!(rn={}),function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Zt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&en(r,"updated")}}(r),ie&&N.devtools&&ie.emit("flush")}V&&cn()>document.createEvent("Event").timeStamp&&(cn=function(){return performance.now()});var fn=0,dn=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++fn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ae,this.newDepIds=new ae,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!B.test(e)){var n=e.split(".");return function(e){for(var t=0;t<n.length;t++){if(!e)return;e=e[n[t]]}return e}}}(t),this.getter||(this.getter=k)),this.value=this.lazy?void 0:this.get()};dn.prototype.get=function(){var e;de(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;We(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&nt(e),pe(),this.cleanupDeps()}return e},dn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},dn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.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},dn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==rn[t]){if(rn[t]=!0,an){for(var n=tn.length-1;sn<n&&tn[n].id>e.id;)n--;tn.splice(n+1,0,e)}else tn.push(e);on||(on=!0,et(ln))}}(this)},dn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||j(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){We(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||l(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:k,set:k};function hn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var i=n.$options.propsData||{},o=n._props={},a=n.$options._propKeys=[];n.$parent&&Te(!1);var e=function(e){a.push(e);var t=je(e,r,i,n);xe(o,e,t),e in n||hn(n,"_props",e)};for(var t in r)e(t);Te(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?k:_(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return We(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&f(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&hn(e,"_data",o))}var a;Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=re();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new dn(e,a||k,k,mn)),i in e||gn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)_n(e,n,r[i]);else _n(e,n,r)}}(e,t.watch)}var mn={lazy:!0};function gn(e,t,n){var r=!re();pn.set="function"==typeof n?(pn.get=r?yn(t):bn(n),k):(pn.get=n.get?r&&!1!==n.cache?yn(t):bn(n.get):k,n.set||k),Object.defineProperty(e,t,pn)}function yn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),le.target&&e.depend(),e.value}}function bn(e){return function(){return e.call(this,this)}}function _n(e,t,n,r){return u(n)&&(n=(r=n).handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var wn,Cn,Tn,kn,An,xn,Sn,En=0;function On(e){var t=e.options;if(e.super){var n=On(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&C(e.extendOptions,r),(t=e.options=De(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function $n(e){this._init(e)}function In(e){e.cid=0;var a=1;e.extend=function(e){e=e||{};var t=this,n=t.cid,r=e._Ctor||(e._Ctor={});if(r[n])return r[n];var i=e.name||t.options.name;var o=function(e){this._init(e)};return((o.prototype=Object.create(t.prototype)).constructor=o).cid=a++,o.options=De(t.options,e),o.super=t,o.options.props&&function(e){var t=e.options.props;for(var n in t)hn(e.prototype,"_props",n)}(o),o.options.computed&&function(e){var t=e.options.computed;for(var n in t)gn(e.prototype,n,t[n])}(o),o.extend=t.extend,o.mixin=t.mixin,o.use=t.use,M.forEach(function(e){o[e]=t[e]}),i&&(o.options.components[i]=o),o.superOptions=t.options,o.extendOptions=e,o.sealedOptions=C({},o.options),r[n]=o}}function Mn(e){return e&&(e.Ctor.options.name||e.tag)}function Ln(e,t){return Array.isArray(e)?-1<e.indexOf(t):"string"==typeof e?-1<e.split(",").indexOf(t):!!r(e)&&e.test(t)}function Nn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Mn(a.componentOptions);s&&!t(s)&&Dn(n,o,r,i)}}}function Dn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,l(n,t)}$n.prototype._init=function(e){var t,n,r,i,o=this;o._uid=En++,o._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent;var i=(n._parentVnode=r).componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,e):o.$options=De(On(o.constructor),e||{},o),function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}((o._renderProxy=o)._self=o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yt(e,t)}(o),function(i){i._vnode=null,i._staticTrees=null;var e=i.$options,t=i.$vnode=e._parentVnode,n=t&&t.context;i.$slots=ft(e._renderChildren,n),i.$scopedSlots=g,i._c=function(e,t,n,r){return Ht(i,e,t,n,r,!1)},i.$createElement=function(e,t,n,r){return Ht(i,e,t,n,r,!0)};var r=t&&t.data;xe(i,"$attrs",r&&r.attrs||g,null,!0),xe(i,"$listeners",e._parentListeners||g,null,!0)}(o),en(o,"beforeCreate"),(n=lt((t=o).$options.inject,t))&&(Te(!1),Object.keys(n).forEach(function(e){xe(t,e,n[e])}),Te(!0)),vn(o),(i=(r=o).$options.provide)&&(r._provided="function"==typeof i?i.call(r):i),en(o,"created"),o.$options.el&&o.$mount(o.$options.el)},wn=$n,Cn={get:function(){return this._data}},Tn={get:function(){return this._props}},Object.defineProperty(wn.prototype,"$data",Cn),Object.defineProperty(wn.prototype,"$props",Tn),wn.prototype.$set=Se,wn.prototype.$delete=Ee,wn.prototype.$watch=function(e,t,n){var r=this;if(u(t))return _n(r,e,t,n);(n=n||{}).user=!0;var i=new dn(r,e,t,n);if(n.immediate)try{t.call(r,i.value)}catch(e){We(e,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}},An=/^hook:/,(kn=$n).prototype.$on=function(e,t){var n=this;if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++)n.$on(e[r],t);else(n._events[e]||(n._events[e]=[])).push(t),An.test(e)&&(n._hasHookEvent=!0);return n},kn.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},kn.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},kn.prototype.$emit=function(e){var t=this._events[e];if(t){t=1<t.length?w(t):t;for(var n=w(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;i<o;i++)Be(t[i],this,n,this,r)}return this},(xn=$n).prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Jt(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},xn.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},xn.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){en(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||l(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),en(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}},$t((Sn=$n).prototype),Sn.prototype.$nextTick=function(e){return et(e,this)},Sn.prototype._render=function(){var t,n=this,e=n.$options,r=e.render,i=e._parentVnode;i&&(n.$scopedSlots=pt(i.data.scopedSlots,n.$slots)),n.$vnode=i;try{Bt=n,t=r.call(n._renderProxy,n.$createElement)}catch(e){We(e,n,"render"),t=n._vnode}finally{Bt=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof he||(t=me()),t.parent=i,t};var Pn,jn,Rn,Fn=[String,RegExp,Array],Hn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Fn,exclude:Fn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Nn(e,function(e){return Ln(t,e)})}),this.$watch("exclude",function(t){Nn(e,function(e){return!Ln(t,e)})})},render:function(){var e=this.$slots.default,t=Vt(e),n=t&&t.componentOptions;if(n){var r=Mn(n),i=this.include,o=this.exclude;if(i&&(!r||!Ln(i,r))||o&&r&&Ln(o,r))return t;var a=this.cache,s=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[u]?(t.componentInstance=a[u].componentInstance,l(s,u),s.push(u)):(a[u]=t,s.push(u),this.max&&s.length>parseInt(this.max)&&Dn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Pn=$n,Rn={get:function(){return N}},Object.defineProperty(Pn,"config",Rn),Pn.util={warn:ue,extend:C,mergeOptions:De,defineReactive:xe},Pn.set=Se,Pn.delete=Ee,Pn.nextTick=et,Pn.observable=function(e){return Ae(e),e},Pn.options=Object.create(null),M.forEach(function(e){Pn.options[e+"s"]=Object.create(null)}),C((Pn.options._base=Pn).options.components,Hn),Pn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1<t.indexOf(e))return this;var n=w(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this},Pn.mixin=function(e){return this.options=De(this.options,e),this},In(Pn),jn=Pn,M.forEach(function(n){jn[n]=function(e,t){return t?("component"===n&&u(t)&&(t.name=t.name||e,t=this.options._base.extend(t)),"directive"===n&&"function"==typeof t&&(t={bind:t,update:t}),this.options[n+"s"][e]=t):this.options[n+"s"][e]}}),Object.defineProperty($n.prototype,"$isServer",{get:re}),Object.defineProperty($n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($n,"FunctionalRenderContext",{value:It}),$n.version="2.6.3";var Wn=s("style,class"),Bn=s("input,textarea,option,select,progress"),Un=s("contenteditable,draggable,spellcheck"),zn=s("events,caret,typing,plaintext-only"),Vn=function(e,t){return Qn(t)||"false"===t?"false":"contenteditable"===e&&zn(t)?t:"true"},Kn=s("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"),qn="http://www.w3.org/1999/xlink",Xn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Yn=function(e){return Xn(e)?e.slice(6,e.length):""},Qn=function(e){return null==e||!1===e};function Jn(e){for(var t=e.data,n=e,r=e;P(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Gn(r.data,t));for(;P(n=n.parent);)n&&n.data&&(t=Gn(t,n.data));return function(e,t){if(P(e)||P(t))return Zn(e,er(t));return""}(t.staticClass,t.class)}function Gn(e,t){return{staticClass:Zn(e.staticClass,t.staticClass),class:P(e.class)?[e.class,t.class]:t.class}}function Zn(e,t){return e?t?e+" "+t:e:t||""}function er(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)P(t=er(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):j(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var tr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},nr=s("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),rr=s("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ir=function(e){return nr(e)||rr(e)};var or=Object.create(null);var ar=s("text,number,password,search,email,tel,url");var sr=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(tr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ur={create:function(e,t){cr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(cr(e,!0),cr(t))},destroy:function(e){cr(e,!0)}};function cr(e,t){var n=e.data.ref;if(P(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?l(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var lr=new he("",{},[]),fr=["create","activate","update","remove","destroy"];function dr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&P(e.data)===P(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=P(n=e.data)&&P(n=n.attrs)&&n.type,i=P(n=t.data)&&P(n=n.attrs)&&n.type;return r===i||ar(r)&&ar(i)}(e,t)||E(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&D(t.asyncFactory.error))}function pr(e,t,n){var r,i,o={};for(r=t;r<=n;++r)P(i=e[r].key)&&(o[i]=r);return o}var hr={create:vr,update:vr,destroy:function(e){vr(e,lr)}};function vr(e,t){(e.data.directives||t.data.directives)&&function(t,n){var e,r,i,o=t===lr,a=n===lr,s=gr(t.data.directives,t.context),u=gr(n.data.directives,n.context),c=[],l=[];for(e in u)r=s[e],i=u[e],r?(i.oldValue=r.value,i.oldArg=r.arg,yr(i,"update",n,t),i.def&&i.def.componentUpdated&&l.push(i)):(yr(i,"bind",n,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var e=0;e<c.length;e++)yr(c[e],"inserted",n,t)};o?at(n,"insert",f):f()}l.length&&at(n,"postpatch",function(){for(var e=0;e<l.length;e++)yr(l[e],"componentUpdated",n,t)});if(!o)for(e in s)u[e]||yr(s[e],"unbind",t,t,a)}(e,t)}var mr=Object.create(null);function gr(e,t){var n,r,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=mr),(o[(i=r,i.rawName||i.name+"."+Object.keys(i.modifiers||{}).join("."))]=r).def=Pe(t.$options,"directives",r.name);return o}function yr(t,n,r,e,i){var o=t.def&&t.def[n];if(o)try{o(r.elm,t,r,e,i)}catch(e){We(e,r.context,"directive "+t.name+" "+n+" hook")}}var br=[ur,hr];function _r(e,t){var n=t.componentOptions;if(!(P(n)&&!1===n.Ctor.options.inheritAttrs||D(e.data.attrs)&&D(t.data.attrs))){var r,i,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in P(s.__ob__)&&(s=t.data.attrs=C({},s)),s)i=s[r],a[r]!==i&&wr(o,r,i);for(r in(Y||J)&&s.value!==a.value&&wr(o,"value",s.value),a)D(s[r])&&(Xn(r)?o.removeAttributeNS(qn,Yn(r)):Un(r)||o.removeAttribute(r))}}function wr(e,t,n){-1<e.tagName.indexOf("-")?Cr(e,t,n):Kn(t)?Qn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Un(t)?e.setAttribute(t,Vn(t,n)):Xn(t)?Qn(n)?e.removeAttributeNS(qn,Yn(t)):e.setAttributeNS(qn,t,n):Cr(e,t,n)}function Cr(t,e,n){if(Qn(n))t.removeAttribute(e);else{if(Y&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Tr={create:_r,update:_r};function kr(e,t){var n=t.elm,r=t.data,i=e.data;if(!(D(r.staticClass)&&D(r.class)&&(D(i)||D(i.staticClass)&&D(i.class)))){var o=Jn(t),a=n._transitionClasses;P(a)&&(o=Zn(o,er(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var Ar,xr={create:kr,update:kr},Sr="__r",Er="__c";function Or(t,n,r){var i=Ar;return function e(){null!==n.apply(null,arguments)&&Mr(t,e,r,i)}}var $r=Ke&&!(Z&&Number(Z[1])<=53);function Ir(e,t,n,r){if($r){var i=un,o=t;t=o._wrapper=function(e){if(e.timeStamp>=i||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ar.addEventListener(e,t,te?{capture:n,passive:r}:n)}function Mr(e,t,n,r){(r||Ar).removeEventListener(e,t._wrapper||t,n)}function Lr(e,t){if(!D(e.data.on)||!D(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ar=t.elm,function(e){if(P(e[Sr])){var t=Y?"change":"input";e[t]=[].concat(e[Sr],e[t]||[]),delete e[Sr]}P(e[Er])&&(e.change=[].concat(e[Er],e.change||[]),delete e[Er])}(n),ot(n,r,Ir,Mr,Or,t.context),Ar=void 0}}var Nr,Dr={create:Lr,update:Lr};function Pr(e,t){if(!D(e.data.domProps)||!D(t.data.domProps)){var n,r,i,o,a=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(n in P(u.__ob__)&&(u=t.data.domProps=C({},u)),s)D(u[n])&&(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n||r!==s[n])if("value"===n){var c=D(a._value=r)?"":String(r);o=c,(i=a).composing||"OPTION"!==i.tagName&&!function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(i,o)&&!function(e,t){var n=e.value,r=e._vModifiers;if(P(r)){if(r.number)return R(n)!==R(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(i,o)||(a.value=c)}else if("innerHTML"===n&&rr(a.tagName)&&D(a.innerHTML)){(Nr=Nr||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=Nr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[n]=r}}}var jr={create:Pr,update:Pr},Rr=d(function(e){var n={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var t=e.split(r);1<t.length&&(n[t[0].trim()]=t[1].trim())}}),n});function Fr(e){var t=Hr(e.style);return e.staticStyle?C(e.staticStyle,t):t}function Hr(e){return Array.isArray(e)?T(e):"string"==typeof e?Rr(e):e}var Wr,Br=/^--/,Ur=/\s*!important$/,zr=function(e,t,n){if(Br.test(t))e.style.setProperty(t,n);else if(Ur.test(n))e.style.setProperty(b(t),n.replace(Ur,""),"important");else{var r=Kr(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Vr=["Webkit","Moz","ms"],Kr=d(function(e){if(Wr=Wr||document.createElement("div").style,"filter"!==(e=h(e))&&e in Wr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Vr.length;n++){var r=Vr[n]+t;if(r in Wr)return r}});function qr(e,t){var n=t.data,r=e.data;if(!(D(n.staticStyle)&&D(n.style)&&D(r.staticStyle)&&D(r.style))){var i,o,a=t.elm,s=r.staticStyle,u=r.normalizedStyle||r.style||{},c=s||u,l=Hr(t.data.style)||{};t.data.normalizedStyle=P(l.__ob__)?C({},l):l;var f=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Fr(i.data))&&C(r,n);(n=Fr(e.data))&&C(r,n);for(var o=e;o=o.parent;)o.data&&(n=Fr(o.data))&&C(r,n);return r}(t,!0);for(o in c)D(f[o])&&zr(a,o,"");for(o in f)(i=f[o])!==c[o]&&zr(a,o,null==i?"":i)}}var Xr={create:qr,update:qr},Yr=/\s+/;function Qr(t,e){if(e&&(e=e.trim()))if(t.classList)-1<e.indexOf(" ")?e.split(Yr).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 Jr(t,e){if(e&&(e=e.trim()))if(t.classList)-1<e.indexOf(" ")?e.split(Yr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";0<=n.indexOf(r);)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Gr(e){if(e){if("object"!=typeof e)return"string"==typeof e?Zr(e):void 0;var t={};return!1!==e.css&&C(t,Zr(e.name||"v")),C(t,e),t}}var Zr=d(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ei=V&&!Q,ti="transition",ni="animation",ri="transition",ii="transitionend",oi="animation",ai="animationend";ei&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ri="WebkitTransition",ii="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oi="WebkitAnimation",ai="webkitAnimationEnd"));var si=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ui(e){si(function(){si(e)})}function ci(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Qr(e,t))}function li(e,t){e._transitionClasses&&l(e._transitionClasses,t),Jr(e,t)}function fi(t,e,n){var r=pi(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ti?ii:ai,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u<a&&c()},o+1),t.addEventListener(s,l)}var di=/\b(transform|all)(,|$)/;function pi(e,t){var n,r=window.getComputedStyle(e),i=(r[ri+"Delay"]||"").split(", "),o=(r[ri+"Duration"]||"").split(", "),a=hi(i,o),s=(r[oi+"Delay"]||"").split(", "),u=(r[oi+"Duration"]||"").split(", "),c=hi(s,u),l=0,f=0;return t===ti?0<a&&(n=ti,l=a,f=o.length):t===ni?0<c&&(n=ni,l=c,f=u.length):f=(n=0<(l=Math.max(a,c))?c<a?ti:ni:null)?n===ti?o.length:u.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ti&&di.test(r[ri+"Property"])}}function hi(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max.apply(null,e.map(function(e,t){return vi(e)+vi(n[t])}))}function vi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function mi(n,e){var r=n.elm;P(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var t=Gr(n.data.transition);if(!D(t)&&!P(r._enterCb)&&1===r.nodeType){for(var i=t.css,o=t.type,a=t.enterClass,s=t.enterToClass,u=t.enterActiveClass,c=t.appearClass,l=t.appearToClass,f=t.appearActiveClass,d=t.beforeEnter,p=t.enter,h=t.afterEnter,v=t.enterCancelled,m=t.beforeAppear,g=t.appear,y=t.afterAppear,b=t.appearCancelled,_=t.duration,w=Qt,C=Qt.$vnode;C&&C.parent;)w=(C=C.parent).context;var T=!w._isMounted||!n.isRootInsert;if(!T||g||""===g){var k=T&&c?c:a,A=T&&f?f:u,x=T&&l?l:s,S=T&&m||d,E=T&&"function"==typeof g?g:p,O=T&&y||h,$=T&&b||v,I=R(j(_)?_.enter:_);0;var M=!1!==i&&!Q,L=bi(E),N=r._enterCb=F(function(){M&&(li(r,x),li(r,A)),N.cancelled?(M&&li(r,k),$&&$(r)):O&&O(r),r._enterCb=null});n.data.show||at(n,"insert",function(){var e=r.parentNode,t=e&&e._pending&&e._pending[n.key];t&&t.tag===n.tag&&t.elm._leaveCb&&t.elm._leaveCb(),E&&E(r,N)}),S&&S(r),M&&(ci(r,k),ci(r,A),ui(function(){li(r,k),N.cancelled||(ci(r,x),L||(yi(I)?setTimeout(N,I):fi(r,o,N)))})),n.data.show&&(e&&e(),E&&E(r,N)),M||L||N()}}}function gi(e,t){var n=e.elm;P(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Gr(e.data.transition);if(D(r)||1!==n.nodeType)return t();if(!P(n._leaveCb)){var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,u=r.leaveActiveClass,c=r.beforeLeave,l=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,h=r.duration,v=!1!==i&&!Q,m=bi(l),g=R(j(h)?h.leave:h);0;var y=n._leaveCb=F(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),v&&(li(n,s),li(n,u)),y.cancelled?(v&&li(n,a),d&&d(n)):(t(),f&&f(n)),n._leaveCb=null});p?p(b):b()}function b(){y.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),v&&(ci(n,a),ci(n,u),ui(function(){li(n,a),y.cancelled||(ci(n,s),m||(yi(g)?setTimeout(y,g):fi(n,o,y)))})),l&&l(n,y),v||m||y())}}function yi(e){return"number"==typeof e&&!isNaN(e)}function bi(e){if(D(e))return!1;var t=e.fns;return P(t)?bi(Array.isArray(t)?t[0]:t):1<(e._length||e.length)}function _i(e,t){!0!==t.data.show&&mi(t)}var wi=function(e){var r,t,m={},n=e.modules,g=e.nodeOps;for(r=0;r<fr.length;++r)for(m[fr[r]]=[],t=0;t<n.length;++t)P(n[t][fr[r]])&&m[fr[r]].push(n[t][fr[r]]);function o(e){var t=g.parentNode(e);P(t)&&g.removeChild(t,e)}function y(e,t,n,r,i,o,a){if(P(e.elm)&&P(o)&&(e=o[a]=ye(e)),e.isRootInsert=!i,!function(e,t,n,r){var i=e.data;if(P(i)){var o=P(e.componentInstance)&&i.keepAlive;if(P(i=i.hook)&&P(i=i.init)&&i(e,!1),P(e.componentInstance))return p(e,t),l(n,e.elm,r),E(o)&&function(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,P(i=o.data)&&P(i=i.transition)){for(i=0;i<m.activate.length;++i)m.activate[i](lr,o);t.push(o);break}l(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var s=e.data,u=e.children,c=e.tag;P(c)?(e.elm=e.ns?g.createElementNS(e.ns,c):g.createElement(c,e),f(e),h(e,u,t),P(s)&&v(e,t)):E(e.isComment)?e.elm=g.createComment(e.text):e.elm=g.createTextNode(e.text),l(n,e.elm,r)}}function p(e,t){P(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(v(e,t),f(e)):(cr(e),t.push(e))}function l(e,t,n){P(e)&&(P(n)?g.parentNode(n)===e&&g.insertBefore(e,t,n):g.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)y(t[r],n,e.elm,null,!0,t,r);else O(e.text)&&g.appendChild(e.elm,g.createTextNode(String(e.text)))}function b(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return P(e.tag)}function v(e,t){for(var n=0;n<m.create.length;++n)m.create[n](lr,e);P(r=e.data.hook)&&(P(r.create)&&r.create(lr,e),P(r.insert)&&t.push(e))}function f(e){var t;if(P(t=e.fnScopeId))g.setStyleScope(e.elm,t);else for(var n=e;n;)P(t=n.context)&&P(t=t.$options._scopeId)&&g.setStyleScope(e.elm,t),n=n.parent;P(t=Qt)&&t!==e.context&&t!==e.fnContext&&P(t=t.$options._scopeId)&&g.setStyleScope(e.elm,t)}function _(e,t,n,r,i,o){for(;r<=i;++r)y(n[r],o,e,t,!1,n,r)}function w(e){var t,n,r=e.data;if(P(r))for(P(t=r.hook)&&P(t=t.destroy)&&t(e),t=0;t<m.destroy.length;++t)m.destroy[t](e);if(P(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function C(e,t,n,r){for(;n<=r;++n){var i=t[n];P(i)&&(P(i.tag)?(a(i),w(i)):o(i.elm))}}function a(e,t){if(P(t)||P(e.data)){var n,r=m.remove.length+1;for(P(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&o(e)}return n.listeners=t,n}(e.elm,r),P(n=e.componentInstance)&&P(n=n._vnode)&&P(n.data)&&a(n,t),n=0;n<m.remove.length;++n)m.remove[n](e,t);P(n=e.data.hook)&&P(n=n.remove)?n(e,t):t()}else o(e.elm)}function T(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(P(o)&&dr(e,o))return i}}function k(e,t,n,r,i,o){if(e!==t){P(t.elm)&&P(r)&&(t=r[i]=ye(t));var a=t.elm=e.elm;if(E(e.isAsyncPlaceholder))P(t.asyncFactory.resolved)?S(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(E(t.isStatic)&&E(e.isStatic)&&t.key===e.key&&(E(t.isCloned)||E(t.isOnce)))t.componentInstance=e.componentInstance;else{var s,u=t.data;P(u)&&P(s=u.hook)&&P(s=s.prepatch)&&s(e,t);var c=e.children,l=t.children;if(P(u)&&b(t)){for(s=0;s<m.update.length;++s)m.update[s](e,t);P(s=u.hook)&&P(s=s.update)&&s(e,t)}D(t.text)?P(c)&&P(l)?c!==l&&function(e,t,n,r,i){for(var o,a,s,u=0,c=0,l=t.length-1,f=t[0],d=t[l],p=n.length-1,h=n[0],v=n[p],m=!i;u<=l&&c<=p;)D(f)?f=t[++u]:D(d)?d=t[--l]:dr(f,h)?(k(f,h,r,n,c),f=t[++u],h=n[++c]):dr(d,v)?(k(d,v,r,n,p),d=t[--l],v=n[--p]):dr(f,v)?(k(f,v,r,n,p),m&&g.insertBefore(e,f.elm,g.nextSibling(d.elm)),f=t[++u],v=n[--p]):(dr(d,h)?(k(d,h,r,n,c),m&&g.insertBefore(e,d.elm,f.elm),d=t[--l]):(D(o)&&(o=pr(t,u,l)),D(a=P(h.key)?o[h.key]:T(h,t,u,l))?y(h,r,e,f.elm,!1,n,c):dr(s=t[a],h)?(k(s,h,r,n,c),t[a]=void 0,m&&g.insertBefore(e,s.elm,f.elm)):y(h,r,e,f.elm,!1,n,c)),h=n[++c]);l<u?_(e,D(n[p+1])?null:n[p+1].elm,n,c,p,r):p<c&&C(0,t,u,l)}(a,c,l,n,o):P(l)?(P(e.text)&&g.setTextContent(a,""),_(a,null,l,0,l.length-1,n)):P(c)?C(0,c,0,c.length-1):P(e.text)&&g.setTextContent(a,""):e.text!==t.text&&g.setTextContent(a,t.text),P(u)&&P(s=u.hook)&&P(s=s.postpatch)&&s(e,t)}}}function A(e,t,n){if(E(n)&&P(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var x=s("attrs,class,staticClass,staticStyle,key");function S(e,t,n,r){var i,o=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,E(t.isComment)&&P(t.asyncFactory))return t.isAsyncPlaceholder=!0;if(P(a)&&(P(i=a.hook)&&P(i=i.init)&&i(t,!0),P(i=t.componentInstance)))return p(t,n),!0;if(P(o)){if(P(s))if(e.hasChildNodes())if(P(i=a)&&P(i=i.domProps)&&P(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var u=!0,c=e.firstChild,l=0;l<s.length;l++){if(!c||!S(c,s[l],n,r)){u=!1;break}c=c.nextSibling}if(!u||c)return!1}else h(t,s,n);if(P(a)){var f=!1;for(var d in a)if(!x(d)){f=!0,v(t,n);break}!f&&a.class&&nt(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r){if(!D(t)){var i,o=!1,a=[];if(D(e))o=!0,y(t,a);else{var s=P(e.nodeType);if(!s&&dr(e,t))k(e,t,a,null,null,r);else{if(s){if(1===e.nodeType&&e.hasAttribute(I)&&(e.removeAttribute(I),n=!0),E(n)&&S(e,t,a))return A(t,a,!0),e;i=e,e=new he(g.tagName(i).toLowerCase(),{},[],void 0,i)}var u=e.elm,c=g.parentNode(u);if(y(t,a,u._leaveCb?null:c,g.nextSibling(u)),P(t.parent))for(var l=t.parent,f=b(t);l;){for(var d=0;d<m.destroy.length;++d)m.destroy[d](l);if(l.elm=t.elm,f){for(var p=0;p<m.create.length;++p)m.create[p](lr,l);var h=l.data.hook.insert;if(h.merged)for(var v=1;v<h.fns.length;v++)h.fns[v]()}else cr(l);l=l.parent}P(c)?C(0,[e],0,0):P(e.tag)&&w(e)}}return A(t,a,o),t.elm}P(e)&&w(e)}}({nodeOps:sr,modules:[Tr,xr,Dr,jr,Xr,V?{create:_i,activate:_i,remove:function(e,t){!0!==e.data.show?gi(e,t):t()}}:{}].concat(br)});Q&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Oi(e,"input")});var Ci={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?at(n,"postpatch",function(){Ci.componentUpdated(e,t,n)}):Ti(e,t,n.context),e._vOptions=[].map.call(e.options,xi)):("textarea"===n.tag||ar(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Si),e.addEventListener("compositionend",Ei),e.addEventListener("change",Ei),Q&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ti(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,xi);if(i.some(function(e,t){return!S(e,r[t])}))(e.multiple?t.value.some(function(e){return Ai(e,i)}):t.value!==t.oldValue&&Ai(t.value,i))&&Oi(e,"change")}}};function Ti(e,t,n){ki(e,t,n),(Y||J)&&setTimeout(function(){ki(e,t,n)},0)}function ki(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],i)o=-1<$(r,xi(a)),a.selected!==o&&(a.selected=o);else if(S(xi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ai(t,e){return e.every(function(e){return!S(e,t)})}function xi(e){return"_value"in e?e._value:e.value}function Si(e){e.target.composing=!0}function Ei(e){e.target.composing&&(e.target.composing=!1,Oi(e.target,"input"))}function Oi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function $i(e){return!e.componentInstance||e.data&&e.data.transition?e:$i(e.componentInstance._vnode)}var Ii={model:Ci,show:{bind:function(e,t,n){var r=t.value,i=(n=$i(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,mi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=$i(n)).data&&n.data.transition?(n.data.show=!0,r?mi(n,function(){e.style.display=e.__vOriginalDisplay}):gi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Mi={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(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Li(Vt(t.children)):e}function Ni(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[h(o)]=i[o];return t}function Di(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Pi=function(e){return e.tag||zt(e)},ji=function(e){return"show"===e.name},Ri={name:"transition",props:Mi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Pi)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Li(i);if(!o)return i;if(this._leaving)return Di(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:O(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s,u,c=(o.data||(o.data={})).transition=Ni(this),l=this._vnode,f=Li(l);if(o.data.directives&&o.data.directives.some(ji)&&(o.data.show=!0),f&&f.data&&(s=o,(u=f).key!==s.key||u.tag!==s.tag)&&!zt(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var d=f.data.transition=C({},c);if("out-in"===r)return this._leaving=!0,at(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Di(e,i);if("in-out"===r){if(zt(o))return l;var p,h=function(){p()};at(c,"afterEnter",h),at(c,"enterCancelled",h),at(d,"delayLeave",function(e){p=e})}}return i}}},Fi=C({tag:String,moveClass:String},Mi);function Hi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Wi(e){e.data.newPos=e.elm.getBoundingClientRect()}function Bi(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Fi.mode;var Ui={Transition:Ri,TransitionGroup:{props:Fi,beforeMount:function(){var r=this,i=this._update;this._update=function(e,t){var n=Jt(r);r.__patch__(r._vnode,r.kept,!1,!0),r._vnode=r.kept,n(),i.call(r,e,t)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ni(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),((n[u.key]=u).data||(u.data={})).transition=a;else;}if(r){for(var c=[],l=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):l.push(d)}this.kept=e(t,null,c),this.removed=l}return e(t,null,o)},updated:function(){var e=this.prevChildren,r=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,r)&&(e.forEach(Hi),e.forEach(Wi),e.forEach(Bi),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,t=n.style;ci(n,r),t.transform=t.WebkitTransform=t.transitionDuration="",n.addEventListener(ii,n._moveCb=function e(t){t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener(ii,e),n._moveCb=null,li(n,r))})}}))},methods:{hasMove:function(e,t){if(!ei)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Jr(n,e)}),Qr(n,t),n.style.display="none",this.$el.appendChild(n);var r=pi(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};$n.config.mustUseProp=function(e,t,n){return"value"===n&&Bn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},$n.config.isReservedTag=ir,$n.config.isReservedAttr=Wn,$n.config.getTagNamespace=function(e){return rr(e)?"svg":"math"===e?"math":void 0},$n.config.isUnknownElement=function(e){if(!V)return!0;if(ir(e))return!1;if(e=e.toLowerCase(),null!=or[e])return or[e];var t=document.createElement(e);return-1<e.indexOf("-")?or[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:or[e]=/HTMLUnknownElement/.test(t.toString())},C($n.options.directives,Ii),C($n.options.components,Ui),$n.prototype.__patch__=V?wi:k,$n.prototype.$mount=function(e,t){return e=e&&V?function(e){if("string"!=typeof e)return e;var t=document.querySelector(e);return t||document.createElement("div")}(e):void 0,r=e,i=t,(n=this).$el=r,n.$options.render||(n.$options.render=me),en(n,"beforeMount"),new dn(n,function(){n._update(n._render(),i)},k,{before:function(){n._isMounted&&!n._isDestroyed&&en(n,"beforeUpdate")}},!0),i=!1,null==n.$vnode&&(n._isMounted=!0,en(n,"mounted")),n;var n,r,i},V&&setTimeout(function(){N.devtools&&ie&&ie.emit("init",$n)},0),zi.a=$n}).call(this,t(2),t(7).setImmediate)},,,function(e,i,o){(function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}i.setTimeout=function(){return new r(n.call(setTimeout,t,arguments),clearTimeout)},i.setInterval=function(){return new r(n.call(setInterval,t,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(t,this._id)},i.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},i.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},i._unrefActive=i.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},o(8),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,o(2))},function(e,t,n){(function(e,h){!function(n,r){"use strict";if(!n.setImmediate){var i,o,t,a,e,s=1,u={},c=!1,l=n.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(n);f=f&&f.setTimeout?f:n,i="[object process]"==={}.toString.call(n.process)?function(e){h.nextTick(function(){p(e)})}:function(){if(n.postMessage&&!n.importScripts){var e=!0,t=n.onmessage;return n.onmessage=function(){e=!1},n.postMessage("","*"),n.onmessage=t,e}}()?(a="setImmediate$"+Math.random()+"$",e=function(e){e.source===n&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},n.addEventListener?n.addEventListener("message",e,!1):n.attachEvent("onmessage",e),function(e){n.postMessage(a+e,"*")}):n.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){t.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(o=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):function(e){setTimeout(p,0,e)},f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[s]=r,i(s),s++},f.clearImmediate=d}function d(e){delete u[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n)}}(t)}finally{d(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(2),n(9))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}]]);
//# sourceMappingURL=vendors~main.e75cdecb.js.map