1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2165,8386],{9459:(e,s,l)=>{l.d(s,{z:()=>a});function a(e){var s;let l=e.hide,a=Object.values(e.padding).join(" ").trim(),c=Object.values(e.margin).join(" ").trim(),i=e.classes?e.classes.map(e=>e.class).join(" "):"",t=e.id?e.id:void 0,r=null!=(s=e.block_background_colour)?s:"",n=e.block_background_image?e.block_background_image:"",o={};return n&&(o={background:"no-repeat center center url('".concat("https://api.photographynews.co.uk"+n,"')"),backgroundSize:"cover"},r&&(o={...o,backgroundBlendMode:"overlay"})),{hide:l,paddings:a,margins:c,classes:i,id:t,backgroundColor:r,bgImgStyles:o}}},48386:(e,s,l)=>{l.r(s),l.d(s,{LatestIssue:()=>m});var a=l(95155),c=l(16405),i=l(2821),t=l(52619),r=l.n(t),n=l(15239),o=l(67909),d=l(9459),u=l(97011);let g=(0,o.default)(()=>Promise.resolve().then(l.bind(l,72635)).then(e=>e.MediaContent),{loadableGenerated:{webpack:()=>[72635]}}),m=e=>{var s,l;let{data:t,nested:o=!1}=e,{hide:m,paddings:b,margins:h,classes:p,id:_,backgroundColor:x,bgImgStyles:v}=(0,d.z)(t),f=(0,i.A)("relative","acf-layout","latest-issue-block",b,h,p);if(m)return(0,a.jsx)(a.Fragment,{});let w=t.latest_issue[0].acf.issue_id,j=t.latest_issue[0].acf.issue_link_unlocked.url;return(0,a.jsx)("section",{id:_,className:"".concat(f),style:{...v,backgroundColor:x},children:(0,a.jsx)("div",{className:"".concat(o?"":t.wrapper_width),children:(0,a.jsxs)(u.x,{classes:"grid-cols-12",children:[(0,a.jsx)(u.V,{classes:"max-md:!mb-0 col-span-12 md:col-span-6 xl:col-span-5",children:(0,a.jsxs)("div",{className:"content content-flow",children:[(0,a.jsx)("h1",{children:(null==t?void 0:t.title)?t.title:"Issue ".concat(w," out now!")}),(0,c.Ay)(null==(l=t.latest_issue[0])||null==(s=l.acf)?void 0:s.issue_description),(0,a.jsxs)("div",{className:"btn-group flex gap-5 flex-wrap mt-5 lg:mt-10",children:[(0,a.jsx)("a",{id:"read-latest-issue",href:j,target:"_blank",className:"btn btn-md btn-primary w-full",children:(null==t?void 0:t.read_issue_button_label)?t.read_issue_button_label:"Read the latest issue online"}),(0,a.jsx)(r(),{id:"view-pn-library",href:"/issue-library",className:"btn btn-md btn-tertiary w-full",children:(null==t?void 0:t.view_library_button_label)?t.view_library_button_label:"See the Photography News library"})]})]})}),(0,a.jsx)(u.V,{classes:"max-md:!hidden col-span-12 md:col-span-6 xl:col-span-7",children:t.featured_image&&(0,a.jsx)(g,{classes:"md:h-full",children:(0,a.jsx)(n.default,{src:"".concat("https://api.photographynews.co.uk").concat(t.featured_image),alt:"Photography News Latest Issue",loading:"eager",sizes:"(max-width: 767px) 0vw, (min-width: 768px) and (max-width: 1279px) 50vw, 55vw",className:"object-cover object-center",fill:!0})})})]})})})}},97011:(e,s,l)=>{l.d(s,{V:()=>i,x:()=>c});var a=l(95155);function c(e){let{columns:s,classes:l,children:c}=e;return(0,a.jsx)("section",{className:"grid gap-5 md:gap-10 ".concat(s?({1:"grid-cols-1",2:"grid-cols-1 sm:grid-cols-2",3:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3",4:"grid-cols-1 sm:grid-cols-2 md:grid-cols-4",5:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",6:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"})[s]:""," ").concat(l),children:c})}function i(e){let{children:s,classes:l}=e;return(0,a.jsx)("div",{className:"relative flex flex-col col-span-1 ".concat(l||""),children:s})}l(12115)}}]);
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.