PageSourceSearch

https://www.booksellers.ca/_next/static/chunks/3490-31efd559791a7c79.js

js booksellers.ca collected 2026-09-26 08:47:44 UTC 9,274 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]="fd4de845-69a5-4adb-86f9-c549e29c09c8",e._sentryDebugIdIdentifier="sentry-dbid-fd4de845-69a5-4adb-86f9-c549e29c09c8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3490],{1917:(e,a,t)=>{t.d(a,{A:()=>w});var l=t(37876),i=t(14232),s=t(54587),r=t.n(s),n=t(27888),c=t(87109),d=t(52190),o=t(2093);t(30346),t(18058),t(9572);var u=t(23477),h=t(75975),m=t(21468);let p={src:"/_next/static/media/placeholder-article.d7b1fa22.png"};var x=t(12212),g=t(18725),v=t(37908);let j=e=>{let{t:a}=(0,x.B)();return(0,l.jsx)("article",{className:"article article--summary",children:(0,l.jsxs)("div",{className:"article__inner",children:[(0,l.jsx)("div",{className:"article__image",children:null!==e.article.permalink?(0,l.jsx)("a",{className:"d-inline-block",target:"_blank",href:e.article.permalink,rel:"noreferrer",children:(0,l.jsx)(v.A,{src:null!==e.article.image_url?e.article.image_url:p.src,className:"d-block w-100 h-auto",alt:e.article.title})}):(0,l.jsx)(v.A,{src:null!==e.article.image_url?e.article.image_url:p.src,className:"d-block w-100 h-auto",alt:e.article.title})}),(0,l.jsxs)("header",{className:"article__header",children:[null!==e.article.permalink?(0,l.jsx)("a",{target:"_blank",href:e.article.permalink,rel:"noreferrer",className:"link link--c-forest",children:(0,l.jsx)("h3",{className:"article__title headline headline--sub",children:e.article.title})}):(0,l.jsx)("h3",{className:"article__title headline headline--sub",children:e.article.title}),(0,l.jsxs)("div",{className:`article__metas ${null===e.article.author&&"no-author"}`,children:[null!==e.article.author&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("address",{className:"author",children:[a("articles.by"),"\xa0",(0,l.jsx)("strong",{rel:"author",children:e.article.author}),"\xa0"]})}),a("articles.published"),"\xa0",(0,l.jsx)("time",{pubdate:"pubdate",dateTime:e.article.published_date,children:a("utils.date_long",{date:new Date(e.article.published_date)})})]})]}),(0,l.jsxs)("div",{className:"article__content",children:[(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:e.article.content}}),null!==e.article.permalink&&(0,l.jsx)("div",{className:"article__actions mt-3",children:(0,l.jsx)(g.A,{link:e.article.permalink,external:!0,className:"btn--raised btn--raised--tomato btn--small",children:a("articles.buttons.read")})})]})]})})};var _=t(51161),b=t(16142);let f=e=>{let{t:a}=(0,x.B)(),t=e.article,i=null;null!==t.image_url&&void 0!==t.image_url&&t.image_url.length>0&&(i=(0,l.jsx)(v.A,{alt:t.title??"",src:t.image_url}));let s=[];return t&&t.location&&(t.location.city&&s.push((0,b.iT)(t.location.city)),!e.isSubdomain&&t.location.name&&s.push((0,b.iT)(t.location.name))),(0,l.jsxs)("article",{className:"eventcard",children:[(0,l.jsx)("div",{className:"eventcard__img",children:i}),(0,l.jsxs)("div",{className:"eventcard__content p-4",children:[t.categories&&t.categories.length>0&&(0,l.jsx)("a",{className:"eventcard__content__cat",href:t.categories[0].url,children:t.categories[0].name}),(0,l.jsx)(_.A,{content:t.title,as:"h3",className:"eventcard__content_title headline headline--block mb-2 mt-1"}),(0,l.jsxs)("p",{children:[s.length>0?(0,l.jsxs)(l.Fragment,{children:[a.rich("events.where",{locations:s.join(", "),bold:e=>(0,l.jsx)("strong",{children:e})}),(0,l.jsx)("br",{})]}):null,a.rich("events.when",{date:new Date(t.start_date),bold:e=>(0,l.jsx)("strong",{children:e})})]}),t.summary&&t.summary.length>300?(0,l.jsx)(_.A,{content:(0,b.xv)(t.summary,298,{append:"…"}),as:"p"}):(0,l.jsx)(_.A,{content:t.summary,as:"p"}),(0,l.jsxs)("div",{className:"eventcard__content__actions",children:[t.permalink&&(0,l.jsxs)("a",{href:t.permalink,"aria-label":a("events.moreinfos"),className:"link link--icon",target:"_blank",children:[(0,l.jsx)(m.A,{value:"external"}),a("events.moreinfos")]}),t.event_url&&(0,l.jsxs)("a",{href:t.event_url,"aria-label":a("events.reserve"),className:"link link--icon",target:"_blank",rel:"noreferrer",children:[(0,l.jsx)(m.A,{value:"external"}),a("events.reserve")]})]})]})]})};var N=t(45625);let w=e=>{let{isRevueEnabled:a}=(0,N.n)(),t=(0,i.useRef)(null),s=(0,i.useRef)(null),p=(0,i.useRef)(null),[x,g]=(0,i.useState)(!1);if(!a)return null;let v=e.unique,_=[];if(e.articles.length)for(let a=0;a<e.articles.length;
1a++)_.push((0,l.jsx)(n.qr,{tag:"li",children:"events"===e.type?(0,l.jsx)(f,{article:e.articles[a],isSubdomain:e.isSubdomain}):(0,l.jsx)(j,{article:e.articles[a]})},`slide-${a}`));let b={1200:{slidesPerView:3,spaceBetween:36,a11y:!1},769:{slidesPerView:2,spaceBetween:20,a11y:!1}};return"events"===e.type&&(b={1200:{slidesPerView:4,spaceBetween:36,a11y:!1},992:{slidesPerView:3,spaceBetween:20,a11y:!1},769:{slidesPerView:2,spaceBetween:20,a11y:!1}}),(0,l.jsxs)("div",{className:`articles__slider slider swiper-container ${"events"===e.type?"articles__slider--events":""}`,ref:p,children:[(0,l.jsx)(n.RC,{onInit:e=>{if(!e.navigation||!t.current||!s.current)return void console.warn("[Slider] Navigation init failed",{unique:v});e.params.navigation.prevEl=t.current,e.params.navigation.nextEl=s.current,e.navigation.init(),e.navigation.update()},allowTouchMove:!0,modules:[c.Vx,c.dK,c.Jq],spaceBetween:10,slidesPerView:1,simulateTouch:!1,pagination:{clickable:!0},navigation:{nextEl:`.swiper-button--next.${v}`,prevEl:`.swiper-button--prev.${v}`},grabCursor:!0,watchSlidesProgress:!0,speed:300,threshold:15,touchRatio:.5,touchStartPreventDefault:!1,touchMoveStopPropagation:!0,onSliderMove:()=>{p.current&&p.current.classList.add("swiping")},onTouchEnd:()=>{setTimeout(()=>{p.current&&p.current.classList.remove("swiping")},300)},shortSwipes:!1,loop:!1,wrapperTag:"ol",breakpoints:b,onReachEnd:()=>g(!0),onNavigationPrev:()=>{x&&g(!1)},children:_}),(0,l.jsxs)("div",{ref:t,className:`swiper-button swiper-button--prev ${v} ${"events"!==e.type?"d-none":""}`,children:[(0,l.jsx)(u.A,{children:"Prev"}),(0,l.jsx)(m.A,{value:"arrow-left"})]}),(0,l.jsxs)("div",{ref:s,className:`swiper-button swiper-button--next ${v}`,children:[(0,l.jsx)(u.A,{children:"Next"}),(0,l.jsx)(m.A,{value:"arrow-right"})]}),e.goToOnReachEnd&&(0,l.jsxs)(h.A,{href:e.goToOnReachEnd,className:`swiper-button swiper-button--next ${x?"d-block":"d-none"}`,title:"Voir plus",target:0===e.goToOnReachEnd.indexOf("https://")?"blank":void 0,children:[(0,l.jsx)(r(),{src:d.A,alt:"",className:"d-none d-sm-block"}),(0,l.jsx)(r(),{src:o.A,alt:"",className:"d-block d-sm-none"})]})]})}},2891:(e,a,t)=>{t.d(a,{A:()=>d,j:()=>c});
1var l=t(37876);t(14232);var i=t(12212),s=t(58672),r=t(85690),n=t(75975);let c=e=>(e?.length??0)>0,d=e=>{let{t:a}=(0,i.B)();if(!c(e.data))return null;let t=!1!==e.addOrganization&&void 0!==e.addOrganization;return(0,l.jsx)("section",{className:"section section--pt-40 section--pb-20",children:e.sliderOnly?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"container container--full ",children:[(0,l.jsx)("h2",{className:"headline headline--section a-center headline--margin--30",dangerouslySetInnerHTML:{__html:e.customDescription}}),(0,l.jsx)(r.A,{data:e.data,type:"craques",isNumeroted:!1,loading:e.loading,autoplay:!1,unique:"slider-craques",adNum:e.adNum,adSection:"craques",priority:e.priority})]})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"container",style:{maxWidth:"960px"},children:null!==e.data.data&&(0,l.jsx)(n.A,{href:`/${a("routes.craques")}`,className:"link--c-forest",children:(0,l.jsx)("h2",{className:`headline headline--section a-center ${t?"headline--margin--20":"headline--margin--30"}`,dangerouslySetInnerHTML:{__html:a("tamispage.livredicislider")}})})}),(0,l.jsx)("div",{className:"container container--full container--nopadd",children:(0,l.jsxs)("div",{className:"slider-w-cta",children:[(0,l.jsx)(s.A,{bgColor:"#F58956",textColor:"#003324",libChoice:!0,type:"craques",loading:e.loading,link:`/${a("routes.craques")}`,text:a("tamispage.listtext"),section:a("tamispage.livredicislider")}),(0,l.jsx)(r.A,{data:e.data,type:"craques",isNumeroted:!1,loading:e.loading,autoplay:!1,unique:"slider-craques",goToOnReachEnd:`/${a("routes.craques")}`,adNum:e.adNum,adSection:a("routes.craques").split("/").filter(Boolean).pop(),priority:e.priority})]})})]})})}},44588:(e,a,t)=>{t.d(a,{A:()=>o});var l=t(37876),i=t(14232),s=t(12212),r=t(75975),n=t(45625),c=t(25117),d=t(1917);let o=e=>{let{events:a}=e,{t}=(0,s.B)(),{isRevueEnabled:o}=(0,n.n)(),{subdomain:u,organization:h}=(0,c.Z)(),m=(0,i.useMemo)(()=>null!==u,[u]),p=(0,i.useMemo)(()=>{let e="https://revue.leslibraires.ca/evenements/liste/";return m&&h&&h.id&&(e=`${e}?tribe_filterbar_organization_id=${h.id}`),e},[m,h]);return o&&a&&0!==a.length?(0,l.jsx)("section",{className:"related-events articles section section--pt-60",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(r.A,{href:p,className:"link--c-forest",target:"blank",children:(0,l.jsx)("h2",{className:"headline headline--section headline--weight--bold text-center headline--margin--30",children:t("utils.upcomingevents")})}),(0,l.jsx)(d.A,{articles:a,unique:"events-articles-slider",type:"events",isSubdomain:m,goToOnReachEnd:p})]})}):null}}}]);

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.