PageSourceSearch

https://communaute.maif.fr/_nuxt/chunk/GcC_5_Gd.js

js maif.fr collected 2026-10-02 02:43:14 UTC 4,101 bytes, 1 lines download raw bytes

1import{_ as R,a4 as w,N as B,o as d,c as v,a as _,n as s,t as i,e,f as r,h as U,b as j,w as b,j as h,au as O,v as V,aA as E,m as L,i as M,k as $}from"./CyZptx9T.js";import{_ as P}from"./C1qmAfHs.js";import{_ as z,A as D}from"./hdCaW8th.js";const I="AppReport_container",q="AppReport_titleContainer",G="AppReport_title",H="AppReport_subtitle",J="AppReport_contentContainer",K="AppReport_info",Q="AppReport_reportReason",W="AppReport_label",X="AppReport_reasonSelector",Y="AppReport_goodFaith",Z="AppReport_sendButton",ee={container:I,titleContainer:q,title:G,subtitle:H,contentContainer:J,info:K,reportReason:Q,label:W,reasonSelector:X,goodFaith:Y,sendButton:Z},te={__name:"AppReport",setup(f){const{t:a}=w(),{$toast:p,$bus:g}=B(),c=L(!1),m=[{id:1,label:a("dsa.flagger_type.individual")},{id:2,label:a("dsa.flagger_type.corporation")},{id:3,label:a("dsa.flagger_type.trusted_flagger")}],t=E({flaggerName:null,flaggerEmail:null,flaggerType:null,urlLink:null,details:null,goodFaith:!1,flagReason:null}),y=M(()=>t.goodFaith&&!!t.flaggerType&&!!t.urlLink&&!!t.details&&!!t.flagReason);function A(o){t.flaggerType=parseInt(o)}async function C(){if(!c.value&&y.value){c.value=!0;try{await $fetch("/flag/external",{method:"POST",body:{...t}}),p.success(a("dsa.report_sent")),Object.assign(t,{flaggerName:null,flaggerEmail:null,flaggerType:null,urlLink:null,details:null,goodFaith:!1,flagReason:null}),g.$emit("popup_close")}catch{p.error(a("general.something_went_wrong"))}c.value=!1}}return(o,l)=>{const u=P,T=z,S=U,x=D,F=O,N=V;return d(),v("div",{class:s(o.$style.container)},[_("div",{class:s(o.$style.titleContainer)},[_("span",{class:s(o.$style.title)},i(e(a)("dsa.submit_a_report")),3),_("span",{class:s(o.$style.subtitle)},i(e(a)("dsa.please_use_the_form_below_to_submit_your_report")),3)],2),_("div",{class:s(o.$style.contentContainer)},[r(u,{value:e(t).flaggerName,"onUpdate:value":l[0]||(l[0]=n=>e(t).flaggerName=n),type:"text",placeholder:e(a)("dsa.name")},null,8,["value","placeholder"]),r(u,{value:e(t).flaggerEmail,"onUpdate:value":l[1]||(l[1]=n=>e(t).flaggerEmail=n),type:"email",placeholder:e(a)("dsa.email")},null,8,["value","placeholder"]),r(T,{value:e(t).flaggerType&&m.find(n=>n.id===e(t).flaggerType),label:e(a)("dsa.you_are"),"possible-values":m,"onUpdate:value":A},null,8,["value","label"]),e(t).flaggerType===3?(d(),v("div",{key:0,class:s(o.$style.info)},[r(S,{icon:["fas","info-circle"]}),_("span",null,i(e(a)("dsa.send_an_email_containing_the_link_to_the_illegal_content_and_proof_of_your_certificate_to_the_following_address_email",{email:"[email protected]"})),1)],2)):j("",!0),_("div",{class:s(o.$style.reportReason)},[_("div",{class:s(o.$style.label)},i(e(a)("dsa.why_do_you_want_to_report_this_content")),3),r(x,{value:e(t).flagReason,"onUpdate:value":l[2]||(l[2]=n=>e(t).flagReason=n),class:s(o.$style.reasonSelector)},null,8,["value","class"])],2),r(u,{value:e(t).urlLink,"onUpdate:value":l[3]||(l[3]=n=>e(t).urlLink=n),type:"text",placeholder:e(a)("dsa.url_link_to_content")},null,8,["value","placeholder"]),r(u,{value:e(t).details,"onUpdate:value":l[4]||(l[4]=n=>e(t).details=n),type:"textarea",placeholder:e(a)("dsa.give_more_detail")},null,8,["value","placeholder"]),_("div",{class:s(o.$style.goodFaith)},[r(F,{checked:e(t).goodFaith,"onUpdate:checked":l[5]||(l[5]=n=>e(t).goodFaith=n)},{default:b(()=>[h(i(e(a)("dsa.i_declare_that_i_am_in_good_faith_and_that_the_information_and_allegations_submitted_are_accurate_and_complete")),1)]),_:1},8,["checked"])],2),r(N,{class:s(o.$style.sendButton),"is-disabled":!e(y),"is-loading":e(c),onClick:C},{default:b(()=>[h(i(e(a)("dsa.send")),1)]),_:1},8,["class","is-disabled","is-loading"])],2)],2)}}},ae={$style:ee},k=R(te,[["__cssModules",ae]]),oe={__name:"index",setup(f){return(a,p)=>{const g=k;return d(),$(g)}}},pe=Object.freeze(Object.defineProperty({__proto__:null,default:oe},Symbol.toStringTag,{value:"Module"})),ne={};function le(f,a){const p=k;return d(),$(p)}const se=R(ne,[["render",le]]),ce=Object.freeze(Object.defineProperty({__proto__:null,default:se},Symbol.toStringTag,{value:"Module"}));export{ce as R,pe as i};

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.