!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}({0:function(e,t,n){e.exports=n(18)},1:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=r(i);t.default={props:{mdTheme:String},data:function(){return{closestThemedParent:!1}},methods:{getClosestThemedParent:function(e){return!(!e||!e.$el||0===e._uid)&&(e.mdTheme||e.mdName?e:this.getClosestThemedParent(e.$parent))}},computed:{themeClass:function(){if(this.mdTheme)return"md-theme-"+this.mdTheme;var e=this.closestThemedParent.mdTheme;return e||(e=this.closestThemedParent.mdName),"md-theme-"+(e||o.default.material.currentTheme)}},mounted:function(){this.closestThemedParent=this.getClosestThemedParent(this.$parent),o.default.material.currentTheme||o.default.material.setCurrentTheme("default")}},e.exports=t.default},2:function(e,t,n){(function(t){/*! * Vue.js v2.1.6 * (c) 2014-2016 Evan You * Released under the MIT License. */ "use strict";function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e,10);return t||0===t?t:e}function i(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function a(e,t){return yn.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function l(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){return null!==e&&"object"==typeof e}function p(e){return Cn.call(e)===An}function h(e){for(var t={},n=0;nEn._maxUpdateCount)){Bn("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}}In&&En.devtools&&In.emit("flush"),W()}function K(e){var t=e.id;if(null==lr[t]){if(lr[t]=!0,fr){for(var n=ur.length-1;n>=0&&ur[n].id>e.id;)n--;ur.splice(Math.max(n,pr)+1,0,e)}else ur.push(e);dr||(dr=!0,Fn(Y))}}function J(e){mr.clear(),X(e,mr)}function X(e,t){var n,r,i=Array.isArray(e);if((i||f(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)X(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)X(e[r[n]],t)}}function G(e){e._watchers=[],Z(e),ne(e),Q(e),ee(e),re(e)}function Z(e){var t=e.$options.props;if(t){var n=e.$options.propsData||{},r=e.$options._propKeys=Object.keys(t),i=!e.$parent;Xn.shouldConvert=i;for(var o=function(i){var o=r[i];yr[o]&&Bn('"'+o+'" is a reserved attribute and cannot be used as component prop.',e),O(e,o,V(o,t,n,e),function(){e.$parent&&!Xn.isSettingProps&&Bn("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+o+'"',e)})},a=0;a1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i-1:e.test(t)}function Je(e){var t={};t.get=function(){return En},t.set=function(){Bn("Do not replace the Vue.config object, set individual fields instead.")},Object.defineProperty(e,"config",t),e.util=tr,e.set=T,e.delete=P,e.nextTick=Fn,e.options=Object.create(null),En._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,d(e.options.components,Er),ze(e),qe(e),We(e),Ye(e)}function Xe(e){for(var t=e.data,n=e,r=e;r.child;)r=r.child._vnode,r.data&&(t=Ge(r.data,t));for(;n=n.parent;)n.data&&(t=Ge(t,n.data));return Ze(t)}function Ge(e,t){return{staticClass:Qe(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function Ze(e){var t=e.class,n=e.staticClass;return n||t?Qe(n,et(t)):""}function Qe(e,t){return e?t?e+" "+t:e:t||""}function et(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Ur[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ur[e]=/HTMLUnknownElement/.test(t.toString())}function rt(e){if("string"==typeof e){var t=e;if(e=document.querySelector(e),!e)return Bn("Cannot find element: "+t),document.createElement("div")}return e}function it(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&n.setAttribute("multiple","multiple"),n)}function ot(e,t){return document.createElementNS(Ir[e],t)}function at(e){return document.createTextNode(e)}function st(e){return document.createComment(e)}function ut(e,t,n){e.insertBefore(t,n)}function lt(e,t){e.removeChild(t)}function ct(e,t){e.appendChild(t)}function dt(e){return e.parentNode}function ft(e){return e.nextSibling}function pt(e){return e.tagName}function ht(e,t){e.textContent=t}function vt(e,t,n){e.setAttribute(t,n)}function mt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.child||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function yt(e){return null==e}function gt(e){return null!=e}function _t(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function bt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,gt(i)&&(o[i]=r);return o}function wt(e){function t(e){return new _r(T.tagName(e).toLowerCase(),{},[],void 0,e)}function r(e,t){function n(){0===--n.listeners&&o(e)}return n.listeners=t,n}function o(e){var t=T.parentNode(e);t&&T.removeChild(t,e)}function a(e,t,n,r,i){if(e.isRootInsert=!i,!u(e,t,n,r)){var o=e.data,a=e.children,s=e.tag;gt(s)?(o&&o.pre&&P++,P||e.ns||En.ignoredElements&&En.ignoredElements.indexOf(s)>-1||!En.isUnknownElement(s)||Bn("Unknown custom element: <"+s+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?T.createElementNS(e.ns,s):T.createElement(s,e),v(e),d(e,a,t),gt(o)&&p(e,t),c(n,e.elm,r),o&&o.pre&&P--):e.isComment?(e.elm=T.createComment(e.text),c(n,e.elm,r)):(e.elm=T.createTextNode(e.text),c(n,e.elm,r))}}function u(e,t,n,r){var i=e.data;if(gt(i)){var o=gt(e.child)&&i.keepAlive;if(gt(i=i.hook)&>(i=i.init)&&i(e,!1,n,r),gt(e.child))return h(e,t),o&&l(e,t,n,r),!0}}function l(e,t,n,r){for(var i,o=e;o.child;)if(o=o.child._vnode,gt(i=o.data)&>(i=i.transition)){for(i=0;if?(l=yt(n[v+1])?null:n[v+1].elm,m(e,l,n,d,v,r)):d>v&&g(e,t,c,f)}function w(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&(t.isCloned||t.isOnce))return t.elm=e.elm,void(t.child=e.child);var i,o=t.data,a=gt(o);a&>(i=o.hook)&>(i=i.prepatch)&&i(e,t);var s=t.elm=e.elm,u=e.children,l=t.children;if(a&&f(t)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}e=t(e)}if(u=e.elm,l=T.parentNode(u),a(n,d,l,T.nextSibling(u)),n.parent){for(var h=n.parent;h;)h.elm=n.elm,h=h.parent;if(f(n))for(var v=0;v-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Vt(e,t){if(t&&t.trim())if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Bt(e){hi(function(){hi(e)})}function Ut(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ft(e,t)}function Ht(e,t){e._transitionClasses&&o(e._transitionClasses,t),Vt(e,t)}function zt(e,t,n){var r=qt(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ui?di:pi,u=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++u>=a&&l()};setTimeout(function(){u0&&(n=ui,c=a,d=o.length):t===li?l>0&&(n=li,c=l,d=u.length):(c=Math.max(a,l),n=c>0?a>l?ui:li:null,d=n?n===ui?o.length:u.length:0);var f=n===ui&&vi.test(r[ci+"Property"]);return{type:n,timeout:c,propCount:d,hasTransform:f}}function Wt(e,t){for(;e.length1,T=n._enterCb=Gt(function(){E&&Ht(n,x),T.cancelled?(E&&Ht(n,w),k&&k(n)):$&&$(n),n._enterCb=null});e.data.show||$e(e.data.hook||(e.data.hook={}),"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.context===e.context&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),A&&A(n,T)},"transition-insert"),C&&C(n),E&&(Ut(n,w),Ut(n,x),Bt(function(){Ht(n,w),T.cancelled||O||zt(n,o,T)})),e.data.show&&(t&&t(),A&&A(n,T)),E||O||T()}}}function Jt(e,t){function n(){m.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),l&&l(r),h&&(Ut(r,s),Ut(r,u),Bt(function(){Ht(r,s),m.cancelled||v||zt(r,a,m)})),c&&c(r,m),h||v||m())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Xt(e.data.transition);if(!i)return t();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,u=i.leaveActiveClass,l=i.beforeLeave,c=i.leave,d=i.afterLeave,f=i.leaveCancelled,p=i.delayLeave,h=o!==!1&&!jn,v=c&&(c._length||c.length)>1,m=r._leaveCb=Gt(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),h&&Ht(r,u),m.cancelled?(h&&Ht(r,s),f&&f(r)):(t(),d&&d(r)),r._leaveCb=null});p?p(n):n()}}function Xt(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&d(t,mi(e.name||"v")),d(t,e),t}return"string"==typeof e?mi(e):void 0}}function Gt(e){var t=!1;return function(){t||(t=!0,e())}}function Zt(e,t){t.data.show||Kt(t)}function Qt(e,t,n){var r=t.value,i=e.multiple;if(i&&!Array.isArray(r))return void Bn('