PageSourceSearch

https://polarforecast.com/_next/static/chunks/solar-CIl4sC59.js

js polarforecast.com collected 2026-10-06 07:19:30 UTC 1,046 bytes, 1 lines download raw bytes

1var e=Math.PI/180,t=864e5,n=2440588,r=2451545,i=23.4397*e;function a(e){return e.getTime()/t-.5+n-r}function o(t){return e*(357.5291+.98560028*t)}function s(t){return t+e*(1.9148*Math.sin(t)+.02*Math.sin(2*t)+3e-4*Math.sin(3*t))+102.9372*e+Math.PI}function c(e){let t=s(o(e));return{dec:Math.asin(Math.sin(t)*Math.sin(i)),ra:Math.atan2(Math.sin(t)*Math.cos(i),Math.cos(t))}}function l(t,n,r=new Date){let i=a(r),{dec:o,ra:s}=c(i),l=e*-n,u=e*t,d=e*(280.16+360.9856235*i)-l-s;return Math.asin(Math.sin(u)*Math.sin(o)+Math.cos(u)*Math.cos(o)*Math.cos(d))/e}function u(e,t,n=new Date){let r=90;for(let i=0;i<24;i++){let a=new Date(n.getTime()+i*36e5);r=Math.min(r,l(e,t,a))}return r}function d(e,t,n){let r=new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate())),i=0;for(let n=0;n<96;n++)l(e,t,new Date(r.getTime()+n*15*6e4))<=-6&&i++;return Math.round(i*15/60*10)/10}function f(e,t,n=new Date){let r=l(e,t,n),i=u(e,t,n);return{altitude:r,isDay:r>-.83,isCivilTwilight:r<=-.83&&r>-6,darkEnough:r<=-6,polarDay:i>-6}}export{f as n,d as t};

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.