PageSourceSearch

https://www.lafrancheville.fr/_next/static/chunks/pages/node--official-788f77f95f8c70ee.js

js lafrancheville.fr collected 2026-10-02 16:51:24 UTC 11,685 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1098],{9630:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/node--official",function(){return r(3102)}])},9732:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var i=r(3288),l=(r(2466),r(6731)),a=r.n(l),n=r(8082);function s(e){var t=e.crumbs,r=e.className,l=(0,n.Z)("common").t;return t&&(0,i.jsx)("nav",{"aria-label":l("breadcrumb.title"),className:r,children:(0,i.jsx)("ol",{className:"flex flex-wrap items-center mb-6",children:t.map((function(e,r){var n=0===r,s=r===t.length-1;return(0,i.jsxs)("li",{className:"mb-0.5 font-important font-medium tracking-wider uppercase text-xs",children:[!n&&(0,i.jsx)("span",{className:"inline-block px-4 separator","aria-hidden":"true",children:"/"}),!s&&e.path?(0,i.jsx)(a(),{href:e.translate?l(e.path):e.path,passHref:!0,children:(0,i.jsx)("a",{className:"underline underline-offset-4 decoration-transparent hover:decoration-white transition-colors",children:e.translate?l(e.title):e.title})}):(0,i.jsx)("span",{className:"text-opacity-80",children:e.translate?l(e.title):e.title})]},"crumb-".concat(e.title))}))})})}var o=r(315);function c(e){var t=e.crumbs,r=e.title,l=e.subtitle,a=e.variant,n=void 0===a?"primary":a;return(0,i.jsxs)("section",{className:(0,o.Z)("relative pt-12 pb-28 overflow-hidden",{primary:"bg-primary-dark text-white",secondary:"bg-secondary text-white",tertiary:"bg-tertiary text-white"}[n]),children:[(0,i.jsx)("div",{className:"absolute left-1/2 top-16 text-[210px] leading-none text-default opacity-10 font-important font-bold whitespace-nowrap","aria-hidden":"true",children:r}),(0,i.jsxs)("div",{className:"relative container mx-auto px-4",children:[(0,i.jsx)(s,{crumbs:t,className:"mb-16"}),(0,i.jsx)("h1",{className:"flex-1 text-4xl lg:text-6xl font-important font-bold",children:r}),l&&(0,i.jsx)("div",{className:"flex justify-center lg:justify-start items-center mt-16",children:"string"===typeof l?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"inline-block h-2.5 w-2.5 mr-4 border-2 border-primary rounded-full","aria-hidden":"true"}),(0,i.jsx)("p",{children:l})]}):l})]})]})}},6482:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var i=r(3288),l=r(3530),a=r(315),n=r(8082),s=r(6731),o=r.n(s);r(2466);function c(e){var t=e.link,r=e.variant,s=(0,n.Z)("common").t,c={primary:{background:"group-hover:bg-primary",icon:"text-primary"},secondary:{background:"group-hover:bg-secondary",icon:"text-secondary"},tertiary:{background:"group-hover:bg-tertiary",icon:"text-tertiary"}};return(0,i.jsx)("div",{className:"absolute bottom-0 right-0",children:(0,i.jsx)(o(),{href:t,passHref:!0,children:(0,i.jsxs)("a",{className:(0,a.Z)("block p-5 border-t border-l bg-white transition-colors",c[r].background),children:[(0,i.jsx)(l.Z,{className:(0,a.Z)("h-4 w-4 text-primary group-hover:text-white transition-colors",c[r].icon)}),(0,i.jsx)("span",{className:"sr-only",children:s("utils.more_link")})]})})})}},4042:function(e,t,r){"use strict";r.d(t,{ZP:function(){return b},sF:function(){return h},uG:function(){return g}});var i=r(3288),l=(r(2466),r(1395)),a=r(2493),n=r.n(a),s=r(6731),o=r.n(s),c=r(3530),d=r(681),m=r(315),u=r(8082),f=r(6482);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),i.forEach((function(t){p(e,t,r[t])}))}return e}var h={primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",red:"text-red-500",orange:"text-orange-600",yellow:"text-yellow-500",green:"text-green-600",cyan:"text-cyan-600",sky:"text-sky-600",purple:"text-purple-600",fuchsia:"text-fuchsia-600",pink:"text-pink-500"};function b(e){var t,r=e.node,a=(0,l.useRouter)();(0,u.Z)("common").t;return(0,i.jsxs)("article",{className:"group cursor-pointer relative flex flex-col",onClick:function(){return a.push(r.path.alias)},children:[(0,i.jsxs)("div",{className:"flex flex-col order-2 relative p-8 pb-16 lg:p-16 md:ml-8 lg:ml-52 md:-mt-20 lg:mt-20 bg-white shadow-spread z-10",children:[(0,i.jsx)("h2",{className:"order-2 text-xl font-important font-bold mb-8",children:(0,i.jsx)(o(),{href:r.path.alias,passHref:!0,children:(0,i.jsx)("a",{children:r.title})})}),r.body&&(0,i.jsx)("div",{className:"order-3 prose max-w-none line-clamp-2 mb-4 text-sm",children:(0,i.jsx)(d.Z,{value:r.body.summary?r.body.summary:r.body.value.replace(/(<([^>]+)>)/gi,"")})}),(0,i.jsx)("div",{className:(0,m.Z)("order-1 mb-4 uppercase font-important font-medium tracking-wider text-sm after:content-['/'] after:ml-2",r.field_type.field_color?h[r.field_type.field_color]:"text-primary"),children:r.field_type.name}),(0,i.jsx)(f.Z,{link:r.path.alias,variant:"primary"})]}),(0,i.jsx)("div",{className:"lg:absolute top-0 left-0 w-full md:w-5/6 lg:w-1/2",children:(0,i.jsx)("div",{className:"aspect-w-16 aspect-h-9 md:aspect-h-11 overflow-hidden",children:(null===(t=r.field_image)||void 0===t?void 0:t.image_style_uri.medium_16by10)&&(0,i.jsx)(n(),x({src:r.field_image.image_style_uri.medium_16by10},r.field_image.resourceIdObjMeta,{layout:"fill",objectFit:"cover",className:"group-hover:scale-110 transition"}))})})]})}function g(e){var t,r=e.node,a=(0,l.useRouter)(),s=(0,u.Z)("common").t;return(0,i.jsxs)("article",{className:"group cursor-pointer relative flex flex-col",onClick:function(){return a.push(r.path.alias)},children:[(0,i.jsxs)("div",{className:"flex flex-col order-2 relative p-8 pb-16 lg:p-16 md:ml-32 lg:ml-20 lg:mr-5 md:-mt-32 lg:-mt-16 bg-white shadow-spread z-10",children:[(0,i.jsx)("h2",{className:"order-2 text-xl lg:text-2xl font-important font-bold mb-8",children:(0,i.jsx)(o(),{href:r.path.alias,passHref:!0,children:(0,i.jsx)("a",{children:r.title})})}),r.body&&(0,i.jsx)("div",{className:"order-3 prose max-w-none line-clamp-3 mb-4",children:(0,i.jsx)(d.Z,{value:r.body.summary?r.body.summary:r.body.value.replace(/(<([^>]+)>)/gi,"")})}),(0,i.jsx)("div",{className:(0,m.Z)("order-1 mb-4 uppercase font-important font-medium tracking-wider text-sm after:content-['/'] after:ml-2",r.field_type.field_color?h[r.field_type.field_color]:"text-primary"),children:r.field_type.name}),(0,i.jsx)("div",{className:"absolute bottom-0 right-0",children:(0,i.jsx)(o(),{href:r.path.alias,passHref:!0,children:(0,i.jsxs)("a",{className:"block p-5 border-t border-l bg-white group-hover:bg-primary transition-colors",children:[(0,i.jsx)(c.Z,{className:"h-5 w-5 text-primary group-hover:text-white transition-colors"}),(0,i.jsx)("span",{className:"sr-only",children:s("utils.more_link")})]})})})]}),(0,i.jsx)("div",{className:"order-1 w-full md:w-1/2 lg:w-full",children:(0,i.jsx)("div",{className:"aspect-w-16 aspect-h-9 lg:aspect-h-7 h-full overflow-hidden",children:(null===(t=r.field_image)||void 0===t?void 0:t.image_style_uri.medium_16by7)&&(0,i.jsx)(n(),x({src:r.field_image.image_style_uri.medium_16by7},r.field_image.resourceIdObjMeta,{layout:"fill",objectFit:"cover",className:"group-hover:scale-110 transition"}))})})]})}},3102:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return g},default:function(){return y}});
1var i=r(3288),l=(r(2466),r(182)),a=r(9732),n=r(7291),s=r(681),o=r(2493),c=r.n(o),d=r(315),m=r(4042);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),i.forEach((function(t){u(e,t,r[t])}))}return e}function p(e){var t,r,l=e.node;return(0,i.jsxs)("article",{className:"flex flex-col",children:[(0,i.jsxs)("div",{className:"order-2 flex-1 flex flex-col p-8 lg:p-10 bg-white shadow-spread w-full",children:[(0,i.jsx)("h3",{className:"order-2 text-xl lg:text-2xl font-important font-bold mb-4",children:l.title}),(0,i.jsx)("div",{className:(0,d.Z)("order-1 mb-4 uppercase font-important font-medium tracking-wider text-sm after:content-['/'] after:ml-2",l.field_type.field_color?m.sF[l.field_type.field_color]:"text-primary"),children:l.field_type.name}),l.body&&(0,i.jsx)("div",{className:"order-3 prose max-w-none w-full text-sm",children:(0,i.jsx)(s.Z,{value:l.body.value})})]}),(null===(t=l.field_image)||void 0===t?void 0:t.image_style_uri.portrait)&&(0,i.jsx)("div",{className:"order-1",children:(0,i.jsx)("figure",{className:"aspect-w-1 aspect-h-1 overflow-hidden",children:(null===(r=l.field_image)||void 0===r?void 0:r.image_style_uri.portrait)&&(0,i.jsx)(c(),f({src:l.field_image.image_style_uri.portrait},l.field_image.resourceIdObjMeta,{layout:"fill",objectFit:"cover"}))})})]})}function x(e){var t,r,l=e.node;return(0,i.jsxs)("article",{className:"flex flex-col lg:flex-row p-8 lg:p-10 bg-white shadow-spread gap-8",children:[(0,i.jsxs)("div",{className:"order-2 flex-1 flex flex-col w-full",children:[(0,i.jsx)("h3",{className:"order-2 text-xl lg:text-2xl font-important font-bold mb-4",children:l.title}),(0,i.jsx)("div",{className:(0,d.Z)("order-1 mb-4 uppercase font-important font-medium tracking-wider text-sm after:content-['/'] after:ml-2",l.field_type.field_color?m.sF[l.field_type.field_color]:"text-primary"),children:l.field_type.name}),l.body&&(0,i.jsx)("div",{className:"order-3 prose max-w-none text-sm",children:(0,i.jsx)(s.Z,{value:l.body.value})})]}),(null===(t=l.field_image)||void 0===t?void 0:t.image_style_uri.portrait)&&(0,i.jsx)("div",{className:"order-1 -mt-8 -mx-8 lg:mt-0 lg:mx-0 lg:w-3/12",children:(0,i.jsx)("figure",{className:"aspect-w-1 aspect-h-1 overflow-hidden",children:(null===(r=l.field_image)||void 0===r?void 0:r.image_style_uri.portrait)&&(0,i.jsx)(c(),f({src:l.field_image.image_style_uri.portrait},l.field_image.resourceIdObjMeta,{layout:"fill",objectFit:"cover"}))})})]})}function h(e){var t=e.nodes,r=[];return t.forEach((function(e){var t=e.field_type;void 0===r[t.drupal_internal__tid]&&(r[t.drupal_internal__tid]={name:t.field_name_plural||t.name,weight:t.weight,nodes:[]}),r[t.drupal_internal__tid].nodes.push(e)})),r.sort((function(e,t){return Number(e.weight)-Number(t.weight)})).map((function(e,t){var r=0===t;return(0,i.jsxs)("div",{className:r?"":"mt-12",children:[(0,i.jsx)("h2",{className:(0,d.Z)(r?"sr-only":"mb-8 font-important font-bold text-xl"),children:e.name}),r?(0,i.jsx)(x,{node:e.nodes[t]}):(0,i.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8",children:e.nodes.map((function(e){return(0,i.jsx)("div",{children:(0,i.jsx)(p,{node:e})},e.id)}))})]},e.weight)}))}var b=r(8082),g=!0;function y(e){var t=e.globals,r=e.nodes,s=(0,b.Z)("common").t;return(0,i.jsxs)(l.Z,{globals:t,header:(0,i.jsx)(a.Z,{crumbs:[{path:"home.path",title:"home.title",translate:!0},{title:"official.title",translate:!0}],title:s("official.title")}),children:[(0,i.jsx)(n.Z,{title:s("official.title"),description:s("official.description")}),(0,i.jsx)("section",{className:"relative pt-16 pb-28 bg-primary-light",children:(0,i.jsx)("div",{className:"container mx-auto px-4",children:(null===r||void 0===r?void 0:r.length)?(0,i.jsx)(h,{nodes:r}):(0,i.jsx)("p",{className:"py-4",children:s("utils.empty")})})})]})}}},function(e){e.O(0,[7940,4885,9774,2888,179],(function(){return t=9630,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=node--official-788f77f95f8c70ee.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.