(window.webpackJsonp=window.webpackJsonp||[]).push([[207],{223:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=e.formatDates=void 0;var r,o=(r=a(0))&&r.__esModule?r:{default:r};const n=(t,e,a,r,n)=>{const d=n?o.default.utc:o.default,s=d(t).locale(r),u=d(e).locale(r);return Math.abs(t-e)<=6e4?a?s.format("dddd, LL"):s.format("LLLL"):s.dayOfYear()===u.dayOfYear()&&s.year()===u.year()?a?s.format("dddd, LL"):`${s.format("dddd, LL")}<br>`+`${s.format("LT")} - ${u.format("LT")}`:a?`${s.format("dddd, LL")} - ${u.format("dddd, LL")}`:`${s.format("LLLL")} - ${u.format("LLLL")}`};e.formatDates=n;e.initialize=t=>{t.registerModule("moment",t=>{const e=t.replace(/[_@]/g,"-"),a=(0,o.default)(0).locale(e),r=a.localeData();return(t,o)=>{switch(t){case"time-in":case"time-ago":case"time-duration":return((t,[e])=>{const r=parseInt(e,10);switch(t){case"time-ago":return a.from(r);case"time-in":return a.to(r);case"time-duration":return a.to(r,!0);default:return""}})(t,o);case"time-date-view":return((t,[a,r,o,d])=>{const s=parseInt(r,10),u=parseInt(o,10),c="true"===d;return"utc"===a?n(s,u,c,e,!0):"local"===a?n(s,u,c,e,!1):""})(0,o);case"locale-data":return((t,[e,...a])=>{let o=e;if(!r[o]&&!r[o=`_${e}`])return"";const n=a.map(t=>"true"===t||"false"!==t&&(/^[0-9]+$/.test(t)?parseInt(t,10):t));if("function"==typeof r[o])return r[o](...n);const[d]=n;return r[o][d]})(0,o);default:return""}}})}}}]);
//# sourceMappingURL=207.134d86e29d168d960ec7.js.map