(()=>{"use strict";var e,t={102:(e,t,a)=>{const l=window.wp.blocks,r=window.React,o=window.wp.i18n,n=window.wp.blockEditor,s=window.wp.components,c=window.wp.serverSideRender;var p=a.n(c);const i=JSON.parse('{"UU":"project-pages-blocks/status-card"}');(0,l.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:t}){const a=(0,n.useBlockProps)({className:"project-pages-blocks"}),{showFeatImg:l,showTags:c,showLogs:g}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(n.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:(0,o.__)("Display Settings","projectpages"),initialOpen:!0},(0,r.createElement)(s.PanelRow,null,(0,r.createElement)("fieldset",null,(0,r.createElement)(s.ToggleControl,{label:(0,o.__)("Show Featured Image","projectpages"),help:l?(0,o.__)("Featured Image displayed","projectpages"):(0,o.__)("Featured Image not displayed","projectpages"),checked:l,onChange:()=>{t({showFeatImg:!l})}}))),(0,r.createElement)(s.PanelRow,null,(0,r.createElement)("fieldset",null,(0,r.createElement)(s.ToggleControl,{label:(0,o.__)("Show Tags","projectpages"),help:c?(0,o.__)("Tags displayed","projectpages"):(0,o.__)("Tags not displayed","projectpages"),checked:c,onChange:()=>{t({showTags:!c})}}))),(0,r.createElement)(s.PanelRow,null,(0,r.createElement)("fieldset",null,(0,r.createElement)(s.ToggleControl,{label:(0,o.__)("Show Log Summary ","projectpages"),help:g?(0,o.__)("Summary displayed","projectpages"):(0,o.__)("Summary not displayed","projectpages"),checked:g,onChange:()=>{t({showLogs:!g})}})))),(0,r.createElement)(s.PanelBody,{title:(0,o.__)("Project Pages","projectpages"),initialOpen:!0},(0,r.createElement)(s.PanelRow,null,(0,r.createElement)(s.__experimentalText,{color:"#1e1e1e",size:"12px",weight:"400",align:"justify"},"Project Pages is a side project made for the ❤️ of making. It really helps me to hear what you think, so please do give feedback by clicking the button below:")),(0,r.createElement)(s.PanelRow,null,(0,r.createElement)(s.Button,{variant:"primary",href:"https://forms.gle/sAhUjTcNABN6ZgGLA",target:"_blank"},"Give Feedback")))),(0,r.createElement)("div",{...a},(0,r.createElement)(s.Disabled,null,(0,r.createElement)(p(),{block:i.UU,skipBlockSupportAttributes:!0,attributes:e}))))},save:function({attributes:e}){const t=n.useBlockProps.save({className:"project-pages-blocks-log-summary"}),{showFeatImg:a,showTags:l,showLogs:s}=e,c=t.className;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{...t,className:c},(0,r.createElement)(n.RichText.Content,{tagName:"div",value:(0,o.__)("Project card will display here","projectpages")})))}})}},a={};function l(e){var r=a[e];if(void 0!==r)return r.exports;var o=a[e]={exports:{}};return t[e](o,o.exports,l),o.exports}l.m=t,e=[],l.O=(t,a,r,o)=>{if(!a){var n=1/0;for(i=0;i<e.length;i++){for(var[a,r,o]=e[i],s=!0,c=0;c<a.length;c++)(!1&o||n>=o)&&Object.keys(l.O).every((e=>l.O[e](a[c])))?a.splice(c--,1):(s=!1,o<n&&(n=o));if(s){e.splice(i--,1);var p=r();void 0!==p&&(t=p)}}return t}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[a,r,o]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var a in t)l.o(t,a)&&!l.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={845:0,329:0};l.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[n,s,c]=a,p=0;if(n.some((t=>0!==e[t]))){for(r in s)l.o(s,r)&&(l.m[r]=s[r]);if(c)var i=c(l)}for(t&&t(a);p<n.length;p++)o=n[p],l.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return l.O(i)},a=globalThis.webpackChunkproject_pages_blocks=globalThis.webpackChunkproject_pages_blocks||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var r=l.O(void 0,[329],(()=>l(102)));r=l.O(r)})();