e++,window.requestAnimationFrame(function(){t.calculateIndicatorPos(!0)}),e>200&&window.clearInterval(n)},1);this.recalculateAllTabsPos()},mdCentered:function(){this.recalculateAllTabsPos()},mdElevation:function(){this.elevation=this.mdElevation}},computed:{tabClasses:function(){return{"md-fixed":this.mdFixed,"md-centered":this.mdCentered||this.mdFixed,"md-has-icon":this.hasIcons,"md-has-label":this.hasLabel}},indicatorClass:function(){vart=this.lastIndicatorNumber>this.activeTabNumber;returnthis.lastIndicatorNumber=this.activeTabNumber,{"md-to-right":!t,"md-to-left":t}}},methods:{getHeaderClass:function(t){return{"md-active":this.activeTab===t.id,"md-disabled":t.disabled}},calculateIndicatorPos:function(t){vare=this,n=this.$refs.indicator,d=this.$el.offsetWidth;t&&n.classList.add("md-transition-off"),this.$nextTick(function(){varo=e.$refs.tabHeader[e.activeTabNumber],i=o.offsetLeft,a=d-i-o.offsetWidth;n.style.left=i+"px",n.style.right=a+"px",t&&window.setTimeout(function(){n.classList.remove("md-transition-off")},100)})},calculateTabPos:function(t,e){this.$refs.tabWrapper.style.transform="translate3D("+-this.$refs.tabContent.offsetWidth*this.activeTabNumber+"px, 0, 0)",t.style.width=this.$refs.tabContent.offsetWidth+"px",t.style.left=this.$refs.tabContent.offsetWidth*e+"px"},setVisibleTab:function(t){this.$refs.tabContent.style.height=t.offsetHeight+"px",t.classList.add("md-active")},changeTab:function(t){vare=this,n=Object.keys(this.tabs),d=t||n[0],o=n.indexOf(d);this.tabs[this.activeTab||d].ref.classList.remove("md-active"),this.activeTab=d,this.activeTabNumber=o,this.$nextTick(function(){e.calculateIndicatorPos(),e.calculateTabPos(e.tabs[d].ref,o),e.setVisibleTab(e.tabs[d].ref)}),this.$emit("change",o)},handleTabData:function(t){vare=Object.keys(this.tabs),n=e.indexOf(t.id);this.hasIcons=!!t.icon,this.hasLabel=!!t.label,t.disabled?this.changeTab(e[n+1]):t.active&&this.changeTab(t.id)},registerTab:function(t){this.tabs[t.id]=t,this.handleTabData(t),this.calculateTabPos(this.tabs[t.id].ref,Object.keys(this.tabs).length-1)},updateTabData:function(t){this.tabs[t.id]=t,this.handleTabData(t),this.$forceUpdate(),this.recalculateAllTabsPos()},recalculateAllTabsPos:function(t){vare=this;"undefined"==typeoft&&(t=!0),window.requestAnimationFrame(function(){e.calculateIndicatorPos(!t),Object.keys(e.tabs).forEach(function(t,n){e.calculateTabPos(e.tabs[t].ref,n)})})}},mounted:function(){this.activeTab||this.changeTab(),window.addEventListener("resize",this.recalculateAllTabsPos)},beforeDestroy:function(){window.removeEventListener("resize",this.recalculateAllTabsPos)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});varn=void0,d=void0,o=void0,i=function(t){vare=t.targetElement.getBoundingClientRect();switch(t.mdDirection){case"top":t.$el.style.top=e.top-t.$el.offsetHeight+"px",t.$el.style.left=e.left+e.width/2+"px";break;case"right":t.$el.style.top=e.top+"px",t.$el.style.left=e.left+e.width+"px";break;case"bottom":t.$el.style.top=e.bottom+"px",t.$el.style.left=e.left+e.width/2+"px";break;case"left":t.$el.style.top=e.top+"px",t.$el.style.left=e.left-t.$el.offsetWidth+"px";break;default:console.warn("Invalid "+t.mdDirection+" option to md-direction option")}};e["default"]={props:{mdDirection:{type:String,"default":"bottom"},mdDelay:{type:String,"default":"0"}},data:function(){return{active:!1}},computed:{classes:function(){return{"md-active":this.active,"md-tooltip-top":"top"===this.mdDirection,"md-tooltip-right":"right"===this.mdDirection,"md-tooltip-bottom":"bottom"===this.mdDirection,"md-tooltip-left":"left"===this.mdDirection}},style:function(){return{"transition-delay":this.mdDelay+"ms"}}},watch:{mdDirection:function(){i(this)}},mounted:function(){vart=this,e=this.$el,o=e.parentNode;this.targetElement=o,n=function(){document.body.appendChild(e),i(t),t.active=!0},d=function(){varn=functiond(){e.removeEventListener("transitionend",d),e.parentNode&&!e.classList.contains("md-active")&&document.body.removeChild(e)};t.active=!1,e.removeEventListener("transitionend",n),e.addEventListener("
},function(t,e){!function(){functiont(t,n){varo=t[n];t[n]=function(t){varn,i=!1,a=!1;returnt.match(d)?(t=t.replace(d,""),this.parentNode||(e.appendChild(this),a=!0),parentNode=this.parentNode,this.id||(this.id="rootedQuerySelector_id_"+(newDate).getTime(),i=!0),n=o.call(parentNode,"#"+this.id+" "+t),i&&(this.id=""),a&&e.removeChild(this),n):o.call(this,t)}}if(!HTMLElement.prototype.querySelectorAll)thrownewError("rootedQuerySelectorAll: This polyfill can only be used with browsers that support querySelectorAll");vare=document.createElement("div");try{e.querySelectorAll(":scope *")}catch(n){vard=/^\s*:scope/gi;t(HTMLElement.prototype,"querySelector"),t(HTMLElement.prototype,"querySelectorAll")}}()},function(t,e,n){vard,o;n(49);vari=n(112);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(62),d=n(25);vari=n(127);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;d=n(26);vari=n(129);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(65),d=n(27),o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),t.exports=d},function(t,e,n){vard,o;n(55),d=n(28);vari=n(120);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(54),d=n(29);vari=n(119);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(51);vari=n(114);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(61);vari=n(126);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;d=n(30);vari=n(122);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(64),d=n(31);vari=n(130);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;d=n(32);vari=n(117);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;n(53);vari=n(116);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;d=n(33);vari=n(118);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=d},function(t,e,n){vard,o;d=n(34),o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["default"]||(o=d=d["default"]),"function"==typeofo&&(o=o.options),t.exports=d},function(t,e,n){vard,o;n(52),d=n(35);vari=n(115);o=d=d||{},"object"!=typeofd["default"]&&"function"!=typeofd["def