(()=>{"use strict";var e,s={5092:()=>{const e=window.wp.blocks,s=(window.wp.i18n,window.wp.blockEditor),t=window.ReactJSXRuntime,r=JSON.parse('{"UU":"carhop-blocks/subscribe-infolettre"}');(0,e.registerBlockType)(r.UU,{icon:{src:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 32",children:[(0,t.jsx)("path",{d:"M0,27v-3.87l3.98-3.97V5.61L9.61,0h8.77l5.63,5.61v13.54l3.98,3.97v3.87"}),(0,t.jsx)("path",{class:"cls-1",d:"M9,31h10"})]}),foreground:"#136f63"},edit:function({attributes:e,setAttributes:r}){const{title:i}=e;return(0,t.jsx)("section",{...(0,s.useBlockProps)({className:"subscribe-infolettre alignfull"}),children:(0,t.jsxs)("div",{className:"subscribe-infolettre__inner",children:[(0,t.jsxs)("div",{className:"subscribe-infolettre__content",children:[(0,t.jsx)("p",{className:"block-title",children:"infolettre"}),(0,t.jsx)(s.RichText,{tagName:"h2",className:"subscribe-infolettre__title",placeholder:"Description",value:i,onChange:e=>r({title:e})}),(0,t.jsx)(s.InnerBlocks,{template:[["core/paragraph",{className:"subscribe-infolettre__description",placeholder:"Description",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse augue augue, sagittis quis mauris in, consequat vehicula est. Aliquam quis nulla ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras bibendum eget lorem eget aliquet. Fusce vel consequat neque. "}]],allowedBlocks:["core/heading","core/paragraph","core/list","core/button","core/buttons"]})]}),(0,t.jsx)("div",{className:"subscribe-infolettre__form",children:(0,t.jsxs)("form",{action:"",children:[(0,t.jsx)("input",{type:"text",placeholder:"Nom"}),(0,t.jsx)("input",{type:"email",placeholder:"Adresse email"}),(0,t.jsx)("button",{type:"submit",children:"S'abonner"})]})})]})})},save:function(){return(0,t.jsx)(s.InnerBlocks.Content,{})}})}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return s[e](o,o.exports,r),o.exports}r.m=s,e=[],r.O=(s,t,i,o)=>{if(!t){var n=1/0;for(u=0;u<e.length;u++){for(var[t,i,o]=e[u],l=!0,c=0;c<t.length;c++)(!1&o||n>=o)&&Object.keys(r.O).every(e=>r.O[e](t[c]))?t.splice(c--,1):(l=!1,o<n&&(n=o));if(l){e.splice(u--,1);var a=i();void 0!==a&&(s=a)}}return s}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[t,i,o]},r.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),(()=>{var e={369:0,9061:0};r.O.j=s=>0===e[s];var s=(s,t)=>{var i,o,[n,l,c]=t,a=0;if(n.some(s=>0!==e[s])){for(i in l)r.o(l,i)&&(r.m[i]=l[i]);if(c)var u=c(r)}for(s&&s(t);a<n.length;a++)o=n[a],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(u)},t=globalThis.webpackChunkcarhop_blocks=globalThis.webpackChunkcarhop_blocks||[];t.forEach(s.bind(null,0)),t.push=s.bind(null,t.push.bind(t))})();var i=r.O(void 0,[9061],()=>r(5092));i=r.O(i)})();