(()=>{"use strict";var e,t={2389:(e,t,o)=>{const l=window.wp.blocks,a=window.wp.i18n,s=window.wp.blockEditor,r=window.wp.components,n=window.wp.serverSideRender;var h=o.n(n);const i=JSON.parse('{"UU":"awt/child-author-blog-details"}'),b=window.ReactJSXRuntime;(0,l.registerBlockType)(i.UU,{edit:function(e){const{attributes:t,setAttributes:o}=e,{showBreadcrumb:l,showImage:n,showAuthorBottom:u,showNav:w,showComments:c,showRelated:d,labelBack:p,labelBy:m,labelComments:g,labelLeaveReply:C,labelRelated:_,titleColor:v,accentColor:x,bgColor:j}=t;return(0,b.jsxs)("div",{...(0,s.useBlockProps)(),children:[(0,b.jsxs)(s.InspectorControls,{children:[(0,b.jsxs)(r.PanelBody,{title:(0,a.__)("Display Settings","author-website-templates"),children:[(0,b.jsx)(r.ToggleControl,{label:(0,a.__)("Show Breadcrumb","author-website-templates"),checked:l,onChange:e=>o({showBreadcrumb:e})}),(0,b.jsx)(r.ToggleControl,{label:(0,a.__)("Show Featured Image","author-website-templates"),checked:n,onChange:e=>o({showImage:e})}),(0,b.jsx)(r.ToggleControl,{label:(0,a.__)("Show Author Box (Bottom)","author-website-templates"),checked:u,onChange:e=>o({showAuthorBottom:e})}),(0,b.jsx)(r.ToggleControl,{label:(0,a.__)("Show Navigation","author-website-templates"),checked:w,onChange:e=>o({showNav:e})}),(0,b.jsx)(r.ToggleControl,{label:(0,a.__)("Show Comments","author-website-templates"),checked:c,onChange:e=>o({showComments:e})}),(0,b.jsx)(r.ToggleControl,{label:(0,a.__)("Show Related Posts","author-website-templates"),checked:d,onChange:e=>o({showRelated:e})})]}),(0,b.jsxs)(r.PanelBody,{title:(0,a.__)("Labels","author-website-templates"),children:[(0,b.jsx)(r.TextControl,{label:(0,a.__)("Back Link Label","author-website-templates"),value:p,onChange:e=>o({labelBack:e})}),(0,b.jsx)(r.TextControl,{label:(0,a.__)("By Label","author-website-templates"),value:m,onChange:e=>o({labelBy:e})}),(0,b.jsx)(r.TextControl,{label:(0,a.__)("Comments Header","author-website-templates"),value:g,onChange:e=>o({labelComments:e})}),(0,b.jsx)(r.TextControl,{label:(0,a.__)("Leave Reply Header","author-website-templates"),value:C,onChange:e=>o({labelLeaveReply:e})}),(0,b.jsx)(r.TextControl,{label:(0,a.__)("Related Posts Header","author-website-templates"),value:_,onChange:e=>o({labelRelated:e})})]}),(0,b.jsx)(s.PanelColorSettings,{title:(0,a.__)("Colors","author-website-templates"),initialOpen:!1,colorSettings:[{value:v,onChange:e=>o({titleColor:e}),label:(0,a.__)("Title Color","author-website-templates")},{value:x,onChange:e=>o({accentColor:e}),label:(0,a.__)("Accent Color","author-website-templates")},{value:j,onChange:e=>o({bgColor:e}),label:(0,a.__)("Background Color","author-website-templates")}]})]}),(0,b.jsx)(h(),{block:i.UU,attributes:t})]})},save:()=>null})}},o={};function l(e){var a=o[e];if(void 0!==a)return a.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,l),s.exports}l.m=t,e=[],l.O=(t,o,a,s)=>{if(!o){var r=1/0;for(b=0;b<e.length;b++){for(var[o,a,s]=e[b],n=!0,h=0;h<o.length;h++)(!1&s||r>=s)&&Object.keys(l.O).every(e=>l.O[e](o[h]))?o.splice(h--,1):(n=!1,s<r&&(r=s));if(n){e.splice(b--,1);var i=a();void 0!==i&&(t=i)}}return t}s=s||0;for(var b=e.length;b>0&&e[b-1][2]>s;b--)e[b]=e[b-1];e[b]=[o,a,s]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={1063:0,7759:0};l.O.j=t=>0===e[t];var t=(t,o)=>{var a,s,[r,n,h]=o,i=0;if(r.some(t=>0!==e[t])){for(a in n)l.o(n,a)&&(l.m[a]=n[a]);if(h)var b=h(l)}for(t&&t(o);i<r.length;i++)s=r[i],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return l.O(b)},o=globalThis.webpackChunkauthor_website_templates=globalThis.webpackChunkauthor_website_templates||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=l.O(void 0,[7759],()=>l(2389));a=l.O(a)})();