1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[498],{90498:(t,e,n)=>{n.d(e,{m:()=>f});var a=n(92084),r=n(35476);function s(t,e){let n=(0,r.a)(t),a=(0,r.a)(e),s=n.getTime()-a.getTime();return s<0?-1:s>0?1:s}var u=n(41876),i=n(1306),o=n(36199),l=n(43461);function f(t,e){return function(t,e,n){var a,f;let c,h,m,D=(0,o.q)(),M=null!=(f=null!=(a=null==n?void 0:n.locale)?a:D.locale)?f:i.c,d=s(t,e);if(isNaN(d))throw RangeError("Invalid time value");let g=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:d});d>0?(c=(0,r.a)(e),h=(0,r.a)(t)):(c=(0,r.a)(t),h=(0,r.a)(e));let v=function(t,e,n){var a;return(a=void 0,t=>{let e=(a?Math[a]:Math.trunc)(t);return 0===e?0:e})(((0,r.a)(t)-(0,r.a)(e))/1e3)}(h,c),X=Math.round((v-((0,l.G)(h)-(0,l.G)(c))/1e3)/60);if(X<2)if(null==n?void 0:n.includeSeconds)if(v<5)return M.formatDistance("lessThanXSeconds",5,g);else if(v<10)return M.formatDistance("lessThanXSeconds",10,g);else if(v<20)return M.formatDistance("lessThanXSeconds",20,g);else if(v<40)return M.formatDistance("halfAMinute",0,g);else if(v<60)return M.formatDistance("lessThanXMinutes",1,g);else return M.formatDistance("xMinutes",1,g);else if(0===X)return M.formatDistance("lessThanXMinutes",1,g);else return M.formatDistance("xMinutes",X,g);if(X<45)return M.formatDistance("xMinutes",X,g);if(X<90)return M.formatDistance("aboutXHours",1,g);if(X<u.F6){let t=Math.round(X/60);return M.formatDistance("aboutXHours",t,g)}if(X<2520)return M.formatDistance("xDays",1,g);else if(X<u.Nw){let t=Math.round(X/u.F6);return M.formatDistance("xDays",t,g)}else if(X<2*u.Nw)return m=Math.round(X/u.Nw),M.formatDistance("aboutXMonths",m,g);if((m=function(t,e){let n,a=(0,r.a)(t),u=(0,r.a)(e),i=s(a,u),o=Math.abs(function(t,e){let n=(0,r.a)(t),a=(0,r.a)(e);return 12*(n.getFullYear()-a.getFullYear())+(n.getMonth()-a.getMonth())}(a,u));if(o<1)n=0;else{1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*o);let e=s(a,u)===-i;(function(t){let e=(0,r.a)(t);return+function(t){let e=(0,r.a)(t);return e.setHours(23,59,59,999),e}(e)==+function(t){let e=(0,r.a)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}(e)})((0,r.a)(t))&&1===o&&1===s(t,u)&&(e=!1),n=i*(o-Number(e))}return 0===n?0:n}(h,c))<12){let t=Math.round(X/u.Nw);return M.formatDistance("xMonths",t,g)}{let t=m%12,e=Math.trunc(m/12);return t<3?M.formatDistance("aboutXYears",e,g):t<9?M.formatDistance("overXYears",e,g):M.formatDistance("almostXYears",e+1,g)}}(t,(0,a.w)(t,Date.now()),e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.