(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6535],{21315:function(e,t,n){"use strict";var o=n(76501);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=s.default,o={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?o.loader=function(){return e}:"function"===typeof e?o.loader=e:"object"===typeof e&&(o=i(i({},o),e));if((o=i(i({},o),t)).suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");o.loadableGenerated&&delete(o=i(i({},o),o.loadableGenerated)).loadableGenerated;if("boolean"===typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,c(n,o);delete o.ssr}return n(o)},t.noSSR=c;a(n(59496));var s=a(n(45782));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58588:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=((o=n(59496))&&o.__esModule?o:{default:o}).default.createContext(null);t.LoadableContext=r},45782:function(e,t,n){"use strict";var o=n(8839),r=n(98259),i=n(76501);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l,d=(l=n(59496))&&l.__esModule?l:{default:l},p=n(58588);var f=n(89155).useSyncExternalStore,m=[],b=[],g=!1;function h(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var y=function(){function e(t,n){o(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return r(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=a(a({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function _(e){return function(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);n.suspense&&(n.lazy=d.default.lazy(n.loader));var o=null;function r(){if(!o){var t=new y(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!g){var i=n.webpack?n.webpack():n.modules;i&&b.push((function(e){var t,n=c(i);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(-1!==e.indexOf(o))return r()}}catch(s){n.e(s)}finally{n.f()}}))}function s(){r();var e=d.default.useContext(p.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach((function(t){e(t)}))}var u=n.suspense?function(e,t){return s(),d.default.createElement(n.lazy,a(a({},e),{},{ref:t}))}:function(e,t){s();var r=f(o.subscribe,o.getCurrentValue,o.getCurrentValue);return d.default.useImperativeHandle(t,(function(){return{retry:o.retry}}),[]),d.default.useMemo((function(){return r.loading||r.error?d.default.createElement(n.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:o.retry}):r.loaded?d.default.createElement(function(e){return e&&e.__esModule?e.default:e}(r.loaded),e):null}),[e,r])};return u.preload=function(){return r()},u.displayName="LoadableComponent",d.default.forwardRef(u)}(h,e)}function v(e,t){for(var n=[];e.length;){var o=e.pop();n.push(o(t))}return Promise.all(n).then((function(){if(e.length)return v(e,t)}))}_.preloadAll=function(){return new Promise((function(e,t){v(m).then(e,t)}))},_.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return g=!0,t()};v(b,e).then(n,n)}))},window.__NEXT_PRELOADREADY=_.preloadReady;var w=_;t.default=w},44216:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(75736),r=o.ZP.div.withConfig({displayName:"CenterWrapperstyled__Wrapper",componentId:"sc-wsic9j-0"})([""]),i=o.ZP.div.withConfig({displayName:"CenterWrapperstyled__InnerWrapper",componentId:"sc-wsic9j-1"})(["max-width:975px;margin:1rem auto;@media (max-width:1150px){max-width:95vw;}"]),s=n(4637),a=function(e){var t=e.children;return(0,s.jsx)(r,{children:(0,s.jsx)(i,{children:t})})}},23842:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var o=n(6272),r=n(51909),i=n.n(r),s=n(59496),a=n(4637),c=function(){var e=(0,s.useContext)(o.M).config;return(0,a.jsxs)(i(),{children:[(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:'!function(a,l,b,c,k,s,t,g,A){a.CustomerConnectAnalytics=k,a[k]=a[k]||function(){\n            (a[k].q=a[k].q||[]).push(arguments)},g=l.createElement(b),A=l.getElementsByTagName(b)[0],\n              g.type="text/javascript",g.async=!0,g.src=c+"?id="+s+"&parentId="+t,A.parentNode.insertBefore(g,A)\n            }(window,document,"script","//carbon-cdn.ccgateway.net/script","cca",window.location.hostname,"3028f7536b");\n        '}}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n      (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n      })(window,document,'script','dataLayer','".concat(e.gtm_id,"');\n    ")}})]})}},97337:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var o=n(20116),r=n(6272),i=n(59496),s=n(75736),a=n(6925),c=s.ZP.div.withConfig({displayName:"Subscribestyled__SubscribeWrapper",componentId:"sc-1085r7d-0"})(["display:grid;column-gap:16px;margin:20px 0;grid-template-columns:1fr 1fr;@media (max-width:","){grid-template-columns:1fr;}"],a.R1.medium),u=n(10412),l=s.ZP.div.withConfig({displayName:"SubscribeItemstyled__SubscribeItemWrapper",componentId:"sc-d3pr5d-0"})(["display:grid;grid-template-columns:1fr 1fr;column-gap:1rem;row-gap:0.5rem;margin-top:1rem;background-color:",";position:relative;border-radius:16px;@media (max-width:","){grid-template-columns:1fr;}.content{font-family:",";font-size:14px;font-weight:400;line-height:18px;margin-top:4px;flex:1;display:flex;flex-direction:column;}.tab{font-family:",";font-size:12px;font-weight:800;line-height:12px;text-transform:uppercase;color:#FFF;background:",";padding:4px;border-radius:2px;margin-bottom:4px;display:inline-block;width:fit-content;}.subscribe_left{padding:16px;display:flex;flex-direction:column;height:100%;}"],(function(e){return e.theme.default.color.backgrounds.offWhite}),a.R1.medium,(function(e){return e.theme.default.fontFamily.secondaryFont}),(function(e){return e.theme.default.fontFamily.primaryFont}),(function(e){return e.theme.default.color.primary})),d=s.ZP.div.withConfig({displayName:"SubscribeItemstyled__RightSideImage",componentId:"sc-d3pr5d-1"})(["background-image:",";background-size:cover;background-position:center;border-radius:0 16px 16px 0;"],(function(e){var t=e.type;return"url(".concat(t,")")})),p=(0,s.ZP)(u.hjJ).withConfig({displayName:"SubscribeItemstyled__ForwardArrow",componentId:"sc-d3pr5d-2"})(["font-size:18px;margin-left:5px;fill:",";"],(function(e){return e.theme.default.color.primary})),f=s.ZP.a.withConfig({displayName:"SubscribeItemstyled__StyledLink",componentId:"sc-d3pr5d-3"})(["display:flex;font-family:",";color:",";font-size:14px;font-style:normal;font-weight:600;line-height:24px;align-items:center;border:1px solid ",";border-radius:24px;padding:4px 16px;width:114px;justify-content:center;cursor:pointer;"],(function(e){return e.theme.default.fontFamily.primaryFont}),(function(e){return e.theme.default.color.primary}),(function(e){return e.theme.default.color.primary})),m=n(84220),b=n(4637),g=function(e){var t=e.tab,n=e.content,o=e.icon,s=(0,m.useRouter)().push,a=(0,i.useContext)(r.M).publication;return(0,b.jsxs)(l,{children:[(0,b.jsx)("div",{children:(0,b.jsxs)("div",{className:"subscribe_left",children:[(0,b.jsx)("span",{className:"tab",children:t}),(0,b.jsxs)("div",{className:"content",children:[(0,b.jsx)("span",{style:{marginBottom:"20px"},children:n}),(0,b.jsx)("div",{style:{marginTop:"auto"},onClick:function(){return s("Digital editions"===t?"/subscription/digital_subscriptions":"Digital advertising"===t?"https://iserve.tindlenews.co.uk/":"iomtoday.co.im"===a?"/subscription/print_subscription":"/print-subscription")},children:(0,b.jsxs)(f,{children:["Sign up ",(0,b.jsx)(p,{})]})})]})]})}),(0,b.jsx)(d,{type:o})]})},h=function(){var e,t,n,s,a=(0,i.useContext)(r.M).config,u=(e={},(0,o.Z)(e,"petersfieldpost.co.uk","#B11319"),(0,o.Z)(e,"farnhamherald.com","#00589F"),(0,o.Z)(e,"haslemereherald.com","#00589F"),(0,o.Z)(e,"liphookherald.com","#00589F"),(0,o.Z)(e,"bordonherald.com","#00589F"),(0,o.Z)(e,"altonherald.com","#00589F"),(0,o.Z)(e,"abergavennychronicle.com","#00589F"),(0,o.Z)(e,"monmouthshirebeacon.co.uk","#00589F"),(0,o.Z)(e,"chepstowbeacon.co.uk","#00589F"),(0,o.Z)(e,"brecon-radnor.co.uk","#00589F"),(0,o.Z)(e,"cambrian-news.co.uk","#B11319"),(0,o.Z)(e,"tenby-today.co.uk","#228747"),(0,o.Z)(e,"narberth-and-whitland-today.co.uk","#228747"),(0,o.Z)(e,"pembroke-today.co.uk","#228747"),(0,o.Z)(e,"theforester.co.uk","#228747"),(0,o.Z)(e,"rossgazette.com","#00589F"),(0,o.Z)(e,"theforestreview.co.uk","#228747"),e),l=(n=u[a.publication],s="digital",(0,i.useContext)(r.M).publication),d=(t={},(0,o.Z)(t,"haslemereherald.com","/icons/sub_Icons/Haslemere.png"),(0,o.Z)(t,"abergavennychronicle.com","/icons/sub_Icons/Abergavenny.png"),(0,o.Z)(t,"petersfieldpost.co.uk","/icons/sub_Icons/Petersfield.png"),(0,o.Z)(t,"farnhamherald.com","/icons/sub_Icons/Farnham.png"),(0,o.Z)(t,"altonherald.com","/icons/sub_Icons/Alton.png"),(0,o.Z)(t,"bordonherald.com","/icons/sub_Icons/Bordon.png"),(0,o.Z)(t,"liphookherald.com","/icons/sub_Icons/liphook.png"),(0,o.Z)(t,"monmouthshirebeacon.co.uk","/icons/sub_Icons/Monmouth.png"),(0,o.Z)(t,"chepstowbeacon.co.uk","/icons/sub_Icons/Chepstow.png"),(0,o.Z)(t,"brecon-radnor.co.uk","/icons/sub_Icons/Brecon.png"),(0,o.Z)(t,"cambrian-news.co.uk","/icons/sub_Icons/Cambrian.png"),(0,o.Z)(t,"tenby-today.co.uk","/icons/sub_Icons/Tenby.png"),(0,o.Z)(t,"narberth-and-whitland-today.co.uk","/icons/sub_Icons/Narberth.png"),(0,o.Z)(t,"pembroke-today.co.uk","/icons/sub_Icons/Pembroke.png"),(0,o.Z)(t,"theforester.co.uk","/icons/sub_Icons/TheForester.png"),(0,o.Z)(t,"rossgazette.com","/icons/sub_Icons/Ross.png"),(0,o.Z)(t,"theforestreview.co.uk","/icons/sub_Icons/ForestReview.png"),(0,o.Z)(t,"tavistock-today.co.uk","/icons/sub_Icons/Tavistock.png"),(0,o.Z)(t,"middevonadvertiser.co.uk","/icons/sub_Icons/MidDevonAdvertiser.png"),(0,o.Z)(t,"dawlish-today.co.uk","/icons/sub_Icons/Dawlish.png"),(0,o.Z)(t,"teignmouth-today.co.uk","/icons/sub_Icons/Teignmouth.png"),(0,o.Z)(t,"dartmouth-today.co.uk","/icons/sub_Icons/Dartmouth.png"),(0,o.Z)(t,"ivybridge-today.co.uk","/icons/sub_Icons/Ivybridge.png"),(0,o.Z)(t,"kingsbridge-today.co.uk","/icons/sub_Icons/Kingsbridge.png"),(0,o.Z)(t,"southhams-today.co.uk","/icons/sub_Icons/Kingsbridge.png"),(0,o.Z)(t,"totnes-today.co.uk","/icons/sub_Icons/Totnes.png"),(0,o.Z)(t,"tamarvalleytimes.co.uk","/icons/sub_Icons/TamarValley.png"),(0,o.Z)(t,"okehampton-today.co.uk","/icons/sub_Icons/Okehampton.png"),(0,o.Z)(t,"creditoncourier.co.uk","/icons/sub_Icons/Crediton.png"),(0,o.Z)(t,"iomtoday.co.im","/icons/sub_Icons/IsleofMan.png"),(0,o.Z)(t,"mnrjournal.co.uk","/icons/sub_Icons/MidsomerNortonChewValley.png"),(0,o.Z)(t,"wsfp.co.uk","/icons/sub_Icons/WestSomerset.png"),(0,o.Z)(t,"wellington-today.co.uk","/icons/sub_Icons/Wellington.png"),(0,o.Z)(t,"holsworthy-today.co.uk","/icons/sub_Icons/Holsworthy.png"),(0,o.Z)(t,"cornish-times.co.uk","/icons/sub_Icons/CornishTimes.png"),(0,o.Z)(t,"thepost.uk.com","/icons/sub_Icons/CornishDevonPost.png"),(0,o.Z)(t,"bude-today.co.uk","/icons/sub_Icons/BudeandStratton.png"),(0,o.Z)(t,"voicenewspapers.co.uk","/icons/sub_Icons/voice.jpg"),(0,o.Z)(t,"wokingnewsandmail.co.uk","/icons/sub_Icons/woking.jpg"),t);return(0,b.jsxs)(c,{children:[(0,b.jsx)(g,{icon:d[l],tab:"Digital editions",content:"Click on the link below to access online editions."}),(0,b.jsx)(g,{icon:"/icons/digital_icon.jpg",tab:"Digital advertising",content:"Promote your business to local customers by using iServe, our self-serve digital advertising tool."})]})}},89332:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return l},default:function(){return d}});var o=n(82786),r=n(23842),i=n(97337),s=n(44216),a=n(62717),c=n(4637),u=function(){return(0,c.jsxs)(s.Z,{children:[(0,c.jsx)(a.Z,{type:"success",children:"Our Subscription"}),(0,c.jsx)(i.Z,{})]})},l=!0,d=function(e){var t=e.menus;return(0,c.jsxs)(o.Z,{data:t,children:[(0,c.jsx)(r.Z,{}),(0,c.jsx)(u,{})]})}},55969:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/subscription",function(){return n(89332)}])},29570:function(e,t,n){e.exports=n(21315)},39364:function(e,t,n){"use strict";var o=n(59496);var r="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=o.useState,s=o.useEffect,a=o.useLayoutEffect,c=o.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(o){return!0}}var l="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),o=i({inst:{value:n,getSnapshot:t}}),r=o[0].inst,l=o[1];return a((function(){r.value=n,r.getSnapshot=t,u(r)&&l({inst:r})}),[e,n,t]),s((function(){return u(r)&&l({inst:r}),e((function(){u(r)&&l({inst:r})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==o.useSyncExternalStore?o.useSyncExternalStore:l},89155:function(e,t,n){"use strict";e.exports=n(39364)}},function(e){e.O(0,[3721,7574,1534,1996,4020,2786,9774,2888,179],(function(){return t=55969,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
//# sourceMappingURL=subscription-6b49f6fb0d48db61.js.map