/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.2-master-a9ba340
*/
function mdIconDirective(e,t,n,i){function o(i,o,a){function r(){var e=o.parent();return!(!e.attr("aria-label")&&!e.text())||!(!e.parent().attr("aria-label")&&!e.parent().text())}function u(){a.mdSvgIcon||a.mdSvgSrc||(a.mdFontIcon&&o.addClass("md-font "+a.mdFontIcon),o.addClass(I))}function c(){if(!a.mdSvgIcon&&!a.mdSvgSrc){a.mdFontIcon&&(o.removeClass(g),o.addClass(a.mdFontIcon),g=a.mdFontIcon);var t=e.fontSet(a.mdFontSet);I!==t&&(o.removeClass(I),o.addClass(t),I=t)}}t(o);var g=a.mdFontIcon,I=e.fontSet(a.mdFontSet);u(),a.$observe("mdFontIcon",c),a.$observe("mdFontSet",c);var d=(o[0].getAttribute(a.$attr.mdSvgSrc),a.alt||a.mdFontIcon||a.mdSvgIcon||o.text()),l=a.$normalize(a.$attr.mdSvgIcon||a.$attr.mdSvgSrc||"");a["aria-label"]||(""===d||r()?o.text()||n.expect(o,"aria-hidden","true"):(n.expect(o,"aria-label",d),n.expect(o,"role","img"))),l&&a.$observe(l,function(t){o.empty(),t&&e(t).then(function(e){o.empty(),o.append(e)})})}return{restrict:"E",link:o}}function MdIconProvider(){}function ConfigurationItem(e,t){this.url=e,this.viewBoxSize=t||config.defaultViewBoxSize}function MdIconService(e,t,n,i,o,a){function r(t){if(t=t||"",angular.isString(t)||(t=a.getTrustedUrl(t)),M[t])return n.when(c(M[t]));if(j.test(t)||v.test(t))return l(t).then(g(t));t.indexOf(":")==-1&&(t="$default:"+t);var i=e[t]?I:d;return i(t).then(g(t))}function u(t){var n=angular.isUndefined(t)||!(t&&t.length);if(n)return e.defaultFontSet;var i=t;return angular.forEach(e.fontSets,function(e){e.alias==t&&(i=e.fontSet||i)}),i}function c(e){var t=e.clone(),n="_cache"+o.nextUid();return t.id&&(t.id+=n),angular.forEach(t.querySelectorAll("[id]"),function(e){e.id+=n}),t}function g(t){return function(n){return M[t]=m(n)?n:new s(n,e[t]),M[t].clone()}}function I(t){var n=e[t];return l(n.url).then(function(e){return new s(e,n)})}function d(t){function o(e){var n=t.slice(t.lastIndexOf(":")+1),i=e.querySelector("#"+n);return i?new s(i,u):a(t)}function a(e){var t="icon "+e+" not found";return i.warn(t),n.reject(t||e)}var r=t.substring(0,t.lastIndexOf(":"))||"$default",u=e[r];return u?l(u.url).then(o):a(t)}function l(e){function o(e){var t=v.exec(e),i=/base64/i.test(e),o=i?window.atob(t[2]):t[2];return n.when(angular.element(o)[0])}function a(e){return n(function(n,o){var a=function(e){var t=angular.isString(e)?e:e.message||e.data||e.statusText;i.warn(t),o(e)},r=function(t){x[e]||(x[e]=angular.element("
").append(t)[0].querySelector("svg")),n(x[e])};t(e,!0).then(r,a)})}return v.test(e)?o(e):a(e)}function m(e){return angular.isDefined(e.element)&&angular.isDefined(e.config)}function s(e,t){e&&"svg"!=e.tagName&&(e=angular.element('