text: /*!
   * AngularJS Material Design
   * https://github.com/angular/material
   * @license MIT
   * v1.1.10-master-82d51e3b6
   */
  !function(e,y,g){"use strict";function t(n){return["$injector","$window",function(e,t){if(t._mdMocksIncluded)return e.invoke(n)}]}function n(r,o,a){n.$inject=["$scope","$element","$attrs","$animate"];var e=["INPUT","TEXTAREA","SELECT","MD-SELECT"],t=e.reduce(function(e,t){return e.concat(["md-icon ~ "+t,".md-icon ~ "+t])},[]).join(","),s=e.reduce(function(e,t){return e.concat([t+" ~ md-icon",t+" ~ .md-icon"])},[]).join(",");return{restrict:"E",compile:function(e){var n=e[0].querySelector(t),i=e[0].querySelector(s);return function(e,t){r(t),(n||i)&&a(function(){var e=t[0].querySelector("md-icon")||t[0].querySelector(".md-icon");n&&e&&t.addClass("md-icon-left"),i&&e&&t.addClass("md-icon-right")})}},controller:n};function n(e,t,n,i){var r=this;r.isErrorGetter=n.mdIsError&&o(n.mdIsError),r.delegateClick=function(){r.input.focus()},r.element=t,r.setFocused=function(e){t.toggleClass("md-input-focused",!!e)},r.setHasValue=function(e){t.toggleClass("md-input-has-value",!!e)},r.setHasPlaceholder=function(e){t.toggleClass("md-input-has-placeholder",!!e)},r.setInvalid=function(e){e?i.addClass(t,"md-input-invalid"):i.removeClass(t,"md-input-invalid")},e.$watch(function(){return r.label&&r.input},function(e){e&&!r.label.attr("for")&&r.label.attr("for",r.input.attr("id"))})}}function i($,v,l,w,C){return{restrict:"E",require:["^?mdInputContainer","?ngModel","?^form"],link:function(c,m,f,e){var p=e[0],g=!!e[1],h=e[1]||$.fakeNgModel(),t=e[2],n=y.isDefined(f.readonly),i=$.parseAttributeBoolean(f.mdNoAsterisk),r=m[0].tagName.toLowerCase();if(!p)return;{if("hidden"===f.type)return void m.attr("aria-hidden","true");if(p.input){if(p.input[0].contains(m[0]))return;throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!")}}p.input=m,p.label&&f.$observe("required",function(e){p.label.toggleClass("md-required",e&&!i)});var o=y.element('<div class="md-errors-spacer">');m.after(o);var a=y.isString(f.placeholder)?f.placeholder.trim():"";p.label||a.length||l.expect(m,"aria-label");m.addClass("md-input"),m.attr("id")||m.attr("id","input_"+$.nextUid());"input"===r&&"number"===f.type&&f.min&&f.max&&!f.step?m.attr("step","any"):"textarea"===r&&function(){var t=!f.hasOwnProperty("mdNoAutogrow");if(function(){if(!f.hasOwnProperty("mdNoResize")){var e=y.element('<div class="md-resize-handle"></div>'),t=!1,n=0,i=p.element,r=C.register(e,"drag",{horizontal:!1});m.wrap('<div class="md-resize-wrapper">').after(e),e.on("mousedown",o),i.on("$md.dragstart",a).on("$md.drag",s).on("$md.dragend",u),c.$on("$destroy",function(){e.off("mousedown",o).remove(),i.off("$md.dragstart",a).off("$md.drag",s).off("$md.dragend",u),r(),r=i=e=null})}function o(e){e.preventDefault(),t=!0,e.clientY,n=parseFloat(m.css("height"))||m.prop("offsetHeight")}function a(e){t&&(e.preventDefault(),d(),i.addClass("md-input-resized"))}function s(e){t&&m.css("height",n+e.pointer.distanceY+"px")}function u(e){t&&(t=!1,i.removeClass("md-input-resized"))}}(),!t)return;var o=f.hasOwnProperty("rows")?parseInt(f.rows):NaN,a=f.hasOwnProperty("maxRows")?parseInt(f.maxRows):NaN,n=c.$on("md-resize-textarea",i),s=null,u=m[0];w(function(){$.nextTick(i)},10,!1),m.on("input",i),g&&h.$formatters.push(r);o||m.attr("rows",1);function i(){m.attr("rows",1).css("height","auto").addClass("md-no-flex");var e,t,n=(e=u.offsetHeight,t=u.scrollHeight-e,e+Math.max(t,0));if(!s){var i=m[0].style.padding||"";s=m.css("padding",0).prop("offsetHeight"),m[0].style.padding=i}if(o&&s&&(n=Math.max(n,s*o)),a&&s){var r=s*a;r<n?(m.attr("md-no-autogrow",""),n=r):m.removeAttr("md-no-autogrow")}s&&m.attr("rows",Math.round(n/s)),m.css("height",n+"px").removeClass("md-no-flex")}function r(e){return $.nextTick(i),e}function d(){if(t&&(t=!1,y.element(v).off("resize",i),n&&n(),m.attr("md-no-autogrow","").off("input",i),g)){var e=h.$formatters.indexOf(r);-1<e&&h.$formatters.splice(e,1)}}if(y.element(v).on("resize",i),c.$on("$destroy",d),f.hasOwnProperty("mdDetectHidden")){var e=(l=!1,function(){var e=0===u.offsetHeight;!1===e&&!0===l&&i(),l=e});c.$watch(function(){return $.nextTick(e,!1),!0})}var l}();g||d();var s=p.isErrorGetter||function(){return h.$invalid&&(h.$touched||t&&t.$submitted)};c.$watch(s,p.setInvalid),f.ngValue&&f.$observe("value",d);h.$parsers.push(u),h.$formatters.push(u),m.on("input",d),n||m.on("focus",function(e){$.nextTick(function(){p.setFocused(!0)})}).on("blur",function(e){$.nextTick(function(){p.setFocused(!1),d()})});function u(e){return p.setHasValue(!h.$isEmpty(e)),e}function d(){p.setHasValue(0<m.val().length||(m[0].validity||{}).badInput)}c.$on("$destroy",function(){p.setFocused(!1),p.setHasValue(!1),p.input=null})}}}function r(f,p){return{restrict:"A",require:["ngModel","^mdInputContainer"],link:function(e,i,t,n){var r=parseInt(t.mdMaxlength);isNaN(r)&&(r=-1);var o,a,s=n[0],u=n[1],d=!y.isDefined(t.ngTrim)||p.parseAttributeBoolean(t.ngTrim),l="password"===t.type;function c(e){return(e=d&&!l&&y.isString(e)?e.trim():e)!==g&&null!==e||(e=""),String(e).length}function m(){o&&o.parent()&&o.text(c(i.val())+" / "+r)}e.$watch(t.mdMaxlength,function(e){r=e}),s.$validators["md-maxlength"]=function(e,t){if(!y.isNumber(r)||r<0)return!0;m();var n=i.val()||t;return n!==g&&null!==n||(n=""),n=d&&!l&&y.isString(n)?n.trim():n,String(n).length<=r},s.$isEmpty=function(e){return 0===c(e)},p.nextTick(function(){a=y.element(u.element[0].querySelector(".md-errors-spacer")),o=y.element('<div class="md-char-counter">'),a.append(o),t.$observe("ngTrim",function(e){d=!y.isDefined(e)||p.parseAttributeBoolean(e)}),e.$watch(t.mdMaxlength,function(e){y.isNumber(e)&&0<e?(o.parent().length||f.enter(o,a),m()):f.leave(o)})})}}}function o(s){return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:{pre:function(e,t,n,i){if(!i)return;var r=i.element.find("label"),o=i.element.attr("md-no-float");if(r&&r.length||""===o||e.$eval(o))return void i.setHasPlaceholder(!0);if("MD-SELECT"!==t[0].nodeName){var a=y.element('<label ng-click="delegateClick()" tabindex="-1" aria-hidden="true">'+n.placeholder+"</label>");n.$set("placeholder",null),i.element.addClass("md-icon-float").prepend(a),s(a)(e)}}}}}function a(a,s){return{restrict:"A",link:function(e,t,n){if("INPUT"!==t[0].nodeName&&"TEXTAREA"!==t[0].nodeName)return;var i=!1;function r(){s(function(){a[0].activeElement===t[0]&&t[0].select(),i=!1},1,!(i=!0))}function o(e){i&&e.preventDefault()}t.on("focus",r).on("mouseup",o),e.$on("$destroy",function(){t.off("focus",r).off("mouseup",o)})}}}n.$inject=["$mdTheming","$parse","$$rAF"],i.$inject=["$mdUtil","$window","$mdAria","$timeout","$mdGesture"],r.$inject=["$animate","$mdUtil"],o.$inject=["$compile"],c.$inject=["$mdUtil","$window"],a.$inject=["$document","$timeout"],m.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log","$window"],f.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log","$window"],p.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log","$window"],y.module("material.components.input",["material.core"]).directive("mdInputContainer",n).directive("label",function(){return{restrict:"E",require:"^?mdInputContainer",link:function(e,t,n,i){!i||n.mdNoFloat||t.hasClass("md-container-ignore")||(i.label=t,e.$on("$destroy",function(){i.label=null}))}}}).directive("input",i).directive("textarea",i).directive("mdMaxlength",r).directive("placeholder",o).directive("ngMessages",function(){return{restrict:"EA",link:function(e,t,n,i){if(!i)return;t.toggleClass("md-input-messages-animation",!0),t.toggleClass("md-auto-hide",!0),("false"==n.mdAutoHide||(r=n,l.some(function(e){return r[e]})))&&t.toggleClass("md-auto-hide",!1);var r},require:"^^?mdInputContainer"}}).directive("ngMessage",c).directive("ngMessageExp",c).directive("mdSelectOnFocus",a).animation(".md-input-invalid",m).animation(".md-input-messages-animation",f).animation(".md-input-message-animation",p).service("$$mdInput",t(["$window",function(n){return{messages:{show:function(e,t){return h(n,e,t)},hide:function(e,t){return $(n,e,t)},getElement:C}}}])).service("mdInputInvalidAnimation",t(m)).service("mdInputMessagesAnimation",t(f)).service("mdInputMessageAnimation",t(p));var s,u,d,l=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"];function c(t,o){return{restrict:"EA",compile:function(n){if(i(n))r(n);else if(function(){var e=n[0];for(;e=e.parentNode;)if(e.nodeType===o.Node.DOCUMENT_FRAGMENT_NODE)return!0;return!1}())return function(e,t){i(t)&&r(n)};function i(e){return!!t.getClosest(e,"md-input-container")}function r(e){e.toggleClass("md-input-message-animation",!0)}},priority:100}}function m(e,t,n,i,r){return x(e,t,n),{addClass:function(e,t,n){h(r,e,n)}}}function f(e,t,n,i,r){return x(e,t,n),{enter:function(e,t){h(r,e,t)},leave:function(e,t){$(r,e,t)},addClass:function(e,t,n){"ng-hide"==t?$(r,e,n):n()},removeClass:function(e,t,n){"ng-hide"==t?h(r,e,n):n()}}}function p(e,t,n,i,r){return x(e,t,n),{enter:function(e,t){v(r,e).start().done(t)},leave:function(e,t){w(r,e).start().done(t)}}}function h(t,e,n){var i,r=[],o=C(e),a=o.children();0!=o.length&&0!=a.length?(y.forEach(a,function(e){i=v(t,y.element(e)),r.push(i.start())}),s.all(r,n)):n()}function $(t,e,n){var i,r=[],o=C(e),a=o.children();0!=o.length&&0!=a.length?(y.forEach(a,function(e){i=w(t,y.element(e)),r.push(i.start())}),s.all(r,n)):n()}function v(e,t){var n=parseInt(e.getComputedStyle(t[0]).height),i=parseInt(e.getComputedStyle(t[0]).marginTop),r=C(t),o=t.controller("mdInputContainer").element;return-n<i||r.hasClass("md-auto-hide")&&!o.hasClass("md-input-invalid")?u(t,{}):u(t,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-n+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function w(e,t){var n=t[0].offsetHeight,i=e.getComputedStyle(t[0]);return 0===parseInt(i.opacity)?u(t,{}):u(t,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-n+"px"},duration:.3})}function C(e){return e.hasClass("md-input-messages-animation")?e:e.hasClass("md-input-message-animation")?y.element(d.getClosest(e,function(e){return e.classList.contains("md-input-messages-animation")})):y.element(e[0].querySelector(".md-input-messages-animation"))}function x(e,t,n){s=e,u=t,d=n}}(window,window.angular);