1import{a as ge,i as u,p as g,l as t,m as me,y as R,B as S,t as h,e as Y,C as J,f as de,z as pe,b as i,d as ue,D as K,S as z,A as he,q as Q,v as fe,F as $e,G as xe}from"./web-wWFCVcJ1.js";import{u as be,c as _e,A as U}from"./ArchivePicker-CA5lNDS2.js";import{B as we}from"./Breadcrumbs-Fgev774B.js";import{F as ve}from"./Theme-Cx-a7To8.js";import{t as Se,R as ye,T as Ce}from"./GOODUpdates-DaxT0Zc0.js";import{H as ke}from"./HeaderMeta-CiGx07AI.js";/* empty css */import{S as Me}from"./Sidebar-Bx1NE0dZ.js";import{q as Be,a as Le,f as Ae}from"./taxonomies-DgvcDTNB.js";import{u as ze}from"./components-Hhq4e0mc.js";import"./index-8uIz2IHA.js";var Ee=h("<time class=whitespace-nowrap><!$><!/><!$><!/><!$><!/> <!$><!/> <!$><!/>"),Ne=h("<span>"),Pe=h('<span class="inline-block scale-90 -ml-0.25">');const Fe=o=>{if(!o.ts)return;const l=()=>o.ts,m=()=>o.showTime,a=ge(()=>{const r=typeof l()=="number"?l():parseInt(String(l()),10);if(Number.isNaN(r))return null;const d=new Date(r*1e3),_=d.getDate(),p=["th","st","nd","rd"][_%100>>3^1&&_%10]||"th",n=d.toLocaleString("en-GB",{month:"long"}),f=d.getFullYear(),e=d.toLocaleString("en-GB",{hour:"numeric",minute:"2-digit",hour12:!1}),[c,$]=e.split(" "),x=d.toISOString();return{d,day:_,suffix:p,month:n,year:f,timeMain:c,ampm:$,iso:x}});return(()=>{var r=u(Ee),d=r.firstChild,[_,p]=g(d.nextSibling),n=_.nextSibling,[f,e]=g(n.nextSibling),c=f.nextSibling,[$,x]=g(c.nextSibling),E=$.nextSibling,k=E.nextSibling,[M,N]=g(k.nextSibling),P=M.nextSibling,F=P.nextSibling,[B,C]=g(F.nextSibling);return t(r,(()=>{var b=me(()=>m()!==!1);return()=>b()&&[(()=>{var w=u(Ne);return t(w,()=>a().timeMain),w})(),(()=>{var w=u(Pe);return t(w,()=>a().ampm),w})()," "]})(),_,p),t(r,()=>a().day,f,e),t(r,()=>a().suffix,$,x),t(r,()=>a().month,M,N),t(r,()=>a().year,B,C),R(b=>{var w=a().iso,L=a().d.toLocaleString("en-GB",{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:m()!==!1?"numeric":void 0,minute:m()!==!1?"numeric":void 0}),A=a().d.toLocaleString("en-GB",{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:m()!==!1?"numeric":void 0,minute:m()!==!1?"numeric":void 0});return w!==b.e&&S(r,"datetime",b.e=w),L!==b.t&&S(r,"title",b.t=L),A!==b.a&&S(r,"aria-label",b.a=A),b},{e:void 0,t:void 0,a:void 0}),r})()};var Ge=h('<div id=social-icons class="flex flex-row gap-2 justify-between text-gray-600 py-4"><a target=_blank rel="noopener noreferrer"title="Share on X"><svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 448 512"><path fill=currentColor d="M357.2 48L427.8 48 273.6 224.2 455 464 313 464 201.7 318.6 74.5 464 3.8 464 168.7 275.5-5.2 48 140.4 48 240.9 180.9 357.2 48zM332.4 421.8l39.1 0-252.4-333.8-42 0 255.3 333.8z"></path></svg></a><a target=_blank rel="noopener noreferrer"title="Share on LinkedIn"><svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 448 512"><path fill=currentColor d="M416 32L31.9 32C14.3 32 0 46.5 0 64.3L0 447.7C0 465.5 14.3 480 31.9 480L416 480c17.6 0 32-14.5 32-32.3l0-383.4C448 46.5 433.6 32 416 32zM135.4 416l-66.4 0 0-213.8 66.5 0 0 213.8-.1 0zM102.2 96a38.5 38.5 0 1 1 0 77 38.5 38.5 0 1 1 0-77zM384.3 416l-66.4 0 0-104c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9l0 105.8-66.4 0 0-213.8 63.7 0 0 29.2 .9 0c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9l0 117.2z"></path></svg></a><a target=_blank rel="noopener noreferrer"title="Share on Facebook"><svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512"><path fill=currentColor d="M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5l0-170.3-52.8 0 0-78.2 52.8 0 0-33.7c0-87.1 39.4-127.5 125-127.5 16.2 0 44.2 3.2 55.7 6.4l0 70.8c-6-.6-16.5-1-29.6-1-42 0-58.2 15.9-58.2 57.2l0 27.8 83.6 0-14.4 78.2-69.3 0 0 175.9C413.8 494.8 512 386.9 512 256z"></path></svg></a><a target=_blank rel="noopener noreferrer"title="Share on WhatsApp"><svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 448 512"><path fill=currentColor d="M380.9 97.1c-41.9-42-97.7-65.1-157-65.1-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480 117.7 449.1c32.4 17.7 68.9 27 106.1 27l.1 0c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3 18.6-68.1-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1s56.2 81.2 56.1 130.5c0 101.8-84.9 184.6-186.6 184.6zM325.1 300.5c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8s-14.3 18-17.6 21.8c-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7 .9-6.9-.5-9.7s-12.5-30.1-17.1-41.2c-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2s-9.7 1.4-14.8 6.9c-5.1 5.6-19.4 19-19.4 46.3s19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4s4.6-24.1 3.2-26.4c-1.3-2.5-5-3.9-10.5-6.6z">');const Ie="https://golfbusinessnews.com",V=o=>{const l=typeof window<"u"?window.location.href:`${Ie}${o.pathname}`;return(()=>
1{var m=u(Ge),a=m.firstChild,r=a.nextSibling,d=r.nextSibling,_=d.nextSibling;return S(r,"href",`https://www.linkedin.com/sharing/share-offsite/?url=${l}`),S(d,"href",`https://www.facebook.com/sharer/sharer.php?u=${l}`),R(p=>{var n=`https://twitter.com/intent/tweet?url=${l}&text=${o.title}`,f=`https://wa.me/?text=${o.title}%20${l}`;return n!==p.e&&S(a,"href",p.e=n),f!==p.t&&S(_,"href",p.t=f),p},{e:void 0,t:void 0}),m})()};var Te=h('<div class="main-container pt-4">'),je=h('<p class="text-lg text-gray-700 mb-4">'),De=h('<div><p class="text-sm uppercase text-gray-600 font-semibold">Published</p><!$><!/>'),Re=h('<figure class=mb-0><!$><!/><figcaption class="text-sm text-gray-500 mt-2">'),qe=h('<div class="px-2 md:px-4 py-4 md:py-8 grid grid-cols-1 xl:grid-cols-[200px_1fr] grid-rows-[auto_1fr] gap-x-4 gap-y-2 md:gap-y-4 col-span-full md:col-span-9 md:bg-gbn-card md:rounded-2xl md:shadow-xl"><header class=col-span-full><h1 class="text-3xl font-bold leading-tight mb-2"view-transition-name=article-title><span></span></h1><!$><!/></header><aside class="block text-sm text-gray-600 space-y-4 font-sans"><div class="hidden xl:block"></div><!$><!/><div class="hidden xl:block"></div></aside><section class="max-w-[100%] min-h-0 min-w-0 overflow-hidden"><!$><!/><article id=news-content class="prose max-w-none prose-headings:font-semibold prose-p:leading-relaxed"></article><p class="my-4 text-center "><a href="https://www.google.com/preferences/source?q=golfbusinessnews.com"class="inline-flex items-center gap-2 text-sm font-sans bg-white border-green-800 border text-green-800 px-3 py-1.5 rounded-full hover:opacity-90 transition-opacity"target=_blank rel="noopener noreferrer"><span>Let Google know that GBN is a preferred source for your golf business news</span><svg role=presentation height=16 width=16 viewBox="-3 0 262 262"xmlns=http://www.w3.org/2000/svg><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"fill=#4285F4></path><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"fill=#34A853></path><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"fill=#FBBC05></path><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"fill=#EB4335></path></svg></a></p><div class="block xl:hidden"></div><!$><!/><div class="block xl:hidden font-sans my-4">'),He=h('<main id=gbn-news class="main-container grid grid-cols-12 gap-y-2 gap-x-8 p-1 md:p-4 font-serif"><!$><!/><!$><!/><!$><!/>'),Oe=h('<p class="text-md md:text-sm uppercase text-gray-600 font-semibold">Related Topics'),We=h('<ul class="flex flex-wrap xl:block list-disc xl:list-none list-inside">'),Xe=h('<li class="text-xl xl:text-sm mr-4 xl:mr-0 xl:nowrap">');const Ye=Be(async o=>await Le(o),"postByPerma"),it=()=>{const{ads:o}=be(),l=ze(),m=l.state?.preview,[a,r]=Y(""),[d,_]=Y([{label:"News",url:"/news/"}]);let p;const n=_e(()=>Ye(l.pathname),{deferStream:xe});J(()=>{l.pathname.split("/").filter(e=>e!=="").slice(0,-1).forEach(e=>{const c=Se("gbn-news",e);c&&(r(e),_($=>[...$,{label:c.name,url:`/news/${e}`}]))})});let f=null;return J(()=>{if(!o())return null;const e=o()?.instory;if(!e||Object.keys(e).length<1)return null;e[a()]&&n()?.content&&(f?.(),f=null,f=ue(c=>{const $=p.querySelector("p");if($){const x=document.createElement("div");$.insertAdjacentElement("afterend",x),K(()=>i(U,{get unit(){return e[a()]},noContainer:!0,class:"mb-4"}),x)}if(!document.getElementById("instory-2")){const x=document.createElement("div");x.id="instory-2",p.insertAdjacentElement("afterend",x),K(()=>i(U,{get unit(){return e[a()]},noContainer:!0,class:"mb-4"}),x)}return c}))}),de(()=>f?.()),pe(()=>{document.addEventListener("error",e=>{const c=e.target;c.tagName==="IMG"&&(c.src=c.getAttribute("src"))},!0)}),[(()=>{var e=u(Te);return t(e,i(we,{crumbs:d})),e})(),(()=>{var e=u(He),c=e.firstChild,[$,x]=g(c.nextSibling),E=$.nextSibling,[k,M]=g(E.nextSibling),N=k.nextSibling,[P,F]=g(N.nextSibling);return t(e,i(ke,{get post(){return n()}}),$,x),t(e,i(fe,{get children(){var B=u(qe),C=B.firstChild,b=C.firstChild,w=b.firstChild,L=b.nextSibling,[A,ee]=g(L.nextSibling),G=C.nextSibling,q=G.firstChild,te=q.nextSibling,[H,ne]=g(te.nextSibling),re=H.nextSibling,I=G.nextSibling,le=I.firstChild,[O,ie]=g(le.nextSibling),T=O.nextSibling,ae=T.nextSibling,W=ae.nextSibling,se=W.nextSibling,[X,oe]=g(se.nextSibling),ce=X.nextSibling;return t(C,i(z,{get when(){return n()?.excerpt},get children(){var s=u(je);return t(s,()=>n()?.excerpt),s}}),A,ee),t(q,i(Z,{get tags(){return n()?.tags}})),t(G,i(z,{get when(){return n()?.published},get children(){var s=u(De),y=s.firstChild,v=y.nextSibling,[j,D]=g(v.nextSibling);return t(s,i(Fe,{get ts(){return n()?.published}}),j,D),s}}),H,ne),t(re,i(V,{get pathname(){return l.pathname},get title(){return n()?.title}}
1)),t(I,i(z,{get when(){return n()?.featuredImage},get children(){var s=u(Re),y=s.firstChild,[v,j]=g(y.nextSibling),D=v.nextSibling;return t(s,i(ye,{skipLazy:!0,get srcBase(){return n()?.featuredImage},get alt(){return n()?.imageCaption},class:"w-full h-auto rounded object-fit","view-transition-name":"article-image"}),v,j),t(D,()=>n()?.imageCaption),s}}),O,ie),he(s=>p=s,T),t(W,i(V,{get pathname(){return l.pathname},get title(){return n()?.title}})),t(I,i(ve,{get slug(){return l.pathname.split("/").pop()}}),X,oe),t(ce,i(Z,{get tags(){return n()?.tags}})),R(s=>{var y=n()?.title??m?.title??"Waiting",v=Ae(n()?.content);return y!==s.e&&Q(w,"innerHTML",s.e=y),v!==s.t&&Q(T,"innerHTML",s.t=v),s},{e:void 0,t:void 0}),B}}),k,M),t(e,i(Me,{location:"news"}),P,F),e})()]},Z=o=>{const l=()=>Object.values(o.tags??{});return i(z,{get when(){return l().length>0},get children(){return[u(Oe),(()=>{var m=u(We);return t(m,i($e,{get each(){return l()},children:a=>(()=>{var r=u(Xe);return t(r,i(Ce,{prefix:"tag",taxonomy:"tags",slug:a})),r})()})),m})()]}})};export{it as default};
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.