1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3437],{82342:function(e,n,t){var r,l,i,a,o,s,c=t(99710),d=t(99500),u=t(30969),p=t(52555),h=t(85255),f=t(33747),x=t(80722),g=t(92226),v=t(31619),m=t(51194),Z=t(3414),y=t(35828),w=t(22626),b=t(86470),j=t(95316),k=t(39455),C=t(22242),_=t(95870),S=t(74938),O=t(16809),T=t(37574),L=(0,h.Z)("div")(r||(r=(0,d.Z)([""]))),M=(0,h.Z)("div")(l||(l=(0,d.Z)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n text-align: center;\n background-color: ",";\n overflow-y: scroll;\n\n -ms-overflow-style: none;\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n"])),v.Z.warmGrey),F=(0,h.Z)(w.Z)(i||(i=(0,d.Z)(["\n word-break: keep-all;\n svg {\n margin-right: 8px;\n }\n"]))),E=(0,h.Z)("button")(a||(a=(0,d.Z)(["\n display: flex;\n align-items: center;\n word-break: keep-all;\n\n svg {\n margin-right: 8px;\n }\n"]))),H=(0,h.Z)("div")(o||(o=(0,d.Z)(["\n border-radius: 0px;\n background-color: ",";\n\n "," {\n width: 100%;\n :hover {\n border-radius: 48px;\n }\n }\n\n transition: border-radius ",";\n overflow: hidden;\n"])),v.Z.warmGrey,k.aE.xl,j.Z.primary),A=(0,h.Z)("div",{shouldForwardProp:function(e){return-1===["heightToTransform","isReadMoreOpen"].indexOf(e)}})(s||(s=(0,d.Z)(["\n transition: all 300ms ease-in-out;\n transform: translateY(\n ","px\n );\n"])),(function(e){var n=e.heightToTransform;return"open"===e.isReadMoreOpen?-(n+16):0})),N=function(e){var n=e.files,t=e.flags,r=e.image,l=e.tag,i=e.text,a=e.title,o=e.url,s=(0,p.$)().t,d=(0,u.useState)({heightToTransform:0,isReadMoreOpen:""}),h=(0,c.Z)(d,2),w=h[0],j=h[1],k=r||g.l7,N=t.find((function(e){var n;return-1!==S.tN.indexOf(null===e||void 0===e||null===(n=e.code)||void 0===n?void 0:n.toLowerCase())})),R=(0,O.v9)((function(e){var n,t;return null===(n=e.page.data)||void 0===n||null===(t=n.settings)||void 0===t?void 0:t.settings})),D=null===R||void 0===R?void 0:R.includes("newsletter"),G=(0,O.v9)((function(e){return e.overlay})),P=!!n.length,z=(0,O.v9)((function(e){return e.newsletter.isSubscribed})),B=n.map((function(e){var n=e.url;return/\.[a-z0-9]+$/i.test(n)?n:"".concat(n,".pdf")})),I=(0,c.Z)(B,1)[0],$=s("post_type_pages.download_pdf");return(0,T.jsx)(H,{children:(0,T.jsx)(m.Z,{ratio:3/4,children:(0,T.jsx)("div",{children:(0,T.jsxs)(M,{children:[(0,T.jsx)(m.Z,{ratio:"1",children:(0,T.jsx)("div",{children:(0,T.jsx)(A,{p:["24px 56px","14px 14px"],width:"auto",height:"100%",heightToTransform:w.heightToTransform,isReadMoreOpen:w.isReadMoreOpen,children:(0,T.jsx)(x.Z,{alt:l,placeholder:(0,b.aT)(g.l7,250),src:{url:k||g.l7,width:[200,390,500,700]},title:l,width:"100%",height:"100%",objectFit:"contain",format:"jpg",sizes:"100vw"})})})}),(0,T.jsxs)(L,{mt:"auto",p:["0px 12px 12px 12px","0px 24px 24px 24px","0px 24px 24px 24px"],textAlign:"left",children:[(0,T.jsxs)(L,{mb:"16px",marginTop:"open"===w.isReadMoreOpen?"24px":"0px",children:[(0,T.jsx)(f.Z,{as:"p",mb:"16px",color:v.Z.black50,textStyles:"Stabil Grotesk/14-100 CAPS",children:l}),(0,T.jsx)(f.Z,{as:"p",textStyles:"Stabil Grotesk/18-120",marginBottom:"16px",whiteSpace:"open"===w.isReadMoreOpen?"normal":"nowrap",overflow:"hidden",textOverflow:"open"===w.isReadMoreOpen?"none":"ellipsis",dangerouslySetInnerHTML:{__html:a}})]}),!_.N9&&(0,T.jsx)(Z.Z,{callback:function(e,n){j({heightToTransform:e,isReadMoreOpen:n})},children:(0,T.jsxs)(L,{children:[P&&!z&&D?(0,T.jsxs)(E,{type:"button",m:"16px 0",onClick:function(){return function(e){var n=e.downloadFile,t=e.title;return G.show("newsletter_overlay",{downloadFile:n,title:t})}({downloadFile:I,title:a})},children:[(0,T.jsx)(y.Z,{}),$]}):(0,T.jsx)(L,{display:"flex",flexDirection:"column",gap:"8px",children:n.map((function(e,n){var t,r=null===N||void 0===N||null===(t=N.code)||void 0===t?void 0:t.toLowerCase(),i=e.name?"".concat($," ").concat(e.name):$,a=/\.[a-z0-9]+$/i.test(e.url)?e.url:"".concat(e.url,".pdf");return(0,T.jsx)(F,{download:!0,target:"_blank",rel:"noopener noreferrer",to:a,alignContent:"center",title:i,"data-book-name":l,"data-book-category":r,children:(0,T.jsxs)(L,{children:[(0,T.jsx)(y.Z,{}),(0,T.jsx)(L,{as:"span",verticalAlign:"middle",children:i})]})},"".concat(e.url,"-").concat(n))}))}),i&&(0,T.jsx)(f.Z,{as:"div",m:"16px 0",textStyles:"Tiempos/14-140",dangerouslySetInnerHTML:{__html:i}}),o&&(0,T.jsx)(L,{mb:"56px",children:(0,T.jsx)(C.Z,{"aria-label":s("compare_now"),to:o,size:"cta",theme:"outlinedBlack",children:s("review.see_book")})})]})})]})]})})})})};
1N.defaultProps={files:[],flags:[],image:"",tag:"",text:"",title:"",url:""},n.Z=N},3414:function(e,n,t){var r,l,i,a=t(47427),o=t(99710),s=t(99500),c=t(30969),d=t(52555),u=t(31619),p=t(85255),h=t(95870),f=t(37574),x=(0,p.Z)("div")(r||(r=(0,s.Z)([""]))),g=(0,p.Z)("div",{shouldForwardProp:function(e){return-1===["closedHeight","openHeight","maxHeight"].indexOf(e)}})(l||(l=(0,s.Z)(["\n height: ","px;\n overflow: hidden;\n\n word-break: break-word;\n\n &.clamp,\n &.clamp > div {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-box-pack: end;\n }\n\n &.open,\n &.closed {\n transition: height 0.3s ease-in-out, display 0.3s ease;\n transition-delay: 0, 1;\n }\n &.open {\n display: block;\n p {\n margin-bottom: 16px;\n }\n height: ","px;\n }\n\n &.closed,\n &.closed > div {\n -webkit-line-clamp: ",";\n text-overflow: ellipsis;\n }\n\n &.unset {\n transition: none;\n display: block;\n height: fit-content;\n * {\n margin: revert;\n margin-block-start: revert;\n margin-block-end: revert;\n transition: none;\n }\n }\n"])),(function(e){return e.closedHeight}),(function(e){return e.openHeight}),(function(e){return e.lines})),v=(0,p.Z)("button")(i||(i=(0,s.Z)(["\n color: ",";\n text-align: left;\n"])),u.Z.purple),m=function(e){var n=e.lines,t=e.lineHeight,r=e.children,l=e.callback,i=e.className,s=e.handleOpen,u=(0,d.$)().t,p=(0,c.useState)(0),m=(0,o.Z)(p,2),Z=m[0],y=m[1],w=(0,c.useState)(!1),b=(0,o.Z)(w,2),j=b[0],k=b[1],C=(0,c.useState)(!0),_=(0,o.Z)(C,2),S=_[0],O=_[1],T=(0,c.useState)("closed clamp"),L=(0,o.Z)(T,2),M=L[0],F=L[1],E=(0,c.useState)(null),H=(0,o.Z)(E,2),A=H[0],N=H[1],R=function(){var e=(0,c.useState)(h.N9?[0,0]:[window.innerWidth,window.innerHeight]),n=(0,o.Z)(e,2),t=n[0],r=n[1];return(0,c.useLayoutEffect)((function(){var e=function(){r(h.N9?null:[window.innerWidth,window.innerHeight])};return h.N9||window.addEventListener("resize",e),function(){return h.N9?null:window.removeEventListener("resize",e)}}),[]),t}(),D=(0,o.Z)(R,1)[0],G=c.Children.count(r)*t*n;(0,c.useLayoutEffect)((function(){if(A){var e,n=A.children,t=(null===(e=n)||void 0===e?void 0:e.length)&&n.item(0);t&&"DIV"===t.tagName&&t.childElementCount>0&&(n=t.children);var r,o=0,s=(0,a.Z)(n);try{for(s.s();!(r=s.n()).done;){o+=r.value.scrollHeight+48}}catch(c){s.e(c)}finally{s.f()}o<G?(O(!1),F("unset")):S||(O(!0),"unset"===i&&(F("open"),k(!0))),y(o),l&&l(o,M)}}),[A,i,D,G,S,M]);return(0,f.jsxs)(x,{children:[(0,f.jsx)(g,{ref:N,lines:n,closedHeight:G,openHeight:Z,className:"".concat(M," ").concat(i),onTransitionEnd:function(e){e.target.classList.add("clamp")},children:function(e){var n=function(e){return"string"===typeof e?(0,f.jsx)("p",{children:e}):e};return Array.isArray(e)?e.map((function(e,t){return(0,f.jsx)(c.Fragment,{children:n(e)},t)})):n(e)}(r)}),S&&(0,f.jsx)(v,{onClick:function(){var e=!j;k(e),F(e?"open":"closed"),"undefined"!==typeof s&&s()},children:j?"- ".concat(u("read_less")):"+ ".concat(u("read_more"))})]})};m.defaultProps={callback:function(){},className:"",handleOpen:void 0,lineHeight:null,lines:null},n.Z=m},35828:function(e,n,t){var r=t(81034),l=(t(30969),t(31513)),i=t(37574),a=["color","width","height"],o=function(e){var n=e.color,t=e.width,o=e.height;(0,r.Z)(e,a);return(0,i.jsxs)(l.Z,{width:t,height:o,children:[(0,i.jsx)("path",{d:"M6 3v13",stroke:n}),(0,i.jsx)("path",{d:"M.428432 10.4277C2.8692 11.4294 4.99355 13.4478 5.95146 15.9992h.09632c.95839-2.5514 3.08226-4.5698 5.52352-5.5715",stroke:n,fill:"none"}),(0,i.jsx)("path",{d:"M0 18h12",stroke:n})]})};o.defaultProps={color:"black",height:"19px",width:"12px"},n.Z=o},54856:function(e,n,t){t.d(n,{Z:function(){return Y}});var r=t(95764),l=t(99500),i=t(30969),a=t(52555),o=t(39455),s=t(54992),c=t(85255),d=t(10546),u=t(81034),p=t(22242),h=t(31513),f=t(37574),x=["color"],g=function(e){var n=e.color,t=(0,u.Z)(e,x);
1return(0,f.jsxs)(h.Z,(0,r.Z)((0,r.Z)({fill:"none",viewBox:"0 0 16 14",xmlns:"http://www.w3.org/2000/svg"},t),{},{children:[(0,f.jsx)("path",{d:"M.5 7h10M13.5 7h2",stroke:n,strokeLinecap:"square",strokeLinejoin:"round"}),(0,f.jsx)("circle",{cx:"12",cy:"7",r:"1.5",stroke:n}),(0,f.jsx)("path",{d:"M.5 12h6M9.5 12h6",stroke:n,strokeLinecap:"square",strokeLinejoin:"round"}),(0,f.jsx)("circle",{cx:"8",cy:"12",r:"1.5",stroke:n}),(0,f.jsx)("path",{d:"M.5 2h3M6.5 2h9",stroke:n,strokeLinecap:"square",strokeLinejoin:"round"}),(0,f.jsx)("circle",{cx:"5",cy:"2",r:"1.5",stroke:n})]}))};g.defaultProps={color:"currentColor",height:"14px",width:"16px"};var v,m,Z=g,y=["children","theme"],w=function(e){var n=e.children,t=e.theme,l=void 0===t?"warmGrey":t,i=(0,u.Z)(e,y);return(0,f.jsxs)(p.Z,(0,r.Z)((0,r.Z)({theme:l},i),{},{children:[n,(0,f.jsx)(Z,{ml:"8px"})]}))},b=(0,c.Z)("div")(v||(v=(0,l.Z)([""]))),j=(0,d.GG)(["overlay"])((function(e){var n=e.filterCount,t=e.openFilterOverlay,r=(0,a.$)().t,l="category.filter.all_filters".concat(n?"_count":"");return(0,f.jsx)(b,{children:(0,f.jsx)(w,{type:"button",onClick:t,children:r(l,{count:n})})})})),k=t(13206),C=t(7968),_=t(98287),S=t(82342),O=t(72649),T=t(60533),L=(0,c.Z)("div")(m||(m=(0,l.Z)(["\n display: grid;\n grid-gap: 32px 8px;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n &.large {\n grid-template-columns: 1fr;\n }\n\n "," {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n &.large {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n\n "," {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n grid-gap: 48px 8px;\n &.large {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n"])),o.aE.md,o.aE.xl),M=function(e){var n=e.products,t=e.productCardType,l=(0,a.$)().t;return(0,f.jsxs)(L,{id:"productGrid",children:[t===O.zQ&&n.map((function(e,n){var t,i,a=e.description,o=e.name,s=e.image,c=e.url,d=e.files,u=e.parametrics,p=(u.DOCUMENT_DESCRIPTION,u.ILLUSTRATOR),h=u.MAIN_AUTHOR,x=e.flags,g=null===h||void 0===h||null===(t=h.value[0])||void 0===t?void 0:t.value,v=null===p||void 0===p||null===(i=p.value[0])||void 0===i?void 0:i.value,m=d.filter((function(e){return e&&[O.H$].includes(e.code)})).map((function(e){return(0,r.Z)((0,r.Z)({},e),{},{url:(0,T.F)(e.url)})})),Z=[g&&l("category.author",{author:g}),v&&l("category.illustrator",{illustrator:v})].filter((function(e){return e})).join("<br>");return(0,f.jsx)(S.Z,{files:m,flags:x,image:s,tag:o,text:a,title:Z,url:c},"".concat(n,"-").concat(Z))})),t===O.Ac&&n.map((function(e,n){return(0,f.jsx)(_.Z,{product:e},"".concat(n,"-").concat(null===e||void 0===e?void 0:e.objectID))}))]})};M.defaultProps={productCardType:O.Ac,products:[]};var F,E,H,A,N,R,D=M,G=t(433),P=t(66834),z=function(e){var n=e.filters,t=e.handleClear,r=e.handleFilterChange,l=e.handleSortChange,i=e.openFilterOverlay;return n.map((function(e,n){var a=e.key,o=e.defaultValue,s=e.label,c=e.selected,d=e.totalSelected,u=e.uom,p=e.values,h=e.type;return(0,f.jsx)(P.Z,{defaultValue:o,handleClear:t,handleFilterChange:r,handleSortChange:l,index:a,label:s,mobileOnClick:i.bind(null,{openFilters:[a]}),selected:c,totalSelected:d,type:h,uom:u,values:p},s+n)}))},B=t(77137),I=t(37100),$=t(33747),q=t(31619),U=(0,c.Z)(G.Z)(F||(F=(0,l.Z)(["\n grid-template-columns: 1fr;\n"]))),V=(0,c.Z)("div")(E||(E=(0,l.Z)(["\n display: flex;\n flex-direction: column;\n gap: 24px;\n padding-top: 24px;\n padding-bottom: 24px;\n "," {\n overflow: hidden;\n margin-right: -",";\n }\n "," {\n flex-direction: row;\n justify-content: space-between;\n }\n"])),o.B2.lg,B.w.mobile.margin,o.aE.lg),K=(0,c.Z)("div")(H||(H=(0,l.Z)(["\n "," {\n overflow-x: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n display: none;\n }\n }\n"])),o.B2.lg),J=(0,c.Z)("div")(A||(A=(0,l.Z)(["\n display: flex;\n gap: 8px;\n "," {\n flex-wrap: wrap;\n }\n"])),o.aE.lg),W=(0,c.Z)("div")(N||(N=(0,l.Z)(["\n display: flex;
1\n align-items: center;\n justify-content: space-between;\n "," {\n margin-right: ",";\n }\n "," {\n flex-direction: row-reverse;\n justify-content: normal;\n gap: 24px;\n flex-shrink: 0;\n }\n"])),o.B2.lg,B.w.mobile.margin,o.aE.lg),Q=(0,c.Z)($.Z)(R||(R=(0,l.Z)(["\n color: ",";\n margin-bottom: 80px;\n padding-top: 24px;\n padding-bottom: 24px;\n text-align: center;\n"])),q.Z.black50);Q.defaultProps={as:"p",textStyles:"Stabil Grotesk/16-140"};var Y=(0,d.GG)(["overlay"])((function(e){var n=(0,a.$)().t,t=(0,i.useRef)(null),l=e.clear,o=e.config,c=e.filters,d=e.handleChange,u=e.hitsCount,p=e.page,h=e.pageCount,x=e.pageSize,g=e.productCardType,v=e.products,m=e.productsCount,Z=e.selectedFilters,y=e.overlay,w=e.query;(0,i.useEffect)((function(){"filter_overlay"===y.current&&y.update({filters:c,hitsCount:u,selectedFilters:Z})}),[c]);var b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.target&&(e={});var n=(0,r.Z)({clear:l,config:o,filters:c,handleChange:d,hitsCount:u,selectedFilters:Z},e);y.show("filter_overlay",n)},_=c.reduce((function(e,n){var t=o[n.key];return null!==t&&void 0!==t&&t.featured&&(n.type=t.type,n.defaultValue=t.radioDefaultValue,e.push(n)),e}),[]);return(0,f.jsx)(U,{ref:t,children:v.length>0?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(V,{children:[(0,f.jsx)(K,{children:(0,f.jsxs)(J,{children:[(0,f.jsx)(j,{filterCount:Z.length,openFilterOverlay:b}),(0,f.jsx)(z,{filters:_,handleClear:l,handleFilterChange:d.filter.value,handleSortChange:d.sort,openFilterOverlay:b})]})}),(0,f.jsxs)(W,{children:[(0,f.jsx)(C.Z,{}),(0,f.jsx)(k.Z,{count:u})]})]}),(0,f.jsx)(D,{products:v,productCardType:g}),(0,f.jsx)(I.Z,{page:p,pageSize:x,pageCount:h,hitsCount:u,hits:m,onclick:function(){s.ZP.scrollTo({left:0,top:t.current.offsetTop-145})},suffix:n("category.pagination_suffix")})]}):(0,f.jsx)(Q,{children:w?n("search.empty.result",{query:w}):n("search.empty.products")})})}))},26439:function(e,n,t){var r,l=t(16798),i=t(74938);n.Z=(r={},(0,l.Z)(r,"parametrics.".concat(i.d$,".value.value"),{label:"F\xf6rfattare",type:"checkbox",param:"author",open:!1,featured:!0}),(0,l.Z)(r,"parametrics.".concat(i.PN,".value.value"),{label:"Illustrat\xf6r",type:"checkbox",param:"illustrator",open:!1,featured:!1}),(0,l.Z)(r,"parametrics.".concat(i.kJ,".value.value"),{label:"Karakt\xe4r",type:"checkbox",param:"character",open:!1,featured:!1}),(0,l.Z)(r,"parametrics.".concat(i.zO,".value.value"),{label:"L\xe4s\xe5lder",type:"checkbox",param:"ageGroup",open:!1,featured:!0}),(0,l.Z)(r,"parametrics.".concat(i.J2,".value.value"),{label:"Bandtyp",type:"checkbox",param:"binding",open:!1,featured:!1}),r)}}]); 2//# sourceMappingURL=3437.3a0703c4.chunk.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.