PageSourceSearch

https://www.liber.se/_next/static/chunks/539-9c1881769b83ecb7.js

js liber.se collected 2026-10-02 07:35:00 UTC 9,476 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[539],{48876:(e,t,n)=>{n.d(t,{d:()=>j});var i=n(3576),a=n(62701),r=n(37876),d=n(14232),l=n(30915),o=n.n(l),s=n(39606),c=n(17428),m=n(9919),h=n(61),p=n(41496),f=n(31373),g=n(79077);let u=g.default.div.withConfig({componentId:"sc-849e717c-0"})(["margin:0.5rem 0;padding:0;display:flex;justify-content:center;align-items:center;*{display:inline-block;}"]),x=(0,g.css)(["font-family:",";font-size:",";line-height:",";color:",";padding:0.7rem 1rem;@media screen and (max-width:600px){font-size:",";line-height:",";}"],e=>e.theme.font.family.title,e=>e.theme.font.headings.bodySmall.size,e=>e.theme.font.headings.bodySmall.lineHeight,e=>e.theme.palette.common.foreground,e=>e.theme.mobile.font.headings.bodySmall.size,e=>e.theme.mobile.font.headings.bodySmall.lineHeight),b=g.default.span.withConfig({componentId:"sc-849e717c-1"})([""," border:1px solid ",";border-radius:0.25rem;"],x,e=>e.theme.palette.common.grey.disabled),w=(0,g.css)(["",""],x);g.default.span.withConfig({componentId:"sc-849e717c-2"})([""," color:",";"],x,e=>e.theme.palette.common.grey.disabled);let y=(e,t,n,i)=>(t.page=n,{href:"".concat(e,"?").concat(o().stringify(t,{arrayFormat:i}))}),j=e=>{let{page:t,perpage:n=10,count:l,path:o,threshold:g=2,query:x,onChange:j,enableNextJsLinks:v=!1,queryArrayFormat:C="brackets"}=e,_=Math.ceil(l/n),k=(0,p.DP)(),{currentLocale:E}=(0,p.Ym)(),I=v?{isNextJsLink:!0}:{prevent:!0,onEvent:e=>{let t=e.target.href||e.target.parentElement.parentElement.href,n=/page=([0-9]*)/.exec(t);j&&n&&j(n[1])}};return(0,r.jsx)(u,{children:(()=>{let e=[],n=!0;t>1&&e.push((0,d.createElement)(h.N_,(0,a._)((0,i._)((0,a._)((0,i._)({},y(o,x,t-1,C)),{key:"prev"}),I),{ariaLabel:(0,f.En)("previousPage",E)}),(0,r.jsx)(s.A,{width:"0.8rem"})));for(let l=1;l<=_;l++)1===l||l===_||l>=t-g&&l<=t+g?(l===t?e.push((0,r.jsx)(b,{children:l},l)):e.push((0,d.createElement)(h.N_,(0,i._)((0,a._)((0,i._)({},y(o,x,l,C)),{customStyle:w,key:l}),I),l)),n=!0):n&&(e.push((0,r.jsx)(m.Ub,{style:{color:k.palette.common.grey.disabled},children:"..."},l)),n=!1);return t<_&&e.push((0,d.createElement)(h.N_,(0,a._)((0,i._)((0,a._)((0,i._)({},y(o,x,t+1,C)),{key:"next"}),I),{ariaLabel:(0,f.En)("nextPage",E)}),(0,r.jsx)(c.A,{width:"0.8rem"}))),e})()})}},68235:(e,t,n)=>{n.d(t,{b:()=>d});var i=n(37876),a=n(77328),r=n.n(a);let d=e=>{let{metadata:t,defaultCanonicalUrl:n,structuredData:a,customData:d,noIndex:l}=e;if(!t)return null;let{title:o,description:s,keywords:c=[],hreflangLinks:m=[],canonicalUrl:h,image:p,robotsTags:f=[]}=t,g=e=>e.startsWith("http")?e:"https:".concat(e),u=h||n,x=((e,t)=>{let n=[...e];return t&&n.push("noindex"),[...new Set(n)].join(", ")||null})(f,l);return(0,i.jsxs)(r(),{children:[x&&(0,i.jsx)("meta",{name:"robots",content:x}),o&&(0,i.jsx)("title",{children:o}),s&&(0,i.jsx)("meta",{name:"description",content:s}),c.length>0&&(0,i.jsx)("meta",{name:"keywords",content:c.join(", ")}),u&&(0,i.jsx)("link",{rel:"canonical",href:u}),m.length>0&&m.map(e=>(0,i.jsx)("link",{rel:"alternate",href:e.url,hrefLang:e.language},e.language)),o&&(0,i.jsx)("meta",{property:"og:title",content:o}),s&&(0,i.jsx)("meta",{property:"og:description",content:s}),p&&(0,i.jsx)("meta",{property:"og:image",content:g(p.file.url)}),o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:title",content:o}),s&&(0,i.jsx)("meta",{name:"twitter:description",content:s}),p&&(0,i.jsx)("meta",{name:"twitter:image",content:g(p.file.url)})]}),a&&(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:a}}),d]})}},74653:(e,t,n)=>{n.d(t,{dK:()=>C.d,AA:()=>v});var i=n(37876),a=n(14232),r=n(9919),d=n(17046),l=n(61),o=n(68563),s=n(41496),c=n(79077);let m=c.default.div.withConfig({componentId:"sc-728f7fc7-0"})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:2.5rem 0;border-bottom:1px solid ",";@media screen and (max-width:600px){display:",";padding:1.5rem 0;}"],e=>{let{theme:t}=e;return t.palette.common.separator},e=>e.addToCartEnabled?"block":"flex"),h=c.default.div.withConfig({componentId:"sc-728f7fc7-1"})(["display:flex;flex-direction:column;justify-content:flex-start;align-content:flex-start;width:calc(75% - 1rem);padding-right:2rem;@media screen and (max-width:600px){padding:",";}"],e=>e.addToCartEnabled?"0px":"0rem 1.5rem"),p=c.default.div.withConfig({componentId:"sc-728f7fc7-2"})(["display:flex;flex-direction:row;align-items:center;width:calc(100% - ",");@media screen and (max-width:600px){width:",";align-items:",";text-overflow:ellipsis;overflow:hidden;}"],e=>e.addToCartEnabled?"12rem":"9rem",e=>e.addToCartEnabled?"auto":"calc(100% - 6rem)",e=>e.addToCartEnabled?"flex-start":"center"),f=c.default.div.withConfig({componentId:"sc-728f7fc7-3"})(["display:flex;flex-direction:column;align-items:flex-end;width:",";justify-content:center;@media screen and (max-width:600px){width:",";margin-top:",";}"],e=>e.addToCartEnabled?"12rem":"9rem",e=>e.addToCartEnabled?"auto":"6rem",e=>e.addToCartEnabled?"1rem":"0px"),g=c.default.div.withConfig({componentId:"sc-728f7fc7-4"})(["margin-right:1rem;width:25%;"]),u=c.default.div.withConfig({componentId:"sc-728f7fc7-5"})(["margin-top:0.5rem;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;height:2.5rem;width:100%;> div:first-child{margin-right:1rem;}@media screen and (max-width:600px){flex-direction:row-reverse;justify-content:flex-start;}"]),x=c.default.div.withConfig({componentId:"sc-728f7fc7-6"})(["display:flex;flex-direction:row;align-items:center;justify-content:center;cursor:",";height:100%;width:5rem;border-radius:32px;pointer-events:",";background-color:",";&:hover{background-color:",";}&:focus{background-color:",";box-shadow:0 0 7px 1px ",";}"],e=>e.loading||e.disabled?"auto":"pointer",e=>e.disabled?"none":"auto",e=>e.disabled?e.theme.palette.common.grey.disabled:e.theme.palette.primary.main,e=>e.disabled?e.theme.palette.common.grey.disabled:e.theme.palette.primary.dark,e=>e.disabled?e.theme.palette.common.grey.disabled:e.theme.palette.primary.main,e=>e.disabled?e.theme.palette.common.grey.disabled:e.theme.palette.primary.main),b=c.default.div.withConfig({componentId:"sc-728f7fc7-7"})(["font-size:1.5rem;margin-right:0.245rem;"]),w=c.default.div.withConfig({componentId:"sc-728f7fc7-8"})(["width:5rem;"]),y=c.default.div.withConfig({componentId:"sc-728f7fc7-9"})(["margin-top:1rem;color:",";"],e=>{let{theme:t}=e;return t.palette.secondary.main});var j=n(56986);let v=e=>{let{id:t,title:n,cover:c,tags:v,price:C,productUrl:_,onClick:k,hasNextJsLink:E=!1,locale:I,currency:N,maxQuantity:T=null,hidePrice
1:z,publicationDate:S,productNotPublishedLong:L,publicationDateFormat:A,displayGrossPrices:H,category:F,nameBrand:M,purchaseConditions:U,showPricePickerButton:P,onViewPriceClick:D}=e,{addToCartOnPlp:G}=(0,s.h)(),{updatingCartWith:J,isUpdatingCart:$,addItemsToCart:B}=(0,s._$)(),R=o.D.REGULAR_COPY.value,{tracker:V}=(0,s.sr)(),{priceType:Y}=(0,j.Z)(),K=null==J?void 0:J.find(e=>e.id===t),{quantity:O,setQuantity:Q,evaluatedMaxQuantity:W}=(0,s.eN)({productId:t,copyType:R,maxQuantity:T}),Z=a.useMemo(()=>async()=>{try{var e;let i=await B([{id:t,quantity:O,copyType:R}],!0,void 0,Y);null==V||V.productAdded({productId:t,title:n,name:n,category:null!=F?F:"",brand:M?M.join(","):"",sku:"",variant:R,quantity:O,currency:null!=N?N:"",cartId:null!=(e=null==i?void 0:i.cartId)?e:"",price:C?Number.parseFloat(C.toString()):0})}catch(e){console.error(e)}},[B,t,O,Y]),q=null;return q=P?(0,i.jsx)(l.$n,{label:"Visa pris",variant:"primary",size:"small",type:"button",onClick:D}):z||(0,d.pG)({displayGrossPrices:H})?null:(0,i.jsxs)(r.hI,{bold:!0,children:[" ",(0,d.$g)(C,I,N)]}),(0,i.jsxs)(m,{addToCartEnabled:G,"data-cy-purchasable":(null==U?void 0:U.isGuestAllowed)&&!!(null==H?void 0:H.regular),children:[(0,i.jsxs)(p,{addToCartEnabled:G,children:[(0,d.jH)(c)&&(0,i.jsx)(g,{children:(0,i.jsx)(l.N_,{href:_,onEvent:k,isNextJsLink:E,children:(0,i.jsx)(l.hw,{imageUrl:c,width:"10rem"})})}),(0,i.jsxs)(h,{addToCartEnabled:G,children:[(0,i.jsx)(l.N_,{href:_,customStyle:{marginBottom:"0.5rem",display:"block"},onEvent:k,isNextJsLink:E,children:(0,i.jsxs)(r.hI,{bold:!0,children:[" ",n," "]})}),v&&(0,i.jsxs)(r.Ub,{children:[" ",v," "]}
1),S&&!(0,d.HF)(S)&&(0,i.jsx)(y,{children:(0,d.df)(L,S,I,A)})]})]}),(0,i.jsxs)(f,{addToCartEnabled:G,children:[q,G&&t&&(0,i.jsxs)(u,{children:[(0,i.jsx)(l._F,{value:O.toString(),maxQuantity:W,inputDefaultValue:O,onUpdateItemsFromCart:e=>Q(Number(e))}),K?(0,i.jsx)(w,{children:(0,i.jsx)(l.kt,{stroke:4,size:32,wrapperSize:48})}):(0,i.jsxs)(x,{onClick:()=>Z(),disabled:$||0===W,children:[(0,i.jsx)(b,{children:"+"}),(0,i.jsx)(l.Ah,{inlineSvg:'<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h48v48H0z" fill="none"/><path d="M34.42 18L25.66 4.89c-.38-.58-1.02-.85-1.66-.85-.64 0-1.28.28-1.66.85L13.58 18H4c-1.1 0-2 .9-2 2 0 .19.03.37.07.54l5.07 18.54C7.61 40.76 9.16 42 11 42h26c1.84 0 3.39-1.24 3.85-2.93l5.07-18.54c.05-.16.08-.34.08-.53 0-1.1-.9-2-2-2h-9.58zM18 18l6-8.8 6 8.8H18zm6 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"/></svg>',height:24,width:24})]})]})]})]})};var C=n(48876);c.default.div.withConfig({componentId:"sc-ac4da91e-0"})(["width:100%;"]),n(23319),n(17428),c.default.div.withConfig({componentId:"sc-f2aebe56-0"})(["width:100%;p{margin-bottom:1rem;}svg{margin-right:1rem;}svg:last-child{margin-right:0.5rem;}"])}}]);

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.