PageSourceSearch

https://www.bigtenplus.com/_nuxt/CN53V_nF.js

js bigtenplus.com collected 2026-09-24 18:02:07 UTC 13,922 bytes, 1 lines download raw bytes

1function B(e,t){return e-t*Math.floor(e/t)}const K=1721426;function C(e,t,r,n){t=q(e,t);let a=t-1,o=-2;return r<=2?o=0:Z(t)&&(o=-1),K-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+o+n)}function Z(e){return e%4===0&&(e%100!==0||e%400===0)}function q(e,t){return e==="BC"?1-t:t}function $e(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const ye={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class w{fromJulianDay(t){let r=t,n=r-K,a=Math.floor(n/146097),o=B(n,146097),c=Math.floor(o/36524),s=B(o,36524),i=Math.floor(s/1461),h=B(s,1461),p=Math.floor(h/365),M=a*400+c*100+i*4+p+(c!==4&&p!==4?1:0),[g,y]=$e(M),$=r-C(g,y,1,1),O=2;r<C(g,y,3,1)?O=0:Z(y)&&(O=1);let L=Math.floor((($+O)*12+373)/367),fe=r-C(g,y,L,1)+1;return new I(g,y,L,fe)}toJulianDay(t){return C(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return ye[Z(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Z(t.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function me(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function be(e){return d(Date.now(),e)}function Fe(e){return we(be(e))}function Q(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function X(e,t){return W(e)-W(t)}function W(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let T=null,pe=!1;function _(){return T==null&&(T=new Intl.DateTimeFormat().resolvedOptions().timeZone),T}function ee(){return pe}function D(e){e=l(e,new w);let t=q(e.era,e.year);return te(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function te(e,t,r,n,a,o,c){let s=new Date;return s.setUTCHours(n,a,o,c),s.setUTCFullYear(e,t-1,r),s.getTime()}function F(e,t){if(t==="UTC")return 0;if(e>0&&t===_()&&!ee())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:a,hour:o,minute:c,second:s}=re(e,t);return te(r,n,a,o,c,s,0)-Math.floor(e/1e3)*1e3}const z=new Map;function re(e,t){let r=z.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),z.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const G=864e5;function Me(e,t,r,n){return(r===n?[r]:[r,n]).filter(o=>ge(e,t,o))}function ge(e,t,r){let n=re(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function u(e,t,r="compatible"){let n=x(e);if(t==="UTC")return D(n);if(t===_()&&r==="compatible"&&!ee()){n=l(n,new w);let i=new Date,h=q(n.era,n.year);return i.setFullYear(h,n.month-1,n.day),i.setHours(n.hour,n.minute,n.second,n.millisecond),i.getTime()}let a=D(n),o=F(a-G,t),c=F(a+G,t),s=Me(n,t,a-o,a-c);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(a-o,a-c);case"compatible":case"later":return Math.max(a-o,a-c);case"reject":throw new RangeError("No such absolute time found")}}function ne(e,t,r="compatible"){return new Date(u(e,t,r))}function d(e,t){let r=F(e,t),n=new Date(e+r),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,c=n.getUTCDate(),s=n.getUTCHours(),i=n.getUTCMinutes(),h=n.getUTCSeconds(),p=n.getUTCMilliseconds();return new Y(a<1?"BC":"AD",a<1?-a+1:a,o,c,t,r,s,i,h,p)}function we(e){return new I(e.calendar,e.era,e.year,e.month,e.day)}function x(e,t){let r=0,n=0,a=0,o=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:o}=t),new k(e.calendar,e.era,e.year,e.month,e.day,r,n,a,o)}function l(e,t){if(me(e.calendar,t))return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,b(n),n}function De(e,t,r){if(e instanceof Y)return e.timeZone===t?e:Ie(e,t);let n=u(e,t,r);return d(n,t)}function xe(e){let t=D(e)-e.offset;return new Date(t)}function Ie(e,t){let r=D(e)-e.offset;return l(d(r,t),e.calendar)}const S=36e5;function A(e,t){let r=e.copy(),n="hour"in r?se(r,t):0;P(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,R(r),ae(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,Se(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){let c=r.calendar.isInverseEra?.(r);r.year=a,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let o=r.calendar.getMonthsInYear(r);return r.month>o&&(r.month=o,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function P(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function R(e){for(;e.month<1;)P(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,P(e,1)}function Se(e){for(;e.day<1;)e.month--,R(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,R(e)}function ae(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function b(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),ae(e)}function v(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function oe(e,t){return A(e,v(t))}function H(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),b(r),r}function E(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),ce(r),r}function Ee(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=U(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=U(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=U(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=U(e.hour,24),t}function ce(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function U(e,t){let r=e%t;return r<0&&(r+=t),r}function se(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Ee(e)}function ie(e,t){let r=e.copy();return se(r,t),r}function Ye(e,t){return ie(e,v(t))}function J(e,t,r,n){let a=e.copy();switch(t){case"era":{let o=e.calendar.getEras(),c=o.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=f(c,r,0,o.length-1,n?.round),a.era=o[c],b(a);break}case"year":a.calendar.isInverseEra?.(a)&&(r=-r),a.year=f(e.year,r,-1/0,9999,n?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=f(e.month,r,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":a.day=f(e.day,r,1,e.calendar.getDaysInMonth(e),n?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),b(a),a}function j(e,t,r,n){let a=e.copy();switch(t){case"hour":{let o=e.hour,c=0,s=23;if(n?.hourCycle===12){let i=o>=12;c=i?12:0,s=i?23:11}a.hour=f(o,r,c,s,n?.round);break}case"minute":a.minute=f(e.minute,r,0,59,n?.round);break;case"second":a.second=f(e.second,r,0,59,n?.round);break;case"millisecond":a.millisecond=f(e.millisecond,r,0,999,n?.round);break;default:throw new Error("Unsupported field "+t)}return a}function f(e,t,r,n,a=!1){if(a){e+=Math.sign(t),e<r&&(e=n);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function le(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let a=A(x(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=u(a,e.timeZone)}else r=D(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=d(r,e.timeZone);return l(n,e.calendar)}function Ce(e,t){return le(e,v(t))}function Ue(e,t,r,n){switch(t){case"hour":{let a=0,o=23;if(n?.hourCycle===12){let $=e.hour>=12;a=$?12:0,o=$?23:11}let c=x(e),s=l(E(c,{hour:a}),new w),i=[u(s,e.timeZone,"earlier"),u(s,e.timeZone,"later")].filter($=>d($,e.timeZone).day===s.day)[0],h=l(E(c,{hour:o}),new w),p=[u(h,e.timeZone,"earlier"),u(h,e.timeZone,"later")].filter($=>d($,e.timeZone).day===h.day).pop(),M=D(e)-e.offset,g=Math.floor(M/S),y=M%S;return M=f(g,r,Math.floor(i/S),Math.floor(p/S),n?.round)*S+y,l(d(M,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return j(e,t,r,n);case"era":case"year":case"month":case"day":{let a=J(x(e),t,r,n),o=u(a,e.timeZone);
1return l(d(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Ze(e,t,r){let n=x(e),a=E(H(n,t),t);if(a.compare(n)===0)return e;let o=u(a,e.timeZone,r);return l(d(o,e.timeZone),e.calendar)}const ke=/^(\d{2})(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,Ae=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,Oe=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function Pe(e){let t=e.match(ke);if(!t)throw new Error("Invalid ISO 8601 time string: "+e);return new V(m(t[1],0,23),t[2]?m(t[2],0,59):0,t[3]?m(t[3],0,59):0,t[4]?m(t[4],0,1/0)*1e3:0)}function Re(e){let t=e.match(Ae);if(!t)throw Oe.test(e)?new Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`):new Error("Invalid ISO 8601 date string: "+e);let r=new I(m(t[1],0,9999),m(t[2],1,12),1);return r.day=m(t[3],1,r.calendar.getDaysInMonth(r)),r}function m(e,t,r){let n=Number(e);if(n<t||n>r)throw new RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);return n}function he(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function ue(e){let t=l(e,new w),r;return t.era==="BC"?r=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):r=String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function de(e){return`${ue(e)}T${he(e)}`}function Be(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=Math.floor(e%36e5/6e4),a=Math.floor(e%36e5%6e4/1e3),o=`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`;return a!==0&&(o+=`:${String(a).padStart(2,"0")}`),o}function Te(e){return`${de(e)}${Be(e.offset)}[${e.timeZone}]`}function N(e){let t=typeof e[0]=="object"?e.shift():new w,r;if(typeof e[0]=="string")r=e.shift();else{let c=t.getEras();r=c[c.length-1]}let n=e.shift(),a=e.shift(),o=e.shift();return[t,r,n,a,o]}class I{#e;constructor(...t){let[r,n,a,o,c]=N(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=c,b(this)}copy(){return this.era?new I(this.calendar,this.era,this.year,this.month,this.day):new I(this.calendar,this.year,this.month,this.day)}add(t){return A(this,t)}subtract(t){return oe(this,t)}set(t){return H(this,t)}cycle(t,r,n){return J(this,t,r,n)}toDate(t){return ne(this,t)}toString(){return ue(this)}compare(t){return Q(this,t)}}class V{#e;constructor(t=0,r=0,n=0,a=0){this.hour=t,this.minute=r,this.second=n,this.millisecond=a,ce(this)}copy(){return new V(this.hour,this.minute,this.second,this.millisecond)}add(t){return ie(this,t)}subtract(t){return Ye(this,t)}set(t){return E(this,t)}cycle(t,r,n){return j(this,t,r,n)}toString(){return he(this)}compare(t){return X(this,t)}}class k{#e;constructor(...t){let[r,n,a,o,c]=N(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,b(this)}copy(){return this.era?new k(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new k(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return A(this,t)}subtract(t){return oe(this,t)}set(t){return H(E(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return J(this,t,r,n);default:return j(this,t,r,n)}}toDate(t,r){return ne(this,t,r)}toString(){return de(this)}compare(t){let r=Q(this,t);return r===0?X(this,x(t)):r}}class Y{#e;constructor(...t){let[r,n,a,o,c]=N(t),s=t.shift(),i=t.shift();this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=c,this.timeZone=s,this.offset=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,b(this)}copy(){return this.era?new Y(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Y(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return le(this,t)}subtract(t){return Ce(this,t)}set(t,r){return Ze(this,t,r)}cycle(t,r,n){return Ue(this,t,r,n)}toDate(){return xe(this)}toString(){return Te(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-De(t,this.timeZone).toDate().getTime()}}export{Re as $,k as a,De as b,_ as c,V as d,Pe as e,Fe as f,I as g};

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.