PageSourceSearch

https://compliance-news-hub.lovable.app/assets/SanctionsTreemap-iuYlr-Fw.js

js compliance-news-hub.lovable.app collected 2026-10-03 03:26:39 UTC 38,397 bytes, 1 lines download raw bytes

1import{s as I,r as h,j as e,p as Ue,q as Ye,v as X,w as se,P as ae,x as $e,l as qe,C as We,B as pe,L as ge,S as Xe}from"./index-BmPTT47H.js";import{C as z,a as B,b as K,d as V}from"./card-CfjCoZ3J.js";import{i as Je,f as je,D as Qe}from"./Header-CQpcWalb.js";import{B as $}from"./button-yXLJi3ds.js";import{s as Ze}from"./sanctionsTreemapService-DH4CI2wk.js";import{u as Ce}from"./use-toast-C_emRBFr.js";import{U as et}from"./users-1eBGfZZi.js";import{R as ie,B as ve,X as be,Y as Ne,a as we,L as ye,T as tt}from"./BarChart-CjzGm17e.js";import{E as st}from"./euro-DgF70vzp.js";import{T as _e}from"./trophy-ByTObkXv.js";import{u as nt,c as De}from"./index-dl4Z3C0W.js";import{u as at}from"./index-D2Q_rCgd.js";import{c as rt}from"./index-BJMF_Vs4.js";import{L as ot}from"./loader-circle-XVp12JYh.js";import{F as it}from"./filter-COVw7n6h.js";import{C as Ae}from"./calendar-B_IDTxYX.js";import{P as ct}from"./pause-D4upXryB.js";import{C as lt}from"./chevron-left-DuBcPNcj.js";import{E as te}from"./external-link-eR5-a3X-.js";import{A as dt}from"./arrow-left-CQB_U06f.js";import{T as Se}from"./trending-up-LM8gpViR.js";import{G as mt}from"./gavel-B6Y2GBBy.js";import{S as ut}from"./shield-C3P-DOpD.js";import{T as xt}from"./Treemap-UB7hLUey.js";import{I as ht}from"./info-Qdn5uU52.js";import{B as ft}from"./building-2--IbLwGF7.js";import"./tabs-DVYKU3o9.js";import"./check-ClzIKKXE.js";import"./use-mobile-CzZR2LPX.js";import"./input-C-BlsXNi.js";import"./partnerService-C0EyNiRu.js";import"./sheet-BDFY0CSD.js";import"./useAdminAuth-SKLgLRs5.js";import"./ComplianceLogo-ziaG9BCN.js";import"./scroll-area-ByCh8woV.js";import"./search-CYsk5-GD.js";import"./file-text-fRNbbiL7.js";import"./scale-F382QNTF.js";import"./shield-alert-84YveiI7.js";import"./library-BvxbsTeb.js";import"./newspaper-CiAQcQwi.js";import"./graduation-cap-LOjyd6ZU.js";import"./briefcase-DkC-bbnP.js";import"./message-circle-c2dj1iBZ.js";import"./circle-check-big-FrZf7WPr.js";import"./triangle-alert-6Xgor2AG.js";import"./clipboard-check-DUlSL_qw.js";import"./mail-D0iFUC8R.js";import"./book-open-BnaDvaQT.js";import"./arrow-right-BNwccK-f.js";import"./wrench-C-BxV5t0.js";import"./lock-CH38NGfC.js";import"./chevron-down-BBzHhxGF.js";import"./monitor-cog-D1XHH9bH.js";import"./map-ec2J03B_.js";import"./star-Box5CnVY.js";import"./purify.es-CjvLbo03.js";import"./testimonialsService-BTFH8p1n.js";import"./heart-hKvkuTDF.js";import"./calendar-days-ol3l775w.js";import"./message-square-DG7dpMc-.js";import"./log-out-BrUlwzD6.js";import"./shopping-bag-DxAmBtQw.js";import"./tiny-invariant-D0N0EIX7.js";import"./index-tCnTqmGO.js";import"./index-Dh4i1-J3.js";import"./Polygon-CzMkl3zF.js";const pt={async getADLCTotal(){let n=[],t=0;const s=1e3;for(;;){const{data:m,error:x}=await I.from("adlc_sanctions").select("decision_reference, collective_fine").range(t,t+s-1);if(x)throw console.error("Erreur ADLC:",x),x;if(!m||m.length===0||(n=n.concat(m),m.length<s))break;t+=s}const c=new Set(n.map(m=>m.decision_reference)).size,u={};for(const m of n){const x=m.decision_reference;m.collective_fine&&!u[x]&&(u[x]=m.collective_fine)}return{regulation_name:"Anti-trust (France)",sanction_amount:Object.values(u).reduce((m,x)=>m+x,0),sanction_count:c,source_name:"Base ADLC Compliance Hub",source_url:"/adlc-sanctions"}},async getRGPDEuropeTotal(){let n=[],t=0;const s=1e3,{count:d,error:c}=await I.from("gdpr_sanctions").select("*",{count:"exact",head:!0});if(c)throw console.error("Erreur RGPD Europe count:",c),c;for(;;){const{data:i,error:m}=await I.from("gdpr_sanctions").select("fine_amount").range(t,t+s-1);if(m)throw console.error("Erreur RGPD Europe:",m),m;if(!i||i.length===0||(n=n.concat(i),i.length<s))break;t+=s}return{regulation_name:"RGPD (Europe)",sanction_amount:n.reduce((i,m)=>i+(m.fine_amount||0),0),sanction_count:d||0,source_name:"Base RGPD Compliance Hub",source_url:"/gdpr-sanctions"}},async getRGPDFranceTotal(){const{data:n,error:t,count:s}=await I.from("gdpr_sanctions").select("fine_amount",{count:"exact"}).ilike("country","france");if(t)throw console.error("Erreur RGPD France:",t),t;return{regulation_name:"RGPD (France)",sanction_amount:(n||[]).reduce((c,u)=>c+(u.fine_amount||0),0),sanction_count:s||0,source_name:"Base RGPD Compliance Hub",source_url:"/gdpr-sanctions"}},async getACPRTotal(){const{data:n,error:t,count:s}=await I.from("acpr_sanctions").select("sanction_amount",{count:"exact"});if(t)throw console.error("Erreur ACPR:",t),t;return{regulation_name:"ACPR (France)",sanction_amount:(n||[]).reduce((c,u)=>c+(u.sanction_amount||0),0),sanction_count:s||0,source_name:"Base ACPR Compliance Hub",source_url:"/acpr-sanctions"}},async getAllDynamicTotals(){const[n,t,s,d]=await Promise.all([this.getADLCTotal(),this.getRGPDEuropeTotal(),this.getRGPDFranceTotal(),this.getACPRTotal()]);return[n,t,s,d]}},gt=()=>{const[n,t]=h.useState(!1),s=[{name:"AFA",value:52,color:"#16a34a"},{name:"CNIL",value:292,color:"#16a34a"},{name:"PNF",value:47,color:"#16a34a"},{name:"ACPR",value:1065,color:"#16a34a"},{name:"AMF",value:516,color:"#16a34a"},{name:"TRACFIN",value:754,color:"#16a34a"},{name:"ADLC",value:208,color:"#16a34a"},{name:"HATVP",value:75,color:"#16a34a"},{name:"ANSSI",value:656,color:"#16a34a"}],d=[{name:"AFA",value:0,color:"#059669",note:"N/D"},{name:"CNIL",value:28,color:"#059669"},{name:"PNF",value:0,color:"#059669",note:"N/D"},{name:"ACPR",value:232,color:"#059669"},{name:"AMF",value:140,color:"#059669"},{name:"TRACFIN",value:0,color:"#059669",note:"N/D"},{name:"ADLC",value:24,color:"#059669"},{name:"HATVP",value:10,color:"#059669"},{name:"ANSSI",value:30,color:"#059669"}];h.useEffect(()=>{const g=setTimeout(()=>{t(!0)},300);return()=>clearTimeout(g)},[]);const c=Math.max(...s.map(g=>
1g.value)),u=Math.max(...d.filter(g=>g.value>0).map(g=>g.value)),i=({fill:g,payload:N,...r})=>{const[l,f]=h.useState(0);return h.useEffect(()=>{if(n){const v=setTimeout(()=>{f(1)},N?s.findIndex(j=>j.name===N.name)*100:0);return()=>clearTimeout(v)}},[n,N]),e.jsx("rect",{...r,fill:g,style:{transformOrigin:"bottom",transform:`scaleY(${l})`,transition:"transform 0.8s cubic-bezier(0.4, 0, 0.2, 1)"}})},m=g=>{const{x:N,y:r,width:l,height:f,value:v}=g,j=v===c;return e.jsxs("g",{children:[e.jsx("text",{x:N+l/2,y:r-5,fill:"#374151",textAnchor:"middle",dy:-6,fontSize:"12",fontWeight:"500",children:v}),j&&e.jsx("foreignObject",{x:N+l/2-8,y:r+f/2-8,width:"16",height:"16",children:e.jsx(_e,{className:"h-4 w-4 text-yellow-500"})})]})},x=g=>{const{x:N,y:r,width:l,height:f,value:v}=g,j=v===u&&v>0;return v===0?null:e.jsxs("g",{children:[e.jsxs("text",{x:N+l/2,y:r-5,fill:"#374151",textAnchor:"middle",dy:-6,fontSize:"12",fontWeight:"500",children:[v,"M€"]}),j&&e.jsx("foreignObject",{x:N+l/2-8,y:r+f/2-8,width:"16",height:"16",children:e.jsx(_e,{className:"h-4 w-4 text-yellow-500"})})]})};return e.jsx("div",{className:"space-y-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[e.jsxs(z,{className:"hover:shadow-lg transition-all duration-300 animate-fade-in",children:[e.jsx(B,{children:e.jsxs(K,{className:"flex items-center gap-2 text-pink-600",children:[e.jsx(et,{className:"h-5 w-5"}),"Comparaison des effectifs"]})}),e.jsxs(V,{children:[e.jsx("div",{className:"h-96",children:e.jsx(ie,{width:"100%",height:"100%",children:e.jsxs(ve,{data:s,margin:{top:40,right:30,left:20,bottom:60},children:[e.jsx(be,{dataKey:"name",tick:{fontSize:12},angle:-45,textAnchor:"end",height:60}),e.jsx(Ne,{tick:{fontSize:12},domain:[0,1200]}),e.jsx(we,{dataKey:"value",fill:"#16a34a",radius:[4,4,0,0],shape:i,children:e.jsx(ye,{content:m})})]})})}),e.jsx("p",{className:"text-xs text-pink-600 font-medium text-center mt-2",children:"Source: derniers rapports annuels des autorités ou site web"})]})]}),e.jsxs(z,{className:"hover:shadow-lg transition-all duration-300 animate-fade-in",style:{animationDelay:"0.2s"},children:[e.jsx(B,{children:e.jsxs(K,{className:"flex items-center gap-2 text-pink-600",children:[e.jsx(st,{className:"h-5 w-5"}),"Comparaison des budgets"]})}),e.jsxs(V,{children:[e.jsx("div",{className:"h-96",children:e.jsx(ie,{width:"100%",height:"100%",children:e.jsxs(ve,{data:d,margin:{top:40,right:30,left:20,bottom:60},children:[e.jsx(be,{dataKey:"name",tick:{fontSize:12},angle:-45,textAnchor:"end",height:60}),e.jsx(Ne,{tick:{fontSize:12},label:{value:"Millions €",angle:-90,position:"insideLeft"},domain:[0,250]}),e.jsx(we,{dataKey:"value",fill:"#059669",radius:[4,4,0,0],shape:i,children:e.jsx(ye,{content:x})})]})})}),e.jsxs("div",{className:"space-y-2 mt-4",children:[e.jsx("p",{className:"text-xs text-pink-600 font-medium text-center",children:"Source: derniers rapports annuels des autorités ou site web"}),e.jsx("p",{className:"text-xs text-gray-500 text-center",children:"* AFA, PNF, TRACFIN: données budgétaires non disponibles/non trouvées"}),e.jsx("p",{className:"text-xs text-gray-500 text-center",children:"Pour l'ANSSI, données hors masse salariale"})]})]})]})]})})},ne=5e6,jt={async getRGPDSanctions(){const{data:n,error:t}=await I.from("gdpr_sanctions").select("id, controller, fine_amount, decision_date, source_url").gte("fine_amount",ne).order("fine_amount",{ascending:!1});if(t)throw console.error("Erreur RGPD sanctions:",t),t;return(n||[]).map(s=>({id:s.id,company_name:s.controller||"Inconnu",sanction_amount:s.fine_amount||0,sanction_type:"RGPD",decision_date:s.decision_date,decision_url:s.source_url}))},async getACPRSanctions(){const{data:n,error:t}=await I.from("acpr_sanctions").select("id, entity_name, sanction_amount, decision_date, decision_url").gte("sanction_amount",ne).order("sanction_amount",{ascending:!1});if(t)throw console.error("Erreur ACPR sanctions:",t),t;return(n||[]).map(s=>({id:s.id,company_name:s.entity_name,sanction_amount:s.sanction_amount||0,sanction_type:"ACPR",decision_date:s.decision_date,decision_url:s.decision_url}))},async getCJIPSanctions(){const{data:n,error:t}=await I.from("cjip_database").select("id, company_name, fine_amount, cjip_date, document_url").gte("fine_amount",ne).order("fine_amount",{ascending:!1});if(t)throw console.error("Erreur CJIP sanctions:",t),t;return(n||[]).map(s=>({id:s.id,company_name:s.company_name,sanction_amount:s.fine_amount||0,sanction_type:"CJIP",decision_date:s.cjip_date,decision_url:s.document_url}))},async getADLCSanctions(){const{data:n,error:t}=await I.from("adlc_sanctions").select("id, company_name, individual_fine, decision_year, decision_reference").gte("individual_fine",ne).order("individual_fine",{ascending:!1});if(t)throw console.error("Erreur ADLC sanctions:",t),t;const s=new Map;
1(n||[]).forEach(c=>{const u=`${c.decision_reference}-${c.individual_fine}`;if(!s.has(u))s.set(u,c);else{const i=s.get(u);c.company_name.length<i.company_name.length&&s.set(u,{...c,id:i.id})}});const d="https://ivxybitmaslffwsdcpuc.supabase.co";return Array.from(s.values()).map(c=>({id:c.id,company_name:c.company_name,sanction_amount:c.individual_fine||0,sanction_type:"ADLC",decision_date:`${c.decision_year}-01-01`,decision_url:`${d}/functions/v1/redirect-adlc-decision?ref=${encodeURIComponent(c.decision_reference)}`}))},async getAllMajorSanctions(){const[n,t,s,d]=await Promise.all([this.getRGPDSanctions(),this.getACPRSanctions(),this.getCJIPSanctions(),this.getADLCSanctions()]),c=[...n,...t,...s,...d];return c.sort((u,i)=>i.sanction_amount-u.sanction_amount),c}};var Pe=["PageUp","PageDown"],Re=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Me={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},J="Slider",[ce,vt,bt]=rt(J),[Ee,Js]=Ue(J,[bt]),[Nt,re]=Ee(J),ke=h.forwardRef((n,t)=>{const{name:s,min:d=0,max:c=100,step:u=1,orientation:i="horizontal",disabled:m=!1,minStepsBetweenThumbs:x=0,defaultValue:g=[d],value:N,onValueChange:r=()=>{},onValueCommit:l=()=>{},inverted:f=!1,form:v,...j}=n,b=h.useRef(new Set),o=h.useRef(0),S=i==="horizontal"?wt:yt,[y=[],M]=Ye({prop:N,defaultProp:g,onChange:C=>{var a;(a=[...b.current][o.current])==null||a.focus(),r(C)}}),H=h.useRef(y);function A(C){const P=At(y,C);O(C,P)}function G(C){O(C,o.current)}function q(){const C=H.current[o.current];y[o.current]!==C&&l(y)}function O(C,P,{commit:a}={commit:!1}){const p=Et(u),w=kt(Math.round((C-d)/u)*u+d,p),D=De(w,[d,c]);M((E=[])=>{const k=Ct(E,D,P);if(Mt(k,x*u)){o.current=k.indexOf(D);const T=String(k)!==String(E);return T&&a&&l(k),T?k:E}else return E})}return e.jsx(Nt,{scope:n.__scopeSlider,name:s,disabled:m,min:d,max:c,valueIndexToChangeRef:o,thumbs:b.current,values:y,orientation:i,form:v,children:e.jsx(ce.Provider,{scope:n.__scopeSlider,children:e.jsx(ce.Slot,{scope:n.__scopeSlider,children:e.jsx(S,{"aria-disabled":m,"data-disabled":m?"":void 0,...j,ref:t,onPointerDown:X(j.onPointerDown,()=>{m||(H.current=y)}),min:d,max:c,inverted:f,onSlideStart:m?void 0:A,onSlideMove:m?void 0:G,onSlideEnd:m?void 0:q,onHomeKeyDown:()=>
1!m&&O(d,0,{commit:!0}),onEndKeyDown:()=>!m&&O(c,y.length-1,{commit:!0}),onStepKeyDown:({event:C,direction:P})=>{if(!m){const w=Pe.includes(C.key)||C.shiftKey&&Re.includes(C.key)?10:1,D=o.current,E=y[D],k=u*w*P;O(E+k,D,{commit:!0})}}})})})})});ke.displayName=J;var[Te,Le]=Ee(J,{startEdge:"left",endEdge:"right",size:"width",direction:1}),wt=h.forwardRef((n,t)=>{const{min:s,max:d,dir:c,inverted:u,onSlideStart:i,onSlideMove:m,onSlideEnd:x,onStepKeyDown:g,...N}=n,[r,l]=h.useState(null),f=se(t,S=>l(S)),v=h.useRef(),j=nt(c),b=j==="ltr",o=b&&!u||!b&&u;function _(S){const y=v.current||r.getBoundingClientRect(),M=[0,y.width],A=me(M,o?[s,d]:[d,s]);return v.current=y,A(S-y.left)}return e.jsx(Te,{scope:n.__scopeSlider,startEdge:o?"left":"right",endEdge:o?"right":"left",direction:o?1:-1,size:"width",children:e.jsx(Ie,{dir:j,"data-orientation":"horizontal",...N,ref:f,style:{...N.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:S=>{const y=_(S.clientX);i==null||i(y)},onSlideMove:S=>{const y=_(S.clientX);m==null||m(y)},onSlideEnd:()=>{v.current=void 0,x==null||x()},onStepKeyDown:S=>{const M=Me[o?"from-left":"from-right"].includes(S.key);g==null||g({event:S,direction:M?-1:1})}})})}),yt=h.forwardRef((n,t)=>{const{min:s,max:d,inverted:c,onSlideStart:u,onSlideMove:i,onSlideEnd:m,onStepKeyDown:x,...g}=n,N=h.useRef(null),r=se(t,N),l=h.useRef(),f=!c;function v(j){const b=l.current||N.current.getBoundingClientRect(),o=[0,b.height],S=me(o,f?[d,s]:[s,d]);return l.current=b,S(j-b.top)}return e.jsx(Te,{scope:n.__scopeSlider,startEdge:f?"bottom":"top",endEdge:f?"top":"bottom",size:"height",direction:f?1:-1,children:e.jsx(Ie,{"data-orientation":"vertical",...g,ref:r,style:{...g.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:j=>{const b=v(j.clientY);u==null||u(b)},onSlideMove:j=>{const b=v(j.clientY);i==null||i(b)},onSlideEnd:()=>{l.current=void 0,m==null||m()},onStepKeyDown:j=>{const o=Me[f?"from-bottom":"from-top"].includes(j.key);x==null||x({event:j,direction:o?-1:1})}})})}),Ie=h.forwardRef((n,t)=>{const{__scopeSlider:s,onSlideStart:d,onSlideMove:c,onSlideEnd:u,onHomeKeyDown:i,onEndKeyDown:m,onStepKeyDown:x,...g}=n,N=re(J,s);return e.jsx(ae.span,{...g,ref:t,onKeyDown:X(n.onKeyDown,r=>{r.key==="Home"?(i(r),r.preventDefault()):r.key==="End"?(m(r),r.preventDefault()):Pe.concat(Re).includes(r.key)&&(x(r),r.preventDefault())}),onPointerDown:X(n.onPointerDown,r=>{const l=r.target;l.setPointerCapture(r.pointerId),r.preventDefault(),N.thumbs.has(l)?l.focus():d(r)}),onPointerMove:X(n.onPointerMove,r=>{r.target.hasPointerCapture(r.pointerId)&&c(r)}),onPointerUp:X(n.onPointerUp,r=>{const l=r.target;l.hasPointerCapture(r.pointerId)&&(l.releasePointerCapture(r.pointerId),u(r))})})}),Fe="SliderTrack",ze=h.forwardRef((n,t)=>{const{__scopeSlider:s,...d}=n,c=re(Fe,s);return e.jsx(ae.span,{"data-disabled":c.disabled?"":void 0,"data-orientation":c.orientation,...d,ref:t})});ze.displayName=Fe;var le="SliderRange",Be=h.forwardRef((n,t)=>{const{__scopeSlider:s,...d}=n,c=re(le,s),u=Le(le,s),i=h.useRef(null),m=se(t,i),x=c.values.length,g=c.values.map(l=>Ve(l,c.min,c.max)),N=x>1?Math.min(...g):0,r=100-Math.max(...g);return e.jsx(ae.span,{"data-orientation":c.orientation,"data-disabled":c.disabled?"":void 0,...d,ref:m,style:{...n.style,[u.startEdge]:N+"%",[u.endEdge]:r+"%"}})});Be.displayName=le;var de="SliderThumb",Ke=h.forwardRef((n,t)=>{const s=vt(n.__scopeSlider),[d,c]=h.useState(null),u=se(t,m=>c(m)),i=h.useMemo(()=>d?s().findIndex(m=>m.ref.current===d):-1,[s,d]);return e.jsx(_t,{...n,ref:u,index:i})}),_t=h.forwardRef((n,t)=>{const{__scopeSlider:s,index:d,name:c,...u}=n,i=re(de,s),m=Le(de,s),[x,g]=h.useState(null),N=se(t,_=>g(_)),r=x?i.form||!!x.closest("form"):!0,l=$e(x),f=i.values[d],v=f===void 0?0:Ve(f,i.min,i.max),j=Dt(d,i.values.length),b=l==null?void 0:l[m.size],o=b?Pt(b,v,m.direction):0;return h.useEffect(()=>{if(x)return i.thumbs.add(x),()=>{i.thumbs.delete(x)}},[x,i.thumbs]),e.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[m.startEdge]:`calc(${v}% + ${o}px)`},children:[e.jsx(ce.ItemSlot,{scope:n.__scopeSlider,children:e.jsx(ae.span,{role:"slider","aria-label":n["aria-label"]||j,"aria-valuemin":i.min,"aria-valuenow":f,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0,...u,ref:N,style:f===void 0?{display:"none"}:n.style,onFocus:X(n.onFocus,()=>{i.valueIndexToChangeRef.current=d})})}),r&&e.jsx(St,{name:c??(i.name?i.name+(i.values.length>1?"[]":""):void 0),form:i.form,value:f},d)]})});Ke.displayName=de;var St=n=>{const{value:t,...s}=n,d=h.useRef(null),c=at(t);return h.useEffect(()=>{const u=d.current,i=window.HTMLInputElement.prototype,x=Object.getOwnPropertyDescriptor(i,"value").set;if(c!==t&&x){const g=new Event("input",{bubbles:!0});x.call(u,t),u.dispatchEvent(g)}},[c,t]),e.jsx("input",{style:{display:"none"},...s,ref:d,defaultValue:t})};function Ct(n=[],t,s){const d=[...n];return d[s]=t,d.sort((c,u)=>c-u)}function Ve(n,t,s){const u=100/(s-t)*(n-t);return De(u,[0,100])}function Dt(n,t){return t>2?`Value ${n+1} of ${t}`:t===2?["Minimum","Maximum"][n]:void 0}function At(n,t){if(n.length===1)return 0;const s=n.map(c=>Math.abs(c-t)),d=Math.min(...s);return s.indexOf(d)}
1function Pt(n,t,s){const d=n/2,u=me([0,50],[0,d]);return(d-u(t)*s)*s}function Rt(n){return n.slice(0,-1).map((t,s)=>n[s+1]-t)}function Mt(n,t){if(t>0){const s=Rt(n);return Math.min(...s)>=t}return!0}function me(n,t){return s=>{if(n[0]===n[1]||t[0]===t[1])return t[0];const d=(t[1]-t[0])/(n[1]-n[0]);return t[0]+d*(s-n[0])}}function Et(n){return(String(n).split(".")[1]||"").length}function kt(n,t){const s=Math.pow(10,t);return Math.round(n*s)/s}var He=ke,Tt=ze,Lt=Be,It=Ke;const Ge=h.forwardRef(({className:n,...t},s)=>e.jsxs(He,{ref:s,className:qe("relative flex w-full touch-none select-none items-center",n),...t,children:[e.jsx(Tt,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:e.jsx(Lt,{className:"absolute h-full bg-primary"})}),e.jsx(It,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));Ge.displayName=He.displayName;const ee={RGPD:{bg:"rgba(59, 130, 246, 0.7)",border:"#10b981",text:"#065f46"},ACPR:{bg:"rgba(16, 185, 129, 0.7)",border:"#10b981",text:"#065f46"},CJIP:{bg:"rgba(16, 185, 129, 0.7)",border:"#10b981",text:"#065f46"},ADLC:{bg:"rgba(239, 68, 68, 0.7)",border:"#ef4444",text:"#991b1b"}},Ft=()=>{const{toast:n}=Ce(),t=h.useRef(null),[s,d]=h.useState([]),[c,u]=h.useState(!0),[i,m]=h.useState(null),[x,g]=h.useState({visible:!1,x:0,y:0,data:null}),[N,r]=h.useState({width:900,height:600}),[l,f]=h.useState(null),[v,j]=h.useState(!1),b=h.useRef(null);h.useEffect(()=>{(async()=>{try{u(!0);const p=await jt.getAllMajorSanctions();d(p)}catch(p){n({title:"Erreur",description:"Impossible de charger les sanctions majeures",variant:"destructive"}),console.error("Erreur chargement:",p)}finally{u(!1)}})()},[n]);const o=h.useMemo(()=>{const a=new Set;return s.forEach(p=>{const w=new Date(p.decision_date).getFullYear();isNaN(w)||a.add(w)}),Array.from(a).sort((p,w)=>p-w)},[s]);h.useEffect(()=>(v&&o.length>0?b.current=setInterval(()=>{f(a=>{if(a===null)return o[0];const p=o.indexOf(a);return p===o.length-1?(j(!1),a):o[p+1]})},1500):b.current&&(clearInterval(b.current),b.current=null),()=>{b.current&&clearInterval(b.current)}),[v,o]),h.useEffect(()=>{const a=()=>{if(t.current){const p=t.current.offsetWidth;r({width:Math.max(p,300),height:600})}};return a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]);const _=h.useMemo(()=>{let a=s;return i&&(a=a.filter(p=>p.sanction_type===i)),l!==null&&(a=a.filter(p=>new Date(p.decision_date).getFullYear()===l)),a},[s,i,l]),S=a=>{if(o.length===0)return;const p=a[0];f(o[p])},y=a=>{if(o.length===0)return;if(l===null){f(a==="prev"?o[o.length-1]:o[0]);return}const p=o.indexOf(l);a==="prev"&&p>0?f(o[p-1]):a==="next"&&p<o.length-1&&f(o[p+1])},M=()=>{!v&&l===o[o.length-1]&&f(o[0]),j(!v)},H=()=>{f(null),j(!1)},A=h.useMemo(()=>{if(_.length===0)return[];const{width:a,height:p}=N,w=10,D=Math.max(..._.map(U=>U.sanction_amount)),E=15,k=Math.min(a,p)/8,T=_.map((U,W)=>{const R=Math.log10(U.sanction_amount),Q=Math.log10(D),F=Math.log10(5e6),Y=(R-F)/(Q-F),L=E+Y*(k-E);return{...U,x:w+L+Math.random()*(a-2*L-2*w),y:w+L+Math.random()*(p-2*L-2*w),radius:L}}),Oe=100;for(let U=0;U<Oe;U++)for(let W=0;W<T.length;W++){for(let Q=W+1;Q<T.length;Q++){const F=T[W],Y=T[Q],L=Y.x-F.x,oe=Y.y-F.y,Z=Math.sqrt(L*L+oe*oe),ue=F.radius+Y.radius+3;if(Z<ue&&Z>0){const xe=(ue-Z)/2,he=L/Z*xe,fe=oe/Z*xe;F.x-=he,F.y-=fe,Y.x+=he,Y.y+=fe}}const R=T[W];R.x=Math.max(R.radius+w,Math.min(a-R.radius-w,R.x)),R.y=Math.max(R.radius+w,Math.min(p-R.radius-w,R.y))}return T},[_,N]),G=a=>a>=1e9?`${(a/1e9).toFixed(1)} Md€`:`${(a/1e6).toFixed(0)} M€`,q=(a,p)=>{var D;const w=(D=t.current)==null?void 0:D.getBoundingClientRect();w&&g({visible:!0,x:a.clientX-w.left,y:a.clientY-w.top,data:p})},O=()=>{g({visible:!1,x:0,y:0,data:null})},C=a=>{a.decision_url&&window.open(a.decision_url,"_blank","noopener,noreferrer")},P=["RGPD","ACPR","CJIP","ADLC"];return c?e.jsxs(z,{children:[e.jsx(B,{children:e.jsxs(K,{className:"flex items-center gap-2",children:[e.jsx(ot,{className:"h-5 w-5 animate-spin"}),"Chargement des sanctions majeures..."]})}),e.jsx(V,{className:"h-96 flex items-center justify-center",children:e.jsx("div",{className:"text-muted-foreground",children:"Récupération des données..."})})]}):e.jsxs(z,{className:"overflow-hidden",children:[e.jsx(B,{className:"pb-2",children:e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[e.jsxs(K,{className:"text-lg flex items-center gap-2",children:[e.jsx(it,{className:"h-5 w-5 text-compliance"}),"Sanctions majeures (> 5M€) - Vue interactive"]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsxs($,{variant:i===null?"default":"outline",size:"sm",onClick:()=>m(null),className:"text-xs",children:["Tous (",s.length,")"]}),P.map(a=>{const p=s.filter(D=>D.sanction_type===a).length,w=ee[a];return e.jsxs($,{variant:i===a?"default":"outline",size:"sm",onClick:()=>m(i===a?null:a),className:"text-xs",style:i===a?{backgroundColor:w.border}:{},children:[e.jsx("span",{className:"w-2 h-2 rounded-full mr-1.5",style:{backgroundColor:w.border}}),a," (",p,")"]},a)})]})]}),o.length>0&&e.jsxs("div",{className:"bg-muted/50 rounded-lg p-4",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Ae,{className:"h-4 w-4 text-muted-foreground"}),e.jsx("span",{className:"text-sm font-medium",children:"Navigation par année"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx($,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:M,title:v?"Pause":"Lecture automatique",children:v?e.jsx(ct,{className:"h-4 w-4"}):e.jsx(Je,{className:"h-4 w-4"})}),e.jsx($,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>y("prev"),disabled:l===o[0],children:e.jsx(lt,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex-1 min-w-[200px] max-w-[400px] px-2",children:e.jsx(Ge,{value:[l!==null?o.indexOf(l):0],min:0,max:o.length-1,step:1,onValueChange:S,className:"w-full"})}),e.jsx($,{variant:"outline",size:"icon",className:"h-8 w-8",onClick:()=>y("next"),disabled:l===o[o.length-1],children:e.jsx(We,{className:"h-4 w-4"})})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(pe,{variant:"secondary",className:"text-lg px-3 py-1 font-bold",children:l!==null?l:"Toutes"}),l!==null&&e.jsx($,{variant:"ghost",size:"sm",onClick:H,className:"text-xs",children:"Voir toutes les années"})]})]}),e.jsx("div",{className:"mt-3 flex items-center gap-1 overflow-x-auto pb-1",children:o.map(a=>{const p=s.filter(w=>new Date(w.decision_date).getFullYear()===a&&(!i||w.sanction_type===i)).length;return e.jsxs("button",{onClick:()=>f(l===a?null:a),className:`flex flex-col items-center px-2 py-1 rounded transition-all ${l===a?"bg-compliance text-white":l===null?"bg-muted hover:bg-muted/80":"bg-muted/50 hover:bg-muted/80 opacity-50"}`,children:[e.jsx("span",{className:"text-xs font-medium",children:a}),e.jsx("span",{className:"text-[10px] opacity-75",children:p})]},a)})})]})]})}),e.jsx(V,{className:"p-2",children:e.jsxs("div",{ref:t,className:"relative w-full bg-white rounded-lg overflow-hidden border border-gray-200",style:{height:N.height},children:[e.jsxs("svg",{width:"100%",height:"100%",className:"absolute inset-0",children:[e.jsx("defs",{children:e.jsx("pattern",{id:"grid",width:"40",height:"40",patternUnits:"userSpaceOnUse",children:e.jsx("path",{d:"M 40 0 L 0 0 0 40",fill:"none",stroke:"rgba(0,0,0,0.05)",strokeWidth:"1"})})}),e.jsx("rect",{width:"100%",height:"100%",fill:"url(#grid)"}),A.map((a,p)=>{const w=ee[a.sanction_type];return e.jsxs("g",{className:"cursor-pointer transition-all duration-200",onMouseEnter:D=>q(D,a),onMouseLeave:O,onClick:()=>C(a),style:{animationDelay:`${p*20}ms`},children:[e.jsx("circle",{cx:a.x,cy:a.y,r:a.radius,fill:w.bg,stroke:w.border,strokeWidth:"2",className:"transition-all duration-200 hover:brightness-125",style:{filter:"drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3))"}}),a.radius>25&&e.jsx("text",{x:a.x,y:a.y,textAnchor:"middle",dominantBaseline:"central",fill:"white",fontSize:Math.max(10,a.radius/4),fontWeight:"bold",className:"pointer-events-none",style:{textShadow:"0 1px 2px rgba(0,0,0,0.5)"},children:G(a.sanction_amount)})]},a.id)})]}),x.visible&&x.data&&e.jsx("div",{className:"absolute z-50 pointer-events-none",style:{left:Math.min(x.x+10,N.width-280),top:Math.min(x.y+10,N.height-150)},children:e.jsxs("div",{className:"bg-white/95 backdrop-blur-sm rounded-lg shadow-xl border border-gray-200 p-4 max-w-[260px]",children:[e.jsx("div",{className:"flex items-start gap-2 mb-2",children:e.jsx(pe,{variant:"outline",style:{backgroundColor:ee[x.data.sanction_type].bg,borderColor:ee[x.data.sanction_type].border,color:"white"},children:x.data.sanction_type})}),e.jsx("h4",{className:"font-semibold text-gray-900 mb-1 leading-tight",children:x.data.company_name}),e.jsx("p",{className:"text-2xl font-bold text-compliance mb-2",children:G(x.data.sanction_amount)}),e.jsx("p",{className:"text-xs text-gray-500 mb-2",children:new Date(x.data.decision_date).toLocaleDateString("fr-FR",{year:"numeric",month:"long",day:"numeric"})}),x.data.decision_url&&e.jsxs("p",{className:"text-xs text-compliance flex items-center gap-1",children:[e.jsx(te,{className:"h-3 w-3"}),"Cliquez pour voir la décision"]})]})}),e.jsxs("div",{className:"absolute bottom-4 left-4 bg-black/50 backdrop-blur-sm rounded-lg p-3",children:[e.jsx("p",{className:"text-xs text-white/80 mb-2 font-medium",children:"Légende des types"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:P.map(a=>e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:ee[a].border}}),e.jsx("span",{className:"text-xs text-white/90",children:a})]},a))})]}),e.jsxs("div",{className:"absolute top-4 right-4 bg-black/50 backdrop-blur-sm rounded-lg p-3 text-right",children:[e.jsx("p",{className:"text-xs text-white/60",children:"Total affiché"}),e.jsxs("p",{className:"text-lg font-bold text-white",children:[_.length," sanctions"]}),e.jsx("p",{className:"text-xs text-white/60 mt-1",children:"Montant cumulé"}),e.jsx("p",{className:"text-sm font-semibold text-compliance-light",children:G(_.reduce((a,p)=>
1a+p.sanction_amount,0))})]})]})})]})},Qs=()=>{const{toast:n}=Ce(),[t,s]=h.useState([]),[d,c]=h.useState(!0),u=r=>r>=1e10?"#000000":r>=5e9?"#dc2626":r>=1e9?"#34d399":"#16a34a";h.useEffect(()=>{(async()=>{try{c(!0);const l=await Ze.getAll(),f=await pt.getAllDynamicTotals(),v=["Anti-trust (France)","RGPD (Europe)","RGPD (France)","ACPR (France)"],j=l.filter(o=>!v.includes(o.regulation_name)),b=[...f.map(o=>({name:o.regulation_name,value:o.sanction_amount,color:u(o.sanction_amount),regulation:o.regulation_name,count:o.sanction_count,source:o.source_name,sourceUrl:o.source_url,isDynamic:!0})),...j.map(o=>({name:o.regulation_name,value:o.sanction_amount,color:u(o.sanction_amount),regulation:o.regulation_name,count:o.sanction_count,source:o.source_name,sourceUrl:o.source_url||"",isDynamic:!1}))];b.sort((o,_)=>_.value-o.value),s(b)}catch(l){n({title:"Erreur",description:"Impossible de charger les données des sanctions",variant:"destructive"}),console.error("Erreur de chargement:",l)}finally{c(!1)}})()},[n]);const i=t.reduce((r,l)=>r+l.value,0),m=t.reduce((r,l)=>r+l.count,0),x=r=>r>=1e9?`${(r/1e9).toFixed(1)}Md€`:r>=1e6?`${(r/1e6).toFixed(0)}M€`:r>=1e3?`${(r/1e3).toFixed(0)}K€`:`${r}€`,g=({active:r,payload:l})=>{if(r&&l&&l.length>0){const f=l[0].payload;return console.log("Tooltip data:",f),e.jsxs("div",{className:"bg-white p-3 border border-compliance/20 rounded-lg shadow-lg",children:[e.jsx("p",{className:"font-semibold text-compliance",children:f.name}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Montant: ",x(f.value)]}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Sanctions: ",f.count]}),e.jsxs("p",{className:"text-xs text-gray-500",children:["Réglementation: ",f.regulation]})]})}return null},N=r=>{const{depth:l,x:f,y:v,width:j,height:b,index:o}=r;if(l!==1||!t[o])return null;const _=t[o],S=16,y=8,M=j*b,H=Math.sqrt(M)/12,A=Math.max(y,Math.min(S,H)),G=j>50&&b>30,q=j>70&&b>50;return console.log("Rendering rectangle for:",_.name,"at",f,v,"size",j,b,"fontSize:",A),e.jsxs("g",{children:[e.jsx("rect",{x:f,y:v,width:j,height:b,style:{fill:_.color,stroke:"#fff",strokeWidth:2}}),G&&e.jsx("text",{x:f+j/2,y:v+b/2-(q?A/3:0),textAnchor:"middle",dominantBaseline:"central",fill:"#fff",fontSize:A,fontWeight:"normal",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.5)",pointerEvents:"none"},children:_.name}),q&&e.jsx("text",{x:f+j/2,y:v+b/2+A/2,textAnchor:"middle",dominantBaseline:"central",fill:"#fff",fontSize:Math.max(y,A*.75),fontWeight:"normal",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.5)",pointerEvents:"none"},children:x(_.value)})]})};return console.log("Sanctions data for treemap:",t),d?e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-compliance/5 via-white to-compliance-light/10",children:[e.jsx(je,{}),e.jsx("div",{className:"container mx-auto px-4 py-8",children:e.jsxs("div",{className:"flex flex-col items-center justify-center py-16",children:[e.jsx("div",{className:"h-8 w-8 rounded-full border-2 border-t-compliance animate-spin"}),e.jsx("p",{className:"text-muted-foreground mt-4",children:"Chargement des données..."})]})})]}):e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-compliance/5 via-white to-compliance-light/10",children:[e.jsx(je,{}),e.jsxs("div",{className:"container mx-auto px-4 py-8",children:[e.jsx("div",{className:"flex items-center justify-between mb-8",children:e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsx($,{variant:"outline",size:"icon",asChild:!0,className:"border-compliance hover:bg-compliance/10",children:e.jsx(ge,{to:"/home",children:e.jsx(dt,{className:"h-4 w-4"})})}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex items-center bg-white p-2 rounded-full shadow-sm",children:e.jsx(Se,{className:"h-6 w-6 text-compliance"})}),e.jsx("div",{children:e.jsx("h1",{className:"text-3xl font-bold text-compliance",children:"Quelques chiffres clés de la compliance"})})]})]})}),e.jsxs("div",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"flex items-center bg-white p-2 rounded-full shadow-sm",children:e.jsx(mt,{className:"h-5 w-5 text-compliance"})}),e.jsx("h2",{className:"text-2xl font-bold text-compliance",children:"Le treemap des sanctions"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 mb-8",children:[e.jsxs(z,{className:"lg:col-span-1",children:[e.jsx(B,{className:"pb-3",children:e.jsxs(K,{className:"text-lg flex items-center gap-2",children:[e.jsx(Se,{className:"h-5 w-5 text-compliance"}),"Statistiques globales"]})}),e.jsxs(V,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm text-gray-600",children:"Total sanctions"}),e.jsx("span",{className:"font-bold text-compliance",children:x(i)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm text-gray-600",children:"Nombre total"}
1),e.jsx("span",{className:"font-bold",children:m.toLocaleString()})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm text-gray-600",children:"Réglementations"}),e.jsx("span",{className:"font-bold",children:t.length})]}),e.jsxs("div",{className:"pt-3 border-t border-gray-200",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[e.jsx(Ae,{className:"h-3 w-3"}),e.jsx("span",{children:"Dernière mise à jour: juillet 2025"})]}),e.jsx("p",{className:"text-xs text-gray-500 mt-2 leading-relaxed text-justify",children:"Les montants indiqués sont tirés de divers bases de données publiques. Ces montants sont approximatifs et visent avant tout à donner une vision des enjeux. Nous vous invitons à vous référer aux sources pour plus de détails."})]})]})]}),e.jsxs(z,{className:"lg:col-span-3",children:[e.jsx(B,{children:e.jsxs(K,{className:"flex items-center gap-2",children:[e.jsx(ut,{className:"h-5 w-5 text-compliance"}),"Treemap des sanctions par réglementation"]})}),e.jsx(V,{children:e.jsx("div",{className:"h-96 w-full",children:e.jsx(ie,{width:"100%",height:"100%",children:e.jsx(xt,{data:t,dataKey:"value",aspectRatio:4/3,stroke:"#fff",content:e.jsx(N,{}),children:e.jsx(tt,{content:e.jsx(g,{})})})})})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6",children:[e.jsxs(z,{children:[e.jsx(B,{className:"pb-3",children:e.jsxs(K,{className:"text-lg flex items-center gap-2",children:[e.jsx(ht,{className:"h-4 w-4 text-compliance"}),"Légende des couleurs"]})}),e.jsx(V,{className:"py-3",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded",style:{backgroundColor:"#000000"}}),e.jsx("span",{className:"text-gray-700",children:"≥ 10 Mds€"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded",style:{backgroundColor:"#dc2626"}}),e.jsx("span",{className:"text-gray-700",children:"5 Mds€ - 10 Mds€"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded",style:{backgroundColor:"#34d399"}}),e.jsx("span",{className:"text-gray-700",children:"1 Md€ - 5 Mds€"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded",style:{backgroundColor:"#16a34a"}}),e.jsx("span",{className:"text-gray-700",children:"< 1 Md€"})]})]})})]}),e.jsxs(z,{children:[e.jsx(B,{className:"pb-3",children:e.jsxs(K,{className:"text-lg flex items-center gap-2",children:[e.jsx(te,{className:"h-4 w-4 text-compliance"}),"Sources"]})}),e.jsx(V,{className:"py-1",children:e.jsx("div",{className:"grid grid-cols-1 gap-1 text-xs text-gray-600",children:t.map((r,l)=>e.jsxs("div",{className:"flex items-center justify-between py-1 border-b border-gray-100 last:border-b-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-medium text-compliance text-xs",children:r.regulation}),r.isDynamic&&e.jsxs("span",{className:"inline-flex items-center gap-1 px-1.5 py-0.5 bg-compliance/10 text-compliance text-[10px] rounded-full",children:[e.jsx(Qe,{className:"h-2.5 w-2.5"}),"live"]})]}),r.sourceUrl?r.sourceUrl.startsWith("/")?e.jsx(ge,{to:r.sourceUrl,className:"text-compliance hover:text-compliance-dark transition-colors cursor-pointer",children:e.jsx(te,{className:"h-3 w-3"})}):e.jsx("a",{href:r.sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"text-compliance hover:text-compliance-dark transition-colors cursor-pointer",children:e.jsx(te,{className:"h-3 w-3"})}):e.jsx("span",{className:"text-gray-400",children:e.jsx(te,{className:"h-3 w-3"})})]},l))})})]})]})]}),e.jsxs("div",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"flex items-center bg-white p-2 rounded-full shadow-sm",children:e.jsx(Xe,{className:"h-5 w-5 text-compliance"})}),e.jsx("h2",{className:"text-2xl font-bold text-compliance",children:"Les s
1anctions majeures (> 5M€)"})]}),e.jsx(Ft,{})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"flex items-center bg-white p-2 rounded-full shadow-sm",children:e.jsx(ft,{className:"h-5 w-5 text-compliance"})}),e.jsx("h2",{className:"text-2xl font-bold text-compliance",children:"Les chiffres clés des autorités françaises"})]}),e.jsx(gt,{})]})]})]})};export{Qs as default};

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.