1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3019],{1212:(e,t,l)=>{l.r(t),l.d(t,{LocaleString:()=>n});var r=l(83843);function n(e){let{stringKey:t,fallback:l}=e;return(0,r.L)(t,l).replace(/[\u200B-\u200D\uFEFF\u00AD\u034F\u2060-\u206F]/g,"").replace(/\s+/g," ").trim()}},5918:(e,t,l)=>{l.d(t,{u:()=>n});var r=l(84311);let n=(0,r.createServerReference)("40481be7784306c3d65b2680dcfd8c7dafa4d80a65",r.callServer,void 0,r.findSourceMapURL,"searchSaleHorses")},12925:(e,t,l)=>{l.r(t),l.d(t,{default:()=>s});var r=l(58605),n=l(23033),a=l(42151);let i=!1,s=e=>{let{config:t,className:l,showOnMobile:s=!0,showOnDesktop:o=!0}=e,{adUnitPath:c,slotId:d,width:u,height:m,modalTimeout:h,type:p,refreshInterval:f}=t,g=(0,n.useRef)(null),x=(0,n.useRef)(null),[b,v]=(0,n.useState)(!1),[y,w]=(0,n.useState)(!0),[N,j]=(0,n.useState)(!1),k=(0,a.EL)(),A=!s||!o,S=(s||o)&&(!A||null!==k&&(k&&o||!k&&s));return((0,n.useEffect)(()=>{if(!S)return;let e=!1,t=null;if(window.googletag){let{googletag:l}=window;l.cmd.push(function(){if(!e&&document.getElementById(d))try{var r;let n=l.pubads().getSlots().find(e=>e.getSlotElementId()===d);if(n&&l.destroySlots([n]),e||!document.getElementById(d)||(g.current&&(g.current.innerHTML=""),t=e=>{e.slot.getSlotElementId()!==d||e.isEmpty||("modalGPT"===p&&v(!0),"anchorBottomGPT"===p&&j(!0))},l.pubads().addEventListener("slotRenderEnded",t),x.current=null==(r=l.defineSlot(c,[u,m],d))?void 0:r.addService(l.pubads()),i||(l.setConfig({collapseDiv:"ON_NO_FILL"}),l.enableServices(),i=!0),e||!document.getElementById(d)))return;l.display(d)}catch(e){}})}return()=>{if(e=!0,x.current=null,window.googletag){let{googletag:e}=window;e.cmd.push(()=>{t&&e.pubads().removeEventListener("slotRenderEnded",t);let l=e.pubads().getSlots().find(e=>e.getSlotElementId()===d);l&&e.destroySlots([l])})}}},[S,c,d,u,m,p]),(0,n.useEffect)(()=>{if("modalGPT"!==p||!b)return;let e=setTimeout(()=>v(!1),h?1e3*h:15e3);return()=>clearTimeout(e)},[p,h,b]),(0,n.useEffect)(()=>{if(!f||!x.current)return;let e=setInterval(()=>{window.googletag&&window.googletag.cmd.push(()=>{x.current&&window.googletag.pubads().refresh([x.current])})},1e3*f);return()=>clearInterval(e)},[f,d]),S)?"anchorBottomGPT"===p?y?(0,r.jsx)("div",{style:{position:"fixed",bottom:0,left:0,width:"100%",zIndex:9999,display:"flex",justifyContent:"center",backgroundColor:"rgba(255, 255, 255, 0.6)",padding:"4px 0"},children:(0,r.jsxs)("div",{className:"relative",children:[N&&(0,r.jsx)("button",{onClick:()=>w(!1),className:"absolute -top-3 -right-3 w-7 h-7 bg-white border border-gray-300 rounded-full shadow-md flex items-center justify-center text-gray-600 hover:text-black text-lg leading-none","aria-label":"Close advertisement",children:"\xd7"}),(0,r.jsx)("div",{id:d,ref:g})]})}):null:"modalGPT"===p?(0,r.jsx)("div",{className:b?"fixed inset-0 z-[9999] flex items-center justify-center bg-black/60":"fixed left-[-9999px]",role:b?"dialog":void 0,"aria-modal":b?"true":void 0,"aria-label":b?"Advertisement":void 0,children:(0,r.jsxs)("div",{className:"relative bg-white rounded-lg p-4",children:[b&&(0,r.jsx)("button",{onClick:()=>v(!1),className:"absolute -top-3 -right-3 w-8 h-8 bg-white border border-gray-300 rounded-full shadow-md flex items-center justify-center text-gray-600 hover:text-black text-xl leading-none","aria-label":"Close advertisement",children:"\xd7"}),(0,r.jsx)("div",{id:d,ref:g,className:l,style:{minWidth:"".concat(u,"px"),minHeight:"".concat(m,"px")}})]})}):(0,r.jsx)("div",{id:d,ref:g,className:l,style:{minWidth:"".concat(u,"px"),minHeight:"".concat(m,"px")}}):null}},14749:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});let r="cdn.sanity.io";function n(e,t){let l=e.includes("?")?"&":"?";return"".concat(e).concat(l,"w=").concat(t)}function a(e){let{src:t,width:l,quality:a}=e;if(!t)return t;if(function(e){let t=e.split("?")[0].toLowerCase();return t.endsWith(".gif")||t.includes("-gif")}(t))return"".concat(t,"#w").concat(l);if(!function(e){try{return new URL(e).hostname===r}catch(t){return e.includes(r)}}(t))return n(t,l);try{let e=new URL(t);e.searchParams.delete("h"),e.searchParams.delete("w"),e.searchParams.set("auto","format"),e.searchParams.set("fit","max"),e.searchParams.set("q",String(null!=a?a:75));let r="".concat(e.origin).concat(e.pathname,"?w=").concat(l,"&").concat(e.searchParams.toString());return r===t?"".concat(r,"&n=").concat(l):r}catch(e){return n(t,l)}}},18442:(e,t,l)=>{l.d(t,{Q:()=>a});var r=l(58605),n=l(66506);function a(e){let{tabs:t,activeTab:l,onTabClick:a,ariaIdsPrefix:i}=e;return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 mb-6",role:"tablist",children:t.map(e=>{let t=l===e.id,s=i?"".concat(i,"-tabpanel-mobile-").concat(e.id):"tabpanel-mobile-".concat(e.id),o=i?"".concat(i,"-tab-mobile-").concat(e.id):void 0;return(0,r.jsx)("button",{id:o,role:"tab","aria-selected":t,"aria-controls":s,className:(0,n.A)("w-fit shrink-0 px-3 py-1 lg:px-5 lg:py-3 text-base lg:text-xl font-bold uppercase tracking-wide transition-all duration-200 rounded-lg font-['Teko']",{"bg-primary-blue text-white":t,"bg-white text-primary-blue border-2 border-primary-blue":!t}),onClick:()=>a(e.id),children:e.label},e.id)})})}},24345:(e,t,l)=>{l.d(t,{A:()=>u});var r=l(58605),n=l(47856),a=l.n(n),i=l(66506),s=l(68700),o=l(58808),c=l(12925);let d=(e,t)=>(0,i.A)({hidden:!e&&!t,"block lg:hidden":e&&!t,"hidden lg:block":!e&&t,block:e&&t});function u(e){let{zones:t,className:l,lighterBorder:n=!1,marginBottom:u=!1,borderTop:m=!1,borderBottom:h=!0,simpleAd:p=!1}=e;if(!t||0===t.length)return null;let f=t.every(e=>"adBlock"===e.elementsType),g=t.some(e=>e.showAdBlocksOnMobile),x=t.some(e=>e.showAdBlocksOnDesktop),b=f?d(g,x):"",v=p?"":(0,i.A)(h?"border-b":"",n?"border-gray-300":"border-gray-800",u?"mb-6":"",m?"pt-6 border-t":"");return(0,r.jsx)("div",{className:(0,i.A)(v,b),children:(0,r.jsx)("div",{className:(0,i.A)(p?"":"mb-6","flex flex-col gap-4 bg-white",l),children:t.map(e=>(0,r.jsxs)("section",{"aria-labelledby":"zone-".concat(e._id),className:(0,i.A)("adBlock"===e.elementsType?"p-3 sm:p-6":"p-6",f?d(!!e.showAdBlocksOnMobile,!!e.showAdBlocksOnDesktop):""),children:[e.header&&(0,r.jsx)("h2",{id:"zone-".concat(e._id),className:"font-bold text-primary-blue uppercase tracking-wide mb-3 leading-none text-lg lg:text-xl 2xl:text-2xl",children:e.header}),"contentZoneLink"===e.elementsType&&(0,r.jsx)("nav",{className:"grid grid-cols-2 gap-x-2 gap-y-3","aria-label":"".concat(e.header," links"),children:e.elements.map(e=>(0,r.jsx)(a(),{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"w-fit hover:text-primary-orange/80 transition-colors","aria-label":"".concat(e.title," (opens in new tab)"),children:(0,r.jsx)("div",{className:"text-sm lg:text-base text-primary-orange underline",children:e.title})},e._key))}),"adBlock"===e.elementsType&&(0,r.jsx)("div",{className:"flex flex-col gap-4 items-center",children:e.elements.map(e=>{let t=!!e.isMobile,l=!!e.isDesktop,n=(0,i.A)("relative",{hidden:!t&&!l,"
1inline-flex lg:hidden":t&&!l,"hidden lg:inline-flex":!t&&l,"inline-flex":t&&l});return e.ad.adConfigGAM?(0,r.jsx)(c.default,{config:e.ad.adConfigGAM,className:n,showOnMobile:t,showOnDesktop:l},e._key):e.ad.link&&e.adImage?(0,r.jsx)(a(),{href:e.ad.link,target:"_blank",className:n,style:{width:"".concat(e.ad.image.asset.metadata.dimensions.width,"px"),height:"".concat(e.ad.image.asset.metadata.dimensions.height,"px")},children:(0,r.jsx)(o.default,{src:e.adImage||"",alt:e.ad.name,className:"object-contain",fill:!0,sizes:"(max-width: 768px) 100vw, 1200px"})},e._key):(0,r.jsx)("div",{children:"Missing ad information in content zone"},e._key)})}),"richTextBlock"===e.elementsType&&(0,r.jsx)("div",{className:"flex flex-col gap-4",children:e.elements.map(e=>(0,r.jsx)(s.A,{_key:e._key,_type:"richTextBlock",title:e.title,body:e.body},e._key))})]},e._id))})})}},32157:(e,t,l)=>{l.d(t,{A:()=>s});var r=l(58605),n=l(66506),a=l(97660),i=l(83843);function s(e){let{currentPage:t,totalPages:l,onPageChange:s,previousLabel:o,nextLabel:c,pageLabel:d}=e,u=(0,i.L)("pagination_previous_page","Previous page"),m=(0,i.L)("pagination_next_page","Next page"),h=(0,i.L)("pagination_page","Page"),p=d||h;if(l<=1)return null;let f=(()=>{let e=[];
1if(l>7)if(e.push(1),t<=3){for(let t=2;t<=4;t++)e.push(t);e.push("..."),e.push(l)}else if(t>=l-2){e.push("...");for(let t=l-3;t<=l;t++)e.push(t)}else{e.push("...");for(let l=t-1;l<=t+1;l++)e.push(l);e.push("..."),e.push(l)}else for(let t=1;t<=l;t++)e.push(t);return e})();return(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-8 mb-6 font-['Montserrat']",children:[(0,r.jsx)("button",{onClick:()=>s(t-1),disabled:1===t,className:(0,n.A)("px-3 py-1 transition-colors text-2xl rounded",1===t?"text-gray-400 cursor-not-allowed":"text-gray-800 cursor-pointer hover:bg-gray-100"),"aria-label":o||u,children:(0,r.jsx)(a.pM3,{})}),f.map((e,l)=>{if("..."===e)return(0,r.jsx)("span",{className:"px-2 text-gray-500",children:"..."},"ellipsis-".concat(l));let a=e===t;return(0,r.jsx)("button",{onClick:()=>s(e),className:(0,n.A)("px-3 py-1 transition-colors rounded cursor-pointer",a?"bg-primary-orange text-white border-primary-orange font-semibold":"border-gray-600 text-gray-800 hover:bg-gray-100"),"aria-label":"".concat(p," ").concat(e),"aria-current":a?"page":void 0,children:e},e)}),(0,r.jsx)("button",{onClick:()=>s(t+1),disabled:t===l,className:(0,n.A)("px-3 py-1 transition-colors text-2xl rounded",t===l?"text-gray-400 cursor-not-allowed":"text-gray-800 cursor-pointer hover:bg-gray-100"),"aria-label":c||m,children:(0,r.jsx)(a.wi,{})})]})}},42151:(e,t,l)=>{l.d(t,{EL:()=>i,GM:()=>s,Ub:()=>a});var r=l(23033);function n(e,t){let l=window.matchMedia(e);t(l.matches);let r=e=>t(e.matches);return l.addEventListener("change",r),()=>l.removeEventListener("change",r)}function a(e){let[t,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>n(e,l),[e]),t}function i(){let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>n("(min-width: 1024px)",t),[]),e}function s(){return a("(min-width: 1024px)")}},48704:(e,t,l)=>{l.d(t,{Q:()=>n});var r=l(84311);let n=(0,r.createServerReference)("7f9d6ed2b4aec4f6ac5b3ea9ebc4d5c33a5f803571",r.callServer,void 0,r.findSourceMapURL,"revalidateSyncTags")},49346:(e,t,l)=>{l.d(t,{Y:()=>s,Z:()=>u});let r=/show_stallion\.asp/i,n=/^(?:https?:\/\/[^\s/]+)?\/?[\w./-]*show_stallion\.asp\?horse=(\d+)/i;function a(e){if(!r.test(e))return null;try{let t=(e.startsWith("http")?new URL(e):new URL(e,"https://stallionesearch.com")).searchParams.get("horse");return(null==t?void 0:t.trim())||null}catch(l){let t=new URLSearchParams(e.includes("?")?e.split("?")[1]:"").get("horse");return(null==t?void 0:t.trim())||null}}function i(e){return"/show_stallion.asp?horse=".concat(encodeURIComponent(e))}function s(e){let t=a(e);if(t)return{href:i(t),isExternal:!1};let l=e.startsWith("http://")||e.startsWith("https://");return{href:e,isExternal:l}}function o(e){return!e||!/[A-Za-z0-9']/.test(e)}function c(e,t,l){let r=n.exec(e.slice(t));if(!r)return null;let a=r[1],i=l.get(a);return{horseId:a,slug:i,start:t,end:t+r[0].length}}function d(e,t,l){for(let a of l){var r,n;let l=a.name.trim();if(!l||t+l.length>e.length||(n=e.slice(t,t+l.length),0!==n.localeCompare(l,void 0,{sensitivity:"accent"})))continue;let i=t>0?e[t-1]:"",s=t+l.length<e.length?e[t+l.length]:"";if(o(i)&&o(s)&&(null==(r=a.slug)?void 0:r.current))return{stallion:a,start:t,end:t+l.length}}return null}function u(e,t){let l=t.length?[...t].sort((e,t)=>t.name.trim().length-e.name.trim().length):[],r=function(e){let t=new Map;for(let r of e){var l;let e=null==(l=r.slug)?void 0:l.current;null!=r.legacyId&&e&&t.set(String(r.legacyId),e)}return t}(t),n={n:0};return e.map(e=>(function(e,t,l,r){var n,s,o;let u=e.children;if(!(null==u?void 0:u.length))return e;let m=(o=[...null!=(n=e.markDefs)?n:[]],o.map(e=>{if("link"!==e._type||"string"!=typeof e.href)return e;let t=a(e.href);if(!t)return e;let r=l.get(t);return r?{...e,_type:"memberStallionLink",href:"/stallions/".concat(r)}:{...e,href:i(t)}})),h=[];for(let e of u){let n="string"==typeof e.text?e.text:"";if(!n||function(e,t){var l;return!!(null==(l=e.marks)?void 0:l.length)&&(!!e.marks.includes("noLink")||!!(null==t?void 0:t.length)&&e.marks.some(e=>{let l=t.find(t=>t._key===e);return(null==l?void 0:l._type)==="link"||(null==l?void 0:l._type)==="memberStallionLink"||(null==l?void 0:l._type)==="noLink"}))}(e,m)){h.push(e);continue}let a=function(e,t,l){let r=[],n=0;for(;n<e.length;){let i=c(e,n,l);if(i){i.start>n&&r.push({text:e.slice(n,i.start)}),r.push({text:e.slice(i.start,i.end),slug:i.slug,horseId:i.horseId}),n=i.end;continue}let s=d(e,n,t);if(s){var a;s.start>n&&r.push({text:e.slice(n,s.start)}),r.push({text:e.slice(s.start,s.end),slug:null==(a=s.stallion.slug)?void 0:a.current}),n=s.end}else{let a=n+1;for(;a<e.length&&!c(e,a,l)&&!d(e,a,t);)a++;r.push({text:e.slice(n,a)}),n=a}}return r}(n,t,l),o=null!=(s=e.marks)?s:[];for(let t of a){if(!t.slug&&!t.horseId){h.push({...e,_key:"span-".concat(r.n++),text:t.text,marks:[...o]});continue}let l=t.slug?"msl-".concat(r.n++):"leg-".concat(r.n++);m.push(t.slug?{_key:l,_type:"memberStallionLink",href:"/stallions/".concat(t.slug)}:{_key:l,_type:"link",href:i(t.horseId)}),h.push({...e,_key:"span-".concat(r.n++),text:t.text,marks:[...o,l]})}}return{...e,markDefs:m,children:h}})(JSON.parse(JSON.stringify(e)),l,r,n))}},51625:(e,t,l)=>{l.d(t,{A:()=>d});var r=l(58605),n=l(23033),a=l(66506),i=l(34944),s=l.n(i),o=l(42151),c=l(18442);function d(e){var t,l,i;let{tabs:d,defaultActiveTab:u,className:m,tabsClassName:h,contentClassName:p,onTabChange:f,noPadding:g=!1,breakpoint:x="1280px"}
1=e,[b,v]=(0,n.useState)(u||(null==(t=d[0])?void 0:t.id)||""),[y,w]=(0,n.useState)(!1),N=(0,o.Ub)("(min-width: ".concat(x,")"));(0,n.useEffect)(()=>{u&&(v(u),w(!1))},[u]);let j=e=>{b===e?w(!y):(v(e),w(!1),null==f||f(e))},k=null==(l=d.find(e=>e.id===b))?void 0:l.content;return(0,r.jsxs)("div",{className:(0,a.A)("w-full",m),children:[N&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(0,a.A)("flex",h),role:"tablist",children:d.map(e=>(0,r.jsx)("button",{role:"tab","aria-selected":b===e.id,"aria-controls":"tabpanel-".concat(e.id),className:(0,a.A)("px-6 py-3 font-bold text-2xl uppercase tracking-wide transition-colors duration-200 ".concat(s().className),"border-dark-gray relative",{"border-r border-l border-t rounded-t-[5px] text-primary-blue bg-white z-10":b===e.id,"text-secondary-taupe/50":b!==e.id}),onClick:()=>j(e.id),children:e.label},e.id))}),(0,r.jsx)("div",{id:"tabpanel-".concat(b),role:"tabpanel","aria-labelledby":"tab-".concat(b),className:(0,a.A)("block w-full border rounded-[5px] border-dark-gray bg-white -mt-px",{"rounded-tl-none":b===(null==(i=d[0])?void 0:i.id)},p,g?"p-0":"px-5 pb-8 pt-5"),children:k})]}),!N&&(0,r.jsxs)("div",{children:[(0,r.jsx)(c.Q,{tabs:d,activeTab:b,onTabClick:j}),(0,r.jsx)("div",{id:"tabpanel-mobile-".concat(b),role:"tabpanel","aria-labelledby":"tab-mobile-".concat(b),className:(0,a.A)("w-full",p),children:k})]})]})}},56131:(e,t,l)=>{function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{year:"numeric",month:"long",day:"numeric"},[l,r,n]=e.split("-").map(Number);return new Date(l,r-1,n).toLocaleDateString("en-US",t)}function n(e){let[t,l,r]=e.split("-").map(Number);return new Date(t,l-1,r).toLocaleDateString("en-US",{month:"long",day:"numeric"})}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date;if(!e||t<0)return!1;let[r,n,a]=e.split("T")[0].split("-").map(Number);if(!r||!n||!a)return!1;let i=new Date(r,n-1,a),s=Math.round((new Date(l.getFullYear(),l.getMonth(),l.getDate()).getTime()-i.getTime())/864e5);return s>=0&&s<=t}function i(e,t){if(e===t)return r(e);let[l,a,i]=e.split("-").map(Number),[s,o,c]=t.split("-").map(Number);if(l===s&&a===o){let e=new Date(l,a-1,1).toLocaleDateString("en-US",{month:"long"});return"".concat(e," ").concat(i," - ").concat(c,", ").concat(l)}return l===s?"".concat(n(e)," - ").concat(r(t)):"".concat(r(e)," - ").concat(r(t))}l.d(t,{JP:()=>r,Pn:()=>a,Sn:()=>n,tX:()=>i})},59904:(e,t,l)=>{l.d(t,{MemberStallionsProvider:()=>i,Q:()=>s});var r=l(58605),n=l(23033);let a=(0,n.createContext)(void 0);function i(e){let{initialStallions:t,children:l}=e;return(0,r.jsx)(a.Provider,{value:{stallions:t},children:l})}function s(){let e=(0,n.useContext)(a);if(void 0===e)throw Error("useMemberStallionsContext must be used within a MemberStallionsProvider");return e}},65684:(e,t,l)=>{l.d(t,{f0:()=>i,h6:()=>s,jT:()=>n,vv:()=>a});var r=l(23732);function n(e){let t={"&":"&","<":"<",">":">",""":'"',"'":"'","'":"'"," ":"\xa0","½":"\xbd","¼":"\xbc","¾":"\xbe","–":"â","—":"â","…":"â¦","‘":"â","’":"â","“":"â","”":"â","•":"â¢","·":"\xb7","°":"\xb0","×":"\xd7","÷":"\xf7","±":"\xb1","≠":"â ","≤":"â¤","≥":"â¥","∞":"â","∑":"â","∏":"â","√":"â","∫":"â«","∂":"â","∝":"â","µ":"\xb5","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","θ":"θ","λ":"λ","π":"Ï","σ":"Ï","ω":"Ï"};return e.replace(/&[a-z0-9]+;|&#[0-9]+;|&#x[0-9a-f]+;/gi,e=>t[e.toLowerCase()]?t[e.toLowerCase()]:e.startsWith("&#x")?String.fromCharCode(parseInt(e.slice(3,-1),16)):e.startsWith("&#")?String.fromCharCode(parseInt(e.slice(2,-1),10)):e)}function a(e){return null==e||Number.isNaN(e)?"":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}).format(e)}function i(e){let t=Array.isArray(e)?e:[],l=t.filter(e=>"OUT"===(0,r.Q)(e.buyerName||"").trim().toUpperCase()),n=t.filter(e=>"OUT"!==(0,r.Q)(e.buyerName||"").trim().toUpperCase()),i=n.length,s=n.filter(e=>(Number(e.price)||0)>0),o=s.length,c=n.reduce((e,t)=>
1e+(Number(t.price)||0),0),d=s.reduce((e,t)=>e+(Number(t.price)||0),0),u=0;if(s.length>0){let e=s.map(e=>Number(e.price)||0).filter(e=>e>0).sort((e,t)=>e-t),t=Math.floor(e.length/2);u=e.length%2==0?(e[t-1]+e[t])/2:e[t]}return{offered:i,sold:o,rna:i-o,gross:a(c),avg:a(o>0?d/o:0),median:a(u),out:l.length}}function s(e){return e.replace(/^https?:\/\//i,"")}},67277:(e,t,l)=>{l.d(t,{A:()=>u});var r=l(58605),n=l(29402),a=l(66506),i=l(58808),s=l(47856),o=l.n(s);function c(e){var t,l;if(!e)return!1;let r=null!=(t=e.children)?t:[];if(r.some(e=>{var t;return null==(t=e.marks)?void 0:t.includes("align-center")}))return!0;let n=new Set((null!=(l=e.markDefs)?l:[]).filter(e=>"align-center"===e._type&&e._key).map(e=>e._key));return!!n.size&&r.some(e=>{var t;return null==(t=e.marks)?void 0:t.some(e=>n.has(e))})}let d=e=>{let{className:t,customElement:l,suppressLinks:n,moreText:s}=e,d=!0,u="normal"===l&&t?t:"mb-6 text-gray-800 leading-relaxed text-base lg:text-lg";return{block:{normal:e=>{let{children:t,value:l}=e,n=s&&d;return d=!1,(0,r.jsxs)("p",{className:(0,a.A)(u,c(l)&&"text-center"),children:[n&&(0,r.jsx)(r.Fragment,{children:s}),t]})},"align-center":e=>{let{children:t}=e,l=s&&d;return d=!1,(0,r.jsxs)("p",{className:(0,a.A)(u,"text-center"),children:[l&&(0,r.jsx)(r.Fragment,{children:s}),t]})},h1:e=>{let{children:t,value:l}=e;return(0,r.jsx)("h1",{className:(0,a.A)("text-2xl lg:text-3xl font-bold text-primary-blue mb-6 mt-8",c(l)&&"text-center"),children:t})},h2:e=>{let{children:t,value:l}=e;return(0,r.jsx)("h2",{className:(0,a.A)("text-xl lg:text-2xl font-semibold text-primary-blue mb-4 mt-6",c(l)&&"text-center"),children:t})},h3:e=>{let{children:t,value:l}=e;return(0,r.jsx)("h3",{className:(0,a.A)("text-lg lg:text-xl font-semibold text-gray-800 mb-3 mt-5",c(l)&&"text-center"),children:t})},blockquote:e=>{let{children:t,value:l}=e;return(0,r.jsx)("blockquote",{className:(0,a.A)("border-l-4 border-primary-blue pl-4 italic text-gray-700 my-6",c(l)&&"text-center"),children:t})}},marks:{strong:e=>{let{children:t}=e;return(0,r.jsx)("strong",{className:"font-bold text-gray-900",children:t})},em:e=>{let{children:t}=e;return(0,r.jsx)("em",{className:"italic",children:t})},underline:e=>{let{children:t}=e;return(0,r.jsx)("span",{className:"underline",children:t})},link:e=>{var t,l;let{children:a,value:i}=e;if(n)return(0,r.jsx)("span",{className:"text-blue-600 underline",title:null==i?void 0:i.href,children:a});let s=(null==i||null==(t=i.href)?void 0:t.startsWith("http://"))||(null==i||null==(l=i.href)?void 0:l.startsWith("https://"));return(0,r.jsx)(o(),{href:null==i?void 0:i.href,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0,className:"text-blue-600 underline cursor-pointer",title:null==i?void 0:i.href,children:a})},memberStallionLink:e=>{var t;let{children:l,value:a}=e;return n?(0,r.jsx)("span",{className:"text-blue-600 underline",title:null==a?void 0:a.href,children:l}):(0,r.jsx)(o(),{href:null!=(t=null==a?void 0:a.href)?t:"#",className:"text-blue-600 underline cursor-pointer",children:l})},noLink:e=>{let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})},highlight:e=>{let{children:t}=e;return(0,r.jsx)("span",{className:"bg-yellow-200",children:t})},"align-center":e=>{let{children:t}=e;return(0,r.jsx)("span",{className:"block text-center",children:t})}},list:{bullet:e=>{let{children:t}=e;return(0,r.jsx)("ul",{className:(0,a.A)("list-disc list-outside space-y-2 mb-6 ml-4 pl-[1.25em]",u),children:t})},number:e=>{let{children:t}=e;return(0,r.jsx)("ol",{className:(0,a.A)("list-decimal list-outside space-y-2 mb-6 ml-4 pl-[1.5em]",u),children:t})}},listItem:{bullet:e=>{let{children:t}=e;return(0,r.jsx)("li",{className:"text-inherit",children:t})},number:e=>{let{children:t}=e;return(0,r.jsx)("li",{className:"text-inherit",children:t})}},types:{storyImage:e=>{var t,l;let{value:n}=e;return(null==n?void 0:n.url)||(null==n?void 0:n.asset)?(0,r.jsxs)("figure",{className:(0,a.A)("my-8 w-full"),children:[(0,r.jsx)(i.default,{src:n.url||"",alt:(null==(t=n.asset)?void 0:t.alt)||"",width:800,height:600,className:(0,a.A)("w-full h-auto rounded-lg shadow-lg")}),(null==(l=n.asset)?void 0:l.caption)&&(0,r.jsx)("figcaption",{className:(0,a.A)("mt-2 text-sm text-gray-600 text-center italic"),children:n.asset.caption})]}):null},siteVideo:e=>{let{value:t}=e;return(null==t?void 0:t.url)?(0,r.jsxs)("figure",{className:(0,a.A)("my-8 w-full"),children:[(0,r.jsx)("div",{className:(0,a.A)("relative w-full aspect-video rounded-lg overflow-hidden shadow-lg"),children:(0,r.jsx)("iframe",{src:t.url,title:t.title||"Video",className:(0,a.A)("w-full h-full border-0"),allowFullScreen:!0,loading:"lazy"})}),t.caption&&(0,r.jsx)("figcaption",{className:(0,a.A)("mt-2 text-sm text-gray-600 text-center italic"),children:t.caption})]}):null},raceReplayVideo:e=>{let{value:t}=e;return(null==t?void 0:t.url)?(0,r.jsxs)("figure",{className:(0,a.A)("my-8 w-full"),children:[(0,r.jsx)("div",{className:(0,a.A)("relative w-full aspect-video rounded-lg overflow-hidden shadow-lg bg-gray-100"),children:(0,r.jsx)("iframe",{src:t.url,title:t.title||t.raceName||"Race Replay Video",className:(0,a.A)("w-full h-full border-0"),allowFullScreen:!0,loading:"lazy"})}),(0,r.jsxs)("div",{className:(0,a.A)("mt-3 space-y-1"),children:[(t.raceName||t.title)&&(0,r.jsx)("h4",{className:(0,a.A)("text-base font-semibold text-gray-900"),children:t.raceName||t.title}),t.raceDate&&(0,r.jsx)("p",{className:(0,a.A)("text-sm text-gray-600"),children:t.raceDate}),t.caption&&(0,r.jsx)("figcaption",{className:(0,a.A)("text-sm text-gray-600 italic"),children:t.caption})]})]}):null}}}};function u(e){let{value:t,className:l,customElement:i,suppressLinks:s,children:o}=e;return t?(0,r.jsx)("div",{className:(0,a.A)("prose prose-lg max-w-none"),children:(0,r.jsx)(n.RK,{value:t,components:d({className:l,customElement:i,suppressLinks:s,moreText:o})})}):null}},68700:(e,t,l)=>{l.d(t,{A:()=>i});var r=l(58605),n=l(67277),a=l(66506);function i(e){return e.body&&0!==e.body.length?(0,r.jsxs)("div",{className:(0,a.A)("w-full","bg-white"),children:[e.title&&(0,r.jsx)("h2",{className:(0,a.A)("text-xl lg:text-4xl font-bold text-primary-blue uppercase mb-6"),children:e.title}),(0,r.jsx)("div",{className:(0,a.A)("prose prose-lg max-w-none","text-gray-800"),children:e.body.map((t,l)=>(0,r.jsx)(n.A,{value:t,className:"text-base lg:text-lg leading-relaxed"},"".concat(e._key,"-").concat(l)))})]}):null}},79572:(e,t,l)=>{l.d(t,{B:()=>n});var r=l(59904);function n(){let{stallions:e}=(0,r.Q)();return e}},79686:(e,t,l)=>{l.d(t,{N:()=>r});function r(e,t,l,r){let n=function(e,t,l){let r=[];return null!=e&&r.push("D".concat(e)),null!=t&&r.push(String(t).padStart(2,"0")),null!=l&&r.push("".concat(function(e){let t=Math.abs(Math.trunc(e)),l=t%100;if(l>=11&&l<=13)return"".concat(e,"th");let r=t%10;return 1===r?"".concat(e,"st"):2===r?"".concat(e,"nd"):3===r?"".concat(e,"rd"):"".concat(e,"th")}(l))),r.length>0?r.join("/"):null}(t,l,r);
1if(n)return n;if(!e)return null;let a=e.split(" - ");return a.length<2?null:a.slice(1).join(" - ").trim()||null}},83843:(e,t,l)=>{l.d(t,{L:()=>a,O:()=>n});var r=l(88172);function n(){let{strings:e}=(0,r.P)();return e}function a(e,t){return n()[e]||t||e}},88172:(e,t,l)=>{l.d(t,{LocaleProvider:()=>i,P:()=>s});var r=l(58605),n=l(23033);let a=(0,n.createContext)(void 0);function i(e){let{initialStrings:t,children:l}=e;return(0,r.jsx)(a.Provider,{value:{strings:t},children:l})}function s(){let e=(0,n.useContext)(a);if(void 0===e)throw Error("useLocaleContext must be used within a LocaleProvider");return e}},99494:(e,t,l)=>{function r(e){let t=e.trim();return"{url}"===t||"share:{url}"===t||t.startsWith("share:")}async function n(e,t,l){if(r(e)){if("undefined"!=typeof navigator&&navigator.share)try{await navigator.share({url:t,title:l});return}catch(e){}"undefined"!=typeof navigator&&navigator.clipboard&&(await navigator.clipboard.writeText(t),alert("Link copied to clipboard!"));return}let n=e.startsWith("mailto:")?e.replace("{url}",t):e.replace("{url}",encodeURIComponent(t));if(e.startsWith("mailto:")){window.location.href=n;return}window.open(n,"_blank","noopener,noreferrer")}l.d(t,{jP:()=>r,md:()=>n})}}]);
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.