text: /*!
   * Angular Material Design
   * https://github.com/angular/material
   * @license MIT
   * v0.11.0-rc1-master-d74f93a
   */
  function MdTooltipDirective(t,e,o,n,i,a,l,r,u){function c(c,h,p){function s(){angular.isDefined(p.mdDelay)||(c.delay=d)}function m(){c.$on("$destroy",function(){c.visible=!1,h.remove(),angular.element(e).off("resize",N)}),c.$watch("visible",function(t){t?x():D()})}function g(){q.attr("aria-label")||q.text().trim()||q.attr("aria-label",h.text().trim())}function v(){h.detach(),h.attr("role","tooltip")}function w(){for(var t=h.parent();t&&y("pointer-events","none",t[0]);)t=t.parent();return t}function b(){for(var t=h.parent()[0];t&&t!==l[0]&&t!==document.body;)t=t.parentNode;return t}function y(t,o,n){t=p.$normalize(t),n=n||h[0];var i=e.getComputedStyle(n);return angular.isDefined(i[t])&&i[t]==o}function $(){var t=!1,o=angular.element(e),i=function(){a=document.activeElement===q[0]},a=!1;o.on("blur",i),c.$on("$destroy",function(){o.off("blur",i)});var l=function(t){return"focus"===t.type&&a?void(a=!1):(q.on("blur mouseleave touchend touchcancel",r),void M(!0))},r=function(){var e=c.hasOwnProperty("autohide")?c.autohide:p.hasOwnProperty("mdAutohide");(e||t||n[0].activeElement!==q[0])&&(q.off("blur mouseleave touchend touchcancel",r),M(!1)),t=!1};q.on("mousedown",function(){t=!0}),q.on("focus mouseenter touchstart",l),angular.element(e).on("resize",N)}function M(e){M.value=!!e,M.queued||(e?(M.queued=!0,t(function(){c.visible=M.value,M.queued=!1},c.delay)):i.nextTick(function(){c.visible=!1}))}function x(){return A.append(h),y("display","none")?(c.visible=!1,void h.detach()):(E(),void angular.forEach([h,C,T],function(t){r.addClass(t,"md-show")}))}function D(){var t=[];angular.forEach([h,C,T],function(e){e.parent()&&e.hasClass("md-show")&&t.push(r.removeClass(e,"md-show"))}),u.all(t).then(function(){c.visible||h.detach()})}function E(){function t(){var t="left"===k||"right"===k?2*Math.sqrt(Math.pow(n.width,2)+Math.pow(n.height/2,2)):2*Math.sqrt(Math.pow(n.width/2,2)+Math.pow(n.height,2)),e="left"===k?{left:100,top:50}:"right"===k?{left:0,top:50}:"top"===k?{left:50,top:100}:{left:50,top:0};C.css({width:t+"px",height:t+"px",left:e.left+"%",top:e.top+"%"})}function e(t){var e={left:t.left,top:t.top};return e.left=Math.min(e.left,A.prop("scrollWidth")-n.width-f),e.left=Math.max(e.left,f),e.top=Math.min(e.top,A.prop("scrollHeight")-n.height-f),e.top=Math.max(e.top,f),e}function o(t){return"left"===t?{left:a.left-n.width-f,top:a.top+a.height/2-n.height/2}:"right"===t?{left:a.left+a.width+f,top:a.top+a.height/2-n.height/2}:"top"===t?{left:a.left+a.width/2-n.width/2,top:a.top-n.height-f}:{left:a.left+a.width/2-n.width/2,top:a.top+a.height+f}}var n=i.offsetRect(h,A),a=i.offsetRect(q,A),l=o(k);k?l=e(l):l.top>h.prop("offsetParent").scrollHeight-n.height-f&&(l=e(o("top"))),h.css({top:l.top+"px",left:l.left+"px"}),t()}a(h);var q=w(),C=angular.element(h[0].getElementsByClassName("md-background")[0]),T=angular.element(h[0].getElementsByClassName("md-content")[0]),k=p.mdDirection,z=b(),A=angular.element(z||document.body),N=o.throttle(function(){c.visible&&E()});s(),v(),$(),m(),g()}var d=300,f=8;return{restrict:"E",transclude:!0,priority:210,template:'        <div class="md-background"></div>        <div class="md-content" ng-transclude></div>',scope:{visible:"=?mdVisible",delay:"=?mdDelay",autohide:"=?mdAutohide"},link:c}}goog.provide("ng.material.components.tooltip"),goog.require("ng.material.core"),angular.module("material.components.tooltip",["material.core"]).directive("mdTooltip",MdTooltipDirective),MdTooltipDirective.$inject=["$timeout","$window","$$rAF","$document","$mdUtil","$mdTheming","$rootElement","$animate","$q"],ng.material.components.tooltip=angular.module("material.components.tooltip");