{"version":3,"sources":["https://lively-kernel.org/lively4/lively4-markus/src/external/event-drops/isAfter.js"],"names":["isAfter","date","dateBounds","endingDate","Math","max","Date"],"mappings":";;;;;;;;AAAO,kBAAMA,UAAU,CAACC,IAAD,EAAOC,UAAP,KAAsB;AACzC,sBAAMC,aAAaC,KAAKC,GAAL,CAAS,GAAGH,UAAZ,CAAnB;;AAEA;AACA,uBAAO,IAAII,IAAJ,CAASH,UAAT,IAAuBF,IAA9B;AACH,aALM;;;;;;;;;;uCAAMD,wC","file":"isAfter.js","sourcesContent":["export const isAfter = (date, dateBounds) => {\n    const endingDate = Math.max(...dateBounds);\n\n    // @TODO: remove the `new Date()` constructor in the next major version: we need to force it at configuration level.\n    return new Date(endingDate) < date;\n};\n"]}