text: /*!
   * Angular Material Design
   * https://github.com/angular/material
   * @license MIT
   * v1.1.1-master-342ee53
   */
  !function(e,t,i){"use strict";function n(e,i,n,o,r,d,l,a,s){function c(c,v,y){function x(){c.mdZIndex=c.mdZIndex||f,c.mdDelay=c.mdDelay||h,p[c.mdDirection]||(c.mdDirection=b)}function E(e){if(e||!q.attr("aria-label")){var t=e||v.text().trim(),i=r(t)(q.scope());q.attr("aria-label",i)}}function $(){x(),W&&W.panelEl&&W.panelEl.removeClass(V),V="md-origin-"+c.mdDirection,A=p[c.mdDirection],C=a.newPanelPosition().relativeTo(q).addPanelPosition(A.x,A.y),W&&W.panelEl&&(W.panelEl.addClass(V),W.updatePosition(C))}function w(){function t(e){return e.some(function(e){return"disabled"===e.attributeName&&q[0].disabled}),!1}function n(){g(!1)}function r(){Z=document.activeElement===q[0]}function l(e){"focus"===e.type&&Z?Z=!1:c.mdVisible||(q.on(m,a),g(!0),"touchstart"===e.type&&q.one("touchend",function(){d.nextTick(function(){o.one("touchend",a)},!1)}))}function a(){N=c.hasOwnProperty("mdAutohide")?c.mdAutohide:y.hasOwnProperty("mdAutohide"),(N||I||o[0].activeElement!==q[0])&&(R&&(e.cancel(R),g.queued=!1,R=null),q.off(m,a),q.triggerHandler("blur"),g(!1)),I=!1}function f(){I=!0}function h(){s.deregister("scroll",n,!0),s.deregister("blur",r),s.deregister("resize",F),q.off(u,l).off(m,a).off("mousedown",f),a(),b&&b.disconnect()}if(q[0]&&"MutationObserver"in i){var b=new MutationObserver(function(e){t(e)&&d.nextTick(function(){g(!1)})});b.observe(q[0],{attributes:!0})}Z=!1,s.register("scroll",n,!0),s.register("blur",r),s.register("resize",F),c.$on("$destroy",h),q.on("mousedown",f),q.on(u,l)}function P(){function e(){c.$destroy()}if(v[0]&&"MutationObserver"in i){var t=new MutationObserver(function(e){e.forEach(function(e){"md-visible"!==e.attributeName||c.visibleWatcher||(c.visibleWatcher=c.$watch("mdVisible",T))})});t.observe(v[0],{attributes:!0}),y.hasOwnProperty("mdVisible")&&(c.visibleWatcher=c.$watch("mdVisible",T))}else c.visibleWatcher=c.$watch("mdVisible",T);c.$watch("mdDirection",$),v.one("$destroy",e),q.one("$destroy",e),c.$on("$destroy",function(){g(!1),v.remove(),t&&t.disconnect()}),v.text().indexOf(r.startSymbol())>-1&&c.$watch(function(){return v.text().trim()},E)}function g(t){g.queued&&g.value===!!t||!g.queued&&c.mdVisible===!!t||(g.value=!!t,g.queued||(t?(g.queued=!0,R=e(function(){c.mdVisible=g.value,g.queued=!1,R=null,c.visibleWatcher||T(c.mdVisible)},c.mdDelay)):d.nextTick(function(){c.mdVisible=!1,c.visibleWatcher||T(!1)})))}function T(e){e?O():D()}function O(){if(!v[0].textContent.trim())throw new Error("Text for the tooltip has not been provided. Please include text within the mdTooltip element.");if(!W){var e="tooltip-"+d.nextUid(),i=t.element(document.body),n=v.html().trim(),o=a.newPanelAnimation().openFrom(q).closeTo(q).withAnimation({open:"md-show",close:"md-hide"}),r={id:e,attachTo:i,template:n,propagateContainerEvents:!0,panelClass:"md-tooltip "+V,animation:o,position:C,zIndex:c.mdZIndex,focusOnOpen:!1};W=a.create(r)}W.open()}function D(){W&&W.close()}var V,A,C,W,N,R,q=d.getParentWithPointerEvents(v),F=n.throttle($),I=!1,Z=null;l(v),x(),E(),v.detach(),v.attr("role","tooltip"),$(),w(),P()}var u="focus touchstart mouseenter",m="blur touchcancel mouseleave",f=100,h=0,b="bottom",p={top:{x:a.xPosition.CENTER,y:a.yPosition.ABOVE},right:{x:a.xPosition.OFFSET_END,y:a.yPosition.CENTER},bottom:{x:a.xPosition.CENTER,y:a.yPosition.BELOW},left:{x:a.xPosition.OFFSET_START,y:a.yPosition.CENTER}};return{restrict:"E",priority:210,scope:{mdZIndex:"=?mdZIndex",mdDelay:"=?mdDelay",mdVisible:"=?mdVisible",mdAutohide:"=?mdAutohide",mdDirection:"@?mdDirection"},link:c}}function o(){function i(e){r[e.type]&&r[e.type].forEach(function(t){t.call(this,e)},this)}function n(t,n,o){var l=r[t]=r[t]||[];l.length||(o?e.addEventListener(t,i,!0):d.on(t,i)),l.indexOf(n)===-1&&l.push(n)}function o(t,n,o){var l=r[t],a=l?l.indexOf(n):-1;a>-1&&(l.splice(a,1),0===l.length&&(o?e.removeEventListener(t,i,!0):d.off(t,i)))}var r={},d=t.element(e);return{register:n,deregister:o}}n.$inject=["$timeout","$window","$$rAF","$document","$interpolate","$mdUtil","$mdTheming","$mdPanel","$$mdTooltipRegistry"],t.module("material.components.tooltip",["material.core","material.components.panel"]).directive("mdTooltip",n).service("$$mdTooltipRegistry",o)}(window,window.angular);