PageSourceSearch

https://www.booksellers.ca/_next/static/chunks/1548-0755d618be21067f.js

js booksellers.ca collected 2026-09-26 08:47:43 UTC 9,357 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="45688cc8-f75f-48e9-b2c9-3a5bdae60f4d",e._sentryDebugIdIdentifier="sentry-dbid-45688cc8-f75f-48e9-b2c9-3a5bdae60f4d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1548],{25786:(e,a,t)=>{t.d(a,{A:()=>r});var l=t(14232),i=t(56372),n=t(80998),s=t(86216),d=t(12212);let r=e=>{let{locale:a,t}=(0,d.B)();return(0,l.useMemo)(()=>{let l=(0,n.bT)(e?.slug,a);return{id:e?.id??null,isSponsored:(0,i.XL)(e),title:(0,i.yR)(e,a),editorialTitle:(0,i.x2)(e,a),tagline:(0,n.bT)(e?.data?.tagline,a),description:(0,n.bT)(e?.data?.description,a),slug:l,link:(0,s.e2)(l,t("routes.theme")),analyticsName:(0,i.VN)(e,a)}},[e,a,t])}},40667:(e,a,t)=>{t.d(a,{A:()=>b});var l=t(37876),i=t(14232),n=t(56372),s=t(3789),d=t(25786),r=t(85270),o=t(12212),c=t(63211),h=t(58672),u=t(75975),m=t(51161),x=t(85690);let b=(0,i.memo)(e=>{let{locale:a,t}=(0,o.B)(),b=e.data,{editorialTitle:g,isSponsored:j,link:f,slug:v,title:N}=(0,d.A)(b),{ref:_,trackListClick:p,trackProductClick:k}=(0,r.A)({list:b,creativeSlot:e.creativeSlot}),y=b.items.data,A=(0,i.useMemo)(()=>1===b.numbered&&y.length>0,[b.numbered,y.length]),C=(0,i.useMemo)(()=>A?y.sort((e,a)=>e.product_sort_order-a.product_sort_order):y,[y,A]),w=!1!==e.addOrganization&&void 0!==e.addOrganization,F=e.type||null,z=e.allItemsLink||f,O=(0,s.YT)(a);return(0,n.$R)(b)&&(0,l.jsxs)("section",{ref:_,className:"section section--pt-40 section--pb-20",children:[(0,l.jsx)("div",{className:"container",style:{maxWidth:"960px"},children:(0,l.jsxs)("hgroup",{children:[g&&(0,l.jsx)("h2",{className:`headline headline--section a-center ${w?"headline--margin--20":"headline--margin--30"}`,children:(0,l.jsx)(u.A,{href:z,className:"link--c-forest",onClick:p,children:(0,l.jsx)(m.A,{content:g})})}),w&&(0,l.jsxs)("p",{className:"headline headline--block headline--weight--smbold a-center",children:[t("thematic.bybookstore"),(0,l.jsxs)("span",{className:"span--c-tomato",children:["\xa0",e.addOrganization?.organization?.subdomain&&""!==e.addOrganization.organization.subdomain?(0,l.jsx)(u.A,{href:`https://${e.addOrganization.organization.subdomain}.${O}`,children:e.addOrganization.organization.name}):e.addOrganization.organization.name]})]})]})}),(0,l.jsxs)("div",{className:"container container--full container--nopadd",children:[j&&(0,l.jsx)(c.A,{className:"slider-w-cta__mention"}),(0,l.jsxs)("div",{className:"slider-w-cta",children:[b.data&&(0,l.jsx)(h.A,{bgColor:b?.data?.color_background??"#ff9868",textColor:b?.data?.color_text??"#003324",libChoice:!1,type:"standard",loading:e.loading,link:z,onClick:p,text:e.ctaText||null,section:N}),(0,l.jsx)(x.A,{data:C,type:F,isNumeroted:A,loading:e.loading,autoplay:!1,unique:`slider-${b.id}`,goToOnReachEnd:e.allItemsLink||v,onGoToClick:p,onProductClick:k,priority:e.priority,adNum:e.adNum,adSection:z.split("/").filter(Boolean).pop()})]})]})]})})},40878:(e,a,t)=>{t.d(a,{A:()=>s,v:()=>n});var l=t(37876),i=t(37908);let n=e=>!!e?.image,s=e=>{let{data:a,priority:t=!1}=e,s=a.image,d=a.image_link;if(!n(a))return null;let r=(0,l.jsx)(i.A,{alt:"",src:s,priority:t});return(0,l.jsx)("div",{className:"page-img mt-4 mt-lg-5",children:(0,l.jsx)("div",{className:"container",children:d&&""!==d?(0,l.jsx)("a",{className:"d-flex justify-content-center",href:d,children:r}):r})})}},54292:(e,a,t)=>{t.d(a,{A:()=>i});var l=t(37876);t(14232);let i=e=>{let{data:a}=e,t=a.button_link,i=a.button_text,n=a.title,s=a.content;return(0,l.jsx)("div",{className:"page-content mt-4 mt-lg-5 mb-4 mb-lg-5",children:(0,l.jsxs)("div",{className:"container text-center",style:{maxWidth:"900px"},children:[n&&""!==n?(0,l.jsx)("h2",{className:"headline headline--section",children:n}):"",s&&""!==s?(0,l.jsx)("p",{children:s}):"",t&&""!==t?(0,l.jsx)("div",{children:(0,l.jsx)("a",{href:t,className:"btn btn--raised btn--raised--tomato",children:i})}):""]})})}},58672:(e,a,t)=>{t.d(a,{A:()=>h});var l=t(37876),i=t(14232),n=t(96010);t(93858);var s=t(2847),d=t(12212),r=t(21468),o=t(75975),c=t(31759);let h=(0,i.memo)(e=>{let{bgColor:a,textColor:t,libChoice:h,link:u,loading:m,onClick:x,text:b,section:g}=e,{t:j}=(0,d.B)(),f=(0,i.useCallback)(e=>{x?.(e),(0,s.YJ)(document.querySelector(".header"))},[x]);if(m)return(0,l.jsx)("div",{className:"ctazone",role:"status","aria-busy":"true",children:(0,l.jsx)(n.A,{count:1,duration:2,height:400,baseColor:"#FFF5F0"})});let v={className:`ctazone${h?" ctazone--craques":""}`,style:{background:a},"aria-label":g?j("utils.viewselection",{section:g}):j("utils.placeholdertext")},N=(0,l.jsxs)(l.Fragment,{children:[h&&(0,l.jsx)("div",{className:"ctazone__libchoice",children:(0,l.jsx)(c.A,{iconOnly:!0})}),(0,l.jsx)("div",{className:"ctazone__text",children:(0,l.jsx)("p",{className:"headline headline--block",style:{color:t},children:b||j("utils.placeholdertext")})}),u&&(0,l.jsx)("span",{className:"arrow-icon","aria-hidden":"true",children:(0,l.jsx)(r.A,{value:"chevron-right"})})]});return u?(0,l.jsx)(o.A,{href:u,onClick:f,...v,children:N}):(0,l.jsx)("div",{role:"region",...v,children:N})})},78570:(e,a,t)=>{t.d(a,{A:()=>x});
1var l=t(37876),i=t(14232),n=t(96010);t(93858);var s=t(2847),d=t(25786),r=t(85270),o=t(12212),c=t(63211),h=t(18725),u=t(51161),m=t(85690);let x=e=>{let{t:a,locale:t}=(0,o.B)(),{isSponsored:x,link:b,editorialTitle:g,tagline:j,description:f}=(0,d.A)(e.data),{ref:v,trackListClick:N,trackProductClick:_}=(0,r.A)({list:e.data,creativeSlot:e.creativeSlot}),p=(0,i.useCallback)(()=>{N(),(0,s.YJ)(document.querySelector(".header"))},[N]),k=e.data?.data?.color_background??"#003324",y=e.data?.data?.color_text??"#ffffff";return(0,l.jsxs)(l.Fragment,{children:[x&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 col-md-12 col-lg-5 featuredblock__left",children:(0,l.jsx)("div",{className:"featuredblock__content",children:(0,l.jsx)(c.A,{})})})})}),(0,l.jsx)("div",{ref:v,className:"featuredblock",style:{backgroundColor:k,color:y},children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"row d-flex flex-column flex-md-row",children:[(0,l.jsx)("div",{className:"col-12 col-md-12 col-lg-5 featuredblock__left mb-4",children:e.loading?(0,l.jsxs)("div",{className:"d-flex align-items-center flex-column",style:{maxWidth:"400px"},children:[(0,l.jsx)(n.A,{count:1,duration:2,height:40,baseColor:"#FFF5F0"}),(0,l.jsx)(n.A,{count:1,duration:2,height:120,baseColor:"#FFF5F0"}),(0,l.jsx)(n.A,{count:1,duration:2,height:100,baseColor:"#FFF5F0"}),(0,l.jsx)(n.A,{count:2,duration:2,height:60,baseColor:"#FFF5F0"})]}):(0,l.jsxs)("div",{className:"featuredblock__content",children:[j&&(0,l.jsx)("h3",{className:"headline headline--block headline--margin--10",children:j}),g&&(0,l.jsx)("h2",{className:"headline headline--section",children:g}),(0,l.jsx)(u.A,{content:f,className:"text-normalizer",as:"div"}),(0,l.jsxs)("div",{className:"featuredblock__content__actions",children:[(0,l.jsx)("div",{className:"mb-3",children:(0,l.jsx)(h.A,{className:"btn btn--raised btn--raised--white",link:b,withArrow:!0,placement:"right",onClick:p,children:e.data.data.primary_button&&void 0!==e.data.data.primary_button[t]&&null!==e.data.data.primary_button[t]?e.data.data.primary_button[t]:a("utils.seethetheme")})}),(0,l.jsx)("div",{children:e.data.data.secondary_button_link?.[t]&&(0,l.jsx)(h.A,{className:"btn btn--outline btn--outline--forestlight",link:`${e.data.data.secondary_button_link[t]}`,withArrow:!0,external:!0,placement:"right",children:e.data.data.secondary_button&&void 0!==e.data.data.secondary_button[t]&&null!==e.data.data.secondary_button[t]?e.data.data.secondary_button_link[t]:""})})]})]})}),(0,l.jsx)("div",{className:"col-md-12 col-lg-7 d-lg-block featuredblock__right",children:(0,l.jsx)("div",{className:"row d-flex justify-content-center ",children:(0,l.jsx)("div",{className:"position-relative",children:(0,l.jsx)(m.A,{data:e.data.items.data,loading:e.loading,autoplay:!0,unique:`slider-${e.data.id}`,onProductClick:_,priority:e.priority,slidesBySteps:[3,3,3,2],hideArrow:!0})})})})]})})})]})}},78891:(e,a,t)=>{t.d(a,{A:()=>i});var l=t(37876);t(14232);let i=e=>{let{data:a}=e;return null===a.title||a&&""===a.title?"":(0,l.jsx)("div",{className:"page-title mt-4 mt-lg-5",children:(0,l.jsx)("div",{className:"container text-center",children:(0,l.jsx)("h2",{className:"headline headline--section",children:a.title})})})}},85270:(e,a,t)=>{t.d(a,{A:()=>c});
1var l=t(14232),i=t(89099),n=t(16095),s=t(21356),d=t(1648),r=t(74619),o=t(12212);let c=e=>{let{list:a,creativeSlot:t}=e,{locale:c,t:h}=(0,o.B)(),{isAuthenticated:u,isLoading:m}=(0,s.A)(),{isInstitutional:x}=(0,d.A)(),{asPath:b}=(0,i.useRouter)()??{},g=(0,l.useRef)(null),j=(0,r.A)(g,{once:!0}),f=(0,l.useRef)(null),v=(0,n.oV)(u,x),N=(0,l.useMemo)(()=>({list:a,locale:c,creativeSlot:t,locationId:b?.split("?")[0]??"",clientType:v}),[a,c,t,b,v]);return(0,l.useEffect)(()=>{j&&a&&!m&&t&&f.current!==a.id&&(f.current=a.id,(0,n.Kl)(n.bk.VIEW_PROMOTION,N))},[j,a,m,t,N]),{ref:g,trackListClick:(0,l.useCallback)(()=>{t&&(0,n.Kl)(n.bk.SELECT_PROMOTION,N)},[t,N]),trackProductClick:(0,l.useCallback)(e=>{(0,n.ow)({product:e,list:a,locale:c,t:h,clientType:v})},[a,c,h,v])}}}}]);

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.