Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-material

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-material - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

bower.json
{
"name": "angular-material",
"version": "1.0.0",
"version": "1.0.1",
"ignore": [],
"dependencies": {
"angular": "^1.3.0 || >1.4.0-beta.0",
"angular-animate": "^1.3.0 || >1.4.0-beta.0",
"angular-aria": "^1.3.15 || >1.4.0-beta.0"
"angular": "^1.4.8",
"angular-animate": "^1.4.8",
"angular-aria": "^1.4.8",
"angular-messages": "^1.4.8"
},

@@ -10,0 +11,0 @@ "main": [

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.autocomplete');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdAutocompleteCtrl(e,t,n,o,i,l,a,r,c,u){function m(){n.initOptionalProperties(e,c,{searchText:null,selectedItem:null}),i(t),h(),n.nextTick(function(){f(),s(),p(),t.on("focus",p)})}function d(){function o(){var e=0,n=t.find("md-input-container");if(n.length){var o=n.find("input");e=n.prop("offsetHeight"),e-=o.prop("offsetTop"),e-=o.prop("offsetHeight"),e+=n.prop("offsetTop")}return e}function i(){var e=ae.scrollContainer.getBoundingClientRect(),t={};e.right>u.right-MENU_PADDING&&(t.left=a.right-e.width+"px"),ae.$.scrollContainer.css(t)}if(!ae)return n.nextTick(d,!1,e);var l,a=ae.wrap.getBoundingClientRect(),r=ae.snap.getBoundingClientRect(),u=ae.root.getBoundingClientRect(),m=r.bottom-u.top,s=u.bottom-r.top,p=a.left-u.left,h=a.width,g=o();c.mdFloatingLabel&&(p+=INPUT_PADDING,h-=2*INPUT_PADDING),l={left:p+"px",minWidth:h+"px",maxWidth:Math.max(a.right-u.left,u.right-a.left)-MENU_PADDING+"px"},m>s&&u.height-a.bottom-MENU_PADDING<MAX_HEIGHT?(l.top="auto",l.bottom=s+"px",l.maxHeight=Math.min(MAX_HEIGHT,a.top-u.top-MENU_PADDING)+"px"):(l.top=m-g+"px",l.bottom="auto",l.maxHeight=Math.min(MAX_HEIGHT,u.bottom+n.scrollTop()-a.bottom-MENU_PADDING)+"px"),ae.$.scrollContainer.css(l),n.nextTick(i,!1)}function s(){ae.$.root.length&&(i(ae.$.scrollContainer),ae.$.scrollContainer.detach(),ae.$.root.append(ae.$.scrollContainer),a.pin&&a.pin(ae.$.scrollContainer,r))}function p(){e.autofocus&&ae.input.focus()}function h(){var t=parseInt(e.delay,10)||0;c.$observe("disabled",function(e){oe.isDisabled=!!e}),c.$observe("required",function(e){oe.isRequired=!!e}),e.$watch("searchText",t?n.debounce(N,t):N),e.$watch("selectedItem",T),angular.element(l).on("resize",d),e.$on("$destroy",g)}function g(){if(angular.element(l).off("resize",d),ae){var e="ul scroller scrollContainer input".split(" ");angular.forEach(e,function(e){ae.$[e].remove()})}}function f(){ae={main:t[0],scrollContainer:t[0].getElementsByClassName("md-virtual-repeat-container")[0],scroller:t[0].getElementsByClassName("md-virtual-repeat-scroller")[0],ul:t.find("ul")[0],input:t.find("input")[0],wrap:t.find("md-autocomplete-wrap")[0],root:document.body},ae.li=ae.ul.getElementsByTagName("li"),ae.snap=$(),ae.$=x(ae)}function $(){for(var e=t;e.length;e=e.parent())if(angular.isDefined(e.attr("md-autocomplete-snap")))return e[0];return ae.wrap}function x(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=angular.element(e[n]));return t}function C(t,o){!t&&o?(d(),ae&&n.nextTick(function(){n.disableScrollAround(ae.ul)},!1,e)):t&&!o&&n.nextTick(function(){n.enableScrolling()},!1,e)}function v(){ce=!0}function A(){me||ae.input.focus(),ce=!1,oe.hidden=S()}function b(){ae.input.focus()}function T(t,n){t&&O(t).then(function(o){e.searchText=o,E(t,n)}),t!==n&&I()}function I(){angular.isFunction(e.itemChange)&&e.itemChange(L(e.selectedItem))}function M(){angular.isFunction(e.textChange)&&e.textChange()}function E(e,t){ue.forEach(function(n){n(e,t)})}function D(e){-1==ue.indexOf(e)&&ue.push(e)}function w(e){var t=ue.indexOf(e);-1!=t&&ue.splice(t,1)}function N(t,n){oe.index=R(),t!==n&&O(e.selectedItem).then(function(o){t!==o&&(e.selectedItem=null,t!==n&&M(),W()?te():(oe.matches=[],G(!1),X()))})}function y(){me=!1,ce||(oe.hidden=S())}function H(e){e&&(ce=!1,me=!1),ae.input.blur()}function k(){me=!0,angular.isString(e.searchText)||(e.searchText=""),oe.hidden=S(),oe.hidden||te()}function P(e){switch(e.keyCode){case o.KEY_CODE.DOWN_ARROW:if(oe.loading)return;e.stopPropagation(),e.preventDefault(),oe.index=Math.min(oe.index+1,oe.matches.length-1),Q(),X();break;case o.KEY_CODE.UP_ARROW:if(oe.loading)return;e.stopPropagation(),e.preventDefault(),oe.index=oe.index<0?oe.matches.length-1:Math.max(0,oe.index-1),Q(),X();break;case o.KEY_CODE.TAB:if(A(),oe.hidden||oe.loading||oe.index<0||oe.matches.length<1)return;K(oe.index);break;case o.KEY_CODE.ENTER:if(oe.hidden||oe.loading||oe.index<0||oe.matches.length<1)return;if(q())return;e.stopPropagation(),e.preventDefault(),K(oe.index);break;case o.KEY_CODE.ESCAPE:e.stopPropagation(),e.preventDefault(),Y(),H(!0)}}function _(){return angular.isNumber(e.minLength)?e.minLength:1}function O(t){function n(t){return t&&e.itemText?e.itemText(L(t)):null}return u.when(n(t)||t)}function L(e){if(e){var t={};return oe.itemName&&(t[oe.itemName]=e),t}}function R(){return e.autoselect?0:-1}function G(e){oe.loading!=e&&(oe.loading=e),oe.hidden=S()}function S(){return oe.loading&&!F()?!0:q()?!0:me?!U():!0}function U(){return W()&&F()||ee()}function F(){return oe.matches.length?!0:!1}function q(){return oe.scope.selectedItem?!0:!1}function V(){return oe.loading&&!q()}function B(){return O(oe.matches[oe.index])}function W(){return(e.searchText||"").length>=_()}function j(e,t,n){Object.defineProperty(oe,e,{get:function(){return n},set:function(e){var o=n;n=e,t(e,o)}})}function K(t){n.nextTick(function(){O(oe.matches[t]).then(function(e){var t=ae.$.input.controller("ngModel");t.$setViewValue(e),t.$render()})["finally"](function(){e.selectedItem=oe.matches[t],G(!1)})},!1)}function Y(){G(!0),oe.index=0,oe.matches=[],e.searchText="",K(-1);var t=document.createEvent("CustomEvent");t.initCustomEvent("input",!0,!0,{value:e.searchText}),ae.input.dispatchEvent(t),ae.input.focus()}function z(t){function o(n){re[l]=n,(t||"")===(e.searchText||"")&&(oe.matches=n,oe.hidden=S(),e.selectOnMatch&&ne(),X(),d())}var i=e.$parent.$eval(le),l=t.toLowerCase();angular.isArray(i)?o(i):i&&(G(!0),n.nextTick(function(){i.success&&i.success(o),i.then&&i.then(o),i["finally"]&&i["finally"](function(){G(!1)})},!0,e))}function X(){B().then(function(e){oe.messages=[J(),e]})}function J(){if(de===oe.matches.length)return"";switch(de=oe.matches.length,oe.matches.length){case 0:return"There are no matches available.";case 1:return"There is 1 match available.";default:return"There are "+oe.matches.length+" matches available."}}function Q(){if(ae.li[0]){var e=ae.li[0].offsetHeight,t=e*oe.index,n=t+e,o=ae.scroller.clientHeight,i=ae.scroller.scrollTop;i>t?Z(t):n>i+o&&Z(n-o)}}function Z(e){ae.$.scrollContainer.controller("mdVirtualRepeatContainer").scrollTo(e)}function ee(){var e=(oe.scope.searchText||"").length;return oe.hasNotFound&&!F()&&!oe.loading&&e>=_()&&me&&!q()}function te(){var t=e.searchText||"",n=t.toLowerCase();!e.noCache&&re[n]?(oe.matches=re[n],X()):z(t),oe.hidden=S()}function ne(){var t=e.searchText,n=oe.matches,o=n[0];1===n.length&&O(o).then(function(e){t==e&&K(0)})}var oe=this,ie=e.itemsExpr.split(/ in /i),le=ie[1],ae=null,re={},ce=!1,ue=[],me=!1,de=0;return j("hidden",C,!0),oe.scope=e,oe.parent=e.$parent,oe.itemName=ie[0],oe.matches=[],oe.loading=!1,oe.hidden=!0,oe.index=null,oe.messages=[],oe.id=n.nextUid(),oe.isDisabled=null,oe.isRequired=null,oe.hasNotFound=!1,oe.keydown=P,oe.blur=y,oe.focus=k,oe.clear=Y,oe.select=K,oe.listEnter=v,oe.listLeave=A,oe.mouseUp=b,oe.getCurrentDisplayValue=B,oe.registerSelectedItemWatcher=D,oe.unregisterSelectedItemWatcher=w,oe.notFoundVisible=ee,oe.loadingIsVisible=V,m()}function MdAutocomplete(){var e=!1;return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",selectOnMatch:"=?mdSelectOnMatch",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass",inputId:"@?mdInputId"},link:function(t,n,o,i){i.hasNotFound=e},template:function(t,n){function o(){var e=t.find("md-item-template").detach(),n=e.length?e.html():t.html();return e.length||t.empty(),"<md-autocomplete-parent-scope md-autocomplete-replace>"+n+"</md-autocomplete-parent-scope>"}function i(){var e=t.find("md-not-found").detach(),n=e.length?e.html():"";return n?'<li ng-if="$mdAutocompleteCtrl.notFoundVisible()" md-autocomplete-parent-scope>'+n+"</li>":""}function l(){return n.mdFloatingLabel?' <md-input-container flex ng-if="floatingLabel"> <label>{{floatingLabel}}</label> <input type="search" '+(null!=u?'tabindex="'+u+'"':"")+' id="{{ inputId || \'fl-input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-minlength="inputMinlength" ng-maxlength="inputMaxlength" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur()" ng-focus="$mdAutocompleteCtrl.focus()" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" aria-label="{{floatingLabel}}" aria-autocomplete="list" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <div md-autocomplete-parent-scope md-autocomplete-replace>'+c+"</div> </md-input-container>":' <input flex type="search" '+(null!=u?'tabindex="'+u+'"':"")+' id="{{ inputId || \'input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" ng-if="!floatingLabel" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur()" ng-focus="$mdAutocompleteCtrl.focus()" placeholder="{{placeholder}}" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" aria-label="{{placeholder}}" aria-autocomplete="list" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <button type="button" tabindex="-1" ng-if="$mdAutocompleteCtrl.scope.searchText && !$mdAutocompleteCtrl.isDisabled" ng-click="$mdAutocompleteCtrl.clear()"> <md-icon md-svg-icon="md-close"></md-icon> <span class="md-visually-hidden">Clear</span> </button> '}var a=i(),r=o(),c=t.html(),u=n.tabindex;return e=a?!0:!1,n.hasOwnProperty("tabindex")||t.attr("tabindex","-1"),' <md-autocomplete-wrap layout="row" ng-class="{ \'md-whiteframe-z1\': !floatingLabel, \'md-menu-showing\': !$mdAutocompleteCtrl.hidden }" role="listbox"> '+l()+' <md-progress-linear class="'+(n.mdFloatingLabel?"md-inline":"")+'" ng-if="$mdAutocompleteCtrl.loadingIsVisible()" md-mode="indeterminate"></md-progress-linear> <md-virtual-repeat-container md-auto-shrink md-auto-shrink-min="1" ng-mouseenter="$mdAutocompleteCtrl.listEnter()" ng-mouseleave="$mdAutocompleteCtrl.listLeave()" ng-mouseup="$mdAutocompleteCtrl.mouseUp()" ng-hide="$mdAutocompleteCtrl.hidden" class="md-autocomplete-suggestions-container md-whiteframe-z1" ng-class="{ \'md-not-found\': $mdAutocompleteCtrl.notFoundVisible() }" role="presentation"> <ul class="md-autocomplete-suggestions" ng-class="::menuClass" id="ul-{{$mdAutocompleteCtrl.id}}"> <li md-virtual-repeat="item in $mdAutocompleteCtrl.matches" ng-class="{ selected: $index === $mdAutocompleteCtrl.index }" ng-click="$mdAutocompleteCtrl.select($index)" md-extra-name="$mdAutocompleteCtrl.itemName"> '+r+" </li>"+a+' </ul> </md-virtual-repeat-container> </md-autocomplete-wrap> <aria-status class="md-visually-hidden" role="status" aria-live="assertive"> <p ng-repeat="message in $mdAutocompleteCtrl.messages track by $index" ng-if="message">{{message}}</p> </aria-status>'}}}function MdAutocompleteItemScopeDirective(e,t){function n(e,n,o){return function(e,n,i){function l(n,o){c[o]=e[n],e.$watch(n,function(e){t.nextTick(function(){c[o]=e})})}function a(){var t=!1,n=!1;e.$watch(function(){n||t||(t=!0,e.$$postDigest(function(){n||c.$digest(),t=n=!1}))}),c.$watch(function(){n=!0})}var r=e.$mdAutocompleteCtrl,c=r.parent.$new(),u=r.itemName;l("$index","$index"),l("item",u),a(),o(c,function(e){n.after(e)})}}return{restrict:"AE",compile:n,terminal:!0,transclude:"element"}}function MdHighlightCtrl(e,t,n){function o(o,i){var a=null,r=null,c=n.mdHighlightFlags||"",u=e.$watch(function(e){return{term:o(e),unsafeText:i(e)}},function(e,n){(null===a||e.unsafeText!==n.unsafeText)&&(a=angular.element("<div>").text(e.unsafeText).html()),(null===r||e.term!==n.term)&&(r=l(e.term,c)),t.html(a.replace(r,'<span class="highlight">$&</span>'))},!0);t.on("$destroy",u)}function i(e){return e&&e.replace(/[\\\^\$\*\+\?\.\(\)\|\{}\[\]]/g,"\\$&")}function l(e,t){var n="";return t.indexOf("^")>=1&&(n+="^"),n+=e,t.indexOf("$")>=1&&(n+="$"),new RegExp(i(n),t.replace(/[\$\^]/g,""))}this.init=o}function MdHighlight(e,t){return{terminal:!0,controller:"MdHighlightCtrl",compile:function(n,o){var i=t(o.mdHighlightText),l=e(n.html());return function(e,t,n,o){o.init(i,l)}}}}goog.provide("ng.material.components.autocomplete"),goog.require("ng.material.components.icon"),goog.require("ng.material.components.virtualRepeat"),goog.require("ng.material.core"),angular.module("material.components.autocomplete",["material.core","material.components.icon","material.components.virtualRepeat"]),angular.module("material.components.autocomplete").controller("MdAutocompleteCtrl",MdAutocompleteCtrl);var ITEM_HEIGHT=41,MAX_HEIGHT=5.5*ITEM_HEIGHT,MENU_PADDING=8,INPUT_PADDING=2;MdAutocompleteCtrl.$inject=["$scope","$element","$mdUtil","$mdConstant","$mdTheming","$window","$animate","$rootElement","$attrs","$q"],angular.module("material.components.autocomplete").directive("mdAutocomplete",MdAutocomplete),angular.module("material.components.autocomplete").directive("mdAutocompleteParentScope",MdAutocompleteItemScopeDirective),MdAutocompleteItemScopeDirective.$inject=["$compile","$mdUtil"],angular.module("material.components.autocomplete").controller("MdHighlightCtrl",MdHighlightCtrl),MdHighlightCtrl.$inject=["$scope","$element","$attrs"],angular.module("material.components.autocomplete").directive("mdHighlightText",MdHighlight),MdHighlight.$inject=["$interpolate","$parse"],ng.material.components.autocomplete=angular.module("material.components.autocomplete");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.backdrop');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.backdrop"),goog.require("ng.material.core"),angular.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$animate","$rootElement","$window","$log","$$rAF","$document",function(o,e,t,n,a,r,i){function p(p,d,m){var s=n.getComputedStyle(i[0].body);if("fixed"==s.position){var l=parseInt(s.height,10)+Math.abs(parseInt(s.top,10));d.css({height:l+"px"})}e.pin&&e.pin(d,t),r(function(){var e=d.parent()[0];if(e){"BODY"==e.nodeName&&d.css({position:"fixed"});var t=n.getComputedStyle(e);"static"==t.position&&a.warn(c)}o.inherit(d,d.parent())})}var c="<md-backdrop> may not work properly in a scrolled, static-positioned parent container.";return{restrict:"E",link:p}}]),ng.material.components.backdrop=angular.module("material.components.backdrop");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.bottomSheet');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdBottomSheetDirective(e){return{restrict:"E",link:function(t,o,n){t.$on("$destroy",function(){e.destroy()})}}}function MdBottomSheetProvider(e){function t(e,t,r,a,i,c,l){function m(o,n,l,m){n=r.extractElementByName(n,"md-bottom-sheet"),u=r.createBackdrop(o,"md-bottom-sheet-backdrop md-opaque"),l.clickOutsideToClose&&u.on("click",function(){r.nextTick(i.cancel,!0)}),a.inherit(u,l.parent),e.enter(u,l.parent,null);var d=new s(n,l.parent);return l.bottomSheet=d,a.inherit(d.element,l.parent),l.disableParentScroll&&(l.restoreScroll=r.disableScrollAround(d.element,l.parent)),e.enter(d.element,l.parent).then(function(){var e=r.findFocusTarget(n)||angular.element(n[0].querySelector("button")||n[0].querySelector("a")||n[0].querySelector("[ng-click]"));e.focus(),l.escapeToClose&&(l.rootElementKeyupCallback=function(e){e.keyCode===t.KEY_CODE.ESCAPE&&r.nextTick(i.cancel,!0)},c.on("keyup",l.rootElementKeyupCallback))})}function d(t,o,n){var r=n.bottomSheet;return e.leave(u),e.leave(r.element).then(function(){n.disableParentScroll&&(n.restoreScroll(),delete n.restoreScroll),r.cleanup()})}function s(e,a){function c(o){e.css(t.CSS.TRANSITION_DURATION,"0ms")}function m(o){var r=o.pointer.distanceY;5>r&&(r=Math.max(-n,r/2)),e.css(t.CSS.TRANSFORM,"translate3d(0,"+(n+r)+"px,0)")}function d(n){if(n.pointer.distanceY>0&&(n.pointer.distanceY>20||Math.abs(n.pointer.velocityY)>o)){var a=e.prop("offsetHeight")-n.pointer.distanceY,c=Math.min(a/n.pointer.velocityY*.75,500);e.css(t.CSS.TRANSITION_DURATION,c+"ms"),r.nextTick(i.cancel,!0)}else e.css(t.CSS.TRANSITION_DURATION,""),e.css(t.CSS.TRANSFORM,"")}var s=l.register(a,"drag",{horizontal:!1});return a.on("$md.dragstart",c).on("$md.drag",m).on("$md.dragend",d),{element:e,cleanup:function(){s(),a.off("$md.dragstart",c),a.off("$md.drag",m),a.off("$md.dragend",d)}}}var u;return{themable:!0,onShow:m,onRemove:d,escapeToClose:!0,clickOutsideToClose:!0,disableParentScroll:!0}}var o=.5,n=80;return t.$inject=["$animate","$mdConstant","$mdUtil","$mdTheming","$mdBottomSheet","$rootElement","$mdGesture"],e("$mdBottomSheet").setDefaults({methods:["disableParentScroll","escapeToClose","clickOutsideToClose"],options:t})}goog.provide("ng.material.components.bottomSheet"),goog.require("ng.material.components.backdrop"),goog.require("ng.material.core"),angular.module("material.components.bottomSheet",["material.core","material.components.backdrop"]).directive("mdBottomSheet",MdBottomSheetDirective).provider("$mdBottomSheet",MdBottomSheetProvider),MdBottomSheetDirective.$inject=["$mdBottomSheet"],MdBottomSheetProvider.$inject=["$$interimElementProvider"],ng.material.components.bottomSheet=angular.module("material.components.bottomSheet");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.button');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdButtonDirective(t,e,n,o){function i(t){return angular.isDefined(t.href)||angular.isDefined(t.ngHref)||angular.isDefined(t.ngLink)||angular.isDefined(t.uiSref)}function a(t,e){if(i(e))return'<a class="md-button" ng-transclude></a>';var n="undefined"==typeof e.type?"button":e.type;return'<button class="md-button" type="'+n+'" ng-transclude></button>'}function u(a,u,r){var c=u[0];e(u),t.attach(a,u);var d=c.textContent.trim();d||n.expect(u,"aria-label"),i(r)&&angular.isDefined(r.ngDisabled)&&a.$watch(r.ngDisabled,function(t){u.attr("tabindex",t?-1:0)}),u.on("click",function(t){r.disabled===!0&&(t.preventDefault(),t.stopImmediatePropagation())}),a.mouseActive=!1,u.on("mousedown",function(){a.mouseActive=!0,o(function(){a.mouseActive=!1},100)}).on("focus",function(){a.mouseActive===!1&&u.addClass("md-focused")}).on("blur",function(t){u.removeClass("md-focused")})}return{restrict:"EA",replace:!0,transclude:!0,template:a,link:u}}goog.provide("ng.material.components.button"),goog.require("ng.material.core"),angular.module("material.components.button",["material.core"]).directive("mdButton",MdButtonDirective),MdButtonDirective.$inject=["$mdButtonInkRipple","$mdTheming","$mdAria","$timeout"],ng.material.components.button=angular.module("material.components.button");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.card');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdCardDirective(e){return{restrict:"E",link:function(r,a){e(a)}}}goog.provide("ng.material.components.card"),goog.require("ng.material.core"),angular.module("material.components.card",["material.core"]).directive("mdCard",mdCardDirective),mdCardDirective.$inject=["$mdTheming"],ng.material.components.card=angular.module("material.components.card");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.checkbox');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdCheckboxDirective(e,i,n,t,o,c){function a(a,r){return r.type="checkbox",r.tabindex=r.tabindex||"0",a.attr("role",r.type),a.on("click",function(e){this.hasAttribute("disabled")&&e.stopImmediatePropagation()}),function(a,r,l,s){function u(e,i,n){l[e]&&a.$watch(l[e],function(e){n[e]&&r.attr(i,n[e])})}function m(e){var i=e.which||e.keyCode;(i===n.KEY_CODE.SPACE||i===n.KEY_CODE.ENTER)&&(e.preventDefault(),r.hasClass("md-focused")||r.addClass("md-focused"),h(e))}function h(e){r[0].hasAttribute("disabled")||a.$apply(function(){var i=l.ngChecked?l.checked:!s.$viewValue;s.$setViewValue(i,e&&e.type),s.$render()})}function p(){s.$viewValue?r.addClass(d):r.removeClass(d)}s=s||o.fakeNgModel(),t(r),l.ngChecked&&a.$watch(a.$eval.bind(a,l.ngChecked),s.$setViewValue.bind(s)),u("ngDisabled","tabindex",{"true":"-1","false":l.tabindex}),i.expectWithText(r,"aria-label"),e.link.pre(a,{on:angular.noop,0:{}},l,[s]),a.mouseActive=!1,r.on("click",h).on("keypress",m).on("mousedown",function(){a.mouseActive=!0,c(function(){a.mouseActive=!1},100)}).on("focus",function(){a.mouseActive===!1&&r.addClass("md-focused")}).on("blur",function(){r.removeClass("md-focused")}),s.$render=p}}e=e[0];var d="md-checked";return{restrict:"E",transclude:!0,require:"?ngModel",priority:210,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-icon"></div></div><div ng-transclude class="md-label"></div>',compile:a}}goog.provide("ng.material.components.checkbox"),goog.require("ng.material.core"),angular.module("material.components.checkbox",["material.core"]).directive("mdCheckbox",MdCheckboxDirective),MdCheckboxDirective.$inject=["inputDirective","$mdAria","$mdConstant","$mdTheming","$mdUtil","$timeout"],ng.material.components.checkbox=angular.module("material.components.checkbox");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.chips');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdChip(t,e){function i(i,s){return i.append(e.processTemplate(n)),function(e,i,n,s){i.addClass("md-chip"),t(i),s&&angular.element(i[0].querySelector(".md-chip-content")).on("blur",function(){s.selectedChip=-1})}}var n=e.processTemplate(DELETE_HINT_TEMPLATE);return{restrict:"E",require:"^?mdChips",compile:i}}function MdChipRemove(t){function e(e,i,n,s){i.on("click",function(t){e.$apply(function(){s.removeChip(e.$$replacedScope.$index)})}),t(function(){i.attr({tabindex:-1,"aria-hidden":!0}),i.find("button").attr("tabindex","-1")})}return{restrict:"A",require:"^mdChips",scope:!1,link:e}}function MdChipTransclude(t){function e(e,i,n){var s=e.$parent.$mdChipsCtrl,o=s.parent.$new(!1,s.parent);o.$$replacedScope=e,o.$chip=e.$chip,o.$index=e.$index,o.$mdChipsCtrl=s;var r=s.$scope.$eval(n.mdChipTransclude);i.html(r),t(i.contents())(o)}return{restrict:"EA",terminal:!0,link:e,scope:!1}}function MdChipsCtrl(t,e,i,n,s){this.$timeout=s,this.$mdConstant=e,this.$scope=t,this.parent=t.$parent,this.$log=i,this.$element=n,this.ngModelCtrl=null,this.userInputNgModelCtrl=null,this.userInputElement=null,this.items=[],this.selectedChip=-1,this.hasAutocomplete=!1,this.deleteHint="Press delete to remove this chip.",this.deleteButtonLabel="Remove",this.chipBuffer="",this.useOnAppend=!1,this.useTransformChip=!1,this.useOnAdd=!1,this.useOnRemove=!1,this.useOnSelect=!1}function MdChips(t,e,i,n,s){function o(o,r){function c(t){if(r.ngModel){var e=h[0].querySelector(t);return e&&e.outerHTML}}var h=r.$mdUserTemplate;r.$mdUserTemplate=null;var l=c("md-chips>*[md-chip-remove]")||p.remove,d=c("md-chips>md-chip-template")||p["default"],a=c("md-chips>md-autocomplete")||c("md-chips>input")||p.input,m=h.find("md-chip");return h[0].querySelector("md-chip-template>*[md-chip-remove]")&&n.warn("invalid placement of md-chip-remove within md-chip-template."),function(n,o,c,h){e.initOptionalProperties(n,r),t(o);var C=h[0];if(C.chipContentsTemplate=d,C.chipRemoveTemplate=l,C.chipInputTemplate=a,o.attr({"aria-hidden":!0,tabindex:-1}).on("focus",function(){C.onFocus()}),r.ngModel&&(C.configureNgModel(o.controller("ngModel")),c.mdTransformChip&&C.useTransformChipExpression(),c.mdOnAppend&&C.useOnAppendExpression(),c.mdOnAdd&&C.useOnAddExpression(),c.mdOnRemove&&C.useOnRemoveExpression(),c.mdOnSelect&&C.useOnSelectExpression(),a!=p.input&&n.$watch("$mdChipsCtrl.readonly",function(t){t||e.nextTick(function(){0===a.indexOf("<md-autocomplete")&&C.configureAutocomplete(o.find("md-autocomplete").controller("mdAutocomplete")),C.configureUserInput(o.find("input"))})}),e.nextTick(function(){var t=o.find("input");t&&t.toggleClass("md-input",!0)})),m.length>0){var u=i(m.clone())(n.$parent);s(function(){o.find("md-chips-wrap").prepend(u)})}}}function r(){return{chips:e.processTemplate(MD_CHIPS_TEMPLATE),input:e.processTemplate(CHIP_INPUT_TEMPLATE),"default":e.processTemplate(CHIP_DEFAULT_TEMPLATE),remove:e.processTemplate(CHIP_REMOVE_TEMPLATE)}}var p=r();return{template:function(t,e){return e.$mdUserTemplate=t.clone(),p.chips},require:["mdChips"],restrict:"E",controller:"MdChipsCtrl",controllerAs:"$mdChipsCtrl",bindToController:!0,compile:o,scope:{readonly:"=readonly",placeholder:"@",secondaryPlaceholder:"@",transformChip:"&mdTransformChip",onAppend:"&mdOnAppend",onAdd:"&mdOnAdd",onRemove:"&mdOnRemove",onSelect:"&mdOnSelect",deleteHint:"@",deleteButtonLabel:"@",separatorKeys:"=?mdSeparatorKeys",requireMatch:"=?mdRequireMatch"}}}function MdContactChipsCtrl(){this.selectedItem=null,this.searchText=""}function MdContactChips(t,e){function i(i,n){return function(i,s,o,r){e.initOptionalProperties(i,n),t(s),s.attr("tabindex","-1")}}return{template:function(t,e){return MD_CONTACT_CHIPS_TEMPLATE},restrict:"E",controller:"MdContactChipsCtrl",controllerAs:"$mdContactChipsCtrl",bindToController:!0,compile:i,scope:{contactQuery:"&mdContacts",placeholder:"@",secondaryPlaceholder:"@",contactName:"@mdContactName",contactImage:"@mdContactImage",contactEmail:"@mdContactEmail",contacts:"=ngModel",requireMatch:"=?mdRequireMatch",highlightFlags:"@?mdHighlightFlags"}}}goog.provide("ng.material.components.chips"),goog.require("ng.material.components.autocomplete"),goog.require("ng.material.core"),angular.module("material.components.chips",["material.core","material.components.autocomplete"]),angular.module("material.components.chips").directive("mdChip",MdChip);var DELETE_HINT_TEMPLATE=' <span ng-if="!$mdChipsCtrl.readonly" class="md-visually-hidden"> {{$mdChipsCtrl.deleteHint}} </span>';MdChip.$inject=["$mdTheming","$mdUtil"],angular.module("material.components.chips").directive("mdChipRemove",MdChipRemove),MdChipRemove.$inject=["$timeout"],angular.module("material.components.chips").directive("mdChipTransclude",MdChipTransclude),MdChipTransclude.$inject=["$compile"],angular.module("material.components.chips").controller("MdChipsCtrl",MdChipsCtrl),MdChipsCtrl.$inject=["$scope","$mdConstant","$log","$element","$timeout"],MdChipsCtrl.prototype.inputKeydown=function(t){var e=this.getChipBuffer();if(!(this.hasAutocomplete&&t.isDefaultPrevented&&t.isDefaultPrevented())){if(t.keyCode===this.$mdConstant.KEY_CODE.BACKSPACE){if(e)return;return t.preventDefault(),t.stopPropagation(),void(this.items.length&&this.selectAndFocusChipSafe(this.items.length-1))}if((!this.separatorKeys||this.separatorKeys.length<1)&&(this.separatorKeys=[this.$mdConstant.KEY_CODE.ENTER]),-1!==this.separatorKeys.indexOf(t.keyCode)){if(this.hasAutocomplete&&this.requireMatch||!e)return;t.preventDefault(),this.appendChip(e),this.resetChipBuffer()}}},MdChipsCtrl.prototype.chipKeydown=function(t){if(!this.getChipBuffer())switch(t.keyCode){case this.$mdConstant.KEY_CODE.BACKSPACE:case this.$mdConstant.KEY_CODE.DELETE:if(this.selectedChip<0)return;t.preventDefault(),this.removeAndSelectAdjacentChip(this.selectedChip);break;case this.$mdConstant.KEY_CODE.LEFT_ARROW:t.preventDefault(),this.selectedChip<0&&(this.selectedChip=this.items.length),this.items.length&&this.selectAndFocusChipSafe(this.selectedChip-1);break;case this.$mdConstant.KEY_CODE.RIGHT_ARROW:t.preventDefault(),this.selectAndFocusChipSafe(this.selectedChip+1);break;case this.$mdConstant.KEY_CODE.ESCAPE:case this.$mdConstant.KEY_CODE.TAB:if(this.selectedChip<0)return;t.preventDefault(),this.onFocus()}},MdChipsCtrl.prototype.getPlaceholder=function(){var t=this.items.length&&(""==this.secondaryPlaceholder||this.secondaryPlaceholder);return t?this.placeholder:this.secondaryPlaceholder},MdChipsCtrl.prototype.removeAndSelectAdjacentChip=function(t){var e=this.getAdjacentChipIndex(t);this.removeChip(t),this.$timeout(angular.bind(this,function(){this.selectAndFocusChipSafe(e)}))},MdChipsCtrl.prototype.resetSelectedChip=function(){this.selectedChip=-1},MdChipsCtrl.prototype.getAdjacentChipIndex=function(t){var e=this.items.length-1;return 0==e?-1:t==e?t-1:t},MdChipsCtrl.prototype.appendChip=function(t){if(this.useTransformChip&&this.transformChip){var e=this.transformChip({$chip:t});angular.isDefined(e)&&(t=e)}if(angular.isObject(t)){var i=this.items.some(function(e){return angular.equals(t,e)});if(i)return}if(!(null==t||this.items.indexOf(t)+1)){var n=this.items.push(t);this.useOnAdd&&this.onAdd&&this.onAdd({$chip:t,$index:n})}},MdChipsCtrl.prototype.useOnAppendExpression=function(){this.$log.warn("md-on-append is deprecated; please use md-transform-chip or md-on-add instead"),this.useTransformChip&&this.transformChip||(this.useTransformChip=!0,this.transformChip=this.onAppend)},MdChipsCtrl.prototype.useTransformChipExpression=function(){this.useTransformChip=!0},MdChipsCtrl.prototype.useOnAddExpression=function(){this.useOnAdd=!0},MdChipsCtrl.prototype.useOnRemoveExpression=function(){this.useOnRemove=!0},MdChipsCtrl.prototype.useOnSelectExpression=function(){this.useOnSelect=!0},MdChipsCtrl.prototype.getChipBuffer=function(){return this.userInputElement?this.userInputNgModelCtrl?this.userInputNgModelCtrl.$viewValue:this.userInputElement[0].value:this.chipBuffer},MdChipsCtrl.prototype.resetChipBuffer=function(){this.userInputElement?this.userInputNgModelCtrl?(this.userInputNgModelCtrl.$setViewValue(""),this.userInputNgModelCtrl.$render()):this.userInputElement[0].value="":this.chipBuffer=""},MdChipsCtrl.prototype.removeChip=function(t){var e=this.items.splice(t,1);e&&e.length&&this.useOnRemove&&this.onRemove&&this.onRemove({$chip:e[0],$index:t})},MdChipsCtrl.prototype.removeChipAndFocusInput=function(t){this.removeChip(t),this.onFocus()},MdChipsCtrl.prototype.selectAndFocusChipSafe=function(t){return this.items.length?t===this.items.length?this.onFocus():(t=Math.max(t,0),t=Math.min(t,this.items.length-1),this.selectChip(t),void this.focusChip(t)):(this.selectChip(-1),void this.onFocus())},MdChipsCtrl.prototype.selectChip=function(t){t>=-1&&t<=this.items.length?(this.selectedChip=t,this.useOnSelect&&this.onSelect&&this.onSelect({$chip:this.items[this.selectedChip]})):this.$log.warn("Selected Chip index out of bounds; ignoring.")},MdChipsCtrl.prototype.selectAndFocusChip=function(t){this.selectChip(t),-1!=t&&this.focusChip(t)},MdChipsCtrl.prototype.focusChip=function(t){this.$element[0].querySelector('md-chip[index="'+t+'"] .md-chip-content').focus()},MdChipsCtrl.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){e.items=e.ngModelCtrl.$viewValue}},MdChipsCtrl.prototype.onFocus=function(){var t=this.$element[0].querySelector("input");t&&t.focus(),this.resetSelectedChip()},MdChipsCtrl.prototype.onInputFocus=function(){this.inputHasFocus=!0,this.resetSelectedChip()},MdChipsCtrl.prototype.onInputBlur=function(){this.inputHasFocus=!1},MdChipsCtrl.prototype.configureUserInput=function(t){this.userInputElement=t;var e=t.controller("ngModel");e!=this.ngModelCtrl&&(this.userInputNgModelCtrl=e);var i=this.$scope,n=this,s=function(t,e){i.$evalAsync(angular.bind(n,e,t))};t.attr({tabindex:0}).on("keydown",function(t){s(t,n.inputKeydown)}).on("focus",function(t){s(t,n.onInputFocus)}).on("blur",function(t){s(t,n.onInputBlur)})},MdChipsCtrl.prototype.configureAutocomplete=function(t){t&&(this.hasAutocomplete=!0,t.registerSelectedItemWatcher(angular.bind(this,function(t){t&&(this.appendChip(t),this.resetChipBuffer())})),this.$element.find("input").on("focus",angular.bind(this,this.onInputFocus)).on("blur",angular.bind(this,this.onInputBlur)))},MdChipsCtrl.prototype.hasFocus=function(){return this.inputHasFocus||this.selectedChip>=0},angular.module("material.components.chips").directive("mdChips",MdChips);var MD_CHIPS_TEMPLATE=' <md-chips-wrap ng-if="!$mdChipsCtrl.readonly || $mdChipsCtrl.items.length > 0" ng-keydown="$mdChipsCtrl.chipKeydown($event)" ng-class="{ \'md-focused\': $mdChipsCtrl.hasFocus(), \'md-readonly\': !$mdChipsCtrl.ngModelCtrl }" class="md-chips"> <md-chip ng-repeat="$chip in $mdChipsCtrl.items" index="{{$index}}" ng-class="{\'md-focused\': $mdChipsCtrl.selectedChip == $index, \'md-readonly\': $mdChipsCtrl.readonly}"> <div class="md-chip-content" tabindex="-1" aria-hidden="true" ng-focus="!$mdChipsCtrl.readonly && $mdChipsCtrl.selectChip($index)" md-chip-transclude="$mdChipsCtrl.chipContentsTemplate"></div> <div ng-if="!$mdChipsCtrl.readonly" class="md-chip-remove-container" md-chip-transclude="$mdChipsCtrl.chipRemoveTemplate"></div> </md-chip> <div ng-if="!$mdChipsCtrl.readonly && $mdChipsCtrl.ngModelCtrl" class="md-chip-input-container" md-chip-transclude="$mdChipsCtrl.chipInputTemplate"></div> </div> </md-chips-wrap>',CHIP_INPUT_TEMPLATE=' <input class="md-input" tabindex="0" placeholder="{{$mdChipsCtrl.getPlaceholder()}}" aria-label="{{$mdChipsCtrl.getPlaceholder()}}" ng-model="$mdChipsCtrl.chipBuffer" ng-focus="$mdChipsCtrl.onInputFocus()" ng-blur="$mdChipsCtrl.onInputBlur()" ng-keydown="$mdChipsCtrl.inputKeydown($event)">',CHIP_DEFAULT_TEMPLATE=" <span>{{$chip}}</span>",CHIP_REMOVE_TEMPLATE=' <button class="md-chip-remove" ng-if="!$mdChipsCtrl.readonly" ng-click="$mdChipsCtrl.removeChipAndFocusInput($$replacedScope.$index)" type="button" aria-hidden="true" tabindex="-1"> <md-icon md-svg-icon="md-close"></md-icon> <span class="md-visually-hidden"> {{$mdChipsCtrl.deleteButtonLabel}} </span> </button>';MdChips.$inject=["$mdTheming","$mdUtil","$compile","$log","$timeout"],angular.module("material.components.chips").controller("MdContactChipsCtrl",MdContactChipsCtrl),MdContactChipsCtrl.prototype.queryContact=function(t){var e=this.contactQuery({$query:t});return this.filterSelected?e.filter(angular.bind(this,this.filterSelectedContacts)):e},MdContactChipsCtrl.prototype.itemName=function(t){return t[this.contactName]},MdContactChipsCtrl.prototype.filterSelectedContacts=function(t){return-1==this.contacts.indexOf(t)},angular.module("material.components.chips").directive("mdContactChips",MdContactChips);var MD_CONTACT_CHIPS_TEMPLATE=' <md-chips class="md-contact-chips" ng-model="$mdContactChipsCtrl.contacts" md-require-match="$mdContactChipsCtrl.requireMatch" md-autocomplete-snap> <md-autocomplete md-menu-class="md-contact-chips-suggestions" md-selected-item="$mdContactChipsCtrl.selectedItem" md-search-text="$mdContactChipsCtrl.searchText" md-items="item in $mdContactChipsCtrl.queryContact($mdContactChipsCtrl.searchText)" md-item-text="$mdContactChipsCtrl.itemName(item)" md-no-cache="true" md-autoselect placeholder="{{$mdContactChipsCtrl.contacts.length == 0 ? $mdContactChipsCtrl.placeholder : $mdContactChipsCtrl.secondaryPlaceholder}}"> <div class="md-contact-suggestion"> <img ng-src="{{item[$mdContactChipsCtrl.contactImage]}}" alt="{{item[$mdContactChipsCtrl.contactName]}}" ng-if="item[$mdContactChipsCtrl.contactImage]" /> <span class="md-contact-name" md-highlight-text="$mdContactChipsCtrl.searchText" md-highlight-flags="{{$mdContactChipsCtrl.highlightFlags}}"> {{item[$mdContactChipsCtrl.contactName]}} </span> <span class="md-contact-email" >{{item[$mdContactChipsCtrl.contactEmail]}}</span> </div> </md-autocomplete> <md-chip-template> <div class="md-contact-avatar"> <img ng-src="{{$chip[$mdContactChipsCtrl.contactImage]}}" alt="{{$chip[$mdContactChipsCtrl.contactName]}}" ng-if="$chip[$mdContactChipsCtrl.contactImage]" /> </div> <div class="md-contact-name"> {{$chip[$mdContactChipsCtrl.contactName]}} </div> </md-chip-template> </md-chips>';MdContactChips.$inject=["$mdTheming","$mdUtil"],ng.material.components.chips=angular.module("material.components.chips");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.content');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdContentDirective(e){function o(e,o){this.$scope=e,this.$element=o}return{restrict:"E",controller:["$scope","$element",o],link:function(o,t,n){t[0];e(t),o.$broadcast("$mdContentLoaded",t),iosScrollFix(t[0])}}}function iosScrollFix(e){angular.element(e).on("$md.pressdown",function(o){"t"===o.pointer.type&&(o.$materialScrollFixed||(o.$materialScrollFixed=!0,0===e.scrollTop?e.scrollTop=1:e.scrollHeight===e.scrollTop+e.offsetHeight&&(e.scrollTop-=1)))})}goog.provide("ng.material.components.content"),goog.require("ng.material.core"),angular.module("material.components.content",["material.core"]).directive("mdContent",mdContentDirective),mdContentDirective.$inject=["$mdTheming"],ng.material.components.content=angular.module("material.components.content");

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.datepicker"),goog.require("ng.material.components.icon"),goog.require("ng.material.components.virtualRepeat"),goog.require("ng.material.core"),function(){"use strict";function t(){return{template:'<table aria-hidden="true" class="md-calendar-day-header"><thead></thead></table><div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container" md-offset-size="'+(n-a)+'"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody role="rowgroup" md-virtual-repeat="i in ctrl.items" md-calendar-month md-month-offset="$index" class="md-calendar-month" md-start-index="ctrl.getSelectedMonthIndex()" md-item-size="'+a+'"></tbody></table></md-virtual-repeat-container></div>',scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",dateFilter:"=mdDateFilter"},require:["ngModel","mdCalendar"],controller:e,controllerAs:"ctrl",bindToController:!0,link:function(t,e,a,n){var i=n[0],r=n[1];r.configureNgModel(i)}}}function e(t,e,a,n,i,r,l,d,o,c,h){if(l(t),this.items={length:2e3},this.maxDate&&this.minDate){var u=d.getMonthDistance(this.minDate,this.maxDate)+1;u=Math.max(u,1),u+=1,this.items.length=u}if(this.$animate=n,this.$q=i,this.$mdInkRipple=c,this.$mdUtil=h,this.keyCode=r.KEY_CODE,this.dateUtil=d,this.dateLocale=o,this.$element=t,this.$scope=a,this.calendarElement=t[0].querySelector(".md-calendar"),this.calendarScroller=t[0].querySelector(".md-virtual-repeat-scroller"),this.today=this.dateUtil.createDateAtMidnight(),this.firstRenderableDate=this.dateUtil.incrementMonths(this.today,-this.items.length/2),this.minDate&&this.minDate>this.firstRenderableDate)this.firstRenderableDate=this.minDate;else if(this.maxDate){this.items.length-2;this.firstRenderableDate=this.dateUtil.incrementMonths(this.maxDate,-(this.items.length-2))}this.id=s++,this.ngModelCtrl=null,this.selectedDate=null,this.displayDate=null,this.focusDate=null,this.isInitialized=!1,this.isMonthTransitionInProgress=!1,e.tabindex||t.attr("tabindex","-1");var m=this;this.cellClickHandler=function(){var t=this;this.hasAttribute("data-timestamp")&&a.$apply(function(){var e=Number(t.getAttribute("data-timestamp"));m.setNgModelValue(m.dateUtil.createDateAtMidnight(e))})},this.attachCalendarEventListeners()}angular.module("material.components.datepicker",["material.core","material.components.icon","material.components.virtualRepeat"]).directive("mdCalendar",t);var a=265,n=45,i="md-calendar-selected-date",r="md-focus",s=0;e.$inject=["$element","$attrs","$scope","$animate","$q","$mdConstant","$mdTheming","$$mdDateUtil","$mdDateLocale","$mdInkRipple","$mdUtil"],e.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){e.changeSelectedDate(e.ngModelCtrl.$viewValue)}},e.prototype.buildInitialCalendarDisplay=function(){this.buildWeekHeader(),this.hideVerticalScrollbar(),this.displayDate=this.selectedDate||this.today,this.isInitialized=!0},e.prototype.hideVerticalScrollbar=function(){var t=this.$element[0],e=t.querySelector(".md-calendar-scroll-mask"),a=this.calendarScroller,n=t.querySelector(".md-calendar-day-header").clientWidth,i=a.offsetWidth-a.clientWidth;e.style.width=n+"px",a.style.width=n+i+"px",a.style.paddingRight=i+"px"},e.prototype.attachCalendarEventListeners=function(){this.$element.on("keydown",angular.bind(this,this.handleKeyEvent))},e.prototype.handleKeyEvent=function(t){var e=this;this.$scope.$apply(function(){if(t.which==e.keyCode.ESCAPE||t.which==e.keyCode.TAB)return e.$scope.$emit("md-calendar-close"),void(t.which==e.keyCode.TAB&&t.preventDefault());if(t.which===e.keyCode.ENTER)return e.setNgModelValue(e.displayDate),void t.preventDefault();var a=e.getFocusDateFromKeyEvent(t);a&&(a=e.boundDateByMinAndMax(a),t.preventDefault(),t.stopPropagation(),e.changeDisplayDate(a).then(function(){e.focus(a)}))})},e.prototype.getFocusDateFromKeyEvent=function(t){var e=this.dateUtil,a=this.keyCode;switch(t.which){case a.RIGHT_ARROW:return e.incrementDays(this.displayDate,1);case a.LEFT_ARROW:return e.incrementDays(this.displayDate,-1);case a.DOWN_ARROW:return t.metaKey?e.incrementMonths(this.displayDate,1):e.incrementDays(this.displayDate,7);case a.UP_ARROW:return t.metaKey?e.incrementMonths(this.displayDate,-1):e.incrementDays(this.displayDate,-7);case a.PAGE_DOWN:return e.incrementMonths(this.displayDate,1);case a.PAGE_UP:return e.incrementMonths(this.displayDate,-1);case a.HOME:return e.getFirstDateOfMonth(this.displayDate);case a.END:return e.getLastDateOfMonth(this.displayDate);default:return null}},e.prototype.getSelectedMonthIndex=function(){return this.dateUtil.getMonthDistance(this.firstRenderableDate,this.selectedDate||this.today)},e.prototype.scrollToMonth=function(t){if(this.dateUtil.isValidDate(t)){var e=this.dateUtil.getMonthDistance(this.firstRenderableDate,t);this.calendarScroller.scrollTop=e*a}},e.prototype.setNgModelValue=function(t){this.$scope.$emit("md-calendar-change",t),this.ngModelCtrl.$setViewValue(t),this.ngModelCtrl.$render()},e.prototype.focus=function(t){var e=t||this.selectedDate||this.today,a=this.calendarElement.querySelector(".md-focus");a&&a.classList.remove(r);var n=this.getDateId(e),i=document.getElementById(n);i?(i.classList.add(r),i.focus()):this.focusDate=e},e.prototype.boundDateByMinAndMax=function(t){var e=t;return this.minDate&&t<this.minDate&&(e=new Date(this.minDate.getTime())),this.maxDate&&t>this.maxDate&&(e=new Date(this.maxDate.getTime())),e},e.prototype.changeSelectedDate=function(t){var e=this,a=this.selectedDate;this.selectedDate=t,this.changeDisplayDate(t).then(function(){if(a){var n=document.getElementById(e.getDateId(a));n&&(n.classList.remove(i),n.setAttribute("aria-selected","false"))}if(t){var r=document.getElementById(e.getDateId(t));r&&(r.classList.add(i),r.setAttribute("aria-selected","true"))}})},e.prototype.changeDisplayDate=function(t){if(!this.isInitialized)return this.buildInitialCalendarDisplay(),this.$q.when();if(!this.dateUtil.isValidDate(t)||this.isMonthTransitionInProgress)return this.$q.when();this.isMonthTransitionInProgress=!0;var e=this.animateDateChange(t);this.displayDate=t;var a=this;return e.then(function(){a.isMonthTransitionInProgress=!1}),e},e.prototype.animateDateChange=function(t){return this.scrollToMonth(t),this.$q.when()},e.prototype.buildWeekHeader=function(){for(var t=this.dateLocale.firstDayOfWeek,e=this.dateLocale.shortDays,a=document.createElement("tr"),n=0;7>n;n++){var i=document.createElement("th");i.textContent=e[(n+t)%7],a.appendChild(i)}this.$element.find("thead").append(a)},e.prototype.getDateId=function(t){return["md",this.id,t.getFullYear(),t.getMonth(),t.getDate()].join("-")}}(),function(){"use strict";function t(){return{require:["^^mdCalendar","mdCalendarMonth"],scope:{offset:"=mdMonthOffset"},controller:e,controllerAs:"mdMonthCtrl",bindToController:!0,link:function(t,e,a,n){var i=n[0],r=n[1];r.calendarCtrl=i,r.generateContent(),t.$watch(function(){return r.offset},function(t,e){t!=e&&r.generateContent()})}}}function e(t,e,a){this.dateUtil=e,this.dateLocale=a,this.$element=t,this.calendarCtrl=null,this.offset,this.focusAfterAppend=null}angular.module("material.components.datepicker").directive("mdCalendarMonth",t);var a="md-calendar-date-today",n="md-calendar-selected-date",i="md-focus";e.$inject=["$element","$$mdDateUtil","$mdDateLocale"],e.prototype.generateContent=function(){var t=this.calendarCtrl,e=this.dateUtil.incrementMonths(t.firstRenderableDate,this.offset);this.$element.empty(),this.$element.append(this.buildCalendarForMonth(e)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(i),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},e.prototype.buildDateCell=function(t){var e=this.calendarCtrl,i=document.createElement("td");if(i.tabIndex=-1,i.classList.add("md-calendar-date"),i.setAttribute("role","gridcell"),t){i.setAttribute("tabindex","-1"),i.setAttribute("aria-label",this.dateLocale.longDateFormatter(t)),i.id=e.getDateId(t),i.setAttribute("data-timestamp",t.getTime()),this.dateUtil.isSameDay(t,e.today)&&i.classList.add(a),this.dateUtil.isValidDate(e.selectedDate)&&this.dateUtil.isSameDay(t,e.selectedDate)&&(i.classList.add(n),i.setAttribute("aria-selected","true"));var r=this.dateLocale.dates[t.getDate()];if(this.isDateEnabled(t)){var s=document.createElement("span");i.appendChild(s),s.classList.add("md-calendar-date-selection-indicator"),s.textContent=r,i.addEventListener("click",e.cellClickHandler),e.focusDate&&this.dateUtil.isSameDay(t,e.focusDate)&&(this.focusAfterAppend=i)}else i.classList.add("md-calendar-date-disabled"),i.textContent=r}return i},e.prototype.isDateEnabled=function(t){return this.dateUtil.isDateWithinRange(t,this.calendarCtrl.minDate,this.calendarCtrl.maxDate)&&(!angular.isFunction(this.calendarCtrl.dateFilter)||this.calendarCtrl.dateFilter(t))},e.prototype.buildDateRow=function(t){var e=document.createElement("tr");return e.setAttribute("role","row"),e.setAttribute("aria-label",this.dateLocale.weekNumberFormatter(t)),e},e.prototype.buildCalendarForMonth=function(t){var e=this.dateUtil.isValidDate(t)?t:new Date,a=this.dateUtil.getFirstDateOfMonth(e),n=this.getLocaleDay_(a),i=this.dateUtil.getNumberOfDaysInMonth(e),r=document.createDocumentFragment(),s=1,l=this.buildDateRow(s);r.appendChild(l);var d=this.offset===this.calendarCtrl.items.length-1,o=0,c=document.createElement("td");if(c.classList.add("md-calendar-month-label"),this.calendarCtrl.maxDate&&a>this.calendarCtrl.maxDate&&c.classList.add("md-calendar-month-label-disabled"),c.textContent=this.dateLocale.monthHeaderFormatter(e),2>=n){c.setAttribute("colspan","7");var h=this.buildDateRow();if(h.appendChild(c),r.insertBefore(h,l),d)return r}else o=2,c.setAttribute("colspan","2"),l.appendChild(c);for(var u=o;n>u;u++)l.appendChild(this.buildDateCell());for(var m=n,p=a,f=1;i>=f;f++){if(7===m){if(d)return r;m=0,s++,l=this.buildDateRow(s),r.appendChild(l)}p.setDate(f);var D=this.buildDateCell(p);l.appendChild(D),m++}for(;l.childNodes.length<7;)l.appendChild(this.buildDateCell());for(;r.childNodes.length<6;){for(var g=this.buildDateRow(),u=0;7>u;u++)g.appendChild(this.buildDateCell());r.appendChild(g)}return r},e.prototype.getLocaleDay_=function(t){return(t.getDay()+(7-this.dateLocale.firstDayOfWeek))%7}}(),function(){"use strict";angular.module("material.components.datepicker").config(["$provide",function(t){function e(){this.months=null,this.shortMonths=null,this.days=null,this.shortDays=null,this.dates=null,this.firstDayOfWeek=0,this.formatDate=null,this.parseDate=null,this.monthHeaderFormatter=null,this.weekNumberFormatter=null,this.longDateFormatter=null,this.msgCalendar="",this.msgOpenCalendar=""}e.prototype.$get=function(t){function e(t){if(!t)return"";var e=t.toLocaleTimeString(),a=t;return 0!=t.getHours()||-1===e.indexOf("11:")&&-1===e.indexOf("23:")||(a=new Date(t.getFullYear(),t.getMonth(),t.getDate(),1,0,0)),a.toLocaleDateString()}function a(t){return new Date(t)}function n(t){t=t.trim();var e=/^(([a-zA-Z]{3,}|[0-9]{1,4})([ \.,]+|[\/\-])){2}([a-zA-Z]{3,}|[0-9]{1,4})$/;return e.test(t)}function i(t){return u.shortMonths[t.getMonth()]+" "+t.getFullYear()}function r(t){return"Week "+t}function s(t){return[u.days[t.getDay()],u.months[t.getMonth()],u.dates[t.getDate()],t.getFullYear()].join(" ")}for(var l=t.DATETIME_FORMATS.DAY.map(function(t){return t[0]}),d=Array(32),o=1;31>=o;o++)d[o]=o;var c="Calendar",h="Open calendar",u={months:this.months||t.DATETIME_FORMATS.MONTH,shortMonths:this.shortMonths||t.DATETIME_FORMATS.SHORTMONTH,days:this.days||t.DATETIME_FORMATS.DAY,shortDays:this.shortDays||l,dates:this.dates||d,firstDayOfWeek:this.firstDayOfWeek||0,formatDate:this.formatDate||e,parseDate:this.parseDate||a,isDateComplete:this.isDateComplete||n,monthHeaderFormatter:this.monthHeaderFormatter||i,weekNumberFormatter:this.weekNumberFormatter||r,longDateFormatter:this.longDateFormatter||s,msgCalendar:this.msgCalendar||c,msgOpenCalendar:this.msgOpenCalendar||h};return u},e.prototype.$get.$inject=["$locale"],t.provider("$mdDateLocale",new e)}])}(),function(){"use strict";function t(){return{template:'<md-button class="md-datepicker-button md-icon-button" type="button" tabindex="-1" aria-hidden="true" ng-click="ctrl.openCalendarPane($event)"><md-icon class="md-datepicker-calendar-icon" md-svg-icon="md-calendar"></md-icon></md-button><div class="md-datepicker-input-container" ng-class="{\'md-datepicker-focused\': ctrl.isFocused}"><input class="md-datepicker-input" aria-haspopup="true" ng-focus="ctrl.setFocused(true)" ng-blur="ctrl.setFocused(false)"><md-button type="button" md-no-ink class="md-datepicker-triangle-button md-icon-button" ng-click="ctrl.openCalendarPane($event)" aria-label="{{::ctrl.dateLocale.msgOpenCalendar}}"><div class="md-datepicker-expand-triangle"></div></md-button></div><div class="md-datepicker-calendar-pane md-whiteframe-z1"><div class="md-datepicker-input-mask"><div class="md-datepicker-input-mask-opaque"></div></div><div class="md-datepicker-calendar"><md-calendar role="dialog" aria-label="{{::ctrl.dateLocale.msgCalendar}}" md-min-date="ctrl.minDate" md-max-date="ctrl.maxDate"md-date-filter="ctrl.dateFilter"ng-model="ctrl.date" ng-if="ctrl.isCalendarOpen"></md-calendar></div></div>',require:["ngModel","mdDatepicker","?^mdInputContainer"],scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",placeholder:"@mdPlaceholder",dateFilter:"=mdDateFilter"},controller:e,controllerAs:"ctrl",bindToController:!0,link:function(t,e,a,n){var i=n[0],r=n[1],s=n[2];if(s)throw Error("md-datepicker should not be placed inside md-input-container.");r.configureNgModel(i)}}}function e(t,e,a,n,i,r,s,l,d,o,c,h){this.$compile=n,this.$timeout=i,this.$window=r,this.dateLocale=o,this.dateUtil=c,this.$mdConstant=s,this.$mdUtil=d,this.$$rAF=h,this.documentElement=angular.element(document.documentElement),this.ngModelCtrl=null,this.inputElement=e[0].querySelector("input"),this.ngInputElement=angular.element(this.inputElement),this.inputContainer=e[0].querySelector(".md-datepicker-input-container"),this.calendarPane=e[0].querySelector(".md-datepicker-calendar-pane"),this.calendarButton=e[0].querySelector(".md-datepicker-button"),this.inputMask=e[0].querySelector(".md-datepicker-input-mask-opaque"),this.$element=e,this.$attrs=a,this.$scope=t,this.date=null,this.isFocused=!1,this.isDisabled,this.setDisabled(e[0].disabled||angular.isString(a.disabled)),this.isCalendarOpen=!1,this.calendarPaneOpenedFrom=null,this.calendarPane.id="md-date-pane"+d.nextUid(),l(e),this.bodyClickHandler=angular.bind(this,this.handleBodyClick),this.windowResizeHandler=d.debounce(angular.bind(this,this.closeCalendarPane),100),a.tabindex||e.attr("tabindex","-1"),this.installPropertyInterceptors(),this.attachChangeListeners(),this.attachInteractionListeners();var u=this;t.$on("$destroy",function(){u.detachCalendarPane()})}angular.module("material.components.datepicker").directive("mdDatepicker",t);var a=3,n="md-datepicker-invalid",i=500,r=368,s=360;e.$inject=["$scope","$element","$attrs","$compile","$timeout","$window","$mdConstant","$mdTheming","$mdUtil","$mdDateLocale","$$mdDateUtil","$$rAF"],e.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){var t=e.ngModelCtrl.$viewValue;if(t&&!(t instanceof Date))throw Error("The ng-model for md-datepicker must be a Date instance. Currently the model is a: "+typeof t);e.date=t,e.inputElement.value=e.dateLocale.formatDate(t),e.resizeInputElement(),e.updateErrorState()}},e.prototype.attachChangeListeners=function(){var t=this;t.$scope.$on("md-calendar-change",function(e,a){t.ngModelCtrl.$setViewValue(a),t.date=a,t.inputElement.value=t.dateLocale.formatDate(a),t.closeCalendarPane(),t.resizeInputElement(),t.updateErrorState()}),t.ngInputElement.on("input",angular.bind(t,t.resizeInputElement)),t.ngInputElement.on("input",t.$mdUtil.debounce(t.handleInputEvent,i,t))},e.prototype.attachInteractionListeners=function(){var t=this,e=this.$scope,a=this.$mdConstant.KEY_CODE;t.ngInputElement.on("keydown",function(n){n.altKey&&n.keyCode==a.DOWN_ARROW&&(t.openCalendarPane(n),e.$digest())}),e.$on("md-calendar-close",function(){t.closeCalendarPane()})},e.prototype.installPropertyInterceptors=function(){var t=this;if(this.$attrs.ngDisabled){var e=this.$mdUtil.validateScope(this.$element)?this.$element.scope():null;e&&e.$watch(this.$attrs.ngDisabled,function(e){t.setDisabled(e)})}Object.defineProperty(this,"placeholder",{get:function(){return t.inputElement.placeholder},set:function(e){t.inputElement.placeholder=e||""}})},e.prototype.setDisabled=function(t){this.isDisabled=t,this.inputElement.disabled=t,this.calendarButton.disabled=t},e.prototype.updateErrorState=function(t){var e=t||this.date;this.clearErrorState(),this.dateUtil.isValidDate(e)?(this.dateUtil.isValidDate(this.minDate)&&this.ngModelCtrl.$setValidity("mindate",e>=this.minDate),this.dateUtil.isValidDate(this.maxDate)&&this.ngModelCtrl.$setValidity("maxdate",e<=this.maxDate),angular.isFunction(this.dateFilter)&&this.ngModelCtrl.$setValidity("filtered",this.dateFilter(e))):this.ngModelCtrl.$setValidity("valid",null==e),this.ngModelCtrl.$valid||this.inputContainer.classList.add(n)},e.prototype.clearErrorState=function(){this.inputContainer.classList.remove(n),["mindate","maxdate","filtered","valid"].forEach(function(t){this.ngModelCtrl.$setValidity(t,!0)},this)},e.prototype.resizeInputElement=function(){this.inputElement.size=this.inputElement.value.length+a},e.prototype.handleInputEvent=function(){var t=this.inputElement.value,e=t?this.dateLocale.parseDate(t):null;this.dateUtil.setDateTimeToMidnight(e);var a=""==t||this.dateUtil.isValidDate(e)&&this.dateLocale.isDateComplete(t)&&this.isDateEnabled(e);a&&(this.ngModelCtrl.$setViewValue(e),this.date=e),this.updateErrorState(e)},e.prototype.isDateEnabled=function(t){return this.dateUtil.isDateWithinRange(t,this.minDate,this.maxDate)&&(!angular.isFunction(this.dateFilter)||this.dateFilter(t))},e.prototype.attachCalendarPane=function(){var t=this.calendarPane;t.style.transform="",this.$element.addClass("md-datepicker-open");var e=this.inputContainer.getBoundingClientRect(),a=document.body.getBoundingClientRect(),n=e.top-a.top,i=e.left-a.left,l=a.top<0&&0==document.body.scrollTop?-a.top:document.body.scrollTop,d=a.left<0&&0==document.body.scrollLeft?-a.left:document.body.scrollLeft,o=l+this.$window.innerHeight,c=d+this.$window.innerWidth;if(i+s>c){if(c-s>0)i=c-s;else{i=d;var h=this.$window.innerWidth/s;t.style.transform="scale("+h+")"}t.classList.add("md-datepicker-pos-adjusted")}n+r>o&&o-r>l&&(n=o-r,t.classList.add("md-datepicker-pos-adjusted")),t.style.left=i+"px",t.style.top=n+"px",document.body.appendChild(t),this.inputMask.style.left=e.width+"px",this.$$rAF(function(){t.classList.add("md-pane-open")})},e.prototype.detachCalendarPane=function(){this.$element.removeClass("md-datepicker-open"),this.calendarPane.classList.remove("md-pane-open"),this.calendarPane.classList.remove("md-datepicker-pos-adjusted"),this.calendarPane.parentNode&&this.calendarPane.parentNode.removeChild(this.calendarPane)},e.prototype.openCalendarPane=function(t){if(!this.isCalendarOpen&&!this.isDisabled){this.isCalendarOpen=!0,this.calendarPaneOpenedFrom=t.target,this.$mdUtil.disableScrollAround(this.calendarPane),this.attachCalendarPane(),this.focusCalendar();var e=this;this.$mdUtil.nextTick(function(){e.documentElement.on("click touchstart",e.bodyClickHandler)},!1),window.addEventListener("resize",this.windowResizeHandler)}},e.prototype.closeCalendarPane=function(){this.isCalendarOpen&&(this.isCalendarOpen=!1,this.detachCalendarPane(),this.calendarPaneOpenedFrom.focus(),this.calendarPaneOpenedFrom=null,this.$mdUtil.enableScrolling(),this.documentElement.off("click touchstart",this.bodyClickHandler),window.removeEventListener("resize",this.windowResizeHandler))},e.prototype.getCalendarCtrl=function(){return angular.element(this.calendarPane.querySelector("md-calendar")).controller("mdCalendar")},e.prototype.focusCalendar=function(){var t=this;this.$mdUtil.nextTick(function(){t.getCalendarCtrl().focus()},!1)},e.prototype.setFocused=function(t){this.isFocused=t},e.prototype.handleBodyClick=function(t){if(this.isCalendarOpen){var e=this.$mdUtil.getClosest(t.target,"md-calendar");e||this.closeCalendarPane(),this.$scope.$digest()}}}(),function(){"use strict";angular.module("material.components.datepicker").factory("$$mdDateUtil",function(){function t(t){return new Date(t.getFullYear(),t.getMonth(),1)}function e(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function a(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function n(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function i(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}function r(t,e){return t.getDate()==e.getDate()&&i(t,e)}function s(t,e){var n=a(t);return i(n,e)}function l(t,e){var a=n(t);return i(e,a)}function d(t,e){return D((t.getTime()+e.getTime())/2)}function o(e){var a=t(e);return Math.floor((a.getDay()+e.getDate()-1)/7)}function c(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+e)}function h(t,a){var n=new Date(t.getFullYear(),t.getMonth()+a,1),i=e(n);return i<t.getDate()?n.setDate(i):n.setDate(t.getDate()),n}function u(t,e){return 12*(e.getFullYear()-t.getFullYear())+(e.getMonth()-t.getMonth())}function m(t){return new Date(t.getFullYear(),t.getMonth(),e(t))}function p(t){return null!=t&&t.getTime&&!isNaN(t.getTime())}function f(t){p(t)&&t.setHours(0,0,0,0)}function D(t){var e;return e=angular.isUndefined(t)?new Date:new Date(t),f(e),e}function g(t,e,a){return(!angular.isDate(e)||t>=e)&&(!angular.isDate(a)||a>=t)}return{getFirstDateOfMonth:t,getNumberOfDaysInMonth:e,getDateInNextMonth:a,getDateInPreviousMonth:n,isInNextMonth:s,isInPreviousMonth:l,getDateMidpoint:d,isSameMonthAndYear:i,getWeekOfMonth:o,incrementDays:c,incrementMonths:h,getLastDateOfMonth:m,isSameDay:r,getMonthDistance:u,isValidDate:p,setDateTimeToMidnight:f,createDateAtMidnight:D,isDateWithinRange:g}})}(),ng.material.components.datepicker=angular.module("material.components.datepicker");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.dialog');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdDialogDirective(e,t,n){return{restrict:"E",link:function(o,a,i){t(a),e(function(){function e(){a.toggleClass("md-content-overflow",i.scrollHeight>i.clientHeight)}var t,i=a[0].querySelector("md-dialog-content");i&&(t=i.getElementsByTagName("img"),e(),angular.element(t).on("load",e)),o.$on("$destroy",function(){n.destroy(a)})})}}}function MdDialogProvider(e){function t(e,t){return{template:['<md-dialog md-theme="{{ dialog.theme }}" aria-label="{{ dialog.ariaLabel }}" ng-class="dialog.css">',' <md-dialog-content class="md-dialog-content" role="document" tabIndex="-1">',' <h2 class="md-title">{{ dialog.title }}</h2>',' <div ng-if="::dialog.mdHtmlContent" class="md-dialog-content-body" ',' ng-bind-html="::dialog.mdHtmlContent"></div>',' <div ng-if="::!dialog.mdHtmlContent" class="md-dialog-content-body">'," <p>{{::dialog.mdTextContent}}</p>"," </div>"," </md-dialog-content>"," <md-dialog-actions>",' <md-button ng-if="dialog.$type == \'confirm\'" ng-click="dialog.abort()" class="md-primary">'," {{ dialog.cancel }}"," </md-button>",' <md-button ng-click="dialog.hide()" class="md-primary" md-autofocus="dialog.$type!=\'confirm\'">'," {{ dialog.ok }}"," </md-button>"," </md-dialog-actions>","</md-dialog>"].join("").replace(/\s\s+/g,""),controller:function(){this.hide=function(){e.hide(!0)},this.abort=function(){e.cancel()}},controllerAs:"dialog",bindToController:!0,theme:t.defaultTheme()}}function n(e,t,n,i,r,l,d,c,s,u){function m(e,t,n,o){if(o){if(o.mdHtmlContent=o.htmlContent||n.htmlContent||"",o.mdTextContent=o.textContent||n.textContent||o.content||n.content||"",o.mdHtmlContent&&!u.has("$sanitize"))throw Error("The ngSanitize module must be loaded in order to use htmlContent.");if(o.mdHtmlContent&&o.mdTextContent)throw Error("md-dialog cannot have both `htmlContent` and `textContent`")}}function g(e,t,o,a){function i(){var e=t[0].querySelectorAll(".md-actions");e.length>0&&s.warn("Using a class of md-actions is deprected, please use <md-dialog-actions>.")}function r(){function e(){var e=t[0].querySelector(".dialog-close");if(!e){var n=t[0].querySelectorAll(".md-actions button, md-dialog-actions button");e=n[n.length-1]}return angular.element(e)}if(o.focusOnOpen){var a=n.findFocusTarget(t)||e();a.focus()}}return angular.element(l[0].body).addClass("md-dialog-is-showing"),p(o),b(t.find("md-dialog"),o),v(e,t,o),$(t,o).then(function(){h(t,o),C(t,o),i(),r()})}function f(e,t,n){function i(){return y(t,n)}function r(){angular.element(l[0].body).removeClass("md-dialog-is-showing"),t.remove(),n.$destroy||n.origin.focus()}return n.deactivateListeners(),n.unlockScreenReader(),n.hideBackdrop(n.$destroy),o&&o.parentNode&&o.parentNode.removeChild(o),a&&a.parentNode&&a.parentNode.removeChild(a),n.$destroy?r():i().then(r)}function p(e){function t(e,t){var n=angular.element(e||{});if(n&&n.length){var o={top:0,left:0,height:0,width:0},a=angular.isFunction(n[0].getBoundingClientRect);return angular.extend(t||{},{element:a?n:void 0,bounds:a?n[0].getBoundingClientRect():angular.extend({},o,n[0]),focus:angular.bind(n,n.focus)})}}function n(e,t){if(angular.isString(e)){var n=e,o=l[0].querySelectorAll(n);e=o.length?o[0]:null}return angular.element(e||t)}e.origin=angular.extend({element:null,bounds:null,focus:angular.noop},e.origin||{}),e.parent=n(e.parent,c),e.closeTo=t(n(e.closeTo)),e.openFrom=t(n(e.openFrom)),e.targetEvent&&(e.origin=t(e.targetEvent.target,e.origin))}function h(t,o){var a=angular.element(d),r=n.debounce(function(){k(t,o)},60),l=[],c=function(){var t="alert"==o.$type?e.hide:e.cancel;n.nextTick(t,!0)};if(o.escapeToClose){var s=o.parent,u=function(e){e.keyCode===i.KEY_CODE.ESCAPE&&(e.stopPropagation(),e.preventDefault(),c())};t.on("keydown",u),s.on("keydown",u),a.on("resize",r),l.push(function(){t.off("keydown",u),s.off("keydown",u),a.off("resize",r)})}if(o.clickOutsideToClose){var m,s=t,g=function(e){m=e.target},f=function(e){m===s[0]&&e.target===s[0]&&(e.stopPropagation(),e.preventDefault(),c())};s.on("mousedown",g),s.on("mouseup",f),l.push(function(){s.off("mousedown",g),s.off("mouseup",f)})}o.deactivateListeners=function(){l.forEach(function(e){e()}),o.deactivateListeners=null}}function v(e,t,o){o.disableParentScroll&&(o.restoreScroll=n.disableScrollAround(t,o.parent)),o.hasBackdrop&&(o.backdrop=n.createBackdrop(e,"md-dialog-backdrop md-opaque"),r.enter(o.backdrop,o.parent)),o.hideBackdrop=function(e){o.backdrop&&(e?o.backdrop.remove():r.leave(o.backdrop)),o.disableParentScroll&&(o.restoreScroll(),delete o.restoreScroll),o.hideBackdrop=null}}function b(e,i){var r="alert"===i.$type?"alertdialog":"dialog",l=e.find("md-dialog-content"),d=e.attr("id")||"dialog_"+n.nextUid();e.attr({role:r,tabIndex:"-1"}),0===l.length&&(l=e),l.attr("id",d),e.attr("aria-describedby",d),i.ariaLabel?t.expect(e,"aria-label",i.ariaLabel):t.expectAsync(e,"aria-label",function(){var e=l.text().split(/\s+/);return e.length>3&&(e=e.slice(0,3).concat("...")),e.join(" ")}),o=document.createElement("div"),o.classList.add("md-dialog-focus-trap"),o.tabIndex=0,a=o.cloneNode(!1);var c=angular.bind(e,e.focus);o.addEventListener("focus",c),a.addEventListener("focus",c),e[0].parentNode.insertBefore(o,e[0]),e.append(a)}function C(e,t){function n(e){for(;e.parentNode;){if(e===document.body)return;for(var t=e.parentNode.children,a=0;a<t.length;a++)e===t[a]||T(t[a],["SCRIPT","STYLE"])||t[a].setAttribute("aria-hidden",o);n(e=e.parentNode)}}var o=!0;n(e[0]),t.unlockScreenReader=function(){o=!1,n(e[0]),t.unlockScreenReader=null}}function k(e,t){var o="fixed"==d.getComputedStyle(l[0].body).position,a=t.backdrop?d.getComputedStyle(t.backdrop[0]):null,i=a?Math.min(l[0].body.clientHeight,Math.ceil(Math.abs(parseInt(a.height,10)))):0;return e.css({top:(o?n.scrollTop(t.parent):0)+"px",height:i?i+"px":"100%"}),e}function $(e,t){t.parent.append(e),k(e,t);var o=e.find("md-dialog"),a=n.dom.animator,i=a.calculateZoomToOrigin,r={transitionInClass:"md-transition-in",transitionOutClass:"md-transition-out"},l=a.toTransformCss(i(o,t.openFrom||t.origin)),d=a.toTransformCss("");return t.fullscreen&&o.addClass("md-dialog-fullscreen"),a.translate3d(o,l,d,r).then(function(e){return t.reverseAnimate=function(){return delete t.reverseAnimate,t.closeTo?(r={transitionInClass:"md-transition-out",transitionOutClass:"md-transition-in"},l=d,d=a.toTransformCss(i(o,t.closeTo)),a.translate3d(o,l,d,r)):e(a.toTransformCss(i(o,t.origin)))},!0})}function y(e,t){return t.reverseAnimate()}function T(e,t){return-1!==t.indexOf(e.nodeName)?!0:void 0}return{hasBackdrop:!0,isolateScope:!0,onShow:g,onShowing:m,onRemove:f,clickOutsideToClose:!1,escapeToClose:!0,targetEvent:null,closeTo:null,openFrom:null,focusOnOpen:!0,disableParentScroll:!0,autoWrap:!0,fullscreen:!1,transformTemplate:function(e,t){function n(e){return t.autoWrap&&!/<\/md-dialog>/g.test(e)?"<md-dialog>"+(e||"")+"</md-dialog>":e||""}return'<div class="md-dialog-container">'+n(e)+"</div>"}}}var o,a;return t.$inject=["$mdDialog","$mdTheming"],n.$inject=["$mdDialog","$mdAria","$mdUtil","$mdConstant","$animate","$document","$window","$rootElement","$log","$injector"],e("$mdDialog").setDefaults({methods:["disableParentScroll","hasBackdrop","clickOutsideToClose","escapeToClose","targetEvent","closeTo","openFrom","parent","fullscreen"],options:n}).addPreset("alert",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","theme","css"],options:t}).addPreset("confirm",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","cancel","theme","css"],options:t})}goog.provide("ng.material.components.dialog"),goog.require("ng.material.components.backdrop"),goog.require("ng.material.core"),angular.module("material.components.dialog",["material.core","material.components.backdrop"]).directive("mdDialog",MdDialogDirective).provider("$mdDialog",MdDialogProvider),MdDialogDirective.$inject=["$$rAF","$mdTheming","$mdDialog"],MdDialogProvider.$inject=["$$interimElementProvider"],ng.material.components.dialog=angular.module("material.components.dialog");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.divider');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdDividerDirective(e){return{restrict:"E",link:e}}goog.provide("ng.material.components.divider"),goog.require("ng.material.core"),angular.module("material.components.divider",["material.core"]).directive("mdDivider",MdDividerDirective),MdDividerDirective.$inject=["$mdTheming"],ng.material.components.divider=angular.module("material.components.divider");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.fabActions');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.fabActions"),goog.require("ng.material.core"),function(){"use strict";function a(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(a,t){var e=a.children(),n=!1;angular.forEach(["","data-","x-"],function(a){n=n||(e.attr(a+"ng-repeat")?!0:!1)}),n?e.addClass("md-fab-action-item"):e.wrap('<div class="md-fab-action-item">')}}}angular.module("material.components.fabActions",["material.core"]).directive("mdFabActions",a)}(),ng.material.components.fabActions=angular.module("material.components.fabActions");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.fabShared');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.fabShared"),goog.require("ng.material.core"),function(){"use strict";function n(n,e,t,a,i,r){function o(){I.direction=I.direction||"down",I.isOpen=I.isOpen||!1,s(),e.addClass("md-animations-waiting")}function c(){var t=["click","focusin","focusout"];angular.forEach(t,function(n){e.on(n,l)}),n.$on("$destroy",function(){angular.forEach(t,function(n){e.off(n,l)}),m()})}function l(n){"click"==n.type&&x(n),"focusout"!=n.type||F||(F=r(function(){I.close()},100,!1)),"focusin"==n.type&&F&&(r.cancel(F),F=null)}function s(){I.currentActionIndex=-1}function u(){n.$watch("vm.direction",function(n,a){t.removeClass(e,"md-"+a),t.addClass(e,"md-"+n),s()});var a,i;n.$watch("vm.isOpen",function(n){s(),a&&i||(a=$(),i=D()),n?f():m();var r=n?"md-is-open":"",o=n?"":"md-is-open";a.attr("aria-haspopup",!0),a.attr("aria-expanded",n),i.attr("aria-hidden",!n),t.setClass(e,r,o)})}function d(){e[0].scrollHeight>0?t.addClass(e,"md-animations-ready").then(function(){e.removeClass("md-animations-waiting")}):10>k&&(r(d,100),k+=1)}function f(){e.on("keydown",p),a.nextTick(function(){angular.element(document).on("click touchend",g)})}function m(){e.off("keydown",p),angular.element(document).off("click touchend",g)}function g(n){if(n.target){var e=a.getClosest(n.target,"md-fab-trigger"),t=a.getClosest(n.target,"md-fab-actions");e||t||I.close()}}function p(n){switch(n.which){case i.KEY_CODE.ESCAPE:return I.close(),n.preventDefault(),!1;case i.KEY_CODE.LEFT_ARROW:return y(n),!1;case i.KEY_CODE.UP_ARROW:return A(n),!1;case i.KEY_CODE.RIGHT_ARROW:return O(n),!1;case i.KEY_CODE.DOWN_ARROW:return S(n),!1}}function h(n){b(n,-1)}function v(n){b(n,1)}function b(n,e){var t=C();I.currentActionIndex=I.currentActionIndex+e,I.currentActionIndex=Math.min(t.length-1,I.currentActionIndex),I.currentActionIndex=Math.max(0,I.currentActionIndex);var a=angular.element(t[I.currentActionIndex]).children()[0];angular.element(a).attr("tabindex",0),a.focus(),n.preventDefault(),n.stopImmediatePropagation()}function C(){var n=D()[0].querySelectorAll(".md-fab-action-item");return angular.forEach(n,function(n){angular.element(angular.element(n).children()[0]).attr("tabindex",-1)}),n}function y(n){"left"===I.direction?v(n):h(n)}function A(n){"down"===I.direction?h(n):v(n)}function O(n){"left"===I.direction?h(n):v(n)}function S(n){"up"===I.direction?h(n):v(n)}function w(n){return a.getClosest(n,"md-fab-trigger")}function E(n){return a.getClosest(n,"md-fab-actions")}function x(n){w(n.target)&&I.toggle(),E(n.target)&&I.close()}function $(){return e.find("md-fab-trigger")}function D(){return e.find("md-fab-actions")}var I=this;I.open=function(){n.$evalAsync("vm.isOpen = true")},I.close=function(){n.$evalAsync("vm.isOpen = false"),e.find("md-fab-trigger")[0].focus()},I.toggle=function(){n.$evalAsync("vm.isOpen = !vm.isOpen")},o(),c(),u();var k=0;d();var F}angular.module("material.components.fabShared",["material.core"]).controller("FabController",n),n.$inject=["$scope","$element","$animate","$mdUtil","$mdConstant","$timeout"]}(),function(){"use strict";function n(){function n(n,e){e.prepend('<div class="md-css-variables"></div>')}return{restrict:"E",scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"FabController",controllerAs:"vm",link:n}}function e(n){function e(e){n(e,a,!1)}function t(n){if(!n.hasClass("md-animations-waiting")||n.hasClass("md-animations-ready")){var e=n[0],t=n.controller("mdFabSpeedDial"),a=e.querySelectorAll(".md-fab-action-item"),i=e.querySelector("md-fab-trigger"),r=e.querySelector(".md-css-variables"),o=parseInt(window.getComputedStyle(r).zIndex);angular.forEach(a,function(n,e){var t=n.style;t.transform=t.webkitTransform="",t.transitionDelay="",t.opacity=1,t.zIndex=a.length-e+o}),i.style.zIndex=o+a.length+1,t.isOpen||angular.forEach(a,function(n,e){var a,r,o=n.style,c=(i.clientHeight-n.clientHeight)/2,l=(i.clientWidth-n.clientWidth)/2;switch(t.direction){case"up":a=n.scrollHeight*(e+1)+c,r="Y";break;case"down":a=-(n.scrollHeight*(e+1)+c),r="Y";break;case"left":a=n.scrollWidth*(e+1)+l,r="X";break;case"right":a=-(n.scrollWidth*(e+1)+l),r="X"}var s="translate"+r+"("+a+"px)";o.transform=o.webkitTransform=s})}}return{addClass:function(n,a,i){n.hasClass("md-fling")?(t(n),e(i)):i()},removeClass:function(n,a,i){t(n),e(i)}}}function t(n){function e(e){n(e,a,!1)}function t(n){var e=n[0],t=n.controller("mdFabSpeedDial"),a=e.querySelectorAll(".md-fab-action-item"),r=e.querySelector(".md-css-variables"),o=parseInt(window.getComputedStyle(r).zIndex);angular.forEach(a,function(n,e){var r=n.style,c=e*i;r.opacity=t.isOpen?1:0,r.transform=r.webkitTransform=t.isOpen?"scale(1)":"scale(0.1)",r.transitionDelay=(t.isOpen?c:a.length-c)+"ms",r.zIndex=a.length-e+o})}var i=65;return{addClass:function(n,a,i){t(n),e(i)},removeClass:function(n,a,i){t(n),e(i)}}}var a=300;angular.module("material.components.fabSpeedDial",["material.core","material.components.fabShared","material.components.fabTrigger","material.components.fabActions"]).directive("mdFabSpeedDial",n).animation(".md-fling",e).animation(".md-scale",t).service("mdFabSpeedDialFlingAnimation",e).service("mdFabSpeedDialScaleAnimation",t),e.$inject=["$timeout"],t.$inject=["$timeout"]}(),ng.material.components.fabShared=angular.module("material.components.fabShared");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.fabToolbar');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.fabToolbar"),goog.require("ng.material.components.fabActions"),goog.require("ng.material.components.fabShared"),goog.require("ng.material.components.fabTrigger"),goog.require("ng.material.core"),function(){"use strict";function t(){function t(t,e,o){e.addClass("md-fab-toolbar"),e.find("md-fab-trigger").find("button").prepend('<div class="md-fab-toolbar-background"></div>')}return{restrict:"E",transclude:!0,template:'<div class="md-fab-toolbar-wrapper"> <div class="md-fab-toolbar-content" ng-transclude></div></div>',scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"FabController",controllerAs:"vm",link:t}}function e(){function t(t,e,o){if(e){var a=t[0],r=t.controller("mdFabToolbar"),n=a.querySelector(".md-fab-toolbar-background"),l=a.querySelector("md-fab-trigger button"),i=a.querySelector("md-toolbar"),s=a.querySelector("md-fab-trigger button md-icon"),d=t.find("md-fab-actions").children();if(l&&n){var m=window.getComputedStyle(l).getPropertyValue("background-color"),c=a.offsetWidth,f=(a.offsetHeight,2*(c/l.offsetWidth));n.style.backgroundColor=m,n.style.borderRadius=c+"px",r.isOpen?(i.style.pointerEvents="initial",n.style.width=l.offsetWidth+"px",n.style.height=l.offsetHeight+"px",n.style.transform="scale("+f+")",n.style.transitionDelay="0ms",s&&(s.style.transitionDelay=".3s"),angular.forEach(d,function(t,e){t.style.transitionDelay=25*(d.length-e)+"ms"})):(i.style.pointerEvents="none",n.style.transform="scale(1)",n.style.top="0",t.hasClass("md-right")&&(n.style.left="0",n.style.right=null),t.hasClass("md-left")&&(n.style.right="0",n.style.left=null),n.style.transitionDelay="200ms",s&&(s.style.transitionDelay="0ms"),angular.forEach(d,function(t,e){t.style.transitionDelay=200+25*e+"ms"}))}}}return{addClass:function(e,o,a){t(e,o,a),a()},removeClass:function(e,o,a){t(e,o,a),a()}}}angular.module("material.components.fabToolbar",["material.core","material.components.fabShared","material.components.fabTrigger","material.components.fabActions"]).directive("mdFabToolbar",t).animation(".md-fab-toolbar",e).service("mdFabToolbarAnimation",e)}(),ng.material.components.fabToolbar=angular.module("material.components.fabToolbar");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.fabTrigger');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.fabTrigger"),goog.require("ng.material.core"),function(){"use strict";function r(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"]}}angular.module("material.components.fabTrigger",["material.core"]).directive("mdFabTrigger",r)}(),ng.material.components.fabTrigger=angular.module("material.components.fabTrigger");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.gridList');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function GridListDirective(t,e,i,r){function n(n,o,a,u){function l(){for(var t in e.MEDIA)r(t),r.getQuery(e.MEDIA[t]).addListener(G);return r.watchResponsiveAttributes(["md-cols","md-row-height","md-gutter"],a,c)}function s(){u.layoutDelegate=angular.noop,T();for(var t in e.MEDIA)r.getQuery(e.MEDIA[t]).removeListener(G)}function c(t){null==t?u.invalidateLayout():r(t)&&u.invalidateLayout()}function d(t){var e=p(),r={tileSpans:v(e),colCount:h(),rowMode:$(),rowHeight:w(),gutter:y()};if(t||!angular.equals(r,D)){var a=i(r.colCount,r.tileSpans,e).map(function(t,i){return{grid:{element:o,style:m(r.colCount,i,r.gutter,r.rowMode,r.rowHeight)},tiles:t.map(function(t,n){return{element:angular.element(e[n]),style:g(t.position,t.spans,r.colCount,i,r.gutter,r.rowMode,r.rowHeight)}})}}).reflow().performance();n.mdOnLayout({$event:{performance:a}}),D=r}}function f(t){return I+t+b}function g(t,e,i,r,n,o,a){var u=1/i*100,l=(i-1)/i,s=C({share:u,gutterShare:l,gutter:n}),c={left:x({unit:s,offset:t.col,gutter:n}),width:M({unit:s,span:e.col,gutter:n}),paddingTop:"",marginTop:"",top:"",height:""};switch(o){case"fixed":c.top=x({unit:a,offset:t.row,gutter:n}),c.height=M({unit:a,span:e.row,gutter:n});break;case"ratio":var d=u/a,f=C({share:d,gutterShare:l,gutter:n});c.paddingTop=M({unit:f,span:e.row,gutter:n}),c.marginTop=x({unit:f,offset:t.row,gutter:n});break;case"fit":var g=(r-1)/r,d=1/r*100,f=C({share:d,gutterShare:g,gutter:n});c.top=x({unit:f,offset:t.row,gutter:n}),c.height=M({unit:f,span:e.row,gutter:n})}return c}function m(t,e,i,r,n){var o={};switch(r){case"fixed":o.height=M({unit:n,span:e,gutter:i}),o.paddingBottom="";break;case"ratio":var a=1===t?0:(t-1)/t,u=1/t*100,l=u*(1/n),s=C({share:l,gutterShare:a,gutter:i});o.height="",o.paddingBottom=M({unit:s,span:e,gutter:i});break;case"fit":}return o}function p(){return[].filter.call(o.children(),function(t){return"MD-GRID-TILE"==t.tagName&&!t.$$mdDestroyed})}function v(t){return[].map.call(t,function(t){var e=angular.element(t).controller("mdGridTile");return{row:parseInt(r.getResponsiveAttribute(e.$attrs,"md-rowspan"),10)||1,col:parseInt(r.getResponsiveAttribute(e.$attrs,"md-colspan"),10)||1}})}function h(){var t=parseInt(r.getResponsiveAttribute(a,"md-cols"),10);if(isNaN(t))throw"md-grid-list: md-cols attribute was not found, or contained a non-numeric value";return t}function y(){return L(r.getResponsiveAttribute(a,"md-gutter")||1)}function w(){var t=r.getResponsiveAttribute(a,"md-row-height");switch($()){case"fixed":return L(t);case"ratio":var e=t.split(":");return parseFloat(e[0])/parseFloat(e[1]);case"fit":return 0}}function $(){var t=r.getResponsiveAttribute(a,"md-row-height");return"fit"==t?"fit":-1!==t.indexOf(":")?"ratio":"fixed"}function L(t){return/\D$/.test(t)?t:t+"px"}o.attr("role","list"),u.layoutDelegate=d;var G=angular.bind(u,u.invalidateLayout),T=l();n.$on("$destroy",s);var D,I=t.startSymbol(),b=t.endSymbol(),C=t(f("share")+"% - ("+f("gutter")+" * "+f("gutterShare")+")"),x=t("calc(("+f("unit")+" + "+f("gutter")+") * "+f("offset")+")"),M=t("calc(("+f("unit")+") * "+f("span")+" + ("+f("span")+" - 1) * "+f("gutter")+")")}return{restrict:"E",controller:GridListController,scope:{mdOnLayout:"&"},link:n}}function GridListController(t){this.layoutInvalidated=!1,this.tilesInvalidated=!1,this.$timeout_=t.nextTick,this.layoutDelegate=angular.noop}function GridLayoutFactory(t){function e(e,i){var o,a,u,l,s,c;return l=t.time(function(){a=r(e,i)}),o={layoutInfo:function(){return a},map:function(e){return s=t.time(function(){var t=o.layoutInfo();u=e(t.positioning,t.rowCount)}),o},reflow:function(e){return c=t.time(function(){var t=e||n;t(u.grid,u.tiles)}),o},performance:function(){return{tileCount:i.length,layoutTime:l,mapTime:s,reflowTime:c,totalTime:l+s+c}}}}function i(t,e){t.element.css(t.style),e.forEach(function(t){t.element.css(t.style)})}function r(t,e){function i(e,i){if(e.col>t)throw"md-grid-list: Tile at position "+i+" has a colspan ("+e.col+") that exceeds the column count ("+t+")";for(var a=0,c=0;c-a<e.col;)u>=t?r():(a=s.indexOf(0,u),-1!==a&&-1!==(c=o(a+1))?u=c+1:(a=c=0,r()));return n(a,e.col,e.row),u=a+e.col,{col:a,row:l}}function r(){u=0,l++,n(0,t,-1)}function n(t,e,i){for(var r=t;t+e>r;r++)s[r]=Math.max(s[r]+i,0)}function o(t){var e;for(e=t;e<s.length;e++)if(0!==s[e])return e;return e===s.length?e:void 0}function a(){for(var e=[],i=0;t>i;i++)e.push(0);return e}var u=0,l=0,s=a();return{positioning:e.map(function(t,e){return{spans:t,position:i(t,e)}}),rowCount:l+Math.max.apply(Math,s)}}var n=i;return e.animateWith=function(t){n=angular.isFunction(t)?t:i},e}function GridTileDirective(t){function e(e,i,r,n){i.attr("role","listitem");var o=t.watchResponsiveAttributes(["md-colspan","md-rowspan"],r,angular.bind(n,n.invalidateLayout));n.invalidateTiles(),e.$on("$destroy",function(){i[0].$$mdDestroyed=!0,o(),n.invalidateLayout()}),angular.isDefined(e.$parent.$index)&&e.$watch(function(){return e.$parent.$index},function(t,e){t!==e&&n.invalidateTiles()})}return{restrict:"E",require:"^mdGridList",template:"<figure ng-transclude></figure>",transclude:!0,scope:{},controller:["$attrs",function(t){this.$attrs=t}],link:e}}function GridTileCaptionDirective(){return{template:"<figcaption ng-transclude></figcaption>",transclude:!0}}goog.provide("ng.material.components.gridList"),goog.require("ng.material.core"),angular.module("material.components.gridList",["material.core"]).directive("mdGridList",GridListDirective).directive("mdGridTile",GridTileDirective).directive("mdGridTileFooter",GridTileCaptionDirective).directive("mdGridTileHeader",GridTileCaptionDirective).factory("$mdGridLayout",GridLayoutFactory),GridListDirective.$inject=["$interpolate","$mdConstant","$mdGridLayout","$mdMedia"],GridListController.$inject=["$mdUtil"],GridListController.prototype={invalidateTiles:function(){this.tilesInvalidated=!0,this.invalidateLayout()},invalidateLayout:function(){this.layoutInvalidated||(this.layoutInvalidated=!0,this.$timeout_(angular.bind(this,this.layout)))},layout:function(){try{this.layoutDelegate(this.tilesInvalidated)}finally{this.layoutInvalidated=!1,this.tilesInvalidated=!1}}},GridLayoutFactory.$inject=["$mdUtil"],GridTileDirective.$inject=["$mdMedia"],ng.material.components.gridList=angular.module("material.components.gridList");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.icon');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdIconDirective(n,t,e){function o(o,i,r){function a(){var n=i.parent();return n.attr("aria-label")||n.text()?!0:n.parent().attr("aria-label")||n.parent().text()?!0:!1}function c(){o.svgIcon||o.svgSrc||(o.fontIcon&&i.addClass("md-font "+o.fontIcon),i.addClass(n.fontSet(o.fontSet)))}t(i),c();var u=r.alt||o.fontIcon||o.svgIcon||i.text(),s=r.$normalize(r.$attr.mdSvgIcon||r.$attr.mdSvgSrc||"");r["aria-label"]||(""==u||a()?i.text()||e.expect(i,"aria-hidden","true"):(e.expect(i,"aria-label",u),e.expect(i,"role","img"))),s&&r.$observe(s,function(t){i.empty(),t&&n(t).then(function(n){i.append(n)})})}return{scope:{fontSet:"@mdFontSet",fontIcon:"@mdFontIcon",svgIcon:"@mdSvgIcon",svgSrc:"@mdSvgSrc"},restrict:"E",link:o}}function MdIconProvider(){}function ConfigurationItem(n,t){this.url=n,this.viewBoxSize=t||config.defaultViewBoxSize}function MdIconService(n,t,e,o,i){function r(t){if(t=t||"",h[t])return e.when(h[t].clone());if(p.test(t))return l(t).then(c(t));-1==t.indexOf(":")&&(t="$default:"+t);var o=n[t]?u:s;return o(t).then(c(t))}function a(t){var e=angular.isUndefined(t)||!(t&&t.length);if(e)return n.defaultFontSet;var o=t;return angular.forEach(n.fontSets,function(n){n.alias==t&&(o=n.fontSet||o)}),o}function c(t){return function(e){return h[t]=f(e)?e:new d(e,n[t]),h[t].clone()}}function u(t){var e=n[t];return l(e.url).then(function(n){return new d(n,e)})}function s(t){function i(n){var e=t.slice(t.lastIndexOf(":")+1),o=n.querySelector("#"+e);return o?new d(o,c):r(t)}function r(n){var t="icon "+n+" not found";return o.warn(t),e.reject(t||n)}var a=t.substring(0,t.lastIndexOf(":"))||"$default",c=n[a];return c?l(c.url).then(i):r(t)}function l(n){return t.get(n,{cache:i}).then(function(n){return angular.element("<div>").append(n.data).find("svg")[0]})["catch"](g)}function g(n){var t=angular.isString(n)?n:n.message||n.data||n.statusText;return o.warn(t),e.reject(t)}function f(n){return angular.isDefined(n.element)&&angular.isDefined(n.config)}function d(n,t){n&&"svg"!=n.tagName&&(n=angular.element('<svg xmlns="http://www.w3.org/2000/svg">').append(n)[0]),n.getAttribute("xmlns")||n.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=n,this.config=t,this.prepare()}function v(){var t=this.config?this.config.viewBoxSize:n.defaultViewBoxSize;angular.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+t+" "+t},function(n,t){this.element.setAttribute(t,n)},this),angular.forEach({"pointer-events":"none",display:"block"},function(n,t){this.element.style[t]=n},this)}function m(){return this.element.cloneNode(!0)}var h={},p=/[-a-zA-Z0-9@:%_\+.~#?&\/\/=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)?/i;return d.prototype={clone:m,prepare:v},r.fontSet=a,r}goog.provide("ng.material.components.icon"),goog.require("ng.material.core"),angular.module("material.components.icon",["material.core"]),angular.module("material.components.icon").directive("mdIcon",["$mdIcon","$mdTheming","$mdAria",mdIconDirective]),angular.module("material.components.icon").provider("$mdIcon",MdIconProvider);var config={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};MdIconProvider.prototype={icon:function(n,t,e){return-1==n.indexOf(":")&&(n="$default:"+n),config[n]=new ConfigurationItem(t,e),this},iconSet:function(n,t,e){return config[n]=new ConfigurationItem(t,e),this},defaultIconSet:function(n,t){var e="$default";return config[e]||(config[e]=new ConfigurationItem(n,t)),config[e].viewBoxSize=t||config.defaultViewBoxSize,this},defaultViewBoxSize:function(n){return config.defaultViewBoxSize=n,this},fontSet:function(n,t){return config.fontSets.push({alias:n,fontSet:t||n}),this},defaultFontSet:function(n){return config.defaultFontSet=n?n:"",this},defaultIconSize:function(n){return config.defaultIconSize=n,this},preloadIcons:function(n){var t=this,e=[{id:"md-tabs-arrow",url:"md-tabs-arrow.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><polygon points="15.4,7.4 14,6 8,12 14,18 15.4,16.6 10.8,12 "/></g></svg>'},{id:"md-close",url:"md-close.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><path d="M19 6.41l-1.41-1.41-5.59 5.59-5.59-5.59-1.41 1.41 5.59 5.59-5.59 5.59 1.41 1.41 5.59-5.59 5.59 5.59 1.41-1.41-5.59-5.59z"/></g></svg>'},{id:"md-cancel",url:"md-cancel.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><path d="M12 2c-5.53 0-10 4.47-10 10s4.47 10 10 10 10-4.47 10-10-4.47-10-10-10zm5 13.59l-1.41 1.41-3.59-3.59-3.59 3.59-1.41-1.41 3.59-3.59-3.59-3.59 1.41-1.41 3.59 3.59 3.59-3.59 1.41 1.41-3.59 3.59 3.59 3.59z"/></g></svg>'},{id:"md-menu",url:"md-menu.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><path d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" /></svg>'},{id:"md-toggle-arrow",url:"md-toggle-arrow-svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 48 48"><path d="M24 16l-12 12 2.83 2.83 9.17-9.17 9.17 9.17 2.83-2.83z"/><path d="M0 0h48v48h-48z" fill="none"/></svg>'},{id:"md-calendar",url:"md-calendar.svg",svg:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>'}];e.forEach(function(e){t.icon(e.id,e.url),n.put(e.url,e.svg)})},$get:["$http","$q","$log","$templateCache",function(n,t,e,o){return this.preloadIcons(o),MdIconService(config,n,t,e,o)}]},MdIconService.$inject=["config","$http","$q","$log","$templateCache"],ng.material.components.icon=angular.module("material.components.icon");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.input');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdInputContainerDirective(e,t){function n(t,n,i){e(n),n.find("md-icon").length&&n.addClass("md-has-icon")}function i(e,n,i,a){var r=this;r.isErrorGetter=i.mdIsError&&t(i.mdIsError),r.delegateClick=function(){r.input.focus()},r.element=n,r.setFocused=function(e){n.toggleClass("md-input-focused",!!e)},r.setHasValue=function(e){n.toggleClass("md-input-has-value",!!e)},r.setHasPlaceholder=function(e){n.toggleClass("md-input-has-placeholder",!!e)},r.setInvalid=function(e){e?a.addClass(n,"md-input-invalid"):a.removeClass(n,"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"))})}return i.$inject=["$scope","$element","$attrs","$animate"],{restrict:"E",link:n,controller:i}}function labelDirective(){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}))}}}function inputTextareaDirective(e,t,n){function i(i,a,r,s){function o(e){return c.setHasValue(!d.$isEmpty(e)),e}function l(){c.setHasValue(a.val().length>0||(a[0].validity||{}).badInput)}function u(){function n(e){return f(),e}function r(){if(u.style.height=u.offsetHeight+"px",a.addClass("md-no-flex"),isNaN(g)){l.style.height="auto",l.scrollTop=0;var e=s();e&&(l.style.height=e+"px")}else{l.setAttribute("rows",1),m||(l.style.minHeight="0",m=a.prop("clientHeight"),l.style.minHeight=null);var t=Math.min(g,Math.round(l.scrollHeight/m));l.setAttribute("rows",t),l.style.height=m*t+"px"}a.removeClass("md-no-flex"),u.style.height="auto"}function s(){var e=l.scrollHeight-l.offsetHeight;return l.offsetHeight+(e>0?e:0)}function o(e){l.scrollTop=0;var t=l.scrollHeight-l.offsetHeight,n=l.offsetHeight+t;l.style.height=n+"px"}if(!angular.isDefined(a.attr("md-no-autogrow"))){var l=a[0],u=c.element[0],g=NaN,m=null;l.hasAttribute("rows")&&(g=parseInt(l.getAttribute("rows")));var f=e.debounce(r,1);if(d?(d.$formatters.push(n),d.$viewChangeListeners.push(n)):f(),a.on("keydown input",f),isNaN(g)&&(a.attr("rows","1"),a.on("scroll",o)),angular.element(t).on("resize",f),i.$on("$destroy",function(){angular.element(t).off("resize",f)}),angular.isDefined(a.attr("md-detect-hidden"))){var p=function(){var e=!1;return function(){var t=0===l.offsetHeight;t===!1&&e===!0&&r(),e=t}}();i.$watch(function(){return e.nextTick(p,!1),!0})}}}var c=s[0],g=!!s[1],d=s[1]||e.fakeNgModel(),m=angular.isDefined(r.readonly);if(c){if(c.input)throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!");c.input=a;var f=angular.element('<div class="md-errors-spacer">');a.after(f),c.label||n.expect(a,"aria-label",a.attr("placeholder")),a.addClass("md-input"),a.attr("id")||a.attr("id","input_"+e.nextUid()),"textarea"===a[0].tagName.toLowerCase()&&u(),g||l();var p=c.isErrorGetter||function(){return d.$invalid&&(d.$touched||d.$$parentForm&&d.$$parentForm.$submitted)};i.$watch(p,c.setInvalid),d.$parsers.push(o),d.$formatters.push(o),a.on("input",l),m||a.on("focus",function(e){c.setFocused(!0)}).on("blur",function(e){c.setFocused(!1),l()}),i.$on("$destroy",function(){c.setFocused(!1),c.setHasValue(!1),c.input=null})}}return{restrict:"E",require:["^?mdInputContainer","?ngModel"],link:i}}function mdMaxlengthDirective(e,t){function n(n,i,a,r){function s(e){return l.parent?(l.text(String(i.val()||e||"").length+"/"+o),e):e}var o,l,u,c=r[0],g=r[1];t.nextTick(function(){u=angular.element(g.element[0].querySelector(".md-errors-spacer")),l=angular.element('<div class="md-char-counter">'),u.append(l),a.$set("ngTrim","false"),c.$formatters.push(s),c.$viewChangeListeners.push(s),i.on("input keydown keyup",function(){s()}),n.$watch(a.mdMaxlength,function(t){o=t,angular.isNumber(t)&&t>0?(l.parent().length||e.enter(l,u),s()):e.leave(l)}),c.$validators["md-maxlength"]=function(e,t){return!angular.isNumber(o)||0>o?!0:(e||i.val()||t||"").length<=o}})}return{restrict:"A",require:["ngModel","^mdInputContainer"],link:n}}function placeholderDirective(e){function t(e,t,n,i){if(i){var a=i.element.find("label"),r=angular.isDefined(i.element.attr("md-no-float"));if(a&&a.length||r)return void i.setHasPlaceholder(!0);var s=n.placeholder;if(t.removeAttr("placeholder"),i.input&&"MD-SELECT"!=i.input[0].nodeName){var o='<label ng-click="delegateClick()">'+s+"</label>";i.element.addClass("md-icon-float"),i.element.prepend(o)}}}return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:t}}function ngMessagesDirective(){function e(e,n,i,a){a&&(n.toggleClass("md-input-messages-animation",!0),n.toggleClass("md-auto-hide",!0),("false"==i.mdAutoHide||t(i))&&n.toggleClass("md-auto-hide",!1))}function t(e){return visibilityDirectives.some(function(t){return e[t]})}return{restrict:"EA",link:e,require:"^^?mdInputContainer"}}function ngMessageDirective(e){function t(t){var n=e.getClosest(t,"md-input-container");if(n)return t.toggleClass("md-input-message-animation",!0),{}}return{restrict:"EA",compile:t,priority:100}}function mdInputInvalidMessagesAnimation(e,t){return{addClass:function(n,i,a){var r=getMessagesElement(n);"md-input-invalid"==i&&r.hasClass("md-auto-hide")&&showInputMessages(n,t,e)["finally"](a)}}}function ngMessagesAnimation(e,t){return{enter:function(n,i){showInputMessages(n,t,e)["finally"](i)},leave:function(n,i){hideInputMessages(n,t,e)["finally"](i)},addClass:function(n,i,a){"ng-hide"==i?hideInputMessages(n,t,e)["finally"](a):a()},removeClass:function(n,i,a){"ng-hide"==i?showInputMessages(n,t,e)["finally"](a):a()}}}function ngMessageAnimation(e){return{enter:function(t,n){var i=getMessagesElement(t);return i.hasClass("md-auto-hide")?void n():showMessage(t,e)},leave:function(t,n){return hideMessage(t,e)}}}function showInputMessages(e,t,n){var i,a=[],r=getMessagesElement(e);return angular.forEach(r.children(),function(e){i=showMessage(angular.element(e),t),a.push(i.start())}),n.all(a)}function hideInputMessages(e,t,n){var i,a=[],r=getMessagesElement(e);return angular.forEach(r.children(),function(e){i=hideMessage(angular.element(e),t),a.push(i.start())}),n.all(a)}function showMessage(e,t){var n=e[0].offsetHeight;return t(e,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-n+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function hideMessage(e,t){var n=e[0].offsetHeight,i=window.getComputedStyle(e[0]);return 0==i.opacity?t(e,{}):t(e,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-n+"px"},duration:.3})}function getInputElement(e){var t=e.controller("mdInputContainer");return t.element}function getMessagesElement(e){var t=getInputElement(e),n="ng-messages,data-ng-messages,x-ng-messages,[ng-messages],[data-ng-messages],[x-ng-messages]";return angular.element(t[0].querySelector(n))}goog.provide("ng.material.components.input"),goog.require("ng.material.core"),angular.module("material.components.input",["material.core"]).directive("mdInputContainer",mdInputContainerDirective).directive("label",labelDirective).directive("input",inputTextareaDirective).directive("textarea",inputTextareaDirective).directive("mdMaxlength",mdMaxlengthDirective).directive("placeholder",placeholderDirective).directive("ngMessages",ngMessagesDirective).directive("ngMessage",ngMessageDirective).directive("ngMessageExp",ngMessageDirective).animation(".md-input-invalid",mdInputInvalidMessagesAnimation).animation(".md-input-messages-animation",ngMessagesAnimation).animation(".md-input-message-animation",ngMessageAnimation),mdInputContainerDirective.$inject=["$mdTheming","$parse"],inputTextareaDirective.$inject=["$mdUtil","$window","$mdAria"],mdMaxlengthDirective.$inject=["$animate","$mdUtil"],placeholderDirective.$inject=["$log"];var visibilityDirectives=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"];ngMessageDirective.$inject=["$mdUtil"],mdInputInvalidMessagesAnimation.$inject=["$q","$animateCss"],ngMessagesAnimation.$inject=["$q","$animateCss"],ngMessageAnimation.$inject=["$animateCss"],ng.material.components.input=angular.module("material.components.input");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.list');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdListDirective(t){return{restrict:"E",compile:function(e){return e[0].setAttribute("role","list"),t}}}function mdListItemDirective(t,e,n,r){var i=["md-checkbox","md-switch"];return{restrict:"E",controller:"MdListController",compile:function(o,a){function c(){for(var t,e,n=["md-switch","md-checkbox"],r=0;e=n[r];++r)if((t=o.find(e)[0])&&!t.hasAttribute("aria-label")){var i=o.find("p")[0];if(!i)return;t.setAttribute("aria-label","Toggle "+i.textContent)}}function l(t){var e;"div"==t?(e=angular.element('<div class="md-no-style md-list-item-inner">'),e.append(o.contents()),o.addClass("md-proxy-focus")):(e=angular.element('<md-button class="md-no-style"><div class="md-list-item-inner"></div></md-button>'),d(o[0],e[0]),e.children().eq(0).append(o.contents())),o[0].setAttribute("tabindex","-1"),o.append(e)}function s(){if(h&&!m(h)&&h.hasAttribute("ng-click")){t.expect(h,"aria-label");var e=angular.element('<md-button class="md-secondary-container md-icon-button">');d(h,e[0]),h.setAttribute("tabindex","-1"),h.classList.remove("md-secondary"),e.append(h),h=e[0]}h&&(h.hasAttribute("ng-click")||a.ngClick&&u(h))&&(o.addClass("md-with-secondary"),o.append(h))}function d(t,e){var n=["ng-if","ng-click","aria-label","ng-disabled","ui-sref","href","ng-href","ng-attr-ui-sref"];angular.forEach(n,function(n){t.hasAttribute(n)&&(e.setAttribute(n,t.getAttribute(n)),t.removeAttribute(n))})}function u(t){return-1!=i.indexOf(t.nodeName.toLowerCase())}function m(t){var e=t.nodeName.toUpperCase();return"MD-BUTTON"==e||"BUTTON"==e}function f(t,o,a,c){function l(t){for(var e=t.attributes,n=0;n<e.length;n++)if("ngClick"===a.$normalize(e[n].name))return!0;return!1}function s(){var t=o.children();t.length&&!t[0].hasAttribute("ng-click")&&angular.forEach(i,function(t){angular.forEach(m.querySelectorAll(t),function(t){u.push(t)})})}function d(){(1==u.length||f)&&(o.addClass("md-clickable"),f||c.attachRipple(t,angular.element(o[0].querySelector(".md-no-style"))))}var u=[],m=o[0].firstElementChild,f=m&&l(m);s(),d(),o.hasClass("md-proxy-focus")&&u.length&&angular.forEach(u,function(e){e=angular.element(e),t.mouseActive=!1,e.on("mousedown",function(){t.mouseActive=!0,r(function(){t.mouseActive=!1},100)}).on("focus",function(){t.mouseActive===!1&&o.addClass("md-focused"),e.on("blur",function n(){o.removeClass("md-focused"),e.off("blur",n)})})}),f||u.length||m&&m.addEventListener("keypress",function(t){if("INPUT"!=t.target.nodeName&&"TEXTAREA"!=t.target.nodeName){var n=t.which||t.keyCode;n==e.KEY_CODE.SPACE&&m&&(m.click(),t.preventDefault(),t.stopPropagation())}}),o.off("click"),o.off("keypress"),1==u.length&&m&&o.children().eq(0).on("click",function(t){var e=n.getClosest(t.target,"BUTTON");!e&&m.contains(t.target)&&angular.forEach(u,function(e){t.target===e||e.contains(t.target)||angular.element(e).triggerHandler("click")})})}var g,v,h=o[0].querySelector(".md-secondary");if(o[0].setAttribute("role","listitem"),a.ngClick||a.ngHref||a.href||a.uiSref||a.ngAttrUiSref)l("button");else{for(var p,b=0;p=i[b];++b)if(v=o[0].querySelector(p)){g=!0;break}g?l("div"):o[0].querySelector("md-button:not(.md-secondary):not(.md-exclude)")||o.addClass("md-no-proxy")}return s(),c(),f}}}function MdListController(t,e,n){function r(t,e){var r={};n.attach(t,e,r)}var i=this;i.attachRipple=r}goog.provide("ng.material.components.list"),goog.require("ng.material.core"),angular.module("material.components.list",["material.core"]).controller("MdListController",MdListController).directive("mdList",mdListDirective).directive("mdListItem",mdListItemDirective),mdListDirective.$inject=["$mdTheming"],mdListItemDirective.$inject=["$mdAria","$mdConstant","$mdUtil","$timeout"],MdListController.$inject=["$scope","$element","$mdListInkRipple"],ng.material.components.list=angular.module("material.components.list");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.menu');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MenuController(e,t,n,r,o,a,i,l){var s,u,d=this;this.nestLevel=parseInt(t.mdNestLevel,10)||0,this.init=function(e,t){t=t||{},s=e,u=n[0].querySelector("[ng-click],[ng-mouseenter]"),u.setAttribute("aria-expanded","false"),this.isInMenuBar=t.isInMenuBar,this.nestedMenus=o.nodesToArray(s[0].querySelectorAll(".md-nested-menu")),s.on("$mdInterimElementRemove",function(){d.isOpen=!1});var a="menu_container_"+o.nextUid();s.attr("id",a),angular.element(u).attr({"aria-owns":a,"aria-haspopup":"true"}),r.$on("$destroy",this.disableHoverListener)};var c,m,p=[];this.enableHoverListener=function(){p.push(i.$on("$mdMenuOpen",function(e,t){s[0].contains(t[0])&&(d.currentlyOpenMenu=t.controller("mdMenu"),d.isAlreadyOpening=!1,d.currentlyOpenMenu.registerContainerProxy(d.triggerContainerProxy.bind(d)))})),p.push(i.$on("$mdMenuClose",function(e,t){s[0].contains(t[0])&&(d.currentlyOpenMenu=void 0)})),m=angular.element(o.nodesToArray(s[0].children[0].children)),m.on("mouseenter",d.handleMenuItemHover),m.on("mouseleave",d.handleMenuItemMouseLeave)},this.disableHoverListener=function(){for(;p.length;)p.shift()();m&&m.off("mouseenter",d.handleMenuItemHover),m&&m.off("mouseleave",d.handleMenuMouseLeave)},this.handleMenuItemHover=function(e){if(!d.isAlreadyOpening){var t=e.target.querySelector("md-menu")||o.getClosest(e.target,"MD-MENU");c=a(function(){if(t&&(t=angular.element(t).controller("mdMenu")),d.currentlyOpenMenu&&d.currentlyOpenMenu!=t){var e=d.nestLevel+1;d.currentlyOpenMenu.close(!0,{closeTo:e})}else t&&!t.isOpen&&t.open&&(d.isAlreadyOpening=!0,t.open())},t?100:250);var n=e.currentTarget.querySelector("button:not([disabled])");n&&n.focus()}},this.handleMenuItemMouseLeave=function(){c&&(a.cancel(c),c=void 0)},this.open=function(t){t&&t.stopPropagation(),t&&t.preventDefault(),d.isOpen||(d.enableHoverListener(),d.isOpen=!0,u=u||(t?t.target:n[0]),u.setAttribute("aria-expanded","true"),r.$emit("$mdMenuOpen",n),e.show({scope:r,mdMenuCtrl:d,nestLevel:d.nestLevel,element:s,target:u,preserveElement:!0,parent:"body"})["finally"](function(){u.setAttribute("aria-expanded","false"),d.disableHoverListener()}))},r.$mdOpenMenu=this.open,r.$watch(function(){return d.isOpen},function(e){e?(s.attr("aria-hidden","false"),n[0].classList.add("md-open"),angular.forEach(d.nestedMenus,function(e){e.classList.remove("md-open")})):(s.attr("aria-hidden","true"),n[0].classList.remove("md-open")),r.$mdMenuIsOpen=d.isOpen}),this.focusMenuContainer=function(){var e=s[0].querySelector("[md-menu-focus-target]");e||(e=s[0].querySelector(".md-button")),e.focus()},this.registerContainerProxy=function(e){this.containerProxy=e},this.triggerContainerProxy=function(e){this.containerProxy&&this.containerProxy(e)},this.destroy=function(){return d.isOpen?e.destroy():l.when(!1)},this.close=function(t,o){if(d.isOpen){d.isOpen=!1;var a=angular.extend({},o,{skipFocus:t});if(r.$emit("$mdMenuClose",n,a),e.hide(null,o),!t){var i=d.restoreFocusTo||n.find("button")[0];i instanceof angular.element&&(i=i[0]),i&&i.focus()}}},this.positionMode=function(){var e=(t.mdPositionMode||"target").split(" ");return 1==e.length&&e.push(e[0]),{left:e[0],top:e[1]}},this.offsets=function(){var e=(t.mdOffset||"0 0").split(" ").map(parseFloat);if(2==e.length)return{left:e[0],top:e[1]};if(1==e.length)return{top:e[0],left:e[0]};throw Error("Invalid offsets specified. Please follow format <x, y> or <n>")}}function MenuDirective(e){function t(t){t.addClass("md-menu");var o=t.children()[0];if(o.hasAttribute("ng-click")||(o=o.querySelector("[ng-click],[ng-mouseenter]")||o),!o||"MD-BUTTON"!=o.nodeName&&"BUTTON"!=o.nodeName||o.hasAttribute("type")||o.setAttribute("type","button"),2!=t.children().length)throw Error(r+"Expected two children elements.");o&&o.setAttribute("aria-haspopup","true");var a=t[0].querySelectorAll("md-menu"),i=parseInt(t[0].getAttribute("md-nest-level"),10)||0;return a&&angular.forEach(e.nodesToArray(a),function(e){e.hasAttribute("md-position-mode")||e.setAttribute("md-position-mode","cascade"),e.classList.add("md-nested-menu"),e.setAttribute("md-nest-level",i+1)}),n}function n(e,t,n,r){var o=r[0],a=void 0!=r[1],i=angular.element('<div class="md-open-menu-container md-whiteframe-z2"></div>'),l=t.children()[1];l.hasAttribute("role")||l.setAttribute("role","menu"),i.append(l),t.on("$destroy",function(){i.remove()}),t.append(i),i[0].style.display="none",o.init(i,{isInMenuBar:a})}var r="Invalid HTML for md-menu: ";return{restrict:"E",require:["mdMenu","?^mdMenuBar"],controller:"mdMenuCtrl",scope:!0,compile:t}}function MenuProvider(e){function t(e,t,o,a,i,l,s,u,d){function c(t,n,r){return r.nestLevel?angular.noop:(r.disableParentScroll&&!e.getClosest(r.target,"MD-DIALOG")?r.restoreScroll=e.disableScrollAround(r.element,r.parent):r.disableParentScroll=!1,r.hasBackdrop&&(r.backdrop=e.createBackdrop(t,"md-menu-backdrop md-click-catcher"),d.enter(r.backdrop,a[0].body)),function(){r.backdrop&&r.backdrop.remove(),r.disableParentScroll&&r.restoreScroll()})}function m(e,t,n){function r(){return u(t,{addClass:"md-leave"}).start()}function o(){t.removeClass("md-active"),h(t,n),n.alreadyOpen=!1}return n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?o():r().then(o)}function p(n,r,a){function d(){return a.parent.append(r),r[0].style.display="",l(function(e){var t=v(r,a);r.removeClass("md-leave"),u(r,{addClass:"md-active",from:M.toCss(t),to:M.toCss({transform:""})}).start().then(e)})}function m(){if(!a.target)throw Error("$mdMenu.show() expected a target to animate from in options.target");angular.extend(a,{alreadyOpen:!1,isRemoved:!1,target:angular.element(a.target),parent:angular.element(a.parent),menuContentEl:angular.element(r[0].querySelector("md-menu-content"))})}function p(){var e=function(e,t){return s.throttle(function(){if(!a.isRemoved){var n=v(e,t);e.css(M.toCss(n))}})}(r,a);return i.addEventListener("resize",e),i.addEventListener("orientationchange",e),function(){i.removeEventListener("resize",e),i.removeEventListener("orientationchange",e)}}function g(){function t(t){var n;switch(t.keyCode){case o.KEY_CODE.ESCAPE:a.mdMenuCtrl.close(!1,{closeAll:!0}),n=!0;break;case o.KEY_CODE.UP_ARROW:f(t,a.menuContentEl,a,-1)||a.nestLevel||a.mdMenuCtrl.triggerContainerProxy(t),n=!0;break;case o.KEY_CODE.DOWN_ARROW:f(t,a.menuContentEl,a,1)||a.nestLevel||a.mdMenuCtrl.triggerContainerProxy(t),n=!0;break;case o.KEY_CODE.LEFT_ARROW:a.nestLevel?a.mdMenuCtrl.close():a.mdMenuCtrl.triggerContainerProxy(t),n=!0;break;case o.KEY_CODE.RIGHT_ARROW:var r=e.getClosest(t.target,"MD-MENU");r&&r!=a.parent[0]?t.target.click():a.mdMenuCtrl.triggerContainerProxy(t),n=!0}n&&(t.preventDefault(),t.stopImmediatePropagation())}function i(e){e.preventDefault(),e.stopPropagation(),n.$apply(function(){a.mdMenuCtrl.close(!0,{closeAll:!0})})}function l(t){function r(){n.$apply(function(){a.mdMenuCtrl.close(!0,{closeAll:!0})})}function o(e,t){if(!e)return!1;for(var n,r=0;n=t[r];++r)for(var o,a=[n,"data-"+n,"x-"+n],i=0;o=a[i];++i)if(e.hasAttribute(o))return!0;return!1}var i=t.target;do{if(i==a.menuContentEl[0])return;if((o(i,["ng-click","ng-href","ui-sref"])||"BUTTON"==i.nodeName||"MD-BUTTON"==i.nodeName)&&!o(i,["md-prevent-menu-close"])){var l=e.getClosest(i,"MD-MENU");i.hasAttribute("disabled")||l&&l!=a.parent[0]||r();break}}while(i=i.parentNode)}r.addClass("md-clickable"),a.backdrop&&a.backdrop.on("click",i),a.menuContentEl.on("keydown",t),a.menuContentEl[0].addEventListener("click",l,!0);var s=a.menuContentEl[0].querySelector("[md-menu-focus-target]");if(!s){var u=a.menuContentEl[0].firstElementChild;s=u&&(u.querySelector(".md-button:not([disabled])")||u.firstElementChild)}return s&&s.focus(),function(){r.removeClass("md-clickable"),a.backdrop&&a.backdrop.off("click",i),a.menuContentEl.off("keydown",t),a.menuContentEl[0].removeEventListener("click",l,!0)}}return m(a),t.inherit(a.menuContentEl,a.target),a.cleanupResizing=p(),a.hideBackdrop=c(n,r,a),d().then(function(e){return a.alreadyOpen=!0,a.cleanupInteraction=g(),e})}function f(t,n,r,o){for(var a,i=e.getClosest(t.target,"MD-MENU-ITEM"),l=e.nodesToArray(n[0].children),s=l.indexOf(i),u=s+o;u>=0&&u<l.length;u+=o){var d=l[u].querySelector(".md-button");if(a=g(d))break}return a}function g(e){return e&&-1!=e.getAttribute("tabindex")?(e.focus(),a[0].activeElement==e):void 0}function h(e,t){t.preserveElement?n(e).style.display="none":n(e).parentNode===n(t.parent)&&n(t.parent).removeChild(n(e))}function v(t,n){function o(e){e.top=Math.max(Math.min(e.top,v.bottom-u.offsetHeight),v.top),e.left=Math.max(Math.min(e.left,v.right-u.offsetWidth),v.left)}function l(){for(var e=0;e<d.children.length;++e)if("none"!=i.getComputedStyle(d.children[e]).display)return d.children[e]}var s,u=t[0],d=t[0].firstElementChild,c=d.getBoundingClientRect(),m=a[0].body,p=m.getBoundingClientRect(),f=i.getComputedStyle(d),g=n.target[0].querySelector("[md-menu-origin]")||n.target[0],h=g.getBoundingClientRect(),v={left:p.left+r,top:Math.max(p.top,0)+r,bottom:Math.max(p.bottom,Math.max(p.top,0)+p.height)-r,right:p.right-r},M={top:0,left:0,right:0,bottom:0},b={top:0,left:0,right:0,bottom:0},y=n.mdMenuCtrl.positionMode();("target"==y.top||"target"==y.left||"target-right"==y.left)&&(s=l(),s&&(s=s.firstElementChild||s,s=s.querySelector("[md-menu-align-target]")||s,M=s.getBoundingClientRect(),b={top:parseFloat(u.style.top||0),left:parseFloat(u.style.left||0)}));var C={},E="top ";switch(y.top){case"target":C.top=b.top+h.top-M.top;break;case"cascade":C.top=h.top-parseFloat(f.paddingTop)-g.style.top;break;case"bottom":C.top=h.top+h.height;break;default:throw new Error('Invalid target mode "'+y.top+'" specified for md-menu on Y axis.')}switch(y.left){case"target":C.left=b.left+h.left-M.left,E+="left";break;case"target-right":C.left=h.right-c.width+(c.right-M.right),E+="right";break;case"cascade":var k=h.right+c.width<v.right;C.left=k?h.right-g.style.left:h.left-g.style.left-c.width,E+=k?"left":"right";break;case"left":C.left=h.left,E+="left";break;default:throw new Error('Invalid target mode "'+y.left+'" specified for md-menu on X axis.')}var $=n.mdMenuCtrl.offsets();C.top+=$.top,C.left+=$.left,o(C);var O=Math.round(100*Math.min(h.width/u.offsetWidth,1))/100,A=Math.round(100*Math.min(h.height/u.offsetHeight,1))/100;return{top:Math.round(C.top),left:Math.round(C.left),transform:n.alreadyOpen?void 0:e.supplant("scale({0},{1})",[O,A]),transformOrigin:E}}var M=e.dom.animator;return{parent:"body",onShow:p,onRemove:m,hasBackdrop:!0,disableParentScroll:!0,skipCompile:!0,preserveScope:!0,skipHide:!0,themable:!0}}function n(e){return e instanceof angular.element&&(e=e[0]),e}var r=8;return t.$inject=["$mdUtil","$mdTheming","$mdConstant","$document","$window","$q","$$rAF","$animateCss","$animate"],e("$mdMenu").setDefaults({methods:["target"],options:t})}goog.provide("ng.material.components.menu"),goog.require("ng.material.components.backdrop"),goog.require("ng.material.core"),angular.module("material.components.menu",["material.core","material.components.backdrop"]),angular.module("material.components.menu").controller("mdMenuCtrl",MenuController),MenuController.$inject=["$mdMenu","$attrs","$element","$scope","$mdUtil","$timeout","$rootScope","$q"],angular.module("material.components.menu").directive("mdMenu",MenuDirective),MenuDirective.$inject=["$mdUtil"],angular.module("material.components.menu").provider("$mdMenu",MenuProvider),MenuProvider.$inject=["$$interimElementProvider"],ng.material.components.menu=angular.module("material.components.menu");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.menuBar');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MenuBarController(e,t,n,o,r,i,a,l){this.$element=n,this.$attrs=o,this.$mdConstant=r,this.$mdUtil=a,this.$document=i,this.$scope=e,this.$rootScope=t,this.$timeout=l;var u=this;angular.forEach(BOUND_MENU_METHODS,function(e){u[e]=angular.bind(u,u[e])})}function MenuBarDirective(e,t){return{restrict:"E",require:"mdMenuBar",controller:"MenuBarController",compile:function(n,o){return o.ariaRole||n[0].setAttribute("role","menubar"),angular.forEach(n[0].children,function(t){if("MD-MENU"==t.nodeName){t.hasAttribute("md-position-mode")||(t.setAttribute("md-position-mode","left bottom"),t.querySelector("button,a").setAttribute("role","menuitem"));var n=e.nodesToArray(t.querySelectorAll("md-menu-content"));angular.forEach(n,function(e){e.classList.add("md-menu-bar-menu"),e.classList.add("md-dense"),e.hasAttribute("width")||e.setAttribute("width",5)})}}),function(e,n,o,r){t(e,n),r.init()}}}}function MenuDividerDirective(){return{restrict:"E",compile:function(e,t){t.role||e[0].setAttribute("role","separator")}}}function MenuItemController(e,t,n){this.$element=t,this.$attrs=n,this.$scope=e}function MenuItemDirective(){return{require:["mdMenuItem","?ngModel"],priority:210,compile:function(e,t){function n(t,n,o){o=o||e,o instanceof angular.element&&(o=o[0]),o.hasAttribute(t)||o.setAttribute(t,n)}function o(t){if(e[0].hasAttribute(t)){var n=e[0].getAttribute(t);i[0].setAttribute(t,n),e[0].removeAttribute(t)}}if("checkbox"==t.type||"radio"==t.type){var r=e[0].textContent,i=angular.element('<md-button type="button"></md-button>');i.html(r),i.attr("tabindex","0"),e.html(""),e.append(angular.element('<md-icon md-svg-icon="check"></md-icon>')),e.append(i),e[0].classList.add("md-indent"),n("role","checkbox"==t.type?"menuitemcheckbox":"menuitemradio",i),angular.forEach(["ng-disabled"],o)}else n("role","menuitem",e[0].querySelector("md-button,button,a"));return function(e,t,n,o){var r=o[0],i=o[1];r.init(i)}},controller:"MenuItemController"}}goog.provide("ng.material.components.menuBar"),goog.require("ng.material.components.menu"),goog.require("ng.material.core"),angular.module("material.components.menuBar",["material.core","material.components.menu"]),angular.module("material.components.menuBar").controller("MenuBarController",MenuBarController);var BOUND_MENU_METHODS=["handleKeyDown","handleMenuHover","scheduleOpenHoveredMenu","cancelScheduledOpen"];MenuBarController.$inject=["$scope","$rootScope","$element","$attrs","$mdConstant","$document","$mdUtil","$timeout"],MenuBarController.prototype.init=function(){var e=this.$element,t=this.$mdUtil,n=this.$scope,o=this,r=[];e.on("keydown",this.handleKeyDown),this.parentToolbar=t.getClosest(e,"MD-TOOLBAR"),r.push(this.$rootScope.$on("$mdMenuOpen",function(t,n){-1!=o.getMenus().indexOf(n[0])&&(e[0].classList.add("md-open"),n[0].classList.add("md-open"),o.currentlyOpenMenu=n.controller("mdMenu"),o.currentlyOpenMenu.registerContainerProxy(o.handleKeyDown),o.enableOpenOnHover())})),r.push(this.$rootScope.$on("$mdMenuClose",function(n,r,i){var a=o.getMenus();if(-1!=a.indexOf(r[0])&&(e[0].classList.remove("md-open"),r[0].classList.remove("md-open")),e[0].contains(r[0])){for(var l=r[0];l&&-1==a.indexOf(l);)l=t.getClosest(l,"MD-MENU",!0);l&&(i.skipFocus||l.querySelector("button:not([disabled])").focus(),o.currentlyOpenMenu=void 0,o.disableOpenOnHover(),o.setKeyboardMode(!0))}})),n.$on("$destroy",function(){for(;r.length;)r.shift()()}),this.setKeyboardMode(!0)},MenuBarController.prototype.setKeyboardMode=function(e){e?this.$element[0].classList.add("md-keyboard-mode"):this.$element[0].classList.remove("md-keyboard-mode")},MenuBarController.prototype.enableOpenOnHover=function(){if(!this.openOnHoverEnabled){this.openOnHoverEnabled=!0;var e;(e=this.parentToolbar)&&(e.dataset.mdRestoreStyle=e.getAttribute("style"),e.style.position="relative",e.style.zIndex=100),angular.element(this.getMenus()).on("mouseenter",this.handleMenuHover)}},MenuBarController.prototype.handleMenuHover=function(e){this.setKeyboardMode(!1),this.openOnHoverEnabled&&this.scheduleOpenHoveredMenu(e)},MenuBarController.prototype.disableOpenOnHover=function(){if(this.openOnHoverEnabled){this.openOnHoverEnabled=!1;var e;(e=this.parentToolbar)&&e.setAttribute("style",e.dataset.mdRestoreStyle||""),angular.element(this.getMenus()).off("mouseenter",this.handleMenuHover)}},MenuBarController.prototype.scheduleOpenHoveredMenu=function(e){var t=angular.element(e.currentTarget),n=t.controller("mdMenu");this.setKeyboardMode(!1),this.scheduleOpenMenu(n)},MenuBarController.prototype.scheduleOpenMenu=function(e){var t=this,n=this.$timeout;e!=t.currentlyOpenMenu&&(n.cancel(t.pendingMenuOpen),t.pendingMenuOpen=n(function(){t.pendingMenuOpen=void 0,t.currentlyOpenMenu&&t.currentlyOpenMenu.close(!0,{closeAll:!0}),e.open()},200,!1))},MenuBarController.prototype.handleKeyDown=function(e){var t=this.$mdConstant.KEY_CODE,n=this.currentlyOpenMenu,o=n&&n.isOpen;this.setKeyboardMode(!0);var r,i,a;switch(e.keyCode){case t.DOWN_ARROW:n?n.focusMenuContainer():this.openFocusedMenu(),r=!0;break;case t.UP_ARROW:n&&n.close(),r=!0;break;case t.LEFT_ARROW:i=this.focusMenu(-1),o&&(a=angular.element(i).controller("mdMenu"),this.scheduleOpenMenu(a)),r=!0;break;case t.RIGHT_ARROW:i=this.focusMenu(1),o&&(a=angular.element(i).controller("mdMenu"),this.scheduleOpenMenu(a)),r=!0}r&&(e&&e.preventDefault&&e.preventDefault(),e&&e.stopImmediatePropagation&&e.stopImmediatePropagation())},MenuBarController.prototype.focusMenu=function(e){var t=this.getMenus(),n=this.getFocusedMenuIndex();-1==n&&(n=this.getOpenMenuIndex());var o=!1;return-1==n?n=0:(0>e&&n>0||e>0&&n<t.length-e)&&(n+=e,o=!0),o?(t[n].querySelector("button").focus(),t[n]):void 0},MenuBarController.prototype.openFocusedMenu=function(){var e=this.getFocusedMenu();e&&angular.element(e).controller("mdMenu").open()},MenuBarController.prototype.getMenus=function(){var e=this.$element;return this.$mdUtil.nodesToArray(e[0].children).filter(function(e){return"MD-MENU"==e.nodeName})},MenuBarController.prototype.getFocusedMenu=function(){return this.getMenus()[this.getFocusedMenuIndex()]},MenuBarController.prototype.getFocusedMenuIndex=function(){var e=this.$mdUtil,t=e.getClosest(this.$document[0].activeElement,"MD-MENU");if(!t)return-1;var n=this.getMenus().indexOf(t);return n},MenuBarController.prototype.getOpenMenuIndex=function(){for(var e=this.getMenus(),t=0;t<e.length;++t)if(e[t].classList.contains("md-open"))return t;return-1},angular.module("material.components.menuBar").directive("mdMenuBar",MenuBarDirective),MenuBarDirective.$inject=["$mdUtil","$mdTheming"],angular.module("material.components.menuBar").directive("mdMenuDivider",MenuDividerDirective),angular.module("material.components.menuBar").controller("MenuItemController",MenuItemController),MenuItemController.$inject=["$scope","$element","$attrs"],MenuItemController.prototype.init=function(e){var t=this.$element,n=this.$attrs;this.ngModel=e,("checkbox"==n.type||"radio"==n.type)&&(this.mode=n.type,this.iconEl=t[0].children[0],this.buttonEl=t[0].children[1],e&&this.initClickListeners())},MenuItemController.prototype.clearNgAria=function(){var e=this.$element[0],t=["role","tabindex","aria-invalid","aria-checked"];angular.forEach(t,function(t){e.removeAttribute(t)})},MenuItemController.prototype.initClickListeners=function(){function e(){if("radio"==a){var e=i.ngValue?r.$eval(i.ngValue):i.value;return o.$modelValue==e}return o.$modelValue}function t(e){e?u.off("click",s):u.on("click",s)}var n=this,o=this.ngModel,r=this.$scope,i=this.$attrs,a=(this.$element,this.mode);this.handleClick=angular.bind(this,this.handleClick);var l=this.iconEl,u=angular.element(this.buttonEl),s=this.handleClick;i.$observe("disabled",t),t(i.disabled),o.$render=function(){n.clearNgAria(),e()?(l.style.display="",u.attr("aria-checked","true")):(l.style.display="none",u.attr("aria-checked","false"))},r.$$postDigest(o.$render)},MenuItemController.prototype.handleClick=function(e){var t,n=this.mode,o=this.ngModel,r=this.$attrs;"checkbox"==n?t=!o.$modelValue:"radio"==n&&(t=r.ngValue?this.$scope.$eval(r.ngValue):r.value),o.$setViewValue(t),o.$render()},angular.module("material.components.menuBar").directive("mdMenuItem",MenuItemDirective),ng.material.components.menuBar=angular.module("material.components.menuBar");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.progressCircular');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdProgressCircularDirective(r,e,a){function t(r){return r.attr("aria-valuemin",0),r.attr("aria-valuemax",100),r.attr("role","progressbar"),i}function i(t,i,c){function u(){c.$observe("value",function(r){var e=n(r);i.attr("aria-valuenow",e),h()==l&&p(e)}),c.$observe("mdMode",function(r){switch(r){case l:case m:b.removeClass("ng-hide"),C&&b.removeClass(C),b.addClass(C="md-mode-"+r);break;default:C&&b.removeClass(C),b.addClass("ng-hide"),C=void 0}})}function v(){M.css({width:100*f()+"px",height:100*f()+"px"}),M.children().eq(0).css(w({transform:e.supplant("translate(-50%, -50%) scale( {0} )",[f()])}))}function g(){if(angular.isUndefined(c.mdMode)){var r=angular.isDefined(c.value),t=r?l:m,n="Auto-adding the missing md-mode='{0}' to the ProgressCircular element";a.debug(e.supplant(n,[t])),i.attr("md-mode",t),c.mdMode=t}}function p(r){if(h()){D=D||angular.element(i[0].querySelector(".md-left > .md-half-circle")),x=x||angular.element(i[0].querySelector(".md-right > .md-half-circle")),P=P||angular.element(i[0].querySelector(".md-gap"));var a=s({borderBottomColor:50>=r?"transparent !important":"",transition:50>=r?"":"borderBottomColor 0.1s linear"}),t=s({transition:50>=r?"transform 0.1s linear":"",transform:e.supplant("rotate({0}deg)",[50>=r?135:(r-50)/50*180+135])}),n=s({transition:r>=50?"transform 0.1s linear":"",transform:e.supplant("rotate({0}deg)",[r>=50?45:r/50*180-135])});D.css(w(t)),x.css(w(n)),P.css(w(a))}}function f(){if(!c.mdDiameter)return d;var r=/([0-9]*)%/.exec(c.mdDiameter),e=Math.max(0,r&&r[1]/100||parseFloat(c.mdDiameter));return e>1?e/o:e}function h(){var r=(c.mdMode||"").trim();if(r)switch(r){case l:case m:break;default:r=void 0}return r}r(i);var C,M=i,b=angular.element(i.children()[0]),w=e.dom.animator.toCss;i.attr("md-mode",h()),v(),g(),u();var D,x,P}function n(r){return Math.max(0,Math.min(r||0,100))}function s(r){for(var e in r)r.hasOwnProperty(e)&&""==r[e]&&delete r[e];return r}var o=100,d=.5,l="determinate",m="indeterminate";return{restrict:"E",scope:!0,template:'<div class="md-scale-wrapper"><div class="md-spinner-wrapper"><div class="md-inner"><div class="md-gap"></div><div class="md-left"><div class="md-half-circle"></div></div><div class="md-right"><div class="md-half-circle"></div></div></div></div></div>',compile:t}}goog.provide("ng.material.components.progressCircular"),goog.require("ng.material.core"),angular.module("material.components.progressCircular",["material.core"]).directive("mdProgressCircular",MdProgressCircularDirective),MdProgressCircularDirective.$inject=["$mdTheming","$mdUtil","$log"],ng.material.components.progressCircular=angular.module("material.components.progressCircular");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.progressLinear');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdProgressLinearDirective(e,r,a){function n(e,r,a){return e.attr("aria-valuemin",0),e.attr("aria-valuemax",100),e.attr("role","progressbar"),t}function t(n,t,l){function c(){l.$observe("value",function(e){var r=i(e);t.attr("aria-valuenow",r),g()!=m&&v(h,r)}),l.$observe("mdBufferValue",function(e){v(b,i(e))}),l.$observe("mdMode",function(e){switch(e){case m:case d:case o:case s:L.removeClass("ng-hide "+f),L.addClass(f="md-mode-"+e);break;default:f&&L.removeClass(f),L.addClass("ng-hide"),f=void 0}})}function u(){if(angular.isUndefined(l.mdMode)){var e=angular.isDefined(l.value),n=e?o:s,i="Auto-adding the missing md-mode='{0}' to the ProgressLinear element";a.debug(r.supplant(i,[n])),t.attr("md-mode",n),l.mdMode=n}}function g(){var e=(l.mdMode||"").trim();if(e)switch(e){case o:case s:case d:case m:break;default:e=void 0}return e}function v(e,a){if(g()){var n=r.supplant("translateX({0}%) scale({1},1)",[(a-100)/2,a/100]),t=p({transform:n});angular.element(e).css(t)}}e(t);var f,p=r.dom.animator.toCss,b=angular.element(t[0].querySelector(".md-bar1")),h=angular.element(t[0].querySelector(".md-bar2")),L=angular.element(t[0].querySelector(".md-container"));t.attr("md-mode",g()),u(),c()}function i(e){return Math.max(0,Math.min(e||0,100))}var o="determinate",s="indeterminate",d="buffer",m="query";return{restrict:"E",template:'<div class="md-container"><div class="md-dashed"></div><div class="md-bar md-bar1"></div><div class="md-bar md-bar2"></div></div>',compile:n}}goog.provide("ng.material.components.progressLinear"),goog.require("ng.material.core"),angular.module("material.components.progressLinear",["material.core"]).directive("mdProgressLinear",MdProgressLinearDirective),MdProgressLinearDirective.$inject=["$mdTheming","$mdUtil","$log"],ng.material.components.progressLinear=angular.module("material.components.progressLinear");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.radioButton');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdRadioGroupDirective(e,t,n,i){function r(r,o,a,d){function u(){o.hasClass("md-focused")||o.addClass("md-focused")}function c(n){var i=n.which||n.keyCode;if(i==t.KEY_CODE.ENTER||n.currentTarget==n.target)switch(i){case t.KEY_CODE.LEFT_ARROW:case t.KEY_CODE.UP_ARROW:n.preventDefault(),s.selectPrevious(),u();break;case t.KEY_CODE.RIGHT_ARROW:case t.KEY_CODE.DOWN_ARROW:n.preventDefault(),s.selectNext(),u();break;case t.KEY_CODE.ENTER:var r=angular.element(e.getClosest(o[0],"form"));r.length>0&&r.triggerHandler("submit")}}n(o);var s=d[0],l=d[1]||e.fakeNgModel();s.init(l),r.mouseActive=!1,o.attr({role:"radiogroup",tabIndex:o.attr("tabindex")||"0"}).on("keydown",c).on("mousedown",function(e){r.mouseActive=!0,i(function(){r.mouseActive=!1},100)}).on("focus",function(){r.mouseActive===!1&&s.$element.addClass("md-focused")}).on("blur",function(){s.$element.removeClass("md-focused")})}function o(e){this._radioButtonRenderFns=[],this.$element=e}function a(){return{init:function(e){this._ngModelCtrl=e,this._ngModelCtrl.$render=angular.bind(this,this.render)},add:function(e){this._radioButtonRenderFns.push(e)},remove:function(e){var t=this._radioButtonRenderFns.indexOf(e);-1!==t&&this._radioButtonRenderFns.splice(t,1)},render:function(){this._radioButtonRenderFns.forEach(function(e){e()})},setViewValue:function(e,t){this._ngModelCtrl.$setViewValue(e,t),this.render()},getViewValue:function(){return this._ngModelCtrl.$viewValue},selectNext:function(){return d(this.$element,1)},selectPrevious:function(){return d(this.$element,-1)},setActiveDescendant:function(e){this.$element.attr("aria-activedescendant",e)}}}function d(t,n){var i=e.iterator(t[0].querySelectorAll("md-radio-button"),!0);if(i.count()){var r=function(e){return!angular.element(e).attr("disabled")},o=t[0].querySelector("md-radio-button.md-checked"),a=i[0>n?"previous":"next"](o,r)||i.first();angular.element(a).triggerHandler("click")}}return o.prototype=a(),{restrict:"E",controller:["$element",o],require:["mdRadioGroup","?ngModel"],link:{pre:r}}}function mdRadioButtonDirective(e,t,n){function i(i,o,a,d){function u(e){if(!d)throw"RadioGroupController not found.";d.add(s),a.$observe("value",s),o.on("click",c).on("$destroy",function(){d.remove(s)})}function c(e){o[0].hasAttribute("disabled")||i.$apply(function(){d.setViewValue(a.value,e&&e.type)})}function s(){function e(e){"MD-RADIO-GROUP"!=o.parent()[0].nodeName&&o.parent()[e?"addClass":"removeClass"](r)}var t=d.getViewValue()==a.value;t!==m&&(m=t,o.attr("aria-checked",t),t?(e(!0),o.addClass(r),d.setActiveDescendant(o.attr("id"))):(e(!1),o.removeClass(r)))}function l(n,i){function r(){return a.id||"radio_"+t.nextUid()}i.ariaId=r(),n.attr({id:i.ariaId,role:"radio","aria-checked":"false"}),e.expectWithText(n,"aria-label")}var m;n(o),l(o,i),u()}var r="md-checked";return{restrict:"E",require:"^mdRadioGroup",transclude:!0,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-off"></div><div class="md-on"></div></div><div ng-transclude class="md-label"></div>',link:i}}goog.provide("ng.material.components.radioButton"),goog.require("ng.material.core"),angular.module("material.components.radioButton",["material.core"]).directive("mdRadioGroup",mdRadioGroupDirective).directive("mdRadioButton",mdRadioButtonDirective),mdRadioGroupDirective.$inject=["$mdUtil","$mdConstant","$mdTheming","$timeout"],mdRadioButtonDirective.$inject=["$mdAria","$mdUtil","$mdTheming"],ng.material.components.radioButton=angular.module("material.components.radioButton");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -1295,3 +1295,3 @@ goog.provide('ng.material.components.select');

function calculateMenuPositions(scope, element, opts) {
var
var
containerNode = element[0],

@@ -1318,9 +1318,9 @@ targetNode = opts.target[0].children[0], // target the label

maxWidth = parentRect.width - SELECT_EDGE_MARGIN * 2,
isScrollable = contentNode.scrollHeight > contentNode.offsetHeight,
selectedNode = selectNode.querySelector('md-option[selected]'),
optionNodes = selectNode.getElementsByTagName('md-option'),
optgroupNodes = selectNode.getElementsByTagName('md-optgroup');
optgroupNodes = selectNode.getElementsByTagName('md-optgroup'),
isScrollable = calculateScrollable(element, contentNode),
centeredNode;
var loading = isPromiseLike(opts.loadingAsync);
var centeredNode;
if (!loading) {

@@ -1407,3 +1407,3 @@ // If a selected node, center around that

top = Math.floor(targetRect.top + targetRect.height / 2 - centeredRect.height / 2 -
centeredRect.top + contentNode.scrollTop) + 4;
centeredRect.top + contentNode.scrollTop) + 2;

@@ -1459,2 +1459,21 @@ transformOrigin = (centeredRect.left + targetRect.width / 2) + 'px ' +

}
function calculateScrollable(element, contentNode) {
var isScrollable = false;
try {
var oldDisplay = element[0].style.display;
// Set the element's display to block so that this calculation is correct
element[0].style.display = 'block';
isScrollable = contentNode.scrollHeight > contentNode.offsetHeight;
// Reset it back afterwards
element[0].style.display = oldDisplay;
} finally {
// Nothing to do
}
return isScrollable;
}
}

@@ -1461,0 +1480,0 @@ SelectProvider.$inject = ["$$interimElementProvider"];

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function SelectDirective(e,t,n,r,o,a){function i(o,i){var l=angular.element("<md-select-value><span></span></md-select-value>");if(l.append('<span class="md-select-icon" aria-hidden="true"></span>'),l.addClass("md-select-value"),l[0].hasAttribute("id")||l.attr("id","select_value_label_"+t.nextUid()),o.find("md-content").length||o.append(angular.element("<md-content>").append(o.contents())),i.mdOnOpen&&(o.find("md-content").prepend(angular.element('<div> <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone"></md-progress-circular></div>')),o.find("md-option").attr("ng-show","$$loadingAsyncDone")),i.name){var d=angular.element('<select class="md-visually-hidden">');d.attr({name:"."+i.name,"ng-model":i.ngModel,"aria-hidden":"true",tabindex:"-1"});var c=o.find("md-option");angular.forEach(c,function(e){var t=angular.element("<option>"+e.innerHTML+"</option>");e.hasAttribute("ng-value")?t.attr("ng-value",e.getAttribute("ng-value")):e.hasAttribute("value")&&t.attr("value",e.getAttribute("value")),d.append(t)}),o.parent().append(d)}var s=angular.isDefined(i.multiple)?"multiple":"",u='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';return u=t.supplant(u,[s,o.html()]),o.empty().append(l),o.append(u),i.tabindex=i.tabindex||"0",function(o,i,l,d){function c(){var e=i.attr("aria-label")||i.attr("placeholder");!e&&$&&$.label&&(e=$.label.text()),v=e,r.expect(i,"aria-label",e)}function s(){S&&(D=D||S.find("md-select-menu").controller("mdSelectMenu"),y.setLabelText(D.selectedLabels()))}function u(){if(v){var e=D.selectedLabels({mode:"aria"});i.attr("aria-label",e.length?v+": "+e:v)}}function p(){$&&$.setHasValue(D.selectedLabels().length>0||(i[0].validity||{}).badInput)}function f(){if(S=angular.element(i[0].querySelector(".md-select-menu-container")),x=o,i.attr("md-container-class")){var e=S[0].getAttribute("class")+" "+i.attr("md-container-class");S[0].setAttribute("class",e)}D=S.find("md-select-menu").controller("mdSelectMenu"),D.init(M,l.ngModel),i.on("$destroy",function(){S.remove()})}function m(e){var t=[32,13,38,40];if(-1!=t.indexOf(e.keyCode))e.preventDefault(),h(e);else if(e.keyCode<=90&&e.keyCode>=31){e.preventDefault();var n=D.optNodeForKeyboardSearch(e);if(!n)return;var r=angular.element(n).controller("mdOption");D.isMultiple||D.deselect(Object.keys(D.selected)[0]),D.select(r.hashKey,r.value),D.refreshViewValue()}}function h(){x.isOpen=!0,i.attr("aria-expanded","true"),e.show({scope:x,preserveScope:!0,skipCompile:!0,element:S,target:i[0],selectCtrl:y,preserveElement:!0,hasBackdrop:!0,loadingAsync:l.mdOnOpen?o.$eval(l.mdOnOpen)||!0:!1})["finally"](function(){x.isOpen=!1,i.focus(),i.attr("aria-expanded","false"),M.$setTouched()})}var g,v,b=!0,$=d[0],y=d[1],M=d[2],C=d[3],k=i.find("md-select-value"),E=angular.isDefined(l.readonly);if($){var w=$.isErrorGetter||function(){return M.$invalid&&M.$touched};if($.input)throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");$.input=i,$.label||r.expect(i,"aria-label",i.attr("placeholder")),o.$watch(w,$.setInvalid)}var S,x,D;if(f(),n(i),l.name&&C){var A=i.parent()[0].querySelector('select[name=".'+l.name+'"]');t.nextTick(function(){var e=angular.element(A).controller("ngModel");e&&C.$removeControl(e)})}C&&t.nextTick(function(){C.$setPristine()});var O=M.$render;M.$render=function(){O(),s(),u(),p()},l.$observe("placeholder",M.$render),y.setLabelText=function(e){y.setIsPlaceholder(!e);var t=l.placeholder||($&&$.label?$.label.text():"");e=e||t||"";var n=k.children().eq(0);n.html(e)},y.setIsPlaceholder=function(e){e?(k.addClass("md-select-placeholder"),$&&$.label&&$.label.addClass("md-placeholder")):(k.removeClass("md-select-placeholder"),$&&$.label&&$.label.removeClass("md-placeholder"))},E||(i.on("focus",function(e){$&&$.element.hasClass("md-input-has-value")&&$.setFocused(!0)}),t.nextTick(function(){i.on("blur",function(){b&&(b=!1,M.$setUntouched()),x.isOpen||($&&$.setFocused(!1),p())})})),y.triggerClose=function(){a(l.mdOnClose)(o)},o.$$postDigest(function(){c(),s(),u()}),o.$watch(D.selectedLabels,s);var T;l.$observe("ngMultiple",function(e){T&&T();var t=a(e);T=o.$watch(function(){return t(o)},function(e,t){(void 0!==e||void 0!==t)&&(e?i.attr("multiple","multiple"):i.removeAttr("multiple"),i.attr("aria-multiselectable",e?"true":"false"),S&&(D.setMultiple(e),O=M.$render,M.$render=function(){O(),s(),u(),p()},M.$render()))})}),l.$observe("disabled",function(e){angular.isString(e)&&(e=!0),(void 0===g||g!==e)&&(g=e,e?(i.attr({tabindex:-1,"aria-disabled":"true"}),i.off("click",h),i.off("keydown",m)):(i.attr({tabindex:l.tabindex,"aria-disabled":"false"}),i.on("click",h),i.on("keydown",m)))}),l.disabled||l.ngDisabled||(i.attr({tabindex:l.tabindex,"aria-disabled":"false"}),i.on("click",h),i.on("keydown",m));var R={role:"listbox","aria-expanded":"false","aria-multiselectable":void 0===l.multiple||l.ngMultiple?"false":"true"};i[0].hasAttribute("id")||(R.id="select_"+t.nextUid());var N="select_container_"+t.nextUid();S.attr("id",N),R["aria-owns"]=N,i.attr(R),o.$on("$destroy",function(){e.destroy()["finally"](function(){$&&($.setFocused(!1),$.setHasValue(!1),$.input=null),M.$setTouched()})})}}return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:i,controller:function(){}}}function SelectMenuDirective(e,t,n){function r(e,r,o,a){function i(e){(13==e.keyCode||32==e.keyCode)&&l(e)}function l(n){var r=t.getClosest(n.target,"md-option"),o=r&&angular.element(r).data("$mdOptionController");if(r&&o){if(r.hasAttribute("disabled"))return n.stopImmediatePropagation(),!1;var a=d.hashGetter(o.value),i=angular.isDefined(d.selected[a]);e.$apply(function(){d.isMultiple?i?d.deselect(a):d.select(a,o.value):i||(d.deselect(Object.keys(d.selected)[0]),d.select(a,o.value)),d.refreshViewValue()})}}var d=a[0];n(r),r.on("click",l),r.on("keypress",i)}function o(n,r,o){function a(){var e=l.ngModel.$modelValue||l.ngModel.$viewValue||[];if(angular.isArray(e)){var t=Object.keys(l.selected),n=e.map(l.hashGetter),r=t.filter(function(e){return-1===n.indexOf(e)});r.forEach(l.deselect),n.forEach(function(t,n){l.select(t,e[n])})}}function i(){var e=l.ngModel.$viewValue||l.ngModel.$modelValue;Object.keys(l.selected).forEach(l.deselect),l.select(l.hashGetter(e),e)}var l=this;l.isMultiple=angular.isDefined(r.multiple),l.selected={},l.options={},n.$watchCollection(function(){return l.options},function(){l.ngModel.$render()});var d,c;l.setMultiple=function(e){function t(e,t){return angular.isArray(e||t||[])}var r=l.ngModel;c=c||r.$isEmpty,l.isMultiple=e,d&&d(),l.isMultiple?(r.$validators["md-multiple"]=t,r.$render=a,n.$watchCollection(l.modelBinding,function(e){t(e)&&a(e),l.ngModel.$setPristine()}),r.$isEmpty=function(e){return!e||0===e.length}):(delete r.$validators["md-multiple"],r.$render=i)};var s,u,p,f="",m=300;l.optNodeForKeyboardSearch=function(e){s&&clearTimeout(s),s=setTimeout(function(){s=void 0,f="",p=void 0,u=void 0},m),f+=String.fromCharCode(e.keyCode);var t=new RegExp("^"+f,"i");u||(u=o.find("md-option"),p=new Array(u.length),angular.forEach(u,function(e,t){p[t]=e.textContent.trim()}));for(var n=0;n<p.length;++n)if(t.test(p[n]))return u[n]},l.init=function(t,r){if(l.ngModel=t,l.modelBinding=r,t.$options&&t.$options.trackBy){var o={},a=e(t.$options.trackBy);l.hashGetter=function(e,t){return o.$value=e,a(t||n,o)}}else l.hashGetter=function(e){return angular.isObject(e)?"object_"+(e.$$mdSelectId||(e.$$mdSelectId=++selectNextId)):e};l.setMultiple(l.isMultiple)},l.selectedLabels=function(e){e=e||{};var n=e.mode||"html",r=t.nodesToArray(o[0].querySelectorAll("md-option[selected]"));if(r.length){var a;return"html"==n?a=function(e){return e.innerHTML}:"aria"==n&&(a=function(e){return e.hasAttribute("aria-label")?e.getAttribute("aria-label"):e.textContent}),r.map(a).join(", ")}return""},l.select=function(e,t){var n=l.options[e];n&&n.setSelected(!0),l.selected[e]=t},l.deselect=function(e){var t=l.options[e];t&&t.setSelected(!1),delete l.selected[e]},l.addOption=function(e,t){if(angular.isDefined(l.options[e]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+t.value+'" found.');l.options[e]=t,angular.isDefined(l.selected[e])&&(l.select(e,t.value),l.refreshViewValue())},l.removeOption=function(e){delete l.options[e]},l.refreshViewValue=function(){var e,t=[];for(var n in l.selected)(e=l.options[n])?t.push(e.value):t.push(l.selected[n]);var r=l.ngModel.$options&&l.ngModel.$options.trackBy,o=l.isMultiple?t:t[0],a=l.ngModel.$modelValue;(r?angular.equals(a,o):a==o)||(l.ngModel.$setViewValue(o),l.ngModel.$render())}}return o.$inject=["$scope","$attrs","$element"],{restrict:"E",require:["mdSelectMenu"],scope:!0,controller:o,link:{pre:r}}}function OptionDirective(e,t){function n(e,t){return e.append(angular.element('<div class="md-text">').append(e.contents())),e.attr("tabindex",t.tabindex||"0"),r}function r(n,r,o,a){function i(e,t,r){if(!c.hashGetter)return void(r||n.$$postDigest(function(){i(e,t,!0)}));var o=c.hashGetter(t,n),a=c.hashGetter(e,n);d.hashKey=a,d.value=e,c.removeOption(o,d),c.addOption(a,d)}function l(){var e={role:"option","aria-selected":"false"};r[0].hasAttribute("id")||(e.id="select_option_"+t.nextUid()),r.attr(e)}var d=a[0],c=a[1];angular.isDefined(o.ngValue)?n.$watch(o.ngValue,i):angular.isDefined(o.value)?i(o.value):n.$watch(function(){return r.text()},i),o.$observe("disabled",function(e){e?r.attr("tabindex","-1"):r.attr("tabindex","0")}),n.$$postDigest(function(){o.$observe("selected",function(e){angular.isDefined(e)&&("string"==typeof e&&(e=!0),e?(c.isMultiple||c.deselect(Object.keys(c.selected)[0]),c.select(d.hashKey,d.value)):c.deselect(d.hashKey),c.refreshViewValue())})}),e.attach(n,r),l(),n.$on("$destroy",function(){c.removeOption(d.hashKey,d)})}function o(e){this.selected=!1,this.setSelected=function(t){t&&!this.selected?e.attr({selected:"selected","aria-selected":"true"}):!t&&this.selected&&(e.removeAttr("selected"),e.attr("aria-selected","false")),this.selected=t}}return o.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:o,compile:n}}function OptgroupDirective(){function e(e,t){var n=e.find("label");n.length||(n=angular.element("<label>"),e.prepend(n)),n.addClass("md-container-ignore"),t.label&&n.text(t.label)}return{restrict:"E",compile:e}}function SelectProvider(e){function t(e,t,a,i,l,d,c,s,u){function p(e,t,n){function r(){return c(t,{addClass:"md-leave"}).start()}function o(){t.removeClass("md-active"),t.attr("aria-hidden","true"),t[0].style.display="none",m(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}return n=n||{},n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?o():r().then(o)}function f(n,r,o){function p(e,t,n){return n.parent.append(t),l(function(e,n){try{c(t,{removeClass:"md-leave",duration:0}).start().then(f).then(e)}catch(r){n(r)}})}function f(){return l(function(e){if(o.isRemoved)return l.reject(!1);var t=h(n,r,o);t.container.element.css(v.toCss(t.container.styles)),t.dropDown.element.css(v.toCss(t.dropDown.styles)),d(function(){r.addClass("md-active"),t.dropDown.element.css(v.toCss({transform:""})),b(o.focusedNode),e()})})}function m(e,t,n){return n.disableParentScroll&&!a.getClosest(n.target,"MD-DIALOG")?n.restoreScroll=a.disableScrollAround(n.element,n.parent):n.disableParentScroll=!1,n.hasBackdrop&&(n.backdrop=a.createBackdrop(e,"md-select-backdrop md-click-catcher"),s.enter(n.backdrop,u[0].body,null,{duration:0})),function(){n.backdrop&&n.backdrop.remove(),n.disableParentScroll&&n.restoreScroll(),delete n.restoreScroll}}function b(e){e&&!e.hasAttribute("disabled")&&e.focus()}function $(e,t){var n=r.find("md-select-menu");if(!t.target)throw new Error(a.supplant(g,[t.target]));angular.extend(t,{isRemoved:!1,target:angular.element(t.target),parent:angular.element(t.parent),selectEl:n,contentEl:r.find("md-content"),optionNodes:n[0].getElementsByTagName("md-option")})}function y(){var e=function(e,t,n){return function(){if(!n.isRemoved){var r=h(e,t,n),o=r.container,a=r.dropDown;o.element.css(v.toCss(o.styles)),a.element.css(v.toCss(a.styles))}}}(n,r,o),t=angular.element(i);return t.on("resize",e),t.on("orientationchange",e),function(){t.off("resize",e),t.off("orientationchange",e)}}function M(){o.loadingAsync&&!o.isRemoved&&(n.$$loadingAsyncDone=!1,n.progressMode="indeterminate",l.when(o.loadingAsync).then(function(){n.$$loadingAsyncDone=!0,n.progressMode="",delete o.loadingAsync}).then(function(){d(f)}))}function C(){function n(t){t.preventDefault(),t.stopPropagation(),o.restoreFocus=!1,a.nextTick(e.hide,!0)}function i(n){var r=t.KEY_CODE;switch(n.preventDefault(),n.stopPropagation(),n.keyCode){case r.UP_ARROW:return c();case r.DOWN_ARROW:return d();case r.SPACE:case r.ENTER:var i=a.getClosest(n.target,"md-option");i&&(u.triggerHandler({type:"click",target:i}),n.preventDefault()),s(n);break;case r.TAB:case r.ESCAPE:n.stopPropagation(),n.preventDefault(),o.restoreFocus=!0,a.nextTick(e.hide,!0);break;default:if(n.keyCode>=31&&n.keyCode<=90){var l=u.controller("mdSelectMenu").optNodeForKeyboardSearch(n);o.focusedNode=l||o.focusedNode,l&&l.focus()}}}function l(e){var t,n=a.nodesToArray(o.optionNodes),r=n.indexOf(o.focusedNode);do-1===r?r=0:"next"===e&&r<n.length-1?r++:"prev"===e&&r>0&&r--,t=n[r],t.hasAttribute("disabled")&&(t=void 0);while(!t&&r<n.length-1&&r>0);t&&t.focus(),o.focusedNode=t}function d(){l("next")}function c(){l("prev")}function s(t){function n(){var e=!1;if(t&&t.currentTarget.children.length>0){var n=t.currentTarget.children[0],r=n.scrollHeight>n.clientHeight;if(r&&n.children.length>0){var o=t.pageX-t.currentTarget.getBoundingClientRect().left;o>n.querySelector("md-option").offsetWidth&&(e=!0)}}return e}if(!(t&&"click"==t.type&&t.currentTarget!=u[0]||n())){var r=a.getClosest(t.target,"md-option");r&&r.hasAttribute&&!r.hasAttribute("disabled")&&(t.preventDefault(),t.stopPropagation(),p.isMultiple||(o.restoreFocus=!0,a.nextTick(function(){e.hide(p.ngModel.$viewValue)},!0)))}}if(!o.isRemoved){var u=o.selectEl,p=u.controller("mdSelectMenu")||{};return r.addClass("md-clickable"),o.backdrop&&o.backdrop.on("click",n),u.on("keydown",i),u.on("click",s),function(){o.backdrop&&o.backdrop.off("click",n),u.off("keydown",i),u.off("click",s),r.removeClass("md-clickable"),o.isRemoved=!0}}}return M(),$(n,o),o.hideBackdrop=m(n,r,o),p(n,r,o).then(function(e){return r.attr("aria-hidden","false"),o.alreadyOpen=!0,o.cleanupInteraction=C(),o.cleanupResizing=y(),e},o.hideBackdrop)}function m(e){var t=e.selectCtrl;if(t){var n=e.selectEl.controller("mdSelectMenu");t.setLabelText(n.selectedLabels()),t.triggerClose()}}function h(e,t,l){var d,c=t[0],s=l.target[0].children[0],p=u[0].body,f=l.selectEl[0],m=l.contentEl[0],h=p.getBoundingClientRect(),g=s.getBoundingClientRect(),v=!1,b={left:h.left+SELECT_EDGE_MARGIN,top:SELECT_EDGE_MARGIN,bottom:h.height-SELECT_EDGE_MARGIN,right:h.width-SELECT_EDGE_MARGIN-(a.floatingScrollbars()?16:0)},$={top:g.top-b.top,left:g.left-b.left,right:b.right-(g.left+g.width),bottom:b.bottom-(g.top+g.height)},y=h.width-2*SELECT_EDGE_MARGIN,M=m.scrollHeight>m.offsetHeight,C=f.querySelector("md-option[selected]"),k=f.getElementsByTagName("md-option"),E=f.getElementsByTagName("md-optgroup"),w=n(l.loadingAsync);d=w?m.firstElementChild||m:C?C:E.length?E[0]:k.length?k[0]:m.firstElementChild||m,m.offsetWidth>y?m.style["max-width"]=y+"px":m.style.maxWidth=null,v&&(m.style["min-width"]=g.width+"px"),M&&f.classList.add("md-overflow");var S=d;"MD-OPTGROUP"===(S.tagName||"").toUpperCase()&&(S=k[0]||m.firstElementChild||m,d=S),l.focusedNode=S,c.style.display="block";var x=f.getBoundingClientRect(),D=o(d);if(d){var A=i.getComputedStyle(d);D.paddingLeft=parseInt(A.paddingLeft,10)||0,D.paddingRight=parseInt(A.paddingRight,10)||0}if(M){var O=m.offsetHeight/2;m.scrollTop=D.top+D.height/2-O,$.top<O?m.scrollTop=Math.min(D.top,m.scrollTop+O-$.top):$.bottom<O&&(m.scrollTop=Math.max(D.top+D.height-x.height,m.scrollTop-O+$.bottom))}var T,R,N,L;v?(T=g.left,R=g.top+g.height,N="50% 0",R+x.height>b.bottom&&(R=g.top-x.height,N="50% 100%")):(T=g.left+D.left-D.paddingLeft+2,R=Math.floor(g.top+g.height/2-D.height/2-D.top+m.scrollTop)+4,N=D.left+g.width/2+"px "+(D.top+D.height/2-m.scrollTop)+"px 0px",L=Math.min(g.width+D.paddingLeft+D.paddingRight,y));var _=c.getBoundingClientRect(),G=Math.round(100*Math.min(g.width/x.width,1))/100,B=Math.round(100*Math.min(g.height/x.height,1))/100;return{container:{element:angular.element(c),styles:{left:Math.floor(r(b.left,T,b.right-_.width)),top:Math.floor(r(b.top,R,b.bottom-_.height)),"min-width":L}},dropDown:{element:angular.element(f),styles:{transformOrigin:N,transform:l.alreadyOpen?"":a.supplant("scale({0},{1})",[G,B])}}}}var g="$mdSelect.show() expected a target element in options.target but got '{0}'!",v=a.dom.animator;return{parent:"body",themable:!0,onShow:f,onRemove:p,hasBackdrop:!0,disableParentScroll:!0}}function n(e){return e&&angular.isFunction(e.then)}function r(e,t,n){return Math.max(e,Math.min(t,n))}function o(e){return e?{left:e.offsetLeft,top:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}:{left:0,top:0,width:0,height:0}}return t.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],e("$mdSelect").setDefaults({methods:["target"],options:t})}goog.provide("ng.material.components.select"),goog.require("ng.material.components.backdrop"),goog.require("ng.material.core");var SELECT_EDGE_MARGIN=8,selectNextId=0;angular.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",SelectDirective).directive("mdSelectMenu",SelectMenuDirective).directive("mdOption",OptionDirective).directive("mdOptgroup",OptgroupDirective).provider("$mdSelect",SelectProvider),SelectDirective.$inject=["$mdSelect","$mdUtil","$mdTheming","$mdAria","$compile","$parse"],SelectMenuDirective.$inject=["$parse","$mdUtil","$mdTheming"],OptionDirective.$inject=["$mdButtonInkRipple","$mdUtil"],SelectProvider.$inject=["$$interimElementProvider"],ng.material.components.select=angular.module("material.components.select");
function SelectDirective(e,t,n,r,a,o){function i(a,i){var l=angular.element("<md-select-value><span></span></md-select-value>");if(l.append('<span class="md-select-icon" aria-hidden="true"></span>'),l.addClass("md-select-value"),l[0].hasAttribute("id")||l.attr("id","select_value_label_"+t.nextUid()),a.find("md-content").length||a.append(angular.element("<md-content>").append(a.contents())),i.mdOnOpen&&(a.find("md-content").prepend(angular.element('<div> <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone"></md-progress-circular></div>')),a.find("md-option").attr("ng-show","$$loadingAsyncDone")),i.name){var d=angular.element('<select class="md-visually-hidden">');d.attr({name:"."+i.name,"ng-model":i.ngModel,"aria-hidden":"true",tabindex:"-1"});var c=a.find("md-option");angular.forEach(c,function(e){var t=angular.element("<option>"+e.innerHTML+"</option>");e.hasAttribute("ng-value")?t.attr("ng-value",e.getAttribute("ng-value")):e.hasAttribute("value")&&t.attr("value",e.getAttribute("value")),d.append(t)}),a.parent().append(d)}var s=angular.isDefined(i.multiple)?"multiple":"",u='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';return u=t.supplant(u,[s,a.html()]),a.empty().append(l),a.append(u),i.tabindex=i.tabindex||"0",function(a,i,l,d){function c(){var e=i.attr("aria-label")||i.attr("placeholder");!e&&$&&$.label&&(e=$.label.text()),v=e,r.expect(i,"aria-label",e)}function s(){S&&(D=D||S.find("md-select-menu").controller("mdSelectMenu"),y.setLabelText(D.selectedLabels()))}function u(){if(v){var e=D.selectedLabels({mode:"aria"});i.attr("aria-label",e.length?v+": "+e:v)}}function p(){$&&$.setHasValue(D.selectedLabels().length>0||(i[0].validity||{}).badInput)}function f(){if(S=angular.element(i[0].querySelector(".md-select-menu-container")),x=a,i.attr("md-container-class")){var e=S[0].getAttribute("class")+" "+i.attr("md-container-class");S[0].setAttribute("class",e)}D=S.find("md-select-menu").controller("mdSelectMenu"),D.init(M,l.ngModel),i.on("$destroy",function(){S.remove()})}function m(e){var t=[32,13,38,40];if(-1!=t.indexOf(e.keyCode))e.preventDefault(),h(e);else if(e.keyCode<=90&&e.keyCode>=31){e.preventDefault();var n=D.optNodeForKeyboardSearch(e);if(!n)return;var r=angular.element(n).controller("mdOption");D.isMultiple||D.deselect(Object.keys(D.selected)[0]),D.select(r.hashKey,r.value),D.refreshViewValue()}}function h(){x.isOpen=!0,i.attr("aria-expanded","true"),e.show({scope:x,preserveScope:!0,skipCompile:!0,element:S,target:i[0],selectCtrl:y,preserveElement:!0,hasBackdrop:!0,loadingAsync:l.mdOnOpen?a.$eval(l.mdOnOpen)||!0:!1})["finally"](function(){x.isOpen=!1,i.focus(),i.attr("aria-expanded","false"),M.$setTouched()})}var g,v,b=!0,$=d[0],y=d[1],M=d[2],k=d[3],C=i.find("md-select-value"),E=angular.isDefined(l.readonly);if($){var w=$.isErrorGetter||function(){return M.$invalid&&M.$touched};if($.input)throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");$.input=i,$.label||r.expect(i,"aria-label",i.attr("placeholder")),a.$watch(w,$.setInvalid)}var S,x,D;if(f(),n(i),l.name&&k){var A=i.parent()[0].querySelector('select[name=".'+l.name+'"]');t.nextTick(function(){var e=angular.element(A).controller("ngModel");e&&k.$removeControl(e)})}k&&t.nextTick(function(){k.$setPristine()});var O=M.$render;M.$render=function(){O(),s(),u(),p()},l.$observe("placeholder",M.$render),y.setLabelText=function(e){y.setIsPlaceholder(!e);var t=l.placeholder||($&&$.label?$.label.text():"");e=e||t||"";var n=C.children().eq(0);n.html(e)},y.setIsPlaceholder=function(e){e?(C.addClass("md-select-placeholder"),$&&$.label&&$.label.addClass("md-placeholder")):(C.removeClass("md-select-placeholder"),$&&$.label&&$.label.removeClass("md-placeholder"))},E||(i.on("focus",function(e){$&&$.element.hasClass("md-input-has-value")&&$.setFocused(!0)}),t.nextTick(function(){i.on("blur",function(){b&&(b=!1,M.$setUntouched()),x.isOpen||($&&$.setFocused(!1),p())})})),y.triggerClose=function(){o(l.mdOnClose)(a)},a.$$postDigest(function(){c(),s(),u()}),a.$watch(D.selectedLabels,s);var T;l.$observe("ngMultiple",function(e){T&&T();var t=o(e);T=a.$watch(function(){return t(a)},function(e,t){(void 0!==e||void 0!==t)&&(e?i.attr("multiple","multiple"):i.removeAttr("multiple"),i.attr("aria-multiselectable",e?"true":"false"),S&&(D.setMultiple(e),O=M.$render,M.$render=function(){O(),s(),u(),p()},M.$render()))})}),l.$observe("disabled",function(e){angular.isString(e)&&(e=!0),(void 0===g||g!==e)&&(g=e,e?(i.attr({tabindex:-1,"aria-disabled":"true"}),i.off("click",h),i.off("keydown",m)):(i.attr({tabindex:l.tabindex,"aria-disabled":"false"}),i.on("click",h),i.on("keydown",m)))}),l.disabled||l.ngDisabled||(i.attr({tabindex:l.tabindex,"aria-disabled":"false"}),i.on("click",h),i.on("keydown",m));var R={role:"listbox","aria-expanded":"false","aria-multiselectable":void 0===l.multiple||l.ngMultiple?"false":"true"};i[0].hasAttribute("id")||(R.id="select_"+t.nextUid());var N="select_container_"+t.nextUid();S.attr("id",N),R["aria-owns"]=N,i.attr(R),a.$on("$destroy",function(){e.destroy()["finally"](function(){$&&($.setFocused(!1),$.setHasValue(!1),$.input=null),M.$setTouched()})})}}return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:i,controller:function(){}}}function SelectMenuDirective(e,t,n){function r(e,r,a,o){function i(e){(13==e.keyCode||32==e.keyCode)&&l(e)}function l(n){var r=t.getClosest(n.target,"md-option"),a=r&&angular.element(r).data("$mdOptionController");if(r&&a){if(r.hasAttribute("disabled"))return n.stopImmediatePropagation(),!1;var o=d.hashGetter(a.value),i=angular.isDefined(d.selected[o]);e.$apply(function(){d.isMultiple?i?d.deselect(o):d.select(o,a.value):i||(d.deselect(Object.keys(d.selected)[0]),d.select(o,a.value)),d.refreshViewValue()})}}var d=o[0];n(r),r.on("click",l),r.on("keypress",i)}function a(n,r,a){function o(){var e=l.ngModel.$modelValue||l.ngModel.$viewValue||[];if(angular.isArray(e)){var t=Object.keys(l.selected),n=e.map(l.hashGetter),r=t.filter(function(e){return-1===n.indexOf(e)});r.forEach(l.deselect),n.forEach(function(t,n){l.select(t,e[n])})}}function i(){var e=l.ngModel.$viewValue||l.ngModel.$modelValue;Object.keys(l.selected).forEach(l.deselect),l.select(l.hashGetter(e),e)}var l=this;l.isMultiple=angular.isDefined(r.multiple),l.selected={},l.options={},n.$watchCollection(function(){return l.options},function(){l.ngModel.$render()});var d,c;l.setMultiple=function(e){function t(e,t){return angular.isArray(e||t||[])}var r=l.ngModel;c=c||r.$isEmpty,l.isMultiple=e,d&&d(),l.isMultiple?(r.$validators["md-multiple"]=t,r.$render=o,n.$watchCollection(l.modelBinding,function(e){t(e)&&o(e),l.ngModel.$setPristine()}),r.$isEmpty=function(e){return!e||0===e.length}):(delete r.$validators["md-multiple"],r.$render=i)};var s,u,p,f="",m=300;l.optNodeForKeyboardSearch=function(e){s&&clearTimeout(s),s=setTimeout(function(){s=void 0,f="",p=void 0,u=void 0},m),f+=String.fromCharCode(e.keyCode);var t=new RegExp("^"+f,"i");u||(u=a.find("md-option"),p=new Array(u.length),angular.forEach(u,function(e,t){p[t]=e.textContent.trim()}));for(var n=0;n<p.length;++n)if(t.test(p[n]))return u[n]},l.init=function(t,r){if(l.ngModel=t,l.modelBinding=r,t.$options&&t.$options.trackBy){var a={},o=e(t.$options.trackBy);l.hashGetter=function(e,t){return a.$value=e,o(t||n,a)}}else l.hashGetter=function(e){return angular.isObject(e)?"object_"+(e.$$mdSelectId||(e.$$mdSelectId=++selectNextId)):e};l.setMultiple(l.isMultiple)},l.selectedLabels=function(e){e=e||{};var n=e.mode||"html",r=t.nodesToArray(a[0].querySelectorAll("md-option[selected]"));if(r.length){var o;return"html"==n?o=function(e){return e.innerHTML}:"aria"==n&&(o=function(e){return e.hasAttribute("aria-label")?e.getAttribute("aria-label"):e.textContent}),r.map(o).join(", ")}return""},l.select=function(e,t){var n=l.options[e];n&&n.setSelected(!0),l.selected[e]=t},l.deselect=function(e){var t=l.options[e];t&&t.setSelected(!1),delete l.selected[e]},l.addOption=function(e,t){if(angular.isDefined(l.options[e]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+t.value+'" found.');l.options[e]=t,angular.isDefined(l.selected[e])&&(l.select(e,t.value),l.refreshViewValue())},l.removeOption=function(e){delete l.options[e]},l.refreshViewValue=function(){var e,t=[];for(var n in l.selected)(e=l.options[n])?t.push(e.value):t.push(l.selected[n]);var r=l.ngModel.$options&&l.ngModel.$options.trackBy,a=l.isMultiple?t:t[0],o=l.ngModel.$modelValue;(r?angular.equals(o,a):o==a)||(l.ngModel.$setViewValue(a),l.ngModel.$render())}}return a.$inject=["$scope","$attrs","$element"],{restrict:"E",require:["mdSelectMenu"],scope:!0,controller:a,link:{pre:r}}}function OptionDirective(e,t){function n(e,t){return e.append(angular.element('<div class="md-text">').append(e.contents())),e.attr("tabindex",t.tabindex||"0"),r}function r(n,r,a,o){function i(e,t,r){if(!c.hashGetter)return void(r||n.$$postDigest(function(){i(e,t,!0)}));var a=c.hashGetter(t,n),o=c.hashGetter(e,n);d.hashKey=o,d.value=e,c.removeOption(a,d),c.addOption(o,d)}function l(){var e={role:"option","aria-selected":"false"};r[0].hasAttribute("id")||(e.id="select_option_"+t.nextUid()),r.attr(e)}var d=o[0],c=o[1];angular.isDefined(a.ngValue)?n.$watch(a.ngValue,i):angular.isDefined(a.value)?i(a.value):n.$watch(function(){return r.text()},i),a.$observe("disabled",function(e){e?r.attr("tabindex","-1"):r.attr("tabindex","0")}),n.$$postDigest(function(){a.$observe("selected",function(e){angular.isDefined(e)&&("string"==typeof e&&(e=!0),e?(c.isMultiple||c.deselect(Object.keys(c.selected)[0]),c.select(d.hashKey,d.value)):c.deselect(d.hashKey),c.refreshViewValue())})}),e.attach(n,r),l(),n.$on("$destroy",function(){c.removeOption(d.hashKey,d)})}function a(e){this.selected=!1,this.setSelected=function(t){t&&!this.selected?e.attr({selected:"selected","aria-selected":"true"}):!t&&this.selected&&(e.removeAttr("selected"),e.attr("aria-selected","false")),this.selected=t}}return a.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:a,compile:n}}function OptgroupDirective(){function e(e,t){var n=e.find("label");n.length||(n=angular.element("<label>"),e.prepend(n)),n.addClass("md-container-ignore"),t.label&&n.text(t.label)}return{restrict:"E",compile:e}}function SelectProvider(e){function t(e,t,i,l,d,c,s,u,p){function f(e,t,n){function r(){return s(t,{addClass:"md-leave"}).start()}function a(){t.removeClass("md-active"),t.attr("aria-hidden","true"),t[0].style.display="none",h(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}return n=n||{},n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?a():r().then(a)}function m(n,r,a){function o(e,t,n){return n.parent.append(t),d(function(e,n){try{s(t,{removeClass:"md-leave",duration:0}).start().then(f).then(e)}catch(r){n(r)}})}function f(){return d(function(e){if(a.isRemoved)return d.reject(!1);var t=g(n,r,a);t.container.element.css(b.toCss(t.container.styles)),t.dropDown.element.css(b.toCss(t.dropDown.styles)),c(function(){r.addClass("md-active"),t.dropDown.element.css(b.toCss({transform:""})),h(a.focusedNode),e()})})}function m(e,t,n){return n.disableParentScroll&&!i.getClosest(n.target,"MD-DIALOG")?n.restoreScroll=i.disableScrollAround(n.element,n.parent):n.disableParentScroll=!1,n.hasBackdrop&&(n.backdrop=i.createBackdrop(e,"md-select-backdrop md-click-catcher"),u.enter(n.backdrop,p[0].body,null,{duration:0})),function(){n.backdrop&&n.backdrop.remove(),n.disableParentScroll&&n.restoreScroll(),delete n.restoreScroll}}function h(e){e&&!e.hasAttribute("disabled")&&e.focus()}function $(e,t){var n=r.find("md-select-menu");if(!t.target)throw new Error(i.supplant(v,[t.target]));angular.extend(t,{isRemoved:!1,target:angular.element(t.target),parent:angular.element(t.parent),selectEl:n,contentEl:r.find("md-content"),optionNodes:n[0].getElementsByTagName("md-option")})}function y(){var e=function(e,t,n){return function(){if(!n.isRemoved){var r=g(e,t,n),a=r.container,o=r.dropDown;a.element.css(b.toCss(a.styles)),o.element.css(b.toCss(o.styles))}}}(n,r,a),t=angular.element(l);return t.on("resize",e),t.on("orientationchange",e),function(){t.off("resize",e),t.off("orientationchange",e)}}function M(){a.loadingAsync&&!a.isRemoved&&(n.$$loadingAsyncDone=!1,n.progressMode="indeterminate",d.when(a.loadingAsync).then(function(){n.$$loadingAsyncDone=!0,n.progressMode="",delete a.loadingAsync}).then(function(){c(f)}))}function k(){function n(t){t.preventDefault(),t.stopPropagation(),a.restoreFocus=!1,i.nextTick(e.hide,!0)}function o(n){var r=t.KEY_CODE;switch(n.preventDefault(),n.stopPropagation(),n.keyCode){case r.UP_ARROW:return c();case r.DOWN_ARROW:return d();case r.SPACE:case r.ENTER:var o=i.getClosest(n.target,"md-option");o&&(u.triggerHandler({type:"click",target:o}),n.preventDefault()),s(n);break;case r.TAB:case r.ESCAPE:n.stopPropagation(),n.preventDefault(),a.restoreFocus=!0,i.nextTick(e.hide,!0);break;default:if(n.keyCode>=31&&n.keyCode<=90){var l=u.controller("mdSelectMenu").optNodeForKeyboardSearch(n);a.focusedNode=l||a.focusedNode,l&&l.focus()}}}function l(e){var t,n=i.nodesToArray(a.optionNodes),r=n.indexOf(a.focusedNode);do-1===r?r=0:"next"===e&&r<n.length-1?r++:"prev"===e&&r>0&&r--,t=n[r],t.hasAttribute("disabled")&&(t=void 0);while(!t&&r<n.length-1&&r>0);t&&t.focus(),a.focusedNode=t}function d(){l("next")}function c(){l("prev")}function s(t){function n(){var e=!1;if(t&&t.currentTarget.children.length>0){var n=t.currentTarget.children[0],r=n.scrollHeight>n.clientHeight;if(r&&n.children.length>0){var a=t.pageX-t.currentTarget.getBoundingClientRect().left;a>n.querySelector("md-option").offsetWidth&&(e=!0)}}return e}if(!(t&&"click"==t.type&&t.currentTarget!=u[0]||n())){var r=i.getClosest(t.target,"md-option");r&&r.hasAttribute&&!r.hasAttribute("disabled")&&(t.preventDefault(),t.stopPropagation(),p.isMultiple||(a.restoreFocus=!0,i.nextTick(function(){e.hide(p.ngModel.$viewValue)},!0)))}}if(!a.isRemoved){var u=a.selectEl,p=u.controller("mdSelectMenu")||{};return r.addClass("md-clickable"),a.backdrop&&a.backdrop.on("click",n),u.on("keydown",o),u.on("click",s),function(){a.backdrop&&a.backdrop.off("click",n),u.off("keydown",o),u.off("click",s),r.removeClass("md-clickable"),a.isRemoved=!0}}}return M(),$(n,a),a.hideBackdrop=m(n,r,a),o(n,r,a).then(function(e){return r.attr("aria-hidden","false"),a.alreadyOpen=!0,a.cleanupInteraction=k(),a.cleanupResizing=y(),e},a.hideBackdrop)}function h(e){var t=e.selectCtrl;if(t){var n=e.selectEl.controller("mdSelectMenu");t.setLabelText(n.selectedLabels()),t.triggerClose()}}function g(e,t,d){var c,s=t[0],u=d.target[0].children[0],f=p[0].body,m=d.selectEl[0],h=d.contentEl[0],g=f.getBoundingClientRect(),v=u.getBoundingClientRect(),b=!1,$={left:g.left+SELECT_EDGE_MARGIN,top:SELECT_EDGE_MARGIN,bottom:g.height-SELECT_EDGE_MARGIN,right:g.width-SELECT_EDGE_MARGIN-(i.floatingScrollbars()?16:0)},y={top:v.top-$.top,left:v.left-$.left,right:$.right-(v.left+v.width),bottom:$.bottom-(v.top+v.height)},M=g.width-2*SELECT_EDGE_MARGIN,k=m.querySelector("md-option[selected]"),C=m.getElementsByTagName("md-option"),E=m.getElementsByTagName("md-optgroup"),w=o(t,h),S=n(d.loadingAsync);c=S?h.firstElementChild||h:k?k:E.length?E[0]:C.length?C[0]:h.firstElementChild||h,h.offsetWidth>M?h.style["max-width"]=M+"px":h.style.maxWidth=null,b&&(h.style["min-width"]=v.width+"px"),w&&m.classList.add("md-overflow");var x=c;"MD-OPTGROUP"===(x.tagName||"").toUpperCase()&&(x=C[0]||h.firstElementChild||h,c=x),d.focusedNode=x,s.style.display="block";var D=m.getBoundingClientRect(),A=a(c);if(c){var O=l.getComputedStyle(c);A.paddingLeft=parseInt(O.paddingLeft,10)||0,A.paddingRight=parseInt(O.paddingRight,10)||0}if(w){var T=h.offsetHeight/2;h.scrollTop=A.top+A.height/2-T,y.top<T?h.scrollTop=Math.min(A.top,h.scrollTop+T-y.top):y.bottom<T&&(h.scrollTop=Math.max(A.top+A.height-D.height,h.scrollTop-T+y.bottom))}var R,N,L,_;b?(R=v.left,N=v.top+v.height,L="50% 0",N+D.height>$.bottom&&(N=v.top-D.height,L="50% 100%")):(R=v.left+A.left-A.paddingLeft+2,N=Math.floor(v.top+v.height/2-A.height/2-A.top+h.scrollTop)+2,L=A.left+v.width/2+"px "+(A.top+A.height/2-h.scrollTop)+"px 0px",_=Math.min(v.width+A.paddingLeft+A.paddingRight,M));var G=s.getBoundingClientRect(),B=Math.round(100*Math.min(v.width/D.width,1))/100,I=Math.round(100*Math.min(v.height/D.height,1))/100;return{container:{element:angular.element(s),styles:{left:Math.floor(r($.left,R,$.right-G.width)),top:Math.floor(r($.top,N,$.bottom-G.height)),"min-width":_}},dropDown:{element:angular.element(m),styles:{transformOrigin:L,transform:d.alreadyOpen?"":i.supplant("scale({0},{1})",[B,I])}}}}var v="$mdSelect.show() expected a target element in options.target but got '{0}'!",b=i.dom.animator;return{parent:"body",themable:!0,onShow:m,onRemove:f,hasBackdrop:!0,disableParentScroll:!0}}function n(e){return e&&angular.isFunction(e.then)}function r(e,t,n){return Math.max(e,Math.min(t,n))}function a(e){return e?{left:e.offsetLeft,top:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}:{left:0,top:0,width:0,height:0}}function o(e,t){var n=!1;try{var r=e[0].style.display;e[0].style.display="block",n=t.scrollHeight>t.offsetHeight,e[0].style.display=r}finally{}return n}return t.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],e("$mdSelect").setDefaults({methods:["target"],options:t})}goog.provide("ng.material.components.select"),goog.require("ng.material.components.backdrop"),goog.require("ng.material.core");var SELECT_EDGE_MARGIN=8,selectNextId=0;angular.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",SelectDirective).directive("mdSelectMenu",SelectMenuDirective).directive("mdOption",OptionDirective).directive("mdOptgroup",OptgroupDirective).provider("$mdSelect",SelectProvider),SelectDirective.$inject=["$mdSelect","$mdUtil","$mdTheming","$mdAria","$compile","$parse"],SelectMenuDirective.$inject=["$parse","$mdUtil","$mdTheming"],OptionDirective.$inject=["$mdButtonInkRipple","$mdUtil"],SelectProvider.$inject=["$$interimElementProvider"],ng.material.components.select=angular.module("material.components.select");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.showHide');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function createDirective(e,i){return["$mdUtil",function(n){return{restrict:"A",multiElement:!0,link:function(t,o,r){var a=t.$on("$md-resize-enable",function(){a(),t.$watch(r[e],function(e){!!e===i&&(n.nextTick(function(){t.$broadcast("$md-resize")}),n.dom.animator.waitTransitionEnd(o).then(function(){t.$broadcast("$md-resize")}))})})}}}]}goog.provide("ng.material.components.showHide"),goog.require("ng.material.core"),angular.module("material.components.showHide",["material.core"]).directive("ngShow",createDirective("ngShow",!0)).directive("ngHide",createDirective("ngHide",!1)),ng.material.components.showHide=angular.module("material.components.showHide");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.sidenav');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function SidenavService(e,n){return function(o){function t(){return e.when(o).then(function(e){return c=e,e})}var r,i="SideNav '"+o+"' is not available!",c=e.get(o);return c||e.notFoundError(o),r={isOpen:function(){return c&&c.isOpen()},isLockedOpen:function(){return c&&c.isLockedOpen()},toggle:function(){return c?c.toggle():n.reject(i)},open:function(){return c?c.open():n.reject(i)},close:function(){return c?c.close():n.reject(i)},then:function(e){var o=c?n.when(c):t();return o.then(e||angular.noop)}}}}function SidenavFocusDirective(){return{restrict:"A",require:"^mdSidenav",link:function(e,n,o,t){}}}function SidenavDirective(e,n,o,t,r,i,c,a,d,s){function u(i,u,l,m){function p(e,n){i.isLockedOpen=e,e===n?u.toggleClass("md-locked-open",!!e):r[e?"addClass":"removeClass"](u,"md-locked-open"),y.toggleClass("md-locked-open",!!e)}function v(e){var o=n.findFocusTarget(u)||n.findFocusTarget(u,"[md-sidenav-focus]")||u,t=u.parent();return t[e?"on":"off"]("keydown",$),y[e?"on":"off"]("click",O),e&&(k=s[0].activeElement),f(e),C=d.all([e?r.enter(y,t):r.leave(y),r[e?"removeClass":"addClass"](u,"md-closed")]).then(function(){i.isOpen&&o&&o.focus()})}function f(e){var n=u.parent();e&&!S?(S=n.css("overflow"),n.css("overflow","hidden")):angular.isDefined(S)&&(n.css("overflow",S),S=void 0)}function g(e){return i.isOpen==e?d.when(!0):d(function(o){i.isOpen=e,n.nextTick(function(){C.then(function(e){i.isOpen||(k&&k.focus(),k=null),o(e)})})})}function $(e){var n=e.keyCode===o.KEY_CODE.ESCAPE;return n?O(e):d.when(!0)}function O(e){return e.preventDefault(),m.close()}var S,k=null,C=d.when(!0),h=c(l.mdIsLockedOpen),w=function(){return h(i.$parent,{$media:function(n){return a.warn("$media is deprecated for is-locked-open. Use $mdMedia instead."),e(n)},$mdMedia:e})},y=n.createBackdrop(i,"md-sidenav-backdrop md-opaque ng-enter");t.inherit(y,u),u.on("$destroy",function(){y.remove(),m.destroy()}),i.$on("$destroy",function(){y.remove()}),i.$watch(w,p),i.$watch("isOpen",v),m.$toggleOpen=g}return{restrict:"E",scope:{isOpen:"=?mdIsOpen"},controller:"$mdSidenavController",compile:function(e){return e.addClass("md-closed"),e.attr("tabIndex","-1"),u}}}function SidenavController(e,n,o,t,r){var i=this;i.isOpen=function(){return!!e.isOpen},i.isLockedOpen=function(){return!!e.isLockedOpen},i.open=function(){return i.$toggleOpen(!0)},i.close=function(){return i.$toggleOpen(!1)},i.toggle=function(){return i.$toggleOpen(!e.isOpen)},i.$toggleOpen=function(n){return r.when(e.isOpen=n)},i.destroy=t.register(i,o.mdComponentId)}goog.provide("ng.material.components.sidenav"),goog.require("ng.material.components.backdrop"),goog.require("ng.material.core"),angular.module("material.components.sidenav",["material.core","material.components.backdrop"]).factory("$mdSidenav",SidenavService).directive("mdSidenav",SidenavDirective).directive("mdSidenavFocus",SidenavFocusDirective).controller("$mdSidenavController",SidenavController),SidenavService.$inject=["$mdComponentRegistry","$q"],SidenavDirective.$inject=["$mdMedia","$mdUtil","$mdConstant","$mdTheming","$animate","$compile","$parse","$log","$q","$document"],SidenavController.$inject=["$scope","$element","$attrs","$mdComponentRegistry","$q"],ng.material.components.sidenav=angular.module("material.components.sidenav");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.slider');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function SliderDirective(e,t,a,n,i,r,o,l,d){function s(e,t){return e.attr({tabIndex:0,role:"slider"}),a.expect(e,"aria-label"),u}function u(a,s,u,c){function m(){h(),x(),$()}function v(e){j=parseFloat(e),s.attr("aria-valuemin",e),m()}function f(e){B=parseFloat(e),s.attr("aria-valuemax",e),m()}function g(e){H=parseFloat(e),$()}function p(e){s.attr("aria-disabled",!!e)}function $(){if(angular.isDefined(u.mdDiscrete)&&!angular.isUndefined(H)){if(0>=H){var e="Slider step value must be greater than zero when in discrete mode";throw d.error(e),new Error(e)}var a=Math.floor((B-j)/H);if(!J){J=angular.element('<canvas style="position:absolute;">'),I.append(J);var n=t.getComputedStyle(I[0]);Q=J[0].getContext("2d"),Q.fillStyle=n.backgroundColor||"black"}var i=b();J[0].width=i.width,J[0].height=i.height;for(var r,o=0;a>=o;o++)r=Math.floor(i.width*(o/a)),Q.fillRect(r-1,0,2,i.height)}}function h(){X=z[0].getBoundingClientRect()}function b(){return U(),X}function w(e){if(!s[0].hasAttribute("disabled")){var t;e.keyCode===i.KEY_CODE.LEFT_ARROW?t=-H:e.keyCode===i.KEY_CODE.RIGHT_ARROW&&(t=H),t&&((e.metaKey||e.ctrlKey||e.altKey)&&(t*=4),e.preventDefault(),e.stopPropagation(),a.$evalAsync(function(){y(c.$viewValue+t)}))}}function y(e){c.$setViewValue(C(D(e)))}function x(){isNaN(c.$viewValue)&&(c.$viewValue=c.$modelValue);var e=(c.$viewValue-j)/(B-j);a.modelValue=c.$viewValue,s.attr("aria-valuenow",c.$viewValue),k(e),T.text(c.$viewValue)}function C(e){return angular.isNumber(e)?Math.max(j,Math.min(B,e)):void 0}function D(e){if(angular.isNumber(e)){var t=Math.round((e-j)/H)*H+j;return Math.round(1e3*t)/1e3}}function k(e){var t=100*e+"%";G.css("width",t),_.css("left",t),s.toggleClass("md-min",0===e),s.toggleClass("md-max",1===e)}function V(e){if(!O()){s.addClass("md-active"),s[0].focus(),h();var t=L(K(e.pointer.x)),n=C(D(t));a.$apply(function(){y(n),k(N(n))})}}function S(e){if(!O()){s.removeClass("md-dragging md-active");var t=L(K(e.pointer.x)),n=C(D(t));a.$apply(function(){y(n),x()})}}function M(e){O()||(Z=!0,e.stopPropagation(),s.addClass("md-dragging"),E(e))}function q(e){Z&&(e.stopPropagation(),E(e))}function A(e){Z&&(e.stopPropagation(),Z=!1)}function E(e){ee?F(e.pointer.x):R(e.pointer.x)}function R(e){a.$evalAsync(function(){y(L(K(e)))})}function F(e){var t=L(K(e)),a=C(D(t));k(K(e)),T.text(a)}function K(e){return Math.max(0,Math.min(1,(e-X.left)/X.width))}function L(e){return j+e*(B-j)}function N(e){return(e-j)/(B-j)}r(s),c=c||{$setViewValue:function(e){this.$viewValue=e,this.$viewChangeListeners.forEach(function(e){e()})},$parsers:[],$formatters:[],$viewChangeListeners:[]};var O=angular.noop;null!=u.disabled?O=function(){return!0}:u.ngDisabled&&(O=angular.bind(null,l(u.ngDisabled),a.$parent));var P=angular.element(s[0].querySelector(".md-thumb")),T=angular.element(s[0].querySelector(".md-thumb-text")),_=P.parent(),z=angular.element(s[0].querySelector(".md-track-container")),G=angular.element(s[0].querySelector(".md-track-fill")),I=angular.element(s[0].querySelector(".md-track-ticks")),U=n.throttle(h,5e3);angular.isDefined(u.min)?u.$observe("min",v):v(0),angular.isDefined(u.max)?u.$observe("max",f):f(100),angular.isDefined(u.step)?u.$observe("step",g):g(1);var W=angular.noop;u.ngDisabled&&(W=a.$parent.$watch(u.ngDisabled,p)),o.register(s,"drag"),s.on("keydown",w).on("$md.pressdown",V).on("$md.pressup",S).on("$md.dragstart",M).on("$md.drag",q).on("$md.dragend",A),setTimeout(m,0);var Y=e.throttle(m);angular.element(t).on("resize",Y),a.$on("$destroy",function(){angular.element(t).off("resize",Y),W()}),c.$render=x,c.$viewChangeListeners.push(x),c.$formatters.push(C),c.$formatters.push(D);var j,B,H,J,Q,X={};h();var Z=!1,ee=angular.isDefined(u.mdDiscrete)}return{scope:{},require:"?ngModel",template:'<div class="md-slider-wrapper"><div class="md-track-container"><div class="md-track"></div><div class="md-track md-track-fill"></div><div class="md-track-ticks"></div></div><div class="md-thumb-container"><div class="md-thumb"></div><div class="md-focus-thumb"></div><div class="md-focus-ring"></div><div class="md-sign"><span class="md-thumb-text"></span></div><div class="md-disabled-thumb"></div></div></div>',compile:s}}goog.provide("ng.material.components.slider"),goog.require("ng.material.core"),angular.module("material.components.slider",["material.core"]).directive("mdSlider",SliderDirective),SliderDirective.$inject=["$$rAF","$window","$mdAria","$mdUtil","$mdConstant","$mdTheming","$mdGesture","$parse","$log"],ng.material.components.slider=angular.module("material.components.slider");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.sticky');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdSticky(t,e,n,r){function o(t){function o(t,e){e.addClass("md-sticky-clone");var n={element:t,clone:e};return d.items.push(n),r.nextTick(function(){p.prepend(n.clone)}),m(),function(){d.items.forEach(function(e,n){e.element[0]===t[0]&&(d.items.splice(n,1),e.clone.remove())}),m()}}function i(){d.items.forEach(l),d.items=d.items.sort(function(t,e){return t.top<e.top?-1:1});for(var t,e=p.prop("scrollTop"),n=d.items.length-1;n>=0;n--)if(e>d.items[n].top){t=d.items[n];break}a(t)}function l(t){var e=t.element[0];for(t.top=0,t.left=0;e&&e!==p[0];)t.top+=e.offsetTop,t.left+=e.offsetLeft,e=e.offsetParent;t.height=t.element.prop("offsetHeight"),t.clone.css("margin-left",t.left+"px"),r.floatingScrollbars()&&t.clone.css("margin-right","0")}function s(){var t=p.prop("scrollTop"),e=t>(s.prevScrollTop||0);if(s.prevScrollTop=t,0===t)return void a(null);if(e){if(d.next&&d.next.top<=t)return void a(d.next);if(d.current&&d.next&&d.next.top-t<=d.next.height)return void f(d.current,t+(d.next.top-d.next.height-t))}if(!e){if(d.current&&d.prev&&t<d.current.top)return void a(d.prev);if(d.next&&d.current&&t>=d.next.top-d.current.height)return void f(d.current,t+(d.next.top-t-d.current.height))}d.current&&f(d.current,t)}function a(t){if(d.current!==t){d.current&&(f(d.current,null),u(d.current,null)),t&&u(t,"active"),d.current=t;var e=d.items.indexOf(t);d.next=d.items[e+1],d.prev=d.items[e-1],u(d.next,"next"),u(d.prev,"prev")}}function u(t,e){t&&t.state!==e&&(t.state&&(t.clone.attr("sticky-prev-state",t.state),t.element.attr("sticky-prev-state",t.state)),t.clone.attr("sticky-state",e),t.element.attr("sticky-state",e),t.state=e)}function f(t,n){t&&(null===n||void 0===n?t.translateY&&(t.translateY=null,t.clone.css(e.CSS.TRANSFORM,"")):(t.translateY=n,t.clone.css(e.CSS.TRANSFORM,"translate3d("+t.left+"px,"+n+"px,0)")))}var p=t.$element,m=n.throttle(i);c(p),p.on("$scrollstart",m),p.on("$scroll",s);var d;return d={prev:null,current:null,next:null,items:[],add:o,refreshElements:i}}function i(e){var n,r=angular.element("<div>");t[0].body.appendChild(r[0]);for(var o=["sticky","-webkit-sticky"],i=0;i<o.length;++i)if(r.css({position:o[i],top:0,"z-index":2}),r.css("position")==o[i]){n=o[i];break}return r.remove(),n}function c(t){function e(){+r.now()-i>c?(o=!1,t.triggerHandler("$scrollend")):(t.triggerHandler("$scroll"),n.throttle(e))}var o,i,c=200;t.on("scroll touchmove",function(){o||(o=!0,n.throttle(e),t.triggerHandler("$scrollstart")),t.triggerHandler("$scroll"),i=+r.now()})}var l=i();return function(t,e,n){var r=e.controller("mdContent");if(r)if(l)e.css({position:l,top:0,"z-index":2});else{var i=r.$element.data("$$sticky");i||(i=o(r),r.$element.data("$$sticky",i));var c=i.add(e,n||e.clone());t.$on("$destroy",c)}}}goog.provide("ng.material.components.sticky"),goog.require("ng.material.components.content"),goog.require("ng.material.core"),angular.module("material.components.sticky",["material.core","material.components.content"]).factory("$mdSticky",MdSticky),MdSticky.$inject=["$document","$mdConstant","$$rAF","$mdUtil"],ng.material.components.sticky=angular.module("material.components.sticky");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.subheader');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdSubheaderDirective(e,a,r,n){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader"> <div class="md-subheader-inner"> <span class="md-subheader-content"></span> </div></div>',link:function(t,i,d,c,o){function s(e){return angular.element(e[0].querySelector(".md-subheader-content"))}r(i);var u=i[0].outerHTML;o(t,function(e){s(i).append(e)}),i.hasClass("md-no-sticky")||o(t,function(r){var d='<div class="md-subheader-wrapper">'+u+"</div>",c=a(d)(t);e(t,i,c),n.nextTick(function(){s(c).append(r)})})}}}goog.provide("ng.material.components.subheader"),goog.require("ng.material.components.sticky"),goog.require("ng.material.core"),angular.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",MdSubheaderDirective),MdSubheaderDirective.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"],ng.material.components.subheader=angular.module("material.components.subheader");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.swipe');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function getDirective(e){function i(e){function i(i,n,o){var c=e(o[t]);n.on(r,function(e){i.$apply(function(){c(i,{$event:e})})})}return{restrict:"A",link:i}}var t="md"+e,r="$md."+e.toLowerCase();return i.$inject=["$parse"],i}goog.provide("ng.material.components.swipe"),goog.require("ng.material.core"),angular.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",getDirective("SwipeLeft")).directive("mdSwipeRight",getDirective("SwipeRight")).directive("mdSwipeUp",getDirective("SwipeUp")).directive("mdSwipeDown",getDirective("SwipeDown")),ng.material.components.swipe=angular.module("material.components.swipe");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.switch');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdSwitch(e,t,a,n,i,r){function o(e,o){var c=d.compile(e,o);return e.addClass("md-dragging"),function(e,o,d,l){function s(t){v&&v(e)||(t.stopPropagation(),o.addClass("md-dragging"),f={width:p.prop("offsetWidth")},o.removeClass("transition"))}function m(e){if(f){e.stopPropagation(),e.srcEvent&&e.srcEvent.preventDefault();var t=e.pointer.distanceX/f.width,n=l.$viewValue?1+t:t;n=Math.max(0,Math.min(1,n)),p.css(a.CSS.TRANSFORM,"translate3d("+100*n+"%,0,0)"),f.translate=n}}function g(e){if(f){e.stopPropagation(),o.removeClass("md-dragging"),p.css(a.CSS.TRANSFORM,"");var t=l.$viewValue?f.translate>.5:f.translate<.5;t&&u(!l.$viewValue),f=null}}function u(t){e.$apply(function(){l.$setViewValue(t),l.$render()})}l=l||t.fakeNgModel();var v=null;null!=d.disabled?v=function(){return!0}:d.ngDisabled&&(v=n(d.ngDisabled));var p=angular.element(o[0].querySelector(".md-thumb-container")),h=angular.element(o[0].querySelector(".md-container"));i(function(){o.removeClass("md-dragging")}),c(e,o,d,l),v&&e.$watch(v,function(e){o.attr("tabindex",e?-1:0)}),r.register(h,"drag"),h.on("$md.dragstart",s).on("$md.drag",m).on("$md.dragend",g);var f}}var d=e[0];return{restrict:"E",priority:210,transclude:!0,template:'<div class="md-container"><div class="md-bar"></div><div class="md-thumb-container"><div class="md-thumb" md-ink-ripple md-ink-ripple-checkbox></div></div></div><div ng-transclude class="md-label"></div>',require:"?ngModel",compile:o}}goog.provide("ng.material.components.switch"),goog.require("ng.material.components.checkbox"),goog.require("ng.material.core"),angular.module("material.components.switch",["material.core","material.components.checkbox"]).directive("mdSwitch",MdSwitch),MdSwitch.$inject=["mdCheckboxDirective","$mdUtil","$mdConstant","$parse","$$rAF","$mdGesture"],ng.material.components["switch"]=angular.module("material.components.switch");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.tabs');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdTab(){function e(e,n,a,s){if(s){var d=s.getTabElementIndex(n),i=t(n,"md-tab-body").remove(),r=t(n,"md-tab-label").remove(),o=s.insertTab({scope:e,parent:e.$parent,index:d,element:n,template:i.html(),label:r.html()},d);e.select=e.select||angular.noop,e.deselect=e.deselect||angular.noop,e.$watch("active",function(e){e&&s.select(o.getIndex())}),e.$watch("disabled",function(){s.refreshIndex()}),e.$watch(function(){return s.getTabElementIndex(n)},function(e){o.index=e,s.updateTabOrder()}),e.$on("$destroy",function(){s.removeTab(o)})}}function t(e,t){for(var n=e[0].children,a=0,s=n.length;s>a;a++){var d=n[a];if(d.tagName===t.toUpperCase())return angular.element(d)}return angular.element()}return{require:"^?mdTabs",terminal:!0,compile:function(n,a){var s=t(n,"md-tab-label"),d=t(n,"md-tab-body");if(0==s.length&&(s=angular.element("<md-tab-label></md-tab-label>"),a.label?s.text(a.label):s.append(n.contents()),0==d.length)){var i=n.contents().detach();d=angular.element("<md-tab-body></md-tab-body>"),d.append(i)}return n.append(s),d.html()&&n.append(d),e},scope:{active:"=?mdActive",disabled:"=?ngDisabled",select:"&?mdOnSelect",deselect:"&?mdOnDeselect"}}}function MdTabItem(){return{require:"^?mdTabs",link:function(e,t,n,a){a&&a.attachRipple(e,t)}}}function MdTabLabel(){return{terminal:!0}}function MdTabScroll(e){return{restrict:"A",compile:function(t,n){var a=e(n.mdTabScroll,null,!0);return function(e,t){t.on("mousewheel",function(t){e.$apply(function(){a(e,{$event:t})})})}}}}function MdTabsController(e,t,n,a,s,d,i,r,o,c){function l(){ie.selectedIndex=ie.selectedIndex||0,m(),u(),b(),c(t),d.nextTick(function(){te(),V(),ne(),ie.tabs[ie.selectedIndex]&&ie.tabs[ie.selectedIndex].scope.select(),me=!0,K()})}function m(){var e=r.$mdTabsTemplate,t=angular.element(oe.data);t.html(e),o(t.contents())(ie.parent),delete r.$mdTabsTemplate}function b(){angular.element(n).on("resize",W),e.$on("$destroy",g)}function u(){e.$watch("$mdTabsCtrl.selectedIndex",w)}function f(e,t){var n=r.$normalize("md-"+e);t&&j(e,t),r.$observe(n,function(t){ie[e]=t})}function p(e,t){function n(t){ie[e]="false"!==t}var a=r.$normalize("md-"+e);t&&j(e,t),r.hasOwnProperty(a)&&n(r[a]),r.$observe(a,n)}function g(){le=!0,angular.element(n).off("resize",W)}function h(e){angular.element(oe.wrapper).toggleClass("md-stretch-tabs",H()),ne()}function T(e){ie.shouldCenterTabs=_()}function x(e,t){e!==t&&d.nextTick(ie.updateInkBarStyles)}function v(e,t){e!==t&&(ie.maxTabWidth=Y(),ie.shouldCenterTabs=_(),d.nextTick(function(){ie.maxTabWidth=Y(),V(ie.selectedIndex)}))}function $(e){t[e?"removeClass":"addClass"]("md-no-tab-content")}function C(t){var n=ie.shouldCenterTabs?"":"-"+t+"px";angular.element(oe.paging).css(a.CSS.TRANSFORM,"translate3d("+n+", 0, 0)"),e.$broadcast("$mdTabsPaginationChanged")}function I(e,t){e!==t&&oe.tabs[e]&&(V(),Q())}function w(t,n){t!==n&&(ie.selectedIndex=z(t),ie.lastSelectedIndex=n,ie.updateInkBarStyles(),te(),V(t),e.$broadcast("$mdTabsChanged"),ie.tabs[n]&&ie.tabs[n].scope.deselect(),ie.tabs[t]&&ie.tabs[t].scope.select())}function k(e){var n=t[0].getElementsByTagName("md-tab");return Array.prototype.indexOf.call(n,e[0])}function y(){y.watcher||(y.watcher=e.$watch(function(){d.nextTick(function(){y.watcher&&t.prop("offsetParent")&&(y.watcher(),y.watcher=null,W())},!1)}))}function P(e){switch(e.keyCode){case a.KEY_CODE.LEFT_ARROW:e.preventDefault(),J(-1,!0);break;case a.KEY_CODE.RIGHT_ARROW:e.preventDefault(),J(1,!0);break;case a.KEY_CODE.SPACE:case a.KEY_CODE.ENTER:e.preventDefault(),re||(ie.selectedIndex=ie.focusIndex)}ie.lastClick=!1}function L(e){re||(ie.focusIndex=ie.selectedIndex=e),ie.lastClick=!0,d.nextTick(function(){ie.tabs[e].element.triggerHandler("click")},!1)}function E(e){ie.shouldPaginate&&(e.preventDefault(),ie.offsetLeft=se(ie.offsetLeft-e.wheelDelta))}function M(){var e,t,n=oe.canvas.clientWidth,a=n+ie.offsetLeft;for(e=0;e<oe.tabs.length&&(t=oe.tabs[e],!(t.offsetLeft+t.offsetWidth>a));e++);ie.offsetLeft=se(t.offsetLeft)}function S(){var e,t;for(e=0;e<oe.tabs.length&&(t=oe.tabs[e],!(t.offsetLeft+t.offsetWidth>=ie.offsetLeft));e++);ie.offsetLeft=se(t.offsetLeft+t.offsetWidth-oe.canvas.clientWidth)}function W(){ie.lastSelectedIndex=ie.selectedIndex,ie.offsetLeft=se(ie.offsetLeft),d.nextTick(function(){ie.updateInkBarStyles(),K()})}function B(e){angular.element(oe.inkBar).toggleClass("ng-hide",e)}function D(e){t.toggleClass("md-dynamic-height",e)}function O(e){if(!le){var t=ie.selectedIndex,n=ie.tabs.splice(e.getIndex(),1)[0];ee(),ie.selectedIndex===t&&(n.scope.deselect(),ie.tabs[ie.selectedIndex]&&ie.tabs[ie.selectedIndex].scope.select()),d.nextTick(function(){K(),ie.offsetLeft=se(ie.offsetLeft)})}}function A(e,t){var n=me,a={getIndex:function(){return ie.tabs.indexOf(s)},isActive:function(){return this.getIndex()===ie.selectedIndex},isLeft:function(){return this.getIndex()<ie.selectedIndex},isRight:function(){return this.getIndex()>ie.selectedIndex},shouldRender:function(){return!ie.noDisconnect||this.isActive()},hasFocus:function(){return!ie.lastClick&&ie.hasFocus&&this.getIndex()===ie.focusIndex},id:d.nextUid()},s=angular.extend(a,e);return angular.isDefined(t)?ie.tabs.splice(t,0,s):ie.tabs.push(s),X(),Z(),d.nextTick(function(){K(),n&&ie.autoselect&&d.nextTick(function(){d.nextTick(function(){L(ie.tabs.indexOf(s))})})}),s}function N(){var e={};return e.wrapper=t[0].getElementsByTagName("md-tabs-wrapper")[0],e.data=t[0].getElementsByTagName("md-tab-data")[0],e.canvas=e.wrapper.getElementsByTagName("md-tabs-canvas")[0],e.paging=e.canvas.getElementsByTagName("md-pagination-wrapper")[0],e.tabs=e.paging.getElementsByTagName("md-tab-item"),e.dummies=e.canvas.getElementsByTagName("md-dummy-tab"),e.inkBar=e.paging.getElementsByTagName("md-ink-bar")[0],e.contentsWrapper=t[0].getElementsByTagName("md-tabs-content-wrapper")[0],e.contents=e.contentsWrapper.getElementsByTagName("md-tab-content"),e}function R(){return ie.offsetLeft>0}function F(){var e=oe.tabs[oe.tabs.length-1];return e&&e.offsetLeft+e.offsetWidth>oe.canvas.clientWidth+ie.offsetLeft}function H(){switch(ie.stretchTabs){case"always":return!0;case"never":return!1;default:return!ie.shouldPaginate&&n.matchMedia("(max-width: 600px)").matches}}function _(){return ie.centerTabs&&!ie.shouldPaginate}function q(){if(ie.noPagination||!me)return!1;var e=t.prop("clientWidth");return angular.forEach(N().dummies,function(t){e-=t.offsetWidth}),0>e}function z(e){if(-1===e)return-1;var t,n,a=Math.max(ie.tabs.length-e,e);for(t=0;a>=t;t++){if(n=ie.tabs[e+t],n&&n.scope.disabled!==!0)return n.getIndex();if(n=ie.tabs[e-t],n&&n.scope.disabled!==!0)return n.getIndex()}return e}function j(e,t,n){Object.defineProperty(ie,e,{get:function(){return n},set:function(e){var a=n;n=e,t&&t(e,a)}})}function K(){H()||U(),ie.maxTabWidth=Y(),ie.shouldPaginate=q()}function U(){var e=1;angular.forEach(N().dummies,function(t){e+=Math.ceil(t.offsetWidth)}),angular.element(oe.paging).css("width",e+"px")}function Y(){return t.prop("clientWidth")}function G(){var e=ie.tabs[ie.selectedIndex],t=ie.tabs[ie.focusIndex];ie.tabs=ie.tabs.sort(function(e,t){return e.index-t.index}),ie.selectedIndex=ie.tabs.indexOf(e),ie.focusIndex=ie.tabs.indexOf(t)}function J(e,t){var n,a=t?"focusIndex":"selectedIndex",s=ie[a];for(n=s+e;ie.tabs[n]&&ie.tabs[n].scope.disabled;n+=e);ie.tabs[n]&&(ie[a]=n)}function Q(){N().dummies[ie.focusIndex].focus()}function V(e){if(null==e&&(e=ie.focusIndex),oe.tabs[e]&&!ie.shouldCenterTabs){var t=oe.tabs[e],n=t.offsetLeft,a=t.offsetWidth+n;ie.offsetLeft=Math.max(ie.offsetLeft,se(a-oe.canvas.clientWidth+64)),ie.offsetLeft=Math.min(ie.offsetLeft,se(n))}}function X(){ce.forEach(function(e){d.nextTick(e)}),ce=[]}function Z(){var e=!1;angular.forEach(ie.tabs,function(t){t.template&&(e=!0)}),ie.hasContent=e}function ee(){ie.selectedIndex=z(ie.selectedIndex),ie.focusIndex=z(ie.focusIndex)}function te(){if(!ie.dynamicHeight)return t.css("height","");if(!ie.tabs.length)return ce.push(te);var e=oe.contents[ie.selectedIndex],n=e?e.offsetHeight:0,a=oe.wrapper.offsetHeight,s=n+a,r=t.prop("clientHeight");if(r!==s){"bottom"===t.attr("md-align-tabs")&&(r-=a,s-=a,void 0!==t.attr("md-border-bottom")&&++r),re=!0;var o={height:r+"px"},c={height:s+"px"};t.css(o),i(t,{from:o,to:c,easing:"cubic-bezier(0.35, 0, 0.25, 1)",duration:.5}).start().done(function(){t.css({transition:"none",height:""}),d.nextTick(function(){t.css("transition","")}),re=!1})}}function ne(){if(!oe.tabs[ie.selectedIndex])return void angular.element(oe.inkBar).css({left:"auto",right:"auto"});if(!ie.tabs.length)return ce.push(ie.updateInkBarStyles);if(!t.prop("offsetParent"))return y();var e,n=ie.selectedIndex,a=oe.paging.offsetWidth,s=oe.tabs[n],i=s.offsetLeft,r=a-i-s.offsetWidth;ie.shouldCenterTabs&&(e=Array.prototype.slice.call(oe.tabs).reduce(function(e,t){return e+t.offsetWidth},0),a>e&&d.nextTick(ne,!1)),ae(),angular.element(oe.inkBar).css({left:i+"px",right:r+"px"})}function ae(){var e=ie.selectedIndex,t=ie.lastSelectedIndex,n=angular.element(oe.inkBar);angular.isNumber(t)&&n.toggleClass("md-left",t>e).toggleClass("md-right",e>t)}function se(e){if(!oe.tabs.length||!ie.shouldPaginate)return 0;var t=oe.tabs[oe.tabs.length-1],n=t.offsetLeft+t.offsetWidth;return e=Math.max(0,e),e=Math.min(n-oe.canvas.clientWidth,e)}function de(e,t){var n={colorElement:angular.element(oe.inkBar)};s.attach(e,t,n)}var ie=this,re=!1,oe=N(),ce=[],le=!1,me=!1;f("stretchTabs",h),j("focusIndex",I,ie.selectedIndex||0),j("offsetLeft",C,0),j("hasContent",$,!1),j("maxTabWidth",x,Y()),j("shouldPaginate",v,!1),p("noInkBar",B),p("dynamicHeight",D),p("noPagination"),p("swipeContent"),p("noDisconnect"),p("autoselect"),p("centerTabs",T,!1),p("enableDisconnect"),ie.scope=e,ie.parent=e.$parent,ie.tabs=[],ie.lastSelectedIndex=null,ie.hasFocus=!1,ie.lastClick=!0,ie.shouldCenterTabs=_(),ie.updatePagination=d.debounce(K,100),ie.redirectFocus=Q,ie.attachRipple=de,ie.insertTab=A,ie.removeTab=O,ie.select=L,ie.scroll=E,ie.nextPage=M,ie.previousPage=S,ie.keydown=P,ie.canPageForward=F,ie.canPageBack=R,ie.refreshIndex=ee,ie.incrementIndex=J,ie.getTabElementIndex=k,ie.updateInkBarStyles=d.debounce(ne,100),ie.updateTabOrder=d.debounce(G,100),l()}function MdTabs(){return{scope:{selectedIndex:"=?mdSelected"},template:function(e,t){return t.$mdTabsTemplate=e.html(),'<md-tabs-wrapper> <md-tab-data></md-tab-data> <md-prev-button tabindex="-1" role="button" aria-label="Previous Page" aria-disabled="{{!$mdTabsCtrl.canPageBack()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageBack() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.previousPage()"> <md-icon md-svg-icon="md-tabs-arrow"></md-icon> </md-prev-button> <md-next-button tabindex="-1" role="button" aria-label="Next Page" aria-disabled="{{!$mdTabsCtrl.canPageForward()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageForward() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.nextPage()"> <md-icon md-svg-icon="md-tabs-arrow"></md-icon> </md-next-button> <md-tabs-canvas tabindex="{{ $mdTabsCtrl.hasFocus ? -1 : 0 }}" aria-activedescendant="tab-item-{{$mdTabsCtrl.tabs[$mdTabsCtrl.focusIndex].id}}" ng-focus="$mdTabsCtrl.redirectFocus()" ng-class="{ \'md-paginated\': $mdTabsCtrl.shouldPaginate, \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" ng-keydown="$mdTabsCtrl.keydown($event)" role="tablist"> <md-pagination-wrapper ng-class="{ \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" md-tab-scroll="$mdTabsCtrl.scroll($event)"> <md-tab-item tabindex="-1" class="md-tab" style="max-width: {{ $mdTabsCtrl.maxTabWidth + \'px\' }}" ng-repeat="tab in $mdTabsCtrl.tabs" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-click="$mdTabsCtrl.select(tab.getIndex())" ng-class="{ \'md-active\': tab.isActive(), \'md-focused\': tab.hasFocus(), \'md-disabled\': tab.scope.disabled }" ng-disabled="tab.scope.disabled" md-swipe-left="$mdTabsCtrl.nextPage()" md-swipe-right="$mdTabsCtrl.previousPage()" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-tab-item> <md-ink-bar></md-ink-bar> </md-pagination-wrapper> <div class="md-visually-hidden md-dummy-wrapper"> <md-dummy-tab class="md-tab" tabindex="-1" id="tab-item-{{::tab.id}}" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-focus="$mdTabsCtrl.hasFocus = true" ng-blur="$mdTabsCtrl.hasFocus = false" ng-repeat="tab in $mdTabsCtrl.tabs" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-dummy-tab> </div> </md-tabs-canvas> </md-tabs-wrapper> <md-tabs-content-wrapper ng-show="$mdTabsCtrl.hasContent && $mdTabsCtrl.selectedIndex >= 0"> <md-tab-content id="tab-content-{{::tab.id}}" role="tabpanel" aria-labelledby="tab-item-{{::tab.id}}" md-swipe-left="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(1)" md-swipe-right="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(-1)" ng-if="$mdTabsCtrl.hasContent" ng-repeat="(index, tab) in $mdTabsCtrl.tabs" ng-class="{ \'md-no-transition\': $mdTabsCtrl.lastSelectedIndex == null, \'md-active\': tab.isActive(), \'md-left\': tab.isLeft(), \'md-right\': tab.isRight(), \'md-no-scroll\': $mdTabsCtrl.dynamicHeight }"> <div md-tabs-template="::tab.template" md-connected-if="tab.isActive()" md-scope="::tab.parent" ng-if="$mdTabsCtrl.enableDisconnect || tab.shouldRender()"></div> </md-tab-content> </md-tabs-content-wrapper>'},controller:"MdTabsController",controllerAs:"$mdTabsCtrl",bindToController:!0}}function MdTabsTemplate(e,t){function n(n,a,s,d){function i(){n.$watch("connected",function(e){e===!1?r():o()}),n.$on("$destroy",o)}function r(){d.enableDisconnect&&t.disconnectScope(c)}function o(){d.enableDisconnect&&t.reconnectScope(c)}if(d){var c=d.enableDisconnect?n.compileScope.$new():n.compileScope;return a.html(n.template),e(a.contents())(c),a.on("DOMSubtreeModified",function(){d.updatePagination(),d.updateInkBarStyles()}),t.nextTick(i)}}return{restrict:"A",link:n,scope:{template:"=mdTabsTemplate",connected:"=?mdConnectedIf",compileScope:"=mdScope"},require:"^?mdTabs"}}goog.provide("ng.material.components.tabs"),goog.require("ng.material.components.icon"),goog.require("ng.material.core"),angular.module("material.components.tabs",["material.core","material.components.icon"]),angular.module("material.components.tabs").directive("mdTab",MdTab),angular.module("material.components.tabs").directive("mdTabItem",MdTabItem),angular.module("material.components.tabs").directive("mdTabLabel",MdTabLabel),angular.module("material.components.tabs").directive("mdTabScroll",MdTabScroll),MdTabScroll.$inject=["$parse"],angular.module("material.components.tabs").controller("MdTabsController",MdTabsController),MdTabsController.$inject=["$scope","$element","$window","$mdConstant","$mdTabInkRipple","$mdUtil","$animateCss","$attrs","$compile","$mdTheming"],angular.module("material.components.tabs").directive("mdTabs",MdTabs),angular.module("material.components.tabs").directive("mdTabsTemplate",MdTabsTemplate),MdTabsTemplate.$inject=["$compile","$mdUtil"],ng.material.components.tabs=angular.module("material.components.tabs");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.toast');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdToastDirective(t){return{restrict:"E",link:function(e,o,n){e.$on("$destroy",function(){t.destroy()})}}}function MdToastProvider(t){function e(t){n=t}function o(t,e,o,a){function i(i,s,m){n=m.textContent||m.content;var p=!a("gt-sm");return s=o.extractElementByName(s,"md-toast",!0),m.onSwipe=function(t,n){var a=t.type.replace("$md.",""),i=a.replace("swipe","");"down"===i&&-1!=m.position.indexOf("top")&&!p||"up"===i&&(-1!=m.position.indexOf("bottom")||p)||("left"!==i&&"right"!==i||!p)&&(s.addClass("md-"+a),o.nextTick(e.cancel))},m.openClass=r(m.position),m.parent.addClass(m.openClass),o.hasComputedStyle(m.parent,"position","static")&&m.parent.css("position","relative"),s.on(d,m.onSwipe),s.addClass(p?"md-bottom":m.position.split(" ").map(function(t){return"md-"+t}).join(" ")),m.parent&&m.parent.addClass("md-toast-animating"),t.enter(s,m.parent).then(function(){m.parent&&m.parent.removeClass("md-toast-animating")})}function s(e,n,a){return n.off(d,a.onSwipe),a.parent&&a.parent.addClass("md-toast-animating"),a.openClass&&a.parent.removeClass(a.openClass),(1==a.$destroy?n.remove():t.leave(n)).then(function(){a.parent&&a.parent.removeClass("md-toast-animating"),o.hasComputedStyle(a.parent,"position","static")&&a.parent.css("position","")})}function r(t){return a("gt-sm")?"md-toast-open-"+(t.indexOf("top")>-1?"top":"bottom"):"md-toast-open-bottom"}var d="$md.swipeleft $md.swiperight $md.swipeup $md.swipedown";return{onShow:i,onRemove:s,position:"bottom left",themable:!0,hideDelay:3e3,autoWrap:!0,transformTemplate:function(t,e){var o=e.autoWrap&&t&&!/md-toast-content/g.test(t);if(o){var n=angular.element(t),a='<div class="md-toast-content">'+n.html()+"</div>";return n.empty().append(a),n[0].outerHTML}return o?'<div class="md-toast-content">'+t+"</div>":t||""}}}var n,a="ok",i=t("$mdToast").setDefaults({methods:["position","hideDelay","capsule","parent"],options:o}).addPreset("simple",{argOption:"textContent",methods:["textContent","content","action","highlightAction","theme","parent"],options:["$mdToast","$mdTheming",function(t,e){var o={template:'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}"> <div class="md-toast-content"> <span flex role="alert" aria-relevant="all" aria-atomic="true"> {{ toast.content }} </span> <md-button class="md-action" ng-if="toast.action" ng-click="toast.resolve()" ng-class="{\'md-highlight\': toast.highlightAction}"> {{ toast.action }} </md-button> </div></md-toast>',controller:["$scope",function(e){var o=this;e.$watch(function(){return n},function(){o.content=n}),this.resolve=function(){t.hide(a)}}],theme:e.defaultTheme(),controllerAs:"toast",bindToController:!0};return o}]}).addMethod("updateTextContent",e).addMethod("updateContent",e);return o.$inject=["$animate","$mdToast","$mdUtil","$mdMedia"],i}goog.provide("ng.material.components.toast"),goog.require("ng.material.components.button"),goog.require("ng.material.core"),angular.module("material.components.toast",["material.core","material.components.button"]).directive("mdToast",MdToastDirective).provider("$mdToast",MdToastProvider),MdToastDirective.$inject=["$mdToast"],MdToastProvider.$inject=["$$interimElementProvider"],ng.material.components.toast=angular.module("material.components.toast");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.toolbar');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function mdToolbarDirective(n,o,t,r,e){var a=angular.bind(null,t.supplant,"translate3d(0,{0}px,0)");return{template:"",restrict:"E",link:function(l,i,c){function m(){function r(n){var o=i.parent().find("md-content");!f&&o.length&&m(null,o),n=l.$eval(n),n===!1?p():p=d()}function m(n,o){o&&i.parent()[0]===o.parent()[0]&&(f&&f.off("scroll",S),f=o,p=d())}function s(n){var r=n?n.target.scrollTop:$;b(),h=Math.min(g/v,Math.max(0,h+r-$)),i.css(o.CSS.TRANSFORM,a([-h*v])),f.css(o.CSS.TRANSFORM,a([(g-h)*v])),$=r,t.nextTick(function(){var n=i.hasClass("md-whiteframe-z1");n&&!h?e.removeClass(i,"md-whiteframe-z1"):!n&&h&&e.addClass(i,"md-whiteframe-z1")})}function d(){return f?(f.on("scroll",S),f.attr("scroll-shrink","true"),n(u),function(){f.off("scroll",S),f.attr("scroll-shrink","false"),n(u)}):angular.noop}function u(){g=i.prop("offsetHeight");var n=-g*v+"px";f.css({"margin-top":n,"margin-bottom":n}),s()}var g,f,p=angular.noop,h=0,$=0,v=c.mdShrinkSpeedFactor||.5,S=n.throttle(s),b=t.debounce(u,5e3);l.$on("$mdContentLoaded",m),c.$observe("mdScrollShrink",r),c.ngShow&&l.$watch(c.ngShow,u),c.ngHide&&l.$watch(c.ngHide,u),l.$on("$destroy",p)}r(i),angular.isDefined(c.mdScrollShrink)&&m()}}}goog.provide("ng.material.components.toolbar"),goog.require("ng.material.components.content"),goog.require("ng.material.core"),angular.module("material.components.toolbar",["material.core","material.components.content"]).directive("mdToolbar",mdToolbarDirective),mdToolbarDirective.$inject=["$$rAF","$mdConstant","$mdUtil","$mdTheming","$animate"],ng.material.components.toolbar=angular.module("material.components.toolbar");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.tooltip');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function MdTooltipDirective(t,e,o,n,i,r,a,l,c){function u(a,u,f){function h(){angular.isDefined(f.mdDelay)||(a.delay=d)}function m(){var t="center top";switch(a.direction){case"left":t="right center";break;case"right":t="left center";break;case"top":t="center bottom";break;case"bottom":t="center top"}D.css("transform-origin",t)}function p(){a.$on("$destroy",function(){a.visible=!1,u.remove(),angular.element(e).off("resize",k)}),a.$watch("visible",function(t){t?$():y()}),a.$watch("direction",E)}function v(){x.attr("aria-label")||x.text().trim()||x.attr("aria-label",u.text().trim())}function g(){u.detach(),u.attr("role","tooltip")}function b(){function t(){w(!1)}var o=!1,i=angular.element(e);if(x[0]&&"MutationObserver"in e){var r=new MutationObserver(function(t){t.forEach(function(t){"disabled"===t.attributeName&&x[0].disabled&&(w(!1),a.$digest())})});r.observe(x[0],{attributes:!0})}var l=function(){c=document.activeElement===x[0]},c=!1;i.on("blur",l),i.on("resize",k),document.addEventListener("scroll",t,!0),a.$on("$destroy",function(){i.off("blur",l),i.off("resize",k),document.removeEventListener("scroll",t,!0),r&&r.disconnect()});var u=function(t){return"focus"===t.type&&c?void(c=!1):(x.on("blur mouseleave touchend touchcancel",d),void w(!0))},d=function(){var t=a.hasOwnProperty("autohide")?a.autohide:f.hasOwnProperty("mdAutohide");(t||o||n[0].activeElement!==x[0])&&(x.off("blur mouseleave touchend touchcancel",d),x.triggerHandler("blur"),w(!1)),o=!1};x.on("mousedown",function(){o=!0}),x.on("focus mouseenter touchstart",u)}function w(e){w.value=!!e,w.queued||(e?(w.queued=!0,t(function(){a.visible=w.value,w.queued=!1},a.delay)):i.nextTick(function(){a.visible=!1}))}function $(){return T.append(u),i.hasComputedStyle(u,"display","none")?(a.visible=!1,void u.detach()):(E(),void angular.forEach([u,D],function(t){l.addClass(t,"md-show")}))}function y(){var t=[];angular.forEach([u,D],function(e){e.parent()&&e.hasClass("md-show")&&t.push(l.removeClass(e,"md-show"))}),c.all(t).then(function(){a.visible||u.detach()})}function E(){a.visible&&(m(),M())}function M(){function t(t){var e={left:t.left,top:t.top};return e.left=Math.min(e.left,T.prop("scrollWidth")-o.width-s),e.left=Math.max(e.left,s),e.top=Math.min(e.top,T.prop("scrollHeight")-o.height-s),e.top=Math.max(e.top,s),e}function e(t){return"left"===t?{left:n.left-o.width-s,top:n.top+n.height/2-o.height/2}:"right"===t?{left:n.left+n.width+s,top:n.top+n.height/2-o.height/2}:"top"===t?{left:n.left+n.width/2-o.width/2,top:n.top-o.height-s}:{left:n.left+n.width/2-o.width/2,top:n.top+n.height+s}}var o=i.offsetRect(u,T),n=i.offsetRect(x,T),r=e(a.direction),l=u.prop("offsetParent");a.direction?r=t(r):l&&r.top>l.scrollHeight-o.height-s&&(r=t(e("top"))),u.css({left:r.left+"px",top:r.top+"px"})}r(u);var x=i.getParentWithPointerEvents(u),D=angular.element(u[0].getElementsByClassName("md-content")[0]),T=angular.element(document.body),k=o.throttle(function(){E()});l.pin&&l.pin(u,x),h(),g(),b(),m(),p(),v()}var d=0,s=8;return{restrict:"E",transclude:!0,priority:210,template:'<div class="md-content" ng-transclude></div>',scope:{delay:"=?mdDelay",visible:"=?mdVisible",autohide:"=?mdAutohide",direction:"@?mdDirection"},link:u}}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");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.virtualRepeat');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
function VirtualRepeatContainerDirective(){return{controller:VirtualRepeatContainerController,template:virtualRepeatContainerTemplate,compile:function(t,e){t.addClass("md-virtual-repeat-container").addClass(e.hasOwnProperty("mdOrientHorizontal")?"md-orient-horizontal":"md-orient-vertical")}}}function virtualRepeatContainerTemplate(t){return'<div class="md-virtual-repeat-scroller"><div class="md-virtual-repeat-sizer"></div><div class="md-virtual-repeat-offsetter">'+t[0].innerHTML+"</div></div>"}function VirtualRepeatContainerController(t,e,i,r,s,n,o,a){this.$rootScope=r,this.$scope=n,this.$element=o,this.$attrs=a,this.size=0,this.scrollSize=0,this.scrollOffset=0,this.horizontal=this.$attrs.hasOwnProperty("mdOrientHorizontal"),this.repeater=null,this.autoShrink=this.$attrs.hasOwnProperty("mdAutoShrink"),this.autoShrinkMin=parseInt(this.$attrs.mdAutoShrinkMin,10)||0,this.originalSize=null,this.offsetSize=parseInt(this.$attrs.mdOffsetSize,10)||0,this.$attrs.mdTopIndex?(this.bindTopIndex=i(this.$attrs.mdTopIndex),this.topIndex=this.bindTopIndex(this.$scope),angular.isDefined(this.topIndex)||(this.topIndex=0,this.bindTopIndex.assign(this.$scope,0)),this.$scope.$watch(this.bindTopIndex,angular.bind(this,function(t){t!==this.topIndex&&this.scrollToIndex(t)}))):this.topIndex=0,this.scroller=o[0].getElementsByClassName("md-virtual-repeat-scroller")[0],this.sizer=this.scroller.getElementsByClassName("md-virtual-repeat-sizer")[0],this.offsetter=this.scroller.getElementsByClassName("md-virtual-repeat-offsetter")[0];var l=angular.bind(this,this.updateSize);t(angular.bind(this,function(){l();var t=e.debounce(l,10,null,!1),i=angular.element(s);this.size||t(),i.on("resize",t),n.$on("$destroy",function(){i.off("resize",t)}),n.$emit("$md-resize-enable"),n.$on("$md-resize",l)}))}function VirtualRepeatDirective(t){return{controller:VirtualRepeatController,priority:1e3,require:["mdVirtualRepeat","^^mdVirtualRepeatContainer"],restrict:"A",terminal:!0,transclude:"element",compile:function(e,i){var r=i.mdVirtualRepeat,s=r.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)\s*$/),n=s[1],o=t(s[2]),a=i.mdExtraName&&t(i.mdExtraName);return function(t,e,i,r,s){r[0].link_(r[1],s,n,o,a)}}}}function VirtualRepeatController(t,e,i,r,s,n,o){this.$scope=t,this.$element=e,this.$attrs=i,this.$browser=r,this.$document=s,this.$rootScope=n,this.$$rAF=o,this.onDemand=i.hasOwnProperty("mdOnDemand"),this.browserCheckUrlChange=r.$$checkUrlChange,this.newStartIndex=0,this.newEndIndex=0,this.newVisibleEnd=0,this.startIndex=0,this.endIndex=0,this.itemSize=t.$eval(i.mdItemSize)||null,this.isFirstRender=!0,this.isVirtualRepeatUpdating_=!1,this.itemsLength=0,this.unwatchItemSize_=angular.noop,this.blocks={},this.pooledBlocks=[]}function VirtualRepeatModelArrayLike(t){if(!angular.isFunction(t.getItemAtIndex)||!angular.isFunction(t.getLength))throw Error("When md-on-demand is enabled, the Object passed to md-virtual-repeat must implement functions getItemAtIndex() and getLength() ");this.model=t}function abstractMethod(){throw Error("Non-overridden abstract method called.")}goog.provide("ng.material.components.virtualRepeat"),goog.require("ng.material.components.showHide"),goog.require("ng.material.core"),angular.module("material.components.virtualRepeat",["material.core","material.components.showHide"]).directive("mdVirtualRepeatContainer",VirtualRepeatContainerDirective).directive("mdVirtualRepeat",VirtualRepeatDirective);var MAX_ELEMENT_SIZE=1533917,NUM_EXTRA=3;VirtualRepeatContainerController.$inject=["$$rAF","$mdUtil","$parse","$rootScope","$window","$scope","$element","$attrs"],VirtualRepeatContainerController.prototype.register=function(t){this.repeater=t,angular.element(this.scroller).on("scroll wheel touchmove touchend",angular.bind(this,this.handleScroll_))},VirtualRepeatContainerController.prototype.isHorizontal=function(){return this.horizontal},VirtualRepeatContainerController.prototype.getSize=function(){return this.size},VirtualRepeatContainerController.prototype.setSize_=function(t){this.size=t,this.$element[0].style[this.isHorizontal()?"width":"height"]=t+"px"},VirtualRepeatContainerController.prototype.updateSize=function(){this.originalSize||(this.size=this.isHorizontal()?this.$element[0].clientWidth:this.$element[0].clientHeight,this.repeater&&this.repeater.containerUpdated())},VirtualRepeatContainerController.prototype.getScrollSize=function(){return this.scrollSize},VirtualRepeatContainerController.prototype.sizeScroller_=function(t){var e=this.isHorizontal()?"width":"height",i=this.isHorizontal()?"height":"width";if(this.sizer.innerHTML="",MAX_ELEMENT_SIZE>t)this.sizer.style[e]=t+"px";else{this.sizer.style[e]="auto",this.sizer.style[i]="auto";var r=Math.floor(t/MAX_ELEMENT_SIZE),s=document.createElement("div");s.style[e]=MAX_ELEMENT_SIZE+"px",s.style[i]="1px";for(var n=0;r>n;n++)this.sizer.appendChild(s.cloneNode(!1));s.style[e]=t-r*MAX_ELEMENT_SIZE+"px",this.sizer.appendChild(s)}},VirtualRepeatContainerController.prototype.autoShrink_=function(t){var e=Math.max(t,this.autoShrinkMin*this.repeater.getItemSize());if(this.autoShrink&&e!==this.size){var i=this.originalSize||this.size;!i||i>e?(this.originalSize||(this.originalSize=this.size),this.setSize_(e)):this.originalSize&&(this.setSize_(this.originalSize),this.originalSize=null),this.repeater.containerUpdated()}},VirtualRepeatContainerController.prototype.setScrollSize=function(t){var e=t+this.offsetSize;this.scrollSize!==e&&(this.sizeScroller_(e),this.autoShrink_(e),this.scrollSize=e)},VirtualRepeatContainerController.prototype.getScrollOffset=function(){return this.scrollOffset},VirtualRepeatContainerController.prototype.scrollTo=function(t){this.scroller[this.isHorizontal()?"scrollLeft":"scrollTop"]=t,this.handleScroll_()},VirtualRepeatContainerController.prototype.scrollToIndex=function(t){var e=this.repeater.getItemSize(),i=this.repeater.itemsLength;t>i&&(t=i-1),this.scrollTo(e*t)},VirtualRepeatContainerController.prototype.resetScroll=function(){this.scrollTo(0)},VirtualRepeatContainerController.prototype.handleScroll_=function(){var t=this.isHorizontal()?this.scroller.scrollLeft:this.scroller.scrollTop;if(t!==this.scrollOffset){var e=this.repeater.getItemSize();if(e){var i=Math.max(0,Math.floor(t/e)-NUM_EXTRA),r=this.isHorizontal()?"translateX(":"translateY(";if(r+=i*e+"px)",this.scrollOffset=t,this.offsetter.style.webkitTransform=r,this.offsetter.style.transform=r,this.bindTopIndex){var s=Math.floor(t/e);s!==this.topIndex&&s<this.repeater.itemsLength&&(this.topIndex=s,this.bindTopIndex.assign(this.$scope,s),this.$rootScope.$$phase||this.$scope.$digest())}this.repeater.containerUpdated()}}},VirtualRepeatDirective.$inject=["$parse"],VirtualRepeatController.$inject=["$scope","$element","$attrs","$browser","$document","$rootScope","$$rAF"],VirtualRepeatController.Block,VirtualRepeatController.prototype.link_=function(t,e,i,r,s){this.container=t,this.transclude=e,this.repeatName=i,this.rawRepeatListExpression=r,this.extraName=s,this.sized=!1,this.repeatListExpression=angular.bind(this,this.repeatListExpression_),this.container.register(this)},VirtualRepeatController.prototype.readItemSize_=function(){if(!this.itemSize){this.items=this.repeatListExpression(this.$scope),this.parentNode=this.$element[0].parentNode;var t=this.getBlock_(0);t.element[0].parentNode||this.parentNode.appendChild(t.element[0]),this.itemSize=t.element[0][this.container.isHorizontal()?"offsetWidth":"offsetHeight"]||null,this.blocks[0]=t,this.poolBlock_(0),this.itemSize&&this.containerUpdated()}},VirtualRepeatController.prototype.repeatListExpression_=function(t){var e=this.rawRepeatListExpression(t);if(this.onDemand&&e){var i=new VirtualRepeatModelArrayLike(e);return i.$$includeIndexes(this.newStartIndex,this.newVisibleEnd),i}return e},VirtualRepeatController.prototype.containerUpdated=function(){return this.itemSize?(this.sized||(this.items=this.repeatListExpression(this.$scope)),this.sized||(this.unwatchItemSize_(),this.sized=!0,this.$scope.$watchCollection(this.repeatListExpression,angular.bind(this,function(t,e){this.isVirtualRepeatUpdating_||this.virtualRepeatUpdate_(t,e)}))),this.updateIndexes_(),void((this.newStartIndex!==this.startIndex||this.newEndIndex!==this.endIndex||this.container.getScrollOffset()>this.container.getScrollSize())&&(this.items instanceof VirtualRepeatModelArrayLike&&this.items.$$includeIndexes(this.newStartIndex,this.newEndIndex),this.virtualRepeatUpdate_(this.items,this.items)))):(this.unwatchItemSize_=this.$scope.$watchCollection(this.repeatListExpression,angular.bind(this,function(t){t&&t.length&&this.$$rAF(angular.bind(this,this.readItemSize_))})),void(this.$rootScope.$$phase||this.$scope.$digest()))},VirtualRepeatController.prototype.getItemSize=function(){return this.itemSize},VirtualRepeatController.prototype.virtualRepeatUpdate_=function(t,e){this.isVirtualRepeatUpdating_=!0;var i=t&&t.length||0,r=!1;if(this.items&&i<this.items.length&&0!==this.container.getScrollOffset())return this.items=t,void this.container.resetScroll();if(i!==this.itemsLength&&(r=!0,this.itemsLength=i),this.items=t,(t!==e||r)&&this.updateIndexes_(),this.parentNode=this.$element[0].parentNode,r&&this.container.setScrollSize(i*this.itemSize),this.isFirstRender){this.isFirstRender=!1;var s=this.$attrs.mdStartIndex?this.$scope.$eval(this.$attrs.mdStartIndex):this.container.topIndex;this.container.scrollToIndex(s)}Object.keys(this.blocks).forEach(function(t){var e=parseInt(t,10);(e<this.newStartIndex||e>=this.newEndIndex)&&this.poolBlock_(e)},this),this.$browser.$$checkUrlChange=angular.noop;var n,o,a=[],l=[];for(n=this.newStartIndex;n<this.newEndIndex&&null==this.blocks[n];n++)o=this.getBlock_(n),this.updateBlock_(o,n),a.push(o);for(;null!=this.blocks[n];n++)this.updateBlock_(this.blocks[n],n);for(var h=n-1;n<this.newEndIndex;n++)o=this.getBlock_(n),this.updateBlock_(o,n),l.push(o);a.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(a),this.$element[0].nextSibling),l.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(l),this.blocks[h]&&this.blocks[h].element[0].nextSibling),this.$browser.$$checkUrlChange=this.browserCheckUrlChange,this.startIndex=this.newStartIndex,this.endIndex=this.newEndIndex,this.isVirtualRepeatUpdating_=!1},VirtualRepeatController.prototype.getBlock_=function(t){if(this.pooledBlocks.length)return this.pooledBlocks.pop();var e;return this.transclude(angular.bind(this,function(i,r){e={element:i,"new":!0,scope:r},this.updateScope_(r,t),this.parentNode.appendChild(i[0])})),e},VirtualRepeatController.prototype.updateBlock_=function(t,e){this.blocks[e]=t,(t["new"]||t.scope.$index!==e||t.scope[this.repeatName]!==this.items[e])&&(t["new"]=!1,this.updateScope_(t.scope,e),this.$rootScope.$$phase||t.scope.$digest())},VirtualRepeatController.prototype.updateScope_=function(t,e){t.$index=e,t[this.repeatName]=this.items&&this.items[e],this.extraName&&(t[this.extraName(this.$scope)]=this.items[e])},VirtualRepeatController.prototype.poolBlock_=function(t){this.pooledBlocks.push(this.blocks[t]),this.parentNode.removeChild(this.blocks[t].element[0]),delete this.blocks[t]},VirtualRepeatController.prototype.domFragmentFromBlocks_=function(t){var e=this.$document[0].createDocumentFragment();return t.forEach(function(t){e.appendChild(t.element[0])}),e},VirtualRepeatController.prototype.updateIndexes_=function(){var t=this.items?this.items.length:0,e=Math.ceil(this.container.getSize()/this.itemSize);this.newStartIndex=Math.max(0,Math.min(t-e,Math.floor(this.container.getScrollOffset()/this.itemSize))),this.newVisibleEnd=this.newStartIndex+e+NUM_EXTRA,this.newEndIndex=Math.min(t,this.newVisibleEnd),this.newStartIndex=Math.max(0,this.newStartIndex-NUM_EXTRA)},VirtualRepeatModelArrayLike.prototype.$$includeIndexes=function(t,e){for(var i=t;e>i;i++)this.hasOwnProperty(i)||(this[i]=this.model.getItemAtIndex(i));this.length=this.model.getLength()},ng.material.components.virtualRepeat=angular.module("material.components.virtualRepeat");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ goog.provide('ng.material.components.whiteframe');

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
goog.provide("ng.material.components.whiteframe"),angular.module("material.components.whiteframe",[]),ng.material.components.whiteframe=angular.module("material.components.whiteframe");

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function o(e,o,i,l,a,r,c,s,p,h){function f(){i.initOptionalProperties(e,p,{searchText:null,selectedItem:null}),a(o),C(),i.nextTick(function(){b(),$(),x(),o.on("focus",x)})}function g(){function t(){var e=0,t=o.find("md-input-container");if(t.length){var n=t.find("input");e=t.prop("offsetHeight"),e-=n.prop("offsetTop"),e-=n.prop("offsetHeight"),e+=t.prop("offsetTop")}return e}function n(){var e=de.scrollContainer.getBoundingClientRect(),t={};e.right>c.right-m&&(t.left=a.right-e.width+"px"),de.$.scrollContainer.css(t)}if(!de)return i.nextTick(g,!1,e);var l,a=de.wrap.getBoundingClientRect(),r=de.snap.getBoundingClientRect(),c=de.root.getBoundingClientRect(),s=r.bottom-c.top,h=c.bottom-r.top,f=a.left-c.left,$=a.width,x=t();p.mdFloatingLabel&&(f+=d,$-=2*d),l={left:f+"px",minWidth:$+"px",maxWidth:Math.max(a.right-c.left,c.right-a.left)-m+"px"},s>h&&c.height-a.bottom-m<u?(l.top="auto",l.bottom=h+"px",l.maxHeight=Math.min(u,a.top-c.top-m)+"px"):(l.top=s-x+"px",l.bottom="auto",l.maxHeight=Math.min(u,c.bottom+i.scrollTop()-a.bottom-m)+"px"),de.$.scrollContainer.css(l),i.nextTick(n,!1)}function $(){de.$.root.length&&(a(de.$.scrollContainer),de.$.scrollContainer.detach(),de.$.root.append(de.$.scrollContainer),c.pin&&c.pin(de.$.scrollContainer,s))}function x(){e.autofocus&&de.input.focus()}function C(){var n=parseInt(e.delay,10)||0;p.$observe("disabled",function(e){ce.isDisabled=!!e}),p.$observe("required",function(e){ce.isRequired=!!e}),e.$watch("searchText",n?i.debounce(R,n):R),e.$watch("selectedItem",k),t.element(r).on("resize",g),e.$on("$destroy",v)}function v(){if(t.element(r).off("resize",g),de){var e="ul scroller scrollContainer input".split(" ");t.forEach(e,function(e){de.$[e].remove()})}}function b(){de={main:o[0],scrollContainer:o[0].getElementsByClassName("md-virtual-repeat-container")[0],scroller:o[0].getElementsByClassName("md-virtual-repeat-scroller")[0],ul:o.find("ul")[0],input:o.find("input")[0],wrap:o.find("md-autocomplete-wrap")[0],root:document.body},de.li=de.ul.getElementsByTagName("li"),de.snap=A(),de.$=T(de)}function A(){for(var e=o;e.length;e=e.parent())if(t.isDefined(e.attr("md-autocomplete-snap")))return e[0];return de.wrap}function T(e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=t.element(e[o]));return n}function w(t,n){!t&&n?(g(),de&&i.nextTick(function(){i.disableScrollAround(de.ul)},!1,e)):t&&!n&&i.nextTick(function(){i.enableScrolling()},!1,e)}function y(){pe=!0}function E(){fe||de.input.focus(),pe=!1,ce.hidden=U()}function I(){de.input.focus()}function k(t,n){t&&q(t).then(function(o){e.searchText=o,N(t,n)}),t!==n&&M()}function M(){t.isFunction(e.itemChange)&&e.itemChange(B(e.selectedItem))}function D(){t.isFunction(e.textChange)&&e.textChange()}function N(e,t){he.forEach(function(n){n(e,t)})}function O(e){-1==he.indexOf(e)&&he.push(e)}function L(e){var t=he.indexOf(e);-1!=t&&he.splice(t,1)}function R(t,n){ce.index=W(),t!==n&&q(e.selectedItem).then(function(o){t!==o&&(e.selectedItem=null,t!==n&&D(),J()?ae():(ce.matches=[],_(!1),te()))})}function F(){fe=!1,pe||(ce.hidden=U())}function S(e){e&&(pe=!1,fe=!1),de.input.blur()}function H(){fe=!0,t.isString(e.searchText)||(e.searchText=""),ce.hidden=U(),ce.hidden||ae()}function P(e){switch(e.keyCode){case l.KEY_CODE.DOWN_ARROW:if(ce.loading)return;e.stopPropagation(),e.preventDefault(),ce.index=Math.min(ce.index+1,ce.matches.length-1),oe(),te();break;case l.KEY_CODE.UP_ARROW:if(ce.loading)return;e.stopPropagation(),e.preventDefault(),ce.index=ce.index<0?ce.matches.length-1:Math.max(0,ce.index-1),oe(),te();break;case l.KEY_CODE.TAB:if(E(),ce.hidden||ce.loading||ce.index<0||ce.matches.length<1)return;X(ce.index);break;case l.KEY_CODE.ENTER:if(ce.hidden||ce.loading||ce.index<0||ce.matches.length<1)return;if(Y())return;e.stopPropagation(),e.preventDefault(),X(ce.index);break;case l.KEY_CODE.ESCAPE:e.stopPropagation(),e.preventDefault(),Z(),S(!0)}}function V(){return t.isNumber(e.minLength)?e.minLength:1}function q(t){function n(t){return t&&e.itemText?e.itemText(B(t)):null}return h.when(n(t)||t)}function B(e){if(!e)return n;var t={};return ce.itemName&&(t[ce.itemName]=e),t}function W(){return e.autoselect?0:-1}function _(e){ce.loading!=e&&(ce.loading=e),ce.hidden=U()}function U(){return ce.loading&&!K()?!0:Y()?!0:fe?!j():!0}function j(){return J()&&K()||le()}function K(){return ce.matches.length?!0:!1}function Y(){return ce.scope.selectedItem?!0:!1}function z(){return ce.loading&&!Y()}function G(){return q(ce.matches[ce.index])}function J(){return(e.searchText||"").length>=V()}function Q(e,t,n){Object.defineProperty(ce,e,{get:function(){return n},set:function(e){var o=n;n=e,t(e,o)}})}function X(t){i.nextTick(function(){q(ce.matches[t]).then(function(e){var t=de.$.input.controller("ngModel");t.$setViewValue(e),t.$render()})["finally"](function(){e.selectedItem=ce.matches[t],_(!1)})},!1)}function Z(){_(!0),ce.index=0,ce.matches=[],e.searchText="",X(-1);var t=document.createEvent("CustomEvent");t.initCustomEvent("input",!0,!0,{value:e.searchText}),de.input.dispatchEvent(t),de.input.focus()}function ee(n){function o(t){se[a]=t,(n||"")===(e.searchText||"")&&(ce.matches=t,ce.hidden=U(),e.selectOnMatch&&re(),te(),g())}var l=e.$parent.$eval(me),a=n.toLowerCase();t.isArray(l)?o(l):l&&(_(!0),i.nextTick(function(){l.success&&l.success(o),l.then&&l.then(o),l["finally"]&&l["finally"](function(){_(!1)})},!0,e))}function te(){G().then(function(e){ce.messages=[ne(),e]})}function ne(){if(ge===ce.matches.length)return"";switch(ge=ce.matches.length,ce.matches.length){case 0:return"There are no matches available.";case 1:return"There is 1 match available.";default:return"There are "+ce.matches.length+" matches available."}}function oe(){if(de.li[0]){var e=de.li[0].offsetHeight,t=e*ce.index,n=t+e,o=de.scroller.clientHeight,i=de.scroller.scrollTop;i>t?ie(t):n>i+o&&ie(n-o)}}function ie(e){de.$.scrollContainer.controller("mdVirtualRepeatContainer").scrollTo(e)}function le(){var e=(ce.scope.searchText||"").length;return ce.hasNotFound&&!K()&&!ce.loading&&e>=V()&&fe&&!Y()}function ae(){var t=e.searchText||"",n=t.toLowerCase();!e.noCache&&se[n]?(ce.matches=se[n],te()):ee(t),ce.hidden=U()}function re(){var t=e.searchText,n=ce.matches,o=n[0];1===n.length&&q(o).then(function(e){t==e&&X(0)})}var ce=this,ue=e.itemsExpr.split(/ in /i),me=ue[1],de=null,se={},pe=!1,he=[],fe=!1,ge=0;return Q("hidden",w,!0),ce.scope=e,ce.parent=e.$parent,ce.itemName=ue[0],ce.matches=[],ce.loading=!1,ce.hidden=!0,ce.index=null,ce.messages=[],ce.id=i.nextUid(),ce.isDisabled=null,ce.isRequired=null,ce.hasNotFound=!1,ce.keydown=P,ce.blur=F,ce.focus=H,ce.clear=Z,ce.select=X,ce.listEnter=y,ce.listLeave=E,ce.mouseUp=I,ce.getCurrentDisplayValue=G,ce.registerSelectedItemWatcher=O,ce.unregisterSelectedItemWatcher=L,ce.notFoundVisible=le,ce.loadingIsVisible=z,f()}function i(){var e=!1;return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",selectOnMatch:"=?mdSelectOnMatch",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass",inputId:"@?mdInputId"},link:function(t,n,o,i){i.hasNotFound=e},template:function(t,n){function o(){var e=t.find("md-item-template").detach(),n=e.length?e.html():t.html();return e.length||t.empty(),"<md-autocomplete-parent-scope md-autocomplete-replace>"+n+"</md-autocomplete-parent-scope>"}function i(){var e=t.find("md-not-found").detach(),n=e.length?e.html():"";return n?'<li ng-if="$mdAutocompleteCtrl.notFoundVisible()" md-autocomplete-parent-scope>'+n+"</li>":""}function l(){return n.mdFloatingLabel?' <md-input-container flex ng-if="floatingLabel"> <label>{{floatingLabel}}</label> <input type="search" '+(null!=u?'tabindex="'+u+'"':"")+' id="{{ inputId || \'fl-input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-minlength="inputMinlength" ng-maxlength="inputMaxlength" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur()" ng-focus="$mdAutocompleteCtrl.focus()" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" aria-label="{{floatingLabel}}" aria-autocomplete="list" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <div md-autocomplete-parent-scope md-autocomplete-replace>'+c+"</div> </md-input-container>":' <input flex type="search" '+(null!=u?'tabindex="'+u+'"':"")+' id="{{ inputId || \'input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" ng-if="!floatingLabel" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur()" ng-focus="$mdAutocompleteCtrl.focus()" placeholder="{{placeholder}}" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" aria-label="{{placeholder}}" aria-autocomplete="list" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <button type="button" tabindex="-1" ng-if="$mdAutocompleteCtrl.scope.searchText && !$mdAutocompleteCtrl.isDisabled" ng-click="$mdAutocompleteCtrl.clear()"> <md-icon md-svg-icon="md-close"></md-icon> <span class="md-visually-hidden">Clear</span> </button> '}var a=i(),r=o(),c=t.html(),u=n.tabindex;return e=a?!0:!1,n.hasOwnProperty("tabindex")||t.attr("tabindex","-1"),' <md-autocomplete-wrap layout="row" ng-class="{ \'md-whiteframe-z1\': !floatingLabel, \'md-menu-showing\': !$mdAutocompleteCtrl.hidden }" role="listbox"> '+l()+' <md-progress-linear class="'+(n.mdFloatingLabel?"md-inline":"")+'" ng-if="$mdAutocompleteCtrl.loadingIsVisible()" md-mode="indeterminate"></md-progress-linear> <md-virtual-repeat-container md-auto-shrink md-auto-shrink-min="1" ng-mouseenter="$mdAutocompleteCtrl.listEnter()" ng-mouseleave="$mdAutocompleteCtrl.listLeave()" ng-mouseup="$mdAutocompleteCtrl.mouseUp()" ng-hide="$mdAutocompleteCtrl.hidden" class="md-autocomplete-suggestions-container md-whiteframe-z1" ng-class="{ \'md-not-found\': $mdAutocompleteCtrl.notFoundVisible() }" role="presentation"> <ul class="md-autocomplete-suggestions" ng-class="::menuClass" id="ul-{{$mdAutocompleteCtrl.id}}"> <li md-virtual-repeat="item in $mdAutocompleteCtrl.matches" ng-class="{ selected: $index === $mdAutocompleteCtrl.index }" ng-click="$mdAutocompleteCtrl.select($index)" md-extra-name="$mdAutocompleteCtrl.itemName"> '+r+" </li>"+a+' </ul> </md-virtual-repeat-container> </md-autocomplete-wrap> <aria-status class="md-visually-hidden" role="status" aria-live="assertive"> <p ng-repeat="message in $mdAutocompleteCtrl.messages track by $index" ng-if="message">{{message}}</p> </aria-status>'}}}function l(e,t){function n(e,n,o){return function(e,n,i){function l(n,o){c[o]=e[n],e.$watch(n,function(e){t.nextTick(function(){c[o]=e})})}function a(){var t=!1,n=!1;e.$watch(function(){n||t||(t=!0,e.$$postDigest(function(){n||c.$digest(),t=n=!1}))}),c.$watch(function(){n=!0})}var r=e.$mdAutocompleteCtrl,c=r.parent.$new(),u=r.itemName;l("$index","$index"),l("item",u),a(),o(c,function(e){n.after(e)})}}return{restrict:"AE",compile:n,terminal:!0,transclude:"element"}}function a(e,n,o){function i(i,l){var r=null,c=null,u=o.mdHighlightFlags||"",m=e.$watch(function(e){return{term:i(e),unsafeText:l(e)}},function(e,o){(null===r||e.unsafeText!==o.unsafeText)&&(r=t.element("<div>").text(e.unsafeText).html()),(null===c||e.term!==o.term)&&(c=a(e.term,u)),n.html(r.replace(c,'<span class="highlight">$&</span>'))},!0);n.on("$destroy",m)}function l(e){return e&&e.replace(/[\\\^\$\*\+\?\.\(\)\|\{}\[\]]/g,"\\$&")}function a(e,t){var n="";return t.indexOf("^")>=1&&(n+="^"),n+=e,t.indexOf("$")>=1&&(n+="$"),new RegExp(l(n),t.replace(/[\$\^]/g,""))}this.init=i}function r(e,t){return{terminal:!0,controller:"MdHighlightCtrl",compile:function(n,o){var i=t(o.mdHighlightText),l=e(n.html());return function(e,t,n,o){o.init(i,l)}}}}t.module("material.components.autocomplete",["material.core","material.components.icon","material.components.virtualRepeat"]),t.module("material.components.autocomplete").controller("MdAutocompleteCtrl",o);var c=41,u=5.5*c,m=8,d=2;o.$inject=["$scope","$element","$mdUtil","$mdConstant","$mdTheming","$window","$animate","$rootElement","$attrs","$q"],t.module("material.components.autocomplete").directive("mdAutocomplete",i),t.module("material.components.autocomplete").directive("mdAutocompleteParentScope",l),l.$inject=["$compile","$mdUtil"],t.module("material.components.autocomplete").controller("MdHighlightCtrl",a),a.$inject=["$scope","$element","$attrs"],t.module("material.components.autocomplete").directive("mdHighlightText",r),r.$inject=["$interpolate","$parse"]}(window,window.angular);
{
"name": "angular-material-autocomplete",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-icon": "1.0.0-rc7-master-c33819e",
"angular-material-virtualRepeat": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-icon": "1.0.0-master-19c11fd",
"angular-material-virtualRepeat": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,i,n){"use strict";i.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$animate","$rootElement","$window","$log","$$rAF","$document",function(t,i,n,e,o,r,a){function p(p,c,s){var m=e.getComputedStyle(a[0].body);if("fixed"==m.position){var l=parseInt(m.height,10)+Math.abs(parseInt(m.top,10));c.css({height:l+"px"})}i.pin&&i.pin(c,n),r(function(){var i=c.parent()[0];if(i){"BODY"==i.nodeName&&c.css({position:"fixed"});var n=e.getComputedStyle(i);"static"==n.position&&o.warn(d)}t.inherit(c,c.parent())})}var d="<md-backdrop> may not work properly in a scrolled, static-positioned parent container.";return{restrict:"E",link:p}}])}(window,window.angular);
{
"name": "angular-material-backdrop",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function o(e){return{restrict:"E",link:function(t,n,o){t.$on("$destroy",function(){e.destroy()})}}}function r(e){function n(e,n,c,a,i,l,s){function d(o,r,s,d){r=c.extractElementByName(r,"md-bottom-sheet"),S=c.createBackdrop(o,"md-bottom-sheet-backdrop md-opaque"),s.clickOutsideToClose&&S.on("click",function(){c.nextTick(i.cancel,!0)}),a.inherit(S,s.parent),e.enter(S,s.parent,null);var m=new u(r,s.parent);return s.bottomSheet=m,a.inherit(m.element,s.parent),s.disableParentScroll&&(s.restoreScroll=c.disableScrollAround(m.element,s.parent)),e.enter(m.element,s.parent).then(function(){var e=c.findFocusTarget(r)||t.element(r[0].querySelector("button")||r[0].querySelector("a")||r[0].querySelector("[ng-click]"));e.focus(),s.escapeToClose&&(s.rootElementKeyupCallback=function(e){e.keyCode===n.KEY_CODE.ESCAPE&&c.nextTick(i.cancel,!0)},l.on("keyup",s.rootElementKeyupCallback))})}function m(t,n,o){var r=o.bottomSheet;return e.leave(S),e.leave(r.element).then(function(){o.disableParentScroll&&(o.restoreScroll(),delete o.restoreScroll),r.cleanup()})}function u(e,t){function a(t){e.css(n.CSS.TRANSITION_DURATION,"0ms")}function l(t){var o=t.pointer.distanceY;5>o&&(o=Math.max(-r,o/2)),e.css(n.CSS.TRANSFORM,"translate3d(0,"+(r+o)+"px,0)")}function d(t){if(t.pointer.distanceY>0&&(t.pointer.distanceY>20||Math.abs(t.pointer.velocityY)>o)){var r=e.prop("offsetHeight")-t.pointer.distanceY,a=Math.min(r/t.pointer.velocityY*.75,500);e.css(n.CSS.TRANSITION_DURATION,a+"ms"),c.nextTick(i.cancel,!0)}else e.css(n.CSS.TRANSITION_DURATION,""),e.css(n.CSS.TRANSFORM,"")}var m=s.register(t,"drag",{horizontal:!1});return t.on("$md.dragstart",a).on("$md.drag",l).on("$md.dragend",d),{element:e,cleanup:function(){m(),t.off("$md.dragstart",a),t.off("$md.drag",l),t.off("$md.dragend",d)}}}var S;return{themable:!0,onShow:d,onRemove:m,escapeToClose:!0,clickOutsideToClose:!0,disableParentScroll:!0}}var o=.5,r=80;return n.$inject=["$animate","$mdConstant","$mdUtil","$mdTheming","$mdBottomSheet","$rootElement","$mdGesture"],e("$mdBottomSheet").setDefaults({methods:["disableParentScroll","escapeToClose","clickOutsideToClose"],options:n})}t.module("material.components.bottomSheet",["material.core","material.components.backdrop"]).directive("mdBottomSheet",o).provider("$mdBottomSheet",r),o.$inject=["$mdBottomSheet"],r.$inject=["$$interimElementProvider"]}(window,window.angular);
{
"name": "angular-material-bottomSheet",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-backdrop": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-backdrop": "1.0.0-master-19c11fd"
}
}
{
"name": "angular-material-button",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,n){"use strict";function i(t,n,i,o){function u(t){return e.isDefined(t.href)||e.isDefined(t.ngHref)||e.isDefined(t.ngLink)||e.isDefined(t.uiSref)}function a(t,e){if(u(e))return'<a class="md-button" ng-transclude></a>';var n="undefined"==typeof e.type?"button":e.type;return'<button class="md-button" type="'+n+'" ng-transclude></button>'}function c(a,c,r){var d=c[0];n(c),t.attach(a,c);var s=d.textContent.trim();s||i.expect(c,"aria-label"),u(r)&&e.isDefined(r.ngDisabled)&&a.$watch(r.ngDisabled,function(t){c.attr("tabindex",t?-1:0)}),c.on("click",function(t){r.disabled===!0&&(t.preventDefault(),t.stopImmediatePropagation())}),a.mouseActive=!1,c.on("mousedown",function(){a.mouseActive=!0,o(function(){a.mouseActive=!1},100)}).on("focus",function(){a.mouseActive===!1&&c.addClass("md-focused")}).on("blur",function(t){c.removeClass("md-focused")})}return{restrict:"EA",replace:!0,transclude:!0,template:a,link:c}}e.module("material.components.button",["material.core"]).directive("mdButton",i),i.$inject=["$mdButtonInkRipple","$mdTheming","$mdAria","$timeout"]}(window,window.angular);
{
"name": "angular-material-card",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(n,i,t){"use strict";function e(n){return{restrict:"E",link:function(i,t){n(t)}}}i.module("material.components.card",["material.core"]).directive("mdCard",e),e.$inject=["$mdTheming"]}(window,window.angular);
{
"name": "angular-material-checkbox",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,i,n){"use strict";function t(e,n,t,c,d,o){function a(a,r){return r.type="checkbox",r.tabindex=r.tabindex||"0",a.attr("role",r.type),a.on("click",function(e){this.hasAttribute("disabled")&&e.stopImmediatePropagation()}),function(a,r,u,l){function m(e,i,n){u[e]&&a.$watch(u[e],function(e){n[e]&&r.attr(i,n[e])})}function f(e){var i=e.which||e.keyCode;(i===t.KEY_CODE.SPACE||i===t.KEY_CODE.ENTER)&&(e.preventDefault(),r.hasClass("md-focused")||r.addClass("md-focused"),p(e))}function p(e){r[0].hasAttribute("disabled")||a.$apply(function(){var i=u.ngChecked?u.checked:!l.$viewValue;l.$setViewValue(i,e&&e.type),l.$render()})}function v(){l.$viewValue?r.addClass(s):r.removeClass(s)}l=l||d.fakeNgModel(),c(r),u.ngChecked&&a.$watch(a.$eval.bind(a,u.ngChecked),l.$setViewValue.bind(l)),m("ngDisabled","tabindex",{"true":"-1","false":u.tabindex}),n.expectWithText(r,"aria-label"),e.link.pre(a,{on:i.noop,0:{}},u,[l]),a.mouseActive=!1,r.on("click",p).on("keypress",f).on("mousedown",function(){a.mouseActive=!0,o(function(){a.mouseActive=!1},100)}).on("focus",function(){a.mouseActive===!1&&r.addClass("md-focused")}).on("blur",function(){r.removeClass("md-focused")}),l.$render=v}}e=e[0];var s="md-checked";return{restrict:"E",transclude:!0,require:"?ngModel",priority:210,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-icon"></div></div><div ng-transclude class="md-label"></div>',compile:a}}i.module("material.components.checkbox",["material.core"]).directive("mdCheckbox",t),t.$inject=["inputDirective","$mdAria","$mdConstant","$mdTheming","$mdUtil","$timeout"]}(window,window.angular);
{
"name": "angular-material-chips",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-autocomplete": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-autocomplete": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,i){"use strict";function n(t,i){function n(n,o){return n.append(i.processTemplate(s)),function(i,n,s,o){n.addClass("md-chip"),t(n),o&&e.element(n[0].querySelector(".md-chip-content")).on("blur",function(){o.selectedChip=-1})}}var s=i.processTemplate(d);return{restrict:"E",require:"^?mdChips",compile:n}}function s(t){function e(e,i,n,s){i.on("click",function(t){e.$apply(function(){s.removeChip(e.$$replacedScope.$index)})}),t(function(){i.attr({tabindex:-1,"aria-hidden":!0}),i.find("button").attr("tabindex","-1")})}return{restrict:"A",require:"^mdChips",scope:!1,link:e}}function o(t){function e(e,i,n){var s=e.$parent.$mdChipsCtrl,o=s.parent.$new(!1,s.parent);o.$$replacedScope=e,o.$chip=e.$chip,o.$index=e.$index,o.$mdChipsCtrl=s;var r=s.$scope.$eval(n.mdChipTransclude);i.html(r),t(i.contents())(o)}return{restrict:"EA",terminal:!0,link:e,scope:!1}}function r(t,e,i,n,s){this.$timeout=s,this.$mdConstant=e,this.$scope=t,this.parent=t.$parent,this.$log=i,this.$element=n,this.ngModelCtrl=null,this.userInputNgModelCtrl=null,this.userInputElement=null,this.items=[],this.selectedChip=-1,this.hasAutocomplete=!1,this.deleteHint="Press delete to remove this chip.",this.deleteButtonLabel="Remove",this.chipBuffer="",this.useOnAppend=!1,this.useTransformChip=!1,this.useOnAdd=!1,this.useOnRemove=!1,this.useOnSelect=!1}function c(t,e,i,n,s){function o(o,r){function p(t){if(r.ngModel){var e=h[0].querySelector(t);return e&&e.outerHTML}}var h=r.$mdUserTemplate;r.$mdUserTemplate=null;var d=p("md-chips>*[md-chip-remove]")||c.remove,l=p("md-chips>md-chip-template")||c["default"],a=p("md-chips>md-autocomplete")||p("md-chips>input")||c.input,m=h.find("md-chip");return h[0].querySelector("md-chip-template>*[md-chip-remove]")&&n.warn("invalid placement of md-chip-remove within md-chip-template."),function(n,o,p,h){e.initOptionalProperties(n,r),t(o);var u=h[0];if(u.chipContentsTemplate=l,u.chipRemoveTemplate=d,u.chipInputTemplate=a,o.attr({"aria-hidden":!0,tabindex:-1}).on("focus",function(){u.onFocus()}),r.ngModel&&(u.configureNgModel(o.controller("ngModel")),p.mdTransformChip&&u.useTransformChipExpression(),p.mdOnAppend&&u.useOnAppendExpression(),p.mdOnAdd&&u.useOnAddExpression(),p.mdOnRemove&&u.useOnRemoveExpression(),p.mdOnSelect&&u.useOnSelectExpression(),a!=c.input&&n.$watch("$mdChipsCtrl.readonly",function(t){t||e.nextTick(function(){0===a.indexOf("<md-autocomplete")&&u.configureAutocomplete(o.find("md-autocomplete").controller("mdAutocomplete")),u.configureUserInput(o.find("input"))})}),e.nextTick(function(){var t=o.find("input");t&&t.toggleClass("md-input",!0)})),m.length>0){var C=i(m.clone())(n.$parent);s(function(){o.find("md-chips-wrap").prepend(C)})}}}function r(){return{chips:e.processTemplate(l),input:e.processTemplate(a),"default":e.processTemplate(m),remove:e.processTemplate(u)}}var c=r();return{template:function(t,e){return e.$mdUserTemplate=t.clone(),c.chips},require:["mdChips"],restrict:"E",controller:"MdChipsCtrl",controllerAs:"$mdChipsCtrl",bindToController:!0,compile:o,scope:{readonly:"=readonly",placeholder:"@",secondaryPlaceholder:"@",transformChip:"&mdTransformChip",onAppend:"&mdOnAppend",onAdd:"&mdOnAdd",onRemove:"&mdOnRemove",onSelect:"&mdOnSelect",deleteHint:"@",deleteButtonLabel:"@",separatorKeys:"=?mdSeparatorKeys",requireMatch:"=?mdRequireMatch"}}}function p(){this.selectedItem=null,this.searchText=""}function h(t,e){function i(i,n){return function(i,s,o,r){e.initOptionalProperties(i,n),t(s),s.attr("tabindex","-1")}}return{template:function(t,e){return C},restrict:"E",controller:"MdContactChipsCtrl",controllerAs:"$mdContactChipsCtrl",bindToController:!0,compile:i,scope:{contactQuery:"&mdContacts",placeholder:"@",secondaryPlaceholder:"@",contactName:"@mdContactName",contactImage:"@mdContactImage",contactEmail:"@mdContactEmail",contacts:"=ngModel",requireMatch:"=?mdRequireMatch",highlightFlags:"@?mdHighlightFlags"}}}e.module("material.components.chips",["material.core","material.components.autocomplete"]),e.module("material.components.chips").directive("mdChip",n);var d=' <span ng-if="!$mdChipsCtrl.readonly" class="md-visually-hidden"> {{$mdChipsCtrl.deleteHint}} </span>';n.$inject=["$mdTheming","$mdUtil"],e.module("material.components.chips").directive("mdChipRemove",s),s.$inject=["$timeout"],e.module("material.components.chips").directive("mdChipTransclude",o),o.$inject=["$compile"],e.module("material.components.chips").controller("MdChipsCtrl",r),r.$inject=["$scope","$mdConstant","$log","$element","$timeout"],r.prototype.inputKeydown=function(t){var e=this.getChipBuffer();if(!(this.hasAutocomplete&&t.isDefaultPrevented&&t.isDefaultPrevented())){if(t.keyCode===this.$mdConstant.KEY_CODE.BACKSPACE){if(e)return;return t.preventDefault(),t.stopPropagation(),void(this.items.length&&this.selectAndFocusChipSafe(this.items.length-1))}if((!this.separatorKeys||this.separatorKeys.length<1)&&(this.separatorKeys=[this.$mdConstant.KEY_CODE.ENTER]),-1!==this.separatorKeys.indexOf(t.keyCode)){if(this.hasAutocomplete&&this.requireMatch||!e)return;t.preventDefault(),this.appendChip(e),this.resetChipBuffer()}}},r.prototype.chipKeydown=function(t){if(!this.getChipBuffer())switch(t.keyCode){case this.$mdConstant.KEY_CODE.BACKSPACE:case this.$mdConstant.KEY_CODE.DELETE:if(this.selectedChip<0)return;t.preventDefault(),this.removeAndSelectAdjacentChip(this.selectedChip);break;case this.$mdConstant.KEY_CODE.LEFT_ARROW:t.preventDefault(),this.selectedChip<0&&(this.selectedChip=this.items.length),this.items.length&&this.selectAndFocusChipSafe(this.selectedChip-1);break;case this.$mdConstant.KEY_CODE.RIGHT_ARROW:t.preventDefault(),this.selectAndFocusChipSafe(this.selectedChip+1);break;case this.$mdConstant.KEY_CODE.ESCAPE:case this.$mdConstant.KEY_CODE.TAB:if(this.selectedChip<0)return;t.preventDefault(),this.onFocus()}},r.prototype.getPlaceholder=function(){var t=this.items.length&&(""==this.secondaryPlaceholder||this.secondaryPlaceholder);return t?this.placeholder:this.secondaryPlaceholder},r.prototype.removeAndSelectAdjacentChip=function(t){var i=this.getAdjacentChipIndex(t);this.removeChip(t),this.$timeout(e.bind(this,function(){this.selectAndFocusChipSafe(i)}))},r.prototype.resetSelectedChip=function(){this.selectedChip=-1},r.prototype.getAdjacentChipIndex=function(t){var e=this.items.length-1;return 0==e?-1:t==e?t-1:t},r.prototype.appendChip=function(t){if(this.useTransformChip&&this.transformChip){var i=this.transformChip({$chip:t});e.isDefined(i)&&(t=i)}if(e.isObject(t)){var n=this.items.some(function(i){return e.equals(t,i)});if(n)return}if(!(null==t||this.items.indexOf(t)+1)){var s=this.items.push(t);this.useOnAdd&&this.onAdd&&this.onAdd({$chip:t,$index:s})}},r.prototype.useOnAppendExpression=function(){this.$log.warn("md-on-append is deprecated; please use md-transform-chip or md-on-add instead"),this.useTransformChip&&this.transformChip||(this.useTransformChip=!0,this.transformChip=this.onAppend)},r.prototype.useTransformChipExpression=function(){this.useTransformChip=!0},r.prototype.useOnAddExpression=function(){this.useOnAdd=!0},r.prototype.useOnRemoveExpression=function(){this.useOnRemove=!0},r.prototype.useOnSelectExpression=function(){this.useOnSelect=!0},r.prototype.getChipBuffer=function(){return this.userInputElement?this.userInputNgModelCtrl?this.userInputNgModelCtrl.$viewValue:this.userInputElement[0].value:this.chipBuffer},r.prototype.resetChipBuffer=function(){this.userInputElement?this.userInputNgModelCtrl?(this.userInputNgModelCtrl.$setViewValue(""),this.userInputNgModelCtrl.$render()):this.userInputElement[0].value="":this.chipBuffer=""},r.prototype.removeChip=function(t){var e=this.items.splice(t,1);e&&e.length&&this.useOnRemove&&this.onRemove&&this.onRemove({$chip:e[0],$index:t})},r.prototype.removeChipAndFocusInput=function(t){this.removeChip(t),this.onFocus()},r.prototype.selectAndFocusChipSafe=function(t){return this.items.length?t===this.items.length?this.onFocus():(t=Math.max(t,0),t=Math.min(t,this.items.length-1),this.selectChip(t),void this.focusChip(t)):(this.selectChip(-1),void this.onFocus())},r.prototype.selectChip=function(t){t>=-1&&t<=this.items.length?(this.selectedChip=t,this.useOnSelect&&this.onSelect&&this.onSelect({$chip:this.items[this.selectedChip]})):this.$log.warn("Selected Chip index out of bounds; ignoring.")},r.prototype.selectAndFocusChip=function(t){this.selectChip(t),-1!=t&&this.focusChip(t)},r.prototype.focusChip=function(t){this.$element[0].querySelector('md-chip[index="'+t+'"] .md-chip-content').focus()},r.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){e.items=e.ngModelCtrl.$viewValue}},r.prototype.onFocus=function(){var t=this.$element[0].querySelector("input");t&&t.focus(),this.resetSelectedChip()},r.prototype.onInputFocus=function(){this.inputHasFocus=!0,this.resetSelectedChip()},r.prototype.onInputBlur=function(){this.inputHasFocus=!1},r.prototype.configureUserInput=function(t){this.userInputElement=t;var i=t.controller("ngModel");i!=this.ngModelCtrl&&(this.userInputNgModelCtrl=i);var n=this.$scope,s=this,o=function(t,i){n.$evalAsync(e.bind(s,i,t))};t.attr({tabindex:0}).on("keydown",function(t){o(t,s.inputKeydown)}).on("focus",function(t){o(t,s.onInputFocus)}).on("blur",function(t){o(t,s.onInputBlur)})},r.prototype.configureAutocomplete=function(t){t&&(this.hasAutocomplete=!0,t.registerSelectedItemWatcher(e.bind(this,function(t){t&&(this.appendChip(t),this.resetChipBuffer())})),this.$element.find("input").on("focus",e.bind(this,this.onInputFocus)).on("blur",e.bind(this,this.onInputBlur)))},r.prototype.hasFocus=function(){return this.inputHasFocus||this.selectedChip>=0},e.module("material.components.chips").directive("mdChips",c);var l=' <md-chips-wrap ng-if="!$mdChipsCtrl.readonly || $mdChipsCtrl.items.length > 0" ng-keydown="$mdChipsCtrl.chipKeydown($event)" ng-class="{ \'md-focused\': $mdChipsCtrl.hasFocus(), \'md-readonly\': !$mdChipsCtrl.ngModelCtrl }" class="md-chips"> <md-chip ng-repeat="$chip in $mdChipsCtrl.items" index="{{$index}}" ng-class="{\'md-focused\': $mdChipsCtrl.selectedChip == $index, \'md-readonly\': $mdChipsCtrl.readonly}"> <div class="md-chip-content" tabindex="-1" aria-hidden="true" ng-focus="!$mdChipsCtrl.readonly && $mdChipsCtrl.selectChip($index)" md-chip-transclude="$mdChipsCtrl.chipContentsTemplate"></div> <div ng-if="!$mdChipsCtrl.readonly" class="md-chip-remove-container" md-chip-transclude="$mdChipsCtrl.chipRemoveTemplate"></div> </md-chip> <div ng-if="!$mdChipsCtrl.readonly && $mdChipsCtrl.ngModelCtrl" class="md-chip-input-container" md-chip-transclude="$mdChipsCtrl.chipInputTemplate"></div> </div> </md-chips-wrap>',a=' <input class="md-input" tabindex="0" placeholder="{{$mdChipsCtrl.getPlaceholder()}}" aria-label="{{$mdChipsCtrl.getPlaceholder()}}" ng-model="$mdChipsCtrl.chipBuffer" ng-focus="$mdChipsCtrl.onInputFocus()" ng-blur="$mdChipsCtrl.onInputBlur()" ng-keydown="$mdChipsCtrl.inputKeydown($event)">',m=" <span>{{$chip}}</span>",u=' <button class="md-chip-remove" ng-if="!$mdChipsCtrl.readonly" ng-click="$mdChipsCtrl.removeChipAndFocusInput($$replacedScope.$index)" type="button" aria-hidden="true" tabindex="-1"> <md-icon md-svg-icon="md-close"></md-icon> <span class="md-visually-hidden"> {{$mdChipsCtrl.deleteButtonLabel}} </span> </button>';c.$inject=["$mdTheming","$mdUtil","$compile","$log","$timeout"],e.module("material.components.chips").controller("MdContactChipsCtrl",p),p.prototype.queryContact=function(t){var i=this.contactQuery({$query:t});return this.filterSelected?i.filter(e.bind(this,this.filterSelectedContacts)):i},p.prototype.itemName=function(t){return t[this.contactName]},p.prototype.filterSelectedContacts=function(t){return-1==this.contacts.indexOf(t)},e.module("material.components.chips").directive("mdContactChips",h);var C=' <md-chips class="md-contact-chips" ng-model="$mdContactChipsCtrl.contacts" md-require-match="$mdContactChipsCtrl.requireMatch" md-autocomplete-snap> <md-autocomplete md-menu-class="md-contact-chips-suggestions" md-selected-item="$mdContactChipsCtrl.selectedItem" md-search-text="$mdContactChipsCtrl.searchText" md-items="item in $mdContactChipsCtrl.queryContact($mdContactChipsCtrl.searchText)" md-item-text="$mdContactChipsCtrl.itemName(item)" md-no-cache="true" md-autoselect placeholder="{{$mdContactChipsCtrl.contacts.length == 0 ? $mdContactChipsCtrl.placeholder : $mdContactChipsCtrl.secondaryPlaceholder}}"> <div class="md-contact-suggestion"> <img ng-src="{{item[$mdContactChipsCtrl.contactImage]}}" alt="{{item[$mdContactChipsCtrl.contactName]}}" ng-if="item[$mdContactChipsCtrl.contactImage]" /> <span class="md-contact-name" md-highlight-text="$mdContactChipsCtrl.searchText" md-highlight-flags="{{$mdContactChipsCtrl.highlightFlags}}"> {{item[$mdContactChipsCtrl.contactName]}} </span> <span class="md-contact-email" >{{item[$mdContactChipsCtrl.contactEmail]}}</span> </div> </md-autocomplete> <md-chip-template> <div class="md-contact-avatar"> <img ng-src="{{$chip[$mdContactChipsCtrl.contactImage]}}" alt="{{$chip[$mdContactChipsCtrl.contactName]}}" ng-if="$chip[$mdContactChipsCtrl.contactImage]" /> </div> <div class="md-contact-name"> {{$chip[$mdContactChipsCtrl.contactName]}} </div> </md-chip-template> </md-chips>';h.$inject=["$mdTheming","$mdUtil"]}(window,window.angular);
{
"name": "angular-material-content",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,o){"use strict";function n(e){function t(e,t){this.$scope=e,this.$element=t}return{restrict:"E",controller:["$scope","$element",t],link:function(t,o,n){o[0];e(o),t.$broadcast("$mdContentLoaded",o),i(o[0])}}}function i(e){t.element(e).on("$md.pressdown",function(t){"t"===t.pointer.type&&(t.$materialScrollFixed||(t.$materialScrollFixed=!0,0===e.scrollTop?e.scrollTop=1:e.scrollHeight===e.scrollTop+e.offsetHeight&&(e.scrollTop-=1)))})}t.module("material.components.content",["material.core"]).directive("mdContent",n),n.$inject=["$mdTheming"]}(window,window.angular);
{
"name": "angular-material-core",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-ngAnimate": "1.0.0-rc7-master-c33819e",
"angular-material-animate": "1.0.0-rc7-master-c33819e",
"angular-material-layout": "1.0.0-rc7-master-c33819e",
"angular-material-gestures": "1.0.0-rc7-master-c33819e",
"angular-material-theming": "1.0.0-rc7-master-c33819e"
"angular-material-ngAnimate": "1.0.0-master-19c11fd",
"angular-material-animate": "1.0.0-master-19c11fd",
"angular-material-layout": "1.0.0-master-19c11fd",
"angular-material-gestures": "1.0.0-master-19c11fd",
"angular-material-theming": "1.0.0-master-19c11fd"
}
}
{
"name": "angular-material-datepicker",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-icon": "1.0.0-rc7-master-c33819e",
"angular-material-virtualRepeat": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-icon": "1.0.0-master-19c11fd",
"angular-material-virtualRepeat": "1.0.0-master-19c11fd"
}
}

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,a){"use strict";!function(){function t(){return{template:'<table aria-hidden="true" class="md-calendar-day-header"><thead></thead></table><div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container" md-offset-size="'+(i-n)+'"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody role="rowgroup" md-virtual-repeat="i in ctrl.items" md-calendar-month md-month-offset="$index" class="md-calendar-month" md-start-index="ctrl.getSelectedMonthIndex()" md-item-size="'+n+'"></tbody></table></md-virtual-repeat-container></div>',scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",dateFilter:"=mdDateFilter"},require:["ngModel","mdCalendar"],controller:a,controllerAs:"ctrl",bindToController:!0,link:function(t,e,a,n){var i=n[0],r=n[1];r.configureNgModel(i)}}}function a(t,e,a,n,i,r,s,d,o,c,h){if(s(t),this.items={length:2e3},this.maxDate&&this.minDate){var u=d.getMonthDistance(this.minDate,this.maxDate)+1;u=Math.max(u,1),u+=1,this.items.length=u}if(this.$animate=n,this.$q=i,this.$mdInkRipple=c,this.$mdUtil=h,this.keyCode=r.KEY_CODE,this.dateUtil=d,this.dateLocale=o,this.$element=t,this.$scope=a,this.calendarElement=t[0].querySelector(".md-calendar"),this.calendarScroller=t[0].querySelector(".md-virtual-repeat-scroller"),this.today=this.dateUtil.createDateAtMidnight(),this.firstRenderableDate=this.dateUtil.incrementMonths(this.today,-this.items.length/2),this.minDate&&this.minDate>this.firstRenderableDate)this.firstRenderableDate=this.minDate;else if(this.maxDate){this.items.length-2;this.firstRenderableDate=this.dateUtil.incrementMonths(this.maxDate,-(this.items.length-2))}this.id=l++,this.ngModelCtrl=null,this.selectedDate=null,this.displayDate=null,this.focusDate=null,this.isInitialized=!1,this.isMonthTransitionInProgress=!1,e.tabindex||t.attr("tabindex","-1");var m=this;this.cellClickHandler=function(){var t=this;this.hasAttribute("data-timestamp")&&a.$apply(function(){var e=Number(t.getAttribute("data-timestamp"));m.setNgModelValue(m.dateUtil.createDateAtMidnight(e))})},this.attachCalendarEventListeners()}e.module("material.components.datepicker",["material.core","material.components.icon","material.components.virtualRepeat"]).directive("mdCalendar",t);var n=265,i=45,r="md-calendar-selected-date",s="md-focus",l=0;a.$inject=["$element","$attrs","$scope","$animate","$q","$mdConstant","$mdTheming","$$mdDateUtil","$mdDateLocale","$mdInkRipple","$mdUtil"],a.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){e.changeSelectedDate(e.ngModelCtrl.$viewValue)}},a.prototype.buildInitialCalendarDisplay=function(){this.buildWeekHeader(),this.hideVerticalScrollbar(),this.displayDate=this.selectedDate||this.today,this.isInitialized=!0},a.prototype.hideVerticalScrollbar=function(){var t=this.$element[0],e=t.querySelector(".md-calendar-scroll-mask"),a=this.calendarScroller,n=t.querySelector(".md-calendar-day-header").clientWidth,i=a.offsetWidth-a.clientWidth;e.style.width=n+"px",a.style.width=n+i+"px",a.style.paddingRight=i+"px"},a.prototype.attachCalendarEventListeners=function(){this.$element.on("keydown",e.bind(this,this.handleKeyEvent))},a.prototype.handleKeyEvent=function(t){var e=this;this.$scope.$apply(function(){if(t.which==e.keyCode.ESCAPE||t.which==e.keyCode.TAB)return e.$scope.$emit("md-calendar-close"),void(t.which==e.keyCode.TAB&&t.preventDefault());if(t.which===e.keyCode.ENTER)return e.setNgModelValue(e.displayDate),void t.preventDefault();var a=e.getFocusDateFromKeyEvent(t);a&&(a=e.boundDateByMinAndMax(a),t.preventDefault(),t.stopPropagation(),e.changeDisplayDate(a).then(function(){e.focus(a)}))})},a.prototype.getFocusDateFromKeyEvent=function(t){var e=this.dateUtil,a=this.keyCode;switch(t.which){case a.RIGHT_ARROW:return e.incrementDays(this.displayDate,1);case a.LEFT_ARROW:return e.incrementDays(this.displayDate,-1);case a.DOWN_ARROW:return t.metaKey?e.incrementMonths(this.displayDate,1):e.incrementDays(this.displayDate,7);case a.UP_ARROW:return t.metaKey?e.incrementMonths(this.displayDate,-1):e.incrementDays(this.displayDate,-7);case a.PAGE_DOWN:return e.incrementMonths(this.displayDate,1);case a.PAGE_UP:return e.incrementMonths(this.displayDate,-1);case a.HOME:return e.getFirstDateOfMonth(this.displayDate);case a.END:return e.getLastDateOfMonth(this.displayDate);default:return null}},a.prototype.getSelectedMonthIndex=function(){return this.dateUtil.getMonthDistance(this.firstRenderableDate,this.selectedDate||this.today)},a.prototype.scrollToMonth=function(t){if(this.dateUtil.isValidDate(t)){var e=this.dateUtil.getMonthDistance(this.firstRenderableDate,t);this.calendarScroller.scrollTop=e*n}},a.prototype.setNgModelValue=function(t){this.$scope.$emit("md-calendar-change",t),this.ngModelCtrl.$setViewValue(t),this.ngModelCtrl.$render()},a.prototype.focus=function(t){var e=t||this.selectedDate||this.today,a=this.calendarElement.querySelector(".md-focus");a&&a.classList.remove(s);var n=this.getDateId(e),i=document.getElementById(n);i?(i.classList.add(s),i.focus()):this.focusDate=e},a.prototype.boundDateByMinAndMax=function(t){var e=t;return this.minDate&&t<this.minDate&&(e=new Date(this.minDate.getTime())),this.maxDate&&t>this.maxDate&&(e=new Date(this.maxDate.getTime())),e},a.prototype.changeSelectedDate=function(t){var e=this,a=this.selectedDate;this.selectedDate=t,this.changeDisplayDate(t).then(function(){if(a){var n=document.getElementById(e.getDateId(a));n&&(n.classList.remove(r),n.setAttribute("aria-selected","false"))}if(t){var i=document.getElementById(e.getDateId(t));i&&(i.classList.add(r),i.setAttribute("aria-selected","true"))}})},a.prototype.changeDisplayDate=function(t){if(!this.isInitialized)return this.buildInitialCalendarDisplay(),this.$q.when();if(!this.dateUtil.isValidDate(t)||this.isMonthTransitionInProgress)return this.$q.when();this.isMonthTransitionInProgress=!0;var e=this.animateDateChange(t);this.displayDate=t;var a=this;return e.then(function(){a.isMonthTransitionInProgress=!1}),e},a.prototype.animateDateChange=function(t){return this.scrollToMonth(t),this.$q.when()},a.prototype.buildWeekHeader=function(){for(var t=this.dateLocale.firstDayOfWeek,e=this.dateLocale.shortDays,a=document.createElement("tr"),n=0;7>n;n++){var i=document.createElement("th");i.textContent=e[(n+t)%7],a.appendChild(i)}this.$element.find("thead").append(a)},a.prototype.getDateId=function(t){return["md",this.id,t.getFullYear(),t.getMonth(),t.getDate()].join("-")}}(),function(){function t(){return{require:["^^mdCalendar","mdCalendarMonth"],scope:{offset:"=mdMonthOffset"},controller:a,controllerAs:"mdMonthCtrl",bindToController:!0,link:function(t,e,a,n){var i=n[0],r=n[1];r.calendarCtrl=i,r.generateContent(),t.$watch(function(){return r.offset},function(t,e){t!=e&&r.generateContent()})}}}function a(t,e,a){this.dateUtil=e,this.dateLocale=a,this.$element=t,this.calendarCtrl=null,this.offset,this.focusAfterAppend=null}e.module("material.components.datepicker").directive("mdCalendarMonth",t);var n="md-calendar-date-today",i="md-calendar-selected-date",r="md-focus";a.$inject=["$element","$$mdDateUtil","$mdDateLocale"],a.prototype.generateContent=function(){var t=this.calendarCtrl,e=this.dateUtil.incrementMonths(t.firstRenderableDate,this.offset);this.$element.empty(),this.$element.append(this.buildCalendarForMonth(e)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(r),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},a.prototype.buildDateCell=function(t){var e=this.calendarCtrl,a=document.createElement("td");if(a.tabIndex=-1,a.classList.add("md-calendar-date"),a.setAttribute("role","gridcell"),t){a.setAttribute("tabindex","-1"),a.setAttribute("aria-label",this.dateLocale.longDateFormatter(t)),a.id=e.getDateId(t),a.setAttribute("data-timestamp",t.getTime()),this.dateUtil.isSameDay(t,e.today)&&a.classList.add(n),this.dateUtil.isValidDate(e.selectedDate)&&this.dateUtil.isSameDay(t,e.selectedDate)&&(a.classList.add(i),a.setAttribute("aria-selected","true"));var r=this.dateLocale.dates[t.getDate()];if(this.isDateEnabled(t)){var s=document.createElement("span");a.appendChild(s),s.classList.add("md-calendar-date-selection-indicator"),s.textContent=r,a.addEventListener("click",e.cellClickHandler),e.focusDate&&this.dateUtil.isSameDay(t,e.focusDate)&&(this.focusAfterAppend=a)}else a.classList.add("md-calendar-date-disabled"),a.textContent=r}return a},a.prototype.isDateEnabled=function(t){return this.dateUtil.isDateWithinRange(t,this.calendarCtrl.minDate,this.calendarCtrl.maxDate)&&(!e.isFunction(this.calendarCtrl.dateFilter)||this.calendarCtrl.dateFilter(t))},a.prototype.buildDateRow=function(t){var e=document.createElement("tr");return e.setAttribute("role","row"),e.setAttribute("aria-label",this.dateLocale.weekNumberFormatter(t)),e},a.prototype.buildCalendarForMonth=function(t){var e=this.dateUtil.isValidDate(t)?t:new Date,a=this.dateUtil.getFirstDateOfMonth(e),n=this.getLocaleDay_(a),i=this.dateUtil.getNumberOfDaysInMonth(e),r=document.createDocumentFragment(),s=1,l=this.buildDateRow(s);r.appendChild(l);var d=this.offset===this.calendarCtrl.items.length-1,o=0,c=document.createElement("td");if(c.classList.add("md-calendar-month-label"),this.calendarCtrl.maxDate&&a>this.calendarCtrl.maxDate&&c.classList.add("md-calendar-month-label-disabled"),c.textContent=this.dateLocale.monthHeaderFormatter(e),2>=n){c.setAttribute("colspan","7");var h=this.buildDateRow();if(h.appendChild(c),r.insertBefore(h,l),d)return r}else o=2,c.setAttribute("colspan","2"),l.appendChild(c);for(var u=o;n>u;u++)l.appendChild(this.buildDateCell());for(var m=n,p=a,f=1;i>=f;f++){if(7===m){if(d)return r;m=0,s++,l=this.buildDateRow(s),r.appendChild(l)}p.setDate(f);var D=this.buildDateCell(p);l.appendChild(D),m++}for(;l.childNodes.length<7;)l.appendChild(this.buildDateCell());for(;r.childNodes.length<6;){for(var g=this.buildDateRow(),u=0;7>u;u++)g.appendChild(this.buildDateCell());r.appendChild(g)}return r},a.prototype.getLocaleDay_=function(t){return(t.getDay()+(7-this.dateLocale.firstDayOfWeek))%7}}(),function(){e.module("material.components.datepicker").config(["$provide",function(t){function e(){this.months=null,this.shortMonths=null,this.days=null,this.shortDays=null,this.dates=null,this.firstDayOfWeek=0,this.formatDate=null,this.parseDate=null,this.monthHeaderFormatter=null,this.weekNumberFormatter=null,this.longDateFormatter=null,this.msgCalendar="",this.msgOpenCalendar=""}e.prototype.$get=function(t){function e(t){if(!t)return"";var e=t.toLocaleTimeString(),a=t;return 0!=t.getHours()||-1===e.indexOf("11:")&&-1===e.indexOf("23:")||(a=new Date(t.getFullYear(),t.getMonth(),t.getDate(),1,0,0)),a.toLocaleDateString()}function a(t){return new Date(t)}function n(t){t=t.trim();var e=/^(([a-zA-Z]{3,}|[0-9]{1,4})([ \.,]+|[\/\-])){2}([a-zA-Z]{3,}|[0-9]{1,4})$/;return e.test(t)}function i(t){return u.shortMonths[t.getMonth()]+" "+t.getFullYear()}function r(t){return"Week "+t}function s(t){return[u.days[t.getDay()],u.months[t.getMonth()],u.dates[t.getDate()],t.getFullYear()].join(" ")}for(var l=t.DATETIME_FORMATS.DAY.map(function(t){return t[0]}),d=Array(32),o=1;31>=o;o++)d[o]=o;var c="Calendar",h="Open calendar",u={months:this.months||t.DATETIME_FORMATS.MONTH,shortMonths:this.shortMonths||t.DATETIME_FORMATS.SHORTMONTH,days:this.days||t.DATETIME_FORMATS.DAY,shortDays:this.shortDays||l,dates:this.dates||d,firstDayOfWeek:this.firstDayOfWeek||0,formatDate:this.formatDate||e,parseDate:this.parseDate||a,isDateComplete:this.isDateComplete||n,monthHeaderFormatter:this.monthHeaderFormatter||i,weekNumberFormatter:this.weekNumberFormatter||r,longDateFormatter:this.longDateFormatter||s,msgCalendar:this.msgCalendar||c,msgOpenCalendar:this.msgOpenCalendar||h};return u},e.prototype.$get.$inject=["$locale"],t.provider("$mdDateLocale",new e)}])}(),function(){function a(){return{template:'<md-button class="md-datepicker-button md-icon-button" type="button" tabindex="-1" aria-hidden="true" ng-click="ctrl.openCalendarPane($event)"><md-icon class="md-datepicker-calendar-icon" md-svg-icon="md-calendar"></md-icon></md-button><div class="md-datepicker-input-container" ng-class="{\'md-datepicker-focused\': ctrl.isFocused}"><input class="md-datepicker-input" aria-haspopup="true" ng-focus="ctrl.setFocused(true)" ng-blur="ctrl.setFocused(false)"><md-button type="button" md-no-ink class="md-datepicker-triangle-button md-icon-button" ng-click="ctrl.openCalendarPane($event)" aria-label="{{::ctrl.dateLocale.msgOpenCalendar}}"><div class="md-datepicker-expand-triangle"></div></md-button></div><div class="md-datepicker-calendar-pane md-whiteframe-z1"><div class="md-datepicker-input-mask"><div class="md-datepicker-input-mask-opaque"></div></div><div class="md-datepicker-calendar"><md-calendar role="dialog" aria-label="{{::ctrl.dateLocale.msgCalendar}}" md-min-date="ctrl.minDate" md-max-date="ctrl.maxDate"md-date-filter="ctrl.dateFilter"ng-model="ctrl.date" ng-if="ctrl.isCalendarOpen"></md-calendar></div></div>',require:["ngModel","mdDatepicker","?^mdInputContainer"],scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",placeholder:"@mdPlaceholder",dateFilter:"=mdDateFilter"},controller:n,controllerAs:"ctrl",bindToController:!0,link:function(t,e,a,n){var i=n[0],r=n[1],s=n[2];if(s)throw Error("md-datepicker should not be placed inside md-input-container.");r.configureNgModel(i)}}}function n(t,a,n,i,r,s,l,d,o,c,h,u){this.$compile=i,this.$timeout=r,this.$window=s,this.dateLocale=c,this.dateUtil=h,this.$mdConstant=l,this.$mdUtil=o,this.$$rAF=u,this.documentElement=e.element(document.documentElement),this.ngModelCtrl=null,this.inputElement=a[0].querySelector("input"),this.ngInputElement=e.element(this.inputElement),this.inputContainer=a[0].querySelector(".md-datepicker-input-container"),this.calendarPane=a[0].querySelector(".md-datepicker-calendar-pane"),this.calendarButton=a[0].querySelector(".md-datepicker-button"),this.inputMask=a[0].querySelector(".md-datepicker-input-mask-opaque"),this.$element=a,this.$attrs=n,this.$scope=t,this.date=null,this.isFocused=!1,this.isDisabled,this.setDisabled(a[0].disabled||e.isString(n.disabled)),this.isCalendarOpen=!1,this.calendarPaneOpenedFrom=null,this.calendarPane.id="md-date-pane"+o.nextUid(),d(a),this.bodyClickHandler=e.bind(this,this.handleBodyClick),this.windowResizeHandler=o.debounce(e.bind(this,this.closeCalendarPane),100),n.tabindex||a.attr("tabindex","-1"),this.installPropertyInterceptors(),this.attachChangeListeners(),this.attachInteractionListeners();var m=this;t.$on("$destroy",function(){m.detachCalendarPane()})}e.module("material.components.datepicker").directive("mdDatepicker",a);var i=3,r="md-datepicker-invalid",s=500,l=368,d=360;n.$inject=["$scope","$element","$attrs","$compile","$timeout","$window","$mdConstant","$mdTheming","$mdUtil","$mdDateLocale","$$mdDateUtil","$$rAF"],n.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){var t=e.ngModelCtrl.$viewValue;if(t&&!(t instanceof Date))throw Error("The ng-model for md-datepicker must be a Date instance. Currently the model is a: "+typeof t);e.date=t,e.inputElement.value=e.dateLocale.formatDate(t),e.resizeInputElement(),e.updateErrorState()}},n.prototype.attachChangeListeners=function(){var t=this;t.$scope.$on("md-calendar-change",function(e,a){t.ngModelCtrl.$setViewValue(a),t.date=a,t.inputElement.value=t.dateLocale.formatDate(a),t.closeCalendarPane(),t.resizeInputElement(),t.updateErrorState()}),t.ngInputElement.on("input",e.bind(t,t.resizeInputElement)),t.ngInputElement.on("input",t.$mdUtil.debounce(t.handleInputEvent,s,t))},n.prototype.attachInteractionListeners=function(){var t=this,e=this.$scope,a=this.$mdConstant.KEY_CODE;t.ngInputElement.on("keydown",function(n){n.altKey&&n.keyCode==a.DOWN_ARROW&&(t.openCalendarPane(n),e.$digest())}),e.$on("md-calendar-close",function(){t.closeCalendarPane()})},n.prototype.installPropertyInterceptors=function(){var t=this;if(this.$attrs.ngDisabled){var e=this.$mdUtil.validateScope(this.$element)?this.$element.scope():null;e&&e.$watch(this.$attrs.ngDisabled,function(e){t.setDisabled(e)})}Object.defineProperty(this,"placeholder",{get:function(){return t.inputElement.placeholder},set:function(e){t.inputElement.placeholder=e||""}})},n.prototype.setDisabled=function(t){this.isDisabled=t,this.inputElement.disabled=t,this.calendarButton.disabled=t},n.prototype.updateErrorState=function(t){var a=t||this.date;this.clearErrorState(),this.dateUtil.isValidDate(a)?(this.dateUtil.isValidDate(this.minDate)&&this.ngModelCtrl.$setValidity("mindate",a>=this.minDate),this.dateUtil.isValidDate(this.maxDate)&&this.ngModelCtrl.$setValidity("maxdate",a<=this.maxDate),e.isFunction(this.dateFilter)&&this.ngModelCtrl.$setValidity("filtered",this.dateFilter(a))):this.ngModelCtrl.$setValidity("valid",null==a),this.ngModelCtrl.$valid||this.inputContainer.classList.add(r)},n.prototype.clearErrorState=function(){this.inputContainer.classList.remove(r),["mindate","maxdate","filtered","valid"].forEach(function(t){this.ngModelCtrl.$setValidity(t,!0)},this)},n.prototype.resizeInputElement=function(){this.inputElement.size=this.inputElement.value.length+i},n.prototype.handleInputEvent=function(){var t=this.inputElement.value,e=t?this.dateLocale.parseDate(t):null;this.dateUtil.setDateTimeToMidnight(e);var a=""==t||this.dateUtil.isValidDate(e)&&this.dateLocale.isDateComplete(t)&&this.isDateEnabled(e);a&&(this.ngModelCtrl.$setViewValue(e),this.date=e),this.updateErrorState(e)},n.prototype.isDateEnabled=function(t){return this.dateUtil.isDateWithinRange(t,this.minDate,this.maxDate)&&(!e.isFunction(this.dateFilter)||this.dateFilter(t))},n.prototype.attachCalendarPane=function(){var t=this.calendarPane;t.style.transform="",this.$element.addClass("md-datepicker-open");var e=this.inputContainer.getBoundingClientRect(),a=document.body.getBoundingClientRect(),n=e.top-a.top,i=e.left-a.left,r=a.top<0&&0==document.body.scrollTop?-a.top:document.body.scrollTop,s=a.left<0&&0==document.body.scrollLeft?-a.left:document.body.scrollLeft,o=r+this.$window.innerHeight,c=s+this.$window.innerWidth;if(i+d>c){if(c-d>0)i=c-d;else{i=s;var h=this.$window.innerWidth/d;t.style.transform="scale("+h+")"}t.classList.add("md-datepicker-pos-adjusted")}n+l>o&&o-l>r&&(n=o-l,t.classList.add("md-datepicker-pos-adjusted")),t.style.left=i+"px",t.style.top=n+"px",document.body.appendChild(t),this.inputMask.style.left=e.width+"px",this.$$rAF(function(){t.classList.add("md-pane-open")})},n.prototype.detachCalendarPane=function(){this.$element.removeClass("md-datepicker-open"),this.calendarPane.classList.remove("md-pane-open"),this.calendarPane.classList.remove("md-datepicker-pos-adjusted"),this.calendarPane.parentNode&&this.calendarPane.parentNode.removeChild(this.calendarPane)},n.prototype.openCalendarPane=function(e){if(!this.isCalendarOpen&&!this.isDisabled){this.isCalendarOpen=!0,this.calendarPaneOpenedFrom=e.target,this.$mdUtil.disableScrollAround(this.calendarPane),this.attachCalendarPane(),this.focusCalendar();var a=this;this.$mdUtil.nextTick(function(){a.documentElement.on("click touchstart",a.bodyClickHandler)},!1),t.addEventListener("resize",this.windowResizeHandler)}},n.prototype.closeCalendarPane=function(){this.isCalendarOpen&&(this.isCalendarOpen=!1,this.detachCalendarPane(),this.calendarPaneOpenedFrom.focus(),this.calendarPaneOpenedFrom=null,this.$mdUtil.enableScrolling(),this.documentElement.off("click touchstart",this.bodyClickHandler),t.removeEventListener("resize",this.windowResizeHandler))},n.prototype.getCalendarCtrl=function(){return e.element(this.calendarPane.querySelector("md-calendar")).controller("mdCalendar")},n.prototype.focusCalendar=function(){var t=this;this.$mdUtil.nextTick(function(){t.getCalendarCtrl().focus()},!1)},n.prototype.setFocused=function(t){this.isFocused=t},n.prototype.handleBodyClick=function(t){if(this.isCalendarOpen){var e=this.$mdUtil.getClosest(t.target,"md-calendar");e||this.closeCalendarPane(),this.$scope.$digest()}}}(),function(){e.module("material.components.datepicker").factory("$$mdDateUtil",function(){function t(t){return new Date(t.getFullYear(),t.getMonth(),1)}function a(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function n(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function i(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function r(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}function s(t,e){return t.getDate()==e.getDate()&&r(t,e)}function l(t,e){var a=n(t);return r(a,e)}function d(t,e){var a=i(t);return r(e,a)}function o(t,e){return g((t.getTime()+e.getTime())/2)}function c(e){var a=t(e);return Math.floor((a.getDay()+e.getDate()-1)/7)}function h(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+e)}function u(t,e){var n=new Date(t.getFullYear(),t.getMonth()+e,1),i=a(n);return i<t.getDate()?n.setDate(i):n.setDate(t.getDate()),n}function m(t,e){return 12*(e.getFullYear()-t.getFullYear())+(e.getMonth()-t.getMonth())}function p(t){return new Date(t.getFullYear(),t.getMonth(),a(t))}function f(t){return null!=t&&t.getTime&&!isNaN(t.getTime())}function D(t){f(t)&&t.setHours(0,0,0,0)}function g(t){var a;return a=e.isUndefined(t)?new Date:new Date(t),D(a),a}function y(t,a,n){return(!e.isDate(a)||t>=a)&&(!e.isDate(n)||n>=t)}return{getFirstDateOfMonth:t,getNumberOfDaysInMonth:a,getDateInNextMonth:n,getDateInPreviousMonth:i,isInNextMonth:l,isInPreviousMonth:d,getDateMidpoint:o,isSameMonthAndYear:r,getWeekOfMonth:c,incrementDays:h,incrementMonths:u,getLastDateOfMonth:p,isSameDay:s,getMonthDistance:m,isValidDate:f,setDateTimeToMidnight:D,createDateAtMidnight:g,isDateWithinRange:y}})}()}(window,window.angular);
{
"name": "angular-material-dialog",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-backdrop": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-backdrop": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function o(e,n,o){return{restrict:"E",link:function(i,a,r){n(a),e(function(){function e(){a.toggleClass("md-content-overflow",r.scrollHeight>r.clientHeight)}var n,r=a[0].querySelector("md-dialog-content");r&&(n=r.getElementsByTagName("img"),e(),t.element(n).on("load",e)),i.$on("$destroy",function(){o.destroy(a)})})}}}function i(e){function o(e,t){return{template:['<md-dialog md-theme="{{ dialog.theme }}" aria-label="{{ dialog.ariaLabel }}" ng-class="dialog.css">',' <md-dialog-content class="md-dialog-content" role="document" tabIndex="-1">',' <h2 class="md-title">{{ dialog.title }}</h2>',' <div ng-if="::dialog.mdHtmlContent" class="md-dialog-content-body" ',' ng-bind-html="::dialog.mdHtmlContent"></div>',' <div ng-if="::!dialog.mdHtmlContent" class="md-dialog-content-body">'," <p>{{::dialog.mdTextContent}}</p>"," </div>"," </md-dialog-content>"," <md-dialog-actions>",' <md-button ng-if="dialog.$type == \'confirm\'" ng-click="dialog.abort()" class="md-primary">'," {{ dialog.cancel }}"," </md-button>",' <md-button ng-click="dialog.hide()" class="md-primary" md-autofocus="dialog.$type!=\'confirm\'">'," {{ dialog.ok }}"," </md-button>"," </md-dialog-actions>","</md-dialog>"].join("").replace(/\s\s+/g,""),controller:function(){this.hide=function(){e.hide(!0)},this.abort=function(){e.cancel()}},controllerAs:"dialog",bindToController:!0,theme:t.defaultTheme()}}function i(e,o,i,d,l,c,s,u,m,f){function g(e,t,n,o){if(o){if(o.mdHtmlContent=o.htmlContent||n.htmlContent||"",o.mdTextContent=o.textContent||n.textContent||o.content||n.content||"",o.mdHtmlContent&&!f.has("$sanitize"))throw Error("The ngSanitize module must be loaded in order to use htmlContent.");if(o.mdHtmlContent&&o.mdTextContent)throw Error("md-dialog cannot have both `htmlContent` and `textContent`")}}function p(e,n,o,a){function r(){var e=n[0].querySelectorAll(".md-actions");e.length>0&&m.warn("Using a class of md-actions is deprected, please use <md-dialog-actions>.")}function d(){function e(){var e=n[0].querySelector(".dialog-close");if(!e){var o=n[0].querySelectorAll(".md-actions button, md-dialog-actions button");e=o[o.length-1]}return t.element(e)}if(o.focusOnOpen){var a=i.findFocusTarget(n)||e();a.focus()}}return t.element(c[0].body).addClass("md-dialog-is-showing"),v(o),k(n.find("md-dialog"),o),C(e,n,o),T(n,o).then(function(){b(n,o),$(n,o),r(),d()})}function h(e,n,o){function i(){return S(n,o)}function d(){t.element(c[0].body).removeClass("md-dialog-is-showing"),n.remove(),o.$destroy||o.origin.focus()}return o.deactivateListeners(),o.unlockScreenReader(),o.hideBackdrop(o.$destroy),a&&a.parentNode&&a.parentNode.removeChild(a),r&&r.parentNode&&r.parentNode.removeChild(r),o.$destroy?d():i().then(d)}function v(e){function o(e,o){var i=t.element(e||{});if(i&&i.length){var a={top:0,left:0,height:0,width:0},r=t.isFunction(i[0].getBoundingClientRect);return t.extend(o||{},{element:r?i:n,bounds:r?i[0].getBoundingClientRect():t.extend({},a,i[0]),focus:t.bind(i,i.focus)})}}function i(e,n){if(t.isString(e)){var o=e,i=c[0].querySelectorAll(o);e=i.length?i[0]:null}return t.element(e||n)}e.origin=t.extend({element:null,bounds:null,focus:t.noop},e.origin||{}),e.parent=i(e.parent,u),e.closeTo=o(i(e.closeTo)),e.openFrom=o(i(e.openFrom)),e.targetEvent&&(e.origin=o(e.targetEvent.target,e.origin))}function b(n,o){var a=t.element(s),r=i.debounce(function(){y(n,o)},60),l=[],c=function(){var t="alert"==o.$type?e.hide:e.cancel;i.nextTick(t,!0)};if(o.escapeToClose){var u=o.parent,m=function(e){e.keyCode===d.KEY_CODE.ESCAPE&&(e.stopPropagation(),e.preventDefault(),c())};n.on("keydown",m),u.on("keydown",m),a.on("resize",r),l.push(function(){n.off("keydown",m),u.off("keydown",m),a.off("resize",r)})}if(o.clickOutsideToClose){var f,u=n,g=function(e){f=e.target},p=function(e){f===u[0]&&e.target===u[0]&&(e.stopPropagation(),e.preventDefault(),c())};u.on("mousedown",g),u.on("mouseup",p),l.push(function(){u.off("mousedown",g),u.off("mouseup",p)})}o.deactivateListeners=function(){l.forEach(function(e){e()}),o.deactivateListeners=null}}function C(e,t,n){n.disableParentScroll&&(n.restoreScroll=i.disableScrollAround(t,n.parent)),n.hasBackdrop&&(n.backdrop=i.createBackdrop(e,"md-dialog-backdrop md-opaque"),l.enter(n.backdrop,n.parent)),n.hideBackdrop=function(e){n.backdrop&&(e?n.backdrop.remove():l.leave(n.backdrop)),n.disableParentScroll&&(n.restoreScroll(),delete n.restoreScroll),n.hideBackdrop=null}}function k(e,n){var d="alert"===n.$type?"alertdialog":"dialog",l=e.find("md-dialog-content"),c=e.attr("id")||"dialog_"+i.nextUid();e.attr({role:d,tabIndex:"-1"}),0===l.length&&(l=e),l.attr("id",c),e.attr("aria-describedby",c),n.ariaLabel?o.expect(e,"aria-label",n.ariaLabel):o.expectAsync(e,"aria-label",function(){var e=l.text().split(/\s+/);return e.length>3&&(e=e.slice(0,3).concat("...")),e.join(" ")}),a=document.createElement("div"),a.classList.add("md-dialog-focus-trap"),a.tabIndex=0,r=a.cloneNode(!1);var s=t.bind(e,e.focus);a.addEventListener("focus",s),r.addEventListener("focus",s),e[0].parentNode.insertBefore(a,e[0]),e.append(r)}function $(e,t){function n(e){for(;e.parentNode;){if(e===document.body)return;for(var t=e.parentNode.children,i=0;i<t.length;i++)e===t[i]||x(t[i],["SCRIPT","STYLE"])||t[i].setAttribute("aria-hidden",o);n(e=e.parentNode)}}var o=!0;n(e[0]),t.unlockScreenReader=function(){o=!1,n(e[0]),t.unlockScreenReader=null}}function y(e,t){var n="fixed"==s.getComputedStyle(c[0].body).position,o=t.backdrop?s.getComputedStyle(t.backdrop[0]):null,a=o?Math.min(c[0].body.clientHeight,Math.ceil(Math.abs(parseInt(o.height,10)))):0;return e.css({top:(n?i.scrollTop(t.parent):0)+"px",height:a?a+"px":"100%"}),e}function T(e,t){t.parent.append(e),y(e,t);var n=e.find("md-dialog"),o=i.dom.animator,a=o.calculateZoomToOrigin,r={transitionInClass:"md-transition-in",transitionOutClass:"md-transition-out"},d=o.toTransformCss(a(n,t.openFrom||t.origin)),l=o.toTransformCss("");return t.fullscreen&&n.addClass("md-dialog-fullscreen"),o.translate3d(n,d,l,r).then(function(e){return t.reverseAnimate=function(){return delete t.reverseAnimate,t.closeTo?(r={transitionInClass:"md-transition-out",transitionOutClass:"md-transition-in"},d=l,l=o.toTransformCss(a(n,t.closeTo)),o.translate3d(n,d,l,r)):e(o.toTransformCss(a(n,t.origin)))},!0})}function S(e,t){return t.reverseAnimate()}function x(e,t){return-1!==t.indexOf(e.nodeName)?!0:void 0}return{hasBackdrop:!0,isolateScope:!0,onShow:p,onShowing:g,onRemove:h,clickOutsideToClose:!1,escapeToClose:!0,targetEvent:null,closeTo:null,openFrom:null,focusOnOpen:!0,disableParentScroll:!0,autoWrap:!0,fullscreen:!1,transformTemplate:function(e,t){function n(e){return t.autoWrap&&!/<\/md-dialog>/g.test(e)?"<md-dialog>"+(e||"")+"</md-dialog>":e||""}return'<div class="md-dialog-container">'+n(e)+"</div>"}}}var a,r;return o.$inject=["$mdDialog","$mdTheming"],i.$inject=["$mdDialog","$mdAria","$mdUtil","$mdConstant","$animate","$document","$window","$rootElement","$log","$injector"],e("$mdDialog").setDefaults({methods:["disableParentScroll","hasBackdrop","clickOutsideToClose","escapeToClose","targetEvent","closeTo","openFrom","parent","fullscreen"],options:i}).addPreset("alert",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","theme","css"],options:o}).addPreset("confirm",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","cancel","theme","css"],options:o})}t.module("material.components.dialog",["material.core","material.components.backdrop"]).directive("mdDialog",o).provider("$mdDialog",i),o.$inject=["$$rAF","$mdTheming","$mdDialog"],i.$inject=["$$interimElementProvider"]}(window,window.angular);
{
"name": "angular-material-divider",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(i,e,n){"use strict";function r(i){return{restrict:"E",link:i}}e.module("material.components.divider",["material.core"]).directive("mdDivider",r),r.$inject=["$mdTheming"]}(window,window.angular);
{
"name": "angular-material-fabActions",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(a,i,t){"use strict";!function(){function a(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(a,t){var n=a.children(),e=!1;i.forEach(["","data-","x-"],function(a){e=e||(n.attr(a+"ng-repeat")?!0:!1)}),e?n.addClass("md-fab-action-item"):n.wrap('<div class="md-fab-action-item">')}}}i.module("material.components.fabActions",["material.core"]).directive("mdFabActions",a)}()}(window,window.angular);
{
"name": "angular-material-fabSpeedDial",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(n,e,t){"use strict";!function(){function n(n,t,i,o,a,r){function c(){k.direction=k.direction||"down",k.isOpen=k.isOpen||!1,d(),t.addClass("md-animations-waiting")}function s(){var i=["click","focusin","focusout"];e.forEach(i,function(n){t.on(n,l)}),n.$on("$destroy",function(){e.forEach(i,function(n){t.off(n,l)}),p()})}function l(n){"click"==n.type&&$(n),"focusout"!=n.type||R||(R=r(function(){k.close()},100,!1)),"focusin"==n.type&&R&&(r.cancel(R),R=null)}function d(){k.currentActionIndex=-1}function u(){n.$watch("vm.direction",function(n,e){i.removeClass(t,"md-"+e),i.addClass(t,"md-"+n),d()});var e,o;n.$watch("vm.isOpen",function(n){d(),e&&o||(e=D(),o=I()),n?m():p();var a=n?"md-is-open":"",r=n?"":"md-is-open";e.attr("aria-haspopup",!0),e.attr("aria-expanded",n),o.attr("aria-hidden",!n),i.setClass(t,a,r)})}function f(){t[0].scrollHeight>0?i.addClass(t,"md-animations-ready").then(function(){t.removeClass("md-animations-waiting")}):10>F&&(r(f,100),F+=1)}function m(){t.on("keydown",h),o.nextTick(function(){e.element(document).on("click touchend",g)})}function p(){t.off("keydown",h),e.element(document).off("click touchend",g)}function g(n){if(n.target){var e=o.getClosest(n.target,"md-fab-trigger"),t=o.getClosest(n.target,"md-fab-actions");e||t||k.close()}}function h(n){switch(n.which){case a.KEY_CODE.ESCAPE:return k.close(),n.preventDefault(),!1;case a.KEY_CODE.LEFT_ARROW:return A(n),!1;case a.KEY_CODE.UP_ARROW:return O(n),!1;case a.KEY_CODE.RIGHT_ARROW:return w(n),!1;case a.KEY_CODE.DOWN_ARROW:return E(n),!1}}function v(n){C(n,-1)}function b(n){C(n,1)}function C(n,t){var i=y();k.currentActionIndex=k.currentActionIndex+t,k.currentActionIndex=Math.min(i.length-1,k.currentActionIndex),k.currentActionIndex=Math.max(0,k.currentActionIndex);var o=e.element(i[k.currentActionIndex]).children()[0];e.element(o).attr("tabindex",0),o.focus(),n.preventDefault(),n.stopImmediatePropagation()}function y(){var n=I()[0].querySelectorAll(".md-fab-action-item");return e.forEach(n,function(n){e.element(e.element(n).children()[0]).attr("tabindex",-1)}),n}function A(n){"left"===k.direction?b(n):v(n)}function O(n){"down"===k.direction?v(n):b(n)}function w(n){"left"===k.direction?v(n):b(n)}function E(n){"up"===k.direction?v(n):b(n)}function x(n){return o.getClosest(n,"md-fab-trigger")}function S(n){return o.getClosest(n,"md-fab-actions")}function $(n){x(n.target)&&k.toggle(),S(n.target)&&k.close()}function D(){return t.find("md-fab-trigger")}function I(){return t.find("md-fab-actions")}var k=this;k.open=function(){n.$evalAsync("vm.isOpen = true")},k.close=function(){n.$evalAsync("vm.isOpen = false"),t.find("md-fab-trigger")[0].focus()},k.toggle=function(){n.$evalAsync("vm.isOpen = !vm.isOpen")},c(),s(),u();var F=0;f();var R}e.module("material.components.fabShared",["material.core"]).controller("FabController",n),n.$inject=["$scope","$element","$animate","$mdUtil","$mdConstant","$timeout"]}(),function(){function t(){function n(n,e){e.prepend('<div class="md-css-variables"></div>')}return{restrict:"E",scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"FabController",controllerAs:"vm",link:n}}function i(t){function i(n){t(n,a,!1)}function o(t){if(!t.hasClass("md-animations-waiting")||t.hasClass("md-animations-ready")){var i=t[0],o=t.controller("mdFabSpeedDial"),a=i.querySelectorAll(".md-fab-action-item"),r=i.querySelector("md-fab-trigger"),c=i.querySelector(".md-css-variables"),s=parseInt(n.getComputedStyle(c).zIndex);e.forEach(a,function(n,e){var t=n.style;t.transform=t.webkitTransform="",t.transitionDelay="",t.opacity=1,t.zIndex=a.length-e+s}),r.style.zIndex=s+a.length+1,o.isOpen||e.forEach(a,function(n,e){var t,i,a=n.style,c=(r.clientHeight-n.clientHeight)/2,s=(r.clientWidth-n.clientWidth)/2;switch(o.direction){case"up":t=n.scrollHeight*(e+1)+c,i="Y";break;case"down":t=-(n.scrollHeight*(e+1)+c),i="Y";break;case"left":t=n.scrollWidth*(e+1)+s,i="X";break;case"right":t=-(n.scrollWidth*(e+1)+s),i="X"}var l="translate"+i+"("+t+"px)";a.transform=a.webkitTransform=l})}}return{addClass:function(n,e,t){n.hasClass("md-fling")?(o(n),i(t)):t()},removeClass:function(n,e,t){o(n),i(t)}}}function o(t){function i(n){t(n,a,!1)}function o(t){var i=t[0],o=t.controller("mdFabSpeedDial"),a=i.querySelectorAll(".md-fab-action-item"),c=i.querySelector(".md-css-variables"),s=parseInt(n.getComputedStyle(c).zIndex);e.forEach(a,function(n,e){var t=n.style,i=e*r;t.opacity=o.isOpen?1:0,t.transform=t.webkitTransform=o.isOpen?"scale(1)":"scale(0.1)",t.transitionDelay=(o.isOpen?i:a.length-i)+"ms",t.zIndex=a.length-e+s})}var r=65;return{addClass:function(n,e,t){o(n),i(t)},removeClass:function(n,e,t){o(n),i(t)}}}var a=300;e.module("material.components.fabSpeedDial",["material.core","material.components.fabShared","material.components.fabTrigger","material.components.fabActions"]).directive("mdFabSpeedDial",t).animation(".md-fling",i).animation(".md-scale",o).service("mdFabSpeedDialFlingAnimation",i).service("mdFabSpeedDialScaleAnimation",o),i.$inject=["$timeout"],o.$inject=["$timeout"]}()}(window,window.angular);
{
"name": "angular-material-fabToolbar",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-fabShared": "1.0.0-rc7-master-c33819e",
"angular-material-fabTrigger": "1.0.0-rc7-master-c33819e",
"angular-material-fabActions": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-fabShared": "1.0.0-master-19c11fd",
"angular-material-fabTrigger": "1.0.0-master-19c11fd",
"angular-material-fabActions": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,o){"use strict";!function(){function o(){function t(t,e,o){e.addClass("md-fab-toolbar"),e.find("md-fab-trigger").find("button").prepend('<div class="md-fab-toolbar-background"></div>')}return{restrict:"E",transclude:!0,template:'<div class="md-fab-toolbar-wrapper"> <div class="md-fab-toolbar-content" ng-transclude></div></div>',scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"FabController",controllerAs:"vm",link:t}}function n(){function o(o,n,r){if(n){var a=o[0],l=o.controller("mdFabToolbar"),i=a.querySelector(".md-fab-toolbar-background"),s=a.querySelector("md-fab-trigger button"),d=a.querySelector("md-toolbar"),c=a.querySelector("md-fab-trigger button md-icon"),f=o.find("md-fab-actions").children();if(s&&i){var m=t.getComputedStyle(s).getPropertyValue("background-color"),b=a.offsetWidth,u=(a.offsetHeight,2*(b/s.offsetWidth));i.style.backgroundColor=m,i.style.borderRadius=b+"px",l.isOpen?(d.style.pointerEvents="initial",i.style.width=s.offsetWidth+"px",i.style.height=s.offsetHeight+"px",i.style.transform="scale("+u+")",i.style.transitionDelay="0ms",c&&(c.style.transitionDelay=".3s"),e.forEach(f,function(t,e){t.style.transitionDelay=25*(f.length-e)+"ms"})):(d.style.pointerEvents="none",i.style.transform="scale(1)",i.style.top="0",o.hasClass("md-right")&&(i.style.left="0",i.style.right=null),o.hasClass("md-left")&&(i.style.right="0",i.style.left=null),i.style.transitionDelay="200ms",c&&(c.style.transitionDelay="0ms"),e.forEach(f,function(t,e){t.style.transitionDelay=200+25*e+"ms"}))}}}return{addClass:function(t,e,n){o(t,e,n),n()},removeClass:function(t,e,n){o(t,e,n),n()}}}e.module("material.components.fabToolbar",["material.core","material.components.fabShared","material.components.fabTrigger","material.components.fabActions"]).directive("mdFabToolbar",o).animation(".md-fab-toolbar",n).service("mdFabToolbarAnimation",n)}()}(window,window.angular);
{
"name": "angular-material-fabTrigger",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(r,e,i){"use strict";!function(){function r(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"]}}e.module("material.components.fabTrigger",["material.core"]).directive("mdFabTrigger",r)}()}(window,window.angular);
{
"name": "angular-material-gridList",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,n){"use strict";function i(t,n,i,o){function a(r,a,u,s){function l(){for(var t in n.MEDIA)o(t),o.getQuery(n.MEDIA[t]).addListener(T);return o.watchResponsiveAttributes(["md-cols","md-row-height","md-gutter"],u,d)}function c(){s.layoutDelegate=e.noop,L();for(var t in n.MEDIA)o.getQuery(n.MEDIA[t]).removeListener(T)}function d(t){null==t?s.invalidateLayout():o(t)&&s.invalidateLayout()}function f(t){var n=h(),o={tileSpans:v(n),colCount:y(),rowMode:I(),rowHeight:$(),gutter:w()};if(t||!e.equals(o,D)){var u=i(o.colCount,o.tileSpans,n).map(function(t,i){return{grid:{element:a,style:p(o.colCount,i,o.gutter,o.rowMode,o.rowHeight)},tiles:t.map(function(t,r){return{element:e.element(n[r]),style:g(t.position,t.spans,o.colCount,i,o.gutter,o.rowMode,o.rowHeight)}})}}).reflow().performance();r.mdOnLayout({$event:{performance:u}}),D=o}}function m(t){return x+t+M}function g(t,e,n,i,r,o,a){var u=1/n*100,s=(n-1)/n,l=A({share:u,gutterShare:s,gutter:r}),c={left:G({unit:l,offset:t.col,gutter:r}),width:R({unit:l,span:e.col,gutter:r}),paddingTop:"",marginTop:"",top:"",height:""};switch(o){case"fixed":c.top=G({unit:a,offset:t.row,gutter:r}),c.height=R({unit:a,span:e.row,gutter:r});break;case"ratio":var d=u/a,f=A({share:d,gutterShare:s,gutter:r});c.paddingTop=R({unit:f,span:e.row,gutter:r}),c.marginTop=G({unit:f,offset:t.row,gutter:r});break;case"fit":var m=(i-1)/i,d=1/i*100,f=A({share:d,gutterShare:m,gutter:r});c.top=G({unit:f,offset:t.row,gutter:r}),c.height=R({unit:f,span:e.row,gutter:r})}return c}function p(t,e,n,i,r){var o={};switch(i){case"fixed":o.height=R({unit:r,span:e,gutter:n}),o.paddingBottom="";break;case"ratio":var a=1===t?0:(t-1)/t,u=1/t*100,s=u*(1/r),l=A({share:s,gutterShare:a,gutter:n});o.height="",o.paddingBottom=R({unit:l,span:e,gutter:n});break;case"fit":}return o}function h(){return[].filter.call(a.children(),function(t){return"MD-GRID-TILE"==t.tagName&&!t.$$mdDestroyed})}function v(t){return[].map.call(t,function(t){var n=e.element(t).controller("mdGridTile");return{row:parseInt(o.getResponsiveAttribute(n.$attrs,"md-rowspan"),10)||1,col:parseInt(o.getResponsiveAttribute(n.$attrs,"md-colspan"),10)||1}})}function y(){var t=parseInt(o.getResponsiveAttribute(u,"md-cols"),10);if(isNaN(t))throw"md-grid-list: md-cols attribute was not found, or contained a non-numeric value";return t}function w(){return b(o.getResponsiveAttribute(u,"md-gutter")||1)}function $(){var t=o.getResponsiveAttribute(u,"md-row-height");switch(I()){case"fixed":return b(t);case"ratio":var e=t.split(":");return parseFloat(e[0])/parseFloat(e[1]);case"fit":return 0}}function I(){var t=o.getResponsiveAttribute(u,"md-row-height");return"fit"==t?"fit":-1!==t.indexOf(":")?"ratio":"fixed"}function b(t){return/\D$/.test(t)?t:t+"px"}a.attr("role","list"),s.layoutDelegate=f;var T=e.bind(s,s.invalidateLayout),L=l();r.$on("$destroy",c);var D,x=t.startSymbol(),M=t.endSymbol(),A=t(m("share")+"% - ("+m("gutter")+" * "+m("gutterShare")+")"),G=t("calc(("+m("unit")+" + "+m("gutter")+") * "+m("offset")+")"),R=t("calc(("+m("unit")+") * "+m("span")+" + ("+m("span")+" - 1) * "+m("gutter")+")")}return{restrict:"E",controller:r,scope:{mdOnLayout:"&"},link:a}}function r(t){this.layoutInvalidated=!1,this.tilesInvalidated=!1,this.$timeout_=t.nextTick,this.layoutDelegate=e.noop}function o(t){function n(e,n){var i,a,u,s,l,c;return s=t.time(function(){a=r(e,n)}),i={layoutInfo:function(){return a},map:function(e){return l=t.time(function(){var t=i.layoutInfo();u=e(t.positioning,t.rowCount)}),i},reflow:function(e){return c=t.time(function(){var t=e||o;t(u.grid,u.tiles)}),i},performance:function(){return{tileCount:n.length,layoutTime:s,mapTime:l,reflowTime:c,totalTime:s+l+c}}}}function i(t,e){t.element.css(t.style),e.forEach(function(t){t.element.css(t.style)})}function r(t,e){function n(e,n){if(e.col>t)throw"md-grid-list: Tile at position "+n+" has a colspan ("+e.col+") that exceeds the column count ("+t+")";for(var a=0,c=0;c-a<e.col;)u>=t?i():(a=l.indexOf(0,u),-1!==a&&-1!==(c=o(a+1))?u=c+1:(a=c=0,i()));return r(a,e.col,e.row),u=a+e.col,{col:a,row:s}}function i(){u=0,s++,r(0,t,-1)}function r(t,e,n){for(var i=t;t+e>i;i++)l[i]=Math.max(l[i]+n,0)}function o(t){var e;for(e=t;e<l.length;e++)if(0!==l[e])return e;return e===l.length?e:void 0}function a(){for(var e=[],n=0;t>n;n++)e.push(0);return e}var u=0,s=0,l=a();return{positioning:e.map(function(t,e){return{spans:t,position:n(t,e)}}),rowCount:s+Math.max.apply(Math,l)}}var o=i;return n.animateWith=function(t){o=e.isFunction(t)?t:i},n}function a(t){function n(n,i,r,o){i.attr("role","listitem");var a=t.watchResponsiveAttributes(["md-colspan","md-rowspan"],r,e.bind(o,o.invalidateLayout));o.invalidateTiles(),n.$on("$destroy",function(){i[0].$$mdDestroyed=!0,a(),o.invalidateLayout()}),e.isDefined(n.$parent.$index)&&n.$watch(function(){return n.$parent.$index},function(t,e){t!==e&&o.invalidateTiles()})}return{restrict:"E",require:"^mdGridList",template:"<figure ng-transclude></figure>",transclude:!0,scope:{},controller:["$attrs",function(t){this.$attrs=t}],link:n}}function u(){return{template:"<figcaption ng-transclude></figcaption>",transclude:!0}}e.module("material.components.gridList",["material.core"]).directive("mdGridList",i).directive("mdGridTile",a).directive("mdGridTileFooter",u).directive("mdGridTileHeader",u).factory("$mdGridLayout",o),i.$inject=["$interpolate","$mdConstant","$mdGridLayout","$mdMedia"],r.$inject=["$mdUtil"],r.prototype={invalidateTiles:function(){this.tilesInvalidated=!0,this.invalidateLayout()},invalidateLayout:function(){this.layoutInvalidated||(this.layoutInvalidated=!0,this.$timeout_(e.bind(this,this.layout)))},layout:function(){try{this.layoutDelegate(this.tilesInvalidated)}finally{this.layoutInvalidated=!1,this.tilesInvalidated=!1}}},o.$inject=["$mdUtil"],a.$inject=["$mdMedia"]}(window,window.angular);
{
"name": "angular-material-icon",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,n){"use strict";function i(t,e,n){function i(i,o,r){function a(){var t=o.parent();return t.attr("aria-label")||t.text()?!0:t.parent().attr("aria-label")||t.parent().text()?!0:!1}function c(){i.svgIcon||i.svgSrc||(i.fontIcon&&o.addClass("md-font "+i.fontIcon),o.addClass(t.fontSet(i.fontSet)))}e(o),c();var s=r.alt||i.fontIcon||i.svgIcon||o.text(),u=r.$normalize(r.$attr.mdSvgIcon||r.$attr.mdSvgSrc||"");r["aria-label"]||(""==s||a()?o.text()||n.expect(o,"aria-hidden","true"):(n.expect(o,"aria-label",s),n.expect(o,"role","img"))),u&&r.$observe(u,function(e){o.empty(),e&&t(e).then(function(t){o.append(t)})})}return{scope:{fontSet:"@mdFontSet",fontIcon:"@mdFontIcon",svgIcon:"@mdSvgIcon",svgSrc:"@mdSvgSrc"},restrict:"E",link:i}}function o(){}function r(t,e){this.url=t,this.viewBoxSize=e||c.defaultViewBoxSize}function a(t,n,i,o,r){function a(e){if(e=e||"",p[e])return i.when(p[e].clone());if(x.test(e))return f(e).then(s(e));-1==e.indexOf(":")&&(e="$default:"+e);var n=t[e]?u:l;return n(e).then(s(e))}function c(n){var i=e.isUndefined(n)||!(n&&n.length);if(i)return t.defaultFontSet;var o=n;return e.forEach(t.fontSets,function(t){t.alias==n&&(o=t.fontSet||o)}),o}function s(e){return function(n){return p[e]=v(n)?n:new g(n,t[e]),p[e].clone()}}function u(e){var n=t[e];return f(n.url).then(function(t){return new g(t,n)})}function l(e){function n(t){var n=e.slice(e.lastIndexOf(":")+1),i=t.querySelector("#"+n);return i?new g(i,c):r(e)}function r(t){var e="icon "+t+" not found";return o.warn(e),i.reject(e||t)}var a=e.substring(0,e.lastIndexOf(":"))||"$default",c=t[a];return c?f(c.url).then(n):r(e)}function f(t){return n.get(t,{cache:r}).then(function(t){return e.element("<div>").append(t.data).find("svg")[0]})["catch"](d)}function d(t){var n=e.isString(t)?t:t.message||t.data||t.statusText;return o.warn(n),i.reject(n)}function v(t){return e.isDefined(t.element)&&e.isDefined(t.config)}function g(t,n){t&&"svg"!=t.tagName&&(t=e.element('<svg xmlns="http://www.w3.org/2000/svg">').append(t)[0]),t.getAttribute("xmlns")||t.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=t,this.config=n,this.prepare()}function h(){var n=this.config?this.config.viewBoxSize:t.defaultViewBoxSize;e.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+n+" "+n},function(t,e){this.element.setAttribute(e,t)},this),e.forEach({"pointer-events":"none",display:"block"},function(t,e){this.element.style[e]=t},this)}function m(){return this.element.cloneNode(!0)}var p={},x=/[-a-zA-Z0-9@:%_\+.~#?&\/\/=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)?/i;return g.prototype={clone:m,prepare:h},a.fontSet=c,a}e.module("material.components.icon",["material.core"]),e.module("material.components.icon").directive("mdIcon",["$mdIcon","$mdTheming","$mdAria",i]),e.module("material.components.icon").provider("$mdIcon",o);var c={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};o.prototype={icon:function(t,e,n){return-1==t.indexOf(":")&&(t="$default:"+t),c[t]=new r(e,n),this},iconSet:function(t,e,n){return c[t]=new r(e,n),this},defaultIconSet:function(t,e){var n="$default";return c[n]||(c[n]=new r(t,e)),c[n].viewBoxSize=e||c.defaultViewBoxSize,this},defaultViewBoxSize:function(t){return c.defaultViewBoxSize=t,this},fontSet:function(t,e){return c.fontSets.push({alias:t,fontSet:e||t}),this},defaultFontSet:function(t){return c.defaultFontSet=t?t:"",this},defaultIconSize:function(t){return c.defaultIconSize=t,this},preloadIcons:function(t){var e=this,n=[{id:"md-tabs-arrow",url:"md-tabs-arrow.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><polygon points="15.4,7.4 14,6 8,12 14,18 15.4,16.6 10.8,12 "/></g></svg>'},{id:"md-close",url:"md-close.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><path d="M19 6.41l-1.41-1.41-5.59 5.59-5.59-5.59-1.41 1.41 5.59 5.59-5.59 5.59 1.41 1.41 5.59-5.59 5.59 5.59 1.41-1.41-5.59-5.59z"/></g></svg>'},{id:"md-cancel",url:"md-cancel.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><path d="M12 2c-5.53 0-10 4.47-10 10s4.47 10 10 10 10-4.47 10-10-4.47-10-10-10zm5 13.59l-1.41 1.41-3.59-3.59-3.59 3.59-1.41-1.41 3.59-3.59-3.59-3.59 1.41-1.41 3.59 3.59 3.59-3.59 1.41 1.41-3.59 3.59 3.59 3.59z"/></g></svg>'},{id:"md-menu",url:"md-menu.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><path d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" /></svg>'},{id:"md-toggle-arrow",url:"md-toggle-arrow-svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 48 48"><path d="M24 16l-12 12 2.83 2.83 9.17-9.17 9.17 9.17 2.83-2.83z"/><path d="M0 0h48v48h-48z" fill="none"/></svg>'},{id:"md-calendar",url:"md-calendar.svg",svg:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>'}];n.forEach(function(n){e.icon(n.id,n.url),t.put(n.url,n.svg)})},$get:["$http","$q","$log","$templateCache",function(t,e,n,i){return this.preloadIcons(i),a(c,t,e,n,i)}]},a.$inject=["config","$http","$q","$log","$templateCache"]}(window,window.angular);
{
"name": "angular-material-input",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function i(e,t){function n(t,n,i){e(n),n.find("md-icon").length&&n.addClass("md-has-icon")}function i(e,n,i,r){var a=this;a.isErrorGetter=i.mdIsError&&t(i.mdIsError),a.delegateClick=function(){a.input.focus()},a.element=n,a.setFocused=function(e){n.toggleClass("md-input-focused",!!e)},a.setHasValue=function(e){n.toggleClass("md-input-has-value",!!e)},a.setHasPlaceholder=function(e){n.toggleClass("md-input-has-placeholder",!!e)},a.setInvalid=function(e){e?r.addClass(n,"md-input-invalid"):r.removeClass(n,"md-input-invalid")},e.$watch(function(){return a.label&&a.input},function(e){e&&!a.label.attr("for")&&a.label.attr("for",a.input.attr("id"))})}return i.$inject=["$scope","$element","$attrs","$animate"],{restrict:"E",link:n,controller:i}}function r(){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}))}}}function a(e,n,i){function r(r,a,o,s){function l(e){return d.setHasValue(!m.$isEmpty(e)),e}function u(){d.setHasValue(a.val().length>0||(a[0].validity||{}).badInput)}function c(){function i(e){return p(),e}function o(){if(c.style.height=c.offsetHeight+"px",a.addClass("md-no-flex"),isNaN(f)){u.style.height="auto",u.scrollTop=0;var e=s();e&&(u.style.height=e+"px")}else{u.setAttribute("rows",1),g||(u.style.minHeight="0",g=a.prop("clientHeight"),u.style.minHeight=null);var t=Math.min(f,Math.round(u.scrollHeight/g));u.setAttribute("rows",t),u.style.height=g*t+"px"}a.removeClass("md-no-flex"),c.style.height="auto"}function s(){var e=u.scrollHeight-u.offsetHeight;return u.offsetHeight+(e>0?e:0)}function l(e){u.scrollTop=0;var t=u.scrollHeight-u.offsetHeight,n=u.offsetHeight+t;u.style.height=n+"px"}if(!t.isDefined(a.attr("md-no-autogrow"))){var u=a[0],c=d.element[0],f=NaN,g=null;u.hasAttribute("rows")&&(f=parseInt(u.getAttribute("rows")));var p=e.debounce(o,1);if(m?(m.$formatters.push(i),m.$viewChangeListeners.push(i)):p(),a.on("keydown input",p),isNaN(f)&&(a.attr("rows","1"),a.on("scroll",l)),t.element(n).on("resize",p),r.$on("$destroy",function(){t.element(n).off("resize",p)}),t.isDefined(a.attr("md-detect-hidden"))){var h=function(){var e=!1;return function(){var t=0===u.offsetHeight;t===!1&&e===!0&&o(),e=t}}();r.$watch(function(){return e.nextTick(h,!1),!0})}}}var d=s[0],f=!!s[1],m=s[1]||e.fakeNgModel(),g=t.isDefined(o.readonly);if(d){if(d.input)throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!");d.input=a;var p=t.element('<div class="md-errors-spacer">');a.after(p),d.label||i.expect(a,"aria-label",a.attr("placeholder")),a.addClass("md-input"),a.attr("id")||a.attr("id","input_"+e.nextUid()),"textarea"===a[0].tagName.toLowerCase()&&c(),f||u();var h=d.isErrorGetter||function(){return m.$invalid&&(m.$touched||m.$$parentForm&&m.$$parentForm.$submitted)};r.$watch(h,d.setInvalid),m.$parsers.push(l),m.$formatters.push(l),a.on("input",u),g||a.on("focus",function(e){d.setFocused(!0)}).on("blur",function(e){d.setFocused(!1),u()}),r.$on("$destroy",function(){d.setFocused(!1),d.setHasValue(!1),d.input=null})}}return{restrict:"E",require:["^?mdInputContainer","?ngModel"],link:r}}function o(e,n){function i(i,r,a,o){function s(e){return u.parent?(u.text(String(r.val()||e||"").length+"/"+l),e):e}var l,u,c,d=o[0],f=o[1];n.nextTick(function(){c=t.element(f.element[0].querySelector(".md-errors-spacer")),u=t.element('<div class="md-char-counter">'),c.append(u),a.$set("ngTrim","false"),d.$formatters.push(s),d.$viewChangeListeners.push(s),r.on("input keydown keyup",function(){s()}),i.$watch(a.mdMaxlength,function(n){l=n,t.isNumber(n)&&n>0?(u.parent().length||e.enter(u,c),s()):e.leave(u)}),d.$validators["md-maxlength"]=function(e,n){return!t.isNumber(l)||0>l?!0:(e||r.val()||n||"").length<=l}})}return{restrict:"A",require:["ngModel","^mdInputContainer"],link:i}}function s(e){function n(e,n,i,r){if(r){var a=r.element.find("label"),o=t.isDefined(r.element.attr("md-no-float"));if(a&&a.length||o)return void r.setHasPlaceholder(!0);var s=i.placeholder;if(n.removeAttr("placeholder"),r.input&&"MD-SELECT"!=r.input[0].nodeName){var l='<label ng-click="delegateClick()">'+s+"</label>";r.element.addClass("md-icon-float"),r.element.prepend(l)}}}return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:n}}function l(){function e(e,n,i,r){r&&(n.toggleClass("md-input-messages-animation",!0),n.toggleClass("md-auto-hide",!0),("false"==i.mdAutoHide||t(i))&&n.toggleClass("md-auto-hide",!1))}function t(e){return C.some(function(t){return e[t]})}return{restrict:"EA",link:e,require:"^^?mdInputContainer"}}function u(e){function t(t){var n=e.getClosest(t,"md-input-container");if(n)return t.toggleClass("md-input-message-animation",!0),{}}return{restrict:"EA",compile:t,priority:100}}function c(e,t){return{addClass:function(n,i,r){var a=$(n);"md-input-invalid"==i&&a.hasClass("md-auto-hide")&&m(n,t,e)["finally"](r)}}}function d(e,t){return{enter:function(n,i){m(n,t,e)["finally"](i)},leave:function(n,i){g(n,t,e)["finally"](i)},addClass:function(n,i,r){"ng-hide"==i?g(n,t,e)["finally"](r):r()},removeClass:function(n,i,r){"ng-hide"==i?m(n,t,e)["finally"](r):r()}}}function f(e){return{enter:function(t,n){var i=$(t);return i.hasClass("md-auto-hide")?void n():p(t,e)},leave:function(t,n){return h(t,e)}}}function m(e,n,i){var r,a=[],o=$(e);return t.forEach(o.children(),function(e){r=p(t.element(e),n),a.push(r.start())}),i.all(a)}function g(e,n,i){var r,a=[],o=$(e);return t.forEach(o.children(),function(e){r=h(t.element(e),n),a.push(r.start())}),i.all(a)}function p(e,t){var n=e[0].offsetHeight;return t(e,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-n+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function h(t,n){var i=t[0].offsetHeight,r=e.getComputedStyle(t[0]);return 0==r.opacity?n(t,{}):n(t,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-i+"px"},duration:.3})}function v(e){var t=e.controller("mdInputContainer");return t.element}function $(e){var n=v(e),i="ng-messages,data-ng-messages,x-ng-messages,[ng-messages],[data-ng-messages],[x-ng-messages]";return t.element(n[0].querySelector(i))}t.module("material.components.input",["material.core"]).directive("mdInputContainer",i).directive("label",r).directive("input",a).directive("textarea",a).directive("mdMaxlength",o).directive("placeholder",s).directive("ngMessages",l).directive("ngMessage",u).directive("ngMessageExp",u).animation(".md-input-invalid",c).animation(".md-input-messages-animation",d).animation(".md-input-message-animation",f),i.$inject=["$mdTheming","$parse"],a.$inject=["$mdUtil","$window","$mdAria"],o.$inject=["$animate","$mdUtil"],s.$inject=["$log"];var C=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"];u.$inject=["$mdUtil"],c.$inject=["$q","$animateCss"],d.$inject=["$q","$animateCss"],f.$inject=["$animateCss"]}(window,window.angular);
{
"name": "angular-material-list",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,n){"use strict";function i(t){return{restrict:"E",compile:function(e){return e[0].setAttribute("role","list"),t}}}function r(t,n,i,r){var o=["md-checkbox","md-switch"];return{restrict:"E",controller:"MdListController",compile:function(c,a){function l(){for(var t,e,n=["md-switch","md-checkbox"],i=0;e=n[i];++i)if((t=c.find(e)[0])&&!t.hasAttribute("aria-label")){var r=c.find("p")[0];if(!r)return;t.setAttribute("aria-label","Toggle "+r.textContent)}}function s(t){var n;"div"==t?(n=e.element('<div class="md-no-style md-list-item-inner">'),n.append(c.contents()),c.addClass("md-proxy-focus")):(n=e.element('<md-button class="md-no-style"><div class="md-list-item-inner"></div></md-button>'),u(c[0],n[0]),n.children().eq(0).append(c.contents())),c[0].setAttribute("tabindex","-1"),c.append(n)}function d(){if(p&&!m(p)&&p.hasAttribute("ng-click")){t.expect(p,"aria-label");var n=e.element('<md-button class="md-secondary-container md-icon-button">');u(p,n[0]),p.setAttribute("tabindex","-1"),p.classList.remove("md-secondary"),n.append(p),p=n[0]}p&&(p.hasAttribute("ng-click")||a.ngClick&&f(p))&&(c.addClass("md-with-secondary"),c.append(p))}function u(t,n){var i=["ng-if","ng-click","aria-label","ng-disabled","ui-sref","href","ng-href","ng-attr-ui-sref"];e.forEach(i,function(e){t.hasAttribute(e)&&(n.setAttribute(e,t.getAttribute(e)),t.removeAttribute(e))})}function f(t){return-1!=o.indexOf(t.nodeName.toLowerCase())}function m(t){var e=t.nodeName.toUpperCase();return"MD-BUTTON"==e||"BUTTON"==e}function h(t,c,a,l){function s(t){for(var e=t.attributes,n=0;n<e.length;n++)if("ngClick"===a.$normalize(e[n].name))return!0;return!1}function d(){var t=c.children();t.length&&!t[0].hasAttribute("ng-click")&&e.forEach(o,function(t){e.forEach(m.querySelectorAll(t),function(t){f.push(t)})})}function u(){(1==f.length||h)&&(c.addClass("md-clickable"),h||l.attachRipple(t,e.element(c[0].querySelector(".md-no-style"))))}var f=[],m=c[0].firstElementChild,h=m&&s(m);d(),u(),c.hasClass("md-proxy-focus")&&f.length&&e.forEach(f,function(n){n=e.element(n),t.mouseActive=!1,n.on("mousedown",function(){t.mouseActive=!0,r(function(){t.mouseActive=!1},100)}).on("focus",function(){t.mouseActive===!1&&c.addClass("md-focused"),n.on("blur",function e(){c.removeClass("md-focused"),n.off("blur",e)})})}),h||f.length||m&&m.addEventListener("keypress",function(t){if("INPUT"!=t.target.nodeName&&"TEXTAREA"!=t.target.nodeName){var e=t.which||t.keyCode;e==n.KEY_CODE.SPACE&&m&&(m.click(),t.preventDefault(),t.stopPropagation())}}),c.off("click"),c.off("keypress"),1==f.length&&m&&c.children().eq(0).on("click",function(t){var n=i.getClosest(t.target,"BUTTON");!n&&m.contains(t.target)&&e.forEach(f,function(n){t.target===n||n.contains(t.target)||e.element(n).triggerHandler("click")})})}var g,b,p=c[0].querySelector(".md-secondary");if(c[0].setAttribute("role","listitem"),a.ngClick||a.ngHref||a.href||a.uiSref||a.ngAttrUiSref)s("button");else{for(var v,A=0;v=o[A];++A)if(b=c[0].querySelector(v)){g=!0;break}g?s("div"):c[0].querySelector("md-button:not(.md-secondary):not(.md-exclude)")||c.addClass("md-no-proxy")}return d(),l(),h}}}function o(t,e,n){function i(t,e){var i={};n.attach(t,e,i)}var r=this;r.attachRipple=i}e.module("material.components.list",["material.core"]).controller("MdListController",o).directive("mdList",i).directive("mdListItem",r),i.$inject=["$mdTheming"],r.$inject=["$mdAria","$mdConstant","$mdUtil","$timeout"],o.$inject=["$scope","$element","$mdListInkRipple"]}(window,window.angular);
{
"name": "angular-material-menu",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-backdrop": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-backdrop": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function r(e,r,o,i,a,l,s,u){var d,c,m=this;this.nestLevel=parseInt(r.mdNestLevel,10)||0,this.init=function(e,n){n=n||{},d=e,c=o[0].querySelector("[ng-click],[ng-mouseenter]"),c.setAttribute("aria-expanded","false"),this.isInMenuBar=n.isInMenuBar,this.nestedMenus=a.nodesToArray(d[0].querySelectorAll(".md-nested-menu")),d.on("$mdInterimElementRemove",function(){m.isOpen=!1});var r="menu_container_"+a.nextUid();d.attr("id",r),t.element(c).attr({"aria-owns":r,"aria-haspopup":"true"}),i.$on("$destroy",this.disableHoverListener)};var f,p,h=[];this.enableHoverListener=function(){h.push(s.$on("$mdMenuOpen",function(e,t){d[0].contains(t[0])&&(m.currentlyOpenMenu=t.controller("mdMenu"),m.isAlreadyOpening=!1,m.currentlyOpenMenu.registerContainerProxy(m.triggerContainerProxy.bind(m)))})),h.push(s.$on("$mdMenuClose",function(e,t){d[0].contains(t[0])&&(m.currentlyOpenMenu=n)})),p=t.element(a.nodesToArray(d[0].children[0].children)),p.on("mouseenter",m.handleMenuItemHover),p.on("mouseleave",m.handleMenuItemMouseLeave)},this.disableHoverListener=function(){for(;h.length;)h.shift()();p&&p.off("mouseenter",m.handleMenuItemHover),p&&p.off("mouseleave",m.handleMenuMouseLeave)},this.handleMenuItemHover=function(e){if(!m.isAlreadyOpening){var n=e.target.querySelector("md-menu")||a.getClosest(e.target,"MD-MENU");f=l(function(){if(n&&(n=t.element(n).controller("mdMenu")),m.currentlyOpenMenu&&m.currentlyOpenMenu!=n){var e=m.nestLevel+1;m.currentlyOpenMenu.close(!0,{closeTo:e})}else n&&!n.isOpen&&n.open&&(m.isAlreadyOpening=!0,n.open())},n?100:250);var r=e.currentTarget.querySelector("button:not([disabled])");r&&r.focus()}},this.handleMenuItemMouseLeave=function(){f&&(l.cancel(f),f=n)},this.open=function(t){t&&t.stopPropagation(),t&&t.preventDefault(),m.isOpen||(m.enableHoverListener(),m.isOpen=!0,c=c||(t?t.target:o[0]),c.setAttribute("aria-expanded","true"),i.$emit("$mdMenuOpen",o),e.show({scope:i,mdMenuCtrl:m,nestLevel:m.nestLevel,element:d,target:c,preserveElement:!0,parent:"body"})["finally"](function(){c.setAttribute("aria-expanded","false"),m.disableHoverListener()}))},i.$mdOpenMenu=this.open,i.$watch(function(){return m.isOpen},function(e){e?(d.attr("aria-hidden","false"),o[0].classList.add("md-open"),t.forEach(m.nestedMenus,function(e){e.classList.remove("md-open")})):(d.attr("aria-hidden","true"),o[0].classList.remove("md-open")),i.$mdMenuIsOpen=m.isOpen}),this.focusMenuContainer=function(){var e=d[0].querySelector("[md-menu-focus-target]");e||(e=d[0].querySelector(".md-button")),e.focus()},this.registerContainerProxy=function(e){this.containerProxy=e},this.triggerContainerProxy=function(e){this.containerProxy&&this.containerProxy(e)},this.destroy=function(){return m.isOpen?e.destroy():u.when(!1)},this.close=function(n,r){if(m.isOpen){m.isOpen=!1;var a=t.extend({},r,{skipFocus:n});if(i.$emit("$mdMenuClose",o,a),e.hide(null,r),!n){var l=m.restoreFocusTo||o.find("button")[0];l instanceof t.element&&(l=l[0]),l&&l.focus()}}},this.positionMode=function(){var e=(r.mdPositionMode||"target").split(" ");return 1==e.length&&e.push(e[0]),{left:e[0],top:e[1]}},this.offsets=function(){var e=(r.mdOffset||"0 0").split(" ").map(parseFloat);if(2==e.length)return{left:e[0],top:e[1]};if(1==e.length)return{top:e[0],left:e[0]};throw Error("Invalid offsets specified. Please follow format <x, y> or <n>")}}function o(e){function r(n){n.addClass("md-menu");var r=n.children()[0];if(r.hasAttribute("ng-click")||(r=r.querySelector("[ng-click],[ng-mouseenter]")||r),!r||"MD-BUTTON"!=r.nodeName&&"BUTTON"!=r.nodeName||r.hasAttribute("type")||r.setAttribute("type","button"),2!=n.children().length)throw Error(i+"Expected two children elements.");r&&r.setAttribute("aria-haspopup","true");var a=n[0].querySelectorAll("md-menu"),l=parseInt(n[0].getAttribute("md-nest-level"),10)||0;return a&&t.forEach(e.nodesToArray(a),function(e){e.hasAttribute("md-position-mode")||e.setAttribute("md-position-mode","cascade"),e.classList.add("md-nested-menu"),e.setAttribute("md-nest-level",l+1)}),o}function o(e,r,o,i){var a=i[0],l=i[1]!=n,s=t.element('<div class="md-open-menu-container md-whiteframe-z2"></div>'),u=r.children()[1];u.hasAttribute("role")||u.setAttribute("role","menu"),s.append(u),r.on("$destroy",function(){s.remove()}),r.append(s),s[0].style.display="none",a.init(s,{isInMenuBar:l})}var i="Invalid HTML for md-menu: ";return{restrict:"E",require:["mdMenu","?^mdMenuBar"],controller:"mdMenuCtrl",scope:!0,compile:r}}function i(e){function r(e,r,a,l,s,u,d,c,m){function f(n,r,o){return o.nestLevel?t.noop:(o.disableParentScroll&&!e.getClosest(o.target,"MD-DIALOG")?o.restoreScroll=e.disableScrollAround(o.element,o.parent):o.disableParentScroll=!1,o.hasBackdrop&&(o.backdrop=e.createBackdrop(n,"md-menu-backdrop md-click-catcher"),m.enter(o.backdrop,l[0].body)),function(){o.backdrop&&o.backdrop.remove(),o.disableParentScroll&&o.restoreScroll()})}function p(e,t,n){function r(){return c(t,{addClass:"md-leave"}).start()}function o(){t.removeClass("md-active"),M(t,n),n.alreadyOpen=!1}return n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?o():r().then(o)}function h(n,o,i){function l(){return i.parent.append(o),o[0].style.display="",u(function(e){var t=y(o,i);o.removeClass("md-leave"),c(o,{addClass:"md-active",from:b.toCss(t),to:b.toCss({transform:""})}).start().then(e)})}function m(){if(!i.target)throw Error("$mdMenu.show() expected a target to animate from in options.target");t.extend(i,{alreadyOpen:!1,isRemoved:!1,target:t.element(i.target),parent:t.element(i.parent),menuContentEl:t.element(o[0].querySelector("md-menu-content"))})}function p(){var e=function(e,t){return d.throttle(function(){if(!i.isRemoved){var n=y(e,t);e.css(b.toCss(n))}})}(o,i);return s.addEventListener("resize",e),s.addEventListener("orientationchange",e),function(){s.removeEventListener("resize",e),s.removeEventListener("orientationchange",e)}}function h(){function t(t){var n;switch(t.keyCode){case a.KEY_CODE.ESCAPE:i.mdMenuCtrl.close(!1,{closeAll:!0}),n=!0;break;case a.KEY_CODE.UP_ARROW:g(t,i.menuContentEl,i,-1)||i.nestLevel||i.mdMenuCtrl.triggerContainerProxy(t),n=!0;break;case a.KEY_CODE.DOWN_ARROW:g(t,i.menuContentEl,i,1)||i.nestLevel||i.mdMenuCtrl.triggerContainerProxy(t),n=!0;break;case a.KEY_CODE.LEFT_ARROW:i.nestLevel?i.mdMenuCtrl.close():i.mdMenuCtrl.triggerContainerProxy(t),n=!0;break;case a.KEY_CODE.RIGHT_ARROW:var r=e.getClosest(t.target,"MD-MENU");r&&r!=i.parent[0]?t.target.click():i.mdMenuCtrl.triggerContainerProxy(t),n=!0}n&&(t.preventDefault(),t.stopImmediatePropagation())}function r(e){e.preventDefault(),e.stopPropagation(),n.$apply(function(){i.mdMenuCtrl.close(!0,{closeAll:!0})})}function l(t){function r(){n.$apply(function(){i.mdMenuCtrl.close(!0,{closeAll:!0})})}function o(e,t){if(!e)return!1;for(var n,r=0;n=t[r];++r)for(var o,i=[n,"data-"+n,"x-"+n],a=0;o=i[a];++a)if(e.hasAttribute(o))return!0;return!1}var a=t.target;do{if(a==i.menuContentEl[0])return;if((o(a,["ng-click","ng-href","ui-sref"])||"BUTTON"==a.nodeName||"MD-BUTTON"==a.nodeName)&&!o(a,["md-prevent-menu-close"])){var l=e.getClosest(a,"MD-MENU");a.hasAttribute("disabled")||l&&l!=i.parent[0]||r();break}}while(a=a.parentNode)}o.addClass("md-clickable"),i.backdrop&&i.backdrop.on("click",r),i.menuContentEl.on("keydown",t),i.menuContentEl[0].addEventListener("click",l,!0);var s=i.menuContentEl[0].querySelector("[md-menu-focus-target]");if(!s){var u=i.menuContentEl[0].firstElementChild;s=u&&(u.querySelector(".md-button:not([disabled])")||u.firstElementChild)}return s&&s.focus(),function(){o.removeClass("md-clickable"),i.backdrop&&i.backdrop.off("click",r),i.menuContentEl.off("keydown",t),i.menuContentEl[0].removeEventListener("click",l,!0)}}return m(i),r.inherit(i.menuContentEl,i.target),i.cleanupResizing=p(),i.hideBackdrop=f(n,o,i),l().then(function(e){return i.alreadyOpen=!0,i.cleanupInteraction=h(),e})}function g(t,n,r,o){for(var i,a=e.getClosest(t.target,"MD-MENU-ITEM"),l=e.nodesToArray(n[0].children),s=l.indexOf(a),u=s+o;u>=0&&u<l.length;u+=o){var d=l[u].querySelector(".md-button");if(i=v(d))break}return i}function v(e){return e&&-1!=e.getAttribute("tabindex")?(e.focus(),l[0].activeElement==e):void 0}function M(e,t){t.preserveElement?o(e).style.display="none":o(e).parentNode===o(t.parent)&&o(t.parent).removeChild(o(e))}function y(t,r){function o(e){e.top=Math.max(Math.min(e.top,M.bottom-d.offsetHeight),M.top),e.left=Math.max(Math.min(e.left,M.right-d.offsetWidth),M.left)}function a(){for(var e=0;e<c.children.length;++e)if("none"!=s.getComputedStyle(c.children[e]).display)return c.children[e]}var u,d=t[0],c=t[0].firstElementChild,m=c.getBoundingClientRect(),f=l[0].body,p=f.getBoundingClientRect(),h=s.getComputedStyle(c),g=r.target[0].querySelector("[md-menu-origin]")||r.target[0],v=g.getBoundingClientRect(),M={left:p.left+i,top:Math.max(p.top,0)+i,bottom:Math.max(p.bottom,Math.max(p.top,0)+p.height)-i,right:p.right-i},y={top:0,left:0,right:0,bottom:0},b={top:0,left:0,right:0,bottom:0},C=r.mdMenuCtrl.positionMode();("target"==C.top||"target"==C.left||"target-right"==C.left)&&(u=a(),u&&(u=u.firstElementChild||u,u=u.querySelector("[md-menu-align-target]")||u,y=u.getBoundingClientRect(),b={top:parseFloat(d.style.top||0),left:parseFloat(d.style.left||0)}));var E={},k="top ";switch(C.top){case"target":E.top=b.top+v.top-y.top;break;case"cascade":E.top=v.top-parseFloat(h.paddingTop)-g.style.top;break;case"bottom":E.top=v.top+v.height;break;default:throw new Error('Invalid target mode "'+C.top+'" specified for md-menu on Y axis.')}switch(C.left){case"target":E.left=b.left+v.left-y.left,k+="left";break;case"target-right":E.left=v.right-m.width+(m.right-y.right),k+="right";break;case"cascade":var $=v.right+m.width<M.right;E.left=$?v.right-g.style.left:v.left-g.style.left-m.width,k+=$?"left":"right";break;case"left":E.left=v.left,k+="left";break;default:throw new Error('Invalid target mode "'+C.left+'" specified for md-menu on X axis.')}var O=r.mdMenuCtrl.offsets();E.top+=O.top,E.left+=O.left,o(E);var A=Math.round(100*Math.min(v.width/d.offsetWidth,1))/100,w=Math.round(100*Math.min(v.height/d.offsetHeight,1))/100;return{top:Math.round(E.top),left:Math.round(E.left),transform:r.alreadyOpen?n:e.supplant("scale({0},{1})",[A,w]),transformOrigin:k}}var b=e.dom.animator;return{parent:"body",onShow:h,onRemove:p,hasBackdrop:!0,disableParentScroll:!0,skipCompile:!0,preserveScope:!0,skipHide:!0,themable:!0}}function o(e){return e instanceof t.element&&(e=e[0]),e}var i=8;return r.$inject=["$mdUtil","$mdTheming","$mdConstant","$document","$window","$q","$$rAF","$animateCss","$animate"],e("$mdMenu").setDefaults({methods:["target"],options:r})}t.module("material.components.menu",["material.core","material.components.backdrop"]),t.module("material.components.menu").controller("mdMenuCtrl",r),r.$inject=["$mdMenu","$attrs","$element","$scope","$mdUtil","$timeout","$rootScope","$q"],t.module("material.components.menu").directive("mdMenu",o),o.$inject=["$mdUtil"],t.module("material.components.menu").provider("$mdMenu",i),i.$inject=["$$interimElementProvider"]}(window,window.angular);
{
"name": "angular-material-menuBar",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-menu": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-menu": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function o(e,n,o,i,r,s,u,l){this.$element=o,this.$attrs=i,this.$mdConstant=r,this.$mdUtil=u,this.$document=s,this.$scope=e,this.$rootScope=n,this.$timeout=l;var d=this;t.forEach(a,function(e){d[e]=t.bind(d,d[e])})}function i(e,n){return{restrict:"E",require:"mdMenuBar",controller:"MenuBarController",compile:function(o,i){return i.ariaRole||o[0].setAttribute("role","menubar"),t.forEach(o[0].children,function(n){if("MD-MENU"==n.nodeName){n.hasAttribute("md-position-mode")||(n.setAttribute("md-position-mode","left bottom"),n.querySelector("button,a").setAttribute("role","menuitem"));var o=e.nodesToArray(n.querySelectorAll("md-menu-content"));t.forEach(o,function(e){e.classList.add("md-menu-bar-menu"),e.classList.add("md-dense"),e.hasAttribute("width")||e.setAttribute("width",5)})}}),function(e,t,o,i){n(e,t),i.init()}}}}function r(){return{restrict:"E",compile:function(e,t){t.role||e[0].setAttribute("role","separator")}}}function s(e,t,n){this.$element=t,this.$attrs=n,this.$scope=e}function u(){return{require:["mdMenuItem","?ngModel"],priority:210,compile:function(e,n){function o(n,o,i){i=i||e,i instanceof t.element&&(i=i[0]),i.hasAttribute(n)||i.setAttribute(n,o)}function i(t){if(e[0].hasAttribute(t)){var n=e[0].getAttribute(t);s[0].setAttribute(t,n),e[0].removeAttribute(t)}}if("checkbox"==n.type||"radio"==n.type){var r=e[0].textContent,s=t.element('<md-button type="button"></md-button>');s.html(r),s.attr("tabindex","0"),e.html(""),e.append(t.element('<md-icon md-svg-icon="check"></md-icon>')),e.append(s),e[0].classList.add("md-indent"),o("role","checkbox"==n.type?"menuitemcheckbox":"menuitemradio",s),t.forEach(["ng-disabled"],i)}else o("role","menuitem",e[0].querySelector("md-button,button,a"));return function(e,t,n,o){var i=o[0],r=o[1];i.init(r)}},controller:"MenuItemController"}}t.module("material.components.menuBar",["material.core","material.components.menu"]),t.module("material.components.menuBar").controller("MenuBarController",o);var a=["handleKeyDown","handleMenuHover","scheduleOpenHoveredMenu","cancelScheduledOpen"];o.$inject=["$scope","$rootScope","$element","$attrs","$mdConstant","$document","$mdUtil","$timeout"],o.prototype.init=function(){var e=this.$element,t=this.$mdUtil,o=this.$scope,i=this,r=[];e.on("keydown",this.handleKeyDown),this.parentToolbar=t.getClosest(e,"MD-TOOLBAR"),r.push(this.$rootScope.$on("$mdMenuOpen",function(t,n){-1!=i.getMenus().indexOf(n[0])&&(e[0].classList.add("md-open"),n[0].classList.add("md-open"),i.currentlyOpenMenu=n.controller("mdMenu"),i.currentlyOpenMenu.registerContainerProxy(i.handleKeyDown),i.enableOpenOnHover())})),r.push(this.$rootScope.$on("$mdMenuClose",function(o,r,s){var u=i.getMenus();if(-1!=u.indexOf(r[0])&&(e[0].classList.remove("md-open"),r[0].classList.remove("md-open")),e[0].contains(r[0])){for(var a=r[0];a&&-1==u.indexOf(a);)a=t.getClosest(a,"MD-MENU",!0);a&&(s.skipFocus||a.querySelector("button:not([disabled])").focus(),i.currentlyOpenMenu=n,i.disableOpenOnHover(),i.setKeyboardMode(!0))}})),o.$on("$destroy",function(){for(;r.length;)r.shift()()}),this.setKeyboardMode(!0)},o.prototype.setKeyboardMode=function(e){e?this.$element[0].classList.add("md-keyboard-mode"):this.$element[0].classList.remove("md-keyboard-mode")},o.prototype.enableOpenOnHover=function(){if(!this.openOnHoverEnabled){this.openOnHoverEnabled=!0;var e;(e=this.parentToolbar)&&(e.dataset.mdRestoreStyle=e.getAttribute("style"),e.style.position="relative",e.style.zIndex=100),t.element(this.getMenus()).on("mouseenter",this.handleMenuHover)}},o.prototype.handleMenuHover=function(e){this.setKeyboardMode(!1),this.openOnHoverEnabled&&this.scheduleOpenHoveredMenu(e)},o.prototype.disableOpenOnHover=function(){if(this.openOnHoverEnabled){this.openOnHoverEnabled=!1;var e;(e=this.parentToolbar)&&e.setAttribute("style",e.dataset.mdRestoreStyle||""),t.element(this.getMenus()).off("mouseenter",this.handleMenuHover)}},o.prototype.scheduleOpenHoveredMenu=function(e){var n=t.element(e.currentTarget),o=n.controller("mdMenu");this.setKeyboardMode(!1),this.scheduleOpenMenu(o)},o.prototype.scheduleOpenMenu=function(e){var t=this,o=this.$timeout;e!=t.currentlyOpenMenu&&(o.cancel(t.pendingMenuOpen),t.pendingMenuOpen=o(function(){t.pendingMenuOpen=n,t.currentlyOpenMenu&&t.currentlyOpenMenu.close(!0,{closeAll:!0}),e.open()},200,!1))},o.prototype.handleKeyDown=function(e){var n=this.$mdConstant.KEY_CODE,o=this.currentlyOpenMenu,i=o&&o.isOpen;this.setKeyboardMode(!0);var r,s,u;switch(e.keyCode){case n.DOWN_ARROW:o?o.focusMenuContainer():this.openFocusedMenu(),r=!0;break;case n.UP_ARROW:o&&o.close(),r=!0;break;case n.LEFT_ARROW:s=this.focusMenu(-1),i&&(u=t.element(s).controller("mdMenu"),this.scheduleOpenMenu(u)),r=!0;break;case n.RIGHT_ARROW:s=this.focusMenu(1),i&&(u=t.element(s).controller("mdMenu"),this.scheduleOpenMenu(u)),r=!0}r&&(e&&e.preventDefault&&e.preventDefault(),e&&e.stopImmediatePropagation&&e.stopImmediatePropagation())},o.prototype.focusMenu=function(e){var t=this.getMenus(),n=this.getFocusedMenuIndex();-1==n&&(n=this.getOpenMenuIndex());var o=!1;return-1==n?n=0:(0>e&&n>0||e>0&&n<t.length-e)&&(n+=e,o=!0),o?(t[n].querySelector("button").focus(),t[n]):void 0},o.prototype.openFocusedMenu=function(){var e=this.getFocusedMenu();e&&t.element(e).controller("mdMenu").open()},o.prototype.getMenus=function(){var e=this.$element;return this.$mdUtil.nodesToArray(e[0].children).filter(function(e){return"MD-MENU"==e.nodeName})},o.prototype.getFocusedMenu=function(){return this.getMenus()[this.getFocusedMenuIndex()]},o.prototype.getFocusedMenuIndex=function(){var e=this.$mdUtil,t=e.getClosest(this.$document[0].activeElement,"MD-MENU");if(!t)return-1;var n=this.getMenus().indexOf(t);return n},o.prototype.getOpenMenuIndex=function(){for(var e=this.getMenus(),t=0;t<e.length;++t)if(e[t].classList.contains("md-open"))return t;return-1},t.module("material.components.menuBar").directive("mdMenuBar",i),i.$inject=["$mdUtil","$mdTheming"],t.module("material.components.menuBar").directive("mdMenuDivider",r),t.module("material.components.menuBar").controller("MenuItemController",s),s.$inject=["$scope","$element","$attrs"],s.prototype.init=function(e){var t=this.$element,n=this.$attrs;this.ngModel=e,("checkbox"==n.type||"radio"==n.type)&&(this.mode=n.type,this.iconEl=t[0].children[0],this.buttonEl=t[0].children[1],e&&this.initClickListeners())},s.prototype.clearNgAria=function(){var e=this.$element[0],n=["role","tabindex","aria-invalid","aria-checked"];t.forEach(n,function(t){e.removeAttribute(t)})},s.prototype.initClickListeners=function(){function e(){if("radio"==u){var e=s.ngValue?r.$eval(s.ngValue):s.value;return i.$modelValue==e}return i.$modelValue}function n(e){e?l.off("click",d):l.on("click",d)}var o=this,i=this.ngModel,r=this.$scope,s=this.$attrs,u=(this.$element,this.mode);this.handleClick=t.bind(this,this.handleClick);var a=this.iconEl,l=t.element(this.buttonEl),d=this.handleClick;s.$observe("disabled",n),n(s.disabled),i.$render=function(){o.clearNgAria(),e()?(a.style.display="",l.attr("aria-checked","true")):(a.style.display="none",l.attr("aria-checked","false"))},r.$$postDigest(i.$render)},s.prototype.handleClick=function(e){var t,n=this.mode,o=this.ngModel,i=this.$attrs;"checkbox"==n?t=!o.$modelValue:"radio"==n&&(t=i.ngValue?this.$scope.$eval(i.ngValue):i.value),o.$setViewValue(t),o.$render()},t.module("material.components.menuBar").directive("mdMenuItem",u)}(window,window.angular);
{
"name": "angular-material-progressCircular",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,r,t){"use strict";function a(e,a,i){function n(e){return e.attr("aria-valuemin",0),e.attr("aria-valuemax",100),e.attr("role","progressbar"),s}function s(n,s,v){function f(){v.$observe("value",function(e){var r=d(e);s.attr("aria-valuenow",r),C()==c&&g(r)}),v.$observe("mdMode",function(e){switch(e){case c:case u:x.removeClass("ng-hide"),b&&x.removeClass(b),x.addClass(b="md-mode-"+e);break;default:b&&x.removeClass(b),x.addClass("ng-hide"),b=t}})}function p(){M.css({width:100*w()+"px",height:100*w()+"px"}),M.children().eq(0).css($({transform:a.supplant("translate(-50%, -50%) scale( {0} )",[w()])}))}function h(){if(r.isUndefined(v.mdMode)){var e=r.isDefined(v.value),t=e?c:u,n="Auto-adding the missing md-mode='{0}' to the ProgressCircular element";i.debug(a.supplant(n,[t])),s.attr("md-mode",t),v.mdMode=t}}function g(e){if(C()){q=q||r.element(s[0].querySelector(".md-left > .md-half-circle")),y=y||r.element(s[0].querySelector(".md-right > .md-half-circle")),D=D||r.element(s[0].querySelector(".md-gap"));var t=o({borderBottomColor:50>=e?"transparent !important":"",transition:50>=e?"":"borderBottomColor 0.1s linear"}),i=o({transition:50>=e?"transform 0.1s linear":"",transform:a.supplant("rotate({0}deg)",[50>=e?135:(e-50)/50*180+135])}),n=o({transition:e>=50?"transform 0.1s linear":"",transform:a.supplant("rotate({0}deg)",[e>=50?45:e/50*180-135])});q.css($(i)),y.css($(n)),D.css($(t))}}function w(){if(!v.mdDiameter)return l;var e=/([0-9]*)%/.exec(v.mdDiameter),r=Math.max(0,e&&e[1]/100||parseFloat(v.mdDiameter));return r>1?r/m:r}function C(){var e=(v.mdMode||"").trim();if(e)switch(e){case c:case u:break;default:e=t}return e}e(s);var b,M=s,x=r.element(s.children()[0]),$=a.dom.animator.toCss;s.attr("md-mode",C()),p(),h(),f();var q,y,D}function d(e){return Math.max(0,Math.min(e||0,100))}function o(e){for(var r in e)e.hasOwnProperty(r)&&""==e[r]&&delete e[r];return e}var m=100,l=.5,c="determinate",u="indeterminate";return{restrict:"E",scope:!0,template:'<div class="md-scale-wrapper"><div class="md-spinner-wrapper"><div class="md-inner"><div class="md-gap"></div><div class="md-left"><div class="md-half-circle"></div></div><div class="md-right"><div class="md-half-circle"></div></div></div></div></div>',compile:n}}r.module("material.components.progressCircular",["material.core"]).directive("mdProgressCircular",a),a.$inject=["$mdTheming","$mdUtil","$log"]}(window,window.angular);
{
"name": "angular-material-progressLinear",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,a,r){"use strict";function t(e,t,n){function i(e,a,r){return e.attr("aria-valuemin",0),e.attr("aria-valuemax",100),e.attr("role","progressbar"),d}function d(i,d,u){function v(){u.$observe("value",function(e){var a=s(e);d.attr("aria-valuenow",a),b()!=l&&g($,a)}),u.$observe("mdBufferValue",function(e){g(w,s(e))}),u.$observe("mdMode",function(e){switch(e){case l:case c:case m:case o:M.removeClass("ng-hide "+h),M.addClass(h="md-mode-"+e);break;default:h&&M.removeClass(h),M.addClass("ng-hide"),h=r}})}function f(){if(a.isUndefined(u.mdMode)){var e=a.isDefined(u.value),r=e?m:o,i="Auto-adding the missing md-mode='{0}' to the ProgressLinear element";n.debug(t.supplant(i,[r])),d.attr("md-mode",r),u.mdMode=r}}function b(){var e=(u.mdMode||"").trim();if(e)switch(e){case m:case o:case c:case l:break;default:e=r}return e}function g(e,r){if(b()){var n=t.supplant("translateX({0}%) scale({1},1)",[(r-100)/2,r/100]),i=p({transform:n});a.element(e).css(i)}}e(d);var h,p=t.dom.animator.toCss,w=a.element(d[0].querySelector(".md-bar1")),$=a.element(d[0].querySelector(".md-bar2")),M=a.element(d[0].querySelector(".md-container"));d.attr("md-mode",b()),f(),v()}function s(e){return Math.max(0,Math.min(e||0,100))}var m="determinate",o="indeterminate",c="buffer",l="query";return{restrict:"E",template:'<div class="md-container"><div class="md-dashed"></div><div class="md-bar md-bar1"></div><div class="md-bar md-bar2"></div></div>',compile:i}}a.module("material.components.progressLinear",["material.core"]).directive("mdProgressLinear",t),t.$inject=["$mdTheming","$mdUtil","$log"]}(window,window.angular);
{
"name": "angular-material-radioButton",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function i(e,n,i,r){function o(o,a,d,c){function s(){a.hasClass("md-focused")||a.addClass("md-focused")}function u(i){var r=i.which||i.keyCode;if(r==n.KEY_CODE.ENTER||i.currentTarget==i.target)switch(r){case n.KEY_CODE.LEFT_ARROW:case n.KEY_CODE.UP_ARROW:i.preventDefault(),l.selectPrevious(),s();break;case n.KEY_CODE.RIGHT_ARROW:case n.KEY_CODE.DOWN_ARROW:i.preventDefault(),l.selectNext(),s();break;case n.KEY_CODE.ENTER:var o=t.element(e.getClosest(a[0],"form"));o.length>0&&o.triggerHandler("submit")}}i(a);var l=c[0],m=c[1]||e.fakeNgModel();l.init(m),o.mouseActive=!1,a.attr({role:"radiogroup",tabIndex:a.attr("tabindex")||"0"}).on("keydown",u).on("mousedown",function(e){o.mouseActive=!0,r(function(){o.mouseActive=!1},100)}).on("focus",function(){o.mouseActive===!1&&l.$element.addClass("md-focused")}).on("blur",function(){l.$element.removeClass("md-focused")})}function a(e){this._radioButtonRenderFns=[],this.$element=e}function d(){return{init:function(e){this._ngModelCtrl=e,this._ngModelCtrl.$render=t.bind(this,this.render)},add:function(e){this._radioButtonRenderFns.push(e)},remove:function(e){var t=this._radioButtonRenderFns.indexOf(e);-1!==t&&this._radioButtonRenderFns.splice(t,1)},render:function(){this._radioButtonRenderFns.forEach(function(e){e()})},setViewValue:function(e,t){this._ngModelCtrl.$setViewValue(e,t),this.render()},getViewValue:function(){return this._ngModelCtrl.$viewValue},selectNext:function(){return c(this.$element,1)},selectPrevious:function(){return c(this.$element,-1)},setActiveDescendant:function(e){this.$element.attr("aria-activedescendant",e)}}}function c(n,i){var r=e.iterator(n[0].querySelectorAll("md-radio-button"),!0);if(r.count()){var o=function(e){return!t.element(e).attr("disabled")},a=n[0].querySelector("md-radio-button.md-checked"),d=r[0>i?"previous":"next"](a,o)||r.first();t.element(d).triggerHandler("click")}}return a.prototype=d(),{restrict:"E",controller:["$element",a],require:["mdRadioGroup","?ngModel"],link:{pre:o}}}function r(e,t,n){function i(i,o,a,d){function c(e){if(!d)throw"RadioGroupController not found.";d.add(u),a.$observe("value",u),o.on("click",s).on("$destroy",function(){d.remove(u)})}function s(e){o[0].hasAttribute("disabled")||i.$apply(function(){d.setViewValue(a.value,e&&e.type)})}function u(){function e(e){"MD-RADIO-GROUP"!=o.parent()[0].nodeName&&o.parent()[e?"addClass":"removeClass"](r)}var t=d.getViewValue()==a.value;t!==m&&(m=t,o.attr("aria-checked",t),t?(e(!0),o.addClass(r),d.setActiveDescendant(o.attr("id"))):(e(!1),o.removeClass(r)))}function l(n,i){function r(){return a.id||"radio_"+t.nextUid()}i.ariaId=r(),n.attr({id:i.ariaId,role:"radio","aria-checked":"false"}),e.expectWithText(n,"aria-label")}var m;n(o),l(o,i),c()}var r="md-checked";return{restrict:"E",require:"^mdRadioGroup",transclude:!0,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-off"></div><div class="md-on"></div></div><div ng-transclude class="md-label"></div>',link:i}}t.module("material.components.radioButton",["material.core"]).directive("mdRadioGroup",i).directive("mdRadioButton",r),i.$inject=["$mdUtil","$mdConstant","$mdTheming","$timeout"],r.$inject=["$mdAria","$mdUtil","$mdTheming"]}(window,window.angular);
{
"name": "angular-material-select",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-backdrop": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-backdrop": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -1295,3 +1295,3 @@ (function( window, angular, undefined ){

function calculateMenuPositions(scope, element, opts) {
var
var
containerNode = element[0],

@@ -1318,9 +1318,9 @@ targetNode = opts.target[0].children[0], // target the label

maxWidth = parentRect.width - SELECT_EDGE_MARGIN * 2,
isScrollable = contentNode.scrollHeight > contentNode.offsetHeight,
selectedNode = selectNode.querySelector('md-option[selected]'),
optionNodes = selectNode.getElementsByTagName('md-option'),
optgroupNodes = selectNode.getElementsByTagName('md-optgroup');
optgroupNodes = selectNode.getElementsByTagName('md-optgroup'),
isScrollable = calculateScrollable(element, contentNode),
centeredNode;
var loading = isPromiseLike(opts.loadingAsync);
var centeredNode;
if (!loading) {

@@ -1407,3 +1407,3 @@ // If a selected node, center around that

top = Math.floor(targetRect.top + targetRect.height / 2 - centeredRect.height / 2 -
centeredRect.top + contentNode.scrollTop) + 4;
centeredRect.top + contentNode.scrollTop) + 2;

@@ -1459,2 +1459,21 @@ transformOrigin = (centeredRect.left + targetRect.width / 2) + 'px ' +

}
function calculateScrollable(element, contentNode) {
var isScrollable = false;
try {
var oldDisplay = element[0].style.display;
// Set the element's display to block so that this calculation is correct
element[0].style.display = 'block';
isScrollable = contentNode.scrollHeight > contentNode.offsetHeight;
// Reset it back afterwards
element[0].style.display = oldDisplay;
} finally {
// Nothing to do
}
return isScrollable;
}
}

@@ -1461,0 +1480,0 @@ SelectProvider.$inject = ["$$interimElementProvider"];

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function o(e,o,i,r,l,a){function d(l,d){var s=t.element("<md-select-value><span></span></md-select-value>");if(s.append('<span class="md-select-icon" aria-hidden="true"></span>'),s.addClass("md-select-value"),s[0].hasAttribute("id")||s.attr("id","select_value_label_"+o.nextUid()),l.find("md-content").length||l.append(t.element("<md-content>").append(l.contents())),d.mdOnOpen&&(l.find("md-content").prepend(t.element('<div> <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone"></md-progress-circular></div>')),l.find("md-option").attr("ng-show","$$loadingAsyncDone")),d.name){var c=t.element('<select class="md-visually-hidden">');c.attr({name:"."+d.name,"ng-model":d.ngModel,"aria-hidden":"true",tabindex:"-1"});var u=l.find("md-option");t.forEach(u,function(e){var n=t.element("<option>"+e.innerHTML+"</option>");e.hasAttribute("ng-value")?n.attr("ng-value",e.getAttribute("ng-value")):e.hasAttribute("value")&&n.attr("value",e.getAttribute("value")),c.append(n)}),l.parent().append(c)}var p=t.isDefined(d.multiple)?"multiple":"",f='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';return f=o.supplant(f,[p,l.html()]),l.empty().append(s),l.append(f),d.tabindex=d.tabindex||"0",function(l,d,s,c){function u(){var e=d.attr("aria-label")||d.attr("placeholder");!e&&k&&k.label&&(e=k.label.text()),$=e,r.expect(d,"aria-label",e)}function p(){O&&(E=E||O.find("md-select-menu").controller("mdSelectMenu"),w.setLabelText(E.selectedLabels()))}function f(){if($){var e=E.selectedLabels({mode:"aria"});d.attr("aria-label",e.length?$+": "+e:$)}}function m(){k&&k.setHasValue(E.selectedLabels().length>0||(d[0].validity||{}).badInput)}function h(){if(O=t.element(d[0].querySelector(".md-select-menu-container")),D=l,d.attr("md-container-class")){var e=O[0].getAttribute("class")+" "+d.attr("md-container-class");O[0].setAttribute("class",e)}E=O.find("md-select-menu").controller("mdSelectMenu"),E.init(C,s.ngModel),d.on("$destroy",function(){O.remove()})}function g(e){var n=[32,13,38,40];if(-1!=n.indexOf(e.keyCode))e.preventDefault(),v(e);else if(e.keyCode<=90&&e.keyCode>=31){e.preventDefault();var o=E.optNodeForKeyboardSearch(e);if(!o)return;var i=t.element(o).controller("mdOption");E.isMultiple||E.deselect(Object.keys(E.selected)[0]),E.select(i.hashKey,i.value),E.refreshViewValue()}}function v(){D.isOpen=!0,d.attr("aria-expanded","true"),e.show({scope:D,preserveScope:!0,skipCompile:!0,element:O,target:d[0],selectCtrl:w,preserveElement:!0,hasBackdrop:!0,loadingAsync:s.mdOnOpen?l.$eval(s.mdOnOpen)||!0:!1})["finally"](function(){D.isOpen=!1,d.focus(),d.attr("aria-expanded","false"),C.$setTouched()})}var b,$,y=!0,k=c[0],w=c[1],C=c[2],M=c[3],x=d.find("md-select-value"),S=t.isDefined(s.readonly);if(k){var A=k.isErrorGetter||function(){return C.$invalid&&C.$touched};if(k.input)throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");k.input=d,k.label||r.expect(d,"aria-label",d.attr("placeholder")),l.$watch(A,k.setInvalid)}var O,D,E;if(h(),i(d),s.name&&M){var T=d.parent()[0].querySelector('select[name=".'+s.name+'"]');o.nextTick(function(){var e=t.element(T).controller("ngModel");e&&M.$removeControl(e)})}M&&o.nextTick(function(){M.$setPristine()});var R=C.$render;C.$render=function(){R(),p(),f(),m()},s.$observe("placeholder",C.$render),w.setLabelText=function(e){w.setIsPlaceholder(!e);var t=s.placeholder||(k&&k.label?k.label.text():"");e=e||t||"";var n=x.children().eq(0);n.html(e)},w.setIsPlaceholder=function(e){e?(x.addClass("md-select-placeholder"),k&&k.label&&k.label.addClass("md-placeholder")):(x.removeClass("md-select-placeholder"),k&&k.label&&k.label.removeClass("md-placeholder"))},S||(d.on("focus",function(e){k&&k.element.hasClass("md-input-has-value")&&k.setFocused(!0)}),o.nextTick(function(){d.on("blur",function(){y&&(y=!1,C.$setUntouched()),D.isOpen||(k&&k.setFocused(!1),m())})})),w.triggerClose=function(){a(s.mdOnClose)(l)},l.$$postDigest(function(){u(),p(),f()}),l.$watch(E.selectedLabels,p);var B;s.$observe("ngMultiple",function(e){B&&B();var t=a(e);B=l.$watch(function(){return t(l)},function(e,t){(e!==n||t!==n)&&(e?d.attr("multiple","multiple"):d.removeAttr("multiple"),d.attr("aria-multiselectable",e?"true":"false"),O&&(E.setMultiple(e),R=C.$render,C.$render=function(){R(),p(),f(),m()},C.$render()))})}),s.$observe("disabled",function(e){t.isString(e)&&(e=!0),(b===n||b!==e)&&(b=e,e?(d.attr({tabindex:-1,"aria-disabled":"true"}),d.off("click",v),d.off("keydown",g)):(d.attr({tabindex:s.tabindex,"aria-disabled":"false"}),d.on("click",v),d.on("keydown",g)))}),s.disabled||s.ngDisabled||(d.attr({tabindex:s.tabindex,"aria-disabled":"false"}),d.on("click",v),d.on("keydown",g));var V={role:"listbox","aria-expanded":"false","aria-multiselectable":s.multiple===n||s.ngMultiple?"false":"true"};d[0].hasAttribute("id")||(V.id="select_"+o.nextUid());var P="select_container_"+o.nextUid();O.attr("id",P),V["aria-owns"]=P,d.attr(V),l.$on("$destroy",function(){e.destroy()["finally"](function(){k&&(k.setFocused(!1),k.setHasValue(!1),k.input=null),C.$setTouched()})})}}return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:d,controller:function(){}}}function i(e,o,i){function r(e,n,r,l){function a(e){(13==e.keyCode||32==e.keyCode)&&d(e)}function d(n){var i=o.getClosest(n.target,"md-option"),r=i&&t.element(i).data("$mdOptionController");if(i&&r){if(i.hasAttribute("disabled"))return n.stopImmediatePropagation(),!1;var l=s.hashGetter(r.value),a=t.isDefined(s.selected[l]);e.$apply(function(){s.isMultiple?a?s.deselect(l):s.select(l,r.value):a||(s.deselect(Object.keys(s.selected)[0]),s.select(l,r.value)),s.refreshViewValue()})}}var s=l[0];i(n),n.on("click",d),n.on("keypress",a)}function l(i,r,l){function a(){var e=c.ngModel.$modelValue||c.ngModel.$viewValue||[];if(t.isArray(e)){var n=Object.keys(c.selected),o=e.map(c.hashGetter),i=n.filter(function(e){return-1===o.indexOf(e)});i.forEach(c.deselect),o.forEach(function(t,n){c.select(t,e[n])})}}function d(){var e=c.ngModel.$viewValue||c.ngModel.$modelValue;Object.keys(c.selected).forEach(c.deselect),c.select(c.hashGetter(e),e)}var c=this;c.isMultiple=t.isDefined(r.multiple),c.selected={},c.options={},i.$watchCollection(function(){return c.options},function(){c.ngModel.$render()});var u,p;c.setMultiple=function(e){function n(e,n){return t.isArray(e||n||[])}var o=c.ngModel;p=p||o.$isEmpty,c.isMultiple=e,u&&u(),c.isMultiple?(o.$validators["md-multiple"]=n,o.$render=a,i.$watchCollection(c.modelBinding,function(e){n(e)&&a(e),c.ngModel.$setPristine()}),o.$isEmpty=function(e){return!e||0===e.length}):(delete o.$validators["md-multiple"],o.$render=d)};var f,m,h,g="",v=300;c.optNodeForKeyboardSearch=function(e){f&&clearTimeout(f),f=setTimeout(function(){f=n,g="",h=n,m=n},v),g+=String.fromCharCode(e.keyCode);var o=new RegExp("^"+g,"i");m||(m=l.find("md-option"),h=new Array(m.length),t.forEach(m,function(e,t){h[t]=e.textContent.trim()}));for(var i=0;i<h.length;++i)if(o.test(h[i]))return m[i]},c.init=function(n,o){if(c.ngModel=n,c.modelBinding=o,n.$options&&n.$options.trackBy){var r={},l=e(n.$options.trackBy);c.hashGetter=function(e,t){return r.$value=e,l(t||i,r)}}else c.hashGetter=function(e){return t.isObject(e)?"object_"+(e.$$mdSelectId||(e.$$mdSelectId=++s)):e};c.setMultiple(c.isMultiple)},c.selectedLabels=function(e){e=e||{};var t=e.mode||"html",n=o.nodesToArray(l[0].querySelectorAll("md-option[selected]"));if(n.length){var i;return"html"==t?i=function(e){return e.innerHTML}:"aria"==t&&(i=function(e){return e.hasAttribute("aria-label")?e.getAttribute("aria-label"):e.textContent}),n.map(i).join(", ")}return""},c.select=function(e,t){var n=c.options[e];n&&n.setSelected(!0),c.selected[e]=t},c.deselect=function(e){var t=c.options[e];t&&t.setSelected(!1),delete c.selected[e]},c.addOption=function(e,n){if(t.isDefined(c.options[e]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+n.value+'" found.');c.options[e]=n,t.isDefined(c.selected[e])&&(c.select(e,n.value),c.refreshViewValue())},c.removeOption=function(e){delete c.options[e]},c.refreshViewValue=function(){var e,n=[];for(var o in c.selected)(e=c.options[o])?n.push(e.value):n.push(c.selected[o]);var i=c.ngModel.$options&&c.ngModel.$options.trackBy,r=c.isMultiple?n:n[0],l=c.ngModel.$modelValue;(i?t.equals(l,r):l==r)||(c.ngModel.$setViewValue(r),c.ngModel.$render())}}return l.$inject=["$scope","$attrs","$element"],{restrict:"E",require:["mdSelectMenu"],scope:!0,controller:l,link:{pre:r}}}function r(e,n){function o(e,n){return e.append(t.element('<div class="md-text">').append(e.contents())),e.attr("tabindex",n.tabindex||"0"),i}function i(o,i,r,l){function a(e,t,n){if(!c.hashGetter)return void(n||o.$$postDigest(function(){a(e,t,!0)}));var i=c.hashGetter(t,o),r=c.hashGetter(e,o);s.hashKey=r,s.value=e,c.removeOption(i,s),c.addOption(r,s)}function d(){var e={role:"option","aria-selected":"false"};i[0].hasAttribute("id")||(e.id="select_option_"+n.nextUid()),i.attr(e)}var s=l[0],c=l[1];t.isDefined(r.ngValue)?o.$watch(r.ngValue,a):t.isDefined(r.value)?a(r.value):o.$watch(function(){return i.text()},a),r.$observe("disabled",function(e){e?i.attr("tabindex","-1"):i.attr("tabindex","0")}),o.$$postDigest(function(){r.$observe("selected",function(e){t.isDefined(e)&&("string"==typeof e&&(e=!0),e?(c.isMultiple||c.deselect(Object.keys(c.selected)[0]),c.select(s.hashKey,s.value)):c.deselect(s.hashKey),c.refreshViewValue())})}),e.attach(o,i),d(),o.$on("$destroy",function(){c.removeOption(s.hashKey,s)})}function r(e){this.selected=!1,this.setSelected=function(t){t&&!this.selected?e.attr({selected:"selected","aria-selected":"true"}):!t&&this.selected&&(e.removeAttr("selected"),e.attr("aria-selected","false")),this.selected=t}}return r.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:r,compile:o}}function l(){function e(e,n){var o=e.find("label");o.length||(o=t.element("<label>"),e.prepend(o)),o.addClass("md-container-ignore"),n.label&&o.text(n.label)}return{restrict:"E",compile:e}}function a(e){function o(e,o,a,s,c,u,p,f,m){function h(e,t,n){function o(){return p(t,{addClass:"md-leave"}).start()}function i(){t.removeClass("md-active"),t.attr("aria-hidden","true"),t[0].style.display="none",v(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}return n=n||{},n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?i():o().then(i)}function g(i,r,l){function d(e,t,n){return n.parent.append(t),c(function(e,n){try{p(t,{removeClass:"md-leave",duration:0}).start().then(h).then(e)}catch(o){n(o)}})}function h(){return c(function(e){if(l.isRemoved)return c.reject(!1);var t=b(i,r,l);t.container.element.css(y.toCss(t.container.styles)),t.dropDown.element.css(y.toCss(t.dropDown.styles)),u(function(){r.addClass("md-active"),t.dropDown.element.css(y.toCss({transform:""})),v(l.focusedNode),e()})})}function g(e,t,n){return n.disableParentScroll&&!a.getClosest(n.target,"MD-DIALOG")?n.restoreScroll=a.disableScrollAround(n.element,n.parent):n.disableParentScroll=!1,n.hasBackdrop&&(n.backdrop=a.createBackdrop(e,"md-select-backdrop md-click-catcher"),f.enter(n.backdrop,m[0].body,null,{duration:0})),function(){n.backdrop&&n.backdrop.remove(),n.disableParentScroll&&n.restoreScroll(),delete n.restoreScroll}}function v(e){e&&!e.hasAttribute("disabled")&&e.focus()}function k(e,n){var o=r.find("md-select-menu");if(!n.target)throw new Error(a.supplant($,[n.target]));t.extend(n,{isRemoved:!1,target:t.element(n.target),parent:t.element(n.parent),selectEl:o,contentEl:r.find("md-content"),optionNodes:o[0].getElementsByTagName("md-option")})}function w(){var e=function(e,t,n){return function(){if(!n.isRemoved){var o=b(e,t,n),i=o.container,r=o.dropDown;i.element.css(y.toCss(i.styles)),r.element.css(y.toCss(r.styles))}}}(i,r,l),n=t.element(s);return n.on("resize",e),n.on("orientationchange",e),function(){n.off("resize",e),n.off("orientationchange",e)}}function C(){l.loadingAsync&&!l.isRemoved&&(i.$$loadingAsyncDone=!1,i.progressMode="indeterminate",c.when(l.loadingAsync).then(function(){i.$$loadingAsyncDone=!0,i.progressMode="",delete l.loadingAsync}).then(function(){u(h)}))}function M(){function t(t){t.preventDefault(),t.stopPropagation(),l.restoreFocus=!1,a.nextTick(e.hide,!0)}function i(t){var n=o.KEY_CODE;switch(t.preventDefault(),t.stopPropagation(),t.keyCode){case n.UP_ARROW:return c();case n.DOWN_ARROW:return s();case n.SPACE:case n.ENTER:var i=a.getClosest(t.target,"md-option");i&&(p.triggerHandler({type:"click",target:i}),t.preventDefault()),u(t);break;case n.TAB:case n.ESCAPE:t.stopPropagation(),t.preventDefault(),l.restoreFocus=!0,a.nextTick(e.hide,!0);break;default:if(t.keyCode>=31&&t.keyCode<=90){var r=p.controller("mdSelectMenu").optNodeForKeyboardSearch(t);l.focusedNode=r||l.focusedNode,r&&r.focus()}}}function d(e){var t,o=a.nodesToArray(l.optionNodes),i=o.indexOf(l.focusedNode);do-1===i?i=0:"next"===e&&i<o.length-1?i++:"prev"===e&&i>0&&i--,t=o[i],t.hasAttribute("disabled")&&(t=n);while(!t&&i<o.length-1&&i>0);t&&t.focus(),l.focusedNode=t}function s(){d("next")}function c(){d("prev")}function u(t){function n(){var e=!1;if(t&&t.currentTarget.children.length>0){var n=t.currentTarget.children[0],o=n.scrollHeight>n.clientHeight;if(o&&n.children.length>0){var i=t.pageX-t.currentTarget.getBoundingClientRect().left;i>n.querySelector("md-option").offsetWidth&&(e=!0)}}return e}if(!(t&&"click"==t.type&&t.currentTarget!=p[0]||n())){var o=a.getClosest(t.target,"md-option");o&&o.hasAttribute&&!o.hasAttribute("disabled")&&(t.preventDefault(),t.stopPropagation(),f.isMultiple||(l.restoreFocus=!0,a.nextTick(function(){e.hide(f.ngModel.$viewValue)},!0)))}}if(!l.isRemoved){var p=l.selectEl,f=p.controller("mdSelectMenu")||{};return r.addClass("md-clickable"),l.backdrop&&l.backdrop.on("click",t),p.on("keydown",i),p.on("click",u),function(){l.backdrop&&l.backdrop.off("click",t),p.off("keydown",i),p.off("click",u),r.removeClass("md-clickable"),l.isRemoved=!0}}}return C(),k(i,l),l.hideBackdrop=g(i,r,l),d(i,r,l).then(function(e){return r.attr("aria-hidden","false"),l.alreadyOpen=!0,l.cleanupInteraction=M(),l.cleanupResizing=w(),e},l.hideBackdrop)}function v(e){var t=e.selectCtrl;if(t){var n=e.selectEl.controller("mdSelectMenu");t.setLabelText(n.selectedLabels()),t.triggerClose()}}function b(e,n,o){var c,u=n[0],p=o.target[0].children[0],f=m[0].body,h=o.selectEl[0],g=o.contentEl[0],v=f.getBoundingClientRect(),b=p.getBoundingClientRect(),$=!1,y={left:v.left+d,top:d,bottom:v.height-d,right:v.width-d-(a.floatingScrollbars()?16:0)},k={top:b.top-y.top,left:b.left-y.left,right:y.right-(b.left+b.width),bottom:y.bottom-(b.top+b.height)},w=v.width-2*d,C=g.scrollHeight>g.offsetHeight,M=h.querySelector("md-option[selected]"),x=h.getElementsByTagName("md-option"),S=h.getElementsByTagName("md-optgroup"),A=i(o.loadingAsync);c=A?g.firstElementChild||g:M?M:S.length?S[0]:x.length?x[0]:g.firstElementChild||g,g.offsetWidth>w?g.style["max-width"]=w+"px":g.style.maxWidth=null,$&&(g.style["min-width"]=b.width+"px"),C&&h.classList.add("md-overflow");var O=c;"MD-OPTGROUP"===(O.tagName||"").toUpperCase()&&(O=x[0]||g.firstElementChild||g,c=O),o.focusedNode=O,u.style.display="block";var D=h.getBoundingClientRect(),E=l(c);if(c){var T=s.getComputedStyle(c);E.paddingLeft=parseInt(T.paddingLeft,10)||0,E.paddingRight=parseInt(T.paddingRight,10)||0}if(C){var R=g.offsetHeight/2;g.scrollTop=E.top+E.height/2-R,k.top<R?g.scrollTop=Math.min(E.top,g.scrollTop+R-k.top):k.bottom<R&&(g.scrollTop=Math.max(E.top+E.height-D.height,g.scrollTop-R+k.bottom))}var B,V,P,L;$?(B=b.left,V=b.top+b.height,P="50% 0",V+D.height>y.bottom&&(V=b.top-D.height,P="50% 100%")):(B=b.left+E.left-E.paddingLeft+2,V=Math.floor(b.top+b.height/2-E.height/2-E.top+g.scrollTop)+4,P=E.left+b.width/2+"px "+(E.top+E.height/2-g.scrollTop)+"px 0px",L=Math.min(b.width+E.paddingLeft+E.paddingRight,w));var N=u.getBoundingClientRect(),j=Math.round(100*Math.min(b.width/D.width,1))/100,I=Math.round(100*Math.min(b.height/D.height,1))/100;return{container:{element:t.element(u),styles:{left:Math.floor(r(y.left,B,y.right-N.width)),top:Math.floor(r(y.top,V,y.bottom-N.height)),"min-width":L}},dropDown:{element:t.element(h),styles:{transformOrigin:P,transform:o.alreadyOpen?"":a.supplant("scale({0},{1})",[j,I])}}}}var $="$mdSelect.show() expected a target element in options.target but got '{0}'!",y=a.dom.animator;return{parent:"body",themable:!0,onShow:g,onRemove:h,hasBackdrop:!0,disableParentScroll:!0}}function i(e){return e&&t.isFunction(e.then)}function r(e,t,n){return Math.max(e,Math.min(t,n))}function l(e){return e?{left:e.offsetLeft,top:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}:{left:0,top:0,width:0,height:0}}return o.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],e("$mdSelect").setDefaults({methods:["target"],options:o})}var d=8,s=0;t.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",o).directive("mdSelectMenu",i).directive("mdOption",r).directive("mdOptgroup",l).provider("$mdSelect",a),o.$inject=["$mdSelect","$mdUtil","$mdTheming","$mdAria","$compile","$parse"],i.$inject=["$parse","$mdUtil","$mdTheming"],r.$inject=["$mdButtonInkRipple","$mdUtil"],a.$inject=["$$interimElementProvider"]}(window,window.angular);
!function(e,t,n){"use strict";function o(e,o,i,r,l,a){function d(l,d){var s=t.element("<md-select-value><span></span></md-select-value>");if(s.append('<span class="md-select-icon" aria-hidden="true"></span>'),s.addClass("md-select-value"),s[0].hasAttribute("id")||s.attr("id","select_value_label_"+o.nextUid()),l.find("md-content").length||l.append(t.element("<md-content>").append(l.contents())),d.mdOnOpen&&(l.find("md-content").prepend(t.element('<div> <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone"></md-progress-circular></div>')),l.find("md-option").attr("ng-show","$$loadingAsyncDone")),d.name){var c=t.element('<select class="md-visually-hidden">');c.attr({name:"."+d.name,"ng-model":d.ngModel,"aria-hidden":"true",tabindex:"-1"});var u=l.find("md-option");t.forEach(u,function(e){var n=t.element("<option>"+e.innerHTML+"</option>");e.hasAttribute("ng-value")?n.attr("ng-value",e.getAttribute("ng-value")):e.hasAttribute("value")&&n.attr("value",e.getAttribute("value")),c.append(n)}),l.parent().append(c)}var p=t.isDefined(d.multiple)?"multiple":"",f='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';return f=o.supplant(f,[p,l.html()]),l.empty().append(s),l.append(f),d.tabindex=d.tabindex||"0",function(l,d,s,c){function u(){var e=d.attr("aria-label")||d.attr("placeholder");!e&&k&&k.label&&(e=k.label.text()),$=e,r.expect(d,"aria-label",e)}function p(){O&&(E=E||O.find("md-select-menu").controller("mdSelectMenu"),w.setLabelText(E.selectedLabels()))}function f(){if($){var e=E.selectedLabels({mode:"aria"});d.attr("aria-label",e.length?$+": "+e:$)}}function m(){k&&k.setHasValue(E.selectedLabels().length>0||(d[0].validity||{}).badInput)}function h(){if(O=t.element(d[0].querySelector(".md-select-menu-container")),D=l,d.attr("md-container-class")){var e=O[0].getAttribute("class")+" "+d.attr("md-container-class");O[0].setAttribute("class",e)}E=O.find("md-select-menu").controller("mdSelectMenu"),E.init(C,s.ngModel),d.on("$destroy",function(){O.remove()})}function g(e){var n=[32,13,38,40];if(-1!=n.indexOf(e.keyCode))e.preventDefault(),v(e);else if(e.keyCode<=90&&e.keyCode>=31){e.preventDefault();var o=E.optNodeForKeyboardSearch(e);if(!o)return;var i=t.element(o).controller("mdOption");E.isMultiple||E.deselect(Object.keys(E.selected)[0]),E.select(i.hashKey,i.value),E.refreshViewValue()}}function v(){D.isOpen=!0,d.attr("aria-expanded","true"),e.show({scope:D,preserveScope:!0,skipCompile:!0,element:O,target:d[0],selectCtrl:w,preserveElement:!0,hasBackdrop:!0,loadingAsync:s.mdOnOpen?l.$eval(s.mdOnOpen)||!0:!1})["finally"](function(){D.isOpen=!1,d.focus(),d.attr("aria-expanded","false"),C.$setTouched()})}var b,$,y=!0,k=c[0],w=c[1],C=c[2],M=c[3],x=d.find("md-select-value"),S=t.isDefined(s.readonly);if(k){var A=k.isErrorGetter||function(){return C.$invalid&&C.$touched};if(k.input)throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");k.input=d,k.label||r.expect(d,"aria-label",d.attr("placeholder")),l.$watch(A,k.setInvalid)}var O,D,E;if(h(),i(d),s.name&&M){var T=d.parent()[0].querySelector('select[name=".'+s.name+'"]');o.nextTick(function(){var e=t.element(T).controller("ngModel");e&&M.$removeControl(e)})}M&&o.nextTick(function(){M.$setPristine()});var R=C.$render;C.$render=function(){R(),p(),f(),m()},s.$observe("placeholder",C.$render),w.setLabelText=function(e){w.setIsPlaceholder(!e);var t=s.placeholder||(k&&k.label?k.label.text():"");e=e||t||"";var n=x.children().eq(0);n.html(e)},w.setIsPlaceholder=function(e){e?(x.addClass("md-select-placeholder"),k&&k.label&&k.label.addClass("md-placeholder")):(x.removeClass("md-select-placeholder"),k&&k.label&&k.label.removeClass("md-placeholder"))},S||(d.on("focus",function(e){k&&k.element.hasClass("md-input-has-value")&&k.setFocused(!0)}),o.nextTick(function(){d.on("blur",function(){y&&(y=!1,C.$setUntouched()),D.isOpen||(k&&k.setFocused(!1),m())})})),w.triggerClose=function(){a(s.mdOnClose)(l)},l.$$postDigest(function(){u(),p(),f()}),l.$watch(E.selectedLabels,p);var B;s.$observe("ngMultiple",function(e){B&&B();var t=a(e);B=l.$watch(function(){return t(l)},function(e,t){(e!==n||t!==n)&&(e?d.attr("multiple","multiple"):d.removeAttr("multiple"),d.attr("aria-multiselectable",e?"true":"false"),O&&(E.setMultiple(e),R=C.$render,C.$render=function(){R(),p(),f(),m()},C.$render()))})}),s.$observe("disabled",function(e){t.isString(e)&&(e=!0),(b===n||b!==e)&&(b=e,e?(d.attr({tabindex:-1,"aria-disabled":"true"}),d.off("click",v),d.off("keydown",g)):(d.attr({tabindex:s.tabindex,"aria-disabled":"false"}),d.on("click",v),d.on("keydown",g)))}),s.disabled||s.ngDisabled||(d.attr({tabindex:s.tabindex,"aria-disabled":"false"}),d.on("click",v),d.on("keydown",g));var V={role:"listbox","aria-expanded":"false","aria-multiselectable":s.multiple===n||s.ngMultiple?"false":"true"};d[0].hasAttribute("id")||(V.id="select_"+o.nextUid());var P="select_container_"+o.nextUid();O.attr("id",P),V["aria-owns"]=P,d.attr(V),l.$on("$destroy",function(){e.destroy()["finally"](function(){k&&(k.setFocused(!1),k.setHasValue(!1),k.input=null),C.$setTouched()})})}}return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:d,controller:function(){}}}function i(e,o,i){function r(e,n,r,l){function a(e){(13==e.keyCode||32==e.keyCode)&&d(e)}function d(n){var i=o.getClosest(n.target,"md-option"),r=i&&t.element(i).data("$mdOptionController");if(i&&r){if(i.hasAttribute("disabled"))return n.stopImmediatePropagation(),!1;var l=s.hashGetter(r.value),a=t.isDefined(s.selected[l]);e.$apply(function(){s.isMultiple?a?s.deselect(l):s.select(l,r.value):a||(s.deselect(Object.keys(s.selected)[0]),s.select(l,r.value)),s.refreshViewValue()})}}var s=l[0];i(n),n.on("click",d),n.on("keypress",a)}function l(i,r,l){function a(){var e=c.ngModel.$modelValue||c.ngModel.$viewValue||[];if(t.isArray(e)){var n=Object.keys(c.selected),o=e.map(c.hashGetter),i=n.filter(function(e){return-1===o.indexOf(e)});i.forEach(c.deselect),o.forEach(function(t,n){c.select(t,e[n])})}}function d(){var e=c.ngModel.$viewValue||c.ngModel.$modelValue;Object.keys(c.selected).forEach(c.deselect),c.select(c.hashGetter(e),e)}var c=this;c.isMultiple=t.isDefined(r.multiple),c.selected={},c.options={},i.$watchCollection(function(){return c.options},function(){c.ngModel.$render()});var u,p;c.setMultiple=function(e){function n(e,n){return t.isArray(e||n||[])}var o=c.ngModel;p=p||o.$isEmpty,c.isMultiple=e,u&&u(),c.isMultiple?(o.$validators["md-multiple"]=n,o.$render=a,i.$watchCollection(c.modelBinding,function(e){n(e)&&a(e),c.ngModel.$setPristine()}),o.$isEmpty=function(e){return!e||0===e.length}):(delete o.$validators["md-multiple"],o.$render=d)};var f,m,h,g="",v=300;c.optNodeForKeyboardSearch=function(e){f&&clearTimeout(f),f=setTimeout(function(){f=n,g="",h=n,m=n},v),g+=String.fromCharCode(e.keyCode);var o=new RegExp("^"+g,"i");m||(m=l.find("md-option"),h=new Array(m.length),t.forEach(m,function(e,t){h[t]=e.textContent.trim()}));for(var i=0;i<h.length;++i)if(o.test(h[i]))return m[i]},c.init=function(n,o){if(c.ngModel=n,c.modelBinding=o,n.$options&&n.$options.trackBy){var r={},l=e(n.$options.trackBy);c.hashGetter=function(e,t){return r.$value=e,l(t||i,r)}}else c.hashGetter=function(e){return t.isObject(e)?"object_"+(e.$$mdSelectId||(e.$$mdSelectId=++s)):e};c.setMultiple(c.isMultiple)},c.selectedLabels=function(e){e=e||{};var t=e.mode||"html",n=o.nodesToArray(l[0].querySelectorAll("md-option[selected]"));if(n.length){var i;return"html"==t?i=function(e){return e.innerHTML}:"aria"==t&&(i=function(e){return e.hasAttribute("aria-label")?e.getAttribute("aria-label"):e.textContent}),n.map(i).join(", ")}return""},c.select=function(e,t){var n=c.options[e];n&&n.setSelected(!0),c.selected[e]=t},c.deselect=function(e){var t=c.options[e];t&&t.setSelected(!1),delete c.selected[e]},c.addOption=function(e,n){if(t.isDefined(c.options[e]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+n.value+'" found.');c.options[e]=n,t.isDefined(c.selected[e])&&(c.select(e,n.value),c.refreshViewValue())},c.removeOption=function(e){delete c.options[e]},c.refreshViewValue=function(){var e,n=[];for(var o in c.selected)(e=c.options[o])?n.push(e.value):n.push(c.selected[o]);var i=c.ngModel.$options&&c.ngModel.$options.trackBy,r=c.isMultiple?n:n[0],l=c.ngModel.$modelValue;(i?t.equals(l,r):l==r)||(c.ngModel.$setViewValue(r),c.ngModel.$render())}}return l.$inject=["$scope","$attrs","$element"],{restrict:"E",require:["mdSelectMenu"],scope:!0,controller:l,link:{pre:r}}}function r(e,n){function o(e,n){return e.append(t.element('<div class="md-text">').append(e.contents())),e.attr("tabindex",n.tabindex||"0"),i}function i(o,i,r,l){function a(e,t,n){if(!c.hashGetter)return void(n||o.$$postDigest(function(){a(e,t,!0)}));var i=c.hashGetter(t,o),r=c.hashGetter(e,o);s.hashKey=r,s.value=e,c.removeOption(i,s),c.addOption(r,s)}function d(){var e={role:"option","aria-selected":"false"};i[0].hasAttribute("id")||(e.id="select_option_"+n.nextUid()),i.attr(e)}var s=l[0],c=l[1];t.isDefined(r.ngValue)?o.$watch(r.ngValue,a):t.isDefined(r.value)?a(r.value):o.$watch(function(){return i.text()},a),r.$observe("disabled",function(e){e?i.attr("tabindex","-1"):i.attr("tabindex","0")}),o.$$postDigest(function(){r.$observe("selected",function(e){t.isDefined(e)&&("string"==typeof e&&(e=!0),e?(c.isMultiple||c.deselect(Object.keys(c.selected)[0]),c.select(s.hashKey,s.value)):c.deselect(s.hashKey),c.refreshViewValue())})}),e.attach(o,i),d(),o.$on("$destroy",function(){c.removeOption(s.hashKey,s)})}function r(e){this.selected=!1,this.setSelected=function(t){t&&!this.selected?e.attr({selected:"selected","aria-selected":"true"}):!t&&this.selected&&(e.removeAttr("selected"),e.attr("aria-selected","false")),this.selected=t}}return r.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:r,compile:o}}function l(){function e(e,n){var o=e.find("label");o.length||(o=t.element("<label>"),e.prepend(o)),o.addClass("md-container-ignore"),n.label&&o.text(n.label)}return{restrict:"E",compile:e}}function a(e){function o(e,o,s,c,u,p,f,m,h){function g(e,t,n){function o(){return f(t,{addClass:"md-leave"}).start()}function i(){t.removeClass("md-active"),t.attr("aria-hidden","true"),t[0].style.display="none",b(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}return n=n||{},n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?i():o().then(i)}function v(i,r,l){function a(e,t,n){return n.parent.append(t),u(function(e,n){try{f(t,{removeClass:"md-leave",duration:0}).start().then(d).then(e)}catch(o){n(o)}})}function d(){return u(function(e){if(l.isRemoved)return u.reject(!1);var t=$(i,r,l);t.container.element.css(k.toCss(t.container.styles)),t.dropDown.element.css(k.toCss(t.dropDown.styles)),p(function(){r.addClass("md-active"),t.dropDown.element.css(k.toCss({transform:""})),v(l.focusedNode),e()})})}function g(e,t,n){return n.disableParentScroll&&!s.getClosest(n.target,"MD-DIALOG")?n.restoreScroll=s.disableScrollAround(n.element,n.parent):n.disableParentScroll=!1,n.hasBackdrop&&(n.backdrop=s.createBackdrop(e,"md-select-backdrop md-click-catcher"),m.enter(n.backdrop,h[0].body,null,{duration:0})),function(){n.backdrop&&n.backdrop.remove(),n.disableParentScroll&&n.restoreScroll(),delete n.restoreScroll}}function v(e){e&&!e.hasAttribute("disabled")&&e.focus()}function b(e,n){var o=r.find("md-select-menu");if(!n.target)throw new Error(s.supplant(y,[n.target]));t.extend(n,{isRemoved:!1,target:t.element(n.target),parent:t.element(n.parent),selectEl:o,contentEl:r.find("md-content"),optionNodes:o[0].getElementsByTagName("md-option")})}function w(){var e=function(e,t,n){return function(){if(!n.isRemoved){var o=$(e,t,n),i=o.container,r=o.dropDown;i.element.css(k.toCss(i.styles)),r.element.css(k.toCss(r.styles))}}}(i,r,l),n=t.element(c);return n.on("resize",e),n.on("orientationchange",e),function(){n.off("resize",e),n.off("orientationchange",e)}}function C(){l.loadingAsync&&!l.isRemoved&&(i.$$loadingAsyncDone=!1,i.progressMode="indeterminate",u.when(l.loadingAsync).then(function(){i.$$loadingAsyncDone=!0,i.progressMode="",delete l.loadingAsync}).then(function(){p(d)}))}function M(){function t(t){t.preventDefault(),t.stopPropagation(),l.restoreFocus=!1,s.nextTick(e.hide,!0)}function i(t){var n=o.KEY_CODE;switch(t.preventDefault(),t.stopPropagation(),t.keyCode){case n.UP_ARROW:return c();case n.DOWN_ARROW:return d();case n.SPACE:case n.ENTER:var i=s.getClosest(t.target,"md-option");i&&(p.triggerHandler({type:"click",target:i}),t.preventDefault()),u(t);break;case n.TAB:case n.ESCAPE:t.stopPropagation(),t.preventDefault(),l.restoreFocus=!0,s.nextTick(e.hide,!0);break;default:if(t.keyCode>=31&&t.keyCode<=90){var r=p.controller("mdSelectMenu").optNodeForKeyboardSearch(t);l.focusedNode=r||l.focusedNode,r&&r.focus()}}}function a(e){var t,o=s.nodesToArray(l.optionNodes),i=o.indexOf(l.focusedNode);do-1===i?i=0:"next"===e&&i<o.length-1?i++:"prev"===e&&i>0&&i--,t=o[i],t.hasAttribute("disabled")&&(t=n);while(!t&&i<o.length-1&&i>0);t&&t.focus(),l.focusedNode=t}function d(){a("next")}function c(){a("prev")}function u(t){function n(){var e=!1;if(t&&t.currentTarget.children.length>0){var n=t.currentTarget.children[0],o=n.scrollHeight>n.clientHeight;if(o&&n.children.length>0){var i=t.pageX-t.currentTarget.getBoundingClientRect().left;i>n.querySelector("md-option").offsetWidth&&(e=!0)}}return e}if(!(t&&"click"==t.type&&t.currentTarget!=p[0]||n())){var o=s.getClosest(t.target,"md-option");o&&o.hasAttribute&&!o.hasAttribute("disabled")&&(t.preventDefault(),t.stopPropagation(),f.isMultiple||(l.restoreFocus=!0,s.nextTick(function(){e.hide(f.ngModel.$viewValue)},!0)))}}if(!l.isRemoved){var p=l.selectEl,f=p.controller("mdSelectMenu")||{};return r.addClass("md-clickable"),l.backdrop&&l.backdrop.on("click",t),p.on("keydown",i),p.on("click",u),function(){l.backdrop&&l.backdrop.off("click",t),p.off("keydown",i),p.off("click",u),r.removeClass("md-clickable"),l.isRemoved=!0}}}return C(),b(i,l),l.hideBackdrop=g(i,r,l),a(i,r,l).then(function(e){return r.attr("aria-hidden","false"),l.alreadyOpen=!0,l.cleanupInteraction=M(),l.cleanupResizing=w(),e},l.hideBackdrop)}function b(e){var t=e.selectCtrl;if(t){var n=e.selectEl.controller("mdSelectMenu");t.setLabelText(n.selectedLabels()),t.triggerClose()}}function $(e,n,o){var u,p=n[0],f=o.target[0].children[0],m=h[0].body,g=o.selectEl[0],v=o.contentEl[0],b=m.getBoundingClientRect(),$=f.getBoundingClientRect(),y=!1,k={left:b.left+d,top:d,bottom:b.height-d,right:b.width-d-(s.floatingScrollbars()?16:0)},w={top:$.top-k.top,left:$.left-k.left,right:k.right-($.left+$.width),bottom:k.bottom-($.top+$.height)},C=b.width-2*d,M=g.querySelector("md-option[selected]"),x=g.getElementsByTagName("md-option"),S=g.getElementsByTagName("md-optgroup"),A=a(n,v),O=i(o.loadingAsync);u=O?v.firstElementChild||v:M?M:S.length?S[0]:x.length?x[0]:v.firstElementChild||v,v.offsetWidth>C?v.style["max-width"]=C+"px":v.style.maxWidth=null,y&&(v.style["min-width"]=$.width+"px"),A&&g.classList.add("md-overflow");var D=u;"MD-OPTGROUP"===(D.tagName||"").toUpperCase()&&(D=x[0]||v.firstElementChild||v,u=D),o.focusedNode=D,p.style.display="block";var E=g.getBoundingClientRect(),T=l(u);if(u){var R=c.getComputedStyle(u);T.paddingLeft=parseInt(R.paddingLeft,10)||0,T.paddingRight=parseInt(R.paddingRight,10)||0}if(A){var B=v.offsetHeight/2;v.scrollTop=T.top+T.height/2-B,w.top<B?v.scrollTop=Math.min(T.top,v.scrollTop+B-w.top):w.bottom<B&&(v.scrollTop=Math.max(T.top+T.height-E.height,v.scrollTop-B+w.bottom))}var V,P,L,N;y?(V=$.left,P=$.top+$.height,L="50% 0",P+E.height>k.bottom&&(P=$.top-E.height,L="50% 100%")):(V=$.left+T.left-T.paddingLeft+2,P=Math.floor($.top+$.height/2-T.height/2-T.top+v.scrollTop)+2,L=T.left+$.width/2+"px "+(T.top+T.height/2-v.scrollTop)+"px 0px",N=Math.min($.width+T.paddingLeft+T.paddingRight,C));var j=p.getBoundingClientRect(),I=Math.round(100*Math.min($.width/E.width,1))/100,F=Math.round(100*Math.min($.height/E.height,1))/100;return{container:{element:t.element(p),styles:{left:Math.floor(r(k.left,V,k.right-j.width)),top:Math.floor(r(k.top,P,k.bottom-j.height)),"min-width":N}},dropDown:{element:t.element(g),styles:{transformOrigin:L,transform:o.alreadyOpen?"":s.supplant("scale({0},{1})",[I,F])}}}}var y="$mdSelect.show() expected a target element in options.target but got '{0}'!",k=s.dom.animator;return{parent:"body",themable:!0,onShow:v,onRemove:g,hasBackdrop:!0,disableParentScroll:!0}}function i(e){return e&&t.isFunction(e.then)}function r(e,t,n){return Math.max(e,Math.min(t,n))}function l(e){return e?{left:e.offsetLeft,top:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}:{left:0,top:0,width:0,height:0}}function a(e,t){var n=!1;try{var o=e[0].style.display;e[0].style.display="block",n=t.scrollHeight>t.offsetHeight,e[0].style.display=o}finally{}return n}return o.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],e("$mdSelect").setDefaults({methods:["target"],options:o})}var d=8,s=0;t.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",o).directive("mdSelectMenu",i).directive("mdOption",r).directive("mdOptgroup",l).provider("$mdSelect",a),o.$inject=["$mdSelect","$mdUtil","$mdTheming","$mdAria","$compile","$parse"],i.$inject=["$parse","$mdUtil","$mdTheming"],r.$inject=["$mdButtonInkRipple","$mdUtil"],a.$inject=["$$interimElementProvider"]}(window,window.angular);
{
"name": "angular-material-showHide",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(n,i,t){"use strict";function e(n,i){return["$mdUtil",function(t){return{restrict:"A",multiElement:!0,link:function(e,o,r){var c=e.$on("$md-resize-enable",function(){c(),e.$watch(r[n],function(n){!!n===i&&(t.nextTick(function(){e.$broadcast("$md-resize")}),t.dom.animator.waitTransitionEnd(o).then(function(){e.$broadcast("$md-resize")}))})})}}}]}i.module("material.components.showHide",["material.core"]).directive("ngShow",e("ngShow",!0)).directive("ngHide",e("ngHide",!1))}(window,window.angular);
{
"name": "angular-material-sidenav",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-backdrop": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-backdrop": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,n,t){"use strict";function o(e,t){return function(o){function r(){return e.when(o).then(function(e){return d=e,e})}var i,c="SideNav '"+o+"' is not available!",d=e.get(o);return d||e.notFoundError(o),i={isOpen:function(){return d&&d.isOpen()},isLockedOpen:function(){return d&&d.isLockedOpen()},toggle:function(){return d?d.toggle():t.reject(c)},open:function(){return d?d.open():t.reject(c)},close:function(){return d?d.close():t.reject(c)},then:function(e){var o=d?t.when(d):r();return o.then(e||n.noop)}}}}function r(){return{restrict:"A",require:"^mdSidenav",link:function(e,n,t,o){}}}function i(e,o,r,i,c,d,s,u,a,l){function f(d,f,p,m){function $(e,n){d.isLockedOpen=e,e===n?f.toggleClass("md-locked-open",!!e):c[e?"addClass":"removeClass"](f,"md-locked-open"),j.toggleClass("md-locked-open",!!e)}function g(e){var n=o.findFocusTarget(f)||o.findFocusTarget(f,"[md-sidenav-focus]")||f,t=f.parent();return t[e?"on":"off"]("keydown",k),j[e?"on":"off"]("click",h),e&&(C=l[0].activeElement),v(e),y=a.all([e?c.enter(j,t):c.leave(j),c[e?"removeClass":"addClass"](f,"md-closed")]).then(function(){d.isOpen&&n&&n.focus()})}function v(e){var o=f.parent();e&&!w?(w=o.css("overflow"),o.css("overflow","hidden")):n.isDefined(w)&&(o.css("overflow",w),w=t)}function O(e){return d.isOpen==e?a.when(!0):a(function(n){d.isOpen=e,o.nextTick(function(){y.then(function(e){d.isOpen||(C&&C.focus(),C=null),n(e)})})})}function k(e){var n=e.keyCode===r.KEY_CODE.ESCAPE;return n?h(e):a.when(!0)}function h(e){return e.preventDefault(),m.close()}var w,C=null,y=a.when(!0),S=s(p.mdIsLockedOpen),E=function(){return S(d.$parent,{$media:function(n){return u.warn("$media is deprecated for is-locked-open. Use $mdMedia instead."),e(n)},$mdMedia:e})},j=o.createBackdrop(d,"md-sidenav-backdrop md-opaque ng-enter");i.inherit(j,f),f.on("$destroy",function(){j.remove(),m.destroy()}),d.$on("$destroy",function(){j.remove()}),d.$watch(E,$),d.$watch("isOpen",g),m.$toggleOpen=O}return{restrict:"E",scope:{isOpen:"=?mdIsOpen"},controller:"$mdSidenavController",compile:function(e){return e.addClass("md-closed"),e.attr("tabIndex","-1"),f}}}function c(e,n,t,o,r){var i=this;i.isOpen=function(){return!!e.isOpen},i.isLockedOpen=function(){return!!e.isLockedOpen},i.open=function(){return i.$toggleOpen(!0)},i.close=function(){return i.$toggleOpen(!1)},i.toggle=function(){return i.$toggleOpen(!e.isOpen)},i.$toggleOpen=function(n){return r.when(e.isOpen=n)},i.destroy=o.register(i,t.mdComponentId)}n.module("material.components.sidenav",["material.core","material.components.backdrop"]).factory("$mdSidenav",o).directive("mdSidenav",i).directive("mdSidenavFocus",r).controller("$mdSidenavController",c),o.$inject=["$mdComponentRegistry","$q"],i.$inject=["$mdMedia","$mdUtil","$mdConstant","$mdTheming","$animate","$compile","$parse","$log","$q","$document"],c.$inject=["$scope","$element","$attrs","$mdComponentRegistry","$q"]}(window,window.angular);
{
"name": "angular-material-slider",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function i(e,n,i,a,r,o,d,s,l){function u(e,t){return e.attr({tabIndex:0,role:"slider"}),i.expect(e,"aria-label"),c}function c(i,u,c,m){function f(){w(),C(),g()}function v(e){B=parseFloat(e),u.attr("aria-valuemin",e),f()}function p(e){H=parseFloat(e),u.attr("aria-valuemax",e),f()}function $(e){J=parseFloat(e),g()}function h(e){u.attr("aria-disabled",!!e)}function g(){if(t.isDefined(c.mdDiscrete)&&!t.isUndefined(J)){if(0>=J){var e="Slider step value must be greater than zero when in discrete mode";throw l.error(e),new Error(e)}var i=Math.floor((H-B)/J);if(!Q){Q=t.element('<canvas style="position:absolute;">'),U.append(Q);var a=n.getComputedStyle(U[0]);X=Q[0].getContext("2d"),X.fillStyle=a.backgroundColor||"black"}var r=b();Q[0].width=r.width,Q[0].height=r.height;for(var o,d=0;i>=d;d++)o=Math.floor(r.width*(d/i)),X.fillRect(o-1,0,2,r.height)}}function w(){Z=G[0].getBoundingClientRect()}function b(){return W(),Z}function y(e){if(!u[0].hasAttribute("disabled")){var t;e.keyCode===r.KEY_CODE.LEFT_ARROW?t=-J:e.keyCode===r.KEY_CODE.RIGHT_ARROW&&(t=J),t&&((e.metaKey||e.ctrlKey||e.altKey)&&(t*=4),e.preventDefault(),e.stopPropagation(),i.$evalAsync(function(){x(m.$viewValue+t)}))}}function x(e){m.$setViewValue(k(D(e)))}function C(){isNaN(m.$viewValue)&&(m.$viewValue=m.$modelValue);var e=(m.$viewValue-B)/(H-B);i.modelValue=m.$viewValue,u.attr("aria-valuenow",m.$viewValue),V(e),_.text(m.$viewValue)}function k(e){return t.isNumber(e)?Math.max(B,Math.min(H,e)):void 0}function D(e){if(t.isNumber(e)){var n=Math.round((e-B)/J)*J+B;return Math.round(1e3*n)/1e3}}function V(e){var t=100*e+"%";I.css("width",t),z.css("left",t),u.toggleClass("md-min",0===e),u.toggleClass("md-max",1===e)}function M(e){if(!P()){u.addClass("md-active"),u[0].focus(),w();var t=N(L(e.pointer.x)),n=k(D(t));i.$apply(function(){x(n),V(O(n))})}}function S(e){if(!P()){u.removeClass("md-dragging md-active");var t=N(L(e.pointer.x)),n=k(D(t));i.$apply(function(){x(n),C()})}}function A(e){P()||(ee=!0,e.stopPropagation(),u.addClass("md-dragging"),q(e))}function E(e){ee&&(e.stopPropagation(),q(e))}function R(e){ee&&(e.stopPropagation(),ee=!1)}function q(e){te?K(e.pointer.x):F(e.pointer.x)}function F(e){i.$evalAsync(function(){x(N(L(e)))})}function K(e){var t=N(L(e)),n=k(D(t));V(L(e)),_.text(n)}function L(e){return Math.max(0,Math.min(1,(e-Z.left)/Z.width))}function N(e){return B+e*(H-B)}function O(e){return(e-B)/(H-B)}o(u),m=m||{$setViewValue:function(e){this.$viewValue=e,this.$viewChangeListeners.forEach(function(e){e()})},$parsers:[],$formatters:[],$viewChangeListeners:[]};var P=t.noop;null!=c.disabled?P=function(){return!0}:c.ngDisabled&&(P=t.bind(null,s(c.ngDisabled),i.$parent));var T=t.element(u[0].querySelector(".md-thumb")),_=t.element(u[0].querySelector(".md-thumb-text")),z=T.parent(),G=t.element(u[0].querySelector(".md-track-container")),I=t.element(u[0].querySelector(".md-track-fill")),U=t.element(u[0].querySelector(".md-track-ticks")),W=a.throttle(w,5e3);t.isDefined(c.min)?c.$observe("min",v):v(0),t.isDefined(c.max)?c.$observe("max",p):p(100),t.isDefined(c.step)?c.$observe("step",$):$(1);var Y=t.noop;c.ngDisabled&&(Y=i.$parent.$watch(c.ngDisabled,h)),d.register(u,"drag"),u.on("keydown",y).on("$md.pressdown",M).on("$md.pressup",S).on("$md.dragstart",A).on("$md.drag",E).on("$md.dragend",R),setTimeout(f,0);var j=e.throttle(f);t.element(n).on("resize",j),i.$on("$destroy",function(){t.element(n).off("resize",j),Y()}),m.$render=C,m.$viewChangeListeners.push(C),m.$formatters.push(k),m.$formatters.push(D);var B,H,J,Q,X,Z={};w();var ee=!1,te=t.isDefined(c.mdDiscrete)}return{scope:{},require:"?ngModel",template:'<div class="md-slider-wrapper"><div class="md-track-container"><div class="md-track"></div><div class="md-track md-track-fill"></div><div class="md-track-ticks"></div></div><div class="md-thumb-container"><div class="md-thumb"></div><div class="md-focus-thumb"></div><div class="md-focus-ring"></div><div class="md-sign"><span class="md-thumb-text"></span></div><div class="md-disabled-thumb"></div></div></div>',compile:u}}t.module("material.components.slider",["material.core"]).directive("mdSlider",i),i.$inject=["$$rAF","$window","$mdAria","$mdUtil","$mdConstant","$mdTheming","$mdGesture","$parse","$log"]}(window,window.angular);
{
"name": "angular-material-sticky",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-content": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-content": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,n){"use strict";function r(t,r,o,i){function l(t){function e(t,e){e.addClass("md-sticky-clone");var n={element:t,clone:e};return v.items.push(n),i.nextTick(function(){m.prepend(n.clone)}),d(),function(){v.items.forEach(function(e,n){e.element[0]===t[0]&&(v.items.splice(n,1),e.clone.remove())}),d()}}function l(){v.items.forEach(c),v.items=v.items.sort(function(t,e){return t.top<e.top?-1:1});for(var t,e=m.prop("scrollTop"),n=v.items.length-1;n>=0;n--)if(e>v.items[n].top){t=v.items[n];break}u(t)}function c(t){var e=t.element[0];for(t.top=0,t.left=0;e&&e!==m[0];)t.top+=e.offsetTop,t.left+=e.offsetLeft,e=e.offsetParent;t.height=t.element.prop("offsetHeight"),t.clone.css("margin-left",t.left+"px"),i.floatingScrollbars()&&t.clone.css("margin-right","0")}function a(){var t=m.prop("scrollTop"),e=t>(a.prevScrollTop||0);if(a.prevScrollTop=t,0===t)return void u(null);if(e){if(v.next&&v.next.top<=t)return void u(v.next);if(v.current&&v.next&&v.next.top-t<=v.next.height)return void p(v.current,t+(v.next.top-v.next.height-t))}if(!e){if(v.current&&v.prev&&t<v.current.top)return void u(v.prev);if(v.next&&v.current&&t>=v.next.top-v.current.height)return void p(v.current,t+(v.next.top-t-v.current.height))}v.current&&p(v.current,t)}function u(t){if(v.current!==t){v.current&&(p(v.current,null),f(v.current,null)),t&&f(t,"active"),v.current=t;var e=v.items.indexOf(t);v.next=v.items[e+1],v.prev=v.items[e-1],f(v.next,"next"),f(v.prev,"prev")}}function f(t,e){t&&t.state!==e&&(t.state&&(t.clone.attr("sticky-prev-state",t.state),t.element.attr("sticky-prev-state",t.state)),t.clone.attr("sticky-state",e),t.element.attr("sticky-state",e),t.state=e)}function p(t,e){t&&(null===e||e===n?t.translateY&&(t.translateY=null,t.clone.css(r.CSS.TRANSFORM,"")):(t.translateY=e,t.clone.css(r.CSS.TRANSFORM,"translate3d("+t.left+"px,"+e+"px,0)")))}var m=t.$element,d=o.throttle(l);s(m),m.on("$scrollstart",d),m.on("$scroll",a);var v;return v={prev:null,current:null,next:null,items:[],add:e,refreshElements:l}}function c(n){var r,o=e.element("<div>");t[0].body.appendChild(o[0]);for(var i=["sticky","-webkit-sticky"],l=0;l<i.length;++l)if(o.css({position:i[l],top:0,"z-index":2}),o.css("position")==i[l]){r=i[l];break}return o.remove(),r}function s(t){function e(){+i.now()-r>l?(n=!1,t.triggerHandler("$scrollend")):(t.triggerHandler("$scroll"),o.throttle(e))}var n,r,l=200;t.on("scroll touchmove",function(){n||(n=!0,o.throttle(e),t.triggerHandler("$scrollstart")),t.triggerHandler("$scroll"),r=+i.now()})}var a=c();return function(t,e,n){var r=e.controller("mdContent");if(r)if(a)e.css({position:a,top:0,"z-index":2});else{var o=r.$element.data("$$sticky");o||(o=l(r),r.$element.data("$$sticky",o));var i=o.add(e,n||e.clone());t.$on("$destroy",i)}}}e.module("material.components.sticky",["material.core","material.components.content"]).factory("$mdSticky",r),r.$inject=["$document","$mdConstant","$$rAF","$mdUtil"]}(window,window.angular);
{
"name": "angular-material-subheader",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-sticky": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-sticky": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,n,t){"use strict";function i(e,t,i,a){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader"> <div class="md-subheader-inner"> <span class="md-subheader-content"></span> </div></div>',link:function(d,r,c,s,u){function o(e){return n.element(e[0].querySelector(".md-subheader-content"))}i(r);var m=r[0].outerHTML;u(d,function(e){o(r).append(e)}),r.hasClass("md-no-sticky")||u(d,function(n){var i='<div class="md-subheader-wrapper">'+m+"</div>",c=t(i)(d);e(d,r,c),a.nextTick(function(){o(c).append(n)})})}}}n.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",i),i.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"]}(window,window.angular);
{
"name": "angular-material-swipe",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,i,t){"use strict";function n(e){function i(e){function i(i,r,o){var w=e(o[t]);r.on(n,function(e){i.$apply(function(){w(i,{$event:e})})})}return{restrict:"A",link:i}}var t="md"+e,n="$md."+e.toLowerCase();return i.$inject=["$parse"],i}i.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",n("SwipeLeft")).directive("mdSwipeRight",n("SwipeRight")).directive("mdSwipeUp",n("SwipeUp")).directive("mdSwipeDown",n("SwipeDown"))}(window,window.angular);
{
"name": "angular-material-switch",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-checkbox": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-checkbox": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function a(e,n,a,i,r,d){function o(e,o){var l=s.compile(e,o);return e.addClass("md-dragging"),function(e,o,s,c){function m(t){p&&p(e)||(t.stopPropagation(),o.addClass("md-dragging"),h={width:f.prop("offsetWidth")},o.removeClass("transition"))}function u(e){if(h){e.stopPropagation(),e.srcEvent&&e.srcEvent.preventDefault();var t=e.pointer.distanceX/h.width,n=c.$viewValue?1+t:t;n=Math.max(0,Math.min(1,n)),f.css(a.CSS.TRANSFORM,"translate3d("+100*n+"%,0,0)"),h.translate=n}}function v(e){if(h){e.stopPropagation(),o.removeClass("md-dragging"),f.css(a.CSS.TRANSFORM,"");var t=c.$viewValue?h.translate>.5:h.translate<.5;t&&g(!c.$viewValue),h=null}}function g(t){e.$apply(function(){c.$setViewValue(t),c.$render()})}c=c||n.fakeNgModel();var p=null;null!=s.disabled?p=function(){return!0}:s.ngDisabled&&(p=i(s.ngDisabled));var f=t.element(o[0].querySelector(".md-thumb-container")),$=t.element(o[0].querySelector(".md-container"));r(function(){o.removeClass("md-dragging")}),l(e,o,s,c),p&&e.$watch(p,function(e){o.attr("tabindex",e?-1:0)}),d.register($,"drag"),$.on("$md.dragstart",m).on("$md.drag",u).on("$md.dragend",v);var h}}var s=e[0];return{restrict:"E",priority:210,transclude:!0,template:'<div class="md-container"><div class="md-bar"></div><div class="md-thumb-container"><div class="md-thumb" md-ink-ripple md-ink-ripple-checkbox></div></div></div><div ng-transclude class="md-label"></div>',require:"?ngModel",compile:o}}t.module("material.components.switch",["material.core","material.components.checkbox"]).directive("mdSwitch",a),a.$inject=["mdCheckboxDirective","$mdUtil","$mdConstant","$parse","$$rAF","$mdGesture"]}(window,window.angular);
{
"name": "angular-material-tabs",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-icon": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-icon": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(e,t,n){"use strict";function a(){function e(e,a,s,d){if(d){var i=d.getTabElementIndex(a),c=n(a,"md-tab-body").remove(),o=n(a,"md-tab-label").remove(),r=d.insertTab({scope:e,parent:e.$parent,index:i,element:a,template:c.html(),label:o.html()},i);e.select=e.select||t.noop,e.deselect=e.deselect||t.noop,e.$watch("active",function(e){e&&d.select(r.getIndex())}),e.$watch("disabled",function(){d.refreshIndex()}),e.$watch(function(){return d.getTabElementIndex(a)},function(e){r.index=e,d.updateTabOrder()}),e.$on("$destroy",function(){d.removeTab(r)})}}function n(e,n){for(var a=e[0].children,s=0,d=a.length;d>s;s++){var i=a[s];if(i.tagName===n.toUpperCase())return t.element(i)}return t.element()}return{require:"^?mdTabs",terminal:!0,compile:function(a,s){var d=n(a,"md-tab-label"),i=n(a,"md-tab-body");if(0==d.length&&(d=t.element("<md-tab-label></md-tab-label>"),s.label?d.text(s.label):d.append(a.contents()),0==i.length)){var c=a.contents().detach();i=t.element("<md-tab-body></md-tab-body>"),i.append(c)}return a.append(d),i.html()&&a.append(i),e},scope:{active:"=?mdActive",disabled:"=?ngDisabled",select:"&?mdOnSelect",deselect:"&?mdOnDeselect"}}}function s(){return{require:"^?mdTabs",link:function(e,t,n,a){a&&a.attachRipple(e,t)}}}function d(){return{terminal:!0}}function i(e){return{restrict:"A",compile:function(t,n){var a=e(n.mdTabScroll,null,!0);return function(e,t){t.on("mousewheel",function(t){e.$apply(function(){a(e,{$event:t})})})}}}}function c(e,a,s,d,i,c,o,r,l,m){function b(){oe.selectedIndex=oe.selectedIndex||0,f(),p(),u(),m(a),c.nextTick(function(){ae(),Z(),se(),oe.tabs[oe.selectedIndex]&&oe.tabs[oe.selectedIndex].scope.select(),fe=!0,q()})}function f(){var e=r.$mdTabsTemplate,n=t.element(le.data);n.html(e),l(n.contents())(oe.parent),delete r.$mdTabsTemplate}function u(){t.element(s).on("resize",O),e.$on("$destroy",x)}function p(){e.$watch("$mdTabsCtrl.selectedIndex",y)}function g(e,t){var n=r.$normalize("md-"+e);t&&Y(e,t),r.$observe(n,function(t){oe[e]=t})}function h(e,t){function n(t){oe[e]="false"!==t}var a=r.$normalize("md-"+e);t&&Y(e,t),r.hasOwnProperty(a)&&n(r[a]),r.$observe(a,n)}function x(){be=!0,t.element(s).off("resize",O)}function T(e){t.element(le.wrapper).toggleClass("md-stretch-tabs",z()),se()}function v(e){oe.shouldCenterTabs=j()}function $(e,t){e!==t&&c.nextTick(oe.updateInkBarStyles)}function C(e,t){e!==t&&(oe.maxTabWidth=J(),oe.shouldCenterTabs=j(),c.nextTick(function(){oe.maxTabWidth=J(),Z(oe.selectedIndex)}))}function I(e){a[e?"removeClass":"addClass"]("md-no-tab-content")}function w(n){var a=oe.shouldCenterTabs?"":"-"+n+"px";t.element(le.paging).css(d.CSS.TRANSFORM,"translate3d("+a+", 0, 0)"),e.$broadcast("$mdTabsPaginationChanged")}function k(e,t){e!==t&&le.tabs[e]&&(Z(),X())}function y(t,n){t!==n&&(oe.selectedIndex=U(t),oe.lastSelectedIndex=n,oe.updateInkBarStyles(),ae(),Z(t),e.$broadcast("$mdTabsChanged"),oe.tabs[n]&&oe.tabs[n].scope.deselect(),oe.tabs[t]&&oe.tabs[t].scope.select())}function P(e){var t=a[0].getElementsByTagName("md-tab");return Array.prototype.indexOf.call(t,e[0])}function E(){E.watcher||(E.watcher=e.$watch(function(){c.nextTick(function(){E.watcher&&a.prop("offsetParent")&&(E.watcher(),E.watcher=null,O())},!1)}))}function L(e){switch(e.keyCode){case d.KEY_CODE.LEFT_ARROW:e.preventDefault(),V(-1,!0);break;case d.KEY_CODE.RIGHT_ARROW:e.preventDefault(),V(1,!0);break;case d.KEY_CODE.SPACE:case d.KEY_CODE.ENTER:e.preventDefault(),re||(oe.selectedIndex=oe.focusIndex)}oe.lastClick=!1}function W(e){re||(oe.focusIndex=oe.selectedIndex=e),oe.lastClick=!0,c.nextTick(function(){oe.tabs[e].element.triggerHandler("click")},!1)}function B(e){oe.shouldPaginate&&(e.preventDefault(),oe.offsetLeft=ie(oe.offsetLeft-e.wheelDelta))}function S(){var e,t,n=le.canvas.clientWidth,a=n+oe.offsetLeft;for(e=0;e<le.tabs.length&&(t=le.tabs[e],!(t.offsetLeft+t.offsetWidth>a));e++);oe.offsetLeft=ie(t.offsetLeft)}function D(){var e,t;for(e=0;e<le.tabs.length&&(t=le.tabs[e],!(t.offsetLeft+t.offsetWidth>=oe.offsetLeft));e++);oe.offsetLeft=ie(t.offsetLeft+t.offsetWidth-le.canvas.clientWidth)}function O(){oe.lastSelectedIndex=oe.selectedIndex,oe.offsetLeft=ie(oe.offsetLeft),c.nextTick(function(){oe.updateInkBarStyles(),q()})}function A(e){t.element(le.inkBar).toggleClass("ng-hide",e)}function N(e){a.toggleClass("md-dynamic-height",e)}function R(e){if(!be){var t=oe.selectedIndex,n=oe.tabs.splice(e.getIndex(),1)[0];ne(),oe.selectedIndex===t&&(n.scope.deselect(),oe.tabs[oe.selectedIndex]&&oe.tabs[oe.selectedIndex].scope.select()),c.nextTick(function(){q(),oe.offsetLeft=ie(oe.offsetLeft)})}}function F(e,n){var a=fe,s={getIndex:function(){return oe.tabs.indexOf(d)},isActive:function(){return this.getIndex()===oe.selectedIndex},isLeft:function(){return this.getIndex()<oe.selectedIndex},isRight:function(){return this.getIndex()>oe.selectedIndex},shouldRender:function(){return!oe.noDisconnect||this.isActive()},hasFocus:function(){return!oe.lastClick&&oe.hasFocus&&this.getIndex()===oe.focusIndex},id:c.nextUid()},d=t.extend(s,e);return t.isDefined(n)?oe.tabs.splice(n,0,d):oe.tabs.push(d),ee(),te(),c.nextTick(function(){q(),a&&oe.autoselect&&c.nextTick(function(){c.nextTick(function(){W(oe.tabs.indexOf(d))})})}),d}function M(){var e={};return e.wrapper=a[0].getElementsByTagName("md-tabs-wrapper")[0],e.data=a[0].getElementsByTagName("md-tab-data")[0],e.canvas=e.wrapper.getElementsByTagName("md-tabs-canvas")[0],e.paging=e.canvas.getElementsByTagName("md-pagination-wrapper")[0],e.tabs=e.paging.getElementsByTagName("md-tab-item"),e.dummies=e.canvas.getElementsByTagName("md-dummy-tab"),e.inkBar=e.paging.getElementsByTagName("md-ink-bar")[0],e.contentsWrapper=a[0].getElementsByTagName("md-tabs-content-wrapper")[0],e.contents=e.contentsWrapper.getElementsByTagName("md-tab-content"),e}function H(){return oe.offsetLeft>0}function _(){var e=le.tabs[le.tabs.length-1];return e&&e.offsetLeft+e.offsetWidth>le.canvas.clientWidth+oe.offsetLeft}function z(){switch(oe.stretchTabs){case"always":return!0;case"never":return!1;default:return!oe.shouldPaginate&&s.matchMedia("(max-width: 600px)").matches}}function j(){return oe.centerTabs&&!oe.shouldPaginate}function K(){if(oe.noPagination||!fe)return!1;var e=a.prop("clientWidth");return t.forEach(M().dummies,function(t){e-=t.offsetWidth}),0>e}function U(e){if(-1===e)return-1;var t,n,a=Math.max(oe.tabs.length-e,e);for(t=0;a>=t;t++){if(n=oe.tabs[e+t],n&&n.scope.disabled!==!0)return n.getIndex();if(n=oe.tabs[e-t],n&&n.scope.disabled!==!0)return n.getIndex()}return e}function Y(e,t,n){Object.defineProperty(oe,e,{get:function(){return n},set:function(e){var a=n;n=e,t&&t(e,a)}})}function q(){z()||G(),oe.maxTabWidth=J(),oe.shouldPaginate=K()}function G(){var e=1;t.forEach(M().dummies,function(t){e+=Math.ceil(t.offsetWidth)}),t.element(le.paging).css("width",e+"px")}function J(){return a.prop("clientWidth")}function Q(){var e=oe.tabs[oe.selectedIndex],t=oe.tabs[oe.focusIndex];oe.tabs=oe.tabs.sort(function(e,t){return e.index-t.index}),oe.selectedIndex=oe.tabs.indexOf(e),oe.focusIndex=oe.tabs.indexOf(t)}function V(e,t){var n,a=t?"focusIndex":"selectedIndex",s=oe[a];for(n=s+e;oe.tabs[n]&&oe.tabs[n].scope.disabled;n+=e);oe.tabs[n]&&(oe[a]=n)}function X(){M().dummies[oe.focusIndex].focus()}function Z(e){if(null==e&&(e=oe.focusIndex),le.tabs[e]&&!oe.shouldCenterTabs){var t=le.tabs[e],n=t.offsetLeft,a=t.offsetWidth+n;oe.offsetLeft=Math.max(oe.offsetLeft,ie(a-le.canvas.clientWidth+64)),oe.offsetLeft=Math.min(oe.offsetLeft,ie(n))}}function ee(){me.forEach(function(e){c.nextTick(e)}),me=[]}function te(){var e=!1;t.forEach(oe.tabs,function(t){t.template&&(e=!0)}),oe.hasContent=e}function ne(){oe.selectedIndex=U(oe.selectedIndex),oe.focusIndex=U(oe.focusIndex)}function ae(){if(!oe.dynamicHeight)return a.css("height","");if(!oe.tabs.length)return me.push(ae);var e=le.contents[oe.selectedIndex],t=e?e.offsetHeight:0,s=le.wrapper.offsetHeight,d=t+s,i=a.prop("clientHeight");if(i!==d){"bottom"===a.attr("md-align-tabs")&&(i-=s,d-=s,a.attr("md-border-bottom")!==n&&++i),re=!0;var r={height:i+"px"},l={height:d+"px"};a.css(r),o(a,{from:r,to:l,easing:"cubic-bezier(0.35, 0, 0.25, 1)",duration:.5}).start().done(function(){a.css({transition:"none",height:""}),c.nextTick(function(){a.css("transition","")}),re=!1})}}function se(){if(!le.tabs[oe.selectedIndex])return void t.element(le.inkBar).css({left:"auto",right:"auto"});if(!oe.tabs.length)return me.push(oe.updateInkBarStyles);if(!a.prop("offsetParent"))return E();var e,n=oe.selectedIndex,s=le.paging.offsetWidth,d=le.tabs[n],i=d.offsetLeft,o=s-i-d.offsetWidth;oe.shouldCenterTabs&&(e=Array.prototype.slice.call(le.tabs).reduce(function(e,t){return e+t.offsetWidth},0),s>e&&c.nextTick(se,!1)),de(),t.element(le.inkBar).css({left:i+"px",right:o+"px"})}function de(){var e=oe.selectedIndex,n=oe.lastSelectedIndex,a=t.element(le.inkBar);t.isNumber(n)&&a.toggleClass("md-left",n>e).toggleClass("md-right",e>n)}function ie(e){if(!le.tabs.length||!oe.shouldPaginate)return 0;var t=le.tabs[le.tabs.length-1],n=t.offsetLeft+t.offsetWidth;return e=Math.max(0,e),e=Math.min(n-le.canvas.clientWidth,e)}function ce(e,n){var a={colorElement:t.element(le.inkBar)};i.attach(e,n,a)}var oe=this,re=!1,le=M(),me=[],be=!1,fe=!1;g("stretchTabs",T),Y("focusIndex",k,oe.selectedIndex||0),Y("offsetLeft",w,0),Y("hasContent",I,!1),Y("maxTabWidth",$,J()),Y("shouldPaginate",C,!1),h("noInkBar",A),h("dynamicHeight",N),h("noPagination"),h("swipeContent"),h("noDisconnect"),h("autoselect"),h("centerTabs",v,!1),h("enableDisconnect"),oe.scope=e,oe.parent=e.$parent,oe.tabs=[],oe.lastSelectedIndex=null,oe.hasFocus=!1,oe.lastClick=!0,oe.shouldCenterTabs=j(),oe.updatePagination=c.debounce(q,100),oe.redirectFocus=X,oe.attachRipple=ce,oe.insertTab=F,oe.removeTab=R,oe.select=W,oe.scroll=B,oe.nextPage=S,oe.previousPage=D,oe.keydown=L,oe.canPageForward=_,oe.canPageBack=H,oe.refreshIndex=ne,oe.incrementIndex=V,oe.getTabElementIndex=P,oe.updateInkBarStyles=c.debounce(se,100),oe.updateTabOrder=c.debounce(Q,100),b()}function o(){return{scope:{selectedIndex:"=?mdSelected"},template:function(e,t){return t.$mdTabsTemplate=e.html(),'<md-tabs-wrapper> <md-tab-data></md-tab-data> <md-prev-button tabindex="-1" role="button" aria-label="Previous Page" aria-disabled="{{!$mdTabsCtrl.canPageBack()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageBack() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.previousPage()"> <md-icon md-svg-icon="md-tabs-arrow"></md-icon> </md-prev-button> <md-next-button tabindex="-1" role="button" aria-label="Next Page" aria-disabled="{{!$mdTabsCtrl.canPageForward()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageForward() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.nextPage()"> <md-icon md-svg-icon="md-tabs-arrow"></md-icon> </md-next-button> <md-tabs-canvas tabindex="{{ $mdTabsCtrl.hasFocus ? -1 : 0 }}" aria-activedescendant="tab-item-{{$mdTabsCtrl.tabs[$mdTabsCtrl.focusIndex].id}}" ng-focus="$mdTabsCtrl.redirectFocus()" ng-class="{ \'md-paginated\': $mdTabsCtrl.shouldPaginate, \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" ng-keydown="$mdTabsCtrl.keydown($event)" role="tablist"> <md-pagination-wrapper ng-class="{ \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" md-tab-scroll="$mdTabsCtrl.scroll($event)"> <md-tab-item tabindex="-1" class="md-tab" style="max-width: {{ $mdTabsCtrl.maxTabWidth + \'px\' }}" ng-repeat="tab in $mdTabsCtrl.tabs" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-click="$mdTabsCtrl.select(tab.getIndex())" ng-class="{ \'md-active\': tab.isActive(), \'md-focused\': tab.hasFocus(), \'md-disabled\': tab.scope.disabled }" ng-disabled="tab.scope.disabled" md-swipe-left="$mdTabsCtrl.nextPage()" md-swipe-right="$mdTabsCtrl.previousPage()" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-tab-item> <md-ink-bar></md-ink-bar> </md-pagination-wrapper> <div class="md-visually-hidden md-dummy-wrapper"> <md-dummy-tab class="md-tab" tabindex="-1" id="tab-item-{{::tab.id}}" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-focus="$mdTabsCtrl.hasFocus = true" ng-blur="$mdTabsCtrl.hasFocus = false" ng-repeat="tab in $mdTabsCtrl.tabs" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-dummy-tab> </div> </md-tabs-canvas> </md-tabs-wrapper> <md-tabs-content-wrapper ng-show="$mdTabsCtrl.hasContent && $mdTabsCtrl.selectedIndex >= 0"> <md-tab-content id="tab-content-{{::tab.id}}" role="tabpanel" aria-labelledby="tab-item-{{::tab.id}}" md-swipe-left="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(1)" md-swipe-right="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(-1)" ng-if="$mdTabsCtrl.hasContent" ng-repeat="(index, tab) in $mdTabsCtrl.tabs" ng-class="{ \'md-no-transition\': $mdTabsCtrl.lastSelectedIndex == null, \'md-active\': tab.isActive(), \'md-left\': tab.isLeft(), \'md-right\': tab.isRight(), \'md-no-scroll\': $mdTabsCtrl.dynamicHeight }"> <div md-tabs-template="::tab.template" md-connected-if="tab.isActive()" md-scope="::tab.parent" ng-if="$mdTabsCtrl.enableDisconnect || tab.shouldRender()"></div> </md-tab-content> </md-tabs-content-wrapper>'},controller:"MdTabsController",controllerAs:"$mdTabsCtrl",bindToController:!0}}function r(e,t){function n(n,a,s,d){function i(){n.$watch("connected",function(e){e===!1?c():o()}),n.$on("$destroy",o)}function c(){d.enableDisconnect&&t.disconnectScope(r)}function o(){d.enableDisconnect&&t.reconnectScope(r)}if(d){var r=d.enableDisconnect?n.compileScope.$new():n.compileScope;return a.html(n.template),e(a.contents())(r),a.on("DOMSubtreeModified",function(){d.updatePagination(),d.updateInkBarStyles()}),t.nextTick(i)}}return{restrict:"A",link:n,scope:{template:"=mdTabsTemplate",connected:"=?mdConnectedIf",compileScope:"=mdScope"},require:"^?mdTabs"}}t.module("material.components.tabs",["material.core","material.components.icon"]),t.module("material.components.tabs").directive("mdTab",a),t.module("material.components.tabs").directive("mdTabItem",s),t.module("material.components.tabs").directive("mdTabLabel",d),t.module("material.components.tabs").directive("mdTabScroll",i),i.$inject=["$parse"],t.module("material.components.tabs").controller("MdTabsController",c),c.$inject=["$scope","$element","$window","$mdConstant","$mdTabInkRipple","$mdUtil","$animateCss","$attrs","$compile","$mdTheming"],t.module("material.components.tabs").directive("mdTabs",o),t.module("material.components.tabs").directive("mdTabsTemplate",r),r.$inject=["$compile","$mdUtil"]}(window,window.angular);
{
"name": "angular-material-toast",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-button": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-button": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,n){"use strict";function o(t){return{restrict:"E",link:function(e,n,o){e.$on("$destroy",function(){t.destroy()})}}}function a(t){function n(t){a=t}function o(t,n,o,i){function s(e,s,r){a=r.textContent||r.content;var p=!i("gt-sm");return s=o.extractElementByName(s,"md-toast",!0),r.onSwipe=function(t,e){var a=t.type.replace("$md.",""),i=a.replace("swipe","");"down"===i&&-1!=r.position.indexOf("top")&&!p||"up"===i&&(-1!=r.position.indexOf("bottom")||p)||("left"!==i&&"right"!==i||!p)&&(s.addClass("md-"+a),o.nextTick(n.cancel))},r.openClass=d(r.position),r.parent.addClass(r.openClass),o.hasComputedStyle(r.parent,"position","static")&&r.parent.css("position","relative"),s.on(m,r.onSwipe),s.addClass(p?"md-bottom":r.position.split(" ").map(function(t){return"md-"+t}).join(" ")),r.parent&&r.parent.addClass("md-toast-animating"),t.enter(s,r.parent).then(function(){r.parent&&r.parent.removeClass("md-toast-animating")})}function r(e,n,a){return n.off(m,a.onSwipe),a.parent&&a.parent.addClass("md-toast-animating"),a.openClass&&a.parent.removeClass(a.openClass),(1==a.$destroy?n.remove():t.leave(n)).then(function(){a.parent&&a.parent.removeClass("md-toast-animating"),o.hasComputedStyle(a.parent,"position","static")&&a.parent.css("position","")})}function d(t){return i("gt-sm")?"md-toast-open-"+(t.indexOf("top")>-1?"top":"bottom"):"md-toast-open-bottom"}var m="$md.swipeleft $md.swiperight $md.swipeup $md.swipedown";return{onShow:s,onRemove:r,position:"bottom left",themable:!0,hideDelay:3e3,autoWrap:!0,transformTemplate:function(t,n){var o=n.autoWrap&&t&&!/md-toast-content/g.test(t);if(o){var a=e.element(t),i='<div class="md-toast-content">'+a.html()+"</div>";return a.empty().append(i),a[0].outerHTML}return o?'<div class="md-toast-content">'+t+"</div>":t||""}}}var a,i="ok",s=t("$mdToast").setDefaults({methods:["position","hideDelay","capsule","parent"],options:o}).addPreset("simple",{argOption:"textContent",methods:["textContent","content","action","highlightAction","theme","parent"],options:["$mdToast","$mdTheming",function(t,e){var n={template:'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}"> <div class="md-toast-content"> <span flex role="alert" aria-relevant="all" aria-atomic="true"> {{ toast.content }} </span> <md-button class="md-action" ng-if="toast.action" ng-click="toast.resolve()" ng-class="{\'md-highlight\': toast.highlightAction}"> {{ toast.action }} </md-button> </div></md-toast>',controller:["$scope",function(e){var n=this;e.$watch(function(){return a},function(){n.content=a}),this.resolve=function(){t.hide(i)}}],theme:e.defaultTheme(),controllerAs:"toast",bindToController:!0};return n}]}).addMethod("updateTextContent",n).addMethod("updateContent",n);return o.$inject=["$animate","$mdToast","$mdUtil","$mdMedia"],s}e.module("material.components.toast",["material.core","material.components.button"]).directive("mdToast",o).provider("$mdToast",a),o.$inject=["$mdToast"],a.$inject=["$$interimElementProvider"]}(window,window.angular);
{
"name": "angular-material-toolbar",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-content": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-content": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(n,t,o){"use strict";function e(n,o,e,r,a){var i=t.bind(null,e.supplant,"translate3d(0,{0}px,0)");return{template:"",restrict:"E",link:function(l,c,s){function m(){function r(n){var t=c.parent().find("md-content");!p&&t.length&&m(null,t),n=l.$eval(n),n===!1?$():$=f()}function m(n,t){t&&c.parent()[0]===t.parent()[0]&&(p&&p.off("scroll",v),p=t,$=f())}function d(n){var t=n?n.target.scrollTop:g;k(),S=Math.min(h/w,Math.max(0,S+t-g)),c.css(o.CSS.TRANSFORM,i([-S*w])),p.css(o.CSS.TRANSFORM,i([(h-S)*w])),g=t,e.nextTick(function(){var n=c.hasClass("md-whiteframe-z1");n&&!S?a.removeClass(c,"md-whiteframe-z1"):!n&&S&&a.addClass(c,"md-whiteframe-z1")})}function f(){return p?(p.on("scroll",v),p.attr("scroll-shrink","true"),n(u),function(){p.off("scroll",v),p.attr("scroll-shrink","false"),n(u)}):t.noop}function u(){h=c.prop("offsetHeight");var n=-h*w+"px";p.css({"margin-top":n,"margin-bottom":n}),d()}var h,p,$=t.noop,S=0,g=0,w=s.mdShrinkSpeedFactor||.5,v=n.throttle(d),k=e.debounce(u,5e3);l.$on("$mdContentLoaded",m),s.$observe("mdScrollShrink",r),s.ngShow&&l.$watch(s.ngShow,u),s.ngHide&&l.$watch(s.ngHide,u),l.$on("$destroy",$)}r(c),t.isDefined(s.mdScrollShrink)&&m()}}}t.module("material.components.toolbar",["material.core","material.components.content"]).directive("mdToolbar",e),e.$inject=["$$rAF","$mdConstant","$mdUtil","$mdTheming","$animate"]}(window,window.angular);
{
"name": "angular-material-tooltip",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,o){"use strict";function n(t,o,n,i,r,c,a,l,u){function d(a,d,h){function m(){e.isDefined(h.mdDelay)||(a.delay=s)}function p(){var t="center top";switch(a.direction){case"left":t="right center";break;case"right":t="left center";break;case"top":t="center bottom";break;case"bottom":t="center top"}C.css("transform-origin",t)}function v(){a.$on("$destroy",function(){a.visible=!1,d.remove(),e.element(o).off("resize",q)}),a.$watch("visible",function(t){t?y():E()}),a.$watch("direction",x)}function b(){k.attr("aria-label")||k.text().trim()||k.attr("aria-label",d.text().trim())}function w(){d.detach(),d.attr("role","tooltip")}function g(){function t(){$(!1)}var n=!1,r=e.element(o);if(k[0]&&"MutationObserver"in o){var c=new MutationObserver(function(t){t.forEach(function(t){"disabled"===t.attributeName&&k[0].disabled&&($(!1),a.$digest())})});c.observe(k[0],{attributes:!0})}var l=function(){u=document.activeElement===k[0]},u=!1;r.on("blur",l),r.on("resize",q),document.addEventListener("scroll",t,!0),a.$on("$destroy",function(){r.off("blur",l),r.off("resize",q),document.removeEventListener("scroll",t,!0),c&&c.disconnect()});var d=function(t){return"focus"===t.type&&u?void(u=!1):(k.on("blur mouseleave touchend touchcancel",s),void $(!0))},s=function(){var t=a.hasOwnProperty("autohide")?a.autohide:h.hasOwnProperty("mdAutohide");(t||n||i[0].activeElement!==k[0])&&(k.off("blur mouseleave touchend touchcancel",s),k.triggerHandler("blur"),$(!1)),n=!1};k.on("mousedown",function(){n=!0}),k.on("focus mouseenter touchstart",d)}function $(e){$.value=!!e,$.queued||(e?($.queued=!0,t(function(){a.visible=$.value,$.queued=!1},a.delay)):r.nextTick(function(){a.visible=!1}))}function y(){return P.append(d),r.hasComputedStyle(d,"display","none")?(a.visible=!1,void d.detach()):(x(),void e.forEach([d,C],function(t){l.addClass(t,"md-show")}))}function E(){var t=[];e.forEach([d,C],function(e){e.parent()&&e.hasClass("md-show")&&t.push(l.removeClass(e,"md-show"))}),u.all(t).then(function(){a.visible||d.detach()})}function x(){a.visible&&(p(),M())}function M(){function t(t){var e={left:t.left,top:t.top};return e.left=Math.min(e.left,P.prop("scrollWidth")-o.width-f),e.left=Math.max(e.left,f),e.top=Math.min(e.top,P.prop("scrollHeight")-o.height-f),e.top=Math.max(e.top,f),e}function e(t){return"left"===t?{left:n.left-o.width-f,top:n.top+n.height/2-o.height/2}:"right"===t?{left:n.left+n.width+f,top:n.top+n.height/2-o.height/2}:"top"===t?{left:n.left+n.width/2-o.width/2,top:n.top-o.height-f}:{left:n.left+n.width/2-o.width/2,top:n.top+n.height+f}}var o=r.offsetRect(d,P),n=r.offsetRect(k,P),i=e(a.direction),c=d.prop("offsetParent");a.direction?i=t(i):c&&i.top>c.scrollHeight-o.height-f&&(i=t(e("top"))),d.css({left:i.left+"px",top:i.top+"px"})}c(d);var k=r.getParentWithPointerEvents(d),C=e.element(d[0].getElementsByClassName("md-content")[0]),P=e.element(document.body),q=n.throttle(function(){x()});l.pin&&l.pin(d,k),m(),w(),g(),p(),v(),b()}var s=0,f=8;return{restrict:"E",transclude:!0,priority:210,template:'<div class="md-content" ng-transclude></div>',scope:{delay:"=?mdDelay",visible:"=?mdVisible",autohide:"=?mdAutohide",direction:"@?mdDirection"},link:d}}e.module("material.components.tooltip",["material.core"]).directive("mdTooltip",n),n.$inject=["$timeout","$window","$$rAF","$document","$mdUtil","$mdTheming","$rootElement","$animate","$q"]}(window,window.angular);
{
"name": "angular-material-virtualRepeat",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {
"angular-material-core": "1.0.0-rc7-master-c33819e",
"angular-material-showHide": "1.0.0-rc7-master-c33819e"
"angular-material-core": "1.0.0-master-19c11fd",
"angular-material-showHide": "1.0.0-master-19c11fd"
}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(t,e,i){"use strict";function s(){return{controller:o,template:n,compile:function(t,e){t.addClass("md-virtual-repeat-container").addClass(e.hasOwnProperty("mdOrientHorizontal")?"md-orient-horizontal":"md-orient-vertical")}}}function n(t){return'<div class="md-virtual-repeat-scroller"><div class="md-virtual-repeat-sizer"></div><div class="md-virtual-repeat-offsetter">'+t[0].innerHTML+"</div></div>"}function o(t,i,s,n,o,r,h,a){this.$rootScope=n,this.$scope=r,this.$element=h,this.$attrs=a,this.size=0,this.scrollSize=0,this.scrollOffset=0,this.horizontal=this.$attrs.hasOwnProperty("mdOrientHorizontal"),this.repeater=null,this.autoShrink=this.$attrs.hasOwnProperty("mdAutoShrink"),this.autoShrinkMin=parseInt(this.$attrs.mdAutoShrinkMin,10)||0,this.originalSize=null,this.offsetSize=parseInt(this.$attrs.mdOffsetSize,10)||0,this.$attrs.mdTopIndex?(this.bindTopIndex=s(this.$attrs.mdTopIndex),this.topIndex=this.bindTopIndex(this.$scope),e.isDefined(this.topIndex)||(this.topIndex=0,this.bindTopIndex.assign(this.$scope,0)),this.$scope.$watch(this.bindTopIndex,e.bind(this,function(t){t!==this.topIndex&&this.scrollToIndex(t)}))):this.topIndex=0,this.scroller=h[0].getElementsByClassName("md-virtual-repeat-scroller")[0],this.sizer=this.scroller.getElementsByClassName("md-virtual-repeat-sizer")[0],this.offsetter=this.scroller.getElementsByClassName("md-virtual-repeat-offsetter")[0];var l=e.bind(this,this.updateSize);t(e.bind(this,function(){l();var t=i.debounce(l,10,null,!1),s=e.element(o);this.size||t(),s.on("resize",t),r.$on("$destroy",function(){s.off("resize",t)}),r.$emit("$md-resize-enable"),r.$on("$md-resize",l)}))}function r(t){return{controller:h,priority:1e3,require:["mdVirtualRepeat","^^mdVirtualRepeatContainer"],restrict:"A",terminal:!0,transclude:"element",compile:function(e,i){var s=i.mdVirtualRepeat,n=s.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)\s*$/),o=n[1],r=t(n[2]),h=i.mdExtraName&&t(i.mdExtraName);return function(t,e,i,s,n){s[0].link_(s[1],n,o,r,h)}}}}function h(t,i,s,n,o,r,h){this.$scope=t,this.$element=i,this.$attrs=s,this.$browser=n,this.$document=o,this.$rootScope=r,this.$$rAF=h,this.onDemand=s.hasOwnProperty("mdOnDemand"),this.browserCheckUrlChange=n.$$checkUrlChange,this.newStartIndex=0,this.newEndIndex=0,this.newVisibleEnd=0,this.startIndex=0,this.endIndex=0,this.itemSize=t.$eval(s.mdItemSize)||null,this.isFirstRender=!0,this.isVirtualRepeatUpdating_=!1,this.itemsLength=0,this.unwatchItemSize_=e.noop,this.blocks={},this.pooledBlocks=[]}function a(t){if(!e.isFunction(t.getItemAtIndex)||!e.isFunction(t.getLength))throw Error("When md-on-demand is enabled, the Object passed to md-virtual-repeat must implement functions getItemAtIndex() and getLength() ");this.model=t}e.module("material.components.virtualRepeat",["material.core","material.components.showHide"]).directive("mdVirtualRepeatContainer",s).directive("mdVirtualRepeat",r);var l=1533917,d=3;o.$inject=["$$rAF","$mdUtil","$parse","$rootScope","$window","$scope","$element","$attrs"],o.prototype.register=function(t){this.repeater=t,e.element(this.scroller).on("scroll wheel touchmove touchend",e.bind(this,this.handleScroll_))},o.prototype.isHorizontal=function(){return this.horizontal},o.prototype.getSize=function(){return this.size},o.prototype.setSize_=function(t){this.size=t,this.$element[0].style[this.isHorizontal()?"width":"height"]=t+"px"},o.prototype.updateSize=function(){this.originalSize||(this.size=this.isHorizontal()?this.$element[0].clientWidth:this.$element[0].clientHeight,this.repeater&&this.repeater.containerUpdated())},o.prototype.getScrollSize=function(){return this.scrollSize},o.prototype.sizeScroller_=function(t){var e=this.isHorizontal()?"width":"height",i=this.isHorizontal()?"height":"width";if(this.sizer.innerHTML="",l>t)this.sizer.style[e]=t+"px";else{this.sizer.style[e]="auto",this.sizer.style[i]="auto";var s=Math.floor(t/l),n=document.createElement("div");n.style[e]=l+"px",n.style[i]="1px";for(var o=0;s>o;o++)this.sizer.appendChild(n.cloneNode(!1));n.style[e]=t-s*l+"px",this.sizer.appendChild(n)}},o.prototype.autoShrink_=function(t){var e=Math.max(t,this.autoShrinkMin*this.repeater.getItemSize());if(this.autoShrink&&e!==this.size){var i=this.originalSize||this.size;!i||i>e?(this.originalSize||(this.originalSize=this.size),this.setSize_(e)):this.originalSize&&(this.setSize_(this.originalSize),this.originalSize=null),this.repeater.containerUpdated()}},o.prototype.setScrollSize=function(t){var e=t+this.offsetSize;this.scrollSize!==e&&(this.sizeScroller_(e),this.autoShrink_(e),this.scrollSize=e)},o.prototype.getScrollOffset=function(){return this.scrollOffset},o.prototype.scrollTo=function(t){this.scroller[this.isHorizontal()?"scrollLeft":"scrollTop"]=t,this.handleScroll_()},o.prototype.scrollToIndex=function(t){var e=this.repeater.getItemSize(),i=this.repeater.itemsLength;t>i&&(t=i-1),this.scrollTo(e*t)},o.prototype.resetScroll=function(){this.scrollTo(0)},o.prototype.handleScroll_=function(){var t=this.isHorizontal()?this.scroller.scrollLeft:this.scroller.scrollTop;if(t!==this.scrollOffset){var e=this.repeater.getItemSize();if(e){var i=Math.max(0,Math.floor(t/e)-d),s=this.isHorizontal()?"translateX(":"translateY(";if(s+=i*e+"px)",this.scrollOffset=t,this.offsetter.style.webkitTransform=s,this.offsetter.style.transform=s,this.bindTopIndex){var n=Math.floor(t/e);n!==this.topIndex&&n<this.repeater.itemsLength&&(this.topIndex=n,this.bindTopIndex.assign(this.$scope,n),this.$rootScope.$$phase||this.$scope.$digest())}this.repeater.containerUpdated()}}},r.$inject=["$parse"],h.$inject=["$scope","$element","$attrs","$browser","$document","$rootScope","$$rAF"],h.Block,h.prototype.link_=function(t,i,s,n,o){this.container=t,this.transclude=i,this.repeatName=s,this.rawRepeatListExpression=n,this.extraName=o,this.sized=!1,this.repeatListExpression=e.bind(this,this.repeatListExpression_),this.container.register(this)},h.prototype.readItemSize_=function(){if(!this.itemSize){this.items=this.repeatListExpression(this.$scope),this.parentNode=this.$element[0].parentNode;var t=this.getBlock_(0);t.element[0].parentNode||this.parentNode.appendChild(t.element[0]),this.itemSize=t.element[0][this.container.isHorizontal()?"offsetWidth":"offsetHeight"]||null,this.blocks[0]=t,this.poolBlock_(0),this.itemSize&&this.containerUpdated()}},h.prototype.repeatListExpression_=function(t){var e=this.rawRepeatListExpression(t);if(this.onDemand&&e){var i=new a(e);return i.$$includeIndexes(this.newStartIndex,this.newVisibleEnd),i}return e},h.prototype.containerUpdated=function(){return this.itemSize?(this.sized||(this.items=this.repeatListExpression(this.$scope)),this.sized||(this.unwatchItemSize_(),this.sized=!0,this.$scope.$watchCollection(this.repeatListExpression,e.bind(this,function(t,e){this.isVirtualRepeatUpdating_||this.virtualRepeatUpdate_(t,e)}))),this.updateIndexes_(),void((this.newStartIndex!==this.startIndex||this.newEndIndex!==this.endIndex||this.container.getScrollOffset()>this.container.getScrollSize())&&(this.items instanceof a&&this.items.$$includeIndexes(this.newStartIndex,this.newEndIndex),this.virtualRepeatUpdate_(this.items,this.items)))):(this.unwatchItemSize_=this.$scope.$watchCollection(this.repeatListExpression,e.bind(this,function(t){t&&t.length&&this.$$rAF(e.bind(this,this.readItemSize_))})),void(this.$rootScope.$$phase||this.$scope.$digest()))},h.prototype.getItemSize=function(){return this.itemSize},h.prototype.virtualRepeatUpdate_=function(t,i){this.isVirtualRepeatUpdating_=!0;var s=t&&t.length||0,n=!1;if(this.items&&s<this.items.length&&0!==this.container.getScrollOffset())return this.items=t,void this.container.resetScroll();if(s!==this.itemsLength&&(n=!0,this.itemsLength=s),this.items=t,(t!==i||n)&&this.updateIndexes_(),this.parentNode=this.$element[0].parentNode,n&&this.container.setScrollSize(s*this.itemSize),this.isFirstRender){this.isFirstRender=!1;var o=this.$attrs.mdStartIndex?this.$scope.$eval(this.$attrs.mdStartIndex):this.container.topIndex;this.container.scrollToIndex(o)}Object.keys(this.blocks).forEach(function(t){var e=parseInt(t,10);(e<this.newStartIndex||e>=this.newEndIndex)&&this.poolBlock_(e)},this),this.$browser.$$checkUrlChange=e.noop;var r,h,a=[],l=[];for(r=this.newStartIndex;r<this.newEndIndex&&null==this.blocks[r];r++)h=this.getBlock_(r),this.updateBlock_(h,r),a.push(h);for(;null!=this.blocks[r];r++)this.updateBlock_(this.blocks[r],r);for(var d=r-1;r<this.newEndIndex;r++)h=this.getBlock_(r),this.updateBlock_(h,r),l.push(h);a.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(a),this.$element[0].nextSibling),l.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(l),this.blocks[d]&&this.blocks[d].element[0].nextSibling),this.$browser.$$checkUrlChange=this.browserCheckUrlChange,this.startIndex=this.newStartIndex,this.endIndex=this.newEndIndex,this.isVirtualRepeatUpdating_=!1},h.prototype.getBlock_=function(t){if(this.pooledBlocks.length)return this.pooledBlocks.pop();var i;return this.transclude(e.bind(this,function(e,s){i={element:e,"new":!0,scope:s},this.updateScope_(s,t),this.parentNode.appendChild(e[0])})),i},h.prototype.updateBlock_=function(t,e){this.blocks[e]=t,(t["new"]||t.scope.$index!==e||t.scope[this.repeatName]!==this.items[e])&&(t["new"]=!1,this.updateScope_(t.scope,e),this.$rootScope.$$phase||t.scope.$digest())},h.prototype.updateScope_=function(t,e){t.$index=e,t[this.repeatName]=this.items&&this.items[e],this.extraName&&(t[this.extraName(this.$scope)]=this.items[e])},h.prototype.poolBlock_=function(t){this.pooledBlocks.push(this.blocks[t]),this.parentNode.removeChild(this.blocks[t].element[0]),delete this.blocks[t]},h.prototype.domFragmentFromBlocks_=function(t){var e=this.$document[0].createDocumentFragment();return t.forEach(function(t){e.appendChild(t.element[0])}),e},h.prototype.updateIndexes_=function(){var t=this.items?this.items.length:0,e=Math.ceil(this.container.getSize()/this.itemSize);this.newStartIndex=Math.max(0,Math.min(t-e,Math.floor(this.container.getScrollOffset()/this.itemSize))),this.newVisibleEnd=this.newStartIndex+e+d,this.newEndIndex=Math.min(t,this.newVisibleEnd),this.newStartIndex=Math.max(0,this.newStartIndex-d)},a.prototype.$$includeIndexes=function(t,e){for(var i=t;e>i;i++)this.hasOwnProperty(i)||(this[i]=this.model.getItemAtIndex(i));this.length=this.model.getLength()}}(window,window.angular);
{
"name": "angular-material-whiteframe",
"version": "1.0.0-rc7-master-c33819e",
"version": "1.0.0-master-19c11fd",
"dependencies": {}
}

@@ -5,3 +5,3 @@ /*!

* @license MIT
* v1.0.0
* v1.0.1
*/

@@ -8,0 +8,0 @@ (function( window, angular, undefined ){

@@ -5,4 +5,4 @@ /*!

* @license MIT
* v1.0.0-rc7-master-c33819e
* v1.0.0-master-19c11fd
*/
!function(n,e,i){"use strict";e.module("material.components.whiteframe",[])}(window,window.angular);
{
"name": "angular-material",
"version": "1.0.0",
"version": "1.0.1",
"main": "index",

@@ -5,0 +5,0 @@ "format": "cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc