1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c3a843d6-c29d-4f88-8299-47ab051afb20",e._sentryDebugIdIdentifier="sentry-dbid-c3a843d6-c29d-4f88-8299-47ab051afb20")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6614],{88198:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tracking/[trackDisplayId]",function(){return n(63713)}])},63713:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return _},default:function(){return k}});var a=n(97458),i=n(91245),r=n(13135),l=n(2225),o=n(33804),c=n(31714),s=n(49084),d=n(52983),f=n(7546),u=n(86556),p=n(2437);function b(e){let{iframeRef:t,boatData:n}=e,i=(0,d.useRef)(null),[,r]=(0,o.KO)(f.fO);(0,d.useEffect)(()=>(r(null),()=>r(null)),[r]),(0,d.useEffect)(()=>{var e;t.current={contentWindow:(null===(e=i.current)||void 0===e?void 0:e.contentWindow)||null,sendMessage:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var n;(null===(n=i.current)||void 0===n?void 0:n.contentWindow)&&i.current.contentWindow.postMessage({type:e,payload:t},"*")}catch(e){}}}},[n.route,t]);let[l]=(0,s.v1)("dev"),c=(0,p.f)(l);return(0,a.jsx)("iframe",{"aria-label":"Forecast Map",title:"Forecast Map",ref:i,src:c?"https://ryan-dev.predictwind.com/track-display-frame/#name=".concat(n.trackDisplayId):"https://cdn.predictwind.com/track-display-frame/#name=".concat(n.trackDisplayId),style:{width:"100%",height:"100%",border:"none"},allowFullScreen:!0,loading:"eager"})}var y=n(40727),w=n(6465),m=n(81750),g=n(12853),h=n(1045),v=n(24435),_=!0;function k(e){var t;let{boatData:n}=e,{t:p}=(0,c.$G)("common"),_=(0,d.useRef)(null),k=(0,d.useRef)(null),[,D]=(0,o.KO)(f.bj),[,x]=(0,o.KO)(f.A0),[j,I]=(0,o.KO)(f.ay),[E]=(0,o.KO)(f.TH),[O]=(0,s.v1)("post",s.U),[R]=(0,s.v1)("tab",s.Oi.withDefault("posts"));(0,v.V)({iframeRef:_});let N=i.S.useUtils();(0,d.useEffect)(()=>{N.forecast.getBlogs.invalidate()},[N]),(0,d.useEffect)(()=>{O&&(D(!0),x(!0),I(E[1]))},[]);let{data:S,isLoading:A}=i.S.forecast.getBlogs.useQuery({trackDisplayId:(null==n?void 0:n.trackDisplayId)||""},{enabled:!!(null==n?void 0:n.trackDisplayId)});return(0,a.jsxs)(y.A,{children:[(0,a.jsx)(u.Z,{t:p,title:"".concat((null===(t=n.boatInfo)||void 0===t?void 0:t.name)||n.trackDisplayId.replaceAll("-"," ").replaceAll("_"," ").replaceAll("SV","").replaceAll("MV","").replaceAll(" ","")," GPS Tracking \xb7 PredictWind"),description:"See your boat's position and route in real-time with PredictWind Tracker."}),(0,a.jsxs)("div",{ref:k,className:"h-full w-full",children:[(0,a.jsx)(g.p3,{iframeRef:_,boatData:n,blogs:S,loading:A,containerRef:k}),(0,a.jsx)(w.J,{iframeRef:_,boatData:n}),(0,a.jsx)(b,{iframeRef:_,boatData:n}),(0,a.jsx)(h.j,{iframeRef:_,boatData:n}),(0,a.jsx)(m.e,{boatData:n})]}),(0,a.jsx)(r.M,{mode:"wait",children:"boat"===R&&j===E[2]&&(0,a.jsx)(l.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"pointer-events-none fixed -bottom-4 left-0 z-50 h-[78px] w-full [&_#predictwind-logo]:hidden [&_#time-slider-date]:bg-[#383838] [&_#time-slider-date]:text-white [&_#time-slider-track]:bg-[#383838]",children:(0,a.jsx)(h.j,{iframeRef:_,boatData:n})},"boat"===R&&j===E[2]?"show":"hide")})]})}},2437:function(e,t,n){"use strict";function a(e){if(null==e)return!1;let t=e.trim().toLowerCase();return"false"!==t&&"0"!==t}n.d(t,{f:function(){return a}})}},function(e){e.O(0,[7127,6262,2225,6694,1816,1856,6812,4619,1092,345,8159,755,1782,9084,3833,4645,7667,8240,2382,9336,9124,2888,9774,179],function(){return e(e.s=88198)}),_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.