{“version”:3,“sources”:,“names”:[],“mappings”:“+EAWS,kBAAmB,UAAW,aAAA,SAAA,EAAA,yEAOjC,iBAAe,2DAOjB,MAAS,GAAA,iBAAwB,IAAA,wOA4BhC,QAAA,EAAA,GAAA”,“file”:“date-formatter.min.js”,“sourcesContent”:[“‘use strict’;nnangular.module(‘mgcrea.ngStrap.helpers.dateFormatter’, [])nn .service(‘$dateFormatter’, function($locale, dateFilter) {nn // The unused ‘lang` arguments are on purpose. The default implementation does notn // use them and it always uses the locale loaded into the `$locale` service.n // Custom implementations might use it, thus allowing different directives ton // have different languages.nn this.getDefaultLocale = function() {n return $locale.id;n };nn // Format is either a data format name, e.g. "shortTime" or "fullDate", or a date formatn // Return either the corresponding date format or the given date format.n this.getDatetimeFormat = function(format, lang) {n return $locale.DATETIME_FORMATS || format;n };nn this.weekdaysShort = function(lang) {n return $locale.DATETIME_FORMATS.SHORTDAY;n };nn function splitTimeFormat(format) {n return /(h+)()?(m+)[ ]?(a?)/i.exec(format).slice(1);n }nn // h:mm a => hn this.hoursFormat = function(timeFormat) {n return splitTimeFormat(timeFormat);n };nn // h:mm a => mmn this.minutesFormat = function(timeFormat) {n return splitTimeFormat(timeFormat);n };nn // h:mm a => :n this.timeSeparator = function(timeFormat) {n return splitTimeFormat(timeFormat);n };nn // h:mm a => true, H.mm => falsen this.showAM = function(timeFormat) {n return !!splitTimeFormat(timeFormat);n };nn this.formatDate = function(date, format, lang){n return dateFilter(date, format);n };nn });n”],“sourceRoot”:“/source/”}