PageSourceSearch

https://www.stethonet.org/_next/static/chunks/0e4yfksz9nc33.js

js stethonet.org collected 2026-10-02 11:10:16 UTC 7,403 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41069,e=>{"use strict";var r=e.i(43476),t=e.i(95187);let a=(0,t.createServerReference)("6013cf9dd3d4c726f886cbfc32beb62b18d5e6e95d",t.callServer,void 0,t.findSourceMapURL,"createContact");var s=e.i(41161),l=e.i(63488),n=e.i(51975),o=e.i(98315),i=e.i(71645),c=e.i(7826),u=e.i(88999);let d={fields:{email:"",category:"",message:"",rules:""},errors:{email:void 0,category:void 0,content:void 0,rules:void 0}};e.s(["default",0,function(){let[e,t,m]=(0,i.useActionState)(a,d),[f,p]=(0,i.useState)(""),h=(0,i.useRef)(null);return(0,o.default)(h,f),(0,r.jsx)("form",{action:t,children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"email",className:"block text-gray-700",children:"Email:"}),(0,r.jsx)(s.default,{name:"email",type:"email",defaultValue:e.fields.email,placeholder:"Saisissez votre adresse email",icon:l.Mail}),e.errors.email&&(0,r.jsx)(c.default,{children:e.errors.email})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"category",className:"block text-gray-700",children:"Objet:"}),(0,r.jsx)(s.default,{name:"category",defaultValue:e.fields.category,icon:n.Tag,placeholder:"Saisissez l'objet de votre message"}),e.errors.category&&(0,r.jsx)(c.default,{children:e.errors.category})]})]}),(0,r.jsx)("label",{htmlFor:"message",className:"block text-gray-700",children:"Message:"}),(0,r.jsx)("textarea",{id:"message",name:"message",defaultValue:e.fields.message,ref:h,onChange:e=>{p(e.target?.value)},className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500",placeholder:"Rédigez ici votre message",rows:5}),e.errors.content&&(0,r.jsx)(c.default,{children:e.errors.content})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsxs)("div",{className:"flex items-start",children:[(0,r.jsx)("input",{id:"rules",name:"rules",type:"checkbox",defaultChecked:"on"===e.fields.rules,className:"h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded mt-1"}),(0,r.jsx)("label",{htmlFor:"rules",className:"ml-2 text-gray-700",children:"En cochant cette case, j'accepte que les informations saisies dans ce formulaire soient stockées pour permettre le traitement de ma demande."})]}),e.errors.rules&&(0,r.jsx)(c.default,{children:e.errors.rules})]}),(0,r.jsx)("button",{type:"submit",disabled:m,className:" text-white px-4 py-2 rounded-md bg-blue-700 hover:bg-blue-800 w-full h-11",children:m?(0,r.jsx)(u.BounceLoader,{size:15}):"Envoyer votre message"})]})})}],41069)},7826,e=>{"use strict";var r=e.i(43476);e.s(["default",0,function({title:e,children:t}){return(0,r.jsxs)("div",{className:"rounded-sm border-s-4 border-red-500 bg-red-50 p-2 my-2",children:[e&&(0,r.jsx)("strong",{className:"block font-medium text-red-800",children:e}),(0,r.jsx)("p",{className:e?"mt-2 text-sm text-red-700":"text-sm text-red-700",children:t})]})}])},41161,e=>{"use strict";var r=e.i(43476);e.s(["default",0,function({name:e,type:t,placeholder:a,autocomplete:s,maxLength:l,pattern:n,inputmode:o,icon:i,value:c,defaultValue:u,handleChange:d,handleFocus:m,handleFocusOut:f,ref:p}){return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{className:"w-full h-11 rounded-md border border-gray-300 py-[9px] pl-10 outline-2 placeholder:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 truncate",id:e,name:e,type:t,maxLength:l,pattern:n,inputMode:o,placeholder:a,value:c,defaultValue:u,onChange:d,onFocus:m,onBlur:f,ref:p,autoComplete:s}),(0,r.jsx)(i,{className:"pointer-events-none absolute left-3 top-1/2 h-[18px] w-[18px] -translate-y-1/2 text-gray-500 peer-focus:text-white"})]})}])},98315,e=>{"use strict";var r=e.i(71645);e.s(["default",0,(e,t)=>{(0,r.useEffect)(()=>{if(e?.current){e.current.style.height="0px";let r=e.current.scrollHeight,{lineHeight:t}=getComputedStyle(e.current),a=Math.floor((e.current.rows+1)*parseFloat(t.replace("px","")));e.current.style.height=r<a?a+"px":r+"px"}},[e,t])}])},63488,e=>{"use strict";
1let r=(0,e.i(75254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,r],63488)},51975,e=>{"use strict";let r=(0,e.i(75254).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(["Tag",0,r],51975)},95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={callServer:function(){return l.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var s in a)Object.defineProperty(t,s,{enumerable:!0,get:a[s]});let l=e.r(32120),n=e.r(92245),o=e.r(35326)},88999,e=>{"use strict";var r=e.i(71645),t={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function a(e){var r=function(e){if("number"==typeof e)return{value:e,unit:"px"};var r,a=(e.match(/^[0-9.]*/)||"").toString();r=a.includes(".")?parseFloat(a):parseInt(a,10);var s=(e.match(/[^0-9]*$/)||"").toString();return t[s]?{value:r,unit:s}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(r,"px.")),{value:r,unit:"px"})}(e);return"".concat(r.value).concat(r.unit)}var s=function(){return(s=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&
1(e[s]=r[s]);return e}).apply(this,arguments)},l=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,a=Object.getOwnPropertySymbols(e);s<a.length;s++)0>r.indexOf(a[s])&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(t[a[s]]=e[a[s]]);return t},n=function(e,r,t){var a="react-spinners-".concat(e,"-").concat(t);if("u"<typeof window||!window.document)return a;var s=document.createElement("style");document.head.appendChild(s);var l=s.sheet,n="\n    @keyframes ".concat(a," {\n      ").concat(r,"\n    }\n  ");return l&&l.insertRule(n,0),a}("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");e.s(["BounceLoader",0,function(e){var t=e.loading,o=e.color,i=void 0===o?"#000000":o,c=e.speedMultiplier,u=void 0===c?1:c,d=e.cssOverride,m=e.size,f=void 0===m?60:m,p=l(e,["loading","color","speedMultiplier","cssOverride","size"]),h=function(e){return{position:"absolute",height:a(f),width:a(f),backgroundColor:i,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(n," ").concat(2.1/u,"s ").concat(1===e?"".concat(1/u,"s"):"0s"," infinite ease-in-out")}},v=s({display:"inherit",position:"relative",width:a(f),height:a(f)},void 0===d?{}:d);return void 0===t||t?r.createElement("span",s({style:v},p),r.createElement("span",{style:h(1)}),r.createElement("span",{style:h(2)})):null}],88999)}]);

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.