!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueMaterial=e():t.VueMaterial=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return t[o].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/",e(0)}([function(t,e,n){t.exports=n(252)},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),r=o(i);e.default={props:{mdTheme:String},data:function(){return{closestThemedParent:!1}},methods:{getClosestThemedParent:function(t){return!(!t||!t.$el||0===t._uid)&&(t.mdTheme||t.mdName?t:this.getClosestThemedParent(t.$parent))}},computed:{themeClass:function(){if(this.mdTheme)return"md-theme-"+this.mdTheme;var t=this.closestThemedParent.mdTheme;return t||(t=this.closestThemedParent.mdName),"md-theme-"+(t||r.default.material.currentTheme)}},mounted:function(){this.closestThemedParent=this.getClosestThemedParent(this.$parent),r.default.material.currentTheme||r.default.material.setCurrentTheme("default")}},t.exports=e.default},function(t,e,n){(function(e){/*! * Vue.js v2.1.6 * (c) 2014-2016 Evan You * Released under the MIT License. */ "use strict";function n(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function o(t){var e=parseFloat(t,10);return e||0===e?e:t}function i(t,e){for(var n=Object.create(null),o=t.split(","),i=0;i-1)return t.splice(n,1)}}function a(t,e){return bn.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function d(t){var e=Object.create(null);return function(n){var o=e[n];return o||(e[n]=t(n))}}function c(t,e){function n(n){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function l(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function u(t,e){for(var n in e)t[n]=e[n];return t}function f(t){return null!==t&&"object"==typeof t}function m(t){return An.call(t)===xn}function p(t){for(var e={},n=0;nOn._maxUpdateCount)){Bn("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}}Fn&&On.devtools&&Fn.emit("flush"),Y()}function G(t){var e=t.id;if(null==lo[e]){if(lo[e]=!0,mo){for(var n=co.length-1;n>=0&&co[n].id>t.id;)n--;co.splice(Math.max(n,po)+1,0,t)}else co.push(t);fo||(fo=!0,Dn(q))}}function K(t){bo.clear(),X(t,bo)}function X(t,e){var n,o,i=Array.isArray(t);if((i||f(t))&&Object.isExtensible(t)){if(t.__ob__){var r=t.__ob__.dep.id;if(e.has(r))return;e.add(r)}if(i)for(n=t.length;n--;)X(t[n],e);else for(o=Object.keys(t),n=o.length;n--;)X(t[o[n]],e)}}function J(t){t._watchers=[],Z(t),nt(t),Q(t),tt(t),ot(t)}function Z(t){var e=t.$options.props;if(e){var n=t.$options.propsData||{},o=t.$options._propKeys=Object.keys(e),i=!t.$parent;Xn.shouldConvert=i;for(var r=function(i){var r=o[i];go[r]&&Bn('"'+r+'" is a reserved attribute and cannot be used as component prop.',t),R(t,r,I(r,e,n,t),function(){t.$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: \""+r+'"',t)})},a=0;a1?l(n):n;for(var o=l(arguments,1),i=0,r=n.length;i-1:t.test(e)}function Kt(t){var e={};e.get=function(){return On},e.set=function(){Bn("Do not replace the Vue.config object, set individual fields instead.")},Object.defineProperty(t,"config",e),t.util=eo,t.set=N,t.delete=w,t.nextTick=Dn,t.options=Object.create(null),On._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,u(t.options.components,Ro),Wt(t),Vt(t),Yt(t),qt(t)}function Xt(t){for(var e=t.data,n=t,o=t;o.child;)o=o.child._vnode,o.data&&(e=Jt(o.data,e));for(;n=n.parent;)n.data&&(e=Jt(e,n.data));return Zt(e)}function Jt(t,e){return{staticClass:Qt(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Zt(t){var e=t.class,n=t.staticClass;return n||e?Qt(n,te(e)):""}function Qt(t,e){return t?e?t+" "+e:t:e||""}function te(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,o=0,i=t.length;o-1?Uo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Uo[t]=/HTMLUnknownElement/.test(e.toString())}function oe(t){if("string"==typeof t){var e=t;if(t=document.querySelector(t),!t)return Bn("Cannot find element: "+e),document.createElement("div")}return t}function ie(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function re(t,e){return document.createElementNS(Do[t],e)}function ae(t){return document.createTextNode(t)}function se(t){return document.createComment(t)}function de(t,e,n){t.insertBefore(e,n)}function ce(t,e){t.removeChild(e)}function le(t,e){t.appendChild(e)}function ue(t){return t.parentNode}function fe(t){return t.nextSibling}function me(t){return t.tagName}function pe(t,e){t.textContent=e}function he(t,e,n){t.setAttribute(e,n)}function ve(t,e){var n=t.data.ref;if(n){var o=t.context,i=t.child||t.elm,a=o.$refs;e?Array.isArray(a[n])?r(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function be(t){return null==t}function ge(t){return null!=t}function _e(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function ye(t,e,n){var o,i,r={};for(o=e;o<=n;++o)i=t[o].key,ge(i)&&(r[i]=o);return r}function Ee(t){function e(t){return new yo(N.tagName(t).toLowerCase(),{},[],void 0,t)}function o(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=N.parentNode(t);e&&N.removeChild(e,t)}function a(t,e,n,o,i){if(t.isRootInsert=!i,!d(t,e,n,o)){var r=t.data,a=t.children,s=t.tag;ge(s)?(r&&r.pre&&w++,w||t.ns||On.ignoredElements&&On.ignoredElements.indexOf(s)>-1||!On.isUnknownElement(s)||Bn("Unknown custom element: <"+s+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context),t.elm=t.ns?N.createElementNS(t.ns,s):N.createElement(s,t),h(t),u(t,a,e),ge(r)&&m(t,e),l(n,t.elm,o),r&&r.pre&&w--):t.isComment?(t.elm=N.createComment(t.text),l(n,t.elm,o)):(t.elm=N.createTextNode(t.text),l(n,t.elm,o))}}function d(t,e,n,o){var i=t.data;if(ge(i)){var r=ge(t.child)&&i.keepAlive;if(ge(i=i.hook)&&ge(i=i.init)&&i(t,!1,n,o),ge(t.child))return p(t,e),r&&c(t,e,n,o),!0}}function c(t,e,n,o){for(var i,r=t;r.child;)if(r=r.child._vnode,ge(i=r.data)&&ge(i=i.transition)){for(i=0;if?(c=be(n[h+1])?null:n[h+1].elm,v(t,c,n,u,h,o)):u>h&&g(t,e,l,f)}function E(t,e,n,o){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.child=t.child);var i,r=e.data,a=ge(r);a&&ge(i=r.hook)&&ge(i=i.prepatch)&&i(t,e);var s=e.elm=t.elm,d=t.children,c=e.children;if(a&&f(e)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}t=e(t)}if(d=t.elm,c=N.parentNode(d),a(n,u,c,N.nextSibling(d)),n.parent){for(var p=n.parent;p;)p.elm=n.elm,p=p.parent;if(f(n))for(var h=0;h-1?e.split(/\s+/).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 Ie(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",o=" "+e+" ";n.indexOf(o)>=0;)n=n.replace(o," ");t.setAttribute("class",n.trim())}}function Be(t){hi(function(){hi(t)})}function ze(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),De(t,e)}function Ue(t,e){t._transitionClasses&&r(t._transitionClasses,e),Ie(t,e)}function We(t,e,n){var o=Ve(t,e),i=o.type,r=o.timeout,a=o.propCount;if(!i)return n();var s=i===ci?fi:pi,d=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++d>=a&&c()};setTimeout(function(){d0&&(n=ci,l=a,u=r.length):e===li?c>0&&(n=li,l=c,u=d.length):(l=Math.max(a,c),n=l>0?a>c?ci:li:null,u=n?n===ci?r.length:d.length:0);var f=n===ci&&vi.test(o[ui+"Property"]);return{type:n,timeout:l,propCount:u,hasTransform:f}}function Ye(t,e){for(;t.length1,N=n._enterCb=Je(function(){O&&Ue(n,C),N.cancelled?(O&&Ue(n,E),M&&M(n)):T&&T(n),n._enterCb=null});t.data.show||Tt(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,o=e&&e._pending&&e._pending[t.key];o&&o.context===t.context&&o.tag===t.tag&&o.elm._leaveCb&&o.elm._leaveCb(),x&&x(n,N)},"transition-insert"),A&&A(n),O&&(ze(n,E),ze(n,C),Be(function(){Ue(n,E),N.cancelled||R||We(n,r,N)})),t.data.show&&(e&&e(),x&&x(n,N)),O||R||N()}}}function Ke(t,e){function n(){v.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),c&&c(o),p&&(ze(o,s),ze(o,d),Be(function(){Ue(o,s),v.cancelled||h||We(o,a,v)})),l&&l(o,v),p||h||v())}var o=t.elm;o._enterCb&&(o._enterCb.cancelled=!0,o._enterCb());var i=Xe(t.data.transition);if(!i)return e();if(!o._leaveCb&&1===o.nodeType){var r=i.css,a=i.type,s=i.leaveClass,d=i.leaveActiveClass,c=i.beforeLeave,l=i.leave,u=i.afterLeave,f=i.leaveCancelled,m=i.delayLeave,p=r!==!1&&!$n,h=l&&(l._length||l.length)>1,v=o._leaveCb=Je(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),p&&Ue(o,d),v.cancelled?(p&&Ue(o,s),f&&f(o)):(e(),u&&u(o)),o._leaveCb=null});m?m(n):n()}}function Xe(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&u(e,bi(t.name||"v")),u(e,t),e}return"string"==typeof t?bi(t):void 0}}function Je(t){var e=!1;return function(){e||(e=!0,t())}}function Ze(t,e){e.data.show||Ge(e)}function Qe(t,e,n){var o=e.value,i=t.multiple;if(i&&!Array.isArray(o))return void Bn('