/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.0.3 */ !function(){function e(e,t){function n(){return[].concat(h)}function a(){return h.length}function i(e){return h.length&&e>-1&&e-1}function m(e,n){if(f(e)){var a=d(e)+1,r=i(a)?h[a]:t?g():null,o=r&&n&&!n(r);return o?m(r,n):r}return null}function p(e,n){if(f(e)){var a=d(e)-1,r=i(a)?h[a]:t?v():null,o=r&&n&&!n(r);return o?p(r,n):r}return null}function g(){return h.length?h[0]:null}function v(){return h.length?h[h.length-1]:null}t=!!t;var h=e||[];return{items:n,count:a,inRange:i,contains:f,indexOf:d,itemAt:l,findBy:c,add:u,remove:s,first:g,last:v,next:m,previous:p,hasPrevious:o,hasNext:r}}function t(e,t,n,a){function i(e){return c?"webkit"+e.charAt(0).toUpperCase()+e.substring(1):e}function r(e,n,i){function r(t){t.target===e[0]&&(e.off(l.TRANSITIONEND_EVENT,r),c.resolve())}var c=a.defer();n.append(e);var u;if(i){var s=i[0].getBoundingClientRect();u=o(s.left-e[0].offsetWidth,s.top-e[0].offsetHeight,0)+" scale(0.2)"}else u="translate3d(0,100%,0) scale(0.5)";return e.css(l.TRANSFORM,u).css("opacity",0),t(function(){t(function(){e.addClass("active").css(l.TRANSFORM,"").css("opacity","").on(l.TRANSITIONEND_EVENT,r)})}),c.promise}function o(e,t,n){return"translate3d("+Math.floor(e)+"px,"+Math.floor(t)+"px,"+Math.floor(n)+"px)"}var l,c=/webkit/i.test(n.vendorPrefix);return l={popIn:r,TRANSITIONEND_EVENT:"transitionend"+(c?" webkitTransitionEnd":""),ANIMATIONEND_EVENT:"animationend"+(c?" webkitAnimationEnd":""),TRANSFORM:i("transform"),TRANSITION:i("transition"),TRANSITION_DURATION:i("transitionDuration"),ANIMATION_PLAY_STATE:i("animationPlayState"),ANIMATION_DURATION:i("animationDuration"),ANIMATION_NAME:i("animationName"),ANIMATION_TIMING:i("animationTimingFunction"),ANIMATION_DIRECTION:i("animationDirection")}}function n(e){return function(t,n,a){"checkbox"==a.inkRipple?e.attachCheckboxBehavior(n):e.attachButtonBehavior(n)}}function a(e,t,n,a){function i(e){return o(e,{mousedown:!0,center:!1,animationDuration:350,mousedownPauseTime:175,animationName:"inkRippleButton",animationTimingFunction:"linear"})}function r(e){return o(e,{mousedown:!0,center:!0,animationDuration:300,mousedownPauseTime:180,animationName:"inkRippleCheckbox",animationTimingFunction:"linear"})}function o(t,i){function r(){return!t.controller("noink")&&!K.isDisabled(t)}function o(){function e(o){function s(){f(),m.css(n.ANIMATION_PLAY_STATE,"running"),t.off(u,s),t.on(c,e)}function d(){m.css(n.ANIMATION_PLAY_STATE,"paused")}function f(){a.cancel(p)}if(r()){var m=l(o),p=a(d,i.mousedownPauseTime,!1);m.on("$destroy",f),t.off(c,e),t.on(u,s)}}t.on(c,e)}function l(e){return e=e.touches?e.touches[0]:e,s(e.pageX,e.pageY,!0)}function s(a,r,o){var l=angular.element('
').css(n.ANIMATION_DURATION,i.animationDuration+"ms").css(n.ANIMATION_NAME,i.animationName).css(n.ANIMATION_TIMING,i.animationTimingFunction).on(n.ANIMATIONEND_EVENT,function(){l.remove()});d||(d=angular.element('
'),t.append(d)),d.append(l);var c=d.prop("offsetWidth");if(i.center)a=c/2,r=d.prop("offsetHeight")/2;else if(o){var u=f.getBoundingClientRect();a-=u.left,r-=u.top}var s={"background-color":e.getComputedStyle(l[0]).color||e.getComputedStyle(f).color,"border-radius":c/2+"px",left:a-c/2+"px",width:c+"px",top:r-c/2+"px",height:c+"px"};return s[n.ANIMATION_DURATION]=i.fadeoutDuration+"ms",l.css(s),l}i=angular.extend({mousedown:!0,hover:!0,focus:!0,center:!1,animationDuration:300,mousedownPauseTime:150,animationName:"",animationTimingFunction:"linear"},i||{});var d,f=t[0];i.mousedown&&o()}var l=!!("ontouchend"in document),c=l?"touchstart":"mousedown",u=l?"touchend touchcancel":"mouseup mouseleave";return{attachButtonBehavior:i,attachCheckboxBehavior:r,attach:o}}function i(e,t,n){e[0];return{restrict:"E",compile:function(e,a){var i,r;return a.ngHref||a.href?(i=angular.element(""),r=["ng-href","href","rel","target"]):(i=angular.element("