PageSourceSearch

https://www.joepools.com/_next/static/chunks/27011.67f68820825f7d42.js

js joepools.com collected 2026-09-29 17:10:48 UTC 14,677 bytes, 7 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27011],{3431:(e,t,o)=>{o.d(t,{A:()=>a});let a={bucketObjectId:"https://h3f5ivd9.b-cdn.net/placeholder_rectangle.jpg",webpSrc:"https://h3f5ivd9.b-cdn.net/placeholder_rectangle.webp"}},27011:(e,t,o)=>{o.d(t,{A:()=>T});var a=o(6029),i=o(7703),r=o(55729),n=o(21425),s=o(74836),l=o(7652),d=o(3431),c=o(69937),u=o(59396);function p(e){let{src:t,iconColor:o,shouldLoadAsset:i,objectPosition:n,objectFit:s,"data-item-media-attribute":l,"data-media-attribute":d}=e,c=(0,r.useId)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0",children:(0,a.jsxs)("filter",{id:c,colorInterpolationFilters:"sRGB",children:[(0,a.jsx)("feFlood",{floodColor:o,result:"flood"}),(0,a.jsx)("feComposite",{in:"flood",in2:"SourceGraphic",operator:"in"})]})}),(0,a.jsx)("img",{src:i?t:"",alt:"icon",style:{filter:`url(#${c})`,width:"100%",height:"100%",objectPosition:n,objectFit:s}})]})}var h=o(81553),f=o(71024),g=o.n(f),m=o(46944),b=o(29927),v=o(13654);let y=g()(()=>o.e(12353).then(o.bind(o,64187)),{loadableGenerated:{webpack:()=>[64187]}}),x=(0,i.n9)()(e=>({videoContainer:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",width:"100%",position:"relative"},controlContainer:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},video:{width:"100%",maxWidth:"100%"},backgroundVideo:{objectFit:"cover",width:"100%",height:"100%",backgroundColor:"black"},ieBackgroundVideo:{height:"unset"},icon:{color:"white !important",fontSize:"64px","&:hover":{cursor:"pointer"}},professionalIcon:{borderRadius:"50%","&:hover":{backgroundColor:e.palette.secondary.main}},forceHeight:{width:"auto",height:"100%"}})),w=(0,r.forwardRef)((e,t)=>{let o,{title:i,isBackground:s=!1,shouldLoadAsset:d=!1,src:c,customPlayButton:u=!1,playButtonSx:p,controls:f=!1,autoPlay:g=!1,loop:w=!1,forceHeight:j=!1,muted:C=!0,forcePaused:k=!1,onStarted:P,onEnded:E,onPause:N,className:I="",style:A={},containerClassName:S="","data-item-media-attribute":B,"data-media-attribute":F}=e,T=(0,m.A)(),L=g&&T,{template:$,disableImageCompression:R}=(0,r.useContext)(n.$),[V,Y]=(0,r.useState)(!1),[z,H]=(0,r.useState)(!0),[_,D]=(0,r.useState)(!1),[W,q]=(0,r.useState)(!1),G=(0,b.A)(),{classes:M,cx:O}=x();(0,r.useEffect)(()=>{let e=e=>{e.ended&&(H(!0),D(!0))},o=()=>{H(!1),q(!1),Y(!0)},a=()=>{H(!0)},i=()=>{q(!0)};if(u){let r=t.current;return r.addEventListener("timeupdate",()=>e(r)),r.addEventListener("play",o),r.addEventListener("pause",a),r.addEventListener("seeking",i),()=>{r.removeEventListener("timeupdate",()=>e(r)),r.removeEventListener("play",o),r.removeEventListener("pause",a),r.removeEventListener("seeking",i)}}},[u,c,t]),(0,r.useEffect)(()=>{let e=t?.current;null!=e&&(G?(e.pause&&e.pause(),H(!0)):L&&e.play&&e.play().then(()=>H(!1)))},[G,t,L]),(0,r.useEffect)(()=>{let e=t?.current;null!=e&&k&&e.pause&&(e.pause(),H(!0))},[k,t]);let Z=e=>{e.preventDefault(),e.stopPropagation();let o=t.current;if(z&&null!=o){if(_&&D(!1),!o.play)return;o.play()}else{if(!o.pause)return;o.pause()}};switch($){case"bold":G||(o=(0,a.jsx)(y,{isVideoEnded:_,sx:p}));break;case"professional":o=(0,a.jsx)(h.A,{className:O(_&&"fas fa-redo-alt",!_&&"far fa-play-circle",M.icon,M.professionalIcon)});break;default:o=(0,a.jsx)(h.A,{className:O(_&&"fas fa-redo-alt",!_&&"far fa-play-circle",M.icon)})}let K="sunrise"===$?{objectFit:z?"cover":"contain"}:void 0,U=c;return"undefined"!=typeof navigator&&navigator.userAgent&&!/iPad|iPhone|iPod/.test(navigator.userAgent)&&(U=`${c}#t=1.1`),(0,a.jsxs)("div",{className:O(M.videoContainer,S,"video-container"),children:[(0,a.jsx)("video",{preload:"metadata",controls:f,title:i,className:O(I,!s&&M.video,s&&M.backgroundVideo,v.lT&&s&&M.ieBackgroundVideo,j&&M.forceHeight),style:{...K,...A},ref:t,muted:C,onPlay:P,onEnded:E,onPause:N,onClick:u&&!f?Z:void 0,autoPlay:!G&&L,loop:!G&&w,poster:(0,l.Vt)(c,{noTransform:R}),children:T&&d&&(0,a.jsx)("source",{src:U})},U),u&&o&&(!V||!W&&(_||z))&&(0,a.jsx)("div",{className:M.controlContainer,style:{background:`${z?"rgba(0, 0, 0, 0.4)":"rgba(0, 0, 0, 0)"}`},onClick:Z,onKeyPress:Z,role:"button",tabIndex:0,"aria-label":`Play button for video with title: ${i}`,children:z&&o})]})});var j=o(43072);let C="https://www.youtube.com/iframe_api",k=(0,i.n9)()({videoContainer:{overflow:"hidden",position:"relative",width:"100%",height:0,paddingBottom:0},includePaddingBottom:{paddingBottom:"56.25%"},background:{position:"static"},forceHeight:{width:"auto",height:"100%"},iframe:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},posterFrame:{position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},poster:{position:"absolute",top:"-16.667%",left:0,width:"100%",height:"133.333%",objectFit:"cover"},playBadge:{position:"absolute",top:"50%",left:"50%",width:68,height:48,transform:"translate(-50%, -50%)",pointerEvents:"none",color:"#fff",filter:"drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5))"},videoContainerFillContainer:{position:"relative",height:"100%"},iframeFillContainer:{top:"50%",left:"50%",width:"100vw",height:"100vh",position:"absolute",transform:"translate(-50%, -50%)","@media (min-aspect-ratio: 16/9)":{height:"56.25vw"},"@media (max-aspect-ratio: 16/9)":{width:"177.78vh"}}}),P=(0,r.forwardRef)((e,t)=>
1{let{videoId:o,title:i,isBackground:n=!1,controls:s=!1,onStarted:l,onEnded:d,onPause:c,autoPlay:u=!1,loop:p=!1,forceHeight:h=!1,muted:f=!1,forcePaused:g=!1,includePaddingBottom:v=!0,fillContainer:y=!1,className:x="",shouldLoadAsset:w=!0,style:P={},"data-item-media-attribute":E,"data-media-attribute":N}=e,I=(0,m.A)(),A=u&&I,{classes:S,cx:B}=k(),F=(0,r.useRef)(performance.now()),T=`${o}${F.current}-player`,[L,$]=(0,r.useState)(),R=(0,b.A)(),[V,Y]=(0,r.useState)(),z=!!o&&!L&&V!==o,[H,_]=(0,j.Wx)({triggerOnce:!0,rootMargin:"200px 0px"}),D=(0,r.useRef)(f),W=(0,r.useRef)(A);(0,r.useEffect)(()=>{D.current=f},[f]),(0,r.useEffect)(()=>{W.current=A},[A]);let q=(0,r.useCallback)(e=>{if(L)try{e(L)}catch{}},[L]);(0,r.useEffect)(()=>{L&&(R||!w?q(e=>e.stopVideo()):A&&q(e=>e.playVideo()))},[R,L,A,w,q]),(0,r.useEffect)(()=>{L&&g&&q(e=>e.pauseVideo())},[L,g,q]),(0,r.useEffect)(()=>{L&&(f?q(e=>e.mute()):q(e=>e.unMute()))},[f,L,q]);let G=(0,r.useCallback)(e=>{switch(e.data){case YT.PlayerState.ENDED:if(d&&d(),p)try{e.target.seekTo(0,!0),e.target.playVideo()}catch{}break;case YT.PlayerState.PLAYING:l&&l();break;case YT.PlayerState.PAUSED:c&&c()}},[l,d,p,c]),M=(0,r.useCallback)(e=>{try{D.current&&e.target.mute(),W.current&&e.target.playVideo()}catch{}$(e.target)},[]);return(0,r.useEffect)(()=>{let e;if(!_)return;let t=!1;return $(void 0),(window.YT?.Player?Promise.resolve():new Promise(e=>{let t=0,o=()=>{if(window.YT?.Player||++t>1200)return void e();requestAnimationFrame(o)};if(document.querySelector(`script[src="${C}"]`))o();else{globalThis.loadedYoutubeAPI=!0;let e=document.createElement("script");e.src=C;let t=document.getElementsByTagName("script")[0];t?.parentNode?.insertBefore(e,t);let a=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{"function"==typeof a&&a(),o()}}})).then(()=>{!t&&window.YT?.Player&&document.getElementById(T)&&(e=new window.YT.Player(T,{videoId:o,playerVars:{controls:+!!s,enablejsapi:1},events:{onStateChange:G,onReady:M},host:"https://www.youtube-nocookie.com"}))}).catch(()=>{globalThis.loadedYoutubeAPI=!1}),()=>{t=!0,$(void 0);try{e?.destroy?.()}catch{}}},[_,o,G,M,s,T]),(0,a.jsxs)("div",{ref:H,className:B(x,S.videoContainer,v&&S.includePaddingBottom,n&&S.background,h&&S.forceHeight,y&&S.videoContainerFillContainer),style:P,children:[(0,a.jsx)("div",{id:T,className:B(S.iframe,y&&S.iframeFillContainer),ref:t,role:"group","aria-label":i}),z&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:S.posterFrame,"aria-hidden":"true",children:(0,a.jsx)("img",{className:S.poster,src:`https://i.ytimg.com/vi/${o}/hqdefault.jpg`,alt:"",onError:()=>Y(o),"data-youtube-poster":o})}),(!u||R)&&(0,a.jsxs)("svg",{className:S.playBadge,viewBox:"0 0 68 48","aria-hidden":"true",focusable:"false",children:[(0,a.jsx)("path",{d:"M66.52 7.74a8.4 8.4 0 0 0-5.9-5.94C55.4.6 34 .6 34 .6s-21.4 0-26.62 1.2A8.4 8.4 0 0 0 1.48 7.74C.3 13 .3 24 .3 24s0 11 1.18 16.26a8.4 8.4 0 0 0 5.9 5.94C12.6 47.4 34 47.4 34 47.4s21.4 0 26.62-1.2a8.4 8.4 0 0 0 5.9-5.94C67.7 35 67.7 24 67.7 24s0-11-1.18-16.26z",fill:"#000",fillOpacity:"0.55"}),(0,a.jsx)("path",{d:"M27 14.5v19l17-9.5z",fill:"currentColor"})]})]})]})});var E=o(56676);let N=(0,E.i7)`
2  0% { transform: rotate(0deg); }
3  100% { transform: rotate(360deg); }
4`,I=(0,E.i7)`
5  0%, 100% { opacity: 0.7; }
6  50% { opacity: 1; }
7`,A=(0,i.n9)()({container:{position:"relative",width:"100%",height:0,paddingBottom:"56.25%",backgroundColor:"#f5f5f5",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},loadingContent:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},spinner:{width:"40px",height:"40px",border:"3px solid #e0e0e0",borderTop:"3px solid #666",borderRadius:"50%",animation:`${N} 1s linear infinite`},playIcon:{width:"60px",height:"60px",backgroundColor:"rgba(0, 0, 0, 0.7)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",animation:`${I} 2s ease-in-out infinite`,"&::after":{content:'""',width:0,height:0,borderLeft:"16px solid white",borderTop:"10
7px solid transparent",borderBottom:"10px solid transparent",marginLeft:"4px"}}}),S=e=>{let{className:t,style:o,variant:i="play"}=e,{classes:r,cx:n}=A();return(0,a.jsx)("div",{className:n(r.container,t),style:o,children:(0,a.jsx)("div",{className:r.loadingContent,children:"spinner"===i?(0,a.jsx)("div",{className:r.spinner}):(0,a.jsx)("div",{className:r.playIcon})})})},B=(0,r.lazy)(()=>o.e(82178).then(o.bind(o,82178))),F=(0,i.n9)()({imgContainer:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},fillImgContainer:{position:"relative",display:"block",width:"100%",height:"100%"},img:{maxWidth:"100%",maxHeight:"100%"},bgWrap:{position:"fixed",height:"100vh",width:"100vw",overflow:"hidden",zIndex:-1},backgroundImage:{backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"},backgroundImageNested:{width:"100%"},backgroundImageNoNested:{position:"absolute",top:"0",left:"0",bottom:"0",right:"0"},texture:{opacity:"0.8 !important"}}),T=(0,r.forwardRef)((e,t)=>{let{media:o,className:i,containerClassName:h,title:f,children:g,isBackground:m=!1,shouldLoadAsset:b=!0,onVideoStarted:v,onVideoEnded:y,onVideoPause:x,draggable:j,customPlayButton:C=!1,playButtonSx:k,muted:E=!1,controls:N=!1,autoPlay:I,forcePaused:A=!1,loop:T=!1,forceHeight:L=!1,includeYTPaddingBottom:$=!0,fillYTContainer:R=!1,objectFit:V,objectPosition:Y,focalPoint:z,loading:H="lazy",fetchPriority:_,sizes:D,srcSetWidths:W,style:q={},containerStyle:G={},iconColor:M="#000000",ytStyle:O={},"data-item-media-attribute":Z,"data-media-attribute":K}=e,{classes:U,cx:J}=F(),Q=(0,r.useRef)(null),{id:X,isPreview:ee,disableImageCompression:et}=(0,r.useContext)(n.$),eo=(0,l.Nh)(o),ea=(0,l.fF)(o,{noTransform:et,sourceWidth:eo}),ei=D?(0,l.Dl)(o,{widths:W,noTransform:et,sourceWidth:eo}):void 0,er=z??(0,l.o5)(o),en=(0,l.Zi)(o)||f,es=en?(0,u.A)(en):"",el=(0,l.KT)(o),ed=er?`${100*er.x}% ${100*er.y}%`:Y,ec=ee&&ea.startsWith("/")?`/${X}/static${ea}`:ea,eu=ea.includes("textures/");switch((()=>{let e=(0,c.ZC)(ea);return"image"!==e&&""!==ea||g||m?("image"===e||""===ea)&&(g||m)?"backgroundImage":e:"image"})()){case"icon":return(0,a.jsx)(p,{src:ec,iconColor:M,shouldLoadAsset:b,objectPosition:Y,objectFit:V});case"image":return(0,a.jsx)("div",{className:J(h,U.imgContainer),style:G,children:(0,a.jsx)("img",{loading:H,fetchpriority:_,src:b?ec||(0,l.Ay)(d.A):"",srcSet:b?ei:void 0,sizes:b&&ei?D:void 0,width:eo,height:el,alt:es,ref:t??Q,className:J(i,U.img,eu&&U.texture),style:{objectFit:V||"cover",objectPosition:ed,...q},draggable:j})});case"backgroundImage":if(!g)return(0,a.jsx)("img",{loading:H,fetchpriority:_,src:ec||(0,l.Ay)(d.A),srcSet:ei,sizes:ei?D:void 0,alt:es??"",draggable:j,className:J(i,m&&U.backgroundImageNoNested,!m&&U.backgroundImageNested,eu&&U.texture),style:{objectFit:V||"cover",objectPosition:ed,position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent",...q}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{loading:H,fetchpriority:_,src:ec||(0,l.Ay)(d.A),srcSet:ei,sizes:ei?D:void 0,alt:es??"",draggable:j,className:J(i,m&&U.backgroundImageNoNested,!m&&U.backgroundImageNested,eu&&U.texture),style:{objectFit:V,position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent",...q}}),g]});case"video":return(0,a.jsx)(w,{className:i,containerClassName:h,title:es,style:{objectFit:V,...q},isBackground:m,ref:t??Q,muted:E,controls:N,forcePaused:A,onStarted:v,onEnded:y,onPause:x,shouldLoadAsset:b,src:ec,autoPlay:I,customPlayButton:C,playButtonSx:k,loop:T,forceHeight:L});case"youtube":let ep=(0,c.CZ)(ea);return(0,a.jsx)(s.A,{children:(0,a.jsx)(P,{className:i,style:{...q,...O},videoId:ep&&ep[1]||"",title:es,isBackground:m,ref:t??Q,controls:N,forcePaused:A,onStarted:v,onEnded:y,onPause:x,autoPlay:I,loop:T,forceHeight:L,muted:E,includePaddingBottom:$,fillContainer:R,shouldLoadAsset:b})});case"vimeo":let eh=(0,c.t8)(ea);return(0,a.jsx)(s.A,{children:(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)(S,{style:{...q,...O}}),children:(0,a.jsx)(B,{className:i,style:{...q,...O},videoId:eh&&eh[1]||"",title:es,isBackground:m,ref:t??Q,controls:N,forcePaused:A,onStarted:v,onEnded:y,onPause:x,autoPlay:I,loop:T,forceHeight:L,muted:E,includePaddingBottom:$,fillContainer:R,shouldLoadAsset:b})})});default:return null}})},46944:(e,t,o)=>{o.d(t,{A:()=>i});var a=o(55729);function i(){let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>
7{if(e)return;let o=()=>t(!0);return document.addEventListener("mouseover",o,{once:!0}),document.addEventListener("touchstart",o,{once:!0}),()=>{document.removeEventListener("mouseover",o),document.removeEventListener("touchstart",o)}}),e}},59396:(e,t,o)=>{o.d(t,{A:()=>i});let a=[[/&nbsp;/g," "],[/&lt;/g,"<"],[/&gt;/g,">"],[/&quot;/g,'"'],[/&#39;/g,"'"],[/&apos;/g,"'"],[/&amp;/g,"&"]];function i(e){if("string"!=typeof e)return"";let t=e.replace(/<[^>]*>/g,"");for(let[e,o]of a)t=t.replace(e,o);return t.replace(/\s+/g," ").trim()}},74836:(e,t,o)=>{o.d(t,{A:()=>r});var a=o(6029),i=o(55729);let r=e=>{let{children:t,fallback:o=null}=e,[r,n]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{n(!0)},[]),r)?(0,a.jsx)(a.Fragment,{children:t}):(0,a.jsx)(a.Fragment,{children: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.