1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4512],{45349:function(e,r,t){"use strict";t.d(r,{O:function(){return u}});var o=t(67294),a=t(9008),n=t.n(a),i=t(11163),s=t(85893),l=function(e){var r=e.customLocales,t=(0,i.useRouter)(),a=(0,o.useState)(""),l=a[0],u=a[1],c=t.locales,d=t.defaultLocale,_=t.asPath,f=r.length<=0?c:r;return(0,o.useEffect)(function(){var e,r;u(null===(e=window)||void 0===e?void 0:null===(r=e.location)||void 0===r?void 0:r.origin)},[]),(0,s.jsxs)(n(),{children:[(0,s.jsx)("link",{rel:"alternate",href:"".concat(l,"/").concat(d).concat(_),hrefLang:"x-default"}),f.map(function(e){return(0,s.jsx)("link",{rel:"alternate",hrefLang:e,href:"".concat(l,"/").concat(e).concat(_)},e)})]})};l.defaultProps={customLocales:[]};var u=l},66687:function(e,r,t){"use strict";t.d(r,{d:function(){return d}});var o=t(67294),a=t(96486),n=t.n(a),i=t(11163),s=t(2962),l=t(11428),u=t(85893),c=function(e){var r,t=e.metadata,a=e.defaultMetadata,c=e.shouldIndex,d=(0,i.useRouter)(),_=(0,o.useState)(""),f=_[0],m=_[1],p=d.locale,h=d.asPath;(0,o.useEffect)(function(){var e,r;m(null===(e=window)||void 0===e?void 0:null===(r=e.location)||void 0===r?void 0:r.origin)},[]);var g=null!=t&&null!==(r=t.socialShareImage)&&void 0!==r&&r.isEmpty||null!=t&&t.isEmpty?a.socialShareImage:null==t?void 0:t.socialShareImage,v=!c||(null==t?void 0:t.excludeFromSitemap);return(0,u.jsx)(s.PB,{noindex:v,nofollow:v,title:n().isEmpty(null==t?void 0:t.title)?a.title:(null==t?void 0:t.title)||l.Ti,description:n().isEmpty(null==t?void 0:t.description)?void 0:null==t?void 0:t.description,openGraph:{url:"".concat(f,"/").concat(p).concat(h),title:"".concat(n().isEmpty(null==t?void 0:t.ogTitle)?a.ogTitle:null==t?void 0:t.ogTitle)||l.Of,description:"".concat(n().isEmpty(null==t?void 0:t.ogDescription)?a.ogDescription:null==t?void 0:t.ogDescription)||l.DU,images:[{url:null==g?void 0:g.url,width:null==g?void 0:g.width,height:null==g?void 0:g.height,alt:null==g?void 0:g.alt}],type:l.Gy,locale:p,site_name:l.px},twitter:{cardType:l.f7}})};c.defaultProps={metadata:{isEmpty:!0},defaultMetadata:{isEmpty:!0},shouldIndex:!0};var d=c},91579:function(e,r,t){"use strict";var o=(0,t(67294).createContext)({});r.Z=o},27608:function(e,r,t){"use strict";t(67294);var o=t(59417),a=t(91148),n=t(85893),i=function(e){var r=e.onClick;return(0,n.jsx)(a.Z,{"aria-label":"cards arrow left",icon:o.acZ,onClick:r})};i.defaultProps={onClick:function(){}},r.Z=i},7725:function(e,r,t){"use strict";t.r(r);var o=t(41664),a=t.n(o),n=t(27608),i=t(64415),s=t.n(i),l=t(85893),u=function(){return(0,l.jsxs)("div",{className:s().wrapper,children:[(0,l.jsxs)("div",{className:s().header,children:[(0,l.jsx)("div",{className:s().header__waves}),(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(a(),{href:"https://www.randa.org/",children:(0,l.jsxs)("a",{className:s()["header__back-button"],children:[(0,l.jsx)(n.Z,{}),(0,l.jsx)("span",{children:"Back"})]})}),(0,l.jsx)("div",{className:s().header__error,children:"Error 404"})]})]}),(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:s()["error-message"],children:[(0,l.jsx)("div",{className:s()["error-message--title"],children:"Sorry, this page is not available."}),(0,l.jsx)("div",{className:s()["error-message--subtitle"],children:"The link you followed may be broken, or the page may have been removed."})]})})]})};r.default=u},73503:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return D},default:function(){return B}});var o=t(67294),a=t(5152),n=t.n(a)()(function(){return Promise.all([t.e(2503),t.e(3005)]).then(t.bind(t,43005))},{loadableGenerated:{webpack:function(){return[43005]}}}),i=t(59499),s=t(96486),l=t.n(s),u=t(11163),c=t(25617),d=t(8091),_=t(8100),f=t(58275),m=t(20076),p=t(89327),h=t(80201),g=t(98496),v=t(34110),b=t(57996),y=t(76221),x=t(59147),w=t(78155),S=t(20127),k=t(45579),E=t(45349),j=t(66687),P=t(2962),T=t(85893),N=function(e){var r=e.article,t=(0,o.useState)(""),a=t[0],n=t[1];if((0,o.useEffect)(function(){n(window.location.href)},[]),r.isEmpty)return null;var i=r.title,s=r.text,l=r.date,u=r.lastModifiedDate,c=r.allAuthorNames,d=r.publisherName,_=r.publisherL
1ogo,f=r.image;return(0,T.jsx)(P.dX,{url:a,title:null==i?void 0:i.value,images:[f.url],datePublished:null==l?void 0:l.asset,dateModified:u.asset,authorName:c,publisherName:null==d?void 0:d.value,publisherLogo:null==_?void 0:_.url,description:null==s?void 0:s.value})};N.defaultProps={article:{isEmpty:!0}};var C=t(91579),O=t(71053);function A(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}var L,I=t(7725),D=!0,B=(L=function(e){return e.articleContentPage.isEmpty?(0,T.jsx)(I.default,{}):(0,T.jsx)(n,{})},function(e){var r=(0,c.I0)(),t=(0,u.useRouter)(),a=(0,c.v9)(x.Df),n=(0,c.v9)(x.rK),s=(0,c.v9)(f.uV),P=(0,c.v9)(f.Sc),I=(0,c.v9)(x.tB),D=(0,o.useState)(w.SJ),B=D[0],R=D[1],M=(0,S.Z)(),Z=M.userProfile,F=M.isProfileLoading,G=M.hasProfileLoadedSuccessfully;if((0,o.useEffect)(function(){R(window.location.href)},[]),t.isFallback)return(0,T.jsx)(O.a,{isLoading:!0});var V=e.articleContentPage,X=e.siteSetupData,q=e.shouldIndex,H=X.callbacks.getAnalyticsAddVisitorCallback,U=V.title,W=V.text,J=V.author,Y=V.guestAuthors,z=V.allAuthorNames,K=V.publisherName,Q=V.publisherLogo,$=V.articleSocialShare,ee=V.shareSectionTitle,er=V.date,et=V.readTime,eo=V.readTimeSuffix,ea=V.readTimeSectionText,en=V.image,ei=V.backgroundImage,es=V.useFullHeightBackgroun
1d,el=V.metadata,eu=V.videoBannerComponent,ec=V.mainTag,ed=V.secondaryTags,e_=V.tagSectionTitle,ef=V.urlSlug,em=V.pageComponents,ep=V.linkedItems,eh=V.documentNavigationItems,eg=V.shouldDisplayDocumentNavigation,ev=V.authorizationRules,eb=V.headerTheme,ey=V.enableHeaderGradient,ex=V.system;(0,o.useEffect)(function(){!l().isEmpty(V)&&((0,d.Wq)(null==el?void 0:el.title),(0,k.Hr)()&&r((0,_.g)({title:null==el?void 0:el.title,getAnalyticsAddVisitorCallback:H})))},[]),(0,o.useEffect)(function(){r((0,b.if)(eb))},[]);var ew=function(e){r((0,y.q)(e))},eS=function(e){var r=document.getElementById(e);r&&r.scrollIntoView({block:"start",behavior:"smooth"})},ek=function(e){r((0,h.Z)({limit:e,pageId:null==ex?void 0:ex.id}))},eE=function(e,t){r((0,m.V)({tags:e,limit:t}))},ej=function(e){r((0,g.VJ)({customFormToOpen:e.customFormToOpen,defaultValues:{isEmpty:!0}})),r((0,v.E5)())},eP=function(){r((0,p.W)())};return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(j.d,{metadata:el,defaultMetadata:null==X?void 0:X.defaultMetadata,shouldIndex:q}),(0,T.jsx)(N,{article:V}),(0,T.jsx)(E.O,{}),(0,T.jsx)(C.Z.Provider,{value:{currentLocation:B,title:U,text:W,author:J,guestAuthors:Y,allAuthorNames:z,publisherName:K,publisherLogo:Q,articleSocialShare:$,shareSectionTitle:ee,date:er,readTime:et,readTimeSuffix:eo,readTimeSectionText:ea,image:en,backgroundImage:ei,useFullHeightBackgroun
1d:es,enableHeaderGradient:ey,videoBannerComponent:eu,mainTag:ec,secondaryTags:ed,tagSectionTitle:e_,urlSlug:ef,pageComponents:em,linkedItems:ep,documentNavigationItems:eh,shouldDisplayDocumentNavigation:eg,authorizationRules:ev,handleVideoComponentLoad:ew,handleDocumentNavigationItemClick:eS,profileData:{userProfile:Z,isProfileLoading:F,hasProfileLoadedSuccessfully:G},videoMetadata:{singleEndeavourVideoMetadata:n,endeavourPlaylistMetadata:a,endeavourErrors:I},loadLatestArticles:ek,loadArticlesByTags:eE,relatedArticles:s,topFourArticles:P,metadata:el,handleNewsletterSignUpForm:ej,handleChampionshipHubLoad:eP,system:ex},children:(0,T.jsx)(L,function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?A(Object(t),!0).forEach(function(r){(0,i.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({},e))})]})})},58275:function(e,r,t){"use strict";t.d(r,{D$:function(){return l},Mi:function(){return u},Sc:function(){return o},WP:function(){return i},lt:function(){return n},o9:function(){return a},uV:function(){return s}});var o=function(e){return e.articles.topFourArticles},a=function(e){return e.articles.filteredArticles},n=function(e){return e.articles.videoArticlesByTag},i=function(e){return e.articles.articlesByTag},s=function(e){return e.articles.relatedArticles},l=function(e){return e.articles.latestArticle},u=function(e){return e.articles.doubleEventsLatestArticle}},9890:function(e,r,t){"use strict";t.d(r,{Z:function(){return u}});var o=t(96486),a=t.n(o),n=t(50029),i=t(87794),s=t.n(i);function l(){return(l=(0,n.Z)(s().mark(function e(r,t){var o;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isEmpty){e.next=2;break}return e.abrupt("return");case 2:try{o="Something went wrong",a().isEmpty(null==t?void 0:t.value)||(o+="\n".concat(JSON.stringify(t.value,Object.getOwnPropertyNames(t.value)))),a().isEmpty(null==t?void 0:t.stack)||(o+="\n".concat(JSON.stringify(t.stack,Object.getOwnPropertyNames(t.stack)))),fetch(r,{method:"POST",headers:{"Content-Type":"application/json","X-Randa-ApiKey":"E135150E-33C0-46BF-AA1E-5D6FA7399C00"},body:o})}catch(n){console.error(n)}case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}var u=function(e){return function(r,t){if(!navigator.onLine){console.log(e);return}var o=t().siteSetup.data.callbacks.logErrorCallback;!a().isEmpty(o)&&!o.isEmpty&&(console.log(e),function(e,r){l.apply(this,arguments)}(o.value,e))}}},11428:function(e,r,t){"use strict";t.d(r,{DU:function(){return s},Gy:function(){return a},Of:function(){return i},Ti:function(){return o},f7:function(){return l},px:function(){return n}});var o="The R&A",a="website",n="R&A",i="The R&A",s="The R&A seeks to engage in and support activities for the benefit of the sport of golf from The Royal and Ancient Golf Club of St Andrews.",l="summary_large_image"},20127:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(25617),a=t(65471),n=function(e){return e.userProfile.loading},i=function(e){return e.userProfile.profile},s=function(e){var r=e.userProfile.apiCallStatus===a.C7;return!e.userProfile.loading&&r},l=function(){var e=(0,o.v9)(i),r=(0,o.v9)(n),t=(0,o.v9)(s);return{userProfile:e,isProfileLoading:r,hasProfileLoadedSuccessfully:t}}},17026:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles/[...slug]",function(){return t(73503)}])},64415:function(e){e.exports={container:"errors_container__YnLdr","container-fluid":"errors_container-fluid__sXeRa","text-color-blue":"errors_text-color-blue__j_wPW","text-color-red":"errors_text-color-red__HYIl_","text-color-lightBlue":"errors_text-color-lightBlue__yYuaM","text-format-underline":"errors_text-format-underline__POHI_","hide-navigation-bar":"errors_hide-navigation-bar__sOqtk","modal-body":"errors_modal-body__nLRnq","diagram-expand":"errors_diagram-expand__lkIE_","diagram__single-image":"errors_diagram__single-image__Pmy2u","diagram__image-container":"errors_diagram__image-container__e4MM_",carouselTitle:"errors_carouselTitle__4kl5E",carouselCopy:"errors_carouselCopy__mGZzo","modal-header":"errors_modal-header___N7KW","modal
1-backdrop":"errors_modal-backdrop__CmhRI",show:"errors_show__2oPVW","hidden-component":"errors_hidden-component__Aek5G","form-field__input":"errors_form-field__input__uNslE","playbook-video":"errors_playbook-video__ZDCWm","video-component__preview--play-button-wrapper":"errors_video-component__preview--play-button-wrapper__ESex_",copyText:"errors_copyText__lcEF5","video-playlist-custom-button":"errors_video-playlist-custom-button__A5oBg",affiliate:"errors_affiliate__vfoxg","accordion-component":"errors_accordion-component__utSe9","background-transparent":"errors_background-transparent__KcCIn",newsletterSignUp:"errors_newsletterSignUp__N7zlF","form-description":"errors_form-description__9jhGJ","cardItem--highlight":"errors_cardItem--highlight__2EqvM","cardItem--live":"errors_cardItem--live__ceAX5",infoCustom:"errors_infoCustom__Xca0j",infoCustomName:"errors_infoCustomName__iCjHe",infoCustomImage:"errors_infoCustomImage__bERAq",liveBlog:"errors_liveBlog__90Bnh",rdc:"errors_rdc__jlH_M","rules-diagram-carousel":"errors_rules-diagram-carousel__GXw5d","carousel-inner":"errors_carousel-inner__A_Olk","carousel-control-prev":"errors_carousel-control-prev__aDSZl","carousel-control-next":"errors_carousel-control-next__f60OY",carouselCaption:"errors_carouselCaption__Uo8Mh","rich-text-span":"errors_rich-text-span__tpwo5",diagramExpand:"errors_diagramExpand__RZOy9",carouselPage:"errors_carouselPage__4wbiu",highlight:"errors_highlight__5Uady","rules-diagram-carousel__modal":"errors_rules-diagram-carousel__modal__3q_y5","rules-diagram-carousel__modal__caption":"errors_rules-diagram-carousel__modal__caption__8Lq1g",hideSearchResultList:"errors_hideSearchResultList__LcUTP",loadBtn:"errors_loadBtn__sfLhB",resultsNumber:"errors_resultsNumber__G3Xwt",searchLoadingSpinner:"errors_searchLoadingSpinner__6P8v1",hidden:"errors_hidden__4hbSh","spacing-small":"errors_spacing-small__jqrA7","spacing-large":"errors_spacing-large__hpW_v",headerMask:"errors_headerMask__uaU4l",wrapper:"errors_wrapper__o63ey",header:"errors_header__YUbv_",header__waves:"errors_header__waves__IXJ47","header__back-button":"errors_header__back-button__2T1tR",header__error:"errors_header__error___pZT0","error-message":"errors_error-message__N2jqX","error-message--title":"errors_error-message--title__alVgQ","error-message--subtitle":"errors_error-message--subtitle__duw0G"}}},function(e){e.O(0,[2962,6360,9774,2888,179],function(){return e(e.s=17026)}),_N_E=e.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.