1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4839],{87569:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/notre-lexique/[category]",function(){return l(73690)}])},52593:function(e,t,l){"use strict";l.d(t,{f:function(){return i}});var s=l(48282);l(18529);var r=l(64606),a=l(17613);function i(){return(0,s.jsx)(r.Z,{elevation:0,square:!0,className:"flex w-full items-center justify-center",children:(0,s.jsx)(a.Z,{color:"primary",size:100,className:"my-5"})})}},73690:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return b},default:function(){return N}});var s=l(48282),r=l(18529),a=l(60649),i=l(64891),n=l(43130),c=l(52593),o=l(42626),d=l(8463),u=l(36596),m=l(59934),x=l(17613),g=l(26640),p=l(99744),j=l(28649),y=l.n(j),h=l(90227),f=l(76924);let v=e=>[{id:"all",label:e("categories.all")},{id:"a-e",label:"A-E"},{id:"f-j",label:"F-J"},{id:"k-o",label:"K-O"},{id:"p-t",label:"P-T"},{id:"u-z",label:"U-Z"}];var b=!0;function N(e){var t,l,j,b,N,w,_;let[Z,k]=(0,r.useState)("all"),E=e=>{k(e)},{t:q}=(0,f.Z)("glossary"),A=(0,h.useRouter)(),{data:C,isLoading:T}=(0,g.a)(["/api/glossary-pages",Z],()=>(0,a.b1)("all"===Z?{category:e.category.slug.current}:{category:e.category.slug.current,range:Z}));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(y(),{children:[(0,s.jsx)("title",{children:"".concat(null===(t=e.category.seo)||void 0===t?void 0:t.title)}),(0,s.jsx)("meta",{name:"description",content:null===(l=e.category.seo)||void 0===l?void 0:l.description}),(0,s.jsx)("meta",{property:"og:title",content:"".concat(null===(j=e.category.seo)||void 0===j?void 0:j.title)}),(0,s.jsx)("meta",{property:"og:description",content:null===(b=e.category.seo)||void 0===b?void 0:b.description}),(0,s.jsx)("meta",{property:"og:image",content:"".concat(u.vc.webAppHost,"/static/logo.svg")}),(0,s.jsx)("meta",{name:"twitter:title",content:"".concat(null===(N=e.category.seo)||void 0===N?void 0:N.title)}),(0,s.jsx)("meta",{name:"twitter:description",content:null===(w=e.category.seo)||void 0===w?void 0:w.description}),(0,s.jsx)("meta",{name:"twitter:image",content:"".concat(u.vc.webAppHost,"/static/logo.svg")})]}),(0,s.jsxs)("main",{children:[(0,s.jsx)("div",{className:(0,p.Z)("bg-primary-900 text-neutral-0"),children:(0,s.jsxs)(m.A,{className:"py-8",children:[(0,s.jsx)("h1",{className:(0,p.Z)("text-center text-2xl font-extrabold lg:text-left lg:text-3xl"),children:e.category.name}),e.category.subTitle?(0,s.jsx)("div",{className:"my-3 whitespace-pre-line text-center text-xs leading-5 lg:text-left lg:text-sm",children:(0,s.jsx)(o.Y,{value:e.category.subTitle})}):(0,s.jsx)("p",{className:"my-3 whitespace-pre-line text-center text-xs leading-5 lg:text-left lg:text-sm",children:null===(_=e.category.seo)||void 0===_?void 0:_.description}),(0,s.jsx)(d.Z,{onSubmit:e=>{A.push("/notre-lexique/recherche?search=".concat(e))},isCompact:!0,placeholder:q("categories.search-bar.placeholder")})]})}),(0,s.jsxs)(m.A,{className:"pb-10 pt-3",children:[(0,s.jsx)(i.O,{items:[{text:q("home"),url:"/"},{text:q("title"),url:"/notre-lexique"},{text:e.category.name}]}),(0,s.jsxs)("section",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between rounded border border-neutral-100 bg-primary-100 px-6 py-3",children:[(0,s.jsx)("div",{className:"flex w-full items-center justify-between md:w-auto md:justify-start",children:v(q).map(e=>(0,s.jsx)("a",{className:(0,p.Z)("cursor-pointer text-sm font-bold md:mr-10 md:text-base",{"text-primary-900":Z===e.id}),onClick:()=>E(e.id),children:e.label},e.id))}),(0,s.jsxs)("p",{className:"hidden md:block",children:[q("categories.total"),":",T&&!C?(0,s.jsx)(x.Z,{color:"primary",className:"ml-1 size-5"}):C&&(0,s.jsx)("a",{className:"ml-1 cursor-pointer text-primary-900 underline",onClick:()=>E("all"),children:"".concat(null==C?void 0:C.length," ").concat(q(((null==C?void 0:C.length)||0)>1?"categories.terms":"categories.term"))})]})]}),T&&!C?(0,s.jsx)(c.f,{}):C&&(0,s.jsx)("ul",{className:"mt-3",children:null==C?void 0:C.map(t=>(0,s.jsx)("li",{className:"h-full [&:not(:first-of-type)]:mt-3",children:(0,s.jsx)(n.Z,{title:t.title,de
1scription:t.summary,url:"/notre-lexique/".concat(e.category.slug.current,"/").concat(t.slug.current)})},t._id))}),(0,s.jsx)("div",{className:"mt-8",children:(0,s.jsx)(o.Y,{value:e.category.description})})]})]})]})]})}}},function(e){e.O(0,[59146,10044,49759,25425,44134,76599,70837,77513,35382,92888,49774,40179],function(){return e(e.s=87569)}),_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.