1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e4392f0f-6a41-47ea-91ec-adf36ff24166",e._sentryDebugIdIdentifier="sentry-dbid-e4392f0f-6a41-47ea-91ec-adf36ff24166")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18039],{59390:(e,r,o)=>{Promise.resolve().then(o.bind(o,74991))},74991:(e,r,o)=>{"use strict";o.r(r),o.d(r,{default:()=>a});var t=o(95155),n=o(12115),i=o(79616);function a(e){let{error:r,reset:o}=e;return n.useEffect(()=>{var e,o,t;(0,i.vV)("Application error boundary triggered",r,i.h.DATABASE_ERROR,{url:null==(o=window)||null==(e=o.location)?void 0:e.href,userAgent:null==(t=navigator)?void 0:t.userAgent,errorCode:r.digest,feature:"error_boundary"})},[r]),(0,t.jsxs)("div",{style:{padding:"2rem",textAlign:"center",fontFamily:"system-ui",minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"data-sentry-component":"ErrorPage","data-sentry-source-file":"error.tsx",children:[(0,t.jsx)("h1",{style:{color:"#d32f2f"},children:"Something went wrong!"}),(0,t.jsx)("p",{children:"An unexpected error has occurred."}),(0,t.jsxs)("div",{style:{display:"flex",gap:"1rem",margin:"2rem 0"},children:[(0,t.jsx)("button",{onClick:o,style:{padding:"0.5rem 1rem",backgroundColor:"#1976d2",color:"white",border:"none",borderRadius:"4px",cursor:"pointer"},children:"Try Again"}),(0,t.jsx)("button",{onClick:()=>window.location.href="/",style:{padding:"0.5rem 1rem",backgroundColor:"#666",color:"white",border:"none",borderRadius:"4px",cursor:"pointer"},children:"Go Home"})]}),!1]})}},79616:(e,r,o)=>{"use strict";o.d(r,{FF:()=>_,fH:()=>p,h:()=>d,vV:()=>f});var t=o(85574),n=o.n(t),i=o(30506),a=o(41463);let c=null,l=a.env.AXIOM_DATASET||"huntfishsport",s=a.env.AXIOM_TOKEN;if(s&&"phase-production-build"!==a.env.NEXT_PHASE)try{c=new i.LG({token:s})}catch(e){console.error("[Logger] Failed to initialize Axiom:",e)}async function g(e,r,o){if(c)try{await c.ingest(l,[{_time:new Date().toISOString(),level:e,message:r,...o}])}catch(e){console.error("[Logger] Failed to send log to Axiom:",e)}}var d=function(e){return e.DATABASE_ERROR="database_error",e.PAYMENT_ERROR="payment_error",e.AUTH_ERROR="auth_error",e.WEATHER_API_CRITICAL="weather_api_critical",e.WEATHER_API_RATE_LIMIT="weather_api_rate_limit",e.SOLUNAR_CALCULATION_ERROR="solunar_calculation_error",e.LOCATION_SERVICE_ERROR="location_service_error",e.SUBSCRIPTION_VALIDATION_ERROR="subscription_validation_error",e.USER_INTERACTION="user_interaction",e.PERFORMANCE_METRIC="performance_metric",e.FEATURE_USAGE="feature_usage",e.API_REQUEST="api_request",e}({});class u{createLogger(){return n()({level:"silent"})}createFallbackLogger(){return n()({level:"info",timestamp:n().stdTimeFunctions.isoTime})}logError(e,r,o,t){try{let n=r instanceof Error?r:Error(String(r)),i={message:e,category:o,error:{name:n.name,message:n.message,stack:n.stack},context:{...t,timestamp:new Date().toISOString(),environment:"production"}};this.logger.error(i),g("error",e,{category:o,errorName:n.name,errorMessage:n.message,errorStack:n.stack,...t,environment:"production"}).catch(()=>{})}catch(n){console.error("[LOGGER_ERROR] Failed to log error: ".concat(n)),console.error("[".concat(o,"] ").concat(e),{error:String(r),context:t})}}logWarning(e,r,o){try{let t={message:e,category:r,context:{...o,timestamp:new Date().toISOString(),environment:"production"}};this.logger.warn(t),g("warn",e,{category:r,...o,environment:"production"}).catch(()=>{})}catch(t){console.warn("[LOGGER_ERROR] Failed to log warning: ".concat(t)),console.warn("[".concat(r,"] ").concat(e),{context:o})}}logInfo(e,r,o){try{let t={message:e,category:r,context:{...o,timestamp:new Date().toISOString(),environment:"production"}};this.logger.info(t),g("info",e,{category:r,...o,environment:"production"}).catch(()=>{})}catch(t){console.info("[LOGGER_ERROR] Failed to log info: ".concat(t)),console.info("[".concat(r,"] ").concat(e),{context:o})}}logDebug(e,r,o){try{let t={message:e,category:r,context:{...o,timestamp:new Date().toISOString(),environment:"production"}};this.logger.debug(t),g("debug",e,{category:r,...o,environment:"production"}).catch(()=>{})}catch(e){}}logApiRequest(e,r,o,t,n){try{let i=o>=400?"warn":"info";this.logger[i]({message:"API ".concat(e," ").concat(r),category:"api_request",api:{method:e,url:r,statusCode:o,responseTime:t},context:{...n,timestamp:new Date().toISOString(),environment:"production"}})}catch(i){console.log("[LOGGER_ERROR] Failed to log API request: ".concat(i)),console.log("[API_REQUEST] ".concat(e," ").concat(r," - ").concat(o," (").concat(t,"ms)"),{context:n})}}logPerformance(e,r,o){this.logger.info({message:"Performance: ".concat(e),category:"performance_metric",performance:{operation:e,duration:r,timestamp:new Date().toISOString()},context:o})}logUserInteraction(e,r,o){this.logger.info({message:"User interaction: ".concat(e),category:"user_interaction",interaction:{action:e,feature:r,timestamp:new Date().toISOString()},context:o})}logSubscriptionEvent(e,r,o,t,n){this.logger.info({message:"Subscription event: ".concat(e),category:"feature_usage",subscription:{event:e,userId:r,oldTier:o,newTier:t,timestamp:new Date().toISOString()},context:n})}child(e){let r=new u;return r.logger=this.logger.child(e),r}constructor(){try{this.logger=this.createLogger()}catch(e){console.warn("Failed to initialize Pino logger, falling back to console:",e),this.logger=this.createFallbackLogger()}}}let m=new u,f=m.logError.bind(m),_=m.logWarning.bind(m),p=m.logInfo.bind(m);m.logDebug.bind(m),m.logApiRequest.bind(m),m.logPerformance.bind(m),m.logUserInteraction.bind(m),m.logSubscriptionEvent.bind(m)}},e=>{e.O(0,[86557,28441,22942,77358],()=>e(e.s=59390)),_N_E=e.O()}]);
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.