!(function (e, t) { if ('object' == typeof exports && 'undefined' != typeof module) { module.exports = t(require('dayjs')); } else { if ('function' == typeof define && define.amd) { define(['dayjs'], t); } else { (e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_locale_pl = t(e.dayjs); } } })(this, function (e) { 'use strict'; function t(e) { return e && 'object' == typeof e && 'default' in e ? e : { default: e }; } var i = t(e); function a(e) { return e % 10 < 5 && e % 10 > 1 && ~~(e / 10) % 10 != 1; } function n(e, t, i) { var n = e + ' '; switch (i) { case 'm': return t ? 'minuta' : 'minutę'; case 'mm': return n + (a(e) ? 'minuty' : 'minut'); case 'h': return t ? 'godzina' : 'godzinę'; case 'hh': return n + (a(e) ? 'godziny' : 'godzin'); case 'MM': return n + (a(e) ? 'miesiące' : 'miesięcy'); case 'yy': return n + (a(e) ? 'lata' : 'lat'); } } var r = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); var _ = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'); var s = /D MMMM/; var d = function (e, t) { return s.test(t) ? r[e.month()] : _[e.month()]; }; d.s = _; d.f = r; var o = { name: 'pl', weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), months: d, monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), ordinal: function (e) { return e + '.'; }, weekStart: 1, yearStart: 4, relativeTime: { future: 'za %s', past: '%s temu', s: 'kilka sekund', m: n, mm: n, h: n, hh: n, d: '1 dzień', dd: '%d dni', M: 'miesiąc', MM: n, y: 'rok', yy: n }, formats: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm' } }; i.default.locale(o, null, true); return o; });