1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{7995:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var n=r(95155),a=r(3472),o=r.n(a),i=r(12115),s=r(40511),l=r(61056),c=r.n(l),d=r(73682);function u(e){var t,r;let{data:a,slug:l}=e,u=(0,s.K)(),_=(0,s.C)(),{backdrop:p,closeBtn:f,iconClose:m,popupInner:E,popup:h}=c(),w="aleteia_popup_".concat(l),I=void 0!==_(w),[g,v]=(0,i.useState)(!I),N=null==a||null==(r=a.popupCampaign)||null==(t=r.aleteiaPopups)?void 0:t.nodes,[C,b]=(0,i.useState)();return((0,i.useEffect)(()=>{var e;let t=o()(N);b(null!=(e=null==t?void 0:t.content)?e:null)},[N]),!C||!g||_("lent2025"))?null:(0,n.jsx)("div",{className:p,children:(0,n.jsx)("div",{className:h,children:(0,n.jsxs)("div",{className:E,children:[(0,n.jsx)("div",{"data-testid":"aleteia-popup-close-btn",className:f,onClick:()=>{u(w,"true",1),v(!1)},children:(0,n.jsx)(d.A,{className:m})}),(0,n.jsx)("div",{className:c().textWrapper,dangerouslySetInnerHTML:{__html:C}})]})})})}},10579:(e,t,r)=>{"use strict";r.d(t,{f:()=>n});var n=function(e){return e.SIGN_IN_CTA="sign_in_cta",e.SUBSCRIPTION_CTA="subscription_cta",e.SELECT_EDITION="select_edition",e.SELECT_SECTION="select_section",e.SELECT_SERVICE="select_service",e.MOST_READ_SLIDER="most_read_slider",e.OPEN_MINDS_SLIDER="open_minds_slider",e.HOMEPAGE_RECIRCULATION="homepage_recirculation",e.INTENTION_PUBLISH="intention_publish",e.SUBSCRIPTION_CONFIRMATION="subscription_confirmation",e.PAGE_VIEW="page_view",e.SLIDESHOW_VIEW="slideshow_view",e.VIEW_PROMOTION="view_promotion",e.SEARCH="search",e.CLOSE_PROMOTION="close_promotion",e.SELECT_PROMOTION="select_promotion",e.OUTBOUND_CLICK_SOCIAL="outbound_click_social",e.PRAYER_INTENTIONS="prayer_intentions",e.POPUP_IMPRESSION="popup_impression",e.POPUP_CLOSE="popup_close",e.POPUP_CLICK="popup_click",e.CONTENT_READ_COMPLETE="content_read_complete",e.CONTENT_SHARE="content_share",e.VIDEO_PLAY="video_play",e.VIDEO_COMPLETE="video_complete",e.SCROLL_DEPTH="scroll_depth",e.COMMENT_STARTED="comment_started",e.COMMENT_SUBMIT="comment_submit",e.PRAYERINTENTION_PRAY="prayerintention_pray",e.PRAYERINTENTION_START="prayerintention_start",e.PRAYERINTENTION_SUBMIT="prayerintention_submit",e.LINK_CLICK="link_click",e.OUTBOUND_CLICK="outbound_click",e.INTERNAL_CLICK="internal_click",e.SHARE_CLICK="share_click",e.SEARCHBAR_USE="searchbar_use",e.WEB_PUSH_SUBSCRIPTION="web_push_subscription",e.WEB_PUSH_UNSUBSCRIPTION="web_push_unsubscription",e.WEB_PUSH_CLICK="web_push_click",e.SIGNUP_START="signup_start",e.SIGNUP_COMPLETE="signup_complete",e.SIGN_IN_COMPLETE="sign_in_complete",e.NEWSLETTER_STARTED="newsletter_started",e.NEWSLETTER_COMPLETE="newsletter_complete",e.EDITIONSWITCH="editionswitch",e.SEARCHFILTER_APPLY="searchfilter_apply",e.DONATE_BANNER_CLICK="donate_banner_click",e.DONATE_BANNER_VIEW="donate_banner_view",e.CLICK_LOCATION="click_location",e.CMP_CONSENT="cmp_consent",e.CMP_NO_CONSENT="cmp_no_consent",e.CMP_NO_CHOICE="cmp_no_choice",e}({})},21480:e=>{e.exports={overlay:"CustomInterstitial_overlay__wMRld",fadeIn:"CustomInterstitial_fadeIn__5573O",container:"CustomInterstitial_container__YXmrh",closeButton:"CustomInterstitial_closeButton___Zqzh",loadingText:"CustomInterstitial_loadingText__cikvg",adContainer:"CustomInterstitial_adContainer__OsLan",fallbackMessage:"CustomInterstitial_fallbackMessage__gHEz7"}},23299:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var n=r(95155),a=r(12115),o=r(37929);function i(){let e=(0,o.C)(e=>e.toast),[t,r]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{if(!e)return;r(!0);let t=setTimeout(()=>r(!1),4e3);return()=>clearTimeout(t)},[e]),e)?(0,n.jsx)("div",{role:"status","aria-live":"polite",onClick:()=>r(!1),className:"fixed inset-0 z-[10000] flex cursor-pointer items-center justify-center bg-black/20 backdrop-blur-[3px] transition-opacity duration-300 ".concat(t?"opacity-100":"pointer-events-none opacity-0"),children:(0,n.jsx)("div",{className:"mx-4 flex max-w-[30rem] flex-col items-center justify-center gap-4 roun
1ded-[1.25rem] bg-blue-500 px-10 py-8 text-center text-xl font-semibold leading-[1.4] text-white shadow-[0_8px_30px_rgba(0,0,0,0.35)]",children:e.message})}):null}},25016:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var n=r(2821),a=r(75889);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,n.$)(t))}},27188:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var n=r(12115),a=r(87021),o=r(73229);let i=["facebook.com","fb.com","fb.me","messenger.com","twitter.com","x.com","t.co","linkedin.com","lnkd.in","instagram.com","threads.net","youtube.com","youtu.be","tiktok.com","whatsapp.com","wa.me","telegram.me","t.me","reddit.com","flipboard.com"],s=/(^|\.)pinterest\.[a-z]{2,}(\.[a-z]{2,})?$/;function l(e){let{locale:t}=e;return(0,n.useEffect)(()=>{let e=(0,o.Hm)({locale:t,href:"/external-redirect"}),r=t=>{var r;if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||(0,a.f)())return;let n=null==(r=t.target)?void 0:r.closest("a");if(!n||!function(e){var t,r;let n=e.href;if(!n||!function(e){try{let t=new URL(e,window.location.origin);if("http:"!==t.protocol&&"https:"!==t.protocol||"localhost"===t.hostname||t.hostname.endsWith("aleteia.org"))return!1;return t.origin!==window.location.origin}catch(e){return!1}}(n)||(null==(t=e.pathname)?void 0:t.includes("/external-redirect"))||e.closest("[data-skip-interstitial]"))return!1;try{if(r=new URL(n,window.location.origin).hostname,i.some(e=>r===e||r.endsWith(".".concat(e)))||s.test(r))return!1}catch(e){return!1}return!0}(n))return;let o="".concat(e,"?to=").concat(encodeURIComponent(n.href));if("_blank"===n.target){t.preventDefault(),window.open(o,"_blank","noopener,noreferrer");return}t.preventDefault(),window.location.assign(o)};return document.addEventListener("click",r,{capture:!0}),()=>document.removeEventListener("click",r,{capture:!0})},[t]),null}},29503:()=>{},37929:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(60013);let a=(0,r(95988).vt)()(e=>({topTenOpened:!1,registrationStep:"",topRibbonHeight:0,showShareBar:!1,endOfContent:!1,survey:{alreadyShown:!1,alreadyDone:!1,showSurvey:!1,showPopup:!1,outsideClick:!1,scrolled:!1},newsletterForm:{email:"",source:"",locale:"",tc:!1},nlUserSubscriptions:{vatican:!1,daily:!1,weekly:!1},prayerIntentions:{comment:void 0,message:void 0,opened:!1,loginOpened:!1,refetch:void 0},returnUrl:"/",toast:null,slideshow:{currentIndex:0,isAutoPlay:!1,isSwipeEnabled:!1,isZoom:!1,slideVisited:0},skin:{rendered:!1,image:"",url:"",height:110},donations2024:{route_count:0,session_started:!1},toggleAutoPlay:()=>e((0,n.jM)(e=>{e.slideshow.isAutoPlay=!e.slideshow.isAutoPlay})),toggleZoom:()=>e((0,n.jM)(e=>{e.slideshow.isZoom=!e.slideshow.isZoom})),setSurveyOutsideClick:t=>e((0,n.jM)(e=>{e.survey.outsideClick=t})),setSurveyScrolled:t=>e((0,n.jM)(e=>{e.survey.scrolled=t})),slideChanged:t=>e((0,n.jM)(e=>{e.slideshow.currentIndex=t,e.slideshow.slideVisited=++e.slideshow.slideVisited,e.slideshow.isAutoPlay=!1})),setCurrentIndex:t=>e((0,n.jM)(e=>{e.slideshow.currentIndex=t})),setTopRibbonHeight:t=>e((0,n.jM)(e=>{e.topRibbonHeight=t})),setSkinData:(t,r,a)=>e((0,n.jM)(e=>{e.skin.url=r,e.skin.image=t,e.skin.rendered=a})),setNewsletterFormData:(t,r,a)=>e((0,n.jM)(e=>{e.newsletterForm.source=t,e.newsletterForm.locale=r,e.newsletterForm.subscription=a})),setPrayersRefetch:t=>e((0,n.jM)(e=>{e.prayerIntentions.refetch=t})),setShareData:t=>{e((0,n.jM)(e=>{e.shareData=t}))},showToast:t=>e((0,n.jM)(e=>{var r,n;e.toast={message:t,id:(null!=(n=null==(r=e.toast)?void 0:r.id)?n:0)+1}}))}))},38216:(e,t,r)=>{"use strict";r.d(t,{M:()=>i,a:()=>o});var n=r(12115),a=r(60350);let o=()=>(0,a.useMediaQuery)({maxWidth:767}),i=()=>{let[e,t]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=()=>{t(window.scrollY)};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[]),e}},39493:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(20063),a=r(12115);function o(){let e=(0,n.usePathname)(),t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{if(e&&t.current!==e){var r,n;null==(n=window.dm)||null==(r=n.AjaxEvent)||r.call(n,"pageview"),t.current=e}},[e]),null}},39866:(e,t,r)=>{"use strict";r.d(t,{j:()=>a});var n=r(12115);function a(){return(0,n.useCallback)(e=>{let{name:t,payload:r}=e;console.log("[Analytics] ".concat(t," ").concat(JSON.stringify(r))),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:t,...r})},[])}},40511:(e,t,r)=>{"use strict";function n(){return e=>{let t=e+"=",r=decodeURIComponent(window.document.cookie).split(";");for(let e=0;e<r.length;e++){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t))return n.substring(t.length,n.length)}}}function a(){return(e,t,r,n)=>{let a=new Date;a.setTime(a.getTime()+24*r*36e5);let o=e+"="+t+";expires="+a.toUTCString();n?window.document.cookie=o+"; path=/; domain="+n+"; Secure; SameSite=None":window.document.cookie=o+";path=/"}}r.d(t,{C:()=>n,K:()=>a})},43850:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=r(28107),a=r(73132),o=r(54879),i=r(95704);
1let s=(0,a.w)({server:{REVALIDATION_SECRET:o.Yj().min(10),SENTRY_AUTH_TOKEN:o.Yj(),KV_REST_API_URL:o.Yj().url(),KV_REST_API_TOKEN:o.Yj().min(10),FIREBASE_ADMIN_PROJECT_ID:o.Yj().optional(),FIREBASE_ADMIN_CLIENT_EMAIL:o.Yj().email().optional(),FIREBASE_ADMIN_PRIVATE_KEY:o.Yj().optional(),PLAN_TIER_SYNC_SECRET:o.Yj().optional()},client:{NEXT_PUBLIC_LOG_LEVEL:o.vk(e=>String(e).toLowerCase(),o.k5(["fatal","error","warn","info","debug","trace"])).default("info"),NEXT_PUBLIC_ALGOLIA_APPID:o.Yj(),NEXT_PUBLIC_ALGOLIA_APIKEY:o.Yj(),NEXT_PUBLIC_MEILISEARCH_API_KEY:o.Yj(),NEXT_PUBLIC_MEILISEARCH_HOST:o.Yj().url(),NEXT_PUBLIC_FB_PIXEL_ID:o.Yj().regex(/^\d+$/),NEXT_PUBLIC_DAILYMOTION_URL:o.Yj().url().regex(/dailymotion/),NEXT_PUBLIC_FIREBASE_PROJECT:o.k5(["aleteia-subscriptions","aleteia-subscriptions-prod","dummy-project"]),NEXT_PUBLIC_FIREBASE_API_KEY:o.Yj(),NEXT_PUBLIC_GTM_CONTAINER_ID:o.Yj().regex(/^GTM-[A-Z0-9]+$/),NEXT_PUBLIC_NEW_GTM_CONTAINER_ID:o.Yj().regex(/^GTM-[A-Z0-9]+$/),NEXT_PUBLIC_NL_ENDPOINT:o.Yj().url().transform(e=>e.replace(/\/$/,"")),NEXT_PUBLIC_NO_FOLLOW:o.bz().default(!0).transform(e=>"false"!==e),NEXT_PUBLIC_SENTRY_DSN:o.Yj().url().regex(/sentry\.io/),NEXT_PUBLIC_SENTRY_ENV:o.k5(["production","staging","preview","local","canary","migration"]),NEXT_PUBLIC_ENV:o.k5(["production","preprod","develop","canary","migration"]).default("preprod"),NEXT_PUBLIC_DIDOMI_API_KEY:o.Yj().default(""),NEXT_PUBLIC_DIDOMI_NOTICE_ID:o.Yj().default(""),NEXT_PUBLIC_DIDOMI_NOTICE_ID_SI:o.Yj().default("")},experimental__runtimeEnv:{NEXT_PUBLIC_LOG_LEVEL:i.env.NEXT_PUBLIC_LOG_LEVEL,NEXT_PUBLIC_MEILISEARCH_HOST:"https://aleteia-posts-meilisearch.cleverapps.io",NEXT_PUBLIC_MEILISEARCH_API_KEY:"168f44d9-5c17-4606-8ced-7e98ccf90038",NEXT_PUBLIC_ALGOLIA_APPID:"5IJS6GE2A6",NEXT_PUBLIC_ALGOLIA_APIKEY:"caff1729b7b2f5864737b2f4c593a84c",NEXT_PUBLIC_DAILYMOTION_URL:"https://geo.dailymotion.com/player/xh1yp.js",NEXT_PUBLIC_FB_PIXEL_ID:"633505014457306",NEXT_PUBLIC_FIREBASE_PROJECT:"aleteia-subscriptions-prod",NEXT_PUBLIC_FIREBASE_API_KEY:"AIzaSyCgYXJXTsk7sgOtBUZBvslUMsFIJ5j2WPs",NEXT_PUBLIC_NL_ENDPOINT:"https://reports.aleteia.org/",NEXT_PUBLIC_GTM_CONTAINER_ID:"GTM-5897WKT",NEXT_PUBLIC_NEW_GTM_CONTAINER_ID:"GTM-P39V2PT6",NEXT_PUBLIC_NO_FOLLOW:"false",NEXT_PUBLIC_SENTRY_DSN:"https://5931115d86b756109a8114ef8f94775f@o4507017654108160.ingest.us.sentry.io/4507056574431232",NEXT_PUBLIC_SENTRY_ENV:"production",NEXT_PUBLIC_ENV:"production",NEXT_PUBLIC_DIDOMI_API_KEY:"e6154077-8515-41c0-842b-a13a0728e254",NEXT_PUBLIC_DIDOMI_NOTICE_ID:"g3ZCnpm6",NEXT_PUBLIC_DIDOMI_NOTICE_ID_SI:"nP8ax3ye"},emptyStringAsUndefined:!0,extends:[(0,n.II)()]})},44493:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var n=r(95968),a=r(12115),o=r(70336),i=r(10579),s=r(39866);function l(e){let{contentId:t,pageType:r}=e,{email:l}=(0,o.A)(),c=(0,s.j)(),d=(0,a.useMemo)(()=>l?(0,n.sc)(l.toLowerCase()).toString():void 0,[l]);return(0,a.useEffect)(()=>{let e=e=>{var n;let a=null==(n=e.target)?void 0:n.closest("a");if(!a)return;let o=a.href;if(!o||o.startsWith("#")||"javascript:"===a.protocol)return;let s=a.closest("header")?"header":a.closest("footer")?"footer":a.closest("nav")?"nav":a.closest("aside")?"sidebar":a.closest("article")?"article":"body",l=function(e){try{let t=new URL(e,window.location.origin);if(t.hostname.endsWith("aleteia.org"))return!1;return t.origin!==window.location.origin}catch(e){return!1}}(o),u=function(e){let t=e.closest("[data-click-location]");return t?t.getAttribute("data-click-location"):e.closest("header")?"header":e.closest("footer")?"footer":e.closest("nav")?"menu":e.closest("article")?"hypertext_link":null}(a);u&&c({name:i.f.CLICK_LOCATION,payload:{click_location:u}}),c({name:i.f.LINK_CLICK,payload:{click_location:s,click_destination:l?"outbound":"internal",internal_click_source:l?void 0:window.location.pathname,content_id:t,user_id:d}}),l?c({name:i.f.OUTBOUND_CLICK,payload:{click_location:s,outbound_click_destination:"resources",click_destination:"outbound",content_id:t,user_id:d}}):c({name:i.f.INTERNAL_CLICK,payload:{click_location:s,click_destination:"internal",internal_click_source:window.location.pathname,content_id:t,page_type:r,user_id:d}})};return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})},[t,r,d,c]),null}},47463:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,29503,23)),Promise.resolve().then(r.bind(r,52714)),Promise.resolve().then(r.bind(r,7995)),Promise.resolve().then(r.bind(r,57015)),Promise.resolve().then(r.bind(r,44493)),Promise.resolve().then(r.bind(r,27188)),Promise.resolve().then(r.bind(r,39493)),Promise.resolve().then(r.bind(r,23299)),Promise.resolve().then(r.bind(r,77487)),Promise.resolve().then(r.bind(r,48854)),Promise.resolve().then(r.bind(r,3809)),Promise.resolve().then(r.t.bind(r,41402,23))},52338:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var n=r(95704);function a(){return window.location.hostname.includes(".vercel.app")||"preview"===n.env.VERCEL_TARGET_ENV||"preview"===n.env.VERCEL_ENV||window.location.hostname.includes("localhost")||!1}},52714:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var n=r(95155),a=r(31461),o=r(99776),i=r(38217),s=r(3809),l=r(12115),c=r(96958),d=r(67048),u=r(38216),_=r(21480),p=r.n(_);let f="aleteia_custom_interstitial_shown",m="custom-interstitial-mob",E=["fr","en","es"],h=/^(?:\/(?:en|it|fr|pl|pt|es|si))?\/\d{4}\/\d{2}\/\d{2}\/[^/]+\/?$/;function w(){let e=(0,c.Ym)(),t=(0,u.a)(),r=(0,d.Y9)(),[a,o]=(0,l.useState)(!1),[i,s]=(0,l.useState)(!1),_=(0,l.useRef)(""),w=(0,l.useRef)(null),I=(0,l.useRef)("custom-interstitial-".concat(Date.now())),g=(0,l.useRef)(!1),v=()=>{w.current&&window.googletag&&window.googletag.cmd.push(()=>{w.current&&(window.googletag.destroySlots([w.current]),w.current=null)})};(0,l.useEffect)(()=>
1{if(!E.includes(e)||!t||sessionStorage.getItem(f))return;let r=e=>{var t,r,n,a,o,i,l;let c=e.target.closest("a");if(!c)return;let d=c.getAttribute("href");!(!d||d.startsWith("#"))&&(e=>{try{return h.test(new URL(e,window.location.href).pathname)}catch(e){return!1}})(c.href)&&((null==(t=c.getAttribute("aria-label"))?void 0:t.toLowerCase().includes("donate"))||(null==(r=c.href)?void 0:r.includes("soutenez-aleteia"))||(null==(n=c.href)?void 0:n.includes("support-aleteia"))||(null==(a=c.href)?void 0:a.includes("apoya-a-aleteia"))||(null==(o=c.href)?void 0:o.includes("donate"))||(null==(i=c.href)?void 0:i.includes("donation"))||(null==(l=c.href)?void 0:l.includes("patron"))||null!==c.closest('[aria-label*="donate"]')||null!==c.closest("[data-donation]")||(e.preventDefault(),e.stopPropagation(),_.current=c.href,s(!0)))};return document.addEventListener("click",r,!0),()=>{document.removeEventListener("click",r,!0)}},[e,t]),(0,l.useEffect)(()=>{if(!i||!r||!window.googletag)return;let e=r.find(e=>e.slot===m);if(!e){console.error("Ad config not found for slot: ".concat(m)),_.current&&(window.location.href=_.current);return}let{unit:t,size:n}=e.props,a=I.current;window.googletag.cmd.push(()=>{try{if(!document.getElementById(a))return void console.error("Ad div not found: ".concat(a));v();let e=window.googletag.defineSlot(t,n,a);if(!e){console.error("Failed to create slot"),_.current&&(window.location.href=_.current);return}w.current=e,e.addService(window.googletag.pubads()),window.googletag.pubads().addEventListener("slotRenderEnded",t=>{t.slot===e&&(console.log("Ad render ended. Empty:",t.isEmpty),t.isEmpty?_.current&&(window.location.href=_.current):(sessionStorage.setItem(f,"true"),o(!0)))}),window.googletag.display(e),window.googletag.pubads().refresh([e])}catch(e){console.error("Error loading custom interstitial:",e),_.current&&(window.location.href=_.current)}})},[i,r]);let N=(0,l.useCallback)(()=>{!g.current&&(g.current=!0,v(),o(!1),_.current&&(window.location.href=_.current))},[]);return((0,l.useEffect)(()=>{if(!a)return;let e=e=>{"Escape"===e.key&&N()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a,N]),(0,l.useEffect)(()=>()=>v(),[]),i)?(0,n.jsxs)("div",{className:p().overlay,style:{display:a?"flex":"none"},children:[(0,n.jsx)("div",{className:p().container,children:(0,n.jsx)("div",{id:I.current,className:p().adContainer})}),(0,n.jsx)("button",{type:"button",className:p().closeButton,onPointerUp:N,onClick:N,"aria-label":"Close interstitial",children:"\xd7"})]}):null}var I=r(70336);function g(e){let{children:t,ads:r,inreadConfigs:c,stats:u,auth:_,locale:p,messages:f}=e,[m]=(0,l.useState)(()=>new a.E({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:(e,t)=>{var r,n;let a=null!=(n=null==t||null==(r=t.response)?void 0:r.status)?n:null==t?void 0:t.status;return("number"!=typeof a||!(a>=400))&&e<1}}}}));return(0,n.jsx)(s.default,{timeZone:"Europe/Paris",locale:p,messages:f,children:(0,n.jsxs)(o.QueryClientProvider,{client:m,children:[(0,n.jsx)(i.E,{initialIsOpen:!1}),(0,n.jsxs)(d.Ay,{auth:_,inreadConfigs:c,ads:r,stats:u,children:[(0,n.jsx)(I.h,{children:t}),(0,n.jsx)(w,{})]})]})})}},57015:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(20063),a=r(95968),o=r(12115),i=r(70336),s=r(10579),l=r(39866);function c(){let{email:e}=(0,i.A)(),t=(0,l.j)(),r=(0,o.useMemo)(()=>e?(0,a.sc)(e.toLowerCase()).toString():void 0,[e]),c=(0,n.usePathname)(),d=(0,o.useRef)(!0),u=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=[{didomiEvent:"notice.clickagree",name:s.f.CMP_CONSENT,cmpStatus:"accept"},{didomiEvent:"notice.clickdisagree",name:s.f.CMP_NO_CONSENT,cmpStatus:"refuse"}].map(e=>{let{didomiEvent:n,name:a,cmpStatus:o}=e;return{didomiEvent:n,handler:()=>{u.current=!0,t({name:a,payload:{cmp_status:o,user_id:r}})}}}),n=t=>{e.forEach(e=>{let{didomiEvent:r,handler:n}=e;t.on(r,n)})};return window.Didomi?n(window.Didomi):(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(n)),()=>{window.Didomi&&e.forEach(e=>{var t,r;let{didomiEvent:n,handler:a}=e;null==(t=(r=window.Didomi).off)||t.call(r,n,a)})}},[r,t]),(0,o.useEffect)(()=>{var e,n;if(d.current){d.current=!1;return}if(u.current)return;let a=null==(n=window.Didomi)||null==(e=n.getCurrentUserStatus)?void 0:e.call(n);(null==a?void 0:a.regulation)==="cpra"&&(u.current=!0,t({name:s.f.CMP_NO_CHOICE,payload:{cmp_status:"no_action",user_id:r}}))},[c,r,t]),null}},61056:e=>{e.exports={backdrop:"Popup_backdrop__X29up",popup:"Popup_popup__ARhYJ",popupInner:"Popup_popupInner__pnMxM",textWrapper:"Popup_textWrapper__DwYje",iconClose:"Popup_iconClose__J3AQQ",closeBtn:"Popup_closeBtn__aPzQU"}},67048:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,LZ:()=>s,WT:()=>c,Y9:()=>i,aw:()=>l});var n=r(95155),a=r(12115);let o=(0,a.createContext)({}),i=()=>{let{ads:e}=(0,a.useContext)(o);return e},s=()=>{let{stats:e}=(0,a.useContext)(o);return e},l=()=>{let{auth:e}=(0,a.useContext)(o);return e},c=e=>{let{nl_lists:t}=l()||{},r=null!=t?t:[];return{lists:r,listConfig:r.find(t=>
1t.id===e)}};function d(e){let{children:t,ads:r,stats:a,auth:i,inreadConfigs:s}=e;return(0,n.jsx)(o.Provider,{value:{ads:r,stats:a,inreadConfigs:s,auth:i},children:t})}},70336:(e,t,r)=>{"use strict";r.d(t,{A:()=>m,h:()=>f});var n=r(95155),a=r(78411),o=r.n(a),i=r(96958),s=r(12115),l=r(12553),c=r(39390),d=r(97803),u=r(95704);let _={si:"sl"},p=(0,s.createContext)({}),f=e=>{let{children:t}=e,r=(0,i.Ym)(),[a,f]=(0,s.useState)(null),[m,E]=(0,s.useState)(""),[h]=(0,s.useState)(!0),[w,I]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=d.e,t=(0,l.hg)(e,async e=>{if(e){let{uid:t,email:r}=e,n=await (0,c.x7)((0,c.H9)(d.Z,"users",t));f({uid:t,...await n.data(),idToken:(await (0,l.yx)(e)).token}),r&&E(r)}else f(null);I(!0)});return()=>t()},[]);let g=async e=>{let t=d.e,r=d.Z;try{let n=await (0,l.eJ)(t,e.email,e.password);if(!n)return{success:!1,details:{}};await (0,c.BN)((0,c.H9)(r,"users",n.user.uid),{...o()(e,"password")})}catch(e){throw e}},v=async(e,t)=>{let r=d.Z;try{await (0,c.BN)((0,c.H9)(r,"users",t),{...o()(e,"password","email")})}catch(e){throw e}},N=async(e,t)=>{let r=d.Z;try{await (0,c.mZ)((0,c.H9)(r,"users",t),{...o()(e,"password","email")})}catch(e){throw e}},C=async(e,t)=>{let r=d.Z;try{await (0,c.mZ)((0,c.H9)(r,"users",t),{readingList:(0,c.hq)(e)})}catch(e){throw e}},b=async(e,t)=>{let r=d.Z;try{await (0,c.mZ)((0,c.H9)(r,"users",t),{readingList:(0,c.C3)(e)})}catch(e){throw e}},T=async e=>{var t;let n=d.e;n.languageCode=null!=(t=_[r])?t:r;let a="".concat(window.location.origin,"/password-reset/");try{a?await (0,l.J1)(n,e,{url:a}):await (0,l.J1)(n,e)}catch(t){if((null==t?void 0:t.code)==="auth/unauthorized-continue-uri")return void await (0,l.J1)(n,e);throw t}},L=async e=>{try{let t=d.e;return await (0,l.RE)(t,e)}catch(e){throw e}},P=async e=>{let t=d.e;try{let r=l.IX.credential(e.email,e.password),{currentUser:n}=t;n&&(await (0,l.kZ)(n,r),await (0,l.f3)(n,e.new_password))}catch(e){throw e}},x=async e=>{let t=d.e,r=l.IX.credential(e.email,e.password);try{let{currentUser:n}=t;n&&(await (0,l.kZ)(n,r),await (0,l.Ww)(n,e.new_email))}catch(e){throw e}},y=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d.e,a=r?l.F0:l.iM;return await (0,l.oM)(n,a),(0,l.x9)(n,e,t)},S=async()=>{f(null);let e=d.e;return await (0,l.CI)(e)},O=async(e,t,r)=>{let n=d.e;try{await (0,l.R4)(n,e,r),await (0,l.x9)(n,t,r)}catch(e){throw Error("Error resetting password: "+(e instanceof Error?e.message:"Unknown error"))}},A=async()=>{let e=d.e.currentUser;if(e){let{uid:t}=e,r=await (0,c.x7)((0,c.H9)(d.Z,"users",t));f({uid:t,...await r.data(),idToken:(await (0,l.yx)(e)).token})}};return(0,n.jsx)(p.Provider,{value:{user:a,email:m,hasFetched:w,register:g,update:v,updateUserPassword:P,updateUserEmail:x,resetPassword:O,updateProfile:N,login:y,logout:S,passwordUserReset:T,verifyPasswordCode:L,refreshUser:A,addToReadingList:C,removeFromReadingList:b},children:u.env.CI&&h?null:t})},m=()=>(0,s.useContext)(p)},73229:(e,t,r)=>{"use strict";r.d(t,{Hm:()=>l,N_:()=>o,a8:()=>s,rd:()=>i});var n=r(55251),a=r(52338);let{Link:o,useRouter:i,usePathname:s,getPathname:l}=(0,n.A)({locales:["en","it","fr","pl","pt","es","si"],defaultLocale:"en",localePrefix:(0,a.$)()?"as-needed":"never"})}
1,73682:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(95155);r(12115);let a=e=>{let{className:t=""}=e;return(0,n.jsx)("svg",{className:t,"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512",children:(0,n.jsx)("path",{fill:"currentColor",d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})})}},77487:(e,t,r)=>{"use strict";r.d(t,{Bx:()=>v,Yv:()=>C,Cn:()=>b,Gh:()=>N,SidebarProvider:()=>g,cL:()=>I});var n=r(95155),a=r(12115),o=r(38216),i=r(93409),s=r(65229),l=r(25016);function c(e){let{...t}=e;return(0,n.jsx)(i.bL,{"data-slot":"sheet",...t})}function d(e){let{...t}=e;return(0,n.jsx)(i.ZL,{"data-slot":"sheet-portal",...t})}function u(e){let{className:t,...r}=e;return(0,n.jsx)(i.hJ,{"data-slot":"sheet-overlay",className:(0,l.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...r})}function _(e){let{className:t,children:r,side:a="right",...o}=e;return(0,n.jsxs)(d,{children:[(0,n.jsx)(u,{}),(0,n.jsxs)(i.UC,{"data-slot":"sheet-content",className:(0,l.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===a&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===a&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===a&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===a&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...o,children:[r,(0,n.jsxs)(i.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,n.jsx)(s.A,{className:"size-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function p(e){let{className:t,...r}=e;return(0,n.jsx)("div",{"data-slot":"sheet-header",className:(0,l.cn)("flex flex-col gap-1.5 p-4",t),...r})}function f(e){let{className:t,...r}=e;return(0,n.jsx)(i.hE,{"data-slot":"sheet-title",className:(0,l.cn)("text-foreground font-semibold",t),...r})}function m(e){let{className:t,...r}=e;return(0,n.jsx)(i.VY,{"data-slot":"sheet-description",className:(0,l.cn)("text-muted-foreground text-sm",t),...r})}var E=r(51617);function h(e){let{delayDuration:t=0,...r}=e;return(0,n.jsx)(E.Kq,{"data-slot":"tooltip-provider",delayDuration:t,...r})}let w=a.createContext(null);function I(){let e=a.useContext(w);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}function g(e){let{defaultOpen:t=!0,open:r,onOpenChange:i,className:s,style:c,children:d,...u}=e,_=(0,o.a)(),[p,f]=a.useState(!1),[m,E]=a.useState(t),I=null!=r?r:m,g=a.useCallback(e=>{let t="function"==typeof e?e(I):e;i?i(t):E(t),document.cookie="".concat("sidebar_state","=").concat(t,"; path=/; max-age=").concat(604800)},[i,I]),v=a.useCallback(()=>_?f(e=>!e):g(e=>!e),[_,g,f]);a.useEffect(()=>{let e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),v())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[v]);let N=I?"expanded":"collapsed",C=a.useMemo(()=>({state:N,open:I,setOpen:g,isMobile:_,openMobile:p,setOpenMobile:f,toggleSidebar:v}),[N,I,g,_,p,f,v]);return(0,n.jsx)(w.Provider,{value:C,children:(0,n.jsx)(h,{delayDuration:0,
1children:(0,n.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"var(--width-menu)","--sidebar-width-icon":"3rem",...c},className:(0,l.cn)("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex w-full",s),...u,children:d})})})}function v(e){let{side:t="left",variant:r="sidebar",collapsible:o="offcanvas",className:i,children:s,...d}=e,{isMobile:u,state:E,openMobile:h,setOpenMobile:w,open:g,setOpen:v}=I(),N=a.useRef(null);return(!function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mousedown",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};a.useEffect(()=>{let a=r=>{let n=r.target;n&&n.isConnected&&(Array.isArray(e)?e.filter(e=>!!e.current).every(e=>e.current&&!e.current.contains(n)):e.current&&!e.current.contains(n))&&t(r)};return window.addEventListener(r,a,n),()=>{window.removeEventListener(r,a,n)}},[e,t,r,n])}(N,e=>{e.target.closest('[data-sidebar="trigger"]')||u||!g||"offcanvas"!==o||v(!1)},"mousedown"),"none"===o)?(0,n.jsx)("div",{"data-slot":"sidebar",className:(0,l.cn)("text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",i),...d,children:s}):u?(0,n.jsx)("div",{...d,children:(0,n.jsx)(c,{open:h,onOpenChange:w,children:(0,n.jsxs)(_,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:(0,l.cn)("text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",i),style:{"--sidebar-width":"100%","z-index":"1000"},side:t,children:[(0,n.jsxs)(p,{className:"sr-only",children:[(0,n.jsx)(f,{children:"Sidebar"}),(0,n.jsx)(m,{children:"Displays the mobile sidebar."})]}),(0,n.jsx)("div",{className:"flex h-full w-full flex-col",children:s})]})})}):(0,n.jsxs)("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":E,"data-collapsible":"collapsed"===E?o:"","data-variant":r,"data-side":t,"data-slot":"sidebar",children:[(0,n.jsx)("div",{"data-slot":"sidebar-gap",className:(0,l.cn)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===r||"inset"===r?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,n.jsx)("div",{ref:N,"data-slot":"sidebar-container",className:(0,l.cn)("fixed inset-y-0 z-1000 hidden w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex","left"===t?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===r||"inset"===r?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...d,children:(0,n.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:s})})]})}function N(e){let{className:t,...r}=e;return(0,n.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,l.cn)("flex flex-col gap-2 p-2",t),...r})}function C(e){let{className:t,...r}=e;return(0,n.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,l.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),...r})}function b(e){let{className:t,...r}=e;return(0,n.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,l.cn)("relative flex w-full min-w-0 flex-col p-2",t),...r})}},87021:(e,t,r)=>{"use strict";r.d(t,{W:()=>a,f:()=>o});let n=0;function a(){n+=1;let e=!1;return()=>{e||(e=!0,n=Math.max(0,n-1))}}function o(){return n>0}},97803:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c,e:()=>d});var n=r(39390),a=r(52078),o=r(12553),i=r(43850);let s={apiKey:i._.NEXT_PUBLIC_FIREBASE_API_KEY,authDomain:"aleteia-subscriptions.firebaseapp.com",projectId:i._.NEXT_PUBLIC_FIREBASE_PROJECT},l=(0,a.Wp)(s),c=(0,n.aU)(l),d=(0,o.xI)(l)}},e=>{e.O(0,[8894,7984,8960,6958,5251,3454,4969,4554,6177,350,643,5352,3409,8717,6701,8441,1255,7358],()=>e(e.s=47463)),_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.