PageSourceSearch

https://www.rrb.nc/_next/static/chunks/301-303e175f8ea73226.js

js rrb.nc collected 2026-09-25 00:12:22 UTC 58,669 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3d9976ca-98fe-41bc-aa1d-b24db076bb78",e._sentryDebugIdIdentifier="sentry-dbid-3d9976ca-98fe-41bc-aa1d-b24db076bb78")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[301],{839:function(e,i,a){var t=a(85893),s=a(48919),l=a(41664),r=a.n(l);i.Z=e=>{let{entries:i}=e,isLast=e=>e>=i.length-1,Renderer=e=>{let{entry:i,index:a}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.gN,{children:(0,t.jsx)(s.At,{asChild:!0,children:i.href?(0,t.jsx)(r(),{href:i.href,children:i.label}):(0,t.jsx)(s.AG,{children:i.label})})}),!isLast(a)&&(0,t.jsx)(s.bg,{})]})};return(0,t.jsx)(s.aG,{className:"mb-3",children:(0,t.jsxs)(s.Jb,{children:[(0,t.jsx)(s.gN,{children:(0,t.jsx)(s.At,{asChild:!0,children:(0,t.jsx)(r(),{href:"/",children:"Accueil"})})}),(0,t.jsx)(s.bg,{}),i.map((e,i)=>(0,t.jsx)(Renderer,{index:i,entry:e},i))]})})}},91821:function(e,i,a){a.d(i,{Ue:function(){return emission_EmissionSubscribe},UJ:function(){return emission_Episodes},yB:function(){return emission_PodcastTeaserSkeleton}});var t=a(85893),s=a(67294),l=a(64378),r=a(34976),n=a(50641),d=a(98425),emission_Episodes=e=>{let{episodes:i,count:a,limit:c,page:o,path:m,isLoading:u}=e;return(0,s.useEffect)(()=>{(0,d.ez)()},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"text-[24px]",children:"Episodes"}),(0,t.jsx)(r.Z,{className:"my-2"}),!u&&i?i.map((e,i)=>(0,t.jsx)("div",{children:(0,t.jsx)(n.HP,{node:e})},"epi-"+i)):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{}),(0,t.jsx)(emission_PodcastTeaserSkeleton,{})]}),(0,t.jsx)(l.Z,{count:a,limit:c,contextQuery:{page:o},path:m})]})},c=a(2053),emission_PodcastTeaserSkeleton=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("article",{className:"w-full",children:[(0,t.jsxs)("div",{className:"flex gap-4 md:h-[140px] w-full",children:[(0,t.jsx)("div",{className:"min-w-[70px] min-h-[70px] md:min-w-[140px] md:max-w-[140px] flex-1",children:(0,t.jsx)("figure",{className:"mb-4 w-full overflow-hidden relative",children:(0,t.jsx)(c.O,{className:"w-full rounded-lg object-cover aspect-square "})})}),(0,t.jsxs)("div",{className:"flex flex-col w-full justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(c.O,{className:"mb-3 mt-1 h-6 md:w-80 rounded"}),(0,t.jsx)(c.O,{className:"h-10 rounded"})]}),(0,t.jsxs)("div",{className:"gap-3 items-center hidden md:flex",children:[(0,t.jsx)(c.O,{className:"w-12 h-12 rounded"}),(0,t.jsx)(c.O,{className:"h-6 w-36 rounded"})]})]})]}),(0,t.jsxs)("div",{className:"mt-6 flex gap-3 justify-between items-center md:hidden",children:[(0,t.jsx)(c.O,{className:"h-6 w-36 rounded"}),(0,t.jsx)(c.O,{className:"w-12 h-12 rounded"})]})]}),(0,t.jsx)(r.Z,{className:"my-4"})]}),o=a(9663),m=a(57816),u=a(33299),x=a(77249),h=a(79110),emission_EmissionSubscribe=e=>{let{nid:i,mini:a=!1}=e,[l,r]=(0,s.useState)(),{data:n,update:c,status:f}=(0,u.useSession)(),{toast:p}=(0,m.pm)();(0,s.useEffect)(()=>{var e;let a=null==n?void 0:null===(e=n.user)||void 0===e?void 0:e.podcasts;if(void 0!==a){let e=null==a?void 0:a.find(e=>e===i);void 0!==e&&r(!0)}},[n,f]);let handleClick=async e=>{var a;e.preventDefault();let t=null==n?void 0:null===(a=n.user)||void 0===a?void 0:a.podcasts;void 0===t&&(t=[]),console.log(t);let s=l?t.filter(e=>e!==i):[...t||[],i];try{let e=await (0,d.a8)("/api/user-subscriptions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(null==n?void 0:n.accessToken)},body:JSON.stringify({podcasts:s})});if(!e.ok&&!1===e.success)throw Error("Network response was not ok");await c({podcasts:s}),r(!l),p({title:l?"Emission supprim\xe9e":"Emission enregistr\xe9e"})}catch(e){p({description:"Erreur lors de l'envoi du formulaire"})}};return(0,t.jsx)(t.Fragment,{children:"authenticated"===f&&(0,t.jsx)(o.z,{onClick:handleClick,size:a?"icon":"default",variant:"tertiary",iconLeft:l?(0,t.jsx)(x.Z,{size:20}):(0,t.jsx)(h.Z,{size:20}),children:!a&&(0,t.jsx)(t.Fragment,{children:l?(0,t.jsx)(t.Fragment,{children:"Suivi"}):(0,t.jsx)(t.Fragment,{children:"S'abonner"})})})})}},50641:function(e,i,a){a.d(i,{GD:function(){return NodeAnnonceLegale},Eg:function(){return NodeAnnonceLegaleTeaser},hc:function(){return NodeArticle},wj:function(){return NodeAvis},k7:function(){return NodeAvisTeaser},Z2:function(){return NodeBasicPage},qe:function(){return NodeDefaultPromoted},X$:function(){return NodeDefaultTeaser},xO:function(){return NodeEmission},rW:function(){return NodePodcast},OD:function(){return NodePodcastEmission},Uu:function(){return F.U},r1:function(){return NodePodcastSearch},HP:function(){return NodePodcastTeaser}});var t=a(85893),s=a(93378);function NodeBasicPage(e){var i,a;let{node:l,...r}=e;return(0,t.jsx)(s.Z,{children:(0,t.jsxs)("article",{...r,children:[(0,t.jsx)("h1",{className:"mb-1 text-[40px] text-foreground-dark",children:l.title}),(null===(i=l.body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(a=l.body)||void 0===a?void 0:a.processed},className:"mt-6 font-serif text-xl leading-loose prose"})]})})}var l=a(41664),r=a.n(l),n=a(32489),d=a(10133),c=a(98425),o=a(58432);function NodeDefaultPromoted(e){var i,a,s,l;let m;let{node:u,showType:x=!1,...h}=e,f=u.field_media_illustration?u.field_media_illustration.field_media_image:!!u.field_image_archive&&u.field_image_archive,p=u.field_media_illustration&&(null===(i=f.image_style_uri)||void 0===i?void 0:i.rrb_large)?f.image_style_uri.rrb_large:void 0!==f.uri?(0,c.GR)(f.uri.url):"";return(0,t.jsx)("article",{...h,children:(0,t.jsxs)("div",{className:"md:aspect-[144/55] group relative",children:[f&&(0,t.jsx)("figure",{className:"mb-4 h-full overflow-hidden",children:(0,t.jsx)(o.Z,{src:p,width:f.resourceIdObjMeta.width,height:f.resourceIdObjMeta.height,alt:f.resourceIdObjMeta.alt,className:"w-full h-full object-cover aspect-[9/11] md:aspect-[144/55] group-hover:scale-110 duration-200",priority:!0})}),(0,t.jsx)("div",{className:"absolute inset-0 flex flex-col justify-end bg-gradient-promoted",children:(0,t.jsxs)("div",{className:"md:w-1/2 p-4 md:p-8",children:[x&&(0,t.jsxs)("div",{className:"text-sm w-fit flex gap-1 items-center px-2 py-1 mb-3 bg-black/50 text-white uppercase rounded backdrop-blur-sm",children:["node--podcast"===u.type&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Z,{})," podcast"]}),"node--article"===u.type&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z,{})," article"]})]}),(0,t.jsx)(r(),{href:u.path.alias,className:"stretched-link",children:(0,t.jsx)("h4",{className:"text-3xl text-foreground-dark mb-2 text-white",children:u.title})}),(0,t.jsx)("div",{children:(m="","node--podcast"===u.type?m=null!==(s=null===(a=u.body)||void 0===a?void 0:a.summary)&&void 0!==s?s:"":"node--article"===u.type&&(m=null!==(l=u.field_sous_titre)&&void 0!==l?l:""),(0,t.jsx)("div",{className:"text-white text-xl line-clamp-3 lg:line-clamp-6",dangerouslySetInnerHTML:{__html:m}},"intro"+u.id))})]})})]})})}var m=a(45139);let u=(0,m.j)("",{variants:{variant:{base:"bg-neutral-100",light:"text-neutral-100 bg-neutral-800"}},defaultVariants:{variant:"base"}});var badge=e=>{let{text:i="",className:a="",variant:s="base"}=e;
1return(0,t.jsx)("span",{className:(0,c.cn)(u({variant:s}),"p-2 uppercase text-[10px]",a),children:i})};(0,m.j)("",{variants:{variant:{base:"bg-neutral-100",light:"text-neutral-100 bg-neutral-800"}},defaultVariants:{variant:"base"}});var thematics=e=>{let{thematics:i,variant:a}=e;return(0,t.jsx)("div",{className:"flex flex-wrap gap-2 mb-4",children:i&&i.map((e,i)=>(0,t.jsx)(r(),{href:"/articles?thematique=".concat(e.resourceIdObjMeta.drupal_internal__target_id),children:(0,t.jsx)(badge,{text:"#".concat(e.name),variant:a},i)},e.resourceIdObjMeta.drupal_internal__target_id))})};let x=(0,m.j)("",{variants:{heading:{base:"text-foreground-dark",light:"text-white"},shortText:{base:"",light:"text-white"}},defaultVariants:{heading:"base",shortText:"base"}});function NodeDefaultTeaser(e){var i,a,s,l,m;let u;let{node:h,showType:f=!1,heading:p="base",shortText:g="base",..._}=e,j=h.field_media_illustration?h.field_media_illustration.field_media_image:!!h.field_image_archive&&h.field_image_archive,v=h.field_media_illustration&&(null===(i=j.image_style_uri)||void 0===i?void 0:i.rrb_large)?j.image_style_uri.rrb_large:!!j&&(0,c.GR)(j.uri.url);return(0,t.jsx)("article",{..._,children:(0,t.jsxs)("div",{className:"group relative",children:[j&&(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)(r(),{href:h.path.alias,children:[(0,t.jsx)("figure",{className:"mb-4 w-full overflow-hidden",children:(0,t.jsx)(o.Z,{src:v,width:364,height:172,alt:j.resourceIdObjMeta.alt,className:"w-full object-cover aspect-[91/43] group-hover:scale-110 duration-200"})}),f&&(0,t.jsxs)("div",{className:"text-sm absolute bottom-4 left-4 w-fit flex gap-1 items-center px-2 py-1 bg-black/50 text-white uppercase rounded backdrop-blur-sm",children:["node--podcast"===h.type&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Z,{})," podcast"]}),"node--article"===h.type&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z,{})," article"]})]})]})}),(0,t.jsxs)(r(),{href:h.path.alias,children:[(0,t.jsx)("h4",{className:(0,c.cn)(x({heading:p}),"text-xl font-normal mb-1"),children:h.title}),(0,t.jsx)("div",{className:"mb-3",children:(a=(0,c.cn)(x({shortText:g})),u="","node--podcast"===h.type?u=null!==(l=null===(s=h.body)||void 0===s?void 0:s.summary)&&void 0!==l?l:"":"node--article"===h.type&&(u=null!==(m=h.field_sous_titre)&&void 0!==m?m:""),(0,t.jsx)("div",{className:"".concat(a," text-base line-clamp-6"),dangerouslySetInnerHTML:{__html:u}},"intro"+h.id))}),(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)("span",{className:"mb-6 text-sm text-foreground-light uppercase",children:(0,c.DZ)(h.created)})})]}),h.field_thematique&&h.field_thematique.length>0&&(0,t.jsx)(thematics,{thematics:h.field_thematique.length?h.field_thematique:[h.field_thematique],variant:p})]})})}var h=a(25675),f=a.n(h),p=a(34976),g=a(839);function NodeAnnonceLegale(e){var i,a;let{node:s,...l}=e,r=[{label:"Annonces l\xe9gales",href:"/annonces-legales"},{label:s.title}];return(0,t.jsxs)("article",{...l,children:[(0,t.jsx)(g.Z,{entries:r}),(0,t.jsx)("h1",{className:"mb-1 text-[40px] text-foreground-dark",children:s.title}),(0,t.jsx)(p.Z,{className:"mb-4"}),(0,t.jsx)("div",{className:"mb-4 text-sm text-foreground-light uppercase",children:(0,t.jsx)("span",{children:(0,c.DZ)(s.created)})}),(0,t.jsxs)("div",{className:"flex flex-col max-w-[564px] mx-auto gap-5",children:[s.field_image&&(0,t.jsxs)("figure",{className:"max-w-[768px]",children:[(0,t.jsx)(f(),{src:(0,c.GR)(s.field_image.uri.url),width:768,height:400,alt:s.field_image.resourceIdObjMeta.alt,priority:!0,className:"w-[564px] h-[400px] object-cover object-center"}),s.field_image.resourceIdObjMeta.title&&(0,t.jsx)("figcaption",{className:"py-2 text-sm text-center text-gray-600",children:s.field_image.resourceIdObjMeta.title})]}),(null===(i=s.body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(a=s.body)||void 0===a?void 0:a.processed}})]})]})}function NodeAnnonceLegaleTeaser(e){var i,a;let{node:s,...l}=e;return(0,t.jsxs)("article",{...l,className:"flex md:flex-row flex-col bg-neutral-50 p-4 rounded-lg flex gap-4 annonces-legales-teaser ",children:[s.field_image&&(0,t.jsx)("figure",{className:"md:w-[172px] md:h-[172px] w-full h-28 flex-none",children:(0,t.jsx)(f(),{src:(0,c.GR)(s.field_image.uri.url),width:172,height:172,alt:s.field_image.resourceIdObjMeta.alt,className:"rounded-lg md:w-[172px] md:h-[172px] w-full h-28 object-cover object-center"})}),(0,t.jsxs)("div",{className:"flex-auto",children:[(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"mb-6 text-sm text-foreground-light uppercase",children:(0,c.DZ)(s.created)})}),(0,t.jsx)("h2",{className:"mb-2 text-xl text-foreground-dark",children:s.title}),(null===(i=s.body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{className:"text-sm",dangerouslySetInnerHTML:{__html:null===(a=s.body)||void 0===a?void 0:a.processed}})]})]})}var _=a(67294),paragraphs_ParagraphText=e=>{var i;let{node:a,className:s="",...l}=e;return(0,t.jsx)(t.Fragment,{children:(null===(i=a.field_body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{className:"paragraph-text ".concat(s),dangerouslySetInnerHTML:{__html:a.field_body.processed},...l})})},paragraphs_ParagraphCitation=e=>{var i;let{node:a,className:s,...l}=e;
1return(0,t.jsxs)("div",{className:(0,c.cn)("flex flex-col bg-light sm:px-14 px-10 my-8 gap-2 items-center bg-quote",s),...l,children:[(null===(i=a.field_body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{className:"italic text-center",dangerouslySetInnerHTML:{__html:a.field_body.processed}}),(a.field_auteur||a.field_complement)&&(0,t.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[a.field_auteur&&(0,t.jsx)("span",{className:"text-lg text-foreground-dark",children:a.field_auteur}),a.field_complement&&(0,t.jsx)("span",{className:"text-foreground-light",children:a.field_complement})]})]})},paragraphs_ParagraphImage=e=>{var i,a,s;let{node:l,className:r,...n}=e;return(0,t.jsx)(t.Fragment,{children:l.field_image&&l.field_image.field_media_image&&(0,t.jsxs)("figure",{className:(0,c.cn)("bg-secondary text-neutral-900",r),...n,children:[(0,t.jsx)(f(),{className:"w-full object-cover",src:l.field_image.field_media_image.image_style_uri.rrb_large||(0,c.GR)(l.field_image.field_media_image.uri.url),width:null===(i=l.field_image.field_media_image.resourceIdObjMeta)||void 0===i?void 0:i.width,height:null===(a=l.field_image.field_media_image.resourceIdObjMeta)||void 0===a?void 0:a.height,alt:(null===(s=l.field_image.field_media_image.resourceIdObjMeta)||void 0===s?void 0:s.alt)?l.field_image.field_media_image.resourceIdObjMeta.alt:"",priority:!0}),l.field_legende&&(0,t.jsx)("figcaption",{className:"p-3",children:l.field_legende})]})})},media_MediaYoutube=e=>{let{url:i,className:a,...s}
1=e,l=(0,c.bQ)(i);return(0,t.jsx)("div",{className:(0,c.cn)("youtube_player aspect-video",a),"data-videoid":l,"data-width":"100%","data-height":"315","data-theme":"light","data-rel":"0","data-controls":"1","data-showinfo":"0","data-autoplay":"0","data-mute":"0","data-loop":"0","data-loading":"1",...s})},paragraphs_ParagraphYoutube=e=>{var i,a;let{node:s,className:l,...r}=e;return(0,t.jsx)(t.Fragment,{children:(null===(i=s.field_video)||void 0===i?void 0:i.field_media_oembed_video)&&(0,t.jsx)(media_MediaYoutube,{url:null===(a=s.field_video)||void 0===a?void 0:a.field_media_oembed_video,className:l})})},j=a(76407),v=a(46992),b=a(9663),paragraphs_ParagraphPodcast=e=>{var i;let{node:a,title:s="",illustration:l}=e,r="missing"===a.field_audio.field_media_audio_file.id?a.field_audio.field_google_storage_link:(0,c.GR)(a.field_audio.field_media_audio_file.uri.url);return(0,t.jsx)(t.Fragment,{children:(null===(i=a.field_audio)||void 0===i?void 0:i.field_media_audio_file)&&(0,t.jsx)(b.z,{asChild:!0,iconLeft:(0,t.jsx)(j.Z,{size:"20"}),children:(0,t.jsx)(v.cg,{media:{src:"".concat(r),metadatas:{illustration:"".concat(l),title:"".concat(s)}},children:"\xc9couter"})})})},paragraphs_ParagraphPostFB=e=>{let{node:i,className:a,...s}=e,l=i.field_hauteur?i.field_hauteur.toString():"500";return(0,t.jsx)("div",{className:(0,c.cn)("",a),...s,children:i.field_url_iframe&&(0,t.jsx)("iframe",{className:"w-full",height:l,src:i.field_url_iframe.uri,style:{border:"none",overflow:"hidden"},allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"})})},paragraphs_ParagraphFichier=e=>{let{node:i,className:a,...s}=e;return(0,t.jsx)(t.Fragment,{children:i.field_fichier_pdf&&i.field_fichier_pdf.field_media_file&&(0,t.jsx)(r(),{href:(0,c.GR)(i.field_fichier_pdf.field_media_file.uri.url),className:(0,c.cn)("underline",a),...s,children:i.field_fichier_pdf.name})})},N=a(62471),y=a(68761);let w=_.forwardRef((e,i)=>{let{className:a,...s}=e;return(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("textarea",{className:(0,c.cn)("flex w-full rounded-md border border-input bg-neutral-50 px-3 py-4 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:i,...s})})});w.displayName="Textarea";var k=a(57816),P=a(33299),S=a(11163),I=a(20373),send_commentaire=e=>{let{commentId:i,commentBody:a,articleId:s,setCommentId:l,setCommentBody:r,refreshComments:n}=e,[d,o]=(0,_.useState)(""),{toast:m}=(0,k.pm)(),{status:u,data:x}=(0,P.useSession)(),h=(0,S.useRouter)(),[f,p]=(0,_.useState)(!1),submit=async e=>{e.preventDefault(),p(!0);try{let e={comment_type:[{target_id:"defaut"}],entity_type:[{value:"node"}],entity_id:[{target_id:s}],field_name:[{value:"field_commentaires"}],subject:[{value:"Comment"}],comment_body:[{value:d,format:"html"}]};i&&""!==i&&(e.pid=[{target_id:i}]);let a={method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(null==x?void 0:x.accessToken)},body:JSON.stringify(e)},t=await (0,c.a8)("/api/post-comment",a);t?(o(""),resetReply(),n(),m({title:"Votre commentaire a \xe9t\xe9 ajout\xe9"})):m({title:"Veuillez vous connecter pour commenter"})}catch(e){m({title:"il y a eu une erreur"}),console.error("Failed to post comment:",e)}p(!1)},resetReply=()=>{l(""),r("")};return(0,t.jsxs)("form",{className:"flex justify-center flex-col my-5",children:[i&&""!==i&&(0,t.jsxs)("div",{className:"mb-5 flex items-center gap-2",children:[(0,t.jsxs)("span",{className:"text-gray-600",children:['R\xe9ponse \xe0 "',a.length>20?a.substring(0,20)+"...":a,'"']}),(0,t.jsxs)("button",{className:"inline-flex items-center px-3 py-1 text-sm text-blue-600 hover:text-blue-700 hover:bg-red-50 rounded-md transition-colors duration-200",onClick:resetReply,children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}),"Arr\xeater de r\xe9pondre"]})]}),(0,t.jsx)(w,{placeholder:"R\xe9diger un commentaire...",className:"w-full mb-5",value:d,onChange:e=>o(e.target.value)}),(0,t.jsx)("div",{className:"text-center",children:f?(0,t.jsx)(I.Z,{}):(0,t.jsx)(t.Fragment,{children:"authenticated"===u?(0,t.jsx)(b.z,{type:"button",onClick:submit,children:"Envoyer le commentaire"}):(0,t.jsx)(b.z,{type:"button",onClick:()=>{h.push({pathname:"/m-identifier"})},children:"Se connecter et r\xe9agir"})})})]})},Z=a(55968);let formatTimeAgo=e=>{let i=new Date(e),a=new Date,t=Math.floor((a.getTime()-i.getTime())/1e3);return t<60?"Il y a quelques secondes":t<3600?"Il y a ".concat(Math.floor(t/60)," minutes"):t<86400?"Il y a ".concat(Math.floor(t/3600)," heures"):"Il y a ".concat(Math.floor(t/86400)," jours")};var view_commentaires=e=>{let{comments:i,commentId:a,commentBody:s,articleId:l,setCommentId:r,setCommentBody:n,refreshComments:d}=e,[c,o]=(0,_.useState)(new Set),toggleComment=e=>{o(i=>{let a=new Set(i);return a.has(e)?a.delete(e):a.add(e),a})},toggleReply=e=>{r(e.cid),n(removeHTMLTags(e.comment_body))},removeHTMLTags=e=>{let i=new DOMParser,a=i.parseFromString(e,"text/html"),t=a.body.textContent||"";return t.trim()},renderComments=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,m=c.has(e.cid),u=e.children&&e.children.length>0;return(0,t.jsxs)("div",{className:o>0&&o<5?"pl-8":"",children:[(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("p",{className:"mr-2 font-medium",children:e.author.name}),(0,t.jsx)("p",{className:"text-gray-500 text-sm",children:formatTimeAgo(e.created)})]}),(0,t.jsx)("div",{className:"text-gray-600 my-3.5",dangerouslySetInnerHTML:{__html:e.comment_body}}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)(b.z,{variant:"secondary",size:"sm",onClick:()=>toggleReply(e),children:[(0,t.jsx)(Z.uE,{className:"mr-2"}),"R\xe9pondre"]}),u&&(0,t.jsx)(b.z,{variant:"ghost",size:"sm",onClick:()=>toggleComment(e.cid),className:"text-blue-600 hover:text-blue-700",children:m?"Masquer":e.children.length>1?"Voir les ".concat(e.children.length," r\xe9ponses"):"Voir la r\xe9ponse"})]})]}),a===e.cid&&(0,t.jsx)(send_commentaire,{commentId:a,articleId:l,commentBody:s,setCommentId:r,setCommentBody:n,refreshComments:d}),m&&u&&(0,t.jsx)("div",{children:e.children.map((i,a)=>renderComments(i,a===e.children.length-1,o+1))})]}),!i&&(0,t.jsx)(p.Z,{className:"my-5"})]},e.uuid)};return(0,t.jsx)("div",{className:"space-y-6",children:i.map((e,a)=>renderComments(e,a===i.length-1))})},C=a(54666),M=a(53836),T=a(46479),commentaire_wrapper=e=>{let{article:i}=e,[a,s]=(0,_.useState)(!1),l=(0,_.useRef)(null),[r,n]=(0,_.useState)(!1),[d,c]=(0,_.useState)(""),[o,m]=(0,_.useState)(""),[u,x]=(0,_.useState)([]),[h,f]=(0,_.useState)(1),[p,g]=(0,_.useState)(1),[j,v]=(0,_.useState)([]),{status:N}=(0,P.useSession)(),handleClick=()=>{s(!a)},parseComment=e=>{var i;return{created:new Date(1e3*parseInt(e.created[0].value)).toISOString(),comment_body:e.comment_body[0].value,subject:e.subject[0].value,uuid:e.uuid[0].value,url:"/comment/".concat(e.uuid[0].value),is_response:!!(null===(i=e.pid)||void 0===i?void 0:i.length),cid:e.cid[0].value,children:e.children?e.children.map(e=>parseComment(e)):[],author:{id:e.author.uid[0].target_id,name:e.author.uid[0].user_data.name,roles:e.author.uid[0].user_data.roles,created:new Date(1e3*parseInt(e.author.uid[0].user_data.created.value)).toISOString(),status:e.author.uid[0].user_data.status}}},getComments=async e=>{try{n(!0);let i="_=".concat(Date.now()),a=await fetch("/api/article-comments?id=".concat(e,"&").concat(i),{headers:{"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0","X-No-Cache":"1","X-Cache-Bypass":"1"}}),t=await a.json(),s=t.map(e=>parseComment(e));x(s)}catch(e){console.error("Failed to fetch comments:",e)}finally{n(!1)}},refreshComments=()=>{i&&i.id&&getComments(i.id)};return(0,_.useEffect)(()=>{refreshComments()},[i]),(0,_.useEffect)(()=>{let e=Math.ceil(u.length/10),i=u.slice((p-1)*10,10*p);f(e),v(i)},[u,p]),(0,t.jsx)("div",{children:"authenticated"===N?(0,t.jsx)(t.Fragment,{children:!a||r?(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)(M.Z,{loading:r&&a,onClick:handleClick,variant:"secondary",children:[(0,t.jsx)(C.Z,{className:"mr-2"}),"Voir les commentaires"]})}):(0,t.jsxs)("div",{className:"flex justify-center flex-col",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)(b.z,{variant:"secondary",onClick:handleClick,children:[(0,t.jsx)(C.Z,{className:"mr-2"}),"Fermer les commentaires"]})}),(0,t.jsxs)("div",{ref:l,children:[(0,t.jsx)(send_commentaire,{commentId:d,articleId:i.drupal_internal__nid,commentBody:o,setCommentId:c,setCommentBody:m,refreshComments:refreshComments}),(0,t.jsx)(view_commentaires,{comments:j,commentId:d,articleId:i.drupal_internal__nid,commentBody:o,setCommentId:c,setCommentBody:m,refreshComments:refreshComments}),(0,t.jsx)(T.Z,{currentPage:p,totalPages:h,onPageChange:e=>{g(e),l.current&&l.current.scrollIntoView({behavior:"smooth",block:"start"})}})]})]})}):(0,t.jsx)(t.Fragment,{})})},banner_ThematicBannerComponent=e=>{let{thematic:i}=e,{data:a,update:s,status:l}=(0,P.useSession)(),[r,n]=(0,_.useState)(!0);(0,_.useEffect)(()=>{isAlreadySubscribed()?n(!0):n(!1)},[a]);let isAlreadySubscribed=()=>{var e;if((null==a?void 0:null===(e=a.user)||void 0===e?void 0:e.thematics)&&i.resourceIdObjMeta.drupal_internal__target_id){let e=i.resourceIdObjMeta.drupal_internal__target_id;return a.user.thematics.includes(e)}};async function onSubmit(){var e;if(isAlreadySubscribed()){(0,k.Am)({title:"Vous \xeates d\xe9j\xe0 abonn\xe9 \xe0 cette th\xe9matique"});return}let t=i.resourceIdObjMeta.drupal_internal__target_id,l=[...(null==a?void 0:null===(e=a.user)||void 0===e?void 0:e.thematics)||[],t];try{let e=await (0,c.a8)("/api/user-subscriptions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(null==a?void 0:a.accessToken)},body:JSON.stringify({thematics:l})});if(!e.ok&&!1===e.success)throw Error("Network response was not ok");await s({thematics:l}),n(!0),(0,k.Am)({title:"Abonnements enregistr\xe9s"})}catch(e){(0,k.Am)({description:"Erreur lors de l'envoi du formulaire"})}}return(0,t.jsx)(t.Fragment,{children:"authenticated"===l?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{children:!r&&(0,t.jsxs)("div",{className:"bg-[#e3f0fa] text-center p-6 mt-10 mb-10",children:[(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"text-[#005EB3] font-rubik text-2xl font-normal leading-tight",children:'Suivre la th\xe9matique "'.concat(i.name,'"')})}),(0,t.jsx)("div",{className:"flex justify-center pt-3 pb-6",children:(0,t.jsx)("div",{className:"w-full md:w-1/2 lg:w-1/3 text-[#656D7F]",children:(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)("span",{className:"max-w-md text-base",children:["Suivre la th\xe9matique ",i.name," pour personnaliser votre exp\xe9rience connect\xe9"]})})})}),(0,t.jsx)(b.z,{className:"font-rubik text-xl font-normal leading-tight",onClick:onSubmit,children:"S'abonner \xe0 la th\xe9matique"})]})})}):(0,t.jsx)(t.Fragment,{})})};function NodeArticle(e){var i;let{node:a,...l}=e,r=[{label:"Articles",href:"/articles"},{label:a.title}],n=a.field_media_illustration?a.field_media_illustration.field_media_image:!!a.field_image_archive&&a.field_image_archive,d=a.field_media_illustration&&(null===(i=n.image_style_uri)||void 0===i?void 0:i.rrb_large)?n.image_style_uri.rrb_large:!!n&&(0,c.GR)(n.uri.url),m=!!a.field_media_illustration&&a.field_media_illustration.field_legende,u=!!a.field_media_illustration&&a.field_media_illustration.field_credit;return(0,_.useEffect)(()=>{(0,c.ez)()},[]),(0,t.jsx)(s.Z,{className:"py-10",children:(0,t.jsxs)("div",{className:"lg:grid grid-flow-col gap-6",children:[(0,t.jsx)("div",{className:"col-span-2 lg:mb-0 mb-8",children:(0,t.jsxs)("article",{className:"article-wrapper",...l,children:[(0,t.jsx)(g.Z,{entries:r}),(0,t.jsxs)("div",{className:"md:grid md:grid-cols-6 md:gap-6",children:[(0,t.jsxs)("div",{className:"col-start-1 col-end-6",children:[(0,t.jsx)("h1",{className:"mb-2 text-[40px] max-md:leading-tight text-foreground-dark",children:a.title}),(0,t.jsx)("p",{className:"text-lg mb-6",children:a.field_sous_titre})]}),(0,t.jsx)("div",{className:"col-start-6 relative justify-self-end",children:(0,t.jsx)(y.D,{node:a})})]}),(0,t.jsx)(p.Z,{className:"mb-4 mt-3 md:mt-0"}),(0,t.jsxs)("div",{className:"mb-4 text-foreground-light text-sm",children:[a.field_auteurs&&a.field_auteurs.length>0&&(0,t.jsxs)("span",{className:"font-medium",children:["Par"," ",a.field_auteurs.map((e,i)=>(0,t.jsxs)("span",{children:[i>0&&", ",(0,t.jsx)("span",{children:e.title},e.id)]},e.id))," "]}),(0,t.jsx)("span",{className:"uppercase text-sm",children:(0,c.DZ)(a.created)})]}),n&&(0,t.jsxs)("figure",{className:"bg-secondary text-neutral-900",children:[(0,t.jsx)(o.Z,{className:"w-full object-cover object-center aspect-[144/55]",src:d,width:n.resourceIdObjMeta.width,height:n.resourceIdObjMeta.height,alt:n.resourceIdObjMeta.alt?n.resourceIdObjMeta.alt:"",priority:!0}),(m||u)&&(0,t.jsxs)("figcaption",{className:"p-3",children:[m&&m,u&&(0,t.jsx)("p",{className:"text-sm text-gray-400",children:u})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:px-16 mt-4",children:[a.field_contenu_structure&&a.field_contenu_structure.map(e=>(0,t.jsxs)("div",{children:["paragraph--texte"===e.type&&(0,t.jsx)(paragraphs_ParagraphText,{node:e}),"paragraph--citation"===e.type&&(0,t.jsx)(paragraphs_ParagraphCitation,{node:e}),"paragraph--image"===e.type&&(0,t.jsx)(paragraphs_ParagraphImage,{node:e}),"paragraph--content_iframe_post_fb"===e.type&&(0,t.jsx)(paragraphs_ParagraphPostFB,{node:e}),"paragraph--video_youtube"===e.type&&(0,t.jsx)(paragraphs_ParagraphYoutube,{node:e}),"paragraph--audio_podcast"===e.type&&(0,t.jsx)(paragraphs_ParagraphPodcast,{node:e,title:a.title,illustration:d||void 0}),"paragraph--content_fichier"===e.type&&(0,t.jsx)(paragraphs_ParagraphFichier,{node:e})]},e.id)),a.field_thematique&&a.field_thematique.length>0&&(0,t.jsx)("div",{className:"mt-12",children:(0,t.jsx)(thematics,{thematics:a.field_thematique.length?a.field_thematique:[a.field_thematique]})}),(0,t.jsx)(commentaire_wrapper,{article:a}),(null==a?void 0:a.field_thematique.length)>0&&(0,t.jsx)(banner_ThematicBannerComponent,{thematic:a.field_thematique[0]})]})]})}),(0,t.jsx)("aside",{children:(0,t.jsxs)("div",{className:"sticky top-28 col-span-1 text-center",children:[(0,t.jsx)(N.f,{adsId:"54",dimension:"300600",className:"hidden mb-4 lg:block"}),(0,t.jsx)(N.f,{adsId:"55",dimension:"300250"})]})})]})})}function NodeAvis(e){var i;let{node:a,...l}=e,r=[{label:"Avis de d\xe9c\xe8s et de messe",href:"/avis"},{label:a.title}];return(0,t.jsx)(s.Z,{className:"py-10",children:(0,t.jsxs)("article",{...l,children:[(0,t.jsxs)("div",{className:"md:grid md:grid-cols-6 md:gap-6",children:[(0,t.jsxs)("div",{className:"col-start-1 col-end-6",children:[(0,t.jsx)(g.Z,{entries:r}),(0,t.jsx)("h1",{className:"mb-1 text-[40px] text-foreground-dark",children:a.title}),(0,t.jsx)(p.Z,{className:"hidden md:flex mb-4"})]}),(0,t.jsx)("div",{className:"col-start-6 relative justify-self-end",children:(0,t.jsx)(y.D,{node:a})})]}),(0,t.jsx)(p.Z,{className:"my-4 md:hidden"}),(0,t.jsx)("div",{className:"mb-4 text-sm text-foreground-light uppercase",children:(0,t.jsx)("span",{children:(0,c.DZ)(a.created)})}),(0,t.jsx)("div",{className:"md:grid md:grid-cols-4",children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(i=a.body)||void 0===i?void 0:i.processed},className:"col-start-2 col-end-4"})})]})})}function NodeAvisTeaser(e){var i,a;let{node:s,...l}=e;return(0,t.jsx)(r(),{href:s.path.alias,children:(0,t.jsxs)("article",{...l,className:"flex flex-col bg-neutral-50 p-4 gap-4 roun
1ded-lg",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"uppercase text-[10px]",children:["Avis de ","deces"===s.field_type?"d\xe9c\xe8s":"messe"]}),(0,t.jsx)("h2",{className:"mb-2 text-xl text-foreground-dark",children:s.title})]}),(null===(i=s.body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{className:"line-clamp-4",dangerouslySetInnerHTML:{__html:null===(a=s.body)||void 0===a?void 0:a.processed}}),(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"mb-6 text-sm text-foreground-light uppercase",children:(0,c.DZ)(s.created)})})]})})}var O=a(17688),R=a(20773);function NodePodcast(e){var i,a,l,n,d,m,u,x,h,f,v,w,k;let{node:P,...S}=e,I=[{label:"Podcasts",href:"/podcasts"},{label:P.title}],[Z,C]=_.useState(!1),M=P.field_media_illustration?P.field_media_illustration.field_media_image:!!P.field_image_archive&&P.field_image_archive,T=P.field_fichier&&null!==P.field_fichier.field_google_storage_link&&""!==P.field_fichier.field_google_storage_link,z=P.field_fichier?T?P.field_fichier.field_google_storage_link:(0,c.GR)(P.field_fichier.field_google_storage_link):!!P.field_mp3_url&&P.field_mp3_url.uri;return(0,_.useEffect)(()=>{(0,c.ez)()},[]),(0,t.jsxs)(s.Z,{className:"py-10",children:[(0,t.jsx)(g.Z,{entries:I}),(0,t.jsx)("article",{...S,children:(0,t.jsxs)("div",{className:"lg:grid grid-flow-col gap-6",children:[(0,t.jsxs)("div",{className:"col-span-2 lg:mb-0 mb-8",children:[(0,t.jsxs)("div",{className:"xl:grid grid-flow-col gap-5 text-center md:text-left",children:[M&&(0,t.jsxs)("figure",{className:"col-span-1 inline-block",children:[(0,t.jsx)(o.Z,{src:(0,c.GR)(M.uri.url),width:M.resourceIdObjMeta.width,height:M.resourceIdObjMeta.height,className:"rounded-lg ".concat(Z?"min-w-[350px] min-h-[300px]":""),onError:()=>C(!0),alt:M.resourceIdObjMeta.alt?M.resourceIdObjMeta.alt:"",priority:!0}),M.resourceIdObjMeta.title&&(0,t.jsx)("figcaption",{className:"py-2 text-sm text-center text-gray-600",children:M.resourceIdObjMeta.title})]}),(0,t.jsx)("div",{className:"col-span",children:(0,t.jsx)("div",{className:"xl:grid grid-flow-col",children:(0,t.jsxs)("div",{children:[(null===(i=P.field_emission)||void 0===i?void 0:i.title)&&(null===(l=P.field_emission)||void 0===l?void 0:null===(a=l.path)||void 0===a?void 0:a.alias)&&(0,t.jsx)(r(),{href:null===(d=P.field_emission)||void 0===d?void 0:null===(n=d.path)||void 0===n?void 0:n.alias,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)("p",{className:"text-lg leading-snug max-md:mt-6",children:null===(m=P.field_emission)||void 0===m?void 0:m.title})}),(0,t.jsx)("h1",{className:"mb-1 text-[32px] text-foreground-dark",children:P.title}),P.field_animateurs&&P.field_animateurs.length>0&&(0,t.jsx)("div",{className:"mb-4 flex flex-wrap justify-center md:justify-start text-foreground-light",children:P.field_animateurs.map((e,i)=>(0,t.jsx)("span",{children:e.title},e.id))}),(0,t.jsx)("span",{className:"text-foreground-light text-sm uppercase",children:(0,c.DZ)(P.created)}),(0,t.jsxs)("div",{className:"flex gap-2 my-6",children:[z&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.z,{asChild:!0,iconLeft:(0,t.jsx)(j.Z,{size:"20"}),className:"basis-full",children:(0,t.jsx)(O.Z,{media:{src:"".concat(z),metadatas:{illustration:M?(0,c.GR)(M.uri.url):void 0,title:"".concat((null===(u=P.field_emission)||void 0===u?void 0:u.title)?P.field_emission.title:""),episode:"".concat(P.title),presenter:"".concat(P.field_animateurs?P.field_animateurs[0].title:""),nid:P.drupal_internal__nid}},children:"\xc9couter"})}),(e=>{let i="api/downloadmp3?file="+e.replace("https://storage.googleapis.com/rrb-bucket/","");return(0,t.jsx)(b.z,{asChild:!0,variant:"secondary",iconRight:(0,t.jsx)(R.Z,{size:"20"}),className:"hidden md:flex",children:(0,t.jsx)(r(),{href:i,target:"_blank",rel:"noopener noreferrer",children:"T\xe9l\xe9charger"})})})(z)]}),(0,t.jsx)("div",{className:"basis-0",children:(0,t.jsx)(y.D,{node:P,txtButton:!1})})]}),(null===(x=P.body)||void 0===x?void 0:x.summary)&&(0,t.jsx)("div",{children:(0,t.jsx)("span",{children:null===(h=P.body)||void 0===h?void 0:h.summary})})]})})})]}),(0,t.jsx)(p.Z,{className:"mb-6 mt-12 md:mt-4"}),(null===(f=P.body)||void 0===f?void 0:f.processed)&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(v=P.body)||void 0===v?void 0:v.processed},className:"mt-6"}),(null===(w=P.field_fichier_video)||void 0===w?void 0:w.field_media_oembed_video)&&(0,t.jsx)(media_MediaYoutube,{url:null===(k=P.field_fichier_video)||void 0===k?void 0:k.field_media_oembed_video,className:"mt-10"}),P.field_thematique&&P.field_thematique.length>0&&(0,t.jsx)("div",{className:"mt-10",children:(0,t.jsx)(thematics,{thematics:P.field_thematique.length?P.field_thematique:[P.field_thematique]})}),(0,t.jsx)(commentaire_wrapper,{article:P}),(null==P?void 0:P.field_thematique.length)>0&&(0,t.jsx)(banner_ThematicBannerComponent,{thematic:P.field_thematique[0]})]}),(0,t.jsx)("aside",{children:(0,t.jsxs)("div",{className:"sticky top-28 col-span-1 text-center",children:[(0,t.jsx)(N.f,{adsId:"54",dimension:"300600",className:"hidden mb-4 lg:block"}),(0,t.jsx)(N.f,{adsId:"55",dimension:"300250"})]})})]})})]})}var z=a(1199),A=a(38098),D=a(91821),L=a(39332),E=a(62725);function NodeEmission(e){var i,a;let{node:l,...r}=e,n=[{label:"Podcasts",href:"/podcasts"},{label:l.title}];(0,_.useEffect)(()=>{(0,c.ez)()},[]);
1let d=(0,L.useSearchParams)(),m=d.get("page")||1,[u,x]=(0,_.useState)(!1),[h,f]=(0,_.useState)([]),[p,j]=(0,_.useState)(0),[v,b]=(0,_.useState)(Number(m)),w=l.path.alias||"",[k,P]=(0,_.useState)(!0);return(0,_.useEffect)(()=>{let e=(0,E.ZP)(new Date,"t");A.u.getView("skazy_podcasts--listing",{params:{"views-filter":{field_date:e,field_emission:l.drupal_internal__nid},page:v-1,include:"field_media_illustration,field_media_illustration.field_media_image,field_fichier,field_fichier.field_media_audio_file,field_image_archive,field_animateurs,field_emission"},deserialize:!1}).then(e=>{var i;j((null==e?void 0:null===(i=e.meta)||void 0===i?void 0:i.count)||0),f(A.u.deserialize(e.results)||[]),P(!1)})},[v]),(0,_.useEffect)(()=>{b(Number(m))},[m]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("article",{...r,children:(0,t.jsx)("div",{style:{background:"hsl(0deg, 0%,66%) url(".concat((0,c.GR)(l.field_media_illustration.field_media_image.uri.url),") no-repeat center / cover"),backgroundBlendMode:"screen"},children:(0,t.jsx)("div",{className:"py-12 md:py-6 text-center xl:text-start backdrop-blur-2xl",children:(0,t.jsxs)(s.Z,{children:[(0,t.jsx)(g.Z,{entries:n}),(0,t.jsxs)("div",{className:"xl:grid grid-flow-col gap-6",children:[l.field_media_illustration&&(0,t.jsxs)("figure",{className:"col-span-1 inline-block ",children:[(0,t.jsx)(o.Z,{src:(0,c.GR)(l.field_media_illustration.field_media_image.uri.url),width:l.field_media_illustration.field_media_image.resourceIdObjMeta.width,height:l.field_media_illustration.field_media_image.resourceIdObjMeta.height,alt:l.field_media_illustration.field_media_image.resourceIdObjMeta.alt?l.field_media_illustration.field_media_image.resourceIdObjMeta.alt:"",priority:!0,onError:e=>{x(!0)},className:"max-w-[250px] ".concat(u?"min-w-[250px] min-h-[250px]":"")}),l.field_media_illustration.field_media_image.resourceIdObjMeta.title&&(0,t.jsx)("figcaption",{className:"py-2 text-sm text-center text-gray-600",children:l.field_media_illustration.field_media_image.resourceIdObjMeta.title})]}),(0,t.jsx)("div",{className:"col-span-4",children:(0,t.jsxs)("div",{className:"xl:grid grid-flow-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"mb-1 text-[32px] text-foreground-dark",children:l.title}),l.field_animateurs&&l.field_animateurs.length>0&&(0,t.jsx)("div",{className:"mb-4 flex gap-1 items-center flex-wrap justify-center xl:justify-start",children:l.field_animateurs.map((e,i)=>(0,t.jsx)("span",{children:e.title},e.id))}),l.field_planifications&&l.field_planifications.length>0&&(0,t.jsxs)("div",{className:"uppercase text-neutral-700 flex gap-1 items-center flex-wrap justify-center xl:justify-start mb-4",children:[(0,t.jsx)(z.Z,{}),(0,t.jsx)("span",{children:"Diffusion\xa0:"})," ",l.field_planifications.map((e,i)=>(0,t.jsxs)("span",{children:[(0,c._T)(e.field_jour),"\xa0:\xa0",e.field_heure_debut.field_heure.toString().padStart(2,0),"H",e.field_heure_debut.field_minute.toString().padStart(2,0),"\xa0-\xa0",e.field_heure_fin.field_heure.toString().padStart(2,0),"H",e.field_heure_fin.field_minute.toString().padStart(2,0)," "]},e.id))]}),(null===(i=l.body)||void 0===i?void 0:i.processed)&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(a=l.body)||void 0===a?void 0:a.processed},className:"text-lg"}),(0,t.jsx)(D.Ue,{nid:l.drupal_internal__nid})]}),(0,t.jsx)(y.D,{node:l})]})})]})]})})})}),(0,t.jsx)(s.Z,{className:"py-10",children:(0,t.jsxs)("div",{className:"lg:grid grid-flow-col gap-6",children:[(0,t.jsx)("div",{className:"col-span-2 lg:mb-0 mb-8",children:h&&(0,t.jsx)(D.UJ,{episodes:h,count:p,limit:12,page:v,path:w,isLoading:k})}),(0,t.jsxs)("aside",{className:"col-span-1 text-center justify-self-center",children:[(0,t.jsx)(N.f,{adsId:"54",dimension:"300600",className:"hidden mb-4 lg:block"}),(0,t.jsx)(N.f,{adsId:"55",dimension:"300250"})]})]})})]})}function NodePodcastTeaser(e){var i,a,s,l,n,d;let{node:m,...u}=e,[x,h]=(0,_.useState)(!1),f=m.field_media_illustration?m.field_media_illustration.field_media_image:!!m.field_image_archive&&m.field_image_archive,g=m.field_fichier&&null!==m.field_fichier.field_google_storage_link&&""!==m.field_fichier.field_google_storage_link,v=m.field_fichier?g?m.field_fichier.field_google_storage_link:(0,c.GR)(m.field_fichier.field_google_storage_link):!!m.field_mp3_url&&m.field_mp3_url.uri;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("article",{...u,children:[(0,t.jsxs)("div",{className:"flex gap-4 md:h-[140px] w-full",children:[f&&(0,t.jsx)(r(),{href:m.path.alias,className:"min-w-[70px] min-h-[70px] md:min-w-[140px] md:max-w-[140px] flex-1",children:(0,t.jsxs)("figure",{className:"mb-4 w-full overflow-hidden relative",children:[(0,t.jsx)(o.Z,{src:(0,c.GR)(f.uri.url),width:140,height:140,alt:f.resourceIdObjMeta.alt,onError:()=>h(!0),className:"w-full rounded-lg object-cover aspect-square group-hover:scale-110 duration-200 ".concat(x?"min-w-[140px] min-h-[140px]":"")}),(null===(i=m.field_fichier_video)||void 0===i?void 0:i.field_media_oembed_video)&&(0,t.jsx)("figcaption",{className:"bg-neutral-800 text-white px-1 text-xs text-center text-gray-600 absolute top-1 left-1 rounded-sm opacity-80",children:"VIDEO"})]})}),(0,t.jsxs)("div",{className:"flex flex-col w-full justify-between",children:[(0,t.jsxs)(r
1(),{href:m.path.alias,children:[(0,t.jsx)("h4",{className:"mb-1 text-[20px] line-clamp-2 text-foreground-dark",children:m.title}),(0,t.jsx)("p",{className:"text-base line-clamp-2",dangerouslySetInnerHTML:{__html:null!==(n=null===(a=m.body)||void 0===a?void 0:a.summary)&&void 0!==n?n:""}})]}),(0,t.jsxs)("div",{className:"gap-3 items-center hidden md:flex",children:[v&&(0,t.jsx)(b.z,{size:"icon",asChild:!0,iconLeft:(0,t.jsx)(j.Z,{size:"20"}),children:(0,t.jsx)(O.Z,{time:null!==(d=null==u?void 0:u.time)&&void 0!==d?d:0,media:{src:"".concat(v),metadatas:{illustration:f?(0,c.GR)(f.uri.url):void 0,title:"".concat((null===(s=m.field_emission)||void 0===s?void 0:s.title)?m.field_emission.title:""),episode:"".concat(m.title),presenter:"".concat(m.field_animateurs?m.field_animateurs[0].title:""),nid:m.drupal_internal__nid}}})}),(0,t.jsx)("span",{className:"text-[14px] text-sm text-foreground-light uppercase",children:(0,c.DZ)(m.created)})]})]})]}),(0,t.jsxs)("div",{className:"mt-6 flex gap-3 justify-between items-center md:hidden",children:[(0,t.jsx)("span",{className:"text-[14px] text-sm text-foreground-light uppercase",children:(0,c.DZ)(m.created)}),v&&(0,t.jsx)(b.z,{size:"icon",asChild:!0,iconLeft:(0,t.jsx)(j.Z,{size:"20"}),children:(0,t.jsx)(O.Z,{media:{src:"".concat(v),metadatas:{illustration:f?(0,c.GR)(f.uri.url):void 0,title:"".concat((null===(l=m.field_emission)||void 0===l?void 0:l.title)?m.field_emission.title:""),episode:"".concat(m.title),presenter:"".concat(m.field_animateurs?m.field_animateurs[0].title:""),nid:m.drupal_internal__nid}}})})]})]}),(0,t.jsx)(p.Z,{className:"my-4"})]})}function NodePodcastSearch(e){let{podcasts:i,...a}=e;return(0,_.useEffect)(()=>{(0,c.ez)()},[]),(0,t.jsx)(s.Z,{className:"py-10",children:(0,t.jsx)("article",{...a,children:(0,t.jsxs)("div",{className:"lg:grid grid-cols-2 grid-flow-col gap-6",children:[(0,t.jsx)("div",{className:"col-span-11 lg:mb-0 mb-8",children:i.map((e,i)=>(0,t.jsx)("div",{children:(0,t.jsx)(NodePodcastTeaser,{node:e})},"epi-"+i))}),(0,t.jsxs)("aside",{className:"col-span-1 text-center justify-self-center",children:[(0,t.jsx)(N.f,{adsId:"54",dimension:"300600",className:"hidden mb-4 lg:block"}),(0,t.jsx)(N.f,{adsId:"55",dimension:"300250"})]})]})})})}var F=a(37897);function NodePodcastEmission(e){let{node:i,...a}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{...a,children:(0,t.jsx)("div",{className:"grid md:grid-cols-4 sm:grid-cols-2 gap-4",children:i.map((e,i)=>(0,t.jsx)("div",{children:(0,t.jsxs)(r(),{href:e.path.alias,children:[e.field_media_illustration&&(0,t.jsx)("figure",{className:"mb-2",children:(0,t.jsx)(o.Z,{src:(0,c.GR)(e.field_media_illustration.field_media_image.uri.url),width:e.field_media_illustration.field_media_image.resourceIdObjMeta.width,height:e.field_media_illustration.field_media_image.resourceIdObjMeta.height,alt:e.field_media_illustration.field_media_image.resourceIdObjMeta.alt?e.field_media_illustration.field_media_image.resourceIdObjMeta.alt:"",priority:!0,className:"object-cover w-full"})}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"xl:grid grid-flow-col gap-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"mb-1 text-[24px] text-foreground-dark",children:e.title}),e.field_animateurs&&e.field_animateurs.length>0&&(0,t.jsx)("div",{className:"mb-4 flex gap-1 items-center flex-wrap xl:justify-start",children:e.field_animateurs.map((e,i)=>(0,t.jsx)("span",{className:"text-[14px]",children:e.title},e.id))}),e.field_planifications&&e.field_planifications.length>0&&(0,t.jsxs)("div",{className:"uppercase text-neutral-700 flex gap-1 items-center flex-wrap justify-center xl:justify-start mb-4",children:[(0,t.jsx)(z.Z,{}),(0,t.jsx)("span",{children:"Diffusion\xa0:"})," ",e.field_planifications.map((e,i)=>(0,t.jsxs)("span",{children:[(0,c._T)(e.field_jour),"\xa0:\xa0",e.field_heure_debut.field_heure.toString().padStart(2,0),"H",e.field_heure_debut.field_minute.toString().padStart(2,0),"\xa0-\xa0",e.field_heure_fin.field_heure.toString().padStart(2,0),"H",e.field_heure_fin.field_minute.toString().padStart(2,0)," "]},e.id))]})]})})})]})},i))})})})}},37897:function(e,i,a){a.d(i,{U:function(){return NodePodcastPromoted}});var t=a(85893),s=a(98425),l=a(76407),r=a(9663),n=a(46992),d=a(41664),c=a.n(d),o=a(34976),m=a(58432);function NodePodcastPromoted(e){let{podcasts:i,...a}=e;return(0,t.jsx)("div",{...a,children:(0,t.jsx)("div",{className:"grid lg:grid-cols-2 gap-4",children:i.map((e,a)=>{var d,u,x,h,f,p,g,_,j;return(0,t.jsxs)("article",{children:[(0,t.jsxs)("div",{className:"flex gap-4 mb-6",children:[e.field_media_illustration&&(0,t.jsx)(c(),{href:e.path.alias,className:"grow-0 shrink-0",children:(0,t.jsxs)("figure",{className:"relative",children:[(0,t.jsx)(m.Z,{className:"rounded-lg md:w-[140px] md:h-[140px] w-[70px] h-[70px] aspect-square object-cover object-center",src:(0,s.GR)(e.field_media_illustration.field_media_image.uri.url),width:"140",height:"140",alt:e.field_media_illustration.field_media_image.resourceIdObjMeta.alt?e.field_media_illustration.field_media_image.resourceIdObjMeta.alt:"",priority:!0}),(null===(d=e.field_fichier_video)||void 0===d?void 0:d.field_media_oembed_video)&&(0,t.jsx)("div",{className:"bg-neutral-800 text-white p-1 md:text-xs text-[10px] leading-none text-center text-gray-600 absolute md:top-2 max-md:bottom-1 left-2 max-md:left-1 rounded-sm opacity-80",children:"VIDEO"})]})}),(0,t.jsxs)("div",{className:"flex-auto flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(c(),{href:e.path.alias,children:(0,t.jsx)("h1",{className:"mb-1 text-[20px] text-foreground-dark line-clamp-1",children:e.title})}),(null===(u=e.field_emission)||void 0===u?void 0:u.title)&&(null===(h=e.field_emission)||void 0===h?void 0:null===(x=h.path)||void 0===x?void 0:x.alias)&&(0,t.jsx)(c(),{href:e.field_emission.path.alias,rel:"noopener noreferrer",children:(0,t.jsx)("p",{className:"text-foreground-dark",children:e.field_emission.title})}),(null===(f=e.body)||void 0===f?void 0:f.summary)&&(0,t.jsx)("span",{className:"text-[14px] line-clamp-2",children:null===(p=e.body)||void 0===p?void 0:p.summary})]}),e.field_fichier&&e.field_fichier.field_google_storage_link&&(0,t.jsxs)("div",{className:"hidden md:flex gap-2 items-center w-full",children:[(0,t.jsx)(r.z,{asChild:!0,size:"icon",iconLeft:(0,t.jsx)(l.Z,{size:"20"}),children:(0,t.jsx)(n.cg,{media:{src:"".concat(e.field_fichier.field_google_storage_link),metadatas:{illustration:"".concat((0,s.GR)(e.field_media_illustration.field_media_image.uri.url)),title:"".concat((null===(g=e.field_emission)||void 0===g?void 0:g.title)?e.field_emission.title:""),episode:"".concat(e.title),presenter:"".concat(e.field_animateurs[0].title),nid:e.drupal_internal__nid}}})}),(0,t.jsx)("span",{className:"text-[14px] text-foreground-light uppercase",children:(0,s.p6)(e.created)})]})]})]}),(0,t.jsxs)("div",{className:"block md:hidden",children:[e.field_fichier&&e.field_fichier.field_google_storage_link&&(0,t.jsxs)("div",{className:"flex justify-between gap-2 items-center w-full",children:[(0,t.jsx)("span",{className:"text-[14px] text-foreground-light uppercase",children:(0,s.p6)(e.created)}),(0,t.jsx)(r.z,{asChild:!0,size:"icon",iconLeft:(0,t.jsx)(l.Z,{size:"20"}),children:(0,t.jsx)(n.cg,{media:{src:"".concat(e.field_fichier.field_google_storage_link),metadatas:{illustration:"".concat((0,s.GR)(e.field_media_illustration.field_media_image.uri.url)),title:"".concat((null===(_=e.field_emission)||void 0===_?void 0:_.title)?e.field_emission.title:""),episode:"".concat(e.title),presenter:"".concat(null===(j=e.field_animateurs[0])||void 0===j?void 0:j.title),nid:e.drupal_internal__nid}}})})]}),a+1<i.length&&(0,t.jsx)(o.Z,{className:"mt-4"})]})]},a)})})})}},46479:function(e,i,a){var t=a(85893),s=a(48135),l=a(97322);a(67294),i.Z=e=>{let{currentPage:i,totalPages:a,onPageChange:r}=e,getPageNumbers=()=>{let e=[],t=Math.max(1,i-Math.floor(1.5)),s=Math.min(a,t+3-1);s===a&&(t=Math.max(1,s-3+1)),1===t&&(s=Math.min(a,t+3-1));for(let i=t;i<=s;i++)e.push(i);return e};return(0,t.jsx)(t.Fragment,{children:a>1&&(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-6",children:[(0,t.jsx)("button",{onClick:()=>r(i-1),disabled:1===i,className:"p-2 rounded-lg bg-gray-100 disabled:opacity-50 disabled:cursor-not-allowed","aria-label":"Previous page",children:(0,t.jsx)(s.Z,{className:"w-5 h-5"})}),getPageNumbers()[0]>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{onClick:()=>r(1),className:"w-8 h-8 flex items-center justify-center rounded-lg hover:bg-gray-100",children:"1"}),getPageNumbers()[0]>2&&(0,t.jsx)("span",{className:"px-1",children:"..."})]}),getPageNumbers().map(e=>(0,t.jsx)("button",{onClick:()=>r(e),className:"w-8 h-8 flex items-center justify-center rounded-lg ".concat(i===e?"bg-primary text-white":"hover:bg-gray-100"),children:e},e)),getPageNumbers()[getPageNumbers().length-1]<a&&(0,t.jsxs)(t.Fragment,{children:[getPageNumbers()[getPageNumbers().length-1]<a-1&&(0,t.jsx)("span",{className:"px-1",children:"..."}),(0,t.jsx)("button",{onClick:()=>r(a),className:"w-8 h-8 flex items-center justify-center rounded-lg hover:bg-gray-100",children:a})]}),(0,t.jsx)("button",{onClick:()=>r(i+1),disabled:i===a,className:"p-2 rounded-lg bg-gray-100 disabled:opacity-50 disabled:cursor-not-allowed","aria-label":"Next page",children:(0,t.jsx)(l.Z,{className:"w-5 h-5"})})]})})}},64378:function(e,i,a){a.d(i,{Z:function(){return pagination_PaginationList}});var t=a(85893),s=a(67294),l=a(98814),r=a(64998),n=a(9404),d=a(98425),c=a(9663),o=a(41664),m=a.n(o);let Pagination=e=>{let{className:i,...a}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,d.cn)("mx-auto flex w-full justify-center",i),...a}
1)};Pagination.displayName="Pagination";let u=s.forwardRef((e,i)=>{let{className:a,...s}=e;return(0,t.jsx)("ul",{ref:i,className:(0,d.cn)("flex flex-row items-center gap-1",a),...s})});u.displayName="PaginationContent";let x=s.forwardRef((e,i)=>{let{className:a,...s}=e;return(0,t.jsx)("li",{ref:i,className:(0,d.cn)("",a),...s})});x.displayName="PaginationItem";let PaginationLink=e=>{let{className:i,isActive:a,size:s="icon",...l}=e;return(0,t.jsx)(m(),{"aria-current":a?"page":void 0,className:(0,d.cn)((0,c.d)({variant:a?"link":"ghost",size:s}),i),...l})};PaginationLink.displayName="PaginationLink";let PaginationPrevious=e=>{let{className:i,...a}=e;return(0,t.jsxs)(PaginationLink,{"aria-label":"Go to previous page",size:"default",className:(0,d.cn)("gap-1 pl-2.5",i),...a,children:[(0,t.jsx)(l.Z,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Pr\xe9c\xe9dent"})]})};PaginationPrevious.displayName="PaginationPrevious";let PaginationNext=e=>{let{className:i,...a}=e;return(0,t.jsxs)(PaginationLink,{"aria-label":"Go to next page",size:"default",className:(0,d.cn)("gap-1 pr-2.5",i),...a,children:[(0,t.jsx)("span",{children:"Suivant"}),(0,t.jsx)(r.Z,{className:"h-4 w-4"})]})};PaginationNext.displayName="PaginationNext";let PaginationEllipsis=e=>{let{className:i,...a}=e;return(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,d.cn)("flex h-9 w-9 items-center justify-center",i),...a,children:[(0,t.jsx)(n.Z,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]})};PaginationEllipsis.displayName="PaginationEllipsis";var pagination_PaginationList=e=>{let{count:i,limit:a=12,contextQuery:s,path:l=""}=e,r=s.page||1,n=Number(r),d=Number(a),c=Number(i),o=Math.ceil(c/d),m=Array.from({length:o},(e,i)=>i+1),addingQueryParams=e=>({pathname:l,query:{...s,page:e}});return(0,t.jsx)(Pagination,{children:(0,t.jsxs)(u,{children:[n>1&&(0,t.jsx)(x,{children:(0,t.jsx)(PaginationPrevious,{href:addingQueryParams(n-1)})}),o>1&&m.filter(e=>e>=n-2&&e<=n+2).map((e,i)=>e>=n+2||e<=n-2?(0,t.jsx)(PaginationEllipsis,{},"ellipsis-".concat(e)):(0,t.jsx)(x,{children:(0,t.jsx)(PaginationLink,{isActive:n==e,href:addingQueryParams(e),children:e})},"pagination-".concat(e))),n<o&&(0,t.jsx)(x,{children:(0,t.jsx)(PaginationNext,{href:addingQueryParams(n+1)})})]})})}},68761:function(e,i,a){a.d(i,{D:function(){return socialShare_SocialShare}});var t=a(85893);a(67294);var s=a(57816),l=a(73371),r=a(9663),n=a(38666),d=a(85430),c=a(68099),o=a(78667),m=a(79384),u=a(41664),x=a.n(u),socialShare_SocialShare=e=>{let{node:i,txtButton:a=!0,...u}=e,h="https://www.rrb.nc".replace(/\/$/,"")+"/"+i.path.alias.replace(/^\//,""),{toast:f}=(0,s.pm)(),copyToClipboard=async()=>{try{await navigator.clipboard.writeText(h),f({description:"Le lien a \xe9t\xe9 copi\xe9"})}catch(e){console.error(e)}},p="https://www.rrb.nc"+i.path.alias,g="",_="";("node--article"===i.type||"node--article_archive"===i.type)&&(g=i.title+" - Article RRB",_=i.field_sous_titre+"%0D%0A%0D%0AVoir l'article complet sur le site RRB : "+p),"node--podcast"===i.type&&(g=i.title+" - Podcast RRB",_=i.metatag[1].attributes.content+"%0D%0A%0D%0A\xc9couter le podcast complet sur le site RRB : "+p),"node--emission"===i.t
1ype&&(g=i.title+" - \xc9mission RRB",_=i.metatag[1].attributes.content+"%0D%0A%0D%0ARegarder l'\xe9mission sur le site RRB : "+p),"node--avis"===i.type&&(g=i.title+" - Avis RRB",_=i.metatag[1].attributes.content+"%0D%0A%0D%0AVoir l'avis sur le site RRB : "+p);let j="mailto:?subject="+g+"&body="+_;return(0,t.jsxs)(l.h_,{children:[(0,t.jsx)(l.$F,{asChild:!0,children:(0,t.jsx)(r.z,{className:"w-full md:w-fit",variant:"tertiary",iconLeft:(0,t.jsx)(n.Z,{size:"20"}),children:a?"Partager":""})}),(0,t.jsxs)(l.AW,{align:"end",children:[(0,t.jsx)(l.Ju,{children:"Partager ce contenu"}),(0,t.jsx)(l.Xi,{asChild:!0,className:"justify-start",children:(0,t.jsxs)(x(),{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(h),target:"_blank",className:"cursor-pointer",children:[(0,t.jsx)(d.Z,{size:18,className:"mr-2"}),"Partager sur Facebook"]})}),(0,t.jsx)(l.Xi,{asChild:!0,className:"justify-start",children:(0,t.jsxs)(x(),{href:"https://twitter.com/share?url=".concat(h),target:"_blank",className:"cursor-pointer",children:[(0,t.jsx)(c.Z,{size:18,className:"mr-2"}),"Partager sur X"]})}),(0,t.jsx)(l.Xi,{asChild:!0,className:"justify-start",children:(0,t.jsxs)("span",{onClick:copyToClipboard,className:"cursor-pointer",children:[(0,t.jsx)(o.Z,{size:18,className:"mr-2"}),"Copier le lien"]})}),("node--article"===i.type||"node--article_archive"===i.type||"node--podcast"===i.type||"node--emission"===i.t
1ype||"node--avis"===i.type)&&(0,t.jsx)(l.Xi,{asChild:!0,className:"justify-start",children:(0,t.jsxs)(x(),{href:j,className:"cursor-pointer",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(m.Z,{size:18,className:"mr-2"}),"Partager par courriel"]})})]})]})}},62471:function(e,i,a){a.d(i,{f:function(){return Ads}});var t=a(85893),s=a(98425),l=a(45139);a(67294);var r=a(55968);let n=(0,l.j)("bg-muted grid place-items-center",{variants:{dimension:{728090:"w-[728px] h-[90px]",300600:"w-[300px] h-[600px]",300250:"w-[300px] h-[250px]",320050:"w-[320px] h-[50px]"}},defaultVariants:{dimension:"728090"}}),Ads=e=>{let{className:i,dimension:a,adsId:l="",...d}=e;return(0,t.jsx)("ins",{"data-revive-zoneid":l,"data-revive-id":"cc7ff8432ae160f990ceec790804c9ce",className:(0,s.cn)("inline-block",i),...d,children:(0,t.jsx)("div",{className:n({dimension:a}),children:(0,t.jsx)(r.P7,{size:"40"})})})}},48919:function(e,i,a){a.d(i,{AG:function(){return u},At:function(){return m},Jb:function(){return c},aG:function(){return d},bg:function(){return BreadcrumbSeparator},gN:function(){return o}});var t=a(85893),s=a(67294),l=a(88426),r=a(64998),n=(a(9404),a(98425));let d=s.forwardRef((e,i)=>{let{...a}=e;return(0,t.jsx)("nav",{ref:i,"aria-label":"breadcrumb",...a})});d.displayName="Breadcrumb";let c=s.forwardRef((e,i)=>{let{className:a,...s}=e;return(0,t.jsx)("ol",{ref:i,className:(0,n.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",a),...s})});c.displayName="BreadcrumbList";let o=s.forwardRef((e,i)=>{let{className:a,...s}=e;return(0,t.jsx)("li",{ref:i,className:(0,n.cn)("inline-flex items-center gap-1.5",a),...s})});o.displayName="BreadcrumbItem";let m=s.forwardRef((e,i)=>{let{asChild:a,className:s,...r}=e,d=a?l.g7:"a";return(0,t.jsx)(d,{ref:i,className:(0,n.cn)("transition-colors hover:text-foreground",s),...r})});m.displayName="BreadcrumbLink";let u=s.forwardRef((e,i)=>{let{className:a,...s}=e;return(0,t.jsx)("span",{ref:i,role:"link","aria-disabled":"true","aria-current":"page",className:(0,n.cn)("font-normal text-foreground",a),...s})});u.displayName="BreadcrumbPage";let BreadcrumbSeparator=e=>{let{children:i,className:a,...s}=e;return(0,t.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,n.cn)("[&>svg]:size-3.5",a),...s,children:null!=i?i:(0,t.jsx)(r.Z,{})})};BreadcrumbSeparator.displayName="BreadcrumbSeparator"},53836:function(e,i,a){var t=a(85893),s=a(20373),l=a(9663);i.Z=e=>{let{loading:i,children:a,...r}=e;return(0,t.jsx)(l.z,{...r,children:i?(0,t.jsx)(s.Z,{}):a})}},2053:function(e,i,a){a.d(i,{O:function(){return Skeleton}});var t=a(85893),s=a(98425),l=a(45139);let r=(0,l.j)("animate-pulse",{variants:{variant:{default:"bg-muted",contrast:"bg-neutral-600"}},defaultVariants:{variant:"default"}});function Skeleton(e){let{className:i,variant:a,...l}=e;return(0,t.jsx)("div",{className:(0,s.cn)(r({variant:a}),i),...l})}}}]);
2//# sourceMappingURL=301-303e175f8ea73226.js.map

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.