!function(){var e,t,n,r={87:function(e){"use strict";e.exports=window.wp.element},143:function(e){"use strict";e.exports=window.wp.data},279:function(e){"use strict";e.exports=window.wp.plugins},427:function(e){"use strict";e.exports=window.wp.components},490:function(e){"use strict";e.exports=window.wp.domReady},609:function(e){"use strict";e.exports=window.React},696:function(e,t,n){"use strict";var r=window.wp.hooks;"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("blocks.registerBlockType","awp/cover-custom-attribute")&&(0,r.addFilter)("blocks.registerBlockType","awp/cover-custom-attribute",(function(e,t){return void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{hideOnMobile:{type:"boolean"},hideOnTablet:{type:"boolean"},hideOnDesktop:{type:"boolean"}})),e}));var l=window.wp.compose,o=window.wp.blockEditor,i=n(427),s=n(790);const a=()=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"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=>t=>{const{attributes:n,setAttributes:r,isSelected:l}=t,{hideOnMobile:c,hideOnTablet:p,hideOnDesktop:d}=n;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e,{...t}),l&&(0,s.jsx)(o.InspectorControls,{children:(0,s.jsxs)(i.PanelBody,{title:(0,s.jsxs)("div",{style:{display:"flex",fontSize:"13px",fontWeight:"500",alignItems:"center",gap:"8px"},children:[(0,s.jsx)(a,{}),(0,s.jsx)("span",{children:"Responsive Settings"})]}),initialOpen:!1,className:"blynex-responsive-panel",children:[(0,s.jsx)(i.ToggleControl,{label:wp.i18n.__("Hide on mobile","awp"),checked:!!c,onChange:()=>r({hideOnMobile:!c})}),(0,s.jsx)(i.ToggleControl,{label:wp.i18n.__("Hide on tablet","awp"),checked:!!p,onChange:()=>r({hideOnTablet:!p})}),(0,s.jsx)(i.ToggleControl,{label:wp.i18n.__("Hide on desktop","awp"),checked:!!d,onChange:()=>r({hideOnDesktop:!d})})]})})]})}),"withResponsiveControls");"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("editor.BlockEdit","awp/cover-custom-controls")&&(0,r.addFilter)("editor.BlockEdit","awp/cover-custom-controls",c),"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("blocks.getSaveContent.extraProps","awp/cover-apply-class-frontend")&&(0,r.addFilter)("blocks.getSaveContent.extraProps","awp/cover-apply-class-frontend",(function(e,t,n){const{hideOnMobile:r,hideOnTablet:l,hideOnDesktop:o}=n;return e||(e={}),void 0!==r&&r&&(e.className=(e.className||"")+" hide-on-mobile"),void 0!==l&&l&&(e.className=(e.className||"")+" hide-on-tablet"),void 0!==o&&o&&(e.className=(e.className||"")+" hide-on-desktop"),e}));"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("blocks.registerBlockType","blynex/hover-effect-attributes")&&(0,r.addFilter)("blocks.registerBlockType","blynex/hover-effect-attributes",((e,t)=>("core/cover"!==t&&"core/image"!==t||(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);var p=n(723);const d=()=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"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"})}),u=(0,l.createHigherOrderComponent)((e=>t=>{const{attributes:n,setAttributes:r,isSelected:l}=t,{blynexHoverEffect:a="none",blynexHoverIntensity:c=.5,blynexHoverScale:p=1.05,blynexHoverDuration:u=.3}=n||{};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e,{...t}),l&&("core/cover"===t.name||"core/image"===t.name)&&(0,s.jsx)(o.InspectorControls,{children:(0,s.jsxs)(i.PanelBody,{title:(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px",fontSize:"13px",fontWeight:"500"},children:[(0,s.jsx)(d,{}),(0,s.jsx)("span",{children:"Hover Effects"})]}),initialOpen:!0,className:"blynex-hover-panel",children:[(0,s.jsx)(i.SelectControl,{label:"Effect Type",value:a,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=>r({blynexHoverEffect:e})}),"none"!==a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{style:{marginBottom:"16px"},children:(0,s.jsx)(i.RangeControl,{label:"Effect Strength",value:c,onChange:e=>r({blynexHoverIntensity:e}),min:.1,max:1,step:.1,allowReset:!0,initialPosition:.5})}),(0,s.jsx)("div",{style:{marginBottom:"16px"},children:(0,s.jsx)(i.RangeControl,{label:"Duration (seconds)",value:u,onChange:e=>r({blynexHoverDuration:e}),min:.1,max:1,step:.1,allowReset:!0,initialPosition:.3})}),"core/cover"===t.name&&(0,s.jsx)("div",{style:{marginBottom:"16px"},children:(0,s.jsx)(i.RangeControl,{label:"Zoom Scale",value:p,onChange:e=>r({blynexHoverScale:e}),min:1,max:1.5,step:.05,allowReset:!0,initialPosition:1.05})})]})]})})]})}),"withHoverControls");"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("editor.BlockEdit","blynex/hover-effect-controls")&&(0,r.addFilter)("editor.BlockEdit","blynex/hover-effect-controls",u);var x=n(942),y=n.n(x);const b=(0,l.createHigherOrderComponent)((e=>t=>{const{attributes:n}=t,{blynexHoverEffect:r,blynexHoverIntensity:l=.5,blynexHoverScale:o=1.05,blynexHoverDuration:i=.3}=n,a={...t.wrapperProps,className:y()(t?.wrapperProps?.className,{[`blynex-hover-${r}`]:r&&"none"!==r,"blynex-hover-enabled":!0}),style:{...t.wrapperProps?.style||{},"--blynex-intensity":l,"--blynex-duration":`${i}s`,"--blynex-scale":o}};return(0,s.jsx)(e,{...t,wrapperProps:a})}),"applyHoverClasses");"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("editor.BlockListBlock","blynex/hover-effect-classes")&&(0,r.addFilter)("editor.BlockListBlock","blynex/hover-effect-classes",b);"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("blocks.registerBlockType","blynex/image-filter-attributes")&&(0,r.addFilter)("blocks.registerBlockType","blynex/image-filter-attributes",((e,t)=>["core/image","core/cover","core/gallery","core/media-text","core/group","core/columns","core/column"].includes(t)?{...e,attributes:{...e.attributes,blynexFilterBlur:{type:"number",default:0},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}}}:e));const f=()=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"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"})}),g=(0,s.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 512.00 512.00",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[(0,s.jsx)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,s.jsx)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#CCCCCC",strokeWidth:"3.072"}),(0,s.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[(0,s.jsx)("g",{id:"Layer_1"}),(0,s.jsx)("g",{id:"Layer_2",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{d:"M274.91,47.78c-97.6,0-179.71,67.5-202.15,158.26L58.79,181.4c-4.36-7.69-14.12-10.39-21.81-6.03 c-7.69,4.36-10.39,14.12-6.03,21.81l37.66,66.44c0,0,0,0.01,0.01,0.01l0.15,0.26c0.19,0.34,0.39,0.66,0.6,0.98 c0.01,0.01,0.02,0.03,0.03,0.04c0.04,0.07,0.09,0.13,0.14,0.19c0.23,0.33,0.46,0.64,0.71,0.95c0.04,0.05,0.07,0.1,0.11,0.15 c0,0,0,0.01,0.01,0.01c0.02,0.02,0.04,0.04,0.06,0.07c0.36,0.44,0.75,0.85,1.15,1.24c0.04,0.04,0.07,0.07,0.11,0.1 c0.25,0.23,0.5,0.46,0.76,0.67c0.05,0.04,0.1,0.08,0.15,0.12c0.35,0.28,0.71,0.55,1.08,0.81c0.03,0.02,0.06,0.04,0.09,0.06 c0.17,0.11,0.35,0.22,0.52,0.33c0.09,0.06,0.18,0.11,0.28,0.17c0.12,0.07,0.25,0.14,0.38,0.21c0.11,0.06,0.22,0.12,0.33,0.17 c0.2,0.1,0.39,0.2,0.59,0.3c0.11,0.05,0.22,0.1,0.33,0.15c0,0,0.01,0,0.01,0.01c0.12,0.05,0.24,0.11,0.36,0.16 c0.33,0.14,0.66,0.26,1,0.37c0.04,0.02,0.09,0.03,0.13,0.04c0.02,0.01,0.03,0.01,0.05,0.02c0.15,0.05,0.31,0.09,0.47,0.14 c0.29,0.09,0.59,0.16,0.89,0.23c0.08,0.02,0.15,0.04,0.23,0.06c0.07,0.02,0.14,0.03,0.22,0.05c0.44,0.09,0.89,0.15,1.33,0.2 c0.04,0,0.07,0.01,0.11,0.02c0.08,0.01,0.15,0.01,0.23,0.02c0.49,0.05,0.98,0.08,1.48,0.08c0.42,0,0.84-0.02,1.26-0.06 c0.07-0.01,0.14-0.01,0.21-0.02c0.01,0,0.03,0,0.04,0c0.06-0.01,0.12-0.01,0.19-0.02c0.28-0.03,0.55-0.07,0.83-0.11 c0.08-0.01,0.16-0.02,0.24-0.04c0.13-0.02,0.25-0.04,0.38-0.07c0.06-0.01,0.12-0.03,0.19-0.04c0.4-0.09,0.81-0.19,1.21-0.31 c0.1-0.03,0.2-0.06,0.3-0.09c0.11-0.03,0.21-0.07,0.32-0.11c0.14-0.05,0.28-0.1,0.42-0.15c0.17-0.06,0.33-0.12,0.5-0.19 c0.1-0.04,0.2-0.09,0.3-0.13c0.13-0.06,0.26-0.12,0.39-0.18c0.19-0.09,0.37-0.19,0.56-0.28c0.13-0.07,0.25-0.13,0.38-0.2 c0.28-0.15,0.55-0.33,0.82-0.5c0.15-0.09,0.3-0.18,0.45-0.28c0.06-0.04,0.11-0.08,0.17-0.12c0.17-0.12,0.34-0.25,0.5-0.38 c0.06-0.04,0.12-0.09,0.18-0.13c0.11-0.09,0.23-0.17,0.34-0.26c0,0,0.01-0.01,0.01-0.01l59.04-48.93 c6.8-5.64,7.75-15.72,2.11-22.53c-5.64-6.8-15.73-7.75-22.53-2.11l-28.84,23.9c17.18-79.28,87.87-138.87,172.22-138.87 c97.17,0,176.22,79.05,176.22,176.22s-79.05,176.22-176.22,176.22c-8.84,0-16,7.16-16,16s7.16,16,16,16 c114.81,0,208.22-93.41,208.22-208.22S389.72,47.78,274.91,47.78z"}),(0,s.jsx)("path",{d:"M274.91,147.61c-8.84,0-16,7.16-16,16V256c0,8.84,7.16,16,16,16h75.87c8.84,0,16-7.16,16-16s-7.16-16-16-16 h-59.87v-76.39C290.91,154.77,283.74,147.61,274.91,147.61z"})]})})]})]}),h=(0,l.createHigherOrderComponent)((e=>t=>{const{attributes:n,setAttributes:r,isSelected:l}=t,{blynexFilterBlur:a=0,blynexFilterBrightness:c=1,blynexFilterContrast:d=1,blynexFilterHueRotate:u=0,blynexFilterSaturate:x=1,blynexFilterSepia:y=0,blynexFilterInvert:b=0,blynexFilterOpacity:h=1,blynexFilterGrayscale:m=0}=n,v=(e,t)=>{r({[e]:t})},C=(e,t)=>{r({[e]:t})},w=(e,t)=>e.toString(),j=(e,t,n)=>{let r;switch(n){case"blur":case"hue-rotate":default:r=parseFloat(t)||0;break;case"percentage":r=parseFloat(t)/100||0}v(e,r)},k=0!==a||1!==c||1!==d||0!==u||1!==x||0!==y||0!==b||1!==h||0!==m;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e,{...t}),l&&("core/image"===t.name||"core/cover"===t.name)&&(0,s.jsx)(o.InspectorControls,{children:(0,s.jsx)(i.PanelBody,{title:(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px",fontSize:"13px",fontWeight:"500"},children:[(0,s.jsx)(f,{}),(0,s.jsx)("span",{children:(0,p.__)("Image Filters","blynex")}),k&&(0,s.jsx)("span",{style:{backgroundColor:"#007cba",color:"white",borderRadius:"10px",padding:"2px 6px",fontSize:"10px",fontWeight:"600"},children:"Active"}),k&&(0,s.jsx)(i.Button,{variant:"secondary",size:"small",onClick:()=>{r({blynexFilterBlur:0,blynexFilterBrightness:1,blynexFilterContrast:1,blynexFilterHueRotate:0,blynexFilterSaturate:1,blynexFilterSepia:0,blynexFilterInvert:0,blynexFilterOpacity:1,blynexFilterGrayscale:0})},style:{marginLeft:"8px",padding:"2px",height:"auto",minHeight:"auto",width:"20px",display:"flex",alignItems:"center",justifyContent:"center"},title:(0,p.__)("Reset all filters","blynex"),children:g})]}),initialOpen:k,className:"blynex-filter-panel",children:(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"16px",padding:"8px 0"},children:[(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"blur"}),0!==a&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterBlur",0),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset blur filter","blynex"),title:(0,p.__)("Reset blur filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(a)})]}),value:a,onChange:e=>v("blynexFilterBlur",e),min:0,max:20,step:.1,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(a),onChange:e=>j("blynexFilterBlur",e.target.value,"blur")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"brightness"}),1!==c&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterBrightness",1),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset brightness filter","blynex"),title:(0,p.__)("Reset brightness filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(c)})]}),value:c,onChange:e=>v("blynexFilterBrightness",e),min:0,max:3,step:.1,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(c),onChange:e=>j("blynexFilterBrightness",e.target.value,"default")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"contrast"}),1!==d&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterContrast",1),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset contrast filter","blynex"),title:(0,p.__)("Reset contrast filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(d)})]}),value:d,onChange:e=>v("blynexFilterContrast",e),min:0,max:3,step:.1,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(d),onChange:e=>j("blynexFilterContrast",e.target.value,"default")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"grayscale"}),0!==m&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterGrayscale",0),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset grayscale filter","blynex"),title:(0,p.__)("Reset grayscale filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(m)})]}),value:m,onChange:e=>v("blynexFilterGrayscale",e),min:0,max:1,step:.01,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(m),onChange:e=>j("blynexFilterGrayscale",e.target.value,"percentage")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"hue-rotate"}),0!==u&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterHueRotate",0),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset hue-rotate filter","blynex"),title:(0,p.__)("Reset hue-rotate filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(u)})]}),value:u,onChange:e=>v("blynexFilterHueRotate",e),min:0,max:360,step:1,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(u),onChange:e=>j("blynexFilterHueRotate",e.target.value,"hue-rotate")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"invert"}),0!==b&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterInvert",0),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset invert filter","blynex"),title:(0,p.__)("Reset invert filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(b)})]}),value:b,onChange:e=>v("blynexFilterInvert",e),min:0,max:1,step:.01,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(b),onChange:e=>j("blynexFilterInvert",e.target.value,"percentage")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"opacity"}),1!==h&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterOpacity",1),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset opacity filter","blynex"),title:(0,p.__)("Reset opacity filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(h)})]}),value:h,onChange:e=>v("blynexFilterOpacity",e),min:0,max:1,step:.01,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(h),onChange:e=>j("blynexFilterOpacity",e.target.value,"default")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"saturate"}),1!==x&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterSaturate",1),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset saturate filter","blynex"),title:(0,p.__)("Reset saturate filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(x)})]}),value:x,onChange:e=>v("blynexFilterSaturate",e),min:0,max:3,step:.1,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(x),onChange:e=>j("blynexFilterSaturate",e.target.value,"default")}})}),(0,s.jsx)("div",{className:"blynex-filter-control",children:(0,s.jsx)(i.RangeControl,{label:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px",fontWeight:"500",textTransform:"lowercase"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[(0,s.jsx)("span",{children:"sepia"}),0!==y&&(0,s.jsx)("button",{type:"button",style:{background:"none",border:"none",color:"#666",cursor:"pointer",padding:"2px",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"center",transition:"color 0.2s, background-color 0.2s",minWidth:"16px",minHeight:"16px"},onClick:()=>C("blynexFilterSepia",0),onMouseEnter:e=>{e.target.style.color="#007cba",e.target.style.backgroundColor="#f0f0f1"},onMouseLeave:e=>{e.target.style.color="#666",e.target.style.backgroundColor="transparent"},"aria-label":(0,p.__)("Reset sepia filter","blynex"),title:(0,p.__)("Reset sepia filter","blynex"),children:g})]}),(0,s.jsx)("span",{style:{color:"#666",fontFamily:"monospace",fontSize:"11px"},children:w(y)})]}),value:y,onChange:e=>v("blynexFilterSepia",e),min:0,max:1,step:.01,withInputField:!0,className:"blynex-range-control",inputProps:{value:w(y),onChange:e=>j("blynexFilterSepia",e.target.value,"percentage")}})})]})})})]})}),"withImageFilterControls");"undefined"!=typeof wp&&wp.hooks&&!wp.hooks.hasFilter("editor.BlockEdit","blynex/image-filter-controls")&&(0,r.addFilter)("editor.BlockEdit","blynex/image-filter-controls",h);const m=(0,l.createHigherOrderComponent)((e=>t=>{const{attributes:n,name:r,clientId:l}=t;if("core/image"!==r)return(0,s.jsx)(e,{...t});const{blynexFilterBlur:o=0,blynexFilterBrightness:i=1,blynexFilterContrast:a=1,blynexFilterHueRotate:c=0,blynexFilterSaturate:p=1,blynexFilterSepia:d=0,blynexFilterInvert:u=0,blynexFilterOpacity:x=1,blynexFilterGrayscale:y=0}=n,b=[];o&&o>0&&b.push(`blur(${o}px)`),i&&1!==i&&b.push(`brightness(${i})`),a&&1!==a&&b.push(`contrast(${a})`),y&&y>0&&b.push(`grayscale(${y})`),c&&c>0&&b.push(`hue-rotate(${c}deg)`),u&&u>0&&b.push(`invert(${u})`),p&&1!==p&&b.push(`saturate(${p})`),d&&d>0&&b.push(`sepia(${d})`);const f=b.join(" "),g={...t.wrapperProps,style:{...t.wrapperProps?.style||{},filter:f||void 0,opacity:x||void 0}};return(0,s.jsx)(e,{...t,wrapperProps:g})}),"withEditorImageFilters");"undefined"!=typeof wp&&wp.hooks&&(wp.hooks.hasFilter("editor.BlockListBlock","blynex/editor-image-filters")||(0,r.addFilter)("editor.BlockListBlock","blynex/editor-image-filters",m),wp.hooks.hasFilter("blocks.getSaveContent.extraProps","blynex/frontend-image-filter")||(0,r.addFilter)("blocks.getSaveContent.extraProps","blynex/frontend-image-filter",((e,t,n)=>{const{blynexFilterBlur:r=0,blynexFilterBrightness:l=1,blynexFilterContrast:o=1,blynexFilterHueRotate:i=0,blynexFilterSaturate:s=1,blynexFilterSepia:a=0,blynexFilterInvert:c=0,blynexFilterOpacity:p=1,blynexFilterGrayscale:d=0}=n;if(!(r&&r>0||l&&1!==l||o&&1!==o||i&&i>0||s&&1!==s||a&&a>0||c&&c>0||p&&p<1||d&&d>0))return e;const u=["blynex-has-filter"];r&&r>0&&u.push("blynex-filter-blur"),l&&1!==l&&u.push("blynex-filter-brightness"),o&&1!==o&&u.push("blynex-filter-contrast"),i&&i>0&&u.push("blynex-filter-hue-rotate"),s&&1!==s&&u.push("blynex-filter-saturate"),a&&a>0&&u.push("blynex-filter-sepia"),c&&c>0&&u.push("blynex-filter-invert"),p&&p<1&&u.push("blynex-filter-opacity"),d&&d>0&&u.push("blynex-filter-grayscale");const x=[e.className,u.join(" ")].filter(Boolean).join(" ");return{...e,className:x,"data-blynex-filter":JSON.stringify({blur:r||0,brightness:l||1,contrast:o||1,hueRotate:i||0,saturate:s||1,sepia:a||0,invert:c||0,opacity:p||1,grayscale:d||0})}})));var v=n(279),C=window.wp.editor,w=n(143);const j=()=>(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"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"})});window.wp?.plugins?.getPlugin("blynex-theme-settings")||(0,v.registerPlugin)("blynex-theme-settings",{icon:(0,s.jsx)(j,{}),render:()=>{const e=(0,w.useSelect)((e=>e("core").getEntityRecord("root","site")?.blynex_scroll_top||!1)),{editEntityRecord:t,saveEditedEntityRecord:n}=(0,w.useDispatch)("core");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(C.PluginSidebarMoreMenuItem,{target:"blynex-theme-settings",icon:(0,s.jsx)(j,{}),children:(0,p.__)("Blynex Settings","blynex")}),(0,s.jsx)(C.PluginSidebar,{name:"blynex-theme-settings",title:(0,p.__)("Blynex Settings","blynex"),icon:(0,s.jsx)(j,{}),children:(0,s.jsx)(i.PanelBody,{title:(0,p.__)("Feature Options","blynex"),initialOpen:!0,children:(0,s.jsx)(i.ToggleControl,{label:(0,p.__)("Scroll to Top Button","blynex"),help:e?(0,p.__)("Enabled","blynex"):(0,p.__)("Disabled","blynex"),checked:e,onChange:async e=>{await t("root","site",void 0,{blynex_scroll_top:e}),await n("root","site",void 0)}})})})]})}}),n.e(789).then(n.bind(n,789))},723:function(e){"use strict";e.exports=window.wp.i18n},790:function(e){"use strict";e.exports=window.ReactJSXRuntime},832:function(e){"use strict";e.exports=window.wp.url},876:function(e){"use strict";e.exports=window.wp.richText},942:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e="",t=0;t=l)&&Object.keys(o.O).every((function(e){return o.O[e](n[a])}))?n.splice(a--,1):(s=!1,l0&&e[p-1][2]>l;p--)e[p]=e[p-1];e[p]=[n,r,l]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return e+".js?ver=4c21a28944feaa144271"},o.miniCssF=function(e){return e+".css"},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},n="blynex:",o.l=function(e,r,l,i){if(t[e])t[e].push(r);else{var s,a;if(void 0!==l)for(var c=document.getElementsByTagName("script"),p=0;p-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e}(),function(){if("undefined"!=typeof document){var e={57:0};o.f.miniCss=function(t,n){e[t]?n.push(e[t]):0!==e[t]&&{789:1}[t]&&n.push(e[t]=function(e){return new Promise((function(t,n){var r=o.miniCssF(e),l=o.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r