1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4c2bc813-4d3f-4ac4-b88d-99ba31c58f1a",e._sentryDebugIdIdentifier="sentry-dbid-4c2bc813-4d3f-4ac4-b88d-99ba31c58f1a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[156],{1474:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(14232),i=a(89099),n=a(27994),o=a(29329);let s=()=>{var e,t;let{productInfo:a,setProductInfo:s}=(0,n.O)(),c=(0,i.useRouter)(),{cookieCountry:l}=(0,o.I)(),[d,p]=(0,r.useState)(null),[u,_]=(0,r.useState)(!1),[g,f]=(0,r.useState)(void 0),m=null==(e=c.locale)?void 0:e.toLowerCase(),h=null==(t=c.locale)?void 0:t.split("-")[1].toLowerCase(),b=(null==l?void 0:l.toLowerCase())||h;return(0,r.useEffect)(()=>{m&&b&&(async()=>{_(!0);try{let e=await fetch("/data/product-info/".concat(m,"/").concat(b,".json"));if(!e.ok)throw Error("Failed to fetch: ".concat(e.statusText));let t=await e.json();(null==t?void 0:t.productInfo)&&(p(t.productInfo),s(t.productInfo))}catch(e){f(e instanceof Error?e:Error("Unknown fetch error"))}finally{_(!1)}})()},[m,l,b,h,s]),{productInfo:d||a,loading:u,error:g}}},44053:()=>{},50156:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>g});var r=a(37876),i=a(31392);a(60668),a(44053);let n=e=>{let{name:t,price:a,addOns:n,image:o}=e;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.az,{className:"_1tt85732",children:o}),(0,r.jsxs)(i.az,{background:"misty",paddingX:"m",paddingY:"l",children:[(0,r.jsx)(i.EY,{fontSize:"body_s",fontWeight:"semibold",color:"almostBlack",marginBottom:"xs",children:t}),(0,r.jsx)(i.az,{fontSize:"title_s",color:"almostBlack",marginBottom:"m",children:a}),null==n?void 0:n.map(e=>{let{label:t,price:a}=e;return(0,r.jsxs)(i.az,{className:"_1tt85733",fontSize:"body_s",color:"almostBlack",fontWeight:"normal",paddingY:"xxs",children:[t," ",(0,r.jsxs)(i.EY,{fontWeight:"semibold",color:"almostBlack",as:"p",marginBottom:"none",children:["+ ",a]})]},t)})]})]})};var o=a(54587),s=a.n(o),c=a(21513),l=a(18805),d=a(84715),p=a(14015),u=a(1474),_=a(54532);let g=e=>{let{title:t,subtitle:a,...o}=e,{t:g}=(0,d.i)(),{cmsOrLokalise:f}=(0,d.j)(),{productInfo:m}=(0,u.A)(),h=null==m?void 0:m.filter(_.D),b=e=>{switch(e){case"Glossy paper":default:return"/images/photoprints/print_semigloss.webp";case"Matte paper":return"/images/photoprints/print_matte.webp"}},y=h?[...h,...h]:void 0,x=null==y?void 0:y.map((e,t)=>{let a,r,i,n;return 0===t?(a=b("Glossy paper"),r=g("productpage_prints_prices_glossy_subheading"),i={key:"productpage_prints_subheading",value:"".concat(e.price," ").concat(e.currency)},n=[{label:g("productpage_prints_prices_glossy_caption"),price:"".concat(e.PricePerPage," ").concat(e.currency)}]):(a=b("Matte paper"),r=g("productpage_prints_prices_matte_subheading"),i={key:"productpage_prints_subheading",value:"".concat(e.price+10*e.additionalPricePerMattePage," ").concat(e.currency)},n=[{label:g("productpage_prints_prices_matte_caption"),price:"".concat(e.additionalPricePerMattePage+e.PricePerPage," ").concat(e.currency)}]),{...e,name:r,priceInfo:i,addOns:n,image:{alt:e.name,src:a}}}),w=null!=a?a:g("productpage_princing_body"),v=(0,p.$)(o,{builderBlock:!0,builderState:!0});return(0,r.jsxs)(i.mc,{id:"prices",...v,style:{width:"100%"},children:[(0,r.jsx)(i.DZ,{as:"h2",fontSize:"title_l",textAlign:"center",marginBottom:"xs",id:"prices",className:"_1tt85735",children:f(t,"productpage_princing_header")}),(0,r.jsx)(i.EY,{fontSize:"preamble_m",textAlign:"center",style:{maxWidth:780,marginInline:"auto"},as:"p",marginBottom:"xl",children:f(w,"productpage_prints_prices_body")}),(0,r.jsx)(i.az,{className:"_1tt85731",children:null==x?void 0:x.map((e,t)=>(0,r.jsx)(n,{name:e.name,image:(0,r.jsx)(s(),{fill:!0,style:{objectFit:"cover"},alt:"Glossy paper"===e.name?g("alt_text_prices_section_prints_semigloss"):g("alt_text_prices_section_prints_matte"),src:e.image.src,sizes:"(max-width: ".concat(c.i3.breakpoints.tablet,") 100vw, 50vw"),fetchPriority:"low",loading:"lazy"}),price:(0,r.jsx)(i.BJ,{fontSize:"body_s",fontWeight:"normal",direction:"vertical",ga
1p:"xxxs",children:(0,r.jsx)(l.x6,{i18nKey:e.priceInfo.key,values:{price:e.priceInfo.value},components:{price:(0,r.jsx)(i.EY,{as:"span",fontSize:"title_s",fontWeight:"semibold",children:"title"})}},e.priceInfo.key)}),addOns:e.addOns},"".concat(e.name,"-").concat(t)))})]})}},54532:(e,t,a)=>{"use strict";a.d(t,{D:()=>r,h:()=>i});let r=e=>e.key.toLowerCase().startsWith("card"),i=e=>!e.key.toLowerCase().startsWith("card")}}]); 2//# sourceMappingURL=156.1c7f78e5040ec112.js.map
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.