{"version":3,"file":"angular-moment.min.js","sources":["angular-moment.js"],"names":["angularMoment","angular","moment","module","constant","preprocess","timezone","format","statefulFilters","withoutSuffix","serverTime","titleFormat","directive","$window","amMoment","amTimeAgoConfig","angularMomentConfig","scope","element","attr","getNow","now","localNow","Date","getTime","nowMillis","localDate","cancelTimer","activeTimeout","clearTimeout","updateTime","momentInstance","text","from","local","isBindOnce","howOld","Math","abs","diff","secondsUntilUpdate","setTimeout","updateDateTimeAttr","value","isTimeElement","updateMoment","currentValue","momentValue","preprocessDate","currentFormat","toISOString","unwatchChanges","modelName","amTimeAgo","replace","indexOf","nodeName","toUpperCase","$watch","undefined","isDefined","amWithoutSuffix","$observe","newValue","$on","service","$rootScope","$log","this","preprocessors","utc","unix","changeLocale","locale","customization","result","$broadcast","changeTimezone","isUndefined","warn","isNaN","parseFloat","isFinite","parseInt","applyTimezone","aMoment","tz","filter","amCalendarFilter","date","isValid","calendar","$stateful","amDateFormatFilter","amDurationFormatFilter","suffix","duration","humanize","amTimeAgoFilter","fromNow","define","amd","exports","require","window"],"mappings":"AAEA,eAEA,eACA,gBAEA,WACC,YAEA,SAASA,GAAcC,EAASC,GAS/B,MAAOD,GAAQE,OAAO,oBASpBC,SAAS,uBAWTC,WAAY,KAYZC,SAAU,GAaVC,OAAQ,KAaRC,iBAAiB,IAUjBJ,SAAS,SAAUF,GAUnBE,SAAS,mBAUTK,eAAe,EAYfC,WAAY,KAYZC,YAAa,OAUbC,UAAU,aAAc,UAAW,SAAU,WAAY,kBAAmB,sBAAuB,SAAUC,EAASX,EAAQY,EAAUC,EAAiBC,GAEzJ,MAAO,UAAUC,EAAOC,EAASC,GAahC,QAASC,KACR,GAAIC,EACJ,IAAIN,EAAgBL,WAAY,CAC/B,GAAIY,IAAW,GAAIC,OAAOC,UACtBC,EAAYH,EAAWI,EAAYX,EAAgBL,UACvDW,GAAMnB,EAAOuB,OAGbJ,GAAMnB,GAEP,OAAOmB,GAGR,QAASM,KACJC,IACHf,EAAQgB,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