PageSourceSearch

https://cfixe.com/_next/static/chunks/pages/ia-fbd608e0e3e6150bd1a8.js

js cfixe.com collected 2026-10-02 18:25:52 UTC 23,267 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7408],{70943:function(e,t,n){"use strict";var r=n(9008),s=n(54741),a=n(80338),i=n(67294),o=n(56562),l=n.n(o),c=(n(99693),n(11163)),d=n(85893);t.Z=function(e){var t=e.title,n=e.longTitle,o=e.description,m=e.image,x=e.indexable,p=e.richDatas,f=e.titlePrefix,g=void 0===f?"Cfix\xe9 : ":f,h=e.appBanner,b=void 0===h||h,v=(0,i.useState)([]),j=v[0],y=v[1],N=(0,i.useState)(""),w=N[0],k=N[1],C=(0,c.useRouter)();return(0,i.useEffect)((function(){var e=[];e.push(u()),p&&e.push(p),y(e);var t=C.asPath.replace("/","");"home"===t&&(t=""),k(a.Z.frontBasePath+t)}),[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(r.default,{children:[(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/apple-icon-57x57.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/apple-icon-60x60.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/apple-icon-72x72.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/apple-icon-76x76.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/apple-icon-114x114.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/apple-icon-120x120.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/apple-icon-144x144.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/apple-icon-152x152.png"}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-icon-180x180.png"}),(0,d.jsx)("link",{rel:"android-touch-ico",href:"/apple-icon-152x152.png"}),(0,d.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-icon-192x192.png"}),(0,d.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,d.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/favicon-96x96.png"}),(0,d.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,d.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,d.jsx)("meta",{charSet:"utf-8"}),(0,d.jsx)("meta",{name:"msapplication-TileColor",content:s.wL.fadedBlue}),(0,d.jsx)("meta",{name:"msapplication-TileImage",content:"/ms-icon-144x144.png"}),(0,d.jsx)("meta",{name:"theme-color",content:s.wL.fadedBlue}),b&&(0,d.jsx)("meta",{name:"apple-itunes-app",content:"app-id="+s.gT.iosAppId}),b&&(0,d.jsx)("meta",{name:"google-play-app",content:"app-id="+s.gT.androidAppId}),(0,d.jsx)("title",{children:g+t}),(0,d.jsx)("meta",{property:"og:title",content:g+n}),(0,d.jsx)("meta",{property:"twitter:title",content:g+n}),(0,d.jsx)("meta",{name:"description",content:o}),(0,d.jsx)("meta",{property:"og:description",content:o}),(0,d.jsx)("meta",{property:"twitter:description",content:o}),(0,d.jsx)("meta",{property:"og:image",content:m.startsWith("/")?a.Z.frontBasePath+m:a.Z.frontBasePath+"assets/meta/"+m}),(0,d.jsx)("meta",{property:"twitter:image",content:m.startsWith("/")?a.Z.frontBasePath+m:a.Z.frontBasePath+"assets/meta/"+m}),x?(0,d.jsx)("meta",{name:"robots",content:"index, follow"}):(0,d.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,d.jsx)("link",{rel:"canonical",href:w}),(0,d.jsx)("meta",{property:"og:url",content:w}),(0,d.jsx)("meta",{property:"og:type",content:"website"}),(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(j)}})]}),b&&(0,d.jsx)(l(),{title:"Cfix\xe9",position:"top"})]})};var u=function(){return{"@context":"https://schema.org/","@type":"WebSite",name:"Cfix\xe9",url:a.Z.frontBasePath}}},56942:function(e,t,n){"use strict";n.r(t);var r=n(92809),s=n(30266),a=n(809),i=n.n(a),o=n(22531),l=n(53488),c=n(67294),d=n(11163),u=n(54741),m=n(80338),x=n(70943),p=n(85893);function f(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw a}}}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=function(){var e,t=(0,d.useRouter)(),n=(0,c.useState)("establishment"),r=n[0],a=n[1],g=(0,c.useState)(""),h=g[0],v=g[1],j=(0,c.useState)(!1),y=j[0],N=j[1],w=(0,c.useState)(""),k=w[0],C=w[1],S=(0,c.useState)(""),E=S[0],O=S[1],T=(0,c.useState)(""),P=T[0],z=T[1],A=(0,c.useState)(""),I=A[0],q=A[1],_=(0,c.useState)(""),B=_[0],M=_[1],D=(0,c.useState)(""),L=D[0],Z=D[1],H=(0,c.useState)("je"),J=H[0],U=H[1],F=(0,c.useState)("individual"),G=F[0],R=F[1],V=(0,c.useState)(""),W=V[0],Q=V[1],X=(0,c.useState)(""),$=X[0],K=X[1],Y=(0,c.useState)(""),ee=Y[0],te=Y[1],ne=(0,o.CG)((function(e){return e.professional.status})),re=(0,o.CG)((function(e){return e.professional.infos})),se=(0,o.CG)((function(e){return e.professional.jwt})),ae=(null===re||void 0===re||null===(e=re.services)||void 0===e?void 0:e.map((function(e){return{id:e.presta_detail_id,name:e.title}})))||[];console.log(re),(0,c.useEffect)((function(){ne!==l.q.CONNECTED&&t.push("/pro/signin?redirect=".concat(t.asPath))}),[ne]),(0,c.useEffect)((function(){y&&E&&window.scrollTo({top:document.documentElement.scrollHeight,behavior:"smooth"})}),[E,y]);var ie=function(){return!!(P.trim()&&I.trim()&&B.trim()&&L.trim())&&(!("service"===r&&!h)&&!!("about"!==r||W.trim()&&$.trim()&&ee.trim()))},oe=function(){var e=(0,s.Z)(i().mark((function e(){var t,n,s,a,o,l,c,d,u,x,p,g,v,j;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(!0),C(""),O(""),e.prev=3,"establishment"===r?t="ESTABLISHMENT":"service"===r?t="SERVICE":"about"===r&&(t="ABOUT"),n={generationType:t,stream:!0,additionalInfo:{activities:P,targetAudience:I,uniqueSelling:B,tone:L,perspective:J}},"about"===r&&(n.additionalInfo=b(b({},n.additionalInfo),{},{companyType:G,experience:W,motivation:$,values:ee})),"service"===r&&h&&(n.additionalInfo=b(b({},n.additionalInfo),{},{service:h})),e.next=10,fetch(m.Z.baseUrl+"pro/content_generation/generate",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(se)},body:JSON.stringify(n)});case 10:if((s=e.sent).ok){e.next=13;break}throw new Error("Erreur HTTP: ".concat(s.status));case 13:a=s.body.getReader(),o=new TextDecoder,l="";case 16:return e.next=19,a.read();case 19:if(c=e.sent,d=c.done,u=c.value,!d){e.next=24;break}return e.abrupt("break",30);case 24:x=o.decode(u),p=x.split("\n\n").filter((function(e){return""!==e.trim()&&"data: [DONE]"!==e.trim()})),g=f(p);try{for(g.s();!(v=g.n()).done;)if((j=v.value).startsWith("data: "))try{!function(){var e=JSON.parse(j.slice(6));e.content&&(l+=e.content,O((function(t){return t+e.content})))}()}catch(i){"[DONE]"!==j.slice(6)&&console.error("Erreur parsing JSON:",i,j)}}catch(y){g.e(y)}finally{g.f()}e.next=16;break;case 30:C(l),e.next=38;break;case 33:e.prev=33,e.t0=e.catch(3),console.error("Erreur lors de la g\xe9n\xe9ration de contenu:",e.t0),C("Une erreur s'est produite lors de la g\xe9n\xe9ration du contenu. Veuillez r\xe9essayer."),O("");case 38:return e.prev=38,N(!1),e.finish(38);case 41:case"end":return e.stop()}}),e,null,[[3,33,38,41]])})));return function(){return e.apply(this,arguments)}}();if(ne!==l.q.CONNECTED)return(0,p.jsx)(p.Fragment,{});return(0,p.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-8 bg-gray-50 min-h-screen",children:[(0,p.jsx)(x.Z,{title:"IA Cfix\xe9",titlePrefix:"",longTitle:"IA Cfix\xe9",description:"G\xe9n\xe9rez vos contenus en 1 clic",image:"main.jpg",indexable:!1}),(0,p.jsxs)("div",{className:"flex flex-col items-center justify-center p-5 mb-8",children:[(0,p.jsx)(u.Eb,{viewBox:"0 0 1500 650",className:"w-36 mb-6"}),(0,p.jsx)("h1",{className:"text-3xl font-bold text-center text-indigo-700 mb-2",children:"D\xe9couvrez en avant premi\xe8re notre IA de g\xe9n\xe9ration de contenu"}),(0,p.jsxs)("div",{className:"bg-blue-50 border-l-4 border-blue-400 p-4 mb-8 max-w-2xl",children:[(0,p.jsx)("p",{className:"text-sm text-blue-700 mb-2",children:"Cet outil est en cours de d\xe9veloppement, il peut donc y avoir des r\xe9sultats non pertinents. Attention de bien relire le contenu g\xe9n\xe9r\xe9."}),(0,p.jsx)("p",{className:"text-sm text-blue-700",children:"Pendant la p\xe9riode BETA l'outil est accessible gratuitement \xe0 tous nos clients."})]})]}),(0,p.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-6 mb-8",children:[(0,p.jsx)("h2",{className:"text-xl font-semibold mb-4 text-gray-800",children:"Aidez-nous \xe0 personnaliser votre contenu"}),(0,p.jsxs)("div",{className:"space-y-5",children:[(0,p.jsxs)("div",{className:"bg-orange-100 border-l-4 border-orange-400 p-4 mb-6",children:[(0,p.jsx)("p",{className:"text-lg font-bold text-yellow-800 mb
1-2",children:"La r\xe8gle d'or : "}),(0,p.jsxs)("p",{className:"text-yellow-700",children:["R\xe9pondez naturellement et spontan\xe9ment, sans vous soucier de la structure ou du format. Ce qui compte, c'est la ",(0,p.jsx)("span",{className:"font-bold",children:"personnalisation"})," et les ",(0,p.jsx)("span",{className:"font-bold",children:"d\xe9tails uniques"})," qui mettent en avant votre savoir-faire et votre approche. ",(0,p.jsx)("span",{className:"font-bold",children:"L'IA peut g\xe9rer m\xeame si vous faites des fautes d'orthographe ou de frappe. Ce qu'on veut c'est les d\xe9tails vous concernant"})]})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-gray-700",children:["1. ",(0,p.jsx)("span",{className:"font-bold",children:"Mes Activit\xe9s et Services"})]}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"D\xe9crivez pr\xe9cis\xe9ment ce que vous proposez, en mettant en avant votre expertise et votre valeur ajout\xe9e."}),(0,p.jsx)("textarea",{value:P,onChange:function(e){return z(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:3})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-gray-700",children:["2. ",(0,p.jsx)("span",{className:"font-bold",children:"Ma Cible"})]}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Qui sont vos clients id\xe9aux ? Quels sont leurs besoins et attentes ?"}),(0,p.jsx)("textarea",{value:I,onChange:function(e){return q(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:3})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-gray-700",children:["3. ",(0,p.jsx)("span",{className:"font-bold",children:"Ma Diff\xe9rence"})]}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Qu'est-ce qui vous distingue de la concurrence ? Pourquoi un client devrait-il choisir vos services ?"}),(0,p.jsx)("textarea",{value:B,onChange:function(e){return M(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:3})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-gray-700",children:["4. ",(0,p.jsx)("span",{className:"font-bold",children:"Mon Ton souhait\xe9"})]}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Professionnel, accessible, rassurant, dynamique\u2026 pr\xe9cisez l'image que vous voulez v\xe9hiculer."}),(0,p.jsx)("textarea",{value:L,onChange:function(e){return Z(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:2})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsxs)("label",{className:"block text-sm font-medium text-gray-700",children:["5. ",(0,p.jsx)("span",{className:"font-bold",children:"Ma Pr\xe9f\xe9rence pour le sujet"})]}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Utiliser le JE ou le NOUS ?"}),(0,p.jsxs)("div",{className:"flex space-x-4",children:[(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("input",{type:"radio",id:"je",name:"perspective",value:"je",checked:"je"===J,onChange:function(){return U("je")},className:"h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300"}),(0,p.jsx)("label",{htmlFor:"je",className:"ml-2 block text-sm text-gray-700",children:"JE (personnel)"})]}),(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("input",{type:"radio",id:"nous",name:"perspective",value:"nous",checked:"nous"===J,onChange:function(){return U("nous")},className:"h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300"}),(0,p.jsx)("label",{htmlFor:"nous",className:"ml-2 block text-sm text-gray-700",children:"NOUS (entreprise)"})]})]})]})]})]}),(0,p.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-6 mb-8",children:[(0,p.jsx)("h2",{className:"text-xl font-semibold mb-4 text-gray-800",children:"Je souhaite g\xe9n\xe9rer le contenu pour :"}),(0,p.jsxs)("div",{className:"space-y-4",children:[(0,p.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,p.jsx)("div",{className:"flex-1 border rounded-lg p-4 cursor-pointer transition-all ".concat("establishment"===r?"border-indigo-500 bg-indigo-50":"border-gray-200 hover:border-indigo-300 hover:bg-indigo-50/30"),onClick:function(){return a("establishment")},children:(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("div",{className:"w-5 h-5 rounded-full mr-3 flex items-center justify-center border ".concat("establishment"===r?"border-indigo-500":"border-gray-300"),children:"establishment"===r&&(0,p.jsx)("div",{className:"w-3 h-3 rounded-full bg-indigo-500"})}),(0,p.jsx)("span",{className:"font-medium",children:"Description de mon \xe9tablissement"})]})}),(0,p.jsx)("div",{className:"flex-1 border rounded-lg p-4 cursor-pointer transition-all ".concat("about"===r?"border-indigo-500 bg-indigo-50":"border-gray-200 hover:border-indigo-300 hover:bg-indigo-50/30"),onClick:function(){return a("about")},children:(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("div",{className:"w-5 h-5 rounded-full mr-3 flex items-center justify-center border ".concat("about"===r?"border-indigo-500":"border-gray-300"),children:"about"===r&&(0,p.jsx)("div",{className:"w-3 h-3 rounded-full bg-indigo-500"})}),(0,p.jsx)("span",{className:"font-medium",children:'Page "\xc0 propos"'})]})}),(0,p.jsx)("div",{className:"flex-1 border rounded-lg p-4 cursor-pointer transition-all ".concat("service"===r?"border-indigo-500 bg-indigo-50":"border-gray-200 hover:border-indigo-300 hover:bg-indigo-50/30"),onClick:function(){return a("service")},children:(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("div",{className:"w-5 h-5 rounded-full mr-3 flex items-center justify-center border ".concat("service"===r?"border-indigo-500":"border-gray-300"),children:"service"===r&&(0,p.jsx)("div",{className:"w-3 h-3 rounded-full bg-indigo-500"})}),(0,p.jsx)("span",{className:"font-medium",children:"Une prestation"})]})})]}),"service"===r&&(0,p.jsxs)("div",{className:"mt-4 pt-4 border-t border-gray-100",children:[(0,p.jsx)("label",{htmlFor:"service-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"S\xe9lectionnez une prestation :"}),(0,p.jsx)("div",{className:"mb-2",children:"Attention, il faut d'abord cr\xe9er votre catalogue de prestations sur Cfix\xe9."}),(0,p.jsxs)("select",{id:"service-select",value:h,onChange:function(e){return v(e.target.value)},className:"block w-full px-4 py-3 bg-gray-50 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",required:"service"===r,children:[(0,p.jsx)("option",{value:"",disabled:!0,children:"Choisissez une prestation"}),ae.map((function(e){return(0,p.jsx)("option",{value:e.name,children:e.name},e.id)}))]})]}),"about"===r&&(0,p.jsxs)("div",{className:"mt-4 pt-4 border-t border-gray-100",children:[(0,p.jsx)("h3",{className:"text-md font-medium text-gray-700 mb-4",children:'Informations pour la page "\xc0 propos"'}),(0,p.jsxs)("div",{className:"space-y-5",children:[(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:(0,p.jsx)("span",{className:"font-bold",children:"Entreprise ou individu ?"})}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Vous travaillez seul ou en \xe9quipe"}),(0,p.jsxs)("div",{className:"flex space-x-4",children:[(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("input",{type:"radio",id:"individual",name:"companyType",value:"individual",checked:"individual"===G,onChange:function(){return R("individual")},className:"h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300"}),(0,p.jsx)("label",{htmlFor:"individual",className:"ml-2 block text-sm text-gray-700",children:"Je travaille seul"})]}),(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)("input",{type:"radio",id:"team",n
1ame:"companyType",value:"team",checked:"team"===G,onChange:function(){return R("team")},className:"h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300"}),(0,p.jsx)("label",{htmlFor:"team",className:"ml-2 block text-sm text-gray-700",children:"Nous sommes une \xe9quipe"})]})]})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:(0,p.jsx)("span",{className:"font-bold",children:"Parcours et expertise"})}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Exp\xe9rience professionnelle, formations, comp\xe9tences cl\xe9s."}),(0,p.jsx)("textarea",{value:W,onChange:function(e){return Q(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:3})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:(0,p.jsx)("span",{className:"font-bold",children:"Pourquoi cette activit\xe9 ?"})}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"L'histoire derri\xe8re l'entreprise, les motivations, ce qui a inspir\xe9 la cr\xe9ation du projet."}),(0,p.jsx)("textarea",{value:$,onChange:function(e){return K(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:3})]}),(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:(0,p.jsx)("span",{className:"font-bold",children:"Valeurs et mission"})}),(0,p.jsx)("p",{className:"text-sm text-gray-600 italic mb-2",children:"Ce qui vous anime au quotidien, votre engagement envers vos clients."}),(0,p.jsx)("textarea",{value:ee,onChange:function(e){return te(e.target.value)},className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500",rows:3})]})]})]})]})]}),(0,p.jsx)("div",{className:"flex justify-center mb-8",children:(0,p.jsx)("button",{className:"px-8 py-3 rounded-md text-white font-medium transition-all ".concat(!ie()||y?"bg-indigo-300 cursor-not-allowed":"bg-indigo-600 hover:bg-indigo-700 focus:ring-4 focus:ring-indigo-200"),onClick:oe,disabled:!ie()||y,children:y?"G\xe9n\xe9ration en cours...":"G\xe9n\xe9rer"})}),!ie()&&(0,p.jsx)("div",{className:"text-center mb-6",children:(0,p.jsx)("p",{className:"text-red-500 text-sm",children:"Veuillez remplir tous les champs requis avant de g\xe9n\xe9rer le contenu."})}),y&&(0,p.jsx)("div",{className:"flex justify-center items-center my-6",children:(0,p.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-indigo-700"})}),(y||k||E)&&(0,p.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-6",children:[(0,p.jsx)("h3",{className:"text-lg font-semibold mb-3 text-gray-800",children:"Contenu g\xe9n\xe9r\xe9 :"}),(0,p.jsxs)("div",{className:"bg-gray-50 p-4 rounded-md border border-gray-200 mb-4 relative",children:[y&&(0,p.jsx)("div",{className:"fixed right-8 bottom-20 p-1 z-10",children:(0,p.jsx)("div",{className:"h-4 w-2 bg-indigo-600 animate-pulse"})}),function(){var e=y?E:k||E;return(0,p.jsx)("div",{className:"content-html",dangerouslySetInnerHTML:{__html:e}})}()]}),!y&&(k||E)&&(0,p.jsx)("div",{className:"flex justify-end",children:(0,p.jsxs)("button",{className:"flex items-center px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded text-gray-700 transition-colors",onClick:function(){var e=document.createElement("div");e.innerHTML=k||E;var t=e.innerHTML,n=e.textContent;navigator.clipboard&&navigator.clipboard.write?navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([t],{type:"text/html"}),"text/plain":new Blob([n],{type:"text/plain"})})]).then((function(){alert("Contenu copi\xe9 avec la mise en forme !")})).catch((function(e){navigator.clipboard.writeText(n),alert("Contenu copi\xe9 en texte brut."),console.error("Erreur lors de la copie en HTML:",e)})):(navigator.clipboard.writeText(n),alert("Contenu copi\xe9 en texte brut."))},children:[(0,p.jsx)("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"})}),"Copier"]})})," ",!y&&(k||E)&&(0,p.jsx)("div",{className:"flex justify-end mt-2",children:(0,p.jsx)("p",{children:(0,p.jsx)("a",{target:"_blank",rel:"noreferrer",href:"about"===r?"https://cfixe.com/my-account/pro/cms/establishment":"service"===r?"https://cfixe.com/my-account/pro/catalog":"https://cfixe.com/my-account/pro/team",children:"lien vers la page Cfix\xe9 pour ajouter le texte"})})})]})]})}},51048:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ia",function(){return n(56942)}])}},function(e){e.O(0,[9774,7856,2888,179],(function(){return t=51048,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.