PageSourceSearch

https://www.inet-ets.net/_next/static/chunks/3ftavx101nfrf.js?dpl=dpl_2SP6LGCXGieobYijqKdK5jdcukQB

js inet-ets.net collected 2026-10-06 16:49:03 UTC 10,226 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1772,e=>{"use strict";var t=e.i(46158);e.s(["ChevronRightIcon",()=>t.default])},22599,e=>{"use strict";var t=e.i(43476),l=e.i(25470);e.i(20828);var r=e.i(1772),n=e.i(23393);e.s(["default",0,function(e){let{children:a,href:o,className:s}=e,i=(0,t.jsxs)(t.Fragment,{children:[a,(0,t.jsx)(r.ChevronRightIcon,{className:"size-5 md:size-6"})]}),d="inline-flex items-center gap-1.5 self-start rounded-full py-2 text-base text-purple-primary transition-colors md:gap-2.5 md:text-xl dark:text-purple-secondary";return o?(0,t.jsx)(l.default,{href:o,className:(0,n.cn)(d,"hover:text-purple-tertiary dark:hover:text-white",s),children:i}):(0,t.jsx)("span",{className:(0,n.cn)(d,"group-hover:text-purple-tertiary dark:group-hover:text-white",s),children:i})}])},67585,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let r=e.r(32061);function n(e){let{reason:t,children:l}=e;if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return l}},9885,(e,t,l)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"encodeURIPath",{enumerable:!0,get:function(){return r}})},52157,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"PreloadChunks",{enumerable:!0,get:function(){return i}});let r=e.r(43476),n=e.r(74080),a=e.r(63599),o=e.r(9885),s=e.r(43369);function i(e){let{moduleIds:t}=e;if("u">typeof window)return null;let l=a.workAsyncStorage.getStore();if(void 0===l)return null;let i=[];if(l.reactLoadableManifest&&t){let e=l.reactLoadableManifest;for(let l of t){if(!e[l])continue;let t=e[l].files;i.push(...t)}}if(0===i.length)return null;let d=(0,s.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:i.map(e=>{let t=`${l.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:l.nonce},e):((0,n.preload)(t,{as:"script",fetchPriority:"low",nonce:l.nonce}),null)})})}},83243,e=>{"use strict";var t=e.i(43476),l=e.i(23393);e.s(["default",0,function(e){let{children:r,as:n="h5",className:a}=e;return(0,t.jsx)(n,{className:(0,l.cn)("text-xl text-foreground 1xl:text-2xl",a),children:r})}])},6009,e=>{"use strict";var t=e.i(43476),l=e.i(23393);e.s(["default",0,function(e){let{children:r,icon:n,variant:a="solid",className:o,style:s}=e;return(0,t.jsxs)("span",{style:s,className:(0,l.cn)("inline-flex h-8 items-center gap-1.5 rounded-full py-1 text-sm whitespace-nowrap lg:text-lg",n?"pl-1.5 pr-3":"px-3","solid"===a&&"bg-pill text-on-pill","outline"===a&&"border border-foreground text-muted",o),children:[n&&(0,t.jsx)("span",{className:"inline-flex size-5 shrink-0 items-center justify-center lg:size-6 [&>svg]:size-full",children:n}),r]})}])},85084,e=>{"use strict";var t=e.i(43476),l=e.i(71645),r=e.i(71111),n=e.i(23393),a=e.i(25470);e.i(20828);var o=e.i(614),o=o,s=e.i(82200),s=s,i=e.i(6009),d=e.i(22599),u=e.i(83243);function c(e){let{event:l}=e,{data:c,url:m}=l,p=r.isFilled.timestamp(c.date_start)?(0,n.formatDate)({date:c.date_start}):null,x=r.isFilled.timestamp(c.date_end)?(0,n.formatDate)({date:c.date_end}):null,h=p?[f(p),x&&f(x)].filter(Boolean).join(" - "):null,g=c.format,b=c.place,v=r.isFilled.contentRelationship(g)?g.data?.label:null,w=r.isFilled.contentRelationship(g)?g.data?.color:null,j=r.isFilled.contentRelationship(b)?b.data?.label:null;return(0,t.jsxs)(a.default,{href:m??"/programme",className:"group flex h-full w-full max-w-none flex-col gap-4 roun
1ded-2xl border border-border bg-surface px-4 py-6 shadow-card transition-shadow hover:shadow-lg xl:max-w-108",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2.5",children:[h&&(0,t.jsx)(i.default,{icon:(0,t.jsx)(s.default,{}),children:h}),v&&(0,t.jsx)(i.default,{className:(0,n.cn)("text-on-brand",!w&&"bg-red-primary"),style:w?{backgroundColor:w}:void 0,children:v})]}),j&&(0,t.jsx)(i.default,{variant:"outline",icon:(0,t.jsx)(o.default,{className:"size-5 lg:size-6"}),className:"w-fit",children:j}),r.isFilled.keyText(c.title)&&(0,t.jsx)(u.default,{as:"h2",children:c.title})]}),(0,t.jsx)(d.default,{children:"En savoir plus"})]})}function f(e){let{hours:t,minutes:l}=e;return`${t}h${l.toString().padStart(2,"0")}`}var m=e.i(1772);function p(e){let{placeholder:r,options:a,value:o,onChange:s,className:i,allLabel:d="Tous"}=e,[u,c]=(0,l.useState)(!1),f=(0,l.useRef)(null),p=(0,l.useId)(),x=a.find(e=>e.value===o)??null;return(0,l.useEffect)(()=>{if(!u)return;let e=e=>{f.current&&!f.current.contains(e.target)&&c(!1)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[u]),(0,t.jsxs)("div",{ref:f,className:(0,n.cn)("relative shrink-0",i),children:[(0,t.jsxs)("button",{type:"button","aria-haspopup":"listbox","aria-expanded":u,"aria-controls":u?p:void 0,onClick:()=>c(e=>!e),onKeyDown:e=>{"Escape"===e.key&&c(!1)},className:(0,n.cn)("flex h-11 w-full cursor-pointer items-center justify-between gap-2.5 rounded-full border border-foreground px-4 py-2.5 text-base transition-colors md:inline-flex md:h-9.5 md:w-auto md:justify-start md:py-2",x?"bg-foreground text-inverse":"text-foreground hover:bg-foreground
1/5"),children:[(0,t.jsx)("span",{className:"whitespace-nowrap",children:x?.label??r}),(0,t.jsx)(m.ChevronRightIcon,{className:(0,n.cn)("size-5 transition-transform",u?"-rotate-90":"rotate-90")})]}),u&&(0,t.jsxs)("ul",{id:p,role:"listbox","aria-label":r,className:"absolute left-0 top-[calc(100%+8px)] z-10 w-full overflow-hidden rounded-2xl border border-border bg-surface py-1 shadow-card md:max-w-[min(320px,calc(100vw-2rem))] md:min-w-56 md:w-auto",children:[(0,t.jsx)("li",{role:"option","aria-selected":null===o,children:(0,t.jsx)("button",{type:"button",onClick:()=>{s(null),c(!1)},className:(0,n.cn)("flex w-full cursor-pointer items-center px-4 py-3 text-left text-base transition-colors md:py-2",null===o?"bg-foreground/5 font-medium text-foreground":"text-foreground hover:bg-foreground/5"),children:d})}),a.map(e=>{let l=e.value===o;return(0,t.jsx)("li",{role:"option","aria-selected":l,children:(0,t.jsx)("button",{type:"button",onClick:()=>{var t;s((t=e.value)===o?null:t),c(!1)},className:(0,n.cn)("flex w-full cursor-pointer items-center px-4 py-3 text-left text-base transition-colors md:py-2",l?"bg-foreground
1/5 font-medium text-foreground":"text-foreground hover:bg-foreground/5"),children:e.label})},e.value)})]})]})}function x(e){let{days:l,activeIndex:r,onSelect:a,className:o}=e;return(0,t.jsx)("div",{role:"tablist","aria-orientation":"horizontal",className:(0,n.cn)("flex w-full flex-wrap items-center justify-center gap-1.5 rounded-3xl border border-foreground p-1.5 md:inline-flex md:h-18 md:w-auto md:max-w-full md:flex-nowrap md:gap-2.5 md:rounded-full",o),children:l.map((e,l)=>{let o=l===r;return(0,t.jsx)("button",{role:"tab","aria-selected":o,onClick:()=>a(l),className:(0,n.cn)("flex h-full w-full shrink-0 cursor-pointer items-center justify-center rounded-full px-4 py-3 text-base leading-tight whitespace-nowrap transition-colors md:w-auto md:px-6.5 md:py-2.25 md:text-base lg:text-xl",o?"bg-white font-bold text-on-brand shadow-card":"bg-border text-on-brand hover:bg-white"),children:e},e)})})}var h=e.i(71971);let g={hour:null,format:null,place:null,modality:null},b=e=>e.map(e=>({value:e.id,label:e.label??""}));e.s(["default",0,function(e){let{days:a,eventFilters:o}=e,[s,i]=(0,l.useState)(g),[d,u]=(0,l.useState)(0),f=n.EVENT_HOUR_OPTIONS,m=(0,l.useMemo)(()=>b(o.formats),[o.formats]),v=(0,l.useMemo)(()=>b(o.places),[o.places]),w=(0,l.useMemo)(()=>b(o.modalities),[o.modalities]),j=a[d],y=a.some(e=>e.events.length>0),N=Object.values(s).some(Boolean),R=(0,l.useMemo)(()=>j?j.events.filter(e=>{var t,l;return t=e,(!(l=s).hour||(0,n.getEventHour)(t)===Number(l.hour))&&(!l.format||(r.isFilled.contentRelationship(t.data.format)?t.data.format.id:null)===l.format)&&(!l.place||(r.isFilled.contentRelationship(t.data.place)?t.data.place.id:null)===l.place)&&(!l.modality||!!t.data.modalities.map(e=>r.isFilled.contentRelationship(e.modality)?e.modality.id:null).filter(Boolean).includes(l.modality))&&!0}):[],[j,s]);return(0,t.jsxs)("div",{className:"flex flex-col items-center gap-10 md:gap-14",children:[y&&(0,t.jsx)(x,{days:a.map(e=>e.label),activeIndex:d,onSelect:u}),y&&(0,t.jsxs)("div",{className:"flex w-full flex-col items-stretch gap-3 md:flex-row md:flex-wrap md:items-center md:gap-5",children:[(0,t.jsx)("span",{className:"text-lg text-foreground",children:"Filtrer par"}),(0,t.jsx)(p,{placeholder:"Horaire",allLabel:"Tous les horaires",className:"w-full md:w-auto",options:f,value:s.hour,onChange:e=>i(t=>({...t,hour:e}))}),(0,t.jsx)(p,{placeholder:"Format",allLabel:"Tous les formats",className:"w-full md:w-auto",options:m,value:s.format,onChange:e=>i(t=>({...t,format:e}))}),(0,t.jsx)(p,{placeholder:"Lieu",allLabel:"Tous les lieux",className:"w-full md:w-auto",options:v,value:s.place,onChange:e=>i(t=>({...t,place:e}))}),(0,t.jsx)(p,{placeholder:"Thème",allLabel:"Tous les thèmes",className:"w-full md:w-auto",options:w,value:s.modality,onChange:e=>i(t=>({...t,modality:e}))}),N&&(0,t.jsxs)("button",{type:"button",onClick:()=>i(g),className:"flex h-11 w-full shrink-0 cursor-pointer items-center justify-center gap-1.5 rounded-full px-4 py-2.5 text-base text-muted underline-offset-4 transition-colors hover:text-foreground hover:underline md:inline-flex md:h-9.5 md:w-auto md:py-2",children:[(0,t.jsx)(h.CrossIcon,{className:"size-4","aria-hidden":"true"}),"Réinitialiser les filtres"]})]}),R.length>0?(0,t.jsx)("div",{className:"grid w-full grid-cols-1 justify-items-center gap-8 md:grid-cols-2 xl:grid-cols-3",children:R.map(e=>(0,t.jsx)(c,{event:e},e.id))}):y&&(0,t.jsx)("p",{role:"status",className:"text-lg text-muted",children:"Aucun événement ne correspond à ces filtres."})]})}],85084)}]);

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.