PageSourceSearch

https://www.eatonfarmpub.co.uk/_next/static/chunks/6525.0a8b94631f22c530.js

js eatonfarmpub.co.uk collected 2026-10-08 23:39:17 UTC 2,913 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6525],{26525:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return r}});var o=a(97458),i=a(52983),l=a(70855),t=a.n(l),c=a(94021);function r(e){let{enableVideo:n,fallbackImage:a,videoId:l,videoPlayer:r}=e,[d,_]=(0,i.useState)(!1);return n&&l?(0,o.jsx)("div",{className:"container flush ".concat(t().mainWrapper),children:n&&(0,o.jsx)("div",{className:t().media,onClick:()=>{_(!d)},children:(0,o.jsx)(c.Z,{videoId:l,videoPlayer:r,fallbackImage:a,isPlay:d,playSound:!0,showPlayIcon:!d})})}):null}},94021:function(e,n,a){"use strict";a.d(n,{Z:function(){return u}});var o=a(97458),i=a(40511),l=a(37048),t=a(2638),c=a.n(t),r=a(52983),d=a(29957),_=a(12094),s=a.n(_);function u(e){let{fallbackImage:n,isPlay:a=!0,playSound:t,position:_=0,showPlayIcon:u=!1,videoId:h,videoPlayer:B}=e,[m,v]=(0,r.useState)(!1),p=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;let n=null===(e=p.current)||void 0===e?void 0:e.internalPlayer;a?null==n||n.playVideo():null==n||n.pauseVideo()},[a]),(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(i.ZP,{className:"image-full-size image-cover ".concat(s().fallback,"\n          ").concat(m?s().hide:"").trim(),params:[{width:375,height:636},{width:750,height:1272},{width:1125,height:625},{width:1440,height:800},{width:1920,height:1067}],src:n,alt:"video fallback image",width:"375",height:"636",preload:1===_||void 0,Preloader:1===_?c():void 0,loading:_>1?"lazy":void 0}),"vimeo"===B&&h&&(0,o.jsxs)(o.Fragment,{children:[u&&(0,o.jsx)("div",{className:"".concat(s().videoIcon," ").concat(s().vimeoIcon)}),(0,o.jsx)(l.Z,{className:s().video,video:h,controls:!1,muted:!t,loop:!0,autoplay:a,onReady:()=>v(!0),paused:!a})]}),"youtube"===B&&h&&(0,o.jsxs)(o.Fragment,{children:[u&&(0,o.jsx)("div",{className:"".concat(s().videoIcon," ").concat(s().youtubeIcon)}),(0,o.jsx)(d.Z,{className:s().video,opts:{playerVars:{autoplay:a?1:0,mute:1,loop:1,playlist:h,controls:0,modestbranding:1}},videoId:h,onReady:e=>{a&&e.target.playVideo(),v(!0)},ref:p})]})]})}},70855:function(e){e.exports={breakpoint:"820px",mainWrapper:"T2MainBannerBlock_mainWrapper__JuJLQ",bar:"T2MainBannerBlock_bar__oOPlX",stripBar:"T2MainBannerBlock_stripBar___5BYI",control:"T2MainBannerBlock_control__OwXVR",media:"T2MainBannerBlock_media__oOImM",slider:"T2MainBannerBlock_slider__yGx9l",slide:"T2MainBannerBlock_slide__SjttZ",image:"T2MainBannerBlock_image__2wNnU",content:"T2MainBannerBlock_content__TlAbk",title:"T2MainBannerBlock_title__CdupO",subheading:"T2MainBannerBlock_subheading___nZuB",heading:"T2MainBannerBlock_heading__JTKAY",buttons:"T2MainBannerBlock_buttons__ha_8z",overlay:"T2MainBannerBlock_overlay__kfb28"}},12094:function(e){e.exports={fallback:"Video_fallback__lXUeC",hide:"Video_hide__dMBuH",video:"Video_video__KYz0l",videoIcon:"Video_videoIcon__VdboE",vimeoIcon:"Video_vimeoIcon__LogGU",youtubeIcon:"Video_youtubeIcon__9rngS"}}}]);

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.