PageSourceSearch

https://juddmonte.com/_next/static/chunks/5810.7b41a54f96123360.js

js juddmonte.com collected 2026-10-02 10:55:06 UTC 7,821 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5810],{27553:(e,i,r)=>{r.d(i,{A:()=>c});var a=r(35124),s=r(15039),l=r.n(s),n=r(86542),d=r(37876);let t=e=>{let{cards:i,fullWidthCards:r}=e;if(!i||i.length<1)return null;let s=l()("card-grid",{"card-grid-full-width":r});return(0,d.jsx)("div",{className:s,children:(0,d.jsx)("div",{className:"card-grid-row row d-flex justify-content-center",children:i.map(e=>{let{post:i,cardContentInner:s,country:t,noLink:c}=e,{title:h,type:o}=i,m=`${o}-${h&&(0,a.slugify)(h.rendered)}`,x=l()("card-grid-item col-12",{"col-md-6":!r,"col-lg-4":!r});return(0,d.jsx)("div",{className:x,children:(0,d.jsx)(n.A,{post:i,cardContentInner:s,country:t,fullWidth:r,noLink:c})},m)})})})};t.defaultProps={fullWidthCards:!1};let c=t},34081:(e,i,r)=>{r.d(i,{i:()=>n,L:()=>d});var a=r(27454),s=r.n(a),l=r(37876);let n=e=>{if(!e)return null;let{type:i,excerpt:r,acf:a}=e,n=(0,l.jsx)("div",{className:"card-content-section",children:s()(r&&r.rendered)}),{stallion_header_pedigree:d,stallion_header_height:t,stallion_header_date_to_stud:c,stallion_header_fee:h,race_horse_dob:o,race_horse_details:m,race_horse_ridden_by:x,race_horse_trained_by:j,trainer_details:u,team_member_position:A,team_member_email:g,team_member_phone:p}=a,{user:_,domain:f,email:b,encoded:v}=function(e){if(!e||"string"!=typeof e||!e.includes("@"))return{user:"",domain:"",email:"",encoded:""};let[i,r]=e.split("@"),a=`${i}@${r}`,s=a.split("").map(e=>`&#${e.charCodeAt(0)};`).join("");return{user:i,domain:r,email:a,encoded:s}}(g),{countryCode:N,areaCode:y,localNumber:w,phone:$,encoded:C}=function(e){if(!e||"string"!=typeof e)return{countryCode:"",areaCode:"",localNumber:"",phone:"",encoded:""};let i=e.replace(/\s+/g,""),r=i.match(/^\+\d+/),a=r?r[0]:"",s=a?i.slice(a.length):i,l=s.match(/\(\d+\)/),n=l?l[0]:"",d=s.replace(n,""),t=e.split("").map(e=>`&#${e.charCodeAt(0)};`).join("");return{countryCode:a,areaCode:n,localNumber:d,phone:e,encoded:t}}(p);switch(i){case"stallion":n=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"card-content-section",children:(0,l.jsxs)("p",{children:[d&&(0,l.jsxs)("span",{children:[s()(d),(0,l.jsx)("br",{})]}),t&&(0,l.jsxs)("span",{children:[s()(t),(0,l.jsx)("br",{})]}),c&&(0,l.jsxs)("span",{children:[s()(c),(0,l.jsx)("br",{})]}),h&&(0,l.jsx)("span",{children:s()(h)})]})}),r&&r.rendered&&(0,l.jsx)("div",{className:"card-content-section",children:s()(r&&r.rendered)})]});break;case"race-horse":n=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"card-content-section",children:(0,l.jsxs)("div",{children:[m&&(0,l.jsx)("div",{children:s()(m)}),o&&(0,l.jsxs)("div",{className:"card-content-field-side-by-side",children:[(0,l.jsx)("span",{children:"Date of birth:"})," ",s()(o)]}),j&&(0,l.jsxs)("div",{className:"card-content-field-side-by-side",children:[(0,l.jsx)("span",{children:"Trained by:"}),s()(j)]}),x&&(0,l.jsxs)("div",{className:"card-content-field-side-by-side",children:[(0,l.jsx)("span",{children:"Ridden by:"}),s()(x)]})]})}),r&&r.rendered&&(0,l.jsx)("div",{className:"card-content-section",children:s()(r&&r.rendered)})]});break;case"trainer":n=(0,l.jsx)(l.Fragment,{children:u&&(0,l.jsx)("div",{className:"card-content-section",children:(0,l.jsx)("div",{children:u&&(0,l.jsx)("div",{children:s()(u)})})})});break;case"team-member":n=(0,l.jsx)(l.Fragment,{children:(A||p||g)&&(0,l.jsx)("div",{className:"card-content-section",children:(0,l.jsxs)("div",{children:[A&&(0,l.jsx)("div",{children:(0,l.jsx)("strong",{children:s()(A)})}),g&&(0,l.jsx)("div",{children:(0,l.jsx)("a",{href:`mailto:${b}`,dangerouslySetInnerHTML:{__html:v}})}),p&&(0,l.jsx)("div",{children:(0,l.jsx)("a",{href:`tel:${$}`,dangerouslySetInnerHTML:{__html:C}})})]})})})}return n},d=e=>{if(!e)return null;let{type:i,acf:r}=e,a="";switch(i){case"stallion":a=r&&r.stallion_country;break;case"race-horse":a=r&&r.race_horse_country;break;case"trainer":a=r&&r.trainer_country}return a}},51665:(e,i,r)=>{r.d(i,{A:()=>t});var a=r(54587),s=r.n(a),l=r(42583),n=r(37876);let d=e=>{let i,r,a,{image:d,thumbnailSize:t,fullSize:c,layout:h,quality:o,priority:m,objectFit:x,objectPosition:j,showCaption:u}=e;if(!d)return null;let{alt:A,sizes:g,title:p,caption:_}=d;if(!g)return null;(0,l.A)()&&(window.devicePixelRatio>1||window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)").matches)&&(i=g[`${t}_2x`],r=g[`${t}_2x_height`]||g[`${t}_2x-height`],a=g[`${t}_2x_width`]||g[`${t}_2x-width`]);let f=i||g[`${t}`],b=r||g[`${t}-height`]||g[`${t}_height`],v=a||g[`${t}-width`]||g[`${t}_width`];return(c&&(f=g.full,b=g.full_height||g["full-height"],v=g.full_width||g["full-width"]),f&&("fill"===h||b&&v))?"fill"===h?(0,n.jsxs)("span",{className:"image",children:[(0,n.jsx)(s(),{src:f,alt:A||p,fill:!0,quality:o,priority:m,style:{objectFit:x,objectPosition:j},placeholder:"blur",blurDataURL:"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="}),u&&_&&(0,n.jsx)("small",{style:{display:"block",textAlign:"right"},children:_})]}):(0,n.jsxs)("span",{className:"image",children:[(0,n.jsx)(s(),{src:f,alt:A||p,height:b,width:v,quality:o,priority:m,placeholder:"blur",blurDataURL:"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="}),u&&_&&(0,n.jsx)("small",{style:{display:"block",textAlign:"right"},children:_})]}):null};d.defaultProps={thumbnailSize:"post",image:[],fullSize:!1,layout:"intrinsic",quality:65,priority:!1,objectFit:"none",objectPosition:"center center",showCaption:!1};let t=d},65810:(e,i,r)=>{r.r(i),r.d(i,{default:()=>t});var a=r(28443),s=r(27553),l=r(34081),n=r(37876);let d="card_grid_",t=e=>{let{getModuleField:i,module:r}=e,t=i(r,d,"heading"),c=i(r,d,"cards").map(e=>({post:e,cardContentInner:(0,l.i)(e),country:(0,l.L)(e),noLink:e&&("trainer"===e.type||"team-member"===e.type)}));return(0,n.jsx)(a.A,{background:"grey",heading:t,headingExtraMargin:!0,children:(0,n.jsx)(s.A,{c
1ards:c})})}},86542:(e,i,r)=>{r.d(i,{A:()=>h});var a=r(32131),s=r(27454),l=r.n(s),n=r(79600),d=r(51665),t=r(37876);let c=e=>{let{post:i,cardContentInner:r,country:s,fullWidth:c,noLink:h}=e;if(!i)return null;let{destination:o,featured_image:m,title:x,label:j}=i;return c?(0,t.jsxs)("div",{className:"card card-full-width",children:[m&&0!==m.id&&(0,t.jsx)("div",{className:"card-image",children:(0,t.jsx)(d.A,{image:m,thumbnailSize:"thumbnail"})}),(0,t.jsx)("div",{className:"card-inner",children:(0,t.jsxs)("div",{className:"card-content",children:[(0,t.jsxs)("h3",{children:[x&&l()(x.rendered),j&&(0,t.jsx)("span",{className:"site-label",children:j})]}),r]})})]}):h?(0,t.jsxs)("div",{className:"card card-no-link",children:[(0,t.jsx)("div",{className:"card-top",children:(0,t.jsxs)("h2",{children:[x&&l()(x.rendered),j&&(0,t.jsx)("span",{className:"site-label",children:j}),s&&(0,t.jsx)("span",{className:`flag-icon flag-icon-${s.toLowerCase()}`,children:"\xa0"})]})}),!(0,a.Im)(m)&&(0,t.jsx)("div",{className:"card-image",children:(0,t.jsx)(d.A,{image:m,thumbnailSize:"card"})}),(0,t.jsx)("div",{className:"card-inner",children:r&&(0,t.jsx)("div",{className:"card-content",children:r})})]}):(0,t.jsxs)(n.A,{className:"card",href:o,type:"internal",children:[(0,t.jsx)("div",{className:"card-top",children:(0,t.jsxs)("h2",{children:[x&&l()(x.rendered),j&&(0,t.jsx)("span",{className:"site-label",children:j}),s&&(0,t.jsx)("span",{className:`flag-icon flag-icon-${s.toLowerCase()}`,children:"\xa0"})]})}),!(0,a.Im)(m)&&(0,t.jsx)("div",{className:"card-image",children:(0,t.jsx)(d.A,{image:m,thumbnailSize:"card"})}),(0,t.jsx)("div",{className:"card-inner",children:r&&(0,t.jsx)("div",{className:"card-content",children:r})})]})};c.defaultProps={cardContentInner:null,fullWidth:!1,noLink:!1,country:""};let h=c}}]);

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.