PageSourceSearch

https://draftly-blog.netlify.app/_next/static/chunks/app/%5Blocale%5D/blog/%5Bslug%5D/page-890fd9683928e6d3.js

js draftly-blog.netlify.app collected 2026-10-03 10:40:31 UTC 27,504 bytes, 7 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8414],{9778:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var n=l(95155),r=l(12115);let s=e=>{let{value:t=0,size:l=16,max:s=5}=e,i=(0,r.useId)(),a=Math.max(0,Math.min(s,t)),o=Math.floor(a),c=a-o>=.5,d=[...Array(o).fill("full"),...c?["half"]:[],...Array(s-o-!!c).fill("empty")];return(0,n.jsxs)("div",{className:"flex items-center","aria-hidden":0===t,children:[d.map((e,t)=>(0,n.jsxs)("svg",{width:l,height:l,viewBox:"0 0 24 24",fill:"full"===e?"currentColor":"none",stroke:"currentColor",strokeWidth:1.2,className:"text-emerald-600 ".concat("half"===e?"opacity-100":""," mr-0.5"),xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:["full"===e&&(0,n.jsx)("path",{d:"M12 .587l3.668 7.431L23.4 9.75l-5.7 5.556L18.836 24 12 20.201 5.164 24l1.136-8.694L.6 9.75l7.732-1.732L12 .587z"}),"half"===e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"half-".concat(i),x1:"0",x2:"1",children:[(0,n.jsx)("stop",{offset:"50%",stopColor:"currentColor"}),(0,n.jsx)("stop",{offset:"50%",stopColor:"#e5e7eb"})]})}),(0,n.jsx)("path",{fill:"url(#half-".concat(i,")"),d:"M12 .587l3.668 7.431L23.4 9.75l-5.7 5.556L18.836 24 12 20.201 5.164 24l1.136-8.694L.6 9.75l7.732-1.732L12 .587z"}),(0,n.jsx)("path",{fill:"none",d:"M12 .587l3.668 7.431L23.4 9.75l-5.7 5.556L18.836 24 12 20.201 5.164 24l1.136-8.694L.6 9.75l7.732-1.732L12 .587z",stroke:"currentColor"})]}),"empty"===e&&(0,n.jsx)("path",{d:"M12 .587l3.668 7.431L23.4 9.75l-5.7 5.556L18.836 24 12 20.201 5.164 24l1.136-8.694L.6 9.75l7.732-1.732L12 .587z"})]},t)),(0,n.jsxs)("span",{className:"sr-only",children:[t," out of ",s]})]})}},16547:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var n=l(95155);l(12115);var r=l(92284),s=l(15239),i=l(9778);function a(e){return String(e).toLowerCase().normalize("NFD").replace(RegExp("\\p{Diacritic}","gu"),"").replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-")}let o={block:{h1:e=>{var t,l,r;let{children:s,value:i}=e,o=a((null==s||null==(t=s.toString)?void 0:t.call(s))||(null==i||null==(r=i.children)||null==(l=r[0])?void 0:l.text)||"");return(0,n.jsx)("h1",{id:o,className:"scroll-mt-28 text-2xl font-bold m-0 leading-tight",children:s})},h2:e=>{var t,l,r;let{children:s,value:i}=e,o=a((null==s||null==(t=s.toString)?void 0:t.call(s))||(null==i||null==(r=i.children)||null==(l=r[0])?void 0:l.text)||"");return(0,n.jsxs)("h2",{id:o,className:"scroll-mt-28 text-xl font-semibold m-0 leading-snug flex items-stretch gap-4",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"w-1 bg-[#e4debc] rounded self-stretch"}),(0,n.jsx)("span",{className:"inline-block",children:s})]})},h3:e=>{var t,l,r;let{children:s,value:i}=e,o=a((null==s||null==(t=s.toString)?void 0:t.call(s))||(null==i||null==(r=i.children)||null==(l=r[0])?void 0:l.text)||"");return(0,n.jsx)("h3",{id:o,className:"scroll-mt-28 text-lg font-medium m-0 leading-snug",children:s})},h4:e=>{var t,l,r;let{children:s,value:i}=e,o=a((null==s||null==(t=s.toString)?void 0:t.call(s))||(null==i||null==(r=i.children)||null==(l=r[0])?void 0:l.text)||"");return(0,n.jsx)("h4",{id:o,className:"scroll-mt-28 text-base font-semibold m-0 leading-tight",children:s})},h5:e=>{var t,l,r;let{children:s,value:i}=e,o=a((null==s||null==(t=s.toString)?void 0:t.call(s))||(null==i||null==(r=i.children)||null==(l=r[0])?void 0:l.text)||"");return(0,n.jsx)("h5",{id:o,className:"scroll-mt-28 text-sm font-medium m-0 leading-tight",children:s})},normal:e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"whitespace-pre-wrap m-0 leading-normal",children:t})},tight:e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"whitespace-pre-wrap m-0 leading-tight",children:t})},relaxed:e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"whitespace-pre-wrap m-0 leading-relaxed",children:t})},loose:e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"whitespace-pre-wrap m-0 leading-loose",children:t})},lead:e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"whitespace-pre-wrap text-lg leading-relaxed text-gray-700 m-0",children:t})},blockquote:e=>{let{children:t}=e;return(0,n.jsx)("blockquote",{className:"border-l-4 border-emerald-500/40 pl-4 italic m-0",children:t})}},list:{bullet:e=>{let{children:t}=e;return(0,n.jsx)("ul",{className:"list-disc pl-6 m-0",children:t})},number:e=>{let{children:t}=e;return(0,n.jsx)("ol",{className:"list-decimal pl-6 m-0",children:t})},checkmarks:e=>{let{children:t}=e;return(0,n.jsx)("ul",{className:"pl-6 m-0",children:t})}},listItem:{bullet:e=>{let{children:t}=e;return(0,n.jsx)("li",{className:"whitespace-pre-wrap m-0",children:t})},number:e=>{let{children:t}=e;return(0,n.jsx)("li",{className:"whitespace-pre-wrap m-0",children:t})}},marks:{link:e=>{let{value:t,children:l}=e,r=(null==t?void 0:t.href)||"#",s=r;try{let e=new URL(r);["draftly.blog","www.draftly.blog"].includes(e.hostname)&&(s=e.pathname+e.search+e.hash)}catch(e){}let i=/^https?:\/\//.test(s)&&!s.startsWith("/")&&!s.startsWith("#");return(0,n.jsx)("a",{href:s,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,className:"underline decoration-emerald-600/40 hover:decoration-emerald-600",children:l})},internalLink:e=>{let{value:t,children:l}=e;if(!(e=>"object"==typeof e&&null!==e&&"internalLink"===e._type&&!!e.reference&&"object"==typeof e.reference&&"string"==typeof e.reference._ref)(t))return(0,n.jsx)("span",{className:"underline decoration-red-400",title:"Invalid internalLink mark",children:l});let{slug:r,lang:s}=t,i=t.anchor&&/^[a-z0-9-]+$/.test(t.anchor)?t.anchor:void 0;if(!r)return(0,n.jsx)("span",{className:"underline decoration-yellow-400",title:"Slug missing (preview?)",children:l});let a=s?"/".concat(s,"/blog/").concat(r):"/blog/".concat(r),o=i?"".concat(a,"#").concat(i):a;return(0,n.jsx)("a",{href:o,className:"underline decoration-emerald-600/40 hover:decoration-emerald-600",children:l})},code:e=>{let{children:t}=e;return(0,n.jsx)("code",{className:"px-1.5 py-0.5 rounded bg-gray-100 text-gray-800",children:t})},underline:e=>{let{children:t}=e;return(0,n.jsx)("u",{children:t})},"strike-through":e=>{let{children:t}=e;return(0,n.jsx)("s",{children:t})},mark:e=>{let{children:t}=e;return(0,n.jsx)("span",{className:"bg-yellow-100 px-0.5 rounded",children:t})},emailLink:e=>{let{value:t,children:l}=e,r=(null==t?void 0:t.email)||"",s=(null==t?void 0:t.subject)?"?subject=".concat(encodeURIComponent(t.subject)):"",i="mailto:".concat(r).concat(s);return(0,n.jsx)("a",{href:i,className:"underline decoration-emerald-600/40 hover:decoration-emerald-600",children:l})},textStyle:e=>{let{value:t,children:l}=e,r=null==t?void 0:t.style;return(0,n.jsx)("span",{className:{highlight:"bg-yellow-100",muted:"text-gray-500",accent:"text-emerald-600 font-semibold"}[r]||"",children:l})}},types:{image:e=>{var t;let{value:l}=e,r=(null==l||null==(t=l.asset)?void 0:t.url)||("string"==typeof(null==l?void 0:l.asset)?l.asset:void 0);if(!r)return null;let i=(null==l?void 0:l.size)||"medium",a="";switch(i){case"small":a="max-w-xs";break;case"medium":default:a="max-w-md";break;case"large":a="max-w-2xl";break;case"full":a="w-full"}return(0,n.jsx)("div",{className:"my-0 flex justify-center",children:(0,n.jsx)(s.default,{src:r,alt:(null==l?void 0:l.alt)||"",width:1200,height:630,className:"rounded-xl shadow h-auto object-cover ".concat(a)})})},code:e=>{let{value:t}=e;return(0,n.jsx)("pre",{className:"bg-gray-900 text-gray-100 rounded-lg p-4 overflow-x-auto",children:(0,n.jsx)("code",{children:(null==t?void 0:t.code)||""})})},table:e=>{let{value:t}=e,l=Array.isArray(null==t?void 0:t.rows)?t.rows:[];return(null==l?void 0:l.length)?(0,n.jsxs)("div",{className:"my-0 overflow-x-auto",children:[(0,n.jsx)("table",{className:"min-w-full text-sm",children:(0,n.jsx)("tbody",{children:l.map((e,t)=>{let l=Array.isArray(null==e?void 0:e.cells)?e.cells:[],s=0===t;return(0,n.jsx)("tr",{children:l.map((e,t)=>{let l,i="object"==typeof e&&e&&"_key"in e&&e._key||t;return(l=Array.isArray(e)?(0,n.jsx)(r.RK,{value:e,components:o}):"object"==typeof e&&e&&"children"in e&&Array.isArray(e.children)?(0,n.jsx)(r.RK,{value:[e],components:o}):String(null!=e?e:""),s)?(0,n.jsx)("th",{scope:"col",className:"align-middle py-0 font-semibold text-center",children:l},i):(0,n.jsx)("td",{className:"align-top py-0",children:l},i)})},(null==e?void 0:e._key)||t)})})}),(null==t?void 0:t.caption)?(0,n.jsx)("p",{className:"mt-0 text-xs text-gray-500",children:t.caption}):null]}):null},starInline:e=>{let{value:t}=e,l="number"==typeof(null==t?void 0:t.value)?t.value:0,r=null==t?void 0:t.label;return(0,n.jsxs)("span",{className:"inline-flex items-center gap-2 align-middle text-sm",children:[(0,n.jsx)(i.A,{value:l,size:16}),r?(0,n.jsx)("span",{className:"text-gray-600",children:r}):null]})},hr:()=>(0,n.jsx)("hr",{className:"not-prose border-gray-200 my-2"})}};function c(e){let{value:t}=e;return(0,n.jsx)(r.RK,{value:t,components:o})}},55597:(e,t,l)=>{"use strict";l.d(t,{default:()=>f});var n=l(95155),r=l(12115),s=l(52619),i=l.n(s),a=l(15239);let o=e=>{let{lang:t,progress:l=0}=e,[s,a]=(0,r.useState)(!1),o=(0,r.useRef)(null),c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=e=>{s&&c.current&&!c.current.contains(e.target)&&o.current&&!o.current.contains(e.target)&&a(!1)},t=e=>{"Escape"===e.key&&a(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[s]),(0,n.jsxs)("nav",{className:"fixed top-16 left-0 right-0 bg-white border-b border-gray-200 font-inter z-40 shadow-sm","aria-label":"fr"===t?"Navigation blog":"Blog navigation",children:[(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 flex items-center justify-center gap-12 h-16 relative",children:[(0,n.jsx)(i(),{href:"fr"===t?"/fr-fr/blog":"/en-fr/blog",className:"text-gray-800 text-xl font-bold hover:text-emerald-600",children:"fr"===t?"Accueil":"Home"}),(0,n.jsx)("div",{className:"relative",ref:c,children:(0,n.jsx)(i(),{href:"fr"===t?"/fr-fr/blog#estimation":"/en-fr/blog#estimation",className:"text-gray-800 text-xl font-bold hover:text-emerald-600 flex items-center gap-2","aria-label":"fr"===t?"Aller \xe0 la section Estimation prix v\xe9lo":"Go to Estimation section",children:"fr"===t?"Estimation prix v\xe9lo":"Articles"})})]}),(0,n.jsx)("div",{className:"h-1 bg-gray-100",children:(0,n.jsx)("div",{className:"h-full bg-emerald-500 transition-[width] duration-150 ease-linear",style:{width:"".concat(Math.round(100*(l||0)),"%")}})})]})};var c=l(9778);let d=e=>{let{lang:t,show:l}=e;return l?(0,n.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-emerald-600 shadow-lg flex items-center justify-center px-4 py-4",children:(0,n.jsxs)("div",{className:"flex items-center justify-center w-full max-w-2xl gap-6",children:[(0,n.jsx)("span",{className:"font-poppins font-bold text-xl md:text-2xl text-gray-900 flex-1 text-center",children:"fr"===t?"Estimez la valeur de votre v\xe9lo":"Estimate your bike’s value"}),(0,n.jsx)("a",{href:"fr"===t?"/fr-fr#top":"/en-fr#top",className:"inline-flex items-center justify-center rounded-lg bg-emerald-600 text-white text-base font-semibold px-5 py-3 font-inter shadow hover:bg-emerald-700 focus:outline-none focus:ring-2 focus:ring-emerald-500",children:"fr"===t?"Voir son prix":"See the price"})]})}):null},u={fr:{home:"Accueil",blog:"Blog",updated:"Mis \xe0 jour le",summary:"Sommaire",by:"Par"},en:{home:"Home",blog:"Blog",updated:"Updated",summary:"Summary",by:"By"}};function m(e){try{window.open(e,"_blank","noopener,noreferrer,width=640,height=640")}catch(e){}}function h(e,t){try{return new URL(e).toString()}catch(l){try{return new URL(t||e,window.location.origin).toString()}catch(t){return e}}}function f(e){var t,l;let{articlePath:s,lang:f,locale:x,localizedSlugs:p,title:g,altLink:y,altLabel:v,coverImageUrl:j,coverImageAlt:b,introduction:w,author:k,categories:N,rating:
1I,shareUrl:_,formattedDate:L,children:S}=e,A=u[f];(0,r.useEffect)(()=>{try{if(!p)return;let e="i18n:slugmap:".concat(s);sessionStorage.setItem(e,JSON.stringify(p));let t="fr-fr"===x?"en-fr":"fr-fr",l=s.replace(/^\/(fr-fr|en-fr)/,"/".concat(t));sessionStorage.setItem("i18n:slugmap:".concat(l),JSON.stringify(p))}catch(e){}},[s,x,p]);let E=(0,r.useRef)(null),[C,M]=(0,r.useState)(null),[R,z]=(0,r.useState)([]),[$,U]=(0,r.useState)(null),[B,D]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(!E.current)return;let e=(E.current.innerText||"").trim().split(/\s+/).filter(Boolean).length;M(e?"".concat(Math.max(1,Math.ceil(e/200))," min"):null)},[S]),(0,r.useEffect)(()=>{if(!E.current)return;let e=Array.from(E.current.querySelectorAll("h1, h2")),t=new Map;z(e.map(e=>{let l=(e.textContent||"").toLowerCase().normalize("NFD").replace(RegExp("\\p{Diacritic}","gu"),"").replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-"),n=t.get(l)||0;t.set(l,n+1);let r=0===n?l:"".concat(l,"-").concat(n+1);return e.id||(e.id=r),{id:e.id,text:e.textContent||"",level:"H1"===e.tagName?1:2}}));let l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&U(e.target.id)})},{root:null,rootMargin:"0px 0px -60% 0px",threshold:[0,1]});return e.forEach(e=>l.observe(e)),()=>l.disconnect()},[S]),(0,r.useEffect)(()=>{let e=()=>{if(!E.current)return;let e=E.current,t=e.getBoundingClientRect(),l=window.scrollY+t.top,n=e.offsetHeight,r=window.innerHeight,s=window.scrollY,i=l-80,a=l+n-r-40;return s<=i?D(0):s>=a?D(1):void D(Math.min(1,Math.max(0,(s-i)/(a-i))))},t=()=>requestAnimationFrame(e);return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),e(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[S]);let T="fr"===f?"fr-fr":"en-fr";return(0,n.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,n.jsx)(o,{lang:f,progress:B}),(0,n.jsx)("main",{className:"pt-56 pb-24 px-4 bg-gray-50",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,n.jsx)("div",{className:"w-full bg-gray-50 pb-0",children:(0,n.jsx)("nav",{"aria-label":"Breadcrumb",className:"-mt-4 mb-16 font-inter px-0",children:(0,n.jsxs)("ol",{className:"flex flex-wrap items-center gap-2 text-xs text-gray-500",children:[(0,n.jsx)("li",{children:(0,n.jsx)(i(),{href:"/".concat(T),className:"hover:text-emerald-600 font-medium",children:A.home})}),(0,n.jsx)("li",{className:"text-gray-400",children:"›"}),(0,n.jsx)("li",{children:(0,n.jsx)(i(),{href:"/".concat(T,"/blog"),className:"hover:text-emerald-600 font-medium",children:A.blog})}),Array.isArray(N)&&N.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"text-gray-400",children:"›"}),(0,n.jsx)("li",{children:(0,n.jsx)("span",{className:"text-gray-600 font-medium",children:null!=(l=null==(t=N[0])?void 0:t.title)?l:""})})]}),(0,n.jsx)("li",{className:"text-gray-400",children:"›"}),(0,n.jsx)("li",{className:"text-gray-600","aria-current":"page",children:g})]})})}),(0,n.jsxs)("div",{className:"flex gap-10",children:[R.length>1&&(0,n.jsx)("aside",{className:"hidden xl:block w-72 flex-shrink-0 pt-2","aria-label":"fr"===f?"Table des mati\xe8res":"Table of contents",children:(0,n.jsxs)("div",{className:"sticky top-36 space-y-8",children:[(0,n.jsx)("p",{className:"text-xs font-semibold tracking-wide text-gray-700 uppercase mb-3 font-inter",children:A.summary}),(0,n.jsx)("ul",{className:"space-y-1 text-sm font-inter toc-wrap",children:R.map(e=>(0,n.jsx)("li",{className:2===e.level?"pl-4":"",children:(0,n.jsx)("a",{href:"#".concat(e.id),className:"block rounded px-2 py-1 transition-colors hover:bg-gray-100 ".concat($===e.id?"text-emerald-700 bg-gray-100 font-semibold":"text-gray-700"),children:e.text})},e.id))})]})}),(0,n.jsx)(d,{lang:f,show:B>.25}),(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)("div",{className:"bg-white rounded-2xl shadow-xl px-10 py-12",children:(0,n.jsxs)("article",{ref:E,className:"prose-article article-content w-full",children:[(0,n.jsx)("h1",{className:"mb-3 font-poppins font-bold text-3xl lg:text-4xl tracking-tight text-gray-900",children:g}),(0,n.jsx)("hr",{className:"not-prose border-gray-200 my-2"}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-3 text-gray-500 text-sm my-1 font-inter justify-between",children:[(0,n.jsx)("div",{className:"flex items-center gap-3",children:(()=>{let e=[];return L&&e.push("".concat(A.updated," ").concat(L)),C&&e.push(C),(null==k?void 0:k.name)&&e.push("".concat(A.by," ").concat(k.name)),e.map((e,t)=>(0,n.jsxs)("span",{className:"flex items-center gap-3",children:[t>0&&(0,n.jsx)("span",{className:"text-gray-300",children:"•"}),(0,n.jsx)("span",{children:e})]},t))})()}),(0,n.jsxs)("div",{className:"flex gap-3 items-center",children:["number"==typeof I&&I>0&&(0,n.jsx)("div",{className:"mr-3",children:(0,n.jsx)(c.A,{value:I,size:18})}),(0,n.jsx)("a",{href:h(_||s,s).replace(/#$/,"")?"https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent(h(_||s,s)
1)):"#",onClick:e=>{e.preventDefault();let t=h(_||s,s);console.info("[share] LinkedIn URL:",t),m("https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent(t)))},"aria-label":"fr"===f?"Partager sur LinkedIn":"Share on LinkedIn",className:"hover:opacity-80 transition",title:"LinkedIn",rel:"noopener noreferrer",target:"_blank",children:(0,n.jsx)(a.default,{src:"/social-logos/linkedin-logo.png",alt:"LinkedIn",width:24,height:24})}),(0,n.jsx)("a",{href:"#",onClick:e=>{e.preventDefault();let t=h(_||s,s);m("https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(t)))},"aria-label":"fr"===f?"Partager sur Facebook":"Share on Facebook",className:"hover:opacity-80 transition",title:"Facebook",children:(0,n.jsx)(a.default,{src:"/social-logos/facebook-logo.png",alt:"Facebook",width:24,height:24})}),(0,n.jsx)("a",{href:"#",onClick:e=>{e.preventDefault();let t=h(_||s,s);m("https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(t),"&text=").concat(encodeURIComponent(g)))},"aria-label":"fr"===f?"Partager sur X":"Share on X",className:"hover:opacity-80 transition",title:"X",children:(0,n.jsx)(a.default,{src:"/social-logos/x-logo.png",alt:"X",width:24,height:24})})]})]}),(0,n.jsx)("hr",{className:"not-prose border-gray-200 my-2"}),y&&(0,n.jsx)("div",{className:"w-full mb-4",children:(0,n.jsx)(i(),{href:y,className:"text-emerald-600 font-medium whitespace-nowrap inline-block",children:v})}),(0,n.jsx)("div",{className:"mt-8",children:"string"==typeof w&&w.split(/\n{2,}/).map((e,t)=>(0,n.jsx)("p",{className:"whitespace-pre-wrap font-semibold text-gray-600 bg-transparent mb-8 text-lg md:text-xl leading-relaxed",children:e},t))}),j?(0,n.jsx)("div",{className:"w-full mb-10",children:(0,n.jsx)(a.default,{src:j,alt:b||g,width:1200,height:630,className:"rounded-xl shadow w-full h-auto object-cover",priority:!0})}):null,(0,n.jsx)("div",{className:"space-y-6 w-full max-w-none",children:S})]})})})]})]})})]})}},71179:(e,t,l)=>{"use strict";function n(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function r(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function s(e){return r(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function i(e){return"@list"===e._type}function a(e){return"@span"===e._type}function o(e){return"@text"===e._type}l.d(t,{IG:()=>r,Pq:()=>u,YA:()=>o,bo:()=>g,fg:()=>function e(t){let l="";return t.children.forEach(t=>{o(t)?l+=t.text:a(t)&&(l+=e(t))}),l},iS:()=>m,mn:()=>y,n2:()=>s,tO:()=>a,zp:()=>i});let c=["strong","em","code","underline","strike-through"];function d(e,t,l){if(!n(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),s={};return r.forEach(e=>{s[e]=1;for(let r=t+1;r<l.length;r++){let t=l[r];if(t&&n(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))s[e]++;else break}}),r.sort((e,t)=>(function(e,t,l){let n=e[t],r=e[l];if(n!==r)return r-n;let s=c.indexOf(t),i=c.indexOf(l);return s!==i?s-i:t.localeCompare(l)})(s,e,t))}function u(e){var t;let{children:l}=e,r=e.markDefs??[];if(!l||!l.length)return[];let s=l.map(d),i={_type:"@span",children:[],markType:"<unknown>"},a=[i];for(let e=0;e<l.length;e++){let i=l[e];if(!i)continue;let o=s[e]||[],c=1;if(a.length>1)for(;c<a.length;c++){let e=(null==(t=a[c])?void 0:t.markKey)||"",l=o.indexOf(e);if(-1===l)break;o.splice(l,1)}let d=(a=a.slice(0,c))[a.length-1];if(d){for(let e of o){let t=null==r?void 0:r.find(t=>t._key===e),l=t?t._type:e,n={_type:"@span",_key:i._key,children:[],markDef:t,markType:l,markKey:e};d.children.push(n),a.push(n),d=n}if(n(i)){let e=i.text.split(`
2`);for(let t=e.length;t-- >1;)e.splice(t,0,`
3`);d.children=d.children.concat(e.map(e=>({_type:"@text",text:e})))}else d.children=d.children.concat(i)}}return i.children}function m(e,t){let l,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(o){var r,i;if(!s(o)){n.push(o),l=void 0;continue}if(!l){l=h(o,a,t),n.push(l);continue}if(r=o,i=l,(r.level||1)===i.level&&r.listItem===i.listItem){l.children.push(o);continue}if((o.level||1)>l.level){let e=h(o,a,t);if("html"===t){let t=l.children[l.children.length-1],n={...t,children:[...t.children,e]};l.children[l.children.length-1]=n}else l.children.push(e);l=e;continue}if((o.level||1)<l.level){let e=n[n.length-1],r=e&&f(e,o);if(r){(l=r).children.push(o);continue}l=h(o,a,t),n.push(l);continue}if(o.listItem!==l.listItem){let e=n[n.length-1],r=e&&f(e,{level:o.level||1});if(r&&r.listItem===o.listItem){(l=r).children.push(o);continue}l=h(o,a,t),n.push(l);continue}console.warn("Unknown state encountered for block",o),n.push(o)}}return n}function h(e,t,l){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:l,level:e.level||1,listItem:e.listItem,children:[e]}}function f(e,t){let l=t.level||1,r=t.listItem||"normal",s="string"==typeof t.listItem;if(i(e)&&(e.level||1)===l&&s&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let a=e.children[e.children.length-1];return a&&!n(a)?f(a,t):void 0}let x=/^\s/,p=/\s$/;function g(e){let t=Array.isArray(e)?e:[e],l="";return t.forEach((e,s)=>{if(!r(e))return;let i=!1;
3e.children.forEach(e=>{n(e)?(l+=i&&l&&!p.test(l)&&!x.test(e.text)?" ":"",l+=e.text,i=!1):i=!0}),s!==t.length-1&&(l+=`
4
5`)}),l}let y="html"},75161:(e,t,l)=>{"use strict";l.d(t,{Q:()=>r});var n=l(30926);let r=(0,n.createServerReference)("7f31fb3fec35901fb1806f3f5b665d76e90c1b558e",n.callServer,void 0,n.findSourceMapURL,"revalidateSyncTags")},83838:(e,t,l)=>{Promise.resolve().then(l.bind(l,55597)),Promise.resolve().then(l.bind(l,16547)),Promise.resolve().then(l.bind(l,45082)),Promise.resolve().then(l.bind(l,95028)),Promise.resolve().then(l.bind(l,98061))},92284:(e,t,l)=>{"use strict";l.d(t,{RK:()=>h});var n=l(95155),r=l(71179),s=l(12115);let i={textDecoration:"underline"},a=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,o=e=>a(`block type "${e}"`,"types");function c(e){console.warn(e)}let d={display:"none"},u={types:{},block:{normal:({children:e})=>(0,n.jsx)("p",{children:e}),blockquote:({children:e})=>(0,n.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,n.jsx)("h1",{children:e}),h2:({children:e})=>(0,n.jsx)("h2",{children:e}),h3:({children:e})=>(0,n.jsx)("h3",{children:e}),h4:({children:e})=>(0,n.jsx)("h4",{children:e}),h5:({children:e})=>(0,n.jsx)("h5",{children:e}),h6:({children:e})=>(0,n.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,n.jsx)("em",{children:e}),strong:({children:e})=>(0,n.jsx)("strong",{children:e}),code:({children:e})=>(0,n.jsx)("code",{children:e}),underline:({children:e})=>(0,n.jsx)("span",{style:i,children:e}),"strike-through":({children:e})=>(0,n.jsx)("del",{children:e}),link:({children:e,value:t})=>(0,n.jsx)("a",{href:null==t?void 0:t.href,children:e})},list:{number:({children:e})=>(0,n.jsx)("ol",{children:e}),bullet:({children:e})=>(0,n.jsx)("ul",{children:e})},listItem:({children:e})=>(0,n.jsx)("li",{children:e}),hardBreak:()=>(0,n.jsx)("br",{}),unknownType:({value:e,isInline:t})=>{let l=o(e._type);return t?(0,n.jsx)("span",{style:d,children:l}):(0,n.jsx)("div",{style:d,children:l})},unknownMark:({markType:e,children:t})=>(0,n.jsx)("span",{className:`unknown__pt__mark__${e}`,children:t}),unknownList:({children:e})=>(0,n.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,n.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,n.jsx)("p",{children:e})};function m(e,t,l){let n=t[l],r=e[l];return"function"==typeof n||n&&"function"==typeof r?n:n?{...r,...n}:r}function h({value:e,components:t,listNestingMode:l,onMissingComponent:i=c}){let a=i||p,o=Array.isArray(e)?e:[e],d=(0,r.iS)(o,l||r.mn),h=(0,s.useMemo)(()=>t?function(e,t){let{block:l,list:n,listItem:r,marks:s,types:i,...a}=t;return{...e,block:m(e,t,"block"),list:m(e,t,"list"),listItem:m(e,t,"listItem"),marks:m(e,t,"marks"),types:m(e,t,"types"),...a}}(u,t):u,[t]),x=(0,s.useMemo)(()=>f(h,a),[h,a]),g=d.map((e,t)=>x({node:e,index:t,isInline:!1,renderNode:x}));return(0,n.jsx)(n.Fragment,{children:g})}let f=(e,t)=>function l(s){let{node:i,index:c,isInline:d}=s,u=i._key||`node-${c}`;return(0,r.zp)(i)?function(r,s,i){let o=r.children.map((e,t)=>l({node:e._key?e:{...e,_key:`li-${s}-${t}`},index:t,isInline:!1})),c=e.list,d=("function"==typeof c?c:c[r.listItem])||e.unknownList;if(d===e.unknownList){let e=r.listItem||"bullet";t(a(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,n.jsx)(d,{value:r,index:s,isInline:!1,renderNode:l,children:o},i)}(i,c,u):(0,r.n2)(i)?function(r,s,i){let o=x({node:r,index:s,isInline:!1,renderNode:l}),c=e.listItem,d=("function"==typeof c?c:c[r.listItem])||e.unknownListItem;if(d===e.unknownListItem){let e=r.listItem||"bullet";t(a(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let u=o.children;if(r.style&&"normal"!==r.style){let{listItem:e,...t}=r;u=l({node:t,index:s,isInline:!1})}return(0,n.jsx)(d,{value:r,index:s,isInline:!1,renderNode:l,children:u},i)}(i,c,u):(0,r.tO)(i)?function(s,i,o){let{markDef:c,markType:d,markKey:u}=s,m=e.marks[d]||e.unknownMark,h=s.children.map((e,t)=>l({node:e,index:t,isInline:!0}));return m===e.unknownMark&&t(a(`mark type "${d}"`,"marks"),{nodeType:"mark",type:d}),(0,n.jsx)(m,{text:(0,r.fg)(s),value:c,markType:d,markKey:u,renderNode:l,children:h},o)}(i,0,u):i._type in e.types?function(t,r,s,i){let a=e.types[t._type];return a?(0,n.jsx)(a,{value:t,isInline:i,index:r,renderNode:l},s):null}
5(i,c,u,d):(0,r.IG)(i)?function(r,s,i,o){let{_key:c,...d}=x({node:r,index:s,isInline:o,renderNode:l}),u=d.node.style||"normal",m=("function"==typeof e.block?e.block:e.block[u])||e.unknownBlockStyle;return m===e.unknownBlockStyle&&t(a(`block style "${u}"`,"block"),{nodeType:"blockStyle",type:u}),(0,n.jsx)(m,{...d,value:d.node,renderNode:l},i)}(i,c,u,d):(0,r.YA)(i)?function(t,l){if(t.text===`
6`){let t=e.hardBreak;return t?(0,n.jsx)(t,{},l):`
7`}return t.text}(i,u):function(r,s,i,a){t(o(r._type),{nodeType:"block",type:r._type});let c=e.unknownType;return(0,n.jsx)(c,{value:r,isInline:a,index:s,renderNode:l},i)}(i,c,u,d)};function x(e){let{node:t,index:l,isInline:n,renderNode:s}=e,i=(0,r.Pq)(t).map((e,t)=>s({node:e,isInline:!0,index:t,renderNode:s}));return{_key:t._key||`block-${l}`,children:i,index:l,isInline:n,node:t}}function p(){}}},e=>{e.O(0,[2619,8478,6394,3276,8441,1255,7358],()=>e(e.s=83838)),_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.