(()=>{var e,o={89:(e,o,n)=>{"use strict";const t=window.wp.hooks;(0,t.addFilter)("blocks.registerBlockType","awp/cover-custom-attribute",(function(e,o){return void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{hideOnMobile:{type:"boolean"},hideOnTablet:{type:"boolean"},hideOnDesktop:{type:"boolean"}})),e}));const l=window.wp.compose,r=window.wp.blockEditor,a=window.wp.components,i=window.ReactJSXRuntime,s=(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 15.2056V1.41396C2 1.09638 2.34857 0.894983 2.62355 1.05765L7.87531 4.14054C8.14254 4.29933 8.30521 4.58206 8.30521 4.8919V17.1963C8.30521 17.2506 8.29746 17.3009 8.2781 17.3513C7.53836 19.3187 5.88847 20.3644 5.04803 20.7866C4.75756 20.9338 4.40512 20.8292 4.23471 20.5542C2.43765 17.6805 2.05035 15.5465 2.00387 15.2676C2 15.2482 2 15.2289 2 15.2056ZM9.83503 4.00507C9.74983 4.03606 9.69173 4.10577 9.67237 4.19097C9.54069 4.80291 9.15339 7.2971 11.2525 8.83855C13.3517 10.38 20.0442 13.978 21.5624 14.7913C21.7212 14.8765 21.9148 14.7758 21.9381 14.5977C22.0814 13.5675 22.2131 10.4652 19.4207 7.00663C16.0783 2.86642 11.6824 3.35054 9.83116 4.00507H9.83503ZM21.4462 16.6503C21.4616 16.5612 21.4345 16.476 21.3687 16.4179C20.9078 15.9958 18.952 14.3962 16.5623 15.4303C14.1378 16.476 7.6816 20.411 6.21374 21.3134C6.05882 21.4063 6.0472 21.6232 6.1905 21.7355C7.00383 22.3784 9.61809 24.0632 14.01 23.4048C19.2734 22.6186 21.0821 18.579 21.45 16.6542L21.4462 16.6503Z",fill:"#1C7E6E"})}),c=(0,l.createHigherOrderComponent)((e=>o=>{const{attributes:n,setAttributes:t,isSelected:l}=o,{hideOnMobile:c,hideOnTablet:d,hideOnDesktop:b}=n;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e,{...o}),l&&(0,i.jsx)(r.InspectorControls,{children:(0,i.jsxs)(a.PanelBody,{title:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,i.jsx)(a.Icon,{icon:s}),(0,i.jsx)("span",{children:"Responsive Settings"})]}),initialOpen:!1,className:"blynex-responsive-panel",children:[(0,i.jsx)(a.ToggleControl,{label:wp.i18n.__("Hide on mobile","awp"),checked:!!c,onChange:()=>t({hideOnMobile:!c})}),(0,i.jsx)(a.ToggleControl,{label:wp.i18n.__("Hide on tablet","awp"),checked:!!d,onChange:()=>t({hideOnTablet:!d})}),(0,i.jsx)(a.ToggleControl,{label:wp.i18n.__("Hide on desktop","awp"),checked:!!b,onChange:()=>t({hideOnDesktop:!b})})]})})]})}),"withResponsiveControls");(0,t.addFilter)("editor.BlockEdit","awp/cover-custom-controls",c),(0,t.addFilter)("blocks.getSaveContent.extraProps","awp/cover-apply-class",(function(e,o,n){const{hideOnMobile:t,hideOnTablet:l,hideOnDesktop:r}=n;return void 0!==t&&t&&(e.className=e.className+" hide-on-mobile"),void 0!==l&&l&&(e.className=e.className+" hide-on-tablet"),void 0!==r&&r&&(e.className=e.className+" hide-on-desktop"),e})),(0,t.addFilter)("blocks.registerBlockType","blynex/hover-effect-attributes",((e,o)=>("core/cover"!==o&&"core/image"!==o||(e.attributes={...e.attributes,blynexHoverEffect:{type:"string",default:"none"},blynexHoverIntensity:{type:"number",default:.5},blynexHoverScale:{type:"number",default:1.05},blynexHoverDuration:{type:"number",default:.3}}),e)),20);const d=window.wp.i18n,b=(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 15.2056V1.41396C2 1.09638 2.34857 0.894983 2.62355 1.05765L7.87531 4.14054C8.14254 4.29933 8.30521 4.58206 8.30521 4.8919V17.1963C8.30521 17.2506 8.29746 17.3009 8.2781 17.3513C7.53836 19.3187 5.88847 20.3644 5.04803 20.7866C4.75756 20.9338 4.40512 20.8292 4.23471 20.5542C2.43765 17.6805 2.05035 15.5465 2.00387 15.2676C2 15.2482 2 15.2289 2 15.2056ZM9.83503 4.00507C9.74983 4.03606 9.69173 4.10577 9.67237 4.19097C9.54069 4.80291 9.15339 7.2971 11.2525 8.83855C13.3517 10.38 20.0442 13.978 21.5624 14.7913C21.7212 14.8765 21.9148 14.7758 21.9381 14.5977C22.0814 13.5675 22.2131 10.4652 19.4207 7.00663C16.0783 2.86642 11.6824 3.35054 9.83116 4.00507H9.83503ZM21.4462 16.6503C21.4616 16.5612 21.4345 16.476 21.3687 16.4179C20.9078 15.9958 18.952 14.3962 16.5623 15.4303C14.1378 16.476 7.6816 20.411 6.21374 21.3134C6.05882 21.4063 6.0472 21.6232 6.1905 21.7355C7.00383 22.3784 9.61809 24.0632 14.01 23.4048C19.2734 22.6186 21.0821 18.579 21.45 16.6542L21.4462 16.6503Z",fill:"#1C7E6E"})}),p=(0,l.createHigherOrderComponent)((e=>o=>{const{attributes:n,setAttributes:t,isSelected:l}=o,{blynexHoverEffect:s="none",blynexHoverIntensity:c=.5,blynexHoverScale:d=1.05,blynexHoverDuration:p=.3}=n;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e,{...o}),l&&("core/cover"===o.name||"core/image"===o.name)&&(0,i.jsx)(r.InspectorControls,{children:(0,i.jsxs)(a.PanelBody,{title:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,i.jsx)(a.Icon,{icon:b}),(0,i.jsx)("span",{children:"Hover Effects"})]}),initialOpen:!0,className:"blynex-hover-panel",children:[(0,i.jsx)(a.SelectControl,{label:"Effect Type",value:s,options:[{label:"None",value:"none"},{label:"Zoom",value:"zoom"},{label:"Fade",value:"fade"},{label:"Grayscale",value:"grayscale"},{label:"Blur",value:"blur"},{label:"Glow",value:"glow"},{label:"Hue Rotate",value:"hue-rotate"},{label:"Invert",value:"invert"},{label:"Saturate",value:"saturate"},{label:"Sepia",value:"sepia"}],onChange:e=>t({blynexHoverEffect:e})}),"none"!==s&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.RangeControl,{label:"Effect Strength",value:c,onChange:e=>t({blynexHoverIntensity:e}),min:.1,max:1,step:.1}),(0,i.jsx)(a.RangeControl,{label:"Duration (seconds)",value:p,onChange:e=>t({blynexHoverDuration:e}),min:.1,max:1,step:.1}),"core/cover"===o.name&&(0,i.jsx)(a.RangeControl,{label:"Zoom Scale",value:d,onChange:e=>t({blynexHoverScale:e}),min:1,max:1.5,step:.05})]})]})})]})}),"withHoverControls");wp.hooks.addFilter("editor.BlockEdit","blynex/hover-effect-controls",p);var g=n(942),u=n.n(g);const y=(0,l.createHigherOrderComponent)((e=>o=>{const{attributes:n}=o,{blynexHoverEffect:t,blynexHoverIntensity:l=.5,blynexHoverScale:r=1.05,blynexHoverDuration:a=.3}=n,s={...o.wrapperProps,className:u()(o?.wrapperProps?.className,{[`blynex-hover-${t}`]:t&&"none"!==t,"blynex-hover-enabled":!0}),style:{"--blynex-intensity":l,"--blynex-duration":`${a}s`,"--blynex-scale":r}};return(0,i.jsx)(e,{...o,wrapperProps:s})}),"applyHoverClasses");(0,t.addFilter)("editor.BlockListBlock","blynex/hover-effect-classes",y),n(588);const x=(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 15.2056V1.41396C2 1.09638 2.34857 0.894983 2.62355 1.05765L7.87531 4.14054C8.14254 4.29933 8.30521 4.58206 8.30521 4.8919V17.1963C8.30521 17.2506 8.29746 17.3009 8.2781 17.3513C7.53836 19.3187 5.88847 20.3644 5.04803 20.7866C4.75756 20.9338 4.40512 20.8292 4.23471 20.5542C2.43765 17.6805 2.05035 15.5465 2.00387 15.2676C2 15.2482 2 15.2289 2 15.2056ZM9.83503 4.00507C9.74983 4.03606 9.69173 4.10577 9.67237 4.19097C9.54069 4.80291 9.15339 7.2971 11.2525 8.83855C13.3517 10.38 20.0442 13.978 21.5624 14.7913C21.7212 14.8765 21.9148 14.7758 21.9381 14.5977C22.0814 13.5675 22.2131 10.4652 19.4207 7.00663C16.0783 2.86642 11.6824 3.35054 9.83116 4.00507H9.83503ZM21.4462 16.6503C21.4616 16.5612 21.4345 16.476 21.3687 16.4179C20.9078 15.9958 18.952 14.3962 16.5623 15.4303C14.1378 16.476 7.6816 20.411 6.21374 21.3134C6.05882 21.4063 6.0472 21.6232 6.1905 21.7355C7.00383 22.3784 9.61809 24.0632 14.01 23.4048C19.2734 22.6186 21.0821 18.579 21.45 16.6542L21.4462 16.6503Z",fill:"#1C7E6E"})}),m=(0,l.createHigherOrderComponent)((e=>o=>{const{attributes:n,setAttributes:t,isSelected:l}=o,{blynexImageFilter:s="none",blynexFilterIntensity:c=.5,blynexFilterBlur:b=2,blynexFilterBrightness:p=1,blynexFilterContrast:g=1,blynexFilterHueRotate:u=0,blynexFilterSaturate:y=1,blynexFilterSepia:m=0,blynexFilterInvert:h=0,blynexFilterOpacity:C=1,blynexFilterGrayscale:f=0,blynexFilterDropShadow:v=!1}=n,w=(e,o)=>{t({[e]:o})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e,{...o}),l&&("core/image"===o.name||"core/cover"===o.name)&&(0,i.jsx)(r.InspectorControls,{children:(0,i.jsxs)(a.PanelBody,{title:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[x,(0,i.jsx)("span",{children:(0,d.__)("Image Filters","blynex")})]}),initialOpen:!1,className:"blynex-filter-panel",children:[(0,i.jsx)(a.SelectControl,{label:(0,d.__)("Filter Type","blynex"),value:s,options:[{label:(0,d.__)("None","blynex"),value:"none"},{label:(0,d.__)("Blur","blynex"),value:"blur"},{label:(0,d.__)("Brightness","blynex"),value:"brightness"},{label:(0,d.__)("Contrast","blynex"),value:"contrast"},{label:(0,d.__)("Grayscale","blynex"),value:"grayscale"},{label:(0,d.__)("Hue Rotate","blynex"),value:"hue-rotate"},{label:(0,d.__)("Invert","blynex"),value:"invert"},{label:(0,d.__)("Opacity","blynex"),value:"opacity"},{label:(0,d.__)("Saturate","blynex"),value:"saturate"},{label:(0,d.__)("Sepia","blynex"),value:"sepia"},{label:(0,d.__)("Drop Shadow","blynex"),value:"drop-shadow"}],onChange:e=>t({blynexImageFilter:e})}),"none"!==s&&(()=>{switch(s){case"blur":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Blur Amount","blynex"),value:b,onChange:e=>w("blynexFilterBlur",e),min:0,max:20,step:.1,withInputField:!1});case"brightness":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Brightness","blynex"),value:p,onChange:e=>w("blynexFilterBrightness",e),min:0,max:2,step:.1,withInputField:!1});case"contrast":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Contrast","blynex"),value:g,onChange:e=>w("blynexFilterContrast",e),min:0,max:2,step:.1,withInputField:!1});case"hue-rotate":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Hue Rotate","blynex"),value:u,onChange:e=>w("blynexFilterHueRotate",e),min:0,max:360,step:1,withInputField:!1});case"saturate":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Saturation","blynex"),value:y,onChange:e=>w("blynexFilterSaturate",e),min:0,max:2,step:.1,withInputField:!1});case"sepia":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Sepia","blynex"),value:m,onChange:e=>w("blynexFilterSepia",e),min:0,max:1,step:.1,withInputField:!1});case"invert":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Invert","blynex"),value:h,onChange:e=>w("blynexFilterInvert",e),min:0,max:1,step:.1,withInputField:!1});case"opacity":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Opacity","blynex"),value:C,onChange:e=>w("blynexFilterOpacity",e),min:0,max:1,step:.1,withInputField:!1});case"grayscale":return(0,i.jsx)(a.RangeControl,{label:(0,d.__)("Grayscale","blynex"),value:f,onChange:e=>w("blynexFilterGrayscale",e),min:0,max:1,step:.1,withInputField:!1});case"drop-shadow":return(0,i.jsx)(a.ToggleControl,{label:(0,d.__)("Enable Drop Shadow","blynex"),checked:v,onChange:e=>w("blynexFilterDropShadow",e)});default:return null}})()]})})]})}),"withImageFilterControls");wp.hooks.addFilter("editor.BlockEdit","blynex/image-filter-controls",m);const h=window.wp.element,C=(0,l.createHigherOrderComponent)((e=>o=>{const{attributes:n,className:t}=o,{blynexImageFilter:l,blynexFilterBlur:r,blynexFilterBrightness:a,blynexFilterContrast:s,blynexFilterHueRotate:c,blynexFilterSaturate:d,blynexFilterSepia:b,blynexFilterInvert:p,blynexFilterOpacity:g,blynexFilterGrayscale:u,blynexFilterDropShadow:y}=n;if(!l||"none"===l)return(0,i.jsx)(e,{...o});const x=["blynex-has-filter",`blynex-filter-${l}`].filter(Boolean).join(" "),m={};void 0!==r&&(m["--blynex-filter-blur"]=r),void 0!==a&&(m["--blynex-filter-brightness"]=a),void 0!==s&&(m["--blynex-filter-contrast"]=s),void 0!==c&&(m["--blynex-filter-hue-rotate"]=c),void 0!==d&&(m["--blynex-filter-saturate"]=d),void 0!==b&&(m["--blynex-filter-sepia"]=b),void 0!==p&&(m["--blynex-filter-invert"]=p),void 0!==g&&(m["--blynex-filter-opacity"]=g),void 0!==u&&(m["--blynex-filter-grayscale"]=u);const h=[t,x].filter(Boolean).join(" ");return(0,i.jsx)(e,{...o,className:h,style:{...o.style,...m}})}),"withImageFilterWrapper");wp.hooks.addFilter("editor.BlockListBlock","blynex/image-filter-wrapper",C),wp.hooks.addFilter("blocks.getSaveContent.extraProps","blynex/frontend-image-filter",((e,o,n)=>{const{blynexImageFilter:t}=n;if(!t||"none"===t)return e;const l=[e.className,"blynex-has-filter",`blynex-filter-${t}`].filter(Boolean).join(" ");return{...e,className:l}}));const f=(0,l.createHigherOrderComponent)((e=>o=>{const{name:n,attributes:t,isSelected:l}=o;return console.log("๐Ÿ” withSvgColorWarning: Block rendered",{name:n,isSelected:l}),"core/image"!==n?(console.log("โŒ Not an image block, skipping"),(0,i.jsx)(e,{...o})):(console.log("โœ… Image block detected!",{name:n,isSelected:l,attributes:t}),(0,h.useEffect)((()=>{if(console.log("๐ŸŽฏ useEffect triggered!",{isSelected:l}),l)return console.log("๐ŸŽจ Image block IS SELECTED - adding warning..."),console.log("๐Ÿ“Š Current attributes:",t),v(),setTimeout((()=>{console.log("โฐ Timeout 100ms - trying again"),v()}),100),setTimeout((()=>{console.log("โฐ Timeout 500ms - trying again"),v()}),500),setTimeout((()=>{console.log("โฐ Timeout 1000ms - trying again"),v()}),1e3),()=>{console.log("๐Ÿ”„ Block deselected, removing warning"),w()};console.log("โญ• Image block NOT selected, removing warning"),w()}),[l]),(0,i.jsx)(e,{...o}))}),"withSvgColorWarning");function v(){console.log("๐Ÿ” SVG Warning: Starting Color palette detection..."),w();const e=document.createElement("div");e.className="svg-color-warning-notice components-panel__body",e.innerHTML='\n
\n
\n

๐Ÿ’ก SVG Color Feature

\n

Use the Text Color option above to change the color of SVG images. This feature works only with SVG files.

\n
\n
\n ';let o=!1;console.log("๐Ÿ” Looking for Color palette/panel...");const n=[".block-editor-color-gradient-control",".components-color-palette",".block-editor-tools-panel-color-gradient-settings__item",".components-color-picker",".block-editor-panel-color-gradient-settings"];for(let t of n){const n=document.querySelector(t);if(n){console.log(`๐Ÿ” Found color element: ${t}`);const l=n.closest(".components-panel__body")||n.closest(".components-panel")||n.closest('[class*="panel"]');if(l){const n=l.querySelector(".components-panel__body-title, h2, .components-tools-panel-header, .components-panel__body-toggle, button"),t=n?.textContent?.trim()?.toLowerCase()||"";if(console.log(`๐Ÿ” Color panel header: "${t}"`),t.includes("color")||!t.includes("settings")){console.log("๐ŸŽฏ Found Color panel - inserting after it (before Filters)!");try{const n=l.nextElementSibling;l.parentNode.insertBefore(e,n),console.log("โœ… Warning added between Color and Filters!"),o=!0;break}catch(n){console.log("โŒ Failed to insert after Color panel, trying inside...");try{l.appendChild(e),console.log("โœ… Warning added inside Color panel!"),o=!0;break}catch(e){console.log("โŒ Failed to insert in Color panel")}}}}}}if(!o){console.log("๐Ÿ” Looking for Text/Background color panel...");const n=document.querySelectorAll(".components-panel__body");for(let t of n){const n=t.textContent.toLowerCase(),l=t.querySelector(".components-panel__body-title, h2, .components-tools-panel-header, .components-panel__body-toggle, button"),r=l?.textContent?.trim()?.toLowerCase()||"",a=n.includes("text")&&(n.includes("color")||n.includes("background"));if((r.includes("color")||a)&&!r.includes("settings")){console.log("๐ŸŽฏ Found Text/Background color panel - inserting after it!");try{const n=t.nextElementSibling;t.parentNode.insertBefore(e,n),console.log("โœ… Warning added between Color and next panel!"),o=!0;break}catch(n){console.log("โŒ Failed to insert after color panel, trying inside...");try{t.appendChild(e),console.log("โœ… Warning added inside color panel!"),o=!0;break}catch(e){console.log("โŒ Failed to insert in color panel")}}}}}if(!o){console.log("๐Ÿ” Looking for panels with Color header...");const n=[".components-panel__body",".edit-post-sidebar .components-panel__body",".block-editor-block-inspector .components-panel__body"];for(let t of n){const n=document.querySelectorAll(t);console.log(`๐Ÿ” Found ${n.length} panels with selector: ${t}`);for(let l of n){const n=l.querySelector(".components-panel__body-title, h2, .components-tools-panel-header, .components-panel__body-toggle, button"),r=n?.textContent?.trim()?.toLowerCase()||"";if(console.log("๐Ÿ” Panel header analysis:",{selector:t,headerText:r||"no-header"}),"color"===r||r.includes("color")){console.log("๐ŸŽฏ Found panel with Color header - inserting after it!");try{const n=l.nextElementSibling;l.parentNode.insertBefore(e,n),console.log("โœ… Warning added between Color and next panel!"),o=!0;break}catch(n){console.log("โŒ Failed to insert after Color panel, trying inside...");try{l.appendChild(e),console.log("โœ… Warning added inside Color panel!"),o=!0;break}catch(e){console.log("โŒ Failed to insert in Color panel, trying next...")}}}}if(o)break}}if(!o){console.log("๐Ÿ” Looking for Text color button...");const n=document.querySelectorAll("button, .components-button, .components-toggle-control");for(let t of n){const n=t.textContent.trim().toLowerCase(),l=t.getAttribute("aria-label")?.toLowerCase()||"";if("text"===n||l.includes("text color")||l.includes("text")){const n=t.closest(".components-panel__body")||t.closest('[class*="panel"]');if(n){const t=n.querySelector(".components-panel__body-title, h2, .components-tools-panel-header, .components-panel__body-toggle, button");if(!(t?.textContent?.trim()?.toLowerCase()||"").includes("settings")){console.log("๐ŸŽฏ Found Text color button - inserting after panel");try{const t=n.nextElementSibling;n.parentNode.insertBefore(e,t),console.log("โœ… Warning added between Color and next panel!"),o=!0;break}catch(t){console.log("โŒ Failed to insert after Text color panel, trying inside...");try{n.appendChild(e),console.log("โœ… Warning added inside Text color panel!"),o=!0;break}catch(e){console.log("โŒ Failed to insert in Text color panel")}}}}}}}if(!o){console.log("๐Ÿ” Looking for any sidebar content area...");const n=[".edit-post-sidebar",".block-editor-block-inspector",".interface-complementary-area",".components-panel"];for(let t of n){const n=document.querySelector(t);if(n){console.log(`๐ŸŽฏ Found sidebar with selector: ${t}`);try{n.appendChild(e),console.log("โœ… Warning added to sidebar area!"),o=!0;break}catch(e){console.log(`โŒ Failed to insert in sidebar: ${t}`)}}}}if(!o){console.log("๐Ÿ“Š Debug info - All available elements:"),document.querySelectorAll(".components-panel__body").forEach(((e,o)=>{const n=e.querySelector(".components-panel__body-title, h2, .components-tools-panel-header, .components-panel__body-toggle, button"),t=n?.textContent?.trim()||"no-header";console.log(`Panel ${o}: "${t}" - Content: ${e.textContent.substring(0,80)}...`)}));const e=document.querySelectorAll('[role="tab"], .components-tab-button, button');console.log("๐Ÿ“Š All tabs/buttons found:"),e.forEach(((e,o)=>{const n=e.textContent?.trim()||"no-text";console.log(`Tab/Button ${o}: "${n}"`)}))}o?console.log("๐ŸŽจ SVG Warning: Successfully added between Color and Filters panels!"):(console.log("โŒ SVG Warning: Could not find suitable Color panel location"),console.log("Available panels:",{totalPanels:document.querySelectorAll(".components-panel__body").length,panelsFound:Array.from(document.querySelectorAll(".components-panel__body")).map((e=>{const o=e.querySelector(".components-panel__body-title, h2, .components-tools-panel-header, .components-panel__body-toggle");return o?.textContent?.trim()||"no-header"}))}))}function w(){const e=document.querySelector(".svg-color-warning-notice");e&&(e.remove(),console.log("๐Ÿ—‘๏ธ SVG Warning: Removed from panel"))}"undefined"!=typeof window&&(window.testSvgWarning=function(){console.log("๐Ÿงช Manual test: Adding SVG warning immediately..."),w(),console.log("๐Ÿ“Š Current sidebar status:"),console.log("Panels:",document.querySelectorAll(".components-panel__body").length),console.log("Tabs:",document.querySelectorAll('[role="tab"]').length),console.log("Buttons:",document.querySelectorAll("button").length),v(),setTimeout((()=>{const e=!!document.querySelector(".svg-color-warning-notice");if(console.log("๐Ÿ” Warning added successfully:",e),e){const e=document.querySelector(".svg-color-warning-notice").closest(".components-panel__body, .edit-post-sidebar, .interface-complementary-area");console.log("๐ŸŽฏ Warning location:",e?.className||"unknown")}}),100)},window.findColorPalette=function(){console.log("๐Ÿ” Manual search for Color palette/panel..."),[".block-editor-color-gradient-control",".components-color-palette",".block-editor-tools-panel-color-gradient-settings__item",".components-color-picker"].forEach((e=>{const o=document.querySelectorAll(e);console.log(`${e}: Found ${o.length} elements`),o.forEach(((o,n)=>{console.log(`๐ŸŽฏ FOUND: ${e}[${n}]`),console.log("Element:",o),console.log("Parent Panel:",o.closest(".components-panel__body, .components-panel")?.className)}))}));const e=document.querySelectorAll("button");console.log("๐Ÿ” Looking for Text color buttons..."),e.forEach(((e,o)=>{const n=e.textContent?.trim().toLowerCase()||"";"text"===n&&(console.log(`๐ŸŽฏ FOUND Text button[${o}] = "${n}"`),console.log("Parent Panel:",e.closest(".components-panel__body")?.className))}))},window.removeSvgWarning=function(){console.log("๐Ÿงช Manual SVG warning removal..."),w()},window.debugSvgPanels=function(){console.log("๐Ÿ” Debug: All panels in sidebar:"),document.querySelectorAll(".components-panel__body").forEach(((e,o)=>{console.log(`Panel ${o}:`,{text:e.textContent.substring(0,100),classes:e.className,hasColorControls:!!e.querySelector(".block-editor-color-gradient-control"),hasTextControls:!!e.querySelector('[aria-label*="Text"]')})})),console.log("๐Ÿ” Current SVG warning present:",!!document.querySelector(".svg-color-warning-notice"))},console.log("๐Ÿ› ๏ธ SVG Debug functions available: testSvgWarning(), findColorPalette(), removeSvgWarning(), debugSvgPanels()")),(0,t.addFilter)("editor.BlockEdit","blynex/svg-color-warning",f),console.log("๐ŸŽจ SVG Color Warning Feature: LOADED and REGISTERED"),console.log("๐Ÿ” Hook registered for:","editor.BlockEdit","blynex/svg-color-warning");const _=window.wp.plugins,S=window.wp.editSite,F=window.wp.data,k=()=>(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 15.2056V1.41396C2 1.09638 2.34857 0.894983 2.62355 1.05765L7.87531 4.14054C8.14254 4.29933 8.30521 4.58206 8.30521 4.8919V17.1963C8.30521 17.2506 8.29746 17.3009 8.2781 17.3513C7.53836 19.3187 5.88847 20.3644 5.04803 20.7866C4.75756 20.9338 4.40512 20.8292 4.23471 20.5542C2.43765 17.6805 2.05035 15.5465 2.00387 15.2676C2 15.2482 2 15.2289 2 15.2056ZM9.83503 4.00507C9.74983 4.03606 9.69173 4.10577 9.67237 4.19097C9.54069 4.80291 9.15339 7.2971 11.2525 8.83855C13.3517 10.38 20.0442 13.978 21.5624 14.7913C21.7212 14.8765 21.9148 14.7758 21.9381 14.5977C22.0814 13.5675 22.2131 10.4652 19.4207 7.00663C16.0783 2.86642 11.6824 3.35054 9.83116 4.00507H9.83503ZM21.4462 16.6503C21.4616 16.5612 21.4345 16.476 21.3687 16.4179C20.9078 15.9958 18.952 14.3962 16.5623 15.4303C14.1378 16.476 7.6816 20.411 6.21374 21.3134C6.05882 21.4063 6.0472 21.6232 6.1905 21.7355C7.00383 22.3784 9.61809 24.0632 14.01 23.4048C19.2734 22.6186 21.0821 18.579 21.45 16.6542L21.4462 16.6503Z",fill:"#1C7E6E"})});(0,_.registerPlugin)("blynex-theme-settings",{icon:(0,i.jsx)(k,{}),render:()=>{const e=(0,F.useSelect)((e=>e("core").getEntityRecord("root","site")?.blynex_scroll_top||!1)),{editEntityRecord:o,saveEditedEntityRecord:n}=(0,F.useDispatch)("core");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S.PluginSidebarMoreMenuItem,{target:"blynex-theme-settings",icon:(0,i.jsx)(k,{}),children:(0,d.__)("Blynex Settings","blynex")}),(0,i.jsx)(S.PluginSidebar,{name:"blynex-theme-settings",title:(0,d.__)("Blynex Settings","blynex"),icon:(0,i.jsx)(k,{}),children:(0,i.jsx)(a.PanelBody,{title:(0,d.__)("Feature Options","blynex"),initialOpen:!0,children:(0,i.jsx)(a.ToggleControl,{label:(0,d.__)("Scroll to Top Button","blynex"),help:e?(0,d.__)("Enabled","blynex"):(0,d.__)("Disabled","blynex"),checked:e,onChange:async e=>{await o("root","site",void 0,{blynex_scroll_top:e}),await n("root","site",void 0)}})})})]})}})},588:()=>{wp.hooks.addFilter("blocks.registerBlockType","blynex/image-filter-attributes",((e,o)=>"core/image"!==o&&"core/cover"!==o?e:{...e,attributes:{...e.attributes,blynexImageFilter:{type:"string",default:"none"},blynexFilterIntensity:{type:"number",default:.5},blynexFilterBlur:{type:"number",default:2},blynexFilterBrightness:{type:"number",default:1},blynexFilterContrast:{type:"number",default:1},blynexFilterHueRotate:{type:"number",default:0},blynexFilterSaturate:{type:"number",default:1},blynexFilterSepia:{type:"number",default:0},blynexFilterInvert:{type:"number",default:0},blynexFilterOpacity:{type:"number",default:1},blynexFilterGrayscale:{type:"number",default:0},blynexFilterDropShadow:{type:"boolean",default:!1}}}))},942:(e,o)=>{var n;!function(){"use strict";var t={}.hasOwnProperty;function l(){for(var e="",o=0;o{if(!n){var a=1/0;for(d=0;d=r)&&Object.keys(t.O).every((e=>t.O[e](n[s])))?n.splice(s--,1):(i=!1,r0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,l,r]},t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={57:0,350:0};t.O.j=o=>0===e[o];var o=(o,n)=>{var l,r,[a,i,s]=n,c=0;if(a.some((o=>0!==e[o]))){for(l in i)t.o(i,l)&&(t.m[l]=i[l]);if(s)var d=s(t)}for(o&&o(n);ct(89)));l=t.O(l)})();