1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9ed1c7f6-0ade-43af-830f-38113c1ffd8a",e._sentryDebugIdIdentifier="sentry-dbid-9ed1c7f6-0ade-43af-830f-38113c1ffd8a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2422],{5243:(e,t,i)=>{"use strict";i.d(t,{x:()=>u,E:()=>g});var r=i(37876),n=i(5811),a=i(85283),o=i(45485),l=i(28474),s=i(92358),c=i(67863),d=i(9516);let u="revisitAfterLogin";function g(e,{redirectRoute:t="/login",redirectBackAfterLogin:i=!0}={}){let p=t=>(0,a.h1)(d.t).isLoggedIn?(0,r.jsx)(e,{...t}):null;return p.getInitialProps=async r=>{let{serviceManager:n}=r,a=n.get(d.t),g=function(e,t,i,r){let n="function"==typeof t?t(r):t,a=r?.asPath||(o.Bd?window.location.href:`/${e}/`);if("object"==typeof n&&"href"in n){let{href:e}=n;if(!i||e.includes(`${u}=`)||!a)return e;let t=e.includes("?")?"&":"?";return`${e}${t}${u}=${encodeURIComponent(a)}`}let l=i&&a?{[u]:a}:void 0,c=(0,s.H)({locale:e,route:n||"/"}),d=l?new URLSearchParams(l).toString():"";return`${c}${d?`?${d}`:""}`}(n.get(c.Y).getLocale(),t,i,r);if(!a.isLoggedIn)throw new l.dZ(g,302);return e.getInitialProps?.(r)},p.layout=e.layout,(0,n.PA)(p)}},9954:(e,t,i)=>{"use strict";i.d(t,{N:()=>n});var r,n=((r={})[r.left=0]="left",r[r.right=1]="right",r[r.number=2]="number",r)},12068:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-ebooks",function(){return i(54646)}])},52534:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var r=i(37876),n=i(72525),a=i(99991),o=i(39310),l=i(22558),s=i(95191);function c({className:e,tileType:t=o.f9.verticalMedium}){return(0,r.jsx)(s.xp,{$tileType:t,className:e,children:(0,r.jsxs)(s.I9,{$tileType:t,children:[(0,r.jsx)(s._c,{$tileType:t,children:(0,r.jsx)(s.l3,{$tileType:t})}),(0,r.jsx)(s.Q7,{$tileType:t,children:(()=>{let e=[];for(let i=1;i<5;i=1+i)e.push((0,r.jsx)(s.T4,{$tileType:t},`${i}=${(0,a.A)()}`));return e})()}),(0,r.jsx)(s.LZ,{$tileType:t,children:(0,r.jsx)(s.eM,{$tileType:t,children:(0,r.jsx)(s.qe,{disabled:!0,children:(0,r.jsx)(n.A,{name:"warenkorb",color:l.A.white._})})})})]})},(0,a.A)())}},54041:(e,t,i)=>{"use strict";i.d(t,{h:()=>o});var r=i(14232),n=i(85283),a=i(69060);let o=({products:e,mobileBatchSize:t=4,desktopBatchSize:i=6,threshold:o=.5,listName:l,isLoaded:s})=>{let c=(0,n.al)(),d=(0,n.h1)(a.z),u=(0,r.useRef)(null),g=(0,r.useRef)(new Set),p=(0,r.useCallback)(e=>{if(0!==e.length)if(e.every(e=>"wishlistItemId"in e)){let t=e.filter(e=>"productTile"in e).map(e=>e.productTile);d.pushProductImpressionsGA4Event({tiles:t,list:l})}else d.pushProductImpressionsGA4Event({tiles:e,list:l})},[d]),h=c?t:i;(0,r.useEffect)(()=>{if(s||!e||0===e.length){u.current&&u.current.disconnect(),g.current.clear();return}let t=setTimeout(()=>{let t=document.querySelector(".product-list-wrapper");if(!t)return;u.current&&u.current.disconnect();let i=new IntersectionObserver(i=>{i.forEach(i=>{if(i.isIntersecting&&i.intersectionRatio>=o){let r=i.target,n=Math.floor(Array.from(t.children).indexOf(r)/h);if(!g.current.has(n)){let t=n*h,i=Math.min(t+h,e.length);p(e.slice(t,i)),g.current.add(n)}}})},{threshold:o,root:null}),r=t.children;for(let e=0;e<r.length;e++){let t=e%h==0,n=(e+1)%h==0;if(t||n){let t=r[e];t&&i.observe(t)}}u.current=i},150);return()=>{clearTimeout(t),u.current&&u.current.disconnect()}},[e,h,o,l,s,p])}},54541:(e,t,i)=>{"use strict";i.d(t,{o:()=>s});var r=i(37876),n=i(72525),a=i(22558),o=i(54807),l=i(9954);function s({handleClick:e,itemsTotal:t,currentPage:i,itemsByPage:c,className:d}){var u;let g,p,h,y;if(t<=c)return null;let m=(g={display:!1,page:1,disabled:!1},1===(u=function(e,t,i=1,r=3){let n,a,o=Math.ceil(e/t),l=i;if(i<1?l=1:i>o&&(l=o),o<=r)n=1,a=o;else{let e=Math.floor(r/2),t=Math.ceil(r/2)-1;l<=e?(n=1,a=r):l+t>=o?(n=o-r+1,a=o):(n=l-e,a=l+t)}let s=(l-1)*t,c=Math.min(s+t-1,e-1),d=Array.from(Array(a+1-n).keys()).map(e=>n+e);return{totalItems:e,currentPage:l,pageSize:t,totalPages:o,startPage:n,endPage:a,startIndex:s,endIndex:c,pages:d,maxPages:r}}(t,c,i)).currentPage?g.page=1:g.page=u.currentPage-1,u.pages.length>1&&(g.display=!0),p={display:!1,page:1,disabled:!1},u.currentPage<u.endPage?p.page=u.currentPage+1:u.currentPage===u.endPage&&(p.page=u.currentPage),u.pages.length>1&&(p.display=!0),h={display:!1},u.pages[0]>1&&(h.display=!0),y={display:!1},u.endPage<u.totalPages&&(y.display=!0),{arrowLeft:g,arrowRight:p,dotsLeft:h,dotsRight:y,pageButtons:u.pages.map(e=>({page:e,active:e===u.currentPage}))});return(0,r.jsxs)(o.Eq,{className:d,children:[m.arrowLeft.display&&(0,r.jsx)(o.Rs,{children:(0,r.jsx)(o.B3,{onClick:()=>{e(m.arrowLeft.page,l.N.left)},$disabled:m.arrowLeft.disabled,children:(0,r.jsx)(n.A,{name:"chevron-left",size:13,noSpace:!0})})}),m.dotsLeft.display&&(0,r.jsx)(o.Rs,{$isMoreIcon:!0,children:(0,r.jsx)(n.A,{name:"mehr",size:10,noSpace:!0})}),m.pageButtons.map(t=>(0,r.jsx)(o.B3,{onClick:()=>{e(t.page,l.N.number)},"data-active":t.active,$active:t.active,children:t.page},`button-${t.page}`)),m.dotsRight.display&&(0,r.jsx)(o.Rs,{$isMoreIcon:!0,children:(0,r.jsx)(n.A,{name:"mehr",size:10,
1color:a.A.black._60,noSpace:!0})}),m.arrowRight.display&&(0,r.jsx)(o.Rs,{children:(0,r.jsx)(o.B3,{onClick:()=>{e(m.arrowRight.page,l.N.right)},$disabled:m.arrowRight.disabled,children:(0,r.jsx)(n.A,{name:"chevron-right",size:13,noSpace:!0})})})]})}},54646:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>Q});var r=i(37876),n=i(14232),a=i(87059),o=i(85283),l=i(57041),s=i(92358),c=i(67135),d=i(5243),u=i(92075),g=i(89099),p=i.n(g);let h=["labelGeneralError","redownloadHeaderEbook","redownloadEbooksMainMessage","watchlistHit","myAccountNoSearchResult"];var y=i(91041),m=i(45898),f=i(5811),b=i(97227),x=i(29387),w=i(55327),A=i(87749),v=i(54041),k=i(39146),E=i(54807),j=i(9954),M=i(52534),N=i(47302),I=i(2730),P=i(84849),L=i(39310),S=i(69060),C=i(3294),$=i(63097),_=i(95329);let R=_.Ay.div.withConfig({displayName:"MyEbooksOverviewStyled",componentId:"sc-6fb5ba11-0"})(["position:relative;"]),T=_.Ay.span.withConfig({displayName:"H1SmallStyled",componentId:"sc-6fb5ba11-1"})(["font-size:24px;"]),B=_.Ay.p.withConfig({displayName:"DescriptionStyled",componentId:"sc-6fb5ba11-2"})(["margin-bottom:24px;"]),H=_.Ay.div.withConfig({displayName:"BackEndRowStyled",componentId:"sc-6fb5ba11-3"})(["width:100%;margin-bottom:25px;"]),D=_.Ay.div.withConfig({displayName:"LoadingContainerStyled",componentId:"sc-6fb5ba11-4"})(["display:flex;flex-direction:column;position:fixed;width:100%;height:100vh;z-index:10;top:0;left:0;background-color:rgba(0,0,0,0.2);"]),z=_.Ay.div.withConfig({displayName:"LoadingStyled",componentId:"sc-6fb5ba11-5"})(["display:flex;height:100%;"]),K=(0,f.PA)(({translations:e})=>{let t=(0,l.h1)(y.h),i=(0,l.h1)($.c),a=(0,l.h1)(S.z),s=(0,o.WD)(),[c,d]=(0,n.useState)([]),u=(0,n.useRef)(0);(0,n.useEffect)(()=>{let e=(0,m.mJ)(()=>t.lastUpdatefetchItems,()=>{d(t.productTiles),0===u.current&&(u.current=1)});return()=>{e()}},[]);let g=Array.from({length:t.currentNumberOfItems},(e,t)=>t+1);return(0,v.h)({products:c,listName:C.ww.DigitalLibrary,isLoaded:t.isLoadingItems,desktopBatchSize:3}),(0,r.jsxs)(R,{children:[i.isUploadLoading&&(0,r.jsx)(D,{children:(0,r.jsx)(z,{children:(0,r.jsx)(w.A,{})})}),(0,r.jsxs)("h1",{children:[e.redownloadHeaderEbook,(0,r.jsx)(T,{children:` (${t.totalResults}\u00A0${e.watchlistHit})`})]}),t.stateError&&(0,r.jsx)(H,{children:(0,r.jsx)(k.A,{dataCy:"myebooks-overview-infobox",type:x.a.ERROR,title:e.labelGeneralError,content:s(t.stateError.key)})}),0===t.totalResults&&!t.isLoadingItems&&(0,r.jsx)(A.Y,{className:"margin-b-15",children:e.myAccountNoSearchResult}),t.totalResults>0&&(0,r.jsx)(B,{children:e.redownloadEbooksMainMessage}),(0,r.jsxs)(I.Y,{productLayout:N.f9.verticalMedium,className:"product-list-wrapper",children:[t.isLoadingItems&&g.map(e=>(0,r.jsx)(M.A,{},(0,b.L)(`loading-tile-${e}`))),!t.isLoadingItems&&c&&c.map((e,t)=>(0,r.jsx)(P.A,{...e,context:L.Kz.MyEbooks,listName:C.ww.DigitalLibrary,ecomPosition:{index:t}},(0,b.L)(`tile-${t}`)))]}),t.numberSearchResults>0&&(0,r.jsx)(E.jD,{$right:t.totalResults<=t.currentNumberOfItems,children:(0,r.jsx)(E.Zc,{handleClick:(e,i)=>{i===j.N.left?a.pushShopEvent({eventCategory:C.Kp.MyExLibris,eventAction:C.ww.DigitalLibrary,eventLabel:"Meine E-Books | Paging zur\xfcck"}):i===j.N.right?a.pushShopEvent({eventCategory:C.Kp.MyExLibris,eventAction:C.ww.DigitalLibrary,eventLabel:"Meine E-Books | Paging weiter"}):a.pushShopEvent({eventCategory:C.Kp.MyExLibris,eventAction:C.ww.DigitalLibrary,eventLabel:`Meine E-Books | Paging ${e}`}),t.setFilterPageParam(e)},itemsTotal:t.totalResults,itemsByPage:t.currentNumberOfItems,currentPage:t.currentPage})})]})}),U=()=>{let e=(0,o.b0)(h),t=(0,l.h1)(y.h);return(0,n.useEffect)(()=>(t.handleRouteChange(),p().events.on("routeChangeComplete",t.handleRouteChange),()=>{p().events.off("routeChangeComplete",t.handleRouteChange)}),[]),(0,r.jsx)(K,{translations:e})};var O=i(93334),q=i(96542),G=i(49465),Z=i(6522),Y=i(8525);function F({asPath:e}){let t=(0,l.q7)("LocaleService").getLocale(),i=(0,o.KF)(),c=(0,o.b0)(["globalBreadcrumbsHome","breadcrumbMyaccountMeinExLibrisText","breadcrumbMyaccountDigitaleBibliothekText","breadcrumbMyaccountDigitaleBibliothekMeineEBooksText","redownloadHeaderEbook","metaKeywordMyaccountShort","metaKeywordMyaccount"]);(0,n.useEffect)(()=>{i([{Name:c.globalBreadcrumbsHome,Url:(0,s.H)({locale:t,route:"/"})},{Name:c.breadcrumbMyaccountMeinExLibrisText,Url:(0,s.H)({locale:t,route:"/myAccount"})},{Name:c.breadcrumbMyaccountDigitaleBibliothekText,Url:""},{Name:c.breadcrumbMyaccountDigitaleBibliothekMeineEBooksText,Url:(0,s.H)({locale:t,route:"/my-ebooks"})}])},[c.globalBreadcrumbsHome,c.breadcrumbMyaccountMeinExLibrisText,c.breadcrumbMyaccountDigitaleBibliothekText,c.breadcrumbMyaccountDigitaleBibliothekMeineEBooksText,t]);let d={staticNavType:q.Vm.account,configType:q.QB.static};return(0,r.jsx)(Y.A,{children:(0,r.jsxs)(Z.D,{className:"head-content",children:[(0,r.jsx)(a.A,{description:`${c.redownloadHeaderEbook} | ${c.metaKeywordMyaccount}`,keywords:"",title:`${c.redownloadHeaderEbook} | ${c.metaKeywordMyaccountShort}`,canonicalUrl:e,robots:!0}),(0,r.jsx)("aside",{children:(0,r.jsx)(O.A,{path:e,config:d})}),(0,r.jsx)(U,{})]})})}
1F.getInitialProps=async({asPath:e,dependencyResolver:t})=>{let i=t.getService("ContentService"),r=t.getServiceNext("NavService");return i.setShowDisneyCoupon(!0),r.setPageType(G.C.MyExlibris),{asPath:e}},F.layout=u.A;let Q=(0,c.A)((0,d.E)(F))},54807:(e,t,i)=>{"use strict";i.d(t,{B3:()=>o.B3,Eq:()=>o.Eq,Rs:()=>o.Rs,Zc:()=>s,jD:()=>l});var r=i(95329),n=i(59873),a=i(54541),o=i(59617);let l=r.Ay.div.withConfig({displayName:"RowPaginationtyled",componentId:"sc-96d90920-0"})(["display:flex;flex-wrap:wrap;justify-content:",";"],({$right:e})=>e?"flex-end":"space-between"),s=(0,r.Ay)(a.o).withConfig({displayName:"PagePaginationStyled",componentId:"sc-96d90920-1"})(["margin-bottom:13px;",""],(0,n.Ay)("md")((0,r.AH)(["margin-bottom:7px;"])))},59617:(e,t,i)=>{"use strict";i.d(t,{Ak:()=>g,B3:()=>p,Eq:()=>s,Rs:()=>c});var r=i(95329),n=i(83592),a=i(59873),o=i(22558),l=i(4940);let s=r.Ay.ul.withConfig({displayName:"PaginationStyled",componentId:"sc-6578cd6e-0"})(["display:flex;align-items:center;margin:0 -5px;",""],(0,a.Ay)("sm")((0,r.AH)(["margin:0 -3px;"]))),c=r.Ay.li.withConfig({displayName:"LiStyled",componentId:"sc-6578cd6e-1"})(["&&&{display:flex;align-items:center;justify-content:center;min-width:30px;padding:0;margin:0;list-style:none;","}"],({$isMoreIcon:e,$isShowBothIcon:t})=>e&&(0,r.AH)(["",""],(0,a.Ay)("xs","xs")((0,r.AH)(["min-width:",";"],t?"calc((100% - 300px) / 2)":"calc(100% - 300px)")))),d="38px",u="40px",g=(0,r.Ay)(n.Ay).withConfig({displayName:"ButtonStyled",componentId:"sc-6578cd6e-2"})(["&&&{display:flex;align-items:center;justify-content:center;width:",";height:",";margin:0 5px;padding:0;line-height:",";border:2px solid ",";color:",";font-family:",";font-size:",";text-decoration:none;"," svg{fill:",";}&:hover{color:",";cursor:pointer;svg{fill:",";}}"," ","}"],u,u,u,o.A.black._10,o.A.black._40,l.Gc.Exlibris,l.s.large.xs,(0,a.Ay)("md")((0,r.AH)(["width:",";height:",";line-height:",";margin:0 3px;"],d,d,d)),o.A.black._40,o.A.black._,o.A.black._,({active:e})=>e&&(0,r.AH)(["background:",";border:2px solid ",";color:",";svg{fill:",";}"],({theme:e})=>e.colors.secondary,({theme:e})=>e.colors.secondary,o.A.black._,o.A.black._),({disabled:e})=>e&&"pointer-events: none;"),p=r.Ay.a.withConfig({displayName:"AnchorStyled",componentId:"sc-6578cd6e-3"})(["&&&{display:flex;align-items:center;justify-content:center;width:",";height:",";margin:0 5px;padding-bottom:0;line-height:",";border:2px solid ",";color:",";font-family:",";font-size:",";text-decoration:none;"," svg{fill:",";}&:hover{color:",";cursor:pointer;svg{fill:",";}}"," ","}"],u,u,u,o.A.black._10,o.A.black._40,l.Gc.Exlibris,l.s.large.xs,(0,a.Ay)("md")((0,r.AH)(["width:",";height:",";line-height:",";margin:0 3px;"],d,d,d)),o.A.black._40,o.A.black._,o.A.black._,({$active:e})=>e&&(0,r.AH)(["background:",";border:2px solid ",";color:",";svg{fill:",";}"],({theme:e})=>e.colors.secondary,({theme:e})=>e.colors.secondary,o.A.black._,o.A.black._),({$disabled:e})=>e&&"pointer-events: none;")},67135:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var r=i(37876),n=i(89099),a=i(14232),o=i(54890),l=i(57455),s=i(28474),c=i(54014),d=i(92358),u=i(75466),g=i(41588);function p(e){let{NEXT_PUBLIC_CUSTOMER_CENTER:t}=l.clientEnvs,i=t=>{var i,l;let{route:s}=(0,n.useRouter)(),d=(i=(0,o.NK)(),l=s,i&&"/customer-center-password"!==l?{route:"/cc-password",locale:"de"}:i||"/customer-center-password"!==l?null:{route:"/cc-search",locale:"de"});return((0,a.useEffect)(()=>{d&&(0,c.V)(d)},[d]),d)?null:(0,r.jsx)(e,{...t})};return i.getInitialProps=async i=>{let r=!1,n=i.serviceManager.get(u.c),a=g.M.create(n).get();if(a){let{sessionCookie:e,partnerId:t,cid:n,userType:o,showSRFOrderFlag:l,adminUserInfo:s,useSRFOrder:c}=a;if(e&&t&&n&&o&&null!==l&&s){let{setAdminCookieIds:a,setAdminUser:d,setUseSRFOrder:u}=i.store.adminUserStore;u(c),a(e,t,n,o,l,s),d(s),r=!0}}if(!r&&t)throw new s.dZ((0,d.H)({route:"/cc-login",locale:"de"}),302);return e.getInitialProps?.(i)??{}},i.layout=e.layout,i}},87749:(e,t,i)=>{"use strict";i.d(t,{Y:()=>l});var r=i(95329),n=i(59873),a=i(22558),o=i(4940);let l=r.Ay.div.withConfig({displayName:"AdviceBox",componentId:"sc-dee21dc2-0"})(["font-family:",";font-size:14px;color:",";line-height:20px;background-color:",";padding:10px 15px;a:hover{text-decoration:none;}a{color:inherit;}"," &.margin-b-15{margin-bottom:15px;}&.margin-t-15{margin-top:15px;}"],o.Gc.Arial,a.A.black._,a.A.black._20,(0,n.Ay)("md")((0,r.AH)(["line-height:18px;"])))},93334:(e,t,i)=>{"use strict";i.d(t,{A:()=>r.A});var r=i(69552)}},e=>{e.O(0,[1234,9240,2730,3097,636,6593,8792],()=>e(e.s=12068)),_N_E=e.O()}]);
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.