PageSourceSearch

https://www.talkingdogfishing.com/_next/static/chunks/7454.061f76da073cba36.js

js talkingdogfishing.com collected 2026-10-09 21:47:38 UTC 16,747 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9ab4eba8-1b56-40a8-838a-68225d92c6a8",e._sentryDebugIdIdentifier="sentry-dbid-9ab4eba8-1b56-40a8-838a-68225d92c6a8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[316,1500,2196,7454,7643,8755],{3796:(e,t,s)=>{"use strict";s.d(t,{A:()=>W});var l=s(37876),i=s(14232),r=s(54587),n=s.n(r),o=s(97643),c=s(81500),a=s(27905),d=s(91049),u=s(97719),_=s(60929),p=s(19357),h=s(27611),m=s(37216);let v=e=>{let{images:t}=e,[s,r]=(0,i.useState)(0),o=(0,i.useRef)();return(0,l.jsxs)("div",{style:{position:"relative",margin:"auto"},className:"courses_slider_image",children:[(0,l.jsx)(p.default,{ref:o,...{dots:!1,arrows:!1,infinite:!0,afterChange:e=>r(e)},children:t.map((e,t)=>(0,l.jsx)("div",{children:(0,l.jsx)("img",{src:e,alt:"Slide ".concat(t+1),style:{width:"100%"},className:"courses_slider_img"})},t))}),(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"10px",padding:"0 10px",gap:"16px",cursor:"pointer"},children:[(0,l.jsx)(n(),{alt:"left-arrow",src:m.A,width:14,height:14,onClick:()=>{var e;return null==(e=o.current)?void 0:e.slickPrev()}}),(0,l.jsxs)("span",{className:"slider-counter",children:[s+1,"/",t.length]}),(0,l.jsx)(n(),{alt:"left-arrow",src:h.A,width:14,height:14,onClick:()=>{var e;return null==(e=o.current)?void 0:e.slickNext()}})]})]})};var x=s(25783),g=s(92679),f=s(14e3),b=s(86144),j=s(75423),y=s(6155),w=s(17464),k=s(56557),N=s.n(k),C=s(15832),D=s(56671),M=s.n(D),S=s(49292),L=s(91162),A=s(92196),H=s(48815),I=s.n(H),R=s(95336),O=s(5297);let W=e=>{var t,s,r,p,h,m,k,D,H,W,T,P,E,q,z,U,Y;let{guideDetails:J,availableRateCards:$=[],layout:B="grid",isNarrow:F}=e,[V,X]=(0,i.useState)(!1),[G,Q]=(0,i.useState)(!1),[K,Z]=(0,i.useState)(""),[ee,et]=(0,i.useState)(null),[es,el]=(0,i.useState)([]),[ei,er]=(0,i.useState)(10),[en,eo]=(0,i.useState)({}),{postCart:ec}=(0,j.A)(J),ea=(0,i.useContext)(y.A);(0,f.useRouter)();let ed=(null==J||null==(t=J.page_attributes)?void 0:t.is_mt)?(null==J||null==(s=J.page_attributes)?void 0:s.mt_theme)==="mt_dark_theme"?"#c5de2d":"#2c2a2b":(null==J||null==(r=J.page_attributes)?void 0:r.theme_color)==="dark_theme"?"#ff6600":"#0666fe",eu=(null==J||null==(p=J.page_attributes)?void 0:p.is_mt)&&(null==J||null==(h=J.page_attributes)?void 0:h.mt_theme)==="mt_dark_theme"?"#000000":"#ffffff",e_=(null==(m=$.length?$:null==J?void 0:J.ratecards)?void 0:m.filter(e=>e.is_elearning_only))||[];(0,i.useEffect)(()=>{if(K){var e,t,s,l;let i=null==e_||null==(e=e_.filter(e=>e.is_elearning_only))?void 0:e.filter(e=>e.title===K);et(null==i?void 0:i[0]),el((null==i||null==(t=i[0])?void 0:t.section_2)?null==(s=JSON.parse(null==i||null==(l=i[0])?void 0:l.section_2))?void 0:s.features:[])}},[K]);let ep=async(e,t)=>{t.stopPropagation(),await (e=>{let t,s={selectedDay:N()(new Date).format("YYYY-MM-DD"),course_title:null==e?void 0:e.title,course_image:null==e?void 0:e.coverpicture,course_id:null==e?void 0:e.id,course_sku:null==e?void 0:e.sku,course_cost:null==e?void 0:e.course_cost,quantity:1,product_type:"course"},l=JSON.parse(JSON.stringify((0,b.je)())),i=l.findIndex(e=>e.course_sku===s.course_sku);t=-1!==i?l.map((e,t)=>t===i?{...e,quantity:s.quantity}:e):[...l,s],(0,w.qw)(s),ec(s),(0,b.Bo)(t)})(e)},eh=()=>{Q(!1)};return(0,l.jsxs)("div",{children:["grid"===B&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{children:"Advanced & Master Dive Courses"}),(0,l.jsx)("p",{children:"Choose Your Open Water Post e-Learning Instruction Here!"})]}),(0,l.jsx)("div",{className:"classic"===B?F?"courses_mobile_container":"courses_desktop_container":"course_listing_container",children:null==e_||null==(k=e_.filter(e=>e.is_elearning_only))?void 0:k.map((e,t)=>{var s,i,r,c,d,u;return"classic"===B?F?(0,l.jsxs)("div",{className:"".concat(R.rateCardContainerMob," ").concat(a.courseMobileCard),onClick:()=>{Z(null==e?void 0:e.title),X(!0)},children:[(0,l.jsxs)("div",{style:{padding:15,width:"100%"},children:[(0,l.jsx)("div",{className:R.media,style:{position:"relative"},children:(0,l.jsx)(n(),{src:e.coverpicture.startsWith("http")?e.coverpicture:"".concat(I().cloudfront,"filters:format(webp)/").concat(e.coverpicture),alt:e.title,fill:!0,placeholder:"blur",priority:!0,loading:"eager",fetchPriority:"high",blurDataURL:e.coverpicture,style:{objectFit:"cover"}})}),(0,l.jsx)("h2",{className:R.boldtitle,style:{fontSize:20,margin:"10px 0"},children:e.title})]}),(0,l.jsxs)("div",{className:R.mobile__ratecard__desc__container,children:[(0,l.jsxs)("div",{className:R.mobile__ratecard__description_classic,children:[(0,l.jsx)("h2",{className:R.desc_title,children:"Description: "}),(0,l.jsx)("div",{style:{paddingTop:15,fontSize:14,margin:0,display:"inline"},children:(0,l.jsx)("div",{className:"desc_container",dangerouslySetInnerHTML:{__html:e.description}})})]}),(0,l.jsx)("div",{className:"d-flex justify-content-end",style:{minHeight:"70px",alignItems:"flex-end"},children:(0,l.jsx)("div",{onClick:t=>{ep(e,t),t.stopPropagation(),Q(!0),Z(null==e?void 0:e.title)},children:(0,l.jsx)(o.default,{is_mt:null==J||null==(s=J.page_attributes)?void 0:s.is_mt,guideDetails:J,snippets:J.seo_snippets,dynamic:!0,from:"courses",course_cost:"".concat(M()(null==ea||null==(i=ea.userData)?void 0:i.currency)||"$").concat(null==e?void 0:e.course_cost)})})})]})]},null==e?void 0:e.id):(0,l.jsx)("div",{className:"".concat(O.t3_ratecard_holder," ").concat(a.courseDesktopCard),onClick:()=>{Z(null==e?void 0:e.title),X(!0)},children:(0,l.jsxs)("div",{className:O.t3_ratecard_cols,children:[(0,l.jsx)("div",{className:O.t3_ratecard_cover_photo_holder,children:(0,l.jsx)("div",{className:O.t3_ratecard_cover_photo,children:(0,l.jsx)(n(),{src:e.coverpicture.startsWith("http")?e.coverpicture:"".concat(I().cloudfront,"filters:format(webp)/").concat(e.coverpicture),alt:e.title,fill:!0,placeholder:"blur",priority:!0,loading:"eager",fetchPriority:"high",blurDataURL:e.coverpicture,style:{objectFit:"cover",borderRadius:"10px"}})})}),(0,l.jsx)("div",{className:O.t3_ratecard_data,children:(0,l.jsxs)("div",{className:O.t3_ratecard_details,children:[(0,l.jsx)("h2",{className:O.t3_ratecard_title,children:e.title}),(0,l.jsx)("div",{className:O.t3_ratecard_desc,children:(0,l.jsx)("div",{className:"rateDescription",dangerouslySetInnerHTML:{__html:e.description}})}),(0,l.jsx)("div",{style:{marginTop:"20px",display:"flex",justifyContent:"flex-end"},children:(0,l.jsx)("div",{onClick:t=>{ep(e,t),t.stopPropagation(),Q(!0),Z(null==e?void 0:e.title)},children:(0,l.jsx)(o.default,{is_mt:null==J||null==(r=J.page_attributes)?void 0:r.is_mt,guideDetails:J,snippets:J.seo_snippets,dynamic:!0,from:"courses",course_cost:"".concat(M()(null==ea||null==(c=ea.userData)?void 0:c.currency)||"$").concat(null==e?void 0:e.course_cost)})})})]})})]})},null==e?void 0:e.id):(0,l.jsxs)("div",{className:"course_listing_items",style:{display:t>=ei?"none":"block"},onClick:()=>{Z(null==e?void 0:e.title),X(!0)},children:[(0,l.jsx)("div",{className:"course_listing_items_image",children:(0,l.jsx)(n(),{src:e.coverpicture.startsWith("http")?e.coverpicture:"".concat(I().cloudfront,"filters:format(webp)/").concat(e.coverpicture),alt:e.title,fill:!0,placeholder:"blur",priority:!0,loading:"eager",fetchPriority:"high",blurDataURL:e.coverpicture})}),(0,l.jsxs)("div",{className:"course_listing_items_details",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:e.description}}),(0,l.jsx)("div",{className:"d-flex justify-content-end",children:(0,l.jsx)("div",{onClick:t=>{ep(e,t),t.stopPropagation(),Q(!0),Z(null==e?void 0:e.title)},children:(0,l.jsx)(o.default,{is_mt:null==J||null==(d=J.page_attributes)?void 0:d.is_mt,guideDetails:J,snippets:J.seo_snippets,dynamic:!0,from:"courses",course_cost:"".concat(M()(null==ea||null==(u=ea.userData)?void 0:u.currency)||"$").concat(null==e?void 0:e.course_cost)})})})]})]},null==e?void 0:e.id)})}),(()=>{var e,t,s;let i=(null==e_||null==(e=e_.filter(e=>e.is_elearning_only))?void 0:e.length)||0,r=Math.min(10,i-ei);return"grid"===B&&i>ei&&(0,l.jsx)("div",{style:{textAlign:"center",marginTop:"20px"},children:(0,l.jsxs)("button",{onClick:()=>er(e=>e+10),style:{padding:"12px 20px",backgroundColor:(null==J||null==(t=J.page_attributes)?void 0:t.selected_button_color)||ed,color:(null==J||null==(s=J.page_attributes)?void 0:s.selected_font_color)||eu,border:"none",borderRadius:"5px",cursor:"pointer",fontSize:"16px",fontWeight:"bold",margin:"20px 0px 40px"},children:["Load ",r," More Course",1!==r?"s":""]})})})(),(0,l.jsx)(c.default,{show:V,onClose:()=>X(!1),head:!1,BG:!0,noPadding:!0,children:(0,l.jsxs)("div",{className:a.courses_modal_container,children:[(0,l.jsx)("div",{className:a.courses_modal_container_
1close,children:(0,l.jsx)(g.default,{url:C.A,size:18,alt:"close",class_name:C.A,handleClick:()=>X(!1)})}),(0,l.jsxs)(u.A,{style:{padding:"0px 8px"},children:[(0,l.jsx)(_.A,{xs:12,sm:12,md:12,lg:6,xl:6,children:(null==ee||null==(D=ee.images)?void 0:D.length)>0?(0,l.jsx)(v,{images:null==ee?void 0:ee.images}):(0,l.jsx)("div",{className:"course_listing_items_image",children:(0,l.jsx)(n(),{src:(null==ee?void 0:ee.coverpicture.startsWith("http"))?null==ee?void 0:ee.coverpicture:"".concat(I().cloudfront,"filters:format(webp)/").concat(null==ee?void 0:ee.coverpicture),alt:null==ee?void 0:ee.title,fill:!0,placeholder:"blur",priority:!0,loading:"eager",fetchPriority:"high",blurDataURL:null==ee?void 0:ee.coverpicture})})}),(0,l.jsxs)(_.A,{xs:12,sm:12,md:12,lg:6,xl:6,className:"d-flex flex-column justify-content-between ".concat(a.courses_modal_container_btn),children:[(0,l.jsx)("h3",{children:null==ee?void 0:ee.title}),(0,l.jsx)("div",{onClick:e=>{e.stopPropagation(),Q(!0),Z(null==ee?void 0:ee.title)},children:(0,l.jsx)(o.default,{is_mt:null==J||null==(H=J.page_attributes)?void 0:H.is_mt,guideDetails:J,snippets:J.seo_snippets,dynamic:!1,from:"courses",course_cost:"".concat(M()(null==ea||null==(W=ea.userData)?void 0:W.currency)||"$").concat(null==ee?void 0:ee.course_cost)})})]})]}),(0,l.jsx)("p",{className:a.course_description,dangerouslySetInnerHTML:{__html:null==ee?void 0:ee.description}}),(null==ee||null==(T=ee.course_skills)?void 0:T.length)>0?(0,l.jsxs)("div",{style:{backgroundColor:"".concat((null==J||null==(P=J.page_attributes)?void 0:P.selected_button_color)||ed),color:"".concat((null==J||null==(E=J.page_attributes)?void 0:E.selected_font_color)||eu)},className:a.courses_modal_description,children:[(0,l.jsx)("h4",{children:"What You'll Learn"}),(0,l.jsx)("ul",{className:a.courses_modal_description_list,children:null==ee||null==(q=ee.course_skills)?void 0:q.map((e,t)=>(0,l.jsxs)("li",{className:"d-flex align-items-center",children:[(0,l.jsx)(g.default,{url:x.A,size:20,alt:"signed icon",style:{marginRight:12}}),e]},t))})]}):null,(null==es?void 0:es.length)>0?(0,l.jsxs)("div",{className:"".concat(a.certification_modal_description," ").concat(a.courses_modal_description),children:[(0,l.jsx)("h4",{children:"Certification Requirements"}),(0,l.jsx)("div",{className:a.courses_modal_ceetification_list,children:null==es?void 0:es.map(e=>(0,l.jsxs)("div",{children:[(0,l.jsx)("h5",{children:e.title}),null==e?void 0:e.description.split("\n\n").map(e=>(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:e}}))]}))})]}):null]})}),(0,l.jsx)(L.default,{show:G,size:"lg",onHide:()=>eh(),popup:!0,from:"courses",children:(0,l.jsxs)("div",{className:d.MainContModal,children:[(0,l.jsx)(A.default,{handleClick:eh,from:"courses"}),(0,l.jsx)("div",{className:d.container,children:(0,l.jsx)(S.default,{selectedTime:{},selectedTrip:{},currency:null==ea||null==(z=ea.userData)?void 0:z.currency,updatedDate:"",editOrder:["Course","How Many",""],from:"courses",template:!!((null==J||null==(U=J.page_attributes)?void 0:U.is_mt)||["Modern"].includes(null==J||null==(Y=J.page_attributes)?void 0:Y.template)),guideDetails:J,courseDetails:ee,showOnMobile:!0})})]})})]})}},15832:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"/_next/static/media/close.16c15e59.svg",height:22,width:22,blurWidth:0,blurHeight:0}},25783:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"/_next/static/media/ic_check_circle_outline.18048152.svg",height:32,width:32,blurWidth:0,blurHeight:0}},27611:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"/_next/static/media/rightarrowgrey.486312f4.svg",height:132,width:74,blurWidth:0,blurHeight:0}},27905:e=>{e.exports={courses_modal_container:"courses_courses_modal_container__H_exq",courses_modal_description:"courses_courses_modal_description__MEQV7",courses_modal_description_list:"courses_courses_modal_description_list__XvQMh",courses_modal_ceetification_list:"courses_courses_modal_ceetification_list__VGrhC",certification_modal_description:"courses_certification_modal_description__weN_S",course_description:"courses_course_description__1J8p3",courses_modal_container_btn:"courses_courses_modal_container_btn__eM0Ob",courses_modal_container_
1close:"courses_courses_modal_container_close__LvMid",courseMobileCard:"courses_courseMobileCard__058mv",courseDesktopCard:"courses_courseDesktopCard__0E3R5",courseDesktopDesc:"courses_courseDesktopDesc__LJsiX",truncated:"courses_truncated__nITz9"}},37216:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"/_next/static/media/leftarrowgrey.ab28b5d4.svg",height:132,width:74,blurWidth:0,blurHeight:0}},78755:(e,t,s)=>{var l;!function(){"use strict";var i=!!("undefined"!=typeof window&&window.document&&window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!!(window.addEventListener||window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(l=(function(){return r}).call(t,s,t,e))||(e.exports=l)}()},81500:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var l=s(37876),i=s(41116),r=s.n(i);let n=e=>{let{show:t,onClose:s,children:i,title:n,width:o,hideHeader:c,BG:a,noPadding:d,overlayStyle:u={}}=e,_=!!a&&a;return(0,l.jsxs)(r(),{isOpen:t,contentLabel:"onRequestClose Example",onRequestClose:s,style:{content:{top:"50%",left:"50%",right:"auto",bottom:"auto",transform:"translate(-50%, -50%)",background:"".concat(_?"white":"transparent"),border:"".concat(_?"1px":"none"),width:"".concat(o||"-webkit-fill-available"),maxHeight:"calc(100vh - 2rem )",maxWidth:"100%",overflow:"auto",padding:"".concat(d?"0px":"20px")},overlay:u},shouldCloseOnOverlayClick:!0,children:[!!c&&c&&(0,l.jsx)("div",{className:"modal-header",children:(0,l.jsx)("span",{onClick:()=>s(),style:{cursor:"pointer"},children:"x"})}),n&&(0,l.jsx)("h1",{style:{fontSize:"16px"},children:n}),(0,l.jsx)("div",{className:"modal-body",style:{padding:0},children:i})]})}},91162:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var l=s(37876),i=s(41116),r=s.n(i);let n=e=>{let{show:t,onHide:s,children:i,popup:n,from:o}=e;return(0,l.jsx)(r(),{isOpen:t,contentLabel:"Upcoming Availabilty Modal",onRequestClose:s,shouldCloseOnOverlayClick:!0,className:n?"courses"===o?"react_modal_v2 modal_courses":"react_modal_v2":"react_modal",children:i})}},92196:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var l=s(37876),i=s(91049);let r=e=>{let{handleClick:t,from:s}=e;return(0,l.jsxs)("div",{className:"d-flex justify-content-between align-items-center ".concat(i.banner__container),children:[(0,l.jsxs)("p",{className:i.banner__title,children:["Customize My ".concat("courses"===s?"Course":"Trip"),"courses"!=s?(0,l.jsx)("span",{children:"You can change all of your selections at checkout"}):null]}),(0,l.jsx)("button",{className:i.banner__button,onClick:()=>t(),children:(0,l.jsx)("span",{children:"X"})})]})}},97643:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var l=s(37876),i=s(48230),r=s.n(i);let n=e=>{var t,s,i,n,o,c,a;let{is_mt:d,guideDetails:u,snippets:_,dynamic:p,from:h,course_cost:m}=e,v=d?(null==u||null==(t=u.page_attributes)?void 0:t.mt_theme)==="mt_dark_theme"?"#c5de2d":"#2c2a2b":(null==u||null==(s=u.page_attributes)?void 0:s.theme_color)==="dark_theme"?"#ff6600":"#0666fe",x=d&&(null==u||null==(i=u.page_attributes)?void 0:i.mt_theme)==="mt_dark_theme"?"#000000":"#ffffff";return(0,l.jsx)("button",{className:"common_button",style:{background:(null==u||null==(n=u.page_attributes)?void 0:n.selected_button_color)||v,color:(null==u||null==(o=u.page_attributes)?void 0:o.selected_font_color)||x,width:p?"auto":"160px",marginRight:"courses"===h?"0px":"15px"},children:"courses"===h?"".concat(m):(0,l.jsx)(r(),{style:{color:(null==u||null==(c=u.page_attributes)?void 0:c.selected_font_color)||x},href:"/"+(null==_||null==(a=_.s110_rates_url)?void 0:a.toLowerCase()),children:"Book Now"})})}}}]);
2//# sourceMappingURL=7454.061f76da073cba36.js.map

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.