(self.webpackChunkpritunl_zero=self.webpackChunkpritunl_zero||[]).push([[84628],{143:(e,t,r)=>{"use strict";var n=r(1654).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(2,arguments);var n=(0,a.default)(e,r),u=(0,a.default)(t,r);return n.getTime()===u.getTime()};var o=n(r(40013)),a=n(r(3628));e.exports=t.default},2375:(e,t,r)=>{"use strict";var n=r(1654).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(143)),a=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function u(e){var t=a[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}var s={lastWeek:function(e,t,r){var n=e.getUTCDay();return(0,o.default)(e,t,r)?u(n):function(e){var t=a[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(n)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,r){var n=e.getUTCDay();return(0,o.default)(e,t,r)?u(n):function(e){var t=a[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(n)},other:"P"},l=function(e,t,r,n){var o=s[e];return"function"==typeof o?o(t,r,n):o};t.default=l,e.exports=t.default},3628:(e,t,r)=>{"use strict";var n=r(1654).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n,l,f,i,c,d,p;(0,a.default)(1,arguments);var v=(0,s.getDefaultOptions)(),y=(0,u.default)(null!==(r=null!==(n=null!==(l=null!==(f=null==t?void 0:t.weekStartsOn)&&void 0!==f?f:null==t||null===(i=t.locale)||void 0===i||null===(c=i.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==l?l:v.weekStartsOn)&&void 0!==n?n:null===(d=v.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==r?r:0);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=(0,o.default)(e),g=b.getUTCDay(),w=(g<y?7:0)+g-y;return b.setUTCDate(b.getUTCDate()-w),b.setUTCHours(0,0,0,0),b};var o=n(r(99065)),a=n(r(40013)),u=n(r(18458)),s=r(83856);e.exports=t.default},12990:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},40013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")},e.exports=t.default},83856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultOptions=function(){return r},t.setDefaultOptions=function(e){r=e};var r={}},99065:(e,t,r)=>{"use strict";var n=r(1654).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,o.default)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var o=n(r(12990)),a=n(r(40013));e.exports=t.default}}]);
//# sourceMappingURL=date-fns-locale-ru-_lib-formatRelative-index-js.js.map