(()=>{"use strict";var e,t={5788:(e,t,a)=>{const r=window.React,n=window.wp.blocks,o=window.wp.blockEditor,l=window.wp.serverSideRender;var s=a.n(l);const i=window.wp.components,c=JSON.parse('{"apiVersion":3,"title":"Magazine Header","name":"susquehanna/magazine-header","category":"susquehanna","script":"file:./index.js","viewScript":"file:./script.js","editorStyle":"file:./editor.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"customTabLabel":{"type":"string","default":"Info"},"customTabURL":{"type":"string","default":""},"archiveURL":{"type":"string","default":""}}}');(0,n.registerBlockType)(c,{edit:function(e){const{attributes:t,setAttributes:a}=e,{customTabLabel:n,customTabURL:l,archiveURL:c}=t,u=(0,o.useBlockProps)({className:(e.className?e.className+" ":"")+"susqu-magazine-header component"});return(0,r.createElement)("div",{...u},(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:"Block Settings"},(0,r.createElement)(i.TextControl,{label:"Custom Tab Label",value:n,onChange:e=>a({customTabLabel:e}),placeholder:"Enter tab label..."}),(0,r.createElement)(i.TextControl,{label:"Custom Tab URL",value:l,onChange:e=>a({customTabURL:e}),placeholder:"Enter tab URL..."}),(0,r.createElement)(i.TextControl,{label:"Custom Archive URL",value:c,onChange:e=>a({archiveURL:e}),placeholder:"Enter archive URL..."}))),(0,r.createElement)(i.Disabled,null,(0,r.createElement)(s(),{block:"susquehanna/magazine-header",attributes:e.attributes})))}})}},a={};function r(e){var n=a[e];if(void 0!==n)return n.exports;var o=a[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,a,n,o)=>{if(!a){var l=1/0;for(u=0;u=o)&&Object.keys(r.O).every((e=>r.O[e](a[i])))?a.splice(i--,1):(s=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[a,n,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={1960:0,6384:0};r.O.j=t=>0===e[t];var t=(t,a)=>{var n,o,[l,s,i]=a,c=0;if(l.some((t=>0!==e[t]))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(i)var u=i(r)}for(t&&t(a);cr(5788)));n=r.O(n)})();