text: /*!
   * vue-number-input v0.5.2
   * https://fengyuanchen.github.io/vue-number-input
   *
   * Copyright 2018-present Chen Fengyuan
   * Released under the MIT license
   *
   * Date: 2018-08-05T04:49:16.090Z
   */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.VueNumberInput=t()}(this,function(){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n=Number.isNaN||window.isNaN,r=/^-?(?:\d+|\d+\.\d+|\.\d+)(?:[eE][-+]?\d+)?$/,i=function(e){return parseFloat(e.toFixed(10))};return function(e,t,n,r,i,a,u,d){var o=("function"==typeof n?n.options:n)||{};o.__file="index.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;var s=void 0;if(t&&(s=function(e){t.call(this,u(e))}),void 0!==s)if(o.functional){var l=o.render;o.render=function(e,t){return s.call(t),l(e,t)}}else{var c=o.beforeCreate;o.beforeCreate=c?[].concat(c,s):[s]}return o}({render:function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",t._g({staticClass:"number-input",class:(e={"number-input--inline":t.inline,"number-input--center":t.center,"number-input--controls":t.controls},e["number-input--"+t.size]=t.size,e)},t.listeners),[t.controls?r("button",{staticClass:"number-input__button number-input__button--minus",attrs:{type:"button",disabled:t.disabled||t.readonly||!t.decreasable},on:{click:t.decrease}}):t._e(),t._v(" "),r("input",{ref:"input",staticClass:"number-input__input",attrs:{type:"number",name:t.name,min:t.min,max:t.max,step:t.step,readonly:t.readonly||!t.inputtable,disabled:t.disabled||!t.decreasable&&!t.increasable,placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t.currentValue},on:{change:t.change,paste:t.paste}}),t._v(" "),t.controls?r("button",{staticClass:"number-input__button number-input__button--plus",attrs:{type:"button",disabled:t.disabled||t.readonly||!t.increasable},on:{click:t.increase}}):t._e()])},staticRenderFns:[]},function(e){e&&e("data-v-607416cd_0",{source:'\n.number-input[data-v-607416cd]{display:block;max-width:100%;overflow:hidden;position:relative\n}\n.number-input__button[data-v-607416cd]{background-color:transparent;border:0;border-radius:.25rem;bottom:.0625rem;position:absolute;top:.0625rem;width:2.5rem\n}\n.number-input__button[data-v-607416cd]:focus{outline:0\n}\n.number-input__button[data-v-607416cd]:hover::after,.number-input__button[data-v-607416cd]:hover::before{background-color:#0074d9\n}\n.number-input__button[data-v-607416cd]:disabled::after,.number-input__button[data-v-607416cd]:disabled::before{background-color:#ddd\n}\n.number-input__button[data-v-607416cd]::after,.number-input__button[data-v-607416cd]::before{background-color:#111;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:background-color .15s\n}\n.number-input__button[data-v-607416cd]::before{height:.0625rem;width:50%\n}\n.number-input__button[data-v-607416cd]::after{height:50%;width:.0625rem\n}\n.number-input__button--minus[data-v-607416cd]{border-right:.0625rem solid #ddd;border-bottom-right-radius:0;border-top-right-radius:0;left:.0625rem\n}\n.number-input__button--minus[data-v-607416cd]::after{visibility:hidden\n}\n.number-input__button--plus[data-v-607416cd]{border-left:.0625rem solid #ddd;border-bottom-left-radius:0;border-top-left-radius:0;right:.0625rem\n}\n.number-input__input[data-v-607416cd]{border-radius:.25rem;border:1px solid #ddd;display:block;font-size:1rem;line-height:1.5;max-width:100%;min-height:1.5rem;min-width:3rem;padding:.4375rem .875rem;transition:border-color .15s;width:100%\n}\n.number-input__input[data-v-607416cd]::-webkit-inner-spin-button,.number-input__input[data-v-607416cd]::-webkit-outer-spin-button{appearance:none\n}\n.number-input__input[data-v-607416cd]:focus{border-color:#0074d9;outline:0\n}\n.number-input__input[readonly][data-v-607416cd]{background-color:#f8f8f8\n}\n.number-input__input[data-v-607416cd]:disabled{background-color:#f8f8f8;opacity:.65\n}\n.number-input--inline[data-v-607416cd]{display:inline-block\n}\n.number-input--inline>input[data-v-607416cd]{display:inline-block;width:12.5rem\n}\n.number-input--center>input[data-v-607416cd]{text-align:center\n}\n.number-input--controls>input[data-v-607416cd]{padding-left:3.375rem;padding-right:3.375rem\n}\n.number-input--small>input[data-v-607416cd]{border-radius:.1875rem;font-size:.875rem;padding:.25rem .5rem\n}\n.number-input--small.number-input--inline>input[data-v-607416cd]{width:10rem\n}\n.number-input--small.number-input--controls>button[data-v-607416cd]{width:2rem\n}\n.number-input--small.number-input--controls>input[data-v-607416cd]{padding-left:2.5rem;padding-right:2.5rem\n}\n.number-input--large>input[data-v-607416cd]{border-radius:.3125rem;font-size:1.25rem;padding:.5rem 1rem\n}\n.number-input--large.number-input--inline>input[data-v-607416cd]{width:15rem\n}\n.number-input--large.number-input--controls>button[data-v-607416cd]{width:3rem\n}\n.number-input--large.number-input--controls>input[data-v-607416cd]{padding-left:4rem;padding-right:4rem\n}',map:void 0,media:void 0})},{name:"number-input",data:function(){return{currentValue:NaN}},model:{event:"change"},props:{center:Boolean,controls:Boolean,disabled:Boolean,inputtable:{type:Boolean,default:!0},inline:Boolean,max:{type:Number,default:1/0},min:{type:Number,default:-1/0},name:String,placeholder:String,readonly:Boolean,rounded:Boolean,size:String,step:{type:Number,default:1},value:Number},computed:{increasable:function(){var e=this.currentValue;return n(e)||e<this.max},decreasable:function(){var e=this.currentValue;return n(e)||e>this.min},listeners:function(){var e=t({},this.$listeners);return delete e.change,e}},methods:{change:function(e){this.setValue(Math.min(this.max,Math.max(this.min,e.target.value)))},paste:function(e){r.test(e.clipboardData.getData("text"))||e.preventDefault()},decrease:function(){if(this.decreasable){var e=this.currentValue;n(e)&&(e=0),this.setValue(Math.min(this.max,Math.max(this.min,i(e-this.step))))}},increase:function(){if(this.increasable){var e=this.currentValue;n(e)&&(e=0),this.setValue(Math.min(this.max,Math.max(this.min,i(e+this.step))))}},setValue:function(e){var t=this,n=this.currentValue,r=this.rounded?Math.round(e):e;this.min<=this.max&&(r=Math.min(this.max,Math.max(this.min,r))),this.currentValue=r,this.$emit("change",r,n),this.$nextTick(function(){t.$el&&(t.$refs.input.value=r)})}},watch:{value:function(e){this.setValue(e)}},created:function(){this.setValue(this.value)}},"data-v-607416cd",!1,0,function e(){var s=document.head||document.getElementsByTagName("head")[0],l=e.styles||(e.styles={}),c="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,t){if(!document.querySelector('style[data-vue-ssr-id~="'+e+'"]')){var n=c?t.media||"default":e,r=l[n]||(l[n]={ids:[],parts:[],element:void 0});if(!r.ids.includes(e)){var i=t.source,a=r.ids.length;if(r.ids.push(e),t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),c&&(r.element=r.element||document.querySelector("style[data-group="+n+"]")),!r.element){var u=r.element=document.createElement("style");u.type="text/css",t.media&&u.setAttribute("media",t.media),c&&(u.setAttribute("data-group",n),u.setAttribute("data-next-index","0")),s.appendChild(u)}if(c&&(a=parseInt(r.element.getAttribute("data-next-index")),r.element.setAttribute("data-next-index",a+1)),r.element.styleSheet)r.parts.push(i),r.element.styleSheet.cssText=r.parts.filter(Boolean).join("\n");else{var d=document.createTextNode(i),o=r.element.childNodes;o[a]&&r.element.removeChild(o[a]),o.length?r.element.insertBefore(d,o[a]):r.element.appendChild(d)}}}}})});