PageSourceSearch

https://cairn-monnaie.com/chunk-OSDSITPE.js

js cairn-monnaie.com collected 2026-10-02 20:00:14 UTC 5,177 bytes, 1 lines download raw bytes

1import{b as y,c as S,e as E,f as M,g as w,i as T,j as W,k,l as I}from"./chunk-HHPGNYTN.js";import"./chunk-EALJNXVE.js";import{a as L}from"./chunk-UZYFP5TU.js";import{K as _,a as b,b as h}from"./chunk-JGUH6APD.js";import{a as C}from"./chunk-AQQTVEDM.js";import"./chunk-VQQTUIE5.js";import{Bb as i,Cb as f,Eb as l,Fb as r,Gb as m,Lb as v,Ma as g,Q as u,cb as n,db as o,eb as s,nb as x,ya as a}from"./chunk-WPMYHJ6M.js";var P=new b(`${h.apiBaseUrl}`),z=class p{toastService=u(L);name="";email="";concern="";message="";checkboxSelected=!1;submit(){this.checkboxSelected?P.collection("contacts").create({name:this.name,email:this.email,concern:this.concern,message:this.message}).then(()=>this.toastService.displayToast("success","Merci de nous avoir contacter, nous reviendrons vers vous au plus vite")).catch(()=>this.toastService.displayToast("error","Une erreur est survenue, veuillez r\xE9essayer")):this.toastService.displayToast("error","Veuillez cocher la case concernant la loi n\xB078-17")}static \u0275fac=function(c){return new(c||p)};static \u0275cmp=g({type:p,selectors:[["contact"]],features:[v([_])],decls:42,vars:6,consts:[[1,"m-auto","md:w-[70%]","max-md:w-6/7","md:pt-48","max-md:pt-12","pb-8"],[1,"md:flex"],[1,"md:w-1/2"],["src","contact.jpg",1,"rounded-4xl","md:h-222.5","max-md:h-120","md:w-148.5","max-md:m-auto"],["id","form-contact",1,"text-gray-500","text-[18px]","md:w-1/2","m-auto"],[1,"m-auto","md:w-4/5"],[1,"text-(--violet)","text-[62px]","m-auto","font-bold"],[1,"flex","flex-col","mt-12"],["pLabel","","for","name",1,"text-(--violet)","text-[15px]","font-bold"],[1,"border","border-gray-400","rounded-4xl","p-4"],["pInputText","","id","name","type","text","pSize","large","placeholder","Votre nom",1,"w-full",3,"ngModelChange","ngModel"],[1,"flex","flex-col","mt-4"],["pLabel","","for","email",1,"text-(--violet)","text-[15px]","font-bold"],["pInputText","","id","email","type","text","pSize","large","placeholder","E-Mail",1,"w-full",3,"ngModelChange","ngModel"],["pLabel","","for","concern",1,"text-(--violet)","text-[15px]","font-bold"],["pInputText","","id","concern","type","text","pSize","large","placeholder","Votre demande concerne",1,"w-full",3,"ngModelChange","ngModel"],[1,"m-auto","flex","flex-col","mt-4","mb-4"],["pLabel","","for","message",1,"text-(--violet)","text-[15px]","font-bold"],["pTextarea","","for","message","type","text","pSize","large","placeholder","Votre message",1,"w-full",3,"ngModelChange","ngModel"],["type","checkbox","id","checkbox-selected",1,"mr-4",3,"ngModelChange","ngModel"],["for","checkbox-selected",1,"text-(--violet)","text-[15px]","font-bold"],[1,"m-auto","mt-8"],[1,"bg-(--orange)","w-full","text-white","hover:bg-(--violet)","p-3","pl-6","pr-6","rounded-3xl","font-bold","text-[15px]","cursor-pointer",3,"click"],["id","footer-contact",1,"bg-(--orange)","rounded-t-4xl","mt-16","bg-[url(/back-2.png)]"],[1,"text-(--violet)","w-[90%]","text-[62px]","max-md:text-[52px]","m-auto","font-bold","text-center","pt-16"],[1,"text-(--yellow)","text-[24px]","m-auto","text-center","mt-8","pb-16"]],template:function(c,t){c&1&&(s(0,"app-header"),n(1,"div",0)(2,"div",1)(3,"div",2),s(4,"img",3),o(),n(5,"div",4)(6,"div",5)(7,"div",6),i(8," Nous contacter "),o(),s(9,"br"),i(10," Pour nous contacter, rien de plus simple ! Remplissez le formulaire ci-dessous avec vos commentaires et/ou questions. "),n(11,"div",7)(12,"label",8),i(13,"VOTRE NOM (OBLIGATOIRE)"),o(),n(14,"div",9)(15,"input",10),m("ngModelChange",function(e){return r(t.name,e)||(t.name=e),e}),o()()(),n(16,"div",11)(17,"label",12),i(18,"VOTRE ADRESSE DE MESSAGE (OBLIGATOIRE)"),o(),n(19,"div",9)(20,"input",13),m("ngModelChange",function(e){return r(t.email,e)||(t.email=e),e}),o()()(),n(21,"div",11)(22,"label",14),i(23,"VOTRE DEMANDE CONCERNE"),o(),n(24,"div",9)(25,"input",15),m("ngModelChange",function(e){return r(t.concern,e)||(t.concern=e),e}),o()()(),n(26,"div",16)(27,"label",17),i(28,"VOTRE MESSAGE"),o(),n(29,"div",9)(30,"textarea",18),m("ngModelChange",function(e){return r(t.message,e)||(t.message=e),e}),o()()(),n(31,"input",19),m("ngModelChange",function(e){return r(t.checkboxSelected,e)||(t.checkboxSelected=e),e}),o(),n(32,"label",20),i(33),o(),n(34,"div",21)(35,"button",22),x("click",function(){return t.submit()}),i(36,"Envoyer"),o()()()()()(),n(37,"div",23)(38,"div",24),i(39," Ensemble, cr\xE9ons un circuit \xE9conomique local qui profite \xE0 tous ! "),o(),n(40,"div",25),i(41," Rejoignez le mouvement du Cairn et amplifiez notre impact collectif pour une \xE9conomie locale plus forte et solidaire. "),o()()),c&2&&(a(15),l("ngModel",t.name),a(5),l("ngModel",t.email),a(5),l("ngModel",t.concern),a(5),l("ngModel",t.message),a(),l("ngModel",t.checkboxSelected),a(2),f("Conform\xE9ment \xE0 la loi n\xB0 78-17 du 6 janvier 1978 relative \xE0 l\u2019informatique, aux fichiers et aux libert\xE9s, vous disposez d\u2019un droit d\u2019acc\xE8s, de rectification et d\u2019opposition sur les donn\xE9es vous concernant, aupr\xE8s de n\u2019importe quel membre de l\u2019\xE9quipe salari\xE9e et/ou du Comit\xE9 de Pilotage.".toUpperCase()))},dependencies:[W,T,w,S,y,E,M,I,k,C],encapsulation:2})};export{z as ContactComponent};

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.