PageSourceSearch

https://www.randa.org/_next/static/chunks/pages/roh/appendices/[slug]-66216b15f2e1368f.js

js randa.org collected 2026-09-24 08:41:15 UTC 6,902 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2529],{45349:function(t,e,n){"use strict";n.d(e,{O:function(){return c}});var i=n(67294),o=n(9008),r=n.n(o),a=n(11163),l=n(85893),u=function(t){var e=t.customLocales,n=(0,a.useRouter)(),o=(0,i.useState)(""),u=o[0],c=o[1],s=n.locales,d=n.defaultLocale,f=n.asPath,v=e.length<=0?s:e;return(0,i.useEffect)(function(){var t,e;c(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.origin)},[]),(0,l.jsxs)(r(),{children:[(0,l.jsx)("link",{rel:"alternate",href:"".concat(u,"/").concat(d).concat(f),hrefLang:"x-default"}),v.map(function(t){return(0,l.jsx)("link",{rel:"alternate",hrefLang:t,href:"".concat(u,"/").concat(t).concat(f)},t)})]})};u.defaultProps={customLocales:[]};var c=u},66687:function(t,e,n){"use strict";n.d(e,{d:function(){return d}});var i=n(67294),o=n(96486),r=n.n(o),a=n(11163),l=n(2962),u=n(11428),c=n(85893),s=function(t){var e,n=t.metadata,o=t.defaultMetadata,s=t.shouldIndex,d=(0,a.useRouter)(),f=(0,i.useState)(""),v=f[0],p=f[1],h=d.locale,m=d.asPath;(0,i.useEffect)(function(){var t,e;p(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.origin)},[]);var g=null!=n&&null!==(e=n.socialShareImage)&&void 0!==e&&e.isEmpty||null!=n&&n.isEmpty?o.socialShareImage:null==n?void 0:n.socialShareImage,y=!s||(null==n?void 0:n.excludeFromSitemap);return(0,c.jsx)(l.PB,{noindex:y,nofollow:y,title:r().isEmpty(null==n?void 0:n.title)?o.title:(null==n?void 0:n.title)||u.Ti,description:r().isEmpty(null==n?void 0:n.description)?void 0:null==n?void 0:n.description,openGraph:{url:"".concat(v,"/").concat(h).concat(m),title:"".concat(r().isEmpty(null==n?void 0:n.ogTitle)?o.ogTitle:null==n?void 0:n.ogTitle)||u.Of,description:"".concat(r().isEmpty(null==n?void 0:n.ogDescription)?o.ogDescription:null==n?void 0:n.ogDescription)||u.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:u.Gy,locale:h,site_name:u.px},twitter:{cardType:u.f7}})};s.defaultProps={metadata:{isEmpty:!0},defaultMetadata:{isEmpty:!0},shouldIndex:!0};var d=s},69047:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var i=n(5152),o=n.n(i)()(function(){return n.e(4697).then(n.bind(n,64697))},{loadableGenerated:{webpack:function(){return[64697]}}})},96752:function(t,e,n){"use strict";var i=(0,n(67294).createContext)({});e.Z=i},7090:function(t,e,n){"use strict";var i=n(59499),o=n(67294),r=n(96486),a=n.n(r),l=n(69898),u=n(25617),c=n(8091),s=n(8100),d=n(19612),f=n(14814),v=n(57996),p=n(76221),h=n(59147),m=n(45579),g=n(45349),y=n(66687),E=n(96752),b=n(71053),O=n(85893);function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}var j=function(t){return function(e){var n,r,j=(0,u.I0)(),x=(0,l.useRouter)(),P=(0,u.v9)(f.l),k=(0,u.v9)(f.P),S=(0,u.v9)(h.rK),_=(0,u.v9)(h.Df),D=(0,u.v9)(h.tB),T=e.ruleOfGolf,A=e.rulesLabels,C=e.rulesSummary,L=e.definitionEdition,G=e.languages,I=e.siteSetupData,N=e.shouldIndex,R=T.headerTheme,M=T.metadata,V=I.callbacks,Z=V.autocompleteCallback,F=V.getAnalyticsAddVisitorCallback;(0,o.useEffect)(function(){if(!a().isEmpty(T)){var t;(0,c.Wq)(null===(t=T.title)||void 0===t?void 0:t.value),(0,m.Hr)()&&j((0,s.g)({title:null==M?void 0:M.title,getAnalyticsAddVisitorCallback:F}))}},[]),(0,o.useEffect)(function(){j((0,v.if)(R))},[]),(0,o.useEffect)(function(){if(!a().isEmpty(window.location.hash)){var t,e=window.location.hash.split("#")[1];null===(t=document.getElementById(e))||void 0===t||t.scrollIntoView()}},[]);var B=function(t){j((0,d.X)({definition:t,definitionEdition:L,locale:x.locale}))},X=function(t){j((0,p.q)(t))};return x.isFallback?(0,O.jsx)(b.a,{isLoading:!0}):!T||T.isEmpty?(0,O.jsx)("div",{children:null===(n=A.rulePage)||void 0===n?void 0:null===(r=n.noDataFound)||void 0===r?void 0:r.value}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(y.d,{metadata:T.metadata,defaultMetadata:null==I?void 0:I.defaultMetadata,shouldIndex:N}),(0,O.jsx)(g.O,{}),(0,O.jsx)(E.Z.Provider,{value:{ruleOfGolf:T,rulesLabels:A,rulesSummary:C,definitionEdition:L,languages:G,handleDefinitionValueLoad:B,rulesOfGolfDefinitions:P,ruleOfGolfDefinitionLoading:k,onVideoComponentLoad:X,videoMetadata:{singleEndeavourVideoMetadata:S,endeavourPlaylistMetadata:_,endeavourErrors:D},handleVideoComponentLoad:X,autocompleteCallback:Z},children:(0,O.jsx)(t,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?w(Object(n),!0).forEach(function(e){(0,i.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e))})]})}};e.Z=j},36206:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return l}}),n(67294);var i=n(69047),o=n(7090),r=n(85893),a=function(){return(0,r.jsx)(i.l,{})},l=!0;e.default=(0,o.Z)(a)},9890:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(96486),o=n.n(i),r=n(50029),a=n(87794),l=n.n(a);function u(){return(u=(0,r.Z)(l().mark(function t(e,n){var i;return l().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!n.isEmpty){t.next=2;break}return t.abrupt("return");case 2:try{i="Something went wrong",o().isEmpty(null==n?void 0:n.value)||(i+="\n".concat(JSON.stringify(n.value,Object.getOwnPropertyNames(n.value)))),o().isEmpty(null==n?void 0:n.stack)||(i+="\n".concat(JSON.stringify(n.stack,Object.getOwnPropertyNames(n.stack)))),fetch(e,{method:"POST",headers:{"Content-Type":"application/json","X-Randa-ApiKey":"E135150E-33C0-46BF-AA1E-5D6FA7399C00"},body:i})}catch(r){console.error(r)}case 3:case"end":return t.stop()}},t)}))).apply(this,arguments)}var c=function(t){return function(e,n){if(!navigator.onLine){console.log(t);return}var i=n().siteSetup.data.callbacks.logErrorCallback;!o().isEmpty(i)&&!i.isEmpty&&(console.log(t),function(t,e){u.apply(this,arguments)}(i.value,t))}}},14814:function(t,e,n){"use strict";n.d(e,{P:function(){return i},l:function(){return o}});var i=function(t){return t.rulesOfGolf.loading},o=function(t){return t.rulesOfGolf.definitions}},11428:function(t,e,n){"use strict";n.d(e,{DU:function(){return l},Gy:function(){return o},Of:function(){return a},Ti:function(){return i},f7:function(){return u},px:function(){return r}});var i="The R&A",o="website",r="R&A",a="The R&A",l="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.",u="summary_large_image"},11656:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/roh/appendices/[slug]",function(){return n(36206)}])}},function(t){t.O(0,[2962,6360,9774,2888,179],function(){return t(t.s=11656)}),_N_E=t.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.