"format amd";!function(){"use strict";functiona(a,b){returna.module("angularMoment",[]).constant("angularMomentConfig",{preprocess:null,timezone:"",format:null,statefulFilters:!0}).constant("moment",b).constant("amTimeAgoConfig",{withoutSuffix:!1,serverTime:null,titleFormat:null,fullDateThreshold:null,fullDateFormat:null}).directive("amTimeAgo",["$window","moment","amMoment","amTimeAgoConfig","angularMomentConfig",function(b,c,d,e,f){returnfunction(g,h,i){functionj(){vara;if(p)a=p;elseif(e.serverTime){varb=(newDate).getTime(),d=b-w+e.serverTime;a=c(d)}elsea=c();returna}functionk(){q&&(b.clearTimeout(q),q=null)}functionl(a){varc=j().diff(a,"day"),d=u&&c>=u;if(h.text(d?a.format(v):a.from(j(),s)),t&&!h.attr("title")&&h.attr("title",a.local().format(t)),!d){vare=Math.abs(j().diff(a,"minute")),f=3600;1>e?f=1:60>e?f=30:180>e&&(f=300),q=b.setTimeout(function(){l(a)},1e3*f)}}functionm(a){z&&h.attr("datetime",a)}functionn(){if(k(),o){vara=d.preprocessDate(o,x,r);l(a),m(a.toISOString())}}varo,p,q=null,r=f.format,s=e.withoutSuffix,t=e.titleFormat,u=e.fullDateThreshold,v=e.fullDateFormat,w=(newDate).getTime(),x=f.preprocess,y=i.amTimeAgo,z="TIME"===h[0].nodeName.toUpperCase();g.$watch(y,function(a){return"undefined"==typeofa||null===a||""===a?(k(),void(o&&(h.text(""),m(""),o=null))):(o=a,voidn())}),a.isDefined(i.amFrom)&&g.$watch(i.amFrom,function(a){p="undefined"==typeofa||null===a||""===a?null:c(a),n()}),a.isDefined(i.amWithoutSuffix)&&g.$watch(i.amWithoutSuffix,function(a){"boolean"==typeofa?(s=a,n()):s=e.withoutSuffix}),i.$observe("amFormat",function(a){"undefined"!=typeofa&&(r=a,n())}),i.$observe("amPreprocess",function(a){x=a,n()}),i.$observe("amFullDateThreshold",function(a){u=a,n()}),i.$observe("amFullDateFormat",function(a){v=a,n()}),g.$on("$destroy",function(){k()}),g.$on("amMoment:localeChanged",function(){n()})}}]).service("amMoment",["moment","$rootScope","$log","angularMomentConfig",function(b,c,d,e){this.preprocessors={utc:b.utc,unix:b.unix},this.changeLocale=function(d,e){varf=b.locale(d,e);returna.isDefined(d)&&c.$broadcast("amMoment:localeChanged"),f},this.changeTimezone=function(a){e.timezone=a,c.$broadcast("amMoment:timezoneChanged")},this.preprocessDate=function(c,f,g){returna.isUndefined(f)&&(f=e.preprocess),this.preprocessors[f]?this.preprocessors[f](c,g):(f&&d.warn("angular-moment: Ignoring unsupported value for preprocess: "+f),!isNaN(parseFloat(c))&&isFinite(c)?b(parseInt(c,10)):b(c,g))},this.applyTimezone=function(a,b){return(b=b||e.timezone)?(b.match(/^Z|[+-]\d\d:?\d\d$/i)?a=a.utcOffset(b):a.tz?a=a.tz(b):d.warn("angular-moment: named timezone specified but moment.tz() is undefined. Did you forget to include moment-timezone.js?"),a):a}}]).filter("amCalendar",["moment","amMoment","angularMomentConfig",function(a,b,c){functiond(c,d,e){if("undefined"==typeofc||null===c)return"";c=b.preprocessDate(c,d);varf=a(c);returnf.isValid()?b.applyTimezone(f,e).calendar():""}returnd.$stateful=c.statefulFilters,d}]).filter("amDifference",["moment","amMoment","angularMomentConfig",function(a,b,c){functiond(c,d,e,f,g,h){if("undefined"==typeofc||null===c)return"";c=b.preprocessDate(c,g);vari=a(c);if(!i.isValid())return"";varj;if("undefined"==typeofd||null===d)j=a();elseif(d=b.preprocessDate(d,h),j=a(d),!j.isValid())return"";returnb.applyTimezone(i).diff(b.applyTimezone(j),e,f)}returnd.$stateful=c.statefulFilters,d}]).filter("amDateFormat",["moment","amMoment","angularMomentConfig",function(a,b,c){functiond(d,e,f,g,h){vari=h||c.format;if("undefined"==typeofd||null===d)return"";d=b.preprocessDate(d,f,i);varj=a(d);returnj.isValid()?b.applyTimezone(j,g).format(e):""}returnd.$stateful=c.statefulFilters,d}]).filter("amDurationFormat",["moment","angularMomentConfig",function(a,b){functionc(b,c,d){return"undefined"==typeofb||null===b?"":a.duration(b,c).humanize(d)}returnc.$stateful=b.statefulFilters,c}]).filter("amTimeAgo",["moment","amMoment","angularMomentConfig",function(a,b,c){functiond(c,d,e,f){varg,h;return"undefined"==typeofc||null===c?"":(c=b.preprocessDate(c,d),g=a(c),g.i