PageSourceSearch

https://www.loppsi.fr/_next/static/chunks/0i._xxs-8cjm-.js

js loppsi.fr collected 2026-10-02 12:22:35 UTC 56,276 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i=e.r(190809)._(e.r(998183)),n=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,a=e.protocol||"",s=e.pathname||"",o=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||n.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),d&&"?"!==d[0]&&(d="?"+d),s=s.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${a}${c}${s}${d}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let a=e.r(271645);function s(e,t){let r=(0,a.useRef)(null),s=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=i(e,a)),t&&(s.current=i(t,a))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let a=e.r(718967),s=e.r(652817);function i(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return x},useLinkStatus:function(){return v}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i=e.r(190809),n=e.r(843476),o=i._(e.r(271645)),l=e.r(195057),c=e.r(8372),d=e.r(818581),u=e.r(718967),f=e.r(405550);e.r(233525);let h=e.r(388540),m=e.r(91949),g=e.r(573668),p=e.r(509396);function x(t){var r,a;let s,i,x,[v,y]=(0,o.useOptimistic)(m.IDLE_LINK_STATUS),w=(0,o.useRef)(null),{href:k,as:j,children:N,prefetch:C=null,passHref:S,replace:R,shallow:M,scroll:A,onClick:E,onMouseEnter:L,onTouchStart:T,legacyBehavior:U=!1,onNavigate:_,transitionTypes:z,ref:P,unstable_dynamicOnHover:O,...G}=t;s=N,U&&("string"==typeof s||"number"==typeof s)&&(s=(0,n.jsx)("a",{children:s}));let D=o.default.useContext(c.AppRouterContext),$=!1!==C,B=!1!==C?null===(a=C)||"auto"===a?p.FetchStrategy.PPR:p.FetchStrategy.Full:p.FetchStrategy.PPR,V="string"==typeof(r=j||k)?r:(0,l.formatUrl)(r);if(U){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=o.default.Children.only(s)}let F=U?i&&"object"==typeof i&&i.ref:P,q=o.default.useCallback(e=>(null!==D&&(w.current=(0,m.mountLinkInstance)(e,V,D,B,$,y)),()=>{w.current&&((0,m.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,m.unmountPrefetchableInstance)(e)}),[$,V,D,B,y]),I={ref:(0,d.useMergedRef)(q,F),onClick(t){U||"function"!=typeof E||E(t),U&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!D||t.defaultPrevented||function(t,r,a,s,i,n,l){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),n){let e=!1;if(n({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(699781);o.default.startTransition(()=>{u(r,s?"replace":"push",!1===i?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,a.current,l)})}}(t,V,w,R,A,_,z)},onMouseEnter(e){U||"function"!=typeof L||L(e),U&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),D&&$&&(0,m.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){U||"function"!=typeof T||T(e),U&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),D&&$&&(0,m.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,u.isAbsoluteUrl)(V)?I.href=V:U&&!S&&("a"!==i.type||"href"in i.props)||(I.href=(0,f.addBasePath)(V)),x=U?o.default.cloneElement(i,I):(0,n.jsx)("a",{...G,...I,children:s}),(0,n.jsx)(b.Provider,{value:v,children:x})}e.r(284508);let b=(0,o.createContext)(m.IDLE_LINK_STATUS),v=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},475254,258541,e=>{"use strict";var t=e.i(271645);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:n,className:o="",children:l,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...s,width:r,height:r,stroke:e,strokeWidth:n?24*Number(i)/Number(r):i,className:a("lucide",o),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]]));e.s(["default",0,i],258541),e.s(["default",0,(e,s)=>{let n=(0,t.forwardRef)(({className:n,...o},l)=>(0,t.createElement)(i,{ref:l,iconNode:s,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...o}));return n.displayName=r(e),n}],475254)},631171,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},664659,e=>{"use strict";var t=e.i(631171);e.s(["ChevronDown",()=>t.default])},603908,e=>{"use strict";let t=(0,e.i(475254).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["default",0,t])},107233,e=>{"use strict";var t=e.i(603908);e.s(["Plus",()=>t.default])},889533,e=>{"use strict";var t=e.i(843476);let r=(0,e.i(271645).memo)(function({name:e,className:r,style:a,color:s}){let i=`/api/favicon?icon=${encodeURIComponent(e)}&color=${encodeURIComponent(s||"currentColor")}`;return(0,t.jsx)("img",{src:i,alt:"","aria-hidden":"true",className:r,style:{...a,filter:s?void 0:"brightness(0) saturate(100%)"}})});e.s(["DynamicIcon",0,r])},526732,e=>{"use strict";var t=e.i(247167);e.i(843476);var r=e.i(271645);class a extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class s extends a{}async function i(e,t,r,a={}){let o=`${n(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...a?.headers?.cookie?{cookie:a.headers.cookie}:{}}};a?.body&&(e.body=JSON.stringify(a.body),e.method="POST");let t=await fetch(o,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new s(e.message,e)),null}}function n(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function o(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let r=new URL(e||t),a=("/"===r.pathname?t.pathname:r.pathname).replace(/\/$/,""),s=`${r.origin}${a}`;return{origin:r.origin,host:r.host,path:a,base:s,toString:()=>s}}let l={baseUrl:o(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:o(t.default.env.NEXTAUTH_URL).path,baseUrlServer:o(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:o(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},c=null,d={debug:console.debug,error:console.error,warn:console.warn};async function u(){let e=await i("csrf",l,d);return e?.csrfToken??""}async function f(e){let{redirect:t=!0,redirectTo:r=e?.callbackUrl??window.location.href}=e??{},a=n(l),s=await u(),i=await fetch(`${a}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:s,callbackUrl:r})}),o=await i.json();if((null===c&&(c="u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")),c).postMessage({event:"session",data:{trigger:"signout"}}),t){let e=o.url??r;window.location.href=e,e.includes("#")&&window.location.reload();return}return await l._getSession({event:"storage"}),o}r.createContext?.(void 0),e.s(["signOut",0,f],526732)},239616,e=>{"use strict";var t=e.i(903446);e.s(["Settings",()=>t.default])},292270,e=>{"use strict";var t=e.i(518820);e.s(["LogOut",()=>t.default])},903446,e=>{"use strict";let t=(0,e.i(475254).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["default",0,t])},518820,e=>{"use strict";let t=(0,e.i(475254).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["default",0,t])},846753,e=>{"use strict";let t=(0,e.i(475254).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["default",0,t])},896027,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(647163);let s=r.default.forwardRef(({shimmerColor:e="#ffffff",shimmerSize:r="0.05em",shimmerDuration:s="3s",borderRadius:i="100px",background:n="rgba(0, 0, 0, 1)",className:o,children:l,...c},d)=>(0,t.jsxs)("button",{style:{"--spread":"90deg","--shimmer-color":e,"--radius":i,"--speed":s,"--cut":r,"--bg":n}
1,className:(0,a.cn)("group relative z-0 flex cursor-pointer items-center justify-center overflow-hidden whitespace-nowrap border border-white/10 px-6 py-3 text-white [background:var(--bg)] [border-radius:var(--radius)] dark:text-black","transform-gpu transition-transform duration-300 ease-in-out active:translate-y-[1px]",o),ref:d,...c,children:[(0,t.jsx)("div",{className:(0,a.cn)("-z-30 blur-[2px]","absolute inset-0 overflow-visible [container-type:size]"),children:(0,t.jsx)("div",{className:"absolute inset-0 h-[100cqh] animate-shimmer-slide [aspect-ratio:1] [border-radius:0] [mask:none]",children:(0,t.jsx)("div",{className:"absolute -inset-full w-auto rotate-0 animate-spin-around [background:conic-gradient(from_calc(270deg-(var(--spread)*0.5)),transparent_0,var(--shimmer-color)_var(--spread),transparent_var(--spread))] [translate:0_0]"})})}),l,(0,t.jsx)("div",{className:(0,a.cn)("insert-0 absolute size-full pointer-events-none","rounded-2xl px-4 py-1.5 text-sm font-medium shadow-[inset_0_-8px_10px_#ffffff1f]","transform-gpu transition-all duration-300 ease-in-out","group-hover:shadow-[inset_0_-6px_10px_#ffffff3f]","group-active:shadow-[inset_0_-10px_10px_#ffffff3f]")}),(0,t.jsx)("div",{className:(0,a.cn)("absolute -z-20 [background:var(--bg)] [border-radius:var(--radius)] [inset:var(--cut)] pointer-events-none")})]}));s.displayName="ShimmerButton",e.s(["ShimmerButton",0,s])},284614,e=>{"use strict";var t=e.i(846753);e.s(["User",()=>t.default])},589129,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566);e.s(["LogoMotion",0,function({children:e,durationMs:s=500}){var i;let n,o=(0,a.usePathname)(),l=(0,r.useRef)(null);return((0,r.useEffect)(()=>{let e=l.current,t=e?.querySelector("img");e&&(!t||t.complete&&t.naturalWidth>0)&&(e.dataset.ready="true")},[o]),"/"===o)?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsx)("span",{className:"logo-motion",style:{"--logo-zoom-duration":`${null!=s&&(n=Number(i=String(s)),""!==i.trim()&&Number.isInteger(n)&&n>=150&&n<=2e3)?Number(s):500}ms`},children:(0,t.jsx)("span",{ref:l,className:"logo-motion-pulse","data-ready":"false",onLoadCapture:()=>{l.current&&(l.current.dataset.ready="true")},children:e},o)})}],589129)},811850,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(522016),s=e.i(526732),i=e.i(284614),n=e.i(239616),o=e.i(292270),l=e.i(664659),c=e.i(647163);e.s(["UserButton",0,function({user:e}){let[d,u]=(0,r.useState)(!1),f=(0,r.useRef)(null),h=(0,r.useRef)(null),m=(0,r.useId)();(0,r.useEffect)(()=>{d&&f.current?.querySelector('[role="menuitem"]')?.focus()},[d]),(0,r.useEffect)(()=>{function e(e){f.current&&!f.current.contains(e.target)&&u(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[f]);let g=async()=>{await (0,s.signOut)({callbackUrl:window.location.origin})};return(0,t.jsxs)("div",{className:"relative",ref:f,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||u(!1)},onKeyDown:e=>{if("Escape"===e.key&&d&&(e.preventDefault(),u(!1),h.current?.focus()),!d||!["ArrowDown","ArrowUp","Home","End"].includes(e.key))return;e.preventDefault();let t=Array.from(e.currentTarget.querySelectorAll('[role="menuitem"]')),r=t.indexOf(document.activeElement),a="Home"===e.key?0:"End"===e.key?t.length-1:(r+("ArrowDown"===e.key?1:-1)+t.length)%t.length;t[a]?.focus()},children:[(0,t.jsxs)("button",{ref:h,type:"button",onClick:()=>u(!d),onKeyDown:e=>{d||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),e.stopPropagation(),u(!0))},"aria-label":"Menu utilisateur","aria-expanded":d,"aria-haspopup":"menu","aria-controls":d?m:void 0,className:"flex items-center gap-2 rounded-full border border-gray-200 bg-white p-1 pr-3 transition-all hover:bg-gray-50 hover:shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500/20 active:scale-95",children:[(0,t.jsx)("div",{className:"relative h-8 w-8 overflow-hidden rounded-full bg-gray-100 ring-2 ring-white",children:e.image?(0,t.jsx)("img",{src:e.image,alt:e.name||"User avatar",className:"h-full w-full object-cover"}):(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-gradient-to-br from-blue-500 to-indigo-600 text-[10px] font-bold text-white",children:e.name?.charAt(0).toUpperCase()||"U"})}),(0,t.jsx)("div",{className:"hidden sm:block text-left text-xs",children:(0,t.jsx)("p",{className:"font-medium text-gray-700 max-w-[100px] truncate",children:e.name||"Utilisateur"})}
1),(0,t.jsx)(l.ChevronDown,{className:(0,c.cn)("h-4 w-4 text-gray-400 transition-transform duration-200",d&&"rotate-180")})]}),d&&(0,t.jsxs)("div",{id:m,"aria-label":"Compte utilisateur",role:"menu","aria-orientation":"vertical",className:"absolute right-0 top-full mt-2 w-64 max-w-[calc(100vw-2rem)] origin-top-right rounded-xl border border-gray-100 bg-white p-2 shadow-xl ring-1 ring-black/5 animate-in fade-in zoom-in-95 duration-200",children:[(0,t.jsxs)("div",{className:"mb-2 border-b border-gray-100 px-3 py-2",children:[(0,t.jsx)("p",{className:"break-words text-sm font-semibold text-gray-900",children:e.name}),(0,t.jsx)("p",{className:"truncate text-xs text-gray-500",children:e.email})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)(a.default,{href:"/profil",role:"menuitem",onClick:()=>u(!1),className:"flex items-center gap-2 min-h-11 rounded-lg px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 focus-visible:bg-gray-50 hover:text-blue-600 transition-colors",children:[(0,t.jsx)(i.User,{className:"h-4 w-4"}),"Mon profil"]}),("ADMIN"===e.role||"REDACTEUR"===e.role)&&(0,t.jsxs)("a",{href:"REDACTEUR"===e.role?"/admin/news/":"/admin/dashboard/",role:"menuitem",onClick:()=>u(!1),className:"flex items-center gap-2 min-h-11 rounded-lg px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 focus-visible:bg-gray-50 hover:text-blue-600 transition-colors",children:[(0,t.jsx)(n.Settings,{className:"h-4 w-4"}),"REDACTEUR"===e.role?"Rédaction":"Administration"]}),(0,t.jsxs)("button",{role:"menuitem",onClick:g,className:"flex w-full items-center gap-2 min-h-11 rounded-lg px-3 py-2 text-left text-sm text-red-600 hover:bg-red-50 focus-visible:bg-red-50 transition-colors",children:[(0,t.jsx)(o.LogOut,{className:"h-4 w-4"}),"Se déconnecter"]})]})]})]})}])},463177,e=>{"use strict";var t=e.i(843476),r=e.i(896027),a=e.i(618566),s=e.i(107233);e.s(["AddPharmacyButton",0,function({primaryColor:e="#31408f",label:i="Ajouter une pharmacie"}){let n=(0,a.useRouter)();return(0,t.jsx)("div",{className:"hidden sm:block",children:(0,t.jsx)(r.ShimmerButton,{className:"h-9 px-4 py-2 shadow-lg group",background:e,shimmerColor:"rgba(255, 255, 255, 0.4)",shimmerSize:"0.1em",borderRadius:"8px",shimmerDuration:"2s",onClick:()=>n.push("/ajouter-entreprise/"),children:(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,t.jsx)(s.Plus,{className:"w-4 h-4 text-white/90 group-hover:text-white transition-colors",strokeWidth:3}),(0,t.jsx)("span",{className:"text-sm font-semibold text-white whitespace-nowrap tracking-tight",children:i})]})})})}])},824678,e=>{"use strict";let t=(0,e.i(475254).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["default",0,t])},370956,e=>{"use strict";var t=e.i(824678);e.s(["List",()=>t.default])},455607,e=>{"use strict";let t=(0,e.i(475254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["default",0,t])},346897,e=>{"use strict";var t=e.i(455607);e.s(["MapPin",()=>t.default])},607486,e=>{"use strict";var t=e.i(540412);e.s(["Building2",()=>t.default])},27365,e=>{"use strict";var t=e.i(334982);e.s(["FileDown",()=>t.default])},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i=e.r(132120),n=e.r(92245),o=e.r(235326)},531278,717521,e=>{"use strict";let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],717521),e.s(["Loader2",0,t],531278)},37727,841947,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t],841947),e.s(["X",0,t],37727)},678745,e=>{"use strict";let t=(0,e.i(475254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},643531,e=>{"use strict";var t=e.i(678745);e.s(["Check",()=>t.default])},178583,489053,e=>{"use strict";let t=(0,e.i(475254).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["default",0,t],489053),e.s(["FileText",0,t],178583)},540412,e=>{"use strict";let t=(0,e.i(475254).default)("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]]);e.s(["default",0,t])},334982,e=>{"use strict";let t=(0,e.i(475254).default)("file-down",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);e.s(["default",0,t])},855087,e=>{"use strict";let t=(0,e.i(475254).default)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);e.s(["default",0,t])},563906,e=>{"use strict";let t=(0,e.i(475254).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["default",0,t])},16715,e=>{"use strict";var t=e.i(563906);e.s(["RefreshCw",()=>t.default])},751975,e=>{"use strict";var t=e.i(855087);e.s(["Tag",()=>t.default])},788699,e=>{"use strict";var t=e.i(360200);e.s(["Pencil",()=>t.default])},727612,612329,e=>{"use strict";let t=(0,e.i(475254).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["default",0,t],612329),e.s(["Trash2",0,t],727612)},360200,e=>{"use strict";let t=(0,e.i(475254).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["default",0,t])},603918,e=>{"use strict";let t=(0,e.i(475254).default)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);e.s(["default",0,t])},251854,e=>{"use strict";let t=(0,e.i(475254).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["default",0,t])},871631,e=>{"use strict";let t=(0,e.i(475254).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["default",0,t])},744757,621847,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);e.s(["default",0,r],744757);let a=(0,t.default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["default",0,a],621847)},191774,e=>{"use strict";let t=(0,e.i(475254).default)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);e.s(["default",0,t])},658041,e=>{"use strict";var t=e.i(191774);e.s(["Database",()=>t.default])},463600,e=>{"use strict";let t=(0,e.i(475254).default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]);e.s(["default",0,t])},163362,e=>{"use strict";var t=e.i(95187);
1let r=(0,t.createServerReference)("007248fa097efcb53e4afbdfdb162052bc205d7518",t.callServer,void 0,t.findSourceMapURL,"clearCache");e.s(["clearCache",0,r])},39312,e=>{"use strict";var t=e.i(871631);e.s(["Zap",()=>t.default])},73501,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("00a8db9a3b462d2c144585b05cb1f6ff31a43a6363",t.callServer,void 0,t.findSourceMapURL,"generateCityCache");e.s(["generateCityCache",0,r])},893476,e=>{"use strict";let t=[{id:"classic",mode:"light",name:"Classique",description:"Clair · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#ffffff",surface:"#f8fafc",foreground:"#0f172a"},{id:"black",mode:"dark",name:"Noir moderne",description:"Noir profond · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#09090b",surface:"#18181b",foreground:"#fafafa"},{id:"editorial",mode:"dark",name:"Noir éditorial",description:"Noir chaud · Georgia",font:'Georgia, "Times New Roman", serif',background:"#151210",surface:"#231e19",foreground:"#faf5ed"},{id:"midnight",mode:"dark",name:"Minuit",description:"Noir bleuté · monospace",font:'var(--font-geist-mono), "Courier New", monospace',background:"#080f1c",surface:"#131f31",foreground:"#eff6ff"},{id:"forest",mode:"dark",name:"Forêt",description:"Vert profond · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#071b15",surface:"#102f25",foreground:"#ecfdf5"},{id:"ocean",mode:"dark",name:"Océan",description:"Bleu pétrole · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#071e2b",surface:"#103448",foreground:"#ecfeff"},{id:"amethyst",mode:"dark",name:"Améthyste",description:"Violet profond · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#1b102c",surface:"#302044",foreground:"#faf5ff"},{id:"wine",mode:"dark",name:"Bordeaux",description:"Rouge velours · Georgia",font:'Georgia, "Times New Roman", serif',background:"#270f18",surface:"#421f2c",foreground:"#fff1f2"},{id:"copper",mode:"dark",name:"Cuivre",description:"Terre cuivrée · Georgia",font:'Georgia, "Times New Roman", serif',background:"#28170f",surface:"#40291d",foreground:"#fff7ed"},{id:"slate",mode:"dark",name:"Ardoise",description:"Gris bleuté · monospace",font:'var(--font-geist-mono), "Courier New", monospace',background:"#18212d",surface:"#293749",foreground:"#f1f5f9"},{id:"sapphire",mode:"dark",name:"Saphir",description:"Bleu royal · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#101b42",surface:"#1e305b",foreground:"#eff6ff"},{id:"turquoise",mode:"dark",name:"Turquoise",description:"Lagon sombre · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#07302e",surface:"#12433f",foreground:"#f0fdfa"},{id:"olive",mode:"dark",name:"Olive",description:"Vert olive · Georgia",font:'Georgia, "Times New Roman", serif',background:"#232713",surface:"#373e21",foreground:"#f7fee7"},{id:"aubergine",mode:"dark",name:"Aubergine",description:"Prune intense · Georgia",font:'Georgia, "Times New Roman", serif',background:"#30152f",surface:"#472442",foreground:"#fdf4ff"},{id:"raspberry",mode:"dark",name:"Framboise",description:"Rose profond · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#3a1025",surface:"#542039",foreground:"#fff1f5"},{id:"amber",mode:"dark",name:"Ambre",description:"Or patiné · Georgia",font:'Georgia, "Times New Roman", serif',background:"#30230b",surface:"#463617",foreground:"#fffbeb"},{id:"cocoa",mode:"dark",name:"Cacao",description:"Brun chocolat · Georgia",font:'Georgia, "Times New Roman", serif',background:"#261b18",surface:"#3d2d27",foreground:"#fff4ed"},{id:"carbon",mode:"dark",name:"Carbone",description:"Gris neutre · monospace",font:'var(--font-geist-mono), "Courier New", monospace',background:"#202020",surface:"#333333",foreground:"#fafafa"},{id:"black-light",mode:"light",name:"Perle · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#f3f4f6",surface:"#ffffff",foreground:"#172033"},{id:"editorial-light",mode:"light",name:"Ivoire · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#faf5ec",surface:"#ffffff",foreground:"#172033"},{id:"midnight-light",mode:"light",name:"Aube · Clair",description:"Clair pastel · monospace",font:'var(--font-geist-mono), "Courier New", monospace',background:"#eef3fc",surface:"#ffffff",foreground:"#172033"},{id:"forest-light",mode:"light",name:"Forêt · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#edf7ef",surface:"#ffffff",foreground:"#172033"},{id:"ocean-light",mode:"light",name:"Océan · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#eaf6fb",surface:"#ffffff",foreground:"#172033"},{id:"amethyst-light",mode:"light",name:"Améthyste · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#f5effc",surface:"#ffffff",foreground:"#172033"},{id:"wine-light",mode:"light",name:"Bordeaux · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#fcf0f2",surface:"#ffffff",foreground:"#172033"},{id:"copper-light",mode:"light",name:"Cuivre · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#fcf2e9",surface:"#ffffff",foreground:"#172033"},{id:"slate-light",mode:"light",name:"Ardoise · Clair",description:"Clair pastel · monospace",font:'var(--font-geist-mono), "Courier New", monospace',background:"#f0f4f8",surface:"#ffffff",foreground:"#172033"},{id:"sapphire-light",mode:"light",name:"Saphir · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#eef2ff",surface:"#ffffff",foreground:"#172033"},{id:"turquoise-light",mode:"light",name:"Turquoise · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#eafaf6",surface:"#ffffff",foreground:"#172033"},{id:"olive-light",mode:"light",name:"Olive · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#f5f7e9",surface:"#ffffff",foreground:"#172033"},{id:"aubergine-light",mode:"light",name:"Aubergine · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#f9eff9",surface:"#ffffff",foreground:"#172033"},{id:"raspberry-light",mode:"light",name:"Framboise · Clair",description:"Clair pastel · Geist",font:"var(--font-geist-sans), Arial, sans-serif",background:"#fff0f5",surface:"#ffffff",foreground:"#172033"},{id:"amber-light",mode:"light",name:"Ambre · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#fff8e5",surface:"#ffffff",foreground:"#172033"},{id:"cocoa-light",mode:"light",name:"Cacao · Clair",description:"Clair pastel · Georgia",font:'Georgia, "Times New Roman", serif',background:"#f8f1ed",surface:"#ffffff",foreground:"#172033"},{id:"carbon-light",mode:"light",name:"Carbone · Clair",description:"Clair pastel · monospace",font:'var(--font-geist-mono), "Courier New", monospace',background:"#f2f2f2",surface:"#ffffff",foreground:"#172033"}];e.s(["SITE_APPEARANCES",0,t,"getSiteAppearance",0,function(e){return t.find(t=>
1t.id===e)??t[0]}])},902102,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(893476);e.s(["SiteThemeProvider",0,function({primaryColor:e,appearance:s,children:i}){let n=/^#[0-9a-f]{6}$/i.test(e)?e:"#31408f",[o,l]=(0,r.useState)(),c=(0,a.getSiteAppearance)(o??s);return(0,t.jsxs)("div",{className:"site-wrapper flex min-h-screen flex-col","data-site-appearance":c.id,"data-site-mode":c.mode,style:{"--site-primary":n,"--primary":n,"--ring":n,"--site-font":c.font,"--site-background":c.background,"--site-surface":c.surface,"--site-foreground":c.foreground},children:[i,!1]})}])},991124,e=>{"use strict";let t=(0,e.i(475254).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["default",0,t])},174886,e=>{"use strict";var t=e.i(991124);e.s(["Copy",()=>t.default])},752044,e=>{"use strict";var t=e.i(621847);e.s(["Square",()=>t.default])},135445,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("4029dfa68a40fd60eef0525ba738b4a370fc0d0be2",t.callServer,void 0,t.findSourceMapURL,"revalidatePathAction");e.s(["revalidatePathAction",0,r])},779334,e=>{"use strict";var t=e.i(603918);e.s(["Newspaper",()=>t.default])},356909,e=>{"use strict";var t=e.i(251854);e.s(["Save",()=>t.default])},858028,e=>{"use strict";var t=e.i(843476),r=e.i(618566),a=e.i(16715),s=e.i(643531),i=e.i(531278),n=e.i(727612),o=e.i(744757),o=o,l=e.i(39312),c=e.i(752044),d=e.i(658041),u=e.i(271645),f=e.i(846696),h=e.i(135445),m=e.i(163362),g=e.i(73501),p=e.i(95187);let x=(0,p.createServerReference)("00211025df5d25b1bbe985bd4ecad4d984254246d2",p.callServer,void 0,p.findSourceMapURL,"getCacheStats");var b=e.i(647163),v=e.i(522016);function y(){let e=(0,r.usePathname)(),[n,o]=(0,u.useState)(!1),[l,c]=(0,u.useState)(!1),d=async()=>{o(!0);try{await (0,h.revalidatePathAction)(e),c(!0),f.toast.success("Page mise à jour (cache vidé)"),setTimeout(()=>c(!1),2e3)}catch(e){f.toast.error("Erreur lors de la mise à jour")}finally{o(!1)}};return(0,t.jsxs)("button",{onClick:d,disabled:n,className:(0,b.cn)("group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100]",l?"bg-green-500 hover:bg-green-600 text-white":"bg-amber-500 hover:bg-amber-600 text-white"),title:"Vider le cache de cette page",children:[n?(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}):l?(0,t.jsx)(s.Check,{className:"w-4 h-4"}):(0,t.jsx)(a.RefreshCw,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Vider cache"})]})}function w(){let[e,r]=(0,u.useState)(!1),[a,o]=(0,u.useState)(!1),l=async()=>{r(!0);try{await (0,m.clearCache)(),o(!0),f.toast.success("Cache global du site vidé"),setTimeout(()=>o(!1),2e3)}catch(e){f.toast.error("Erreur lors du vidage du cache global")}finally{r(!1)}};return(0,t.jsxs)("button",{onClick:l,disabled:e,className:(0,b.cn)("group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100]",a?"bg-green-500 hover:bg-green-600 text-white":"bg-red-500 hover:bg-red-600 text-white"),title:"Vider le cache global du site",children:[e?(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}):a?(0,t.jsx)(s.Check,{className:"w-4 h-4"}):(0,t.jsx)(n.Trash2,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Vider cache global"})]})}e.s(["CityCacheButton",0,function(){var e;let[r,n]=(0,u.useState)(!1),[o,l]=(0,u.useState)(!1),[c,h]=(0,u.useState)(!1),[m,p]=(0,u.useState)(null);(0,u.useEffect)(()=>{x().then(p)},[]);let v=async()=>{n(!0);try{let e=await (0,g.generateCityCache)();if(e.success){l(!0),f.toast.success(`Cache des villes mis \xe0 jour (${e.count} villes)`);let t=await x();p(t),setTimeout(()=>l(!1),2e3)}else f.toast.error(e.error||e.message||"Erreur lors de la mise à jour")}catch(e){f.toast.error("Erreur lors de la mise à jour du cache")}finally{n(!1)}};return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>h(!c),disabled:r,className:(0,b.cn)("group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100]",o?"bg-green-500 hover:bg-green-600":"bg-violet-500 hover:bg-violet-600","text-white"),title:"Cache des villes",children:[r?(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}):o?(0,t.jsx)(s.Check,{className:"w-4 h-4"}):(0,t.jsx)(d.Database,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Cache des villes"})]}),c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[99]",onClick:()=>h(!1)}),(0,t.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 bg-white rounded-lg shadow-xl border border-gray-200 p-3 min-w-[220px] z-[101]",children:[(0,t.jsx)("div",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wider border-b border-gray-100 pb-2 mb-2",children:"Cache des villes"}),(0,t.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("span",{className:"text-gray-500",children:"Villes en cache:"}),(0,t.jsx)("span",{className:"font-medium text-gray-900",children:m?.totalCities||0})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("span",{className:"text-gray-500",children:"Dernière MAJ:"}),(0,t.jsx)("span",{className:"font-medium text-gray-900 text-xs",children:(e=m?.lastUpdated||null)?new Date(e).toLocaleDateString("fr-FR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"Jamais"})]})]}),(0,t.jsx)("button",{onClick:v,disabled:r,className:"mt-3 w-full flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium text-white bg-violet-600 hover:bg-violet-700 rounded-lg transition-colors disabled:opacity-50",children:r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}),"Mise à jour..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.RefreshCw,{className:"w-4 h-4"}),"Rafraîchir le cache"]})}),(0,t.jsx)("p",{className:"mt-2 text-[10px] text-gray-400 text-center",children:"Actualise le c
1ache depuis la base globale"})]})]})]})},"GlobalCacheButton",0,w,"QuickCacheButton",0,y,"QuickCacheButtons",0,function(){return(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(y,{}),(0,t.jsx)(w,{})]})},"SitemapButton",0,function(){let[e,r]=(0,u.useState)(!1);return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>r(!e),className:(0,b.cn)("group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100]","bg-indigo-500 hover:bg-indigo-600 text-white"),title:"Voir les sitemaps",children:[(0,t.jsx)(o.default,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Sitemaps"})]}),e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[99]",onClick:()=>r(!1)}),(0,t.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 bg-white rounded-lg shadow-xl border border-gray-200 py-2 min-w-[200px] z-[101]",children:[(0,t.jsx)("div",{className:"px-3 py-1.5 text-xs font-semibold text-gray-500 uppercase tracking-wider border-b border-gray-100 mb-1",children:"Sitemaps"}),(0,t.jsxs)(v.default,{href:"/sitemap.xml",target:"_blank",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 transition-colors",onClick:()=>r(!1),children:[(0,t.jsx)(o.default,{className:"w-4 h-4 text-gray-400"}),"Index principal"]}),(0,t.jsxs)(v.default,{href:"/sitemap-villes.xml",target:"_blank",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 transition-colors",onClick:()=>r(!1),children:[(0,t.jsx)(o.default,{className:"w-4 h-4 text-purple-400"}),"Villes"]}),(0,t.jsxs)(v.default,{href:"/sitemap-departements.xml",target:"_blank",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 transition-colors",onClick:()=>r(!1),children:[(0,t.jsx)(o.default,{className:"w-4 h-4 text-emerald-400"}),"Départements"]}),(0,t.jsxs)(v.default,{href:"/sitemap-news.xml",target:"_blank",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 transition-colors",onClick:()=>r(!1),children:[(0,t.jsx)(o.default,{className:"w-4 h-4 text-amber-400"}),"Actualités"]})]})]})]})},"WarmCacheButton",0,function(){let[e,r]=(0,u.useState)(!1),[a,s]=(0,u.useState)(0),[n,o]=(0,u.useState)(0),d=(0,u.useRef)(null),h=async()=>{r(!0),s(0),d.current=new AbortController;let e=d.current.signal;try{let t=new DOMParser,r=[],a=await fetch("/sitemap.xml");if(!a.ok)throw Error(`Sitemap non accessible: ${a.status}`);let i=await a.text(),n=t.parseFromString(i,"text/xml"),l=n.getElementsByTagName("sitemap");if(l.length>0)for(let e of Array.from(l).map(e=>{let t=e.getElementsByTagName("loc")[0];return t?.textContent||""}).filter(e=>e).map(e=>{try{let t=new URL(e);return window.location.origin+t.pathname}catch{return null}}).filter(e=>!!e))try{let a=await fetch(e);if(a.ok){let e=await a.text(),s=t.parseFromString(e,"text/xml").getElementsByTagName("loc"),i=Array.from(s).map(e=>e.textContent||"");r=[...r,...i]}}catch(t){console.error(`Error fetching child sitemap ${e}`,t)}else{let e=n.getElementsByTagName("loc");r=Array.from(e).map(e=>e.textContent||"")}let c=r.filter(e=>e&&e.startsWith("http")).map(e=>{try{let t=new URL(e);return window.location.origin+t.pathname+t.search}catch{return null}}).filter(e=>!!e).filter((e,t,r)=>r.indexOf(e)===t);if(0===c.length)return void f.toast.error("Aucune URL trouvée dans le sitemap");o(c.length),f.toast.info(`Pr\xe9chauffage de ${c.length} pages...`);let d=0,u=0;for(let t=0;t<c.length;t+=5){if(e.aborted)return void f.toast.warning(`Pr\xe9chauffage interrompu: ${d} pages trait\xe9es`);let r=c.slice(t,t+5);(await Promise.allSettled(r.map(t=>fetch(t,{cache:"no-store",signal:e})))).forEach(e=>{"fulfilled"===e.status&&e.value.ok?d++:"rejected"===e.status&&e.reason?.name==="AbortError"||u++}),s(Math.min(t+5,c.length))}if(e.aborted)return;u>0?f.toast.success(`Pr\xe9chauffage termin\xe9: ${d} OK, ${u} erreurs`):f.toast.success(`Pr\xe9chauffage termin\xe9 pour ${d} pages`)}catch(e){e?.name==="AbortError"||(console.error(e),f.toast.error("Erreur lors du préchauffage"))}finally{r(!1),s(0),o(0),d.current=null}};return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:h,disabled:e,className:(0,b.cn)("group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100]",e?"bg-yellow-400":"bg-yellow-500 hover:bg-yellow-600","text-white"),title:"Préchauffer le c
1ache (toutes les pages)",children:[e?(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}):(0,t.jsx)(l.Zap,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Préchauffer le cache"})]}),e&&n>0&&(0,t.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 bg-white rounded-lg shadow-xl border border-gray-200 p-3 min-w-[180px] z-[101]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,t.jsx)("div",{className:"text-xs font-medium text-gray-700",children:"Préchauffage en cours..."}),(0,t.jsx)("button",{onClick:()=>{d.current&&(d.current.abort(new DOMException("User cancelled","AbortError")),f.toast.info("Préchauffage arrêté"))},className:"p-1 rounded-md bg-red-100 hover:bg-red-200 text-red-600 transition-colors",title:"Arrêter le préchauffage",children:(0,t.jsx)(c.Square,{className:"w-3 h-3"})})]}),(0,t.jsx)("div",{className:"h-2 bg-gray-200 rounded-full overflow-hidden mb-1",children:(0,t.jsx)("div",{className:"h-full bg-yellow-500 transition-all duration-300",style:{width:`${a/n*100}%`}})}),(0,t.jsxs)("div",{className:"text-xs text-gray-500 text-center",children:[a," / ",n," pages"]})]})]})}],858028)},618968,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(463600),a=a,s=e.i(37727),i=e.i(174886),n=e.i(643531),o=e.i(618566),l=e.i(846696);e.s(["JsonLdViewer",0,function(){let e=(0,o.usePathname)(),[c,d]=(0,r.useState)([]),[u,f]=(0,r.useState)(!1),[h,m]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{setTimeout(()=>{let e=document.querySelectorAll('script[type="application/ld+json"]'),t=[];e.forEach(e=>{try{let r=e.textContent;r&&t.push(JSON.parse(r))}catch(e){console.error("Error parsing JSON-LD",e)}}),d(t)},500)},[e]),0===c.length)?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:()=>f(!0),className:"group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100] bg-teal-500 hover:bg-teal-600 text-white",title:"Voir le JSON-LD",children:[(0,t.jsx)(a.default,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"JSON-LD"})]}),u&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[150] flex items-center justify-center bg-black/60 p-4 animate-in fade-in duration-200 backdrop-blur-sm",children:[(0,t.jsx)("div",{className:"absolute inset-0",onClick:()=>f(!1)}),(0,t.jsxs)("div",{className:"relative bg-white dark:bg-zinc-900 rounded-xl shadow-2xl w-full max-w-3xl max-h-[80vh] flex flex-col overflow-hidden border border-gray-200 dark:border-zinc-800",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-gray-100 dark:border-zinc-800 bg-white dark:bg-zinc-900",children:[(0,t.jsxs)("h3",{className:"font-semibold text-lg flex items-center gap-2 text-gray-900 dark:text-gray-100",children:[(0,t.jsx)(a.default,{className:"w-5 h-5 text-blue-500"}),"Données Structurées (JSON-LD)",(0,t.jsxs)("span",{className:"text-xs bg-blue-50 text-blue-700 px-2.5 py-0.5 rounded-full border border-blue-100 font-medium",children:[c.length," blocs"]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("button",{onClick:()=>{let e=JSON.stringify(c,null,2);navigator.clipboard.writeText(e),m(!0),l.toast.success("JSON-LD copié !"),setTimeout(()=>m(!1),2e3)},className:"p-2 hover:bg-gray-100 dark:hover:bg-zinc-800 rounded-lg transition-colors text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100",title:"Copier tout",children:h?(0,t.jsx)(n.Check,{className:"w-4 h-4 text-green-500"}):(0,t.jsx)(i.Copy,{className:"w-4 h-4"})}),(0,t.jsx)("button",{onClick:()=>f(!1),className:"p-2 hover:bg-gray-100 dark:hover:bg-zinc-800 rounded-lg transition-colors text-gray-500 dark:text-gray-400 hover:text-red-500",children:(0,t.jsx)(s.X,{className:"w-5 h-5"})})]})]}),(0,t.jsx)("div",{className:"p-0 overflow-auto bg-[#0d1117] flex-1",children:(0,t.jsx)("pre",{className:"text-xs sm:text-sm font-mono p-4 text-left whitespace-pre-wrap break-all text-[#e6edf3]",children:JSON.stringify(c,null,2)})})]})]})]})}],618968)},626738,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(751975),s=e.i(356909),i=e.i(37727),n=e.i(531278),o=e.i(618566),l=e.i(95187);let c=(0,l.createServerReference)("60521fad836696db165fcd56aa7bc090bd494e8a0e",l.callServer,void 0,l.findSourceMapURL,"updateMetaKeywords");var d=e.i(846696);e.s(["MetaKeywordsEditor",0,function(){let e=(0,o.usePathname)(),[l,u]=(0,r.useState)(!1),[f,h]=(0,r.useState)(""),[m,g]=(0,r.useState)(!1),[p,x]=(0,r.useState)("");(0,r.useEffect)(()=>
1{if(l){let e=document.querySelector('meta[name="keywords"]'),t=e&&e.getAttribute("content")||"";h(t),x(t)}},[l,e]);let b=async()=>{g(!0);try{let t=await c(e,f);if(t.success){d.toast.success("Mots-clés mis à jour !"),u(!1);let e=document.querySelector('meta[name="keywords"]');e||((e=document.createElement("meta")).setAttribute("name","keywords"),document.head.appendChild(e)),e.setAttribute("content",f)}else d.toast.error(t.error||"Erreur lors de la mise à jour.")}catch(e){console.error(e),d.toast.error("Erreur serveur inattendue.")}finally{g(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:()=>u(!0),className:"group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100] bg-emerald-600 hover:bg-emerald-700 text-white",title:"Gérer les Mots-clés SEO",children:[(0,t.jsx)(a.Tag,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"SEO Keywords"})]}),l&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[150] flex items-center justify-center bg-black/60 p-4 animate-in fade-in duration-200 backdrop-blur-sm",children:[(0,t.jsx)("div",{className:"absolute inset-0",onClick:()=>u(!1)}),(0,t.jsxs)("div",{className:"relative bg-white dark:bg-zinc-900 rounded-xl shadow-2xl w-full max-w-lg overflow-hidden border border-gray-200 dark:border-zinc-800 animate-in zoom-in-95 duration-200",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-gray-100 dark:border-zinc-800 bg-white dark:bg-zinc-900",children:[(0,t.jsxs)("h3",{className:"font-semibold text-lg flex items-center gap-2 text-gray-900 dark:text-gray-100",children:[(0,t.jsx)(a.Tag,{className:"w-5 h-5 text-emerald-500"}),"Mots-clés SEO (Meta Keywords)"]}),(0,t.jsx)("button",{onClick:()=>u(!1),className:"p-2 hover:bg-gray-100 dark:hover:bg-zinc-800 rounded-lg transition-colors text-gray-500 dark:text-gray-400 hover:text-red-500",children:(0,t.jsx)(i.X,{className:"w-5 h-5"})})]}),(0,t.jsxs)("div",{className:"p-6 space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Liste des mots-clés (séparés par des virgules)"}),(0,t.jsx)("textarea",{value:f,onChange:e=>h(e.target.value),className:"w-full h-32 rounded-lg border border-gray-300 dark:border-zinc-700 bg-white dark:bg-zinc-950 p-3 text-sm focus:ring-2 focus:ring-emerald-500 outline-none resize-none",placeholder:"pharmacie, médicaments, santé, garde..."}),(0,t.jsxs)("p",{className:"mt-2 text-xs text-gray-500 dark:text-gray-400",children:["Ces mots-clés seront insérés dans la balise ",(0,t.jsx)("code",{children:'<meta name="keywords">'})," de cette page."]})]}),(0,t.jsxs)("div",{className:"flex justify-end gap-3 pt-2",children:[(0,t.jsx)("button",{onClick:()=>u(!1),className:"px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-zinc-800 rounded-lg transition-colors",children:"Annuler"}),(0,t.jsx)("button",{onClick:b,disabled:m,className:"inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-white bg-emerald-600 hover:bg-emerald-700 rounded-lg transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed",children:m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Loader2,{className:"w-4 h-4 animate-spin"}),"Enregistrement..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Save,{className:"w-4 h-4"}),"Enregistrer"]})})]})]})]})]})]})}],626738)},22098,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(788699),s=e.i(618566),i=e.i(95187);let n=(0,i.createServerReference)("40a4c41c927463c147d3d576fcebe367d52266e1f2",i.callServer,void 0,i.findSourceMapURL,"getEditUrl");var o=e.i(522016);e.s(["EditContentButton",0,function(){let e=(0,s.usePathname)(),[i,l]=(0,r.useState)(null);return((0,r.useEffect)(()=>{let t=!0;return n(e).then(e=>{t&&l(e)}),()=>{t=!1}},[e]),i)?(0,t.jsxs)(o.default,{href:i,className:"group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100] bg-orange-500 hover:bg-orange-600 text-white",title:"Modifier le contenu",children:[(0,t.jsx)(a.Pencil,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Modifier"})]}):null}],22098)},327420,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(27365),s=e.i(531278),i=e.i(174886),n=e.i(643531),o=e.i(607486),l=e.i(346897),c=e.i(779334),d=e.i(178583),u=e.i(370956),f=e.i(846696),h=e.i(95187);let m=(0,h.createServerReference)("00a1eeba6f32293320a4f4c2887e8a15e03d778302",h.callServer,void 0,h.findSourceMapURL,"exp
1ortSiteUrls");var g=e.i(647163);let p=[{type:"all",label:"Toutes les URLs",icon:u.List},{type:"cities",label:"Villes",icon:l.MapPin},{type:"departments",label:"Départements",icon:o.Building2},{type:"news",label:"Actualités",icon:c.Newspaper},{type:"pages",label:"Pages statiques",icon:d.FileText}];e.s(["UrlExportButton",0,function(){let[e,o]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(null),[h,x]=(0,r.useState)(null),b=async()=>{if(!e&&!h){c(!0);try{let e=await m();x(e)}catch(e){f.toast.error("Erreur lors du chargement des URLs")}finally{c(!1)}}o(!e)},v=async e=>{if(!h)return;let t=h[e],r=t.join("\n");try{await navigator.clipboard.writeText(r),u(e),f.toast.success(`${t.length} URLs copi\xe9es`),setTimeout(()=>u(null),2e3)}catch(e){f.toast.error("Erreur lors de la copie")}};return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:b,disabled:l,className:(0,g.cn)("group relative inline-flex items-center justify-center p-2 rounded-full shadow-lg transition-all hover:scale-105 z-[100]","bg-cyan-500 hover:bg-cyan-600 text-white"),title:"Exporter les URLs du site",children:[l?(0,t.jsx)(s.Loader2,{className:"w-4 h-4 animate-spin"}):(0,t.jsx)(a.FileDown,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Exporter URLs"})]}),e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[99]",onClick:()=>o(!1)}),(0,t.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 bg-white rounded-lg shadow-xl border border-gray-200 py-2 min-w-[280px] z-[101]",children:[(0,t.jsx)("div",{className:"px-3 py-1.5 text-xs font-semibold text-gray-500 uppercase tracking-wider border-b border-gray-100 mb-1",children:"Exporter les URLs"}),l?(0,t.jsxs)("div",{className:"px-3 py-4 text-center text-gray-500",children:[(0,t.jsx)(s.Loader2,{className:"w-5 h-5 animate-spin mx-auto mb-2"}),"Chargement..."]}):(0,t.jsx)("div",{className:"space-y-1",children:p.map(({type:e,label:r,icon:s})=>(0,t.jsxs)("div",{className:"flex items-center justify-between px-3 py-2 hover:bg-gray-50 transition-colors",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s,{className:"w-4 h-4 text-gray-400"}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:r}),(0,t.jsxs)("span",{className:"text-xs text-gray-400",children:["(",h?h[e].length:0,")"]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("button",{onClick:()=>v(e),className:"p-1.5 rounded-md hover:bg-gray-200 transition-colors",title:"Copier",children:d===e?(0,t.jsx)(n.Check,{className:"w-3.5 h-3.5 text-green-500"}):(0,t.jsx)(i.Copy,{className:"w-3.5 h-3.5 text-gray-500"})}),(0,t.jsx)("button",{onClick:()=>(e=>{if(!h)return;let t=h[e],r=new Blob([t.join("\n")],{type:"text/plain"}),a=URL.createObjectURL(r),s=document.createElement("a");s.href=a,s.download=`urls-${e}-${new Date().toISOString().split("T")[0]}.txt`,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a),f.toast.success(`${t.length} URLs t\xe9l\xe9charg\xe9es`)})(e),className:"p-1.5 rounded-md hover:bg-gray-200 transition-colors",title:"Télécharger",children:(0,t.jsx)(a.FileDown,{className:"w-3.5 h-3.5 text-gray-500"})})]})]},e))})]})]})]})}],327420)}]);

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.