/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0-master-2b98560 */ function mdListDirective(e){return{restrict:"E",compile:function(t){return t[0].setAttribute("role","list"),e}}}function mdListItemDirective(e,t,n,r){var a=["md-checkbox","md-switch","md-menu"];return{restrict:"E",controller:"MdListController",compile:function(i,o){function l(){for(var e,t,n=["md-switch","md-checkbox"],r=0;t=n[r];++r)if((e=i.find(t)[0])&&!e.hasAttribute("aria-label")){var a=i.find("p")[0];if(!a)return;e.setAttribute("aria-label","Toggle "+a.textContent)}}function s(){var e=angular.element(b),t=e.parent().hasClass("md-secondary-container")||b.parentNode.firstElementChild!==b,n="left";t&&(n="right"),e.attr("md-position-mode")||e.attr("md-position-mode",n+" target");var r=e.children().eq(0);p(r[0])||r.attr("ng-click","$mdOpenMenu($event)"),r.attr("aria-label")||r.attr("aria-label","Open List Menu")}function d(e){if("div"==e)y=angular.element('
'),y.append(i.contents()),i.addClass("md-proxy-focus");else{y=angular.element('
');var t=angular.element('');t[0].setAttribute("aria-label",i[0].textContent),m(i[0],t[0]),i.hasClass("md-no-focus")&&t.addClass("md-no-focus"),y.prepend(t),y.children().eq(1).append(i.contents()),i.addClass("_md-button-wrap")}i[0].setAttribute("tabindex","-1"),i.append(y)}function c(){var e=angular.element('
');angular.forEach(C,function(t){u(t,e)}),y.append(e)}function u(t,n){if(t&&!g(t)&&t.hasAttribute("ng-click")){e.expect(t,"aria-label");var r=angular.element('');m(t,r[0],["ng-if","ng-hide","ng-show"]),t.setAttribute("tabindex","-1"),r.append(t),t=r[0]}t&&(!p(t)||!o.ngClick&&f(t))&&angular.element(t).removeClass("md-secondary"),i.addClass("md-with-secondary"),n.append(t)}function m(e,t,r){var a=n.prefixer(["ng-if","ng-click","ng-dblclick","aria-label","ng-disabled","ui-sref","href","ng-href","target","ng-attr-ui-sref","ui-sref-opts"]);r&&(a=a.concat(n.prefixer(r))),angular.forEach(a,function(n){e.hasAttribute(n)&&(t.setAttribute(n,e.getAttribute(n)),e.removeAttribute(n))})}function f(e){return a.indexOf(e.nodeName.toLowerCase())!=-1}function g(e){var t=e.nodeName.toUpperCase();return"MD-BUTTON"==t||"BUTTON"==t}function p(e){for(var t=e.attributes,n=0;n