(()=>{"use strict";var e,t={92(){const e=window.wp.blocks,t=window.React,a=window.wp.blockEditor,r=window.wp.i18n,i=JSON.parse('{"UU":"vitalisite-fse/accordion-item"}');(0,e.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:i}){const{summary:s}=e,n=(0,a.useBlockProps)({className:"vitalisite-accordion-item"});return(0,t.createElement)("details",{...n},(0,t.createElement)(a.RichText,{tagName:"summary",value:s,onChange:e=>i({summary:e}),placeholder:(0,r.__)("Question du FAQ...","vitalisite-fse")}),(0,t.createElement)("div",{className:"vitalisite-accordion-content"},(0,t.createElement)(a.InnerBlocks,{template:[["core/paragraph",{content:(0,r.__)("Réponse...","vitalisite-fse")}]],templateLock:"all"})))},save:function({attributes:e}){const{summary:r}=e,i=a.useBlockProps.save({className:"vitalisite-accordion-item reveal-y"});return(0,t.createElement)("details",{...i},(0,t.createElement)(a.RichText.Content,{tagName:"summary",value:r}),(0,t.createElement)("div",{className:"wp-block-group",style:{padding:"var(--wp--preset--spacing--40)"}},(0,t.createElement)(a.InnerBlocks.Content,null)))}})}},a={};function r(e){var i=a[e];if(void 0!==i)return i.exports;var s=a[e]={exports:{}};return t[e](s,s.exports,r),s.exports}r.m=t,e=[],r.O=(t,a,i,s)=>{if(!a){var n=1/0;for(m=0;m<e.length;m++){for(var[a,i,s]=e[m],o=!0,l=0;l<a.length;l++)(!1&s||n>=s)&&Object.keys(r.O).every(e=>r.O[e](a[l]))?a.splice(l--,1):(o=!1,s<n&&(n=s));if(o){e.splice(m--,1);var c=i();void 0!==c&&(t=c)}}return t}s=s||0;for(var m=e.length;m>0&&e[m-1][2]>s;m--)e[m]=e[m-1];e[m]=[a,i,s]},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={848:0,968:0};r.O.j=t=>0===e[t];var t=(t,a)=>{var i,s,[n,o,l]=a,c=0;if(n.some(t=>0!==e[t])){for(i in o)r.o(o,i)&&(r.m[i]=o[i]);if(l)var m=l(r)}for(t&&t(a);c<n.length;c++)s=n[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return r.O(m)},a=globalThis.webpackChunkvitalisite_fse=globalThis.webpackChunkvitalisite_fse||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var i=r.O(void 0,[968],()=>r(92));i=r.O(i)})();