/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.2-master-a9ba340 */ !function(e,t,r){"use strict";function n(e,r,n,a,i,o){function s(o,s,M){function $(t,n,i,s,d,u){function v(e){P.attr("stroke-dashoffset",m(w,M,e,C)),P.attr("transform","rotate("+k+" "+w/2+" "+w/2+")")}var g=++S,h=a.now(),p=n-t,w=l(o.mdDiameter),M=c(w),$=i||r.easeFn,I=s||r.duration,k=-90*(d||0),C=u||100;n===t?v(n):x=f(function F(){var r=e.Math.max(0,e.Math.min(a.now()-h,I));v($(r,t,p,I)),g===S&&r',compile:function(e,r){if(e.attr({"aria-valuemin":0,"aria-valuemax":100,role:"progressbar"}),t.isUndefined(r.mdMode)){var n=r.hasOwnProperty("value")?g:h;r.$set("mdMode",n)}else r.$set("mdMode",r.mdMode.trim());return s}}}function a(){function e(e,t,r,n){return r*e/n+t}function r(e,t,r,n){var a=(e/=n)*e,i=a*e;return t+r*(6*i*a+-15*a*a+10*i)}var n={progressSize:50,strokeWidth:10,duration:100,easeFn:e,durationIndeterminate:1333,startIndeterminate:1,endIndeterminate:149,easeFnIndeterminate:r,easingPresets:{linearEase:e,materialEase:r}};return{configure:function(e){return n=t.extend(n,e||{})},$get:function(){return n}}}t.module("material.components.progressCircular",["material.core"]),n.$inject=["$window","$mdProgressCircular","$mdTheming","$mdUtil","$interval","$log"],t.module("material.components.progressCircular").directive("mdProgressCircular",n),t.module("material.components.progressCircular").provider("$mdProgressCircular",a)}(window,window.angular);