PageSourceSearch

https://www.thenightsky.com/_next/static/chunks/4532-ad8d1f5c2d5b5978.js

js thenightsky.com collected 2026-09-25 03:45:55 UTC 9,009 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b2ec385b-3085-468b-9b91-d5a30124b028",e._sentryDebugIdIdentifier="sentry-dbid-b2ec385b-3085-468b-9b91-d5a30124b028")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4532],{27838:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var r={},o=e.length;if(o<2)return r;var i=t&&t.decode||f,a=0,s=0,d=0;do{if(-1===(s=e.indexOf("=",a)))break;if(-1===(d=e.indexOf(";",a)))d=o;else if(s>d){a=e.lastIndexOf(";",s-1)+1;continue}var l=u(e,a,s),h=c(e,s,l),p=e.slice(l,h);if(!n.call(r,p)){var v=u(e,s+1,d),y=c(e,d,v);34===e.charCodeAt(v)&&34===e.charCodeAt(y-1)&&(v++,y--);var g=e.slice(v,y);r[p]=function(e,t){try{return t(e)}catch(t){return e}}(g,i)}a=d+1}while(a<o);return r},t.serialize=function(e,t,n){var u=n&&n.encode||encodeURIComponent;if("function"!=typeof u)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var c=u(t);if(!i.test(c))throw TypeError("argument val is invalid");var f=e+"="+c;if(!n)return f;if(null!=n.maxAge){var d=Math.floor(n.maxAge);if(!isFinite(d))throw TypeError("option maxAge is invalid");f+="; Max-Age="+d}if(n.domain){if(!a.test(n.domain))throw TypeError("option domain is invalid");f+="; Domain="+n.domain}if(n.path){if(!s.test(n.path))throw TypeError("option path is invalid");f+="; Path="+n.path}if(n.expires){var l,h=n.expires;if(l=h,"[object Date]"!==r.call(l)||isNaN(h.valueOf()))throw TypeError("option expires is invali
1d");f+="; Expires="+h.toUTCString()}if(n.httpOnly&&(f+="; HttpOnly"),n.secure&&(f+="; Secure"),n.partitioned&&(f+="; Partitioned"),n.priority)switch("string"==typeof n.priority?n.priority.toLowerCase():n.priority){case"low":f+="; Priority=Low";break;case"medium":f+="; Priority=Medium";break;case"high":f+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":f+="; SameSite=Strict";break;case"lax":f+="; SameSite=Lax";break;case"none":f+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return f};var r=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function u(e,t,r){do{var n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++t<r);return r}function c(e,t,r){for(;t>r;){var n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return r}
1function f(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}},59160:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var i=r(27838),a=function(){return"undefined"!=typeof window},s=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},u=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&s(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&s(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&s(e.cookies())},c=function(e){var t={};return e.getAll().forEach(function(e){var r=e.name,n=e.value;t[r]=n}),t},f=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(u(e)){if(null==e?void 0:e.req)return c(e.req.cookies);if(null==e?void 0:e.cookies)return c(e.cookies())}if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,i.parse)(t.headers.cookie):{};for(var t,r={},n=document.cookie?document.cookie.split("; "):[],o=0,s=n.length;o<s;o++){var f=n[o].split("="),d=f.slice(1).join("=");r[f[0]]=d}return r},t.getCookie=function(e,r){var n=(0,t.getCookies)(r)[e];if(void 0!==n)return n?n.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):n},t.setCookie=function(e,t,r){if(u(r)){var s,c,d,l=r.req,h=r.res,p=r.cookies,v=o(r,["req","res","cookies"]),y=n({name:e,value:f(t)},v);l&&l.cookies.set(y),h&&h.cookies.set(y),p&&p().set(y);return}if(r){var l=r.req,h=r.res,g=o(r,["req","res"]);c=l,d=h,s=g}var k=(0,i.serialize)(e,f(t),n({path:"/"},s));if(a())document.cookie=k;else if(d&&c){var m=d.getHeader("Set-Cookie");if(Array.isArray(m)||(m=m?[String(m)]:[]),d.setHeader("Set-Cookie",m.concat(k)),c&&c.cookies){var b=c.cookies;""===t?delete b[e]:b[e]=f(t)}if(c&&c.headers&&c.headers.cookie){var b=(0,i.parse)(c.headers.cookie);""===t?delete b[e]:b[e]=f(t),c.headers.cookie=Object.entries(b).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,r){return(0,t.setCookie)(e,"",n(n({},r),{maxAge:-1}))},t.hasCookie=function(e,r){return!!e&&(0,t.getCookies)(r).hasOwnProperty(e)}},65520:e=>{!function(){"use strict";var t=Math.PI,r=Math.sin,n=Math.cos,o=Math.tan,i=Math.asin,a=Math.atan2,s=Math.acos,u=t/180;function c(e){return new Date((e+.5-2440588)*864e5)}function f(e){return e.valueOf()/864e5-.5+2440588-2451545}var d=23.4397*u;function l(e,t){return a(r(e)*n(d)-o(t)*r(d),n(e))}function h(e,t){return i(r(t)*n(d)+n(t)*r(d)*r(e))}function p(e,t,i){return a(r(e),n(e)*r(t)-o(i)*n(t))}function v(e,t,o){return i(r(t)*r(o)+n(t)*n(o)*n(e))}function y(e,t){return u*(280.16+360.9856235*e)-t}function g(e){return u*(357.5291+.98560028*e)}function k(e){var n=u*(1.9148*r(e)+.02*r(2*e)+3e-4*r(3*e));return e+n+102.9372*u+t}function m(e){var t=k(g(e));return{dec:h(t,0),ra:l(t,0)}}var b={};b.getPosition=function(e,t,r){var n=u*t,o=f(e),i=m(o),a=y(o,-(u*r))-i.ra;return{azimuth:p(a,n,i.dec),altitude:v(a,n,i.dec)}};var w=b.times=[[-.833,"sunrise","sunset"],[-.3,"sunriseEnd","sunsetStart"],[-6,"dawn","dusk"],[-12,"nauticalDawn","nauticalDusk"],[-18,"nightEnd","night"],[6,"goldenHourEnd","goldenHour"]];function C(e,r,n){return 9e-4+(e+r)/(2*t)+n}function O(e,t,n){return 2451545+e+.0053*r(t)-.0069*r(2*n)}function P(e){var t=u*(134.963+13.064993*e),o=u*(218.316+13.176396*e)+6.289*u*r(t),i=5.128*u*r(u*(93.272+13.22935*e)),a=385001-20905*n(t);return{ra:l(o,i),dec:h(o,i),dist:a}}function M(e,t){return new Date(e.valueOf()+864e5*t/24)}b.addTime=function(e,t,r){w.push([e,t,r])},b.getTimes=function(e,o,i,a){var d,l,p,v,y,m=-(u*i),b=u*o,P=-2.076*Math.sqrt(a=a||0)/60,M=Math.round(f(e)-9e-4-m/(2*t)),S=C(0,m,M),E=g(S),A=k(E),x=h(A,0),T=O(S,E,A),D={solarNoon:c(T),nadir:c(T-.5)};for(d=0,l=w.length;d<l;d+=1)y=T-((v=function(e,t,o,i,a,u,c){return O(C(s((r(e)-r(o)*r(i))/(n(o)*n(i))),t,a),u,c)}(((p=w[d])[0]+P)*u,m,b,x,M,E,A))-T),D[p[1]]=c(y),D[p[2]]=c(v);return D},b.getMoonPosition=function(e,t,i){var s,c=u*t,d=f(e),l=P(d),h=y(d,-(u*i))-l.ra,g=v(h,c,l.dec),k=a(r(h),o(c)*n(l.dec)-r(l.dec)*n(h));return g+=((s=g)<0&&(s=0),2967e-7/Math.tan(s+.00312536/(s+.08901179))),{azimuth:p(h,c,l.dec),altitude:g,distance:l.dist,parallacticAngle:k}},b.getMoonIllumination=function(e){var t=f(e||new Date),o=m(t),i=P(t),u=s(r(o.dec)*r(i.dec)+n(o.dec)*n(i.dec)*n(o.ra-i.ra)),c=a(149598e3*r(u),i.dist-149598e3*n(u)),d=a(n(o.dec)*r(o.ra-i.ra),r(o.dec)*n(i.dec)-n(o.dec)*r(i.dec)*n(o.ra-i.ra));return{fraction:(1+n(c))/2,phase:.5+.5*c*(d<0?-1:1)/Math.PI,angle:d}},b.getMoonTimes=function(e,t,r,n){var o=new Date(e);n?o.setUTCHours(0,0,0,0):o.setHours(0,0,0,0);for(var i,a,s,c,f,d,l,h,p,v,y,g,k,m=.133*u,w=b.getMoonPosition(o,t,r).altitude-m,C=1;C<=24&&(i=b.getMoonPosition(M(o,C),t,r).altitude-m,f=(w+(a=b.getMoonPosition(M(o,C+1),t,r).altitude-m))/2-i,l=-(d=(a-w)/2)/(2*f),h=(f*l+d)*l+i,v=0,(p=d*d-4*f*i)>=0&&(y=l-(k=Math.sqrt(p)/(2*Math.abs(f))),g=l+k,1>=Math.abs(y)&&v++,1>=Math.abs(g)&&v++,y<-1&&(y=g)),1===v?w<0?s=C+y:c=C+y:2===v&&(s=C+(h<0?g:y),c=C+(h<0?y:g)),!s||!c);C+=2)w=a;var O={};return s&&(O.rise=M(o,s)),c&&(O.set=M(o,c)),s||c||(O[h>0?"alwaysUp":"alwaysDown"]=!0),O},e.exports=b}()},80500:(e,t,r)=>{"use strict";var n=r(91844);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})}}]);

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.