/home/silvwabw/public_html/wp-content/plugins/gutenverse-form/lib/framework/assets/js/blocks.js
/*! For license information please see blocks.js.LICENSE.txt */
(()=>{var e={65(e,t,n){var o=n(8036),r=n(6330),i=n(2750),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!a[o(e)]}},596(e){"use strict";e.exports=gutenverseCore.controls},613(e,t,n){var o=n(2273).Symbol;e.exports=o},790(e){"use strict";e.exports=window.ReactJSXRuntime},885(e,t,n){var o=n(3370)(n(2273),"Set");e.exports=o},1089(e){e.exports=function(e){return function(t){return e(t)}}},1222(e){"use strict";e.exports=gutenverseCore.helper},1367(e,t,n){var o={"./column/index.js":7342,"./index.js":7501,"./section/index.js":8889,"./wrapper/index.js":3338};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=1367},1609(e){"use strict";e.exports=window.React},1675(e,t,n){var o=n(3370)(n(2273),"WeakMap");e.exports=o},1691(e){e.exports=function(){return!1}},1699(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},2188(e){"use strict";e.exports=gutenverseCore.hoc},2273(e,t,n){var o=n(8716),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},2516(e,t,n){var o,r=n(7477),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},2619(e){"use strict";e.exports=window.wp.hooks},2750(e){e.exports=function(e){return null!=e&&"object"==typeof e}},2998(e,t,n){"use strict";n.d(t,{A:()=>r});var o=n(4971);function r(e,t){if(e){if("string"==typeof e)return(0,o.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,o.A)(e,t):void 0}}},3108(e,t,n){e.exports=n(6870)()},3338(e,t,n){"use strict";n.r(t),n.d(t,{metadata:()=>Y,name:()=>ee,settings:()=>oe});var o=n(4411),r=n(9491),i=n(4715),a=n(2188),c=n(3698),l=n.n(c),s=n(596),p=n(7723),u=n(790);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g=function(e){var t=e.elementId,n=e.switcher,o=e.setSwitcher;return[{id:"blur-notice",component:s.AlertControl,children:(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("span",{children:(0,p.__)("This option will blur background and anything behind this element")})})},{id:"__blurHover",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__blurHover;return o(y(y({},n),{},{state:t}))}},{id:"blur",label:(0,p.__)("Blur","gutenverse-form"),show:!n.state||"normal"===n.state,component:s.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"blur",responsive:!0,selector:".".concat(t,".guten-element"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]},{id:"blurHover",label:(0,p.__)("Blur Hover","gutenverse-form"),show:"hover"===n.state,component:s.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"blurHover",responsive:!0,selector:"section.guten-section.".concat(t,":hover::before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]}]},v=function(e){var t=e.elementId,n=e.displayType;return[{id:"displayType",label:(0,p.__)("Display Type","gutenverse-form"),component:s.SelectControl,options:[{value:"block",label:"Block"},{value:"flex",label:"Flex"},{value:"inline",label:"Inline"},{value:"inline-block",label:"Inline Block"},{value:"grid",label:"Grid"},{value:"none",label:"None"}]},{id:"displayWidth",label:(0,p.__)("Custom Width","gutenverse-form"),show:!!n&&["block","flex","grid"].includes(n),component:s.SizeControl,allowDeviceControl:!0,units:(0,o.A)((0,o.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vw",{text:"vw",min:1,max:100,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"displayWidth",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(t,".guten-element.guten-wrap-helper"),properties:[{name:"width",valueType:"direct",important:!0}]}]},{id:"displayHeight",label:(0,p.__)("Custom Height","gutenverse-form"),show:!!n&&["block","flex","inline-block","grid"].includes(n),component:s.SizeControl,allowDeviceControl:!0,units:(0,o.A)((0,o.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vh",{text:"vh",min:1,max:100,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"displayHeight",selector:".editor-styles-wrapper .is-root-container .".concat(t,".guten-element.guten-wrap-helper"),responsive:!0,properties:[{name:"height",valueType:"direct"}]}]},{id:"innerWrapWidth",label:(0,p.__)("Inner Wrap Width","gutenverse-form"),component:s.SelectControl,allowDeviceControl:!0,options:[{label:"Full-Width",value:"100%"},{label:"Auto",value:"auto"},{label:"Inherit",value:"inherit"}]},{id:"horizontalAlign",label:(0,p.__)("Horizontal Align","gutenverse-form"),component:s.SelectControl,show:!!n&&["flex","grid"].includes(n),allowDeviceControl:!0,options:[{label:"Default",value:"default"},{label:"Start",value:"flex-start"},{label:"Center",value:"center"},{label:"End",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}]},{id:"verticalAlign",label:(0,p.__)("Vertical Align","gutenverse-form"),component:s.SelectControl,show:!!n&&["flex","grid"].includes(n),allowDeviceControl:!0,options:[{label:(0,p.__)("Default","gutenverse-form"),value:"default"},{label:(0,p.__)("Top","gutenverse-form"),value:"flex-start"},{label:(0,p.__)("Middle","gutenverse-form"),value:"center"},{label:(0,p.__)("Bottom","gutenverse-form"),value:"flex-end"},{label:(0,p.__)("Space Between","gutenverse-form"),value:"space-between"},{label:(0,p.__)("Space Around","gutenverse-form"),value:"space-around"},{label:(0,p.__)("Space Evenly","gutenverse-form"),value:"space-evenly"}]},{id:"displayOverflow",label:(0,p.__)("Display Overflow","gutenverse-form"),component:s.SelectControl,options:[{value:"inherit",label:"Default"},{value:"hidden",label:"Hidden"},{value:"visible",label:"Visible"},{value:"scroll",label:"Scroll"},{value:"auto",label:"Auto"}]}]},b=n(3757),m=n.n(b),f=n(5255),h=function(e){var t=e.elementId,n=e.selector,r=e.positionType,i=(0,f.getDeviceType)(),a=m()(n)?".".concat(t,".guten-element"):n;return[{id:"positionType",label:(0,p.__)("Position Type","gutenverse-form"),component:s.SelectControl,allowDeviceControl:!0,options:[{value:"static",label:"Static"},{value:"relative",label:"Relative"},{value:"absolute",label:"Absolute"},{value:"fixed",label:"Fixed"},{value:"sticky",label:"Sticky"}]},{id:"positionLeft",label:(0,p.__)("Left Orientation","gutenverse-form"),show:["fixed","absolute","relative"].includes(r[i]),component:s.SizeControl,allowDeviceControl:!0,units:(0,o.A)((0,o.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"positionLeft",responsive:!0,properties:[{name:"left",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:r},selector:a}]},{id:"positionRight",label:(0,p.__)("Right Orientation","gutenverse-form"),show:["fixed","absolute","relative"].includes(r[i]),component:s.SizeControl,allowDeviceControl:!0,units:(0,o.A)((0,o.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"positionRight",responsive:!0,properties:[{name:"right",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:r},selector:a}]},{id:"positionTop",label:(0,p.__)("Top Orientation","gutenverse-form"),show:["fixed","absolute","relative"].includes(r[i]),component:s.SizeControl,allowDeviceControl:!0,units:(0,o.A)((0,o.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"positionTop",responsive:!0,properties:[{name:"top",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:r},selector:a}]},{id:"positionBottom",label:(0,p.__)("Bottom Orientation","gutenverse-form"),show:["fixed","absolute","relative"].includes(r[i]),component:s.SizeControl,allowDeviceControl:!0,units:(0,o.A)((0,o.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"positionBottom",responsive:!0,properties:[{name:"bottom",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:r},selector:a}]}]},k=function(){return[{id:"sticky-notice",component:s.AlertControl,children:(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("span",{children:(0,p.__)("This option uses JavaScript instead of an anchor tag. Suitable for clickable sections, not SEO links.","gutenverse-form")})})},{id:"url",label:(0,p.__)("Link URL","gutenverse-form"),component:s.TextControl},{id:"linkTarget",label:(0,p.__)("Link Target","gutenverse-form"),component:s.SelectControl,options:[{label:"Open in new tab",value:"_blank"},{label:"Open in this tab",value:"_self"}]}]};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var x=function(){return[{title:(0,p.__)("Wrapper Display","gutenverse-form"),initialOpen:!1,panelArray:v,tabRole:s.TabSetting},{title:(0,p.__)("Position","gutenverse-form"),initialOpen:!1,panelArray:h,tabRole:s.TabSetting},{title:(0,p.__)("Wrapper Link","gutenverse"),initialOpen:!1,panelArray:k,tabRole:s.TabSetting},{title:(0,p.__)("Background Effect","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundEffectPanel)(j(j({},e),{},{selector:".".concat(e.elementId,"> .guten-inner-wrap> .guten-background-effect")}))},tabRole:s.TabSetting,pro:!0},{title:(0,p.__)("Cursor Effect","gutenverse-form"),initialOpen:!1,panelArray:s.cursorEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,p.__)("Animation Effects","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(j(j({},e),{},{styleId:"wrapper"}))},tabRole:s.TabSetting},{title:(0,p.__)("Display","gutenverse-form"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,p.__)("Transform","gutenverse-form"),initialOpen:!1,panelArray:s.transformPanel,tabRole:s.TabSetting,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,p.__)("Background Animation","gutenverse-form"),initialOpen:!1,panelArray:s.backgroundAnimatedPanel,pro:!0},{title:(0,p.__)("Advanced Animation","gutenverse-form"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(j(j({},e),{},{blockType:"wrapper"}))},pro:!0},{title:(0,p.__)("Spacing","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(j(j({},e),{},{styleId:"wrapper-advance"}))},tabRole:s.TabSetting},{title:(0,p.__)("Background","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(j(j({},e),{},{blockType:"wrapper",normalOptions:["default","gradient","video","fluid","slide"],hoverOptions:["default","gradient"],normalSelector:".".concat(e.elementId,":not(.background-animated), .").concat(e.elementId,".background-animated > .guten-inner-wrap > .guten-background-animated .animated-layer"),hoverSelector:".".concat(e.elementId,":not(.background-animated):hover, .").concat(e.elementId,".background-animated:hover > .guten-inner-wrap > .guten-background-animated .animated-layer")}))},tabRole:s.TabStyle},{title:(0,p.__)("Background Overlay","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundOverlayPanel)(j(j({},e),{},{normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,p.__)("Blur","gutenverse-form"),initialOpen:!1,panelArray:g,tabRole:s.TabStyle},{title:(0,p.__)("Border","gutenverse-form"),initialOpen:!1,panelArray:s.borderPanel,tabRole:s.TabStyle},{title:(0,p.__)("Masking","gutenverse-form"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,p.__)("Pointer Event","gutenverse-form"),initialOpen:!1,panelArray:s.pointerEventPanel,tabRole:s.TabStyle},{title:(0,p.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},O=n(6087),S=n(6826),A=n(7143),E=n(1222),D=n(3482),P=n(4320),_=n(3356),B=n(2619);const N=function(e,t){var n=[];return n=(0,s.backgroundStyle)({attributes:t,data:n,backgroundSelector:".".concat(e,":not(.background-animated), .").concat(e,".background-animated > .guten-inner-wrap > .guten-background-animated .animated-layer"),backgroundHoverSelector:".".concat(e,":not(.background-animated):hover, .").concat(e,".background-animated:hover > .guten-inner-wrap > .guten-background-animated .animated-layer")}),(0,E.isNotEmpty)(t.displayType)&&n.push({type:"plain",id:"displayType",selector:".editor-styles-wrapper .is-root-container .block-editor-inner-blocks .block-editor-block-list__layout .".concat(e,".guten-element.guten-wrap-helper, .editor-styles-wrapper .is-root-container .").concat(e,".guten-element.guten-wrap-helper"),properties:[{name:"display",valueType:"direct"}]}),(0,E.isNotEmpty)(t.displayType)&&"inline"===t.displayType&&n.push({type:"plain",id:"displayType",selector:".".concat(e,".guten-element .block-editor-inner-blocks, .").concat(e,".guten-element .block-editor-block-list__layout"),properties:[{name:"display",valueType:"direct"}]}),(0,E.isNotEmpty)(t.displayWidth)&&["block","flex","grid"].includes(t.displayType)&&n.push({type:"unitPoint",id:"displayWidth",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.guten-wrap-helper"),properties:[{name:"width",valueType:"direct",important:!0}]}),(0,E.isNotEmpty)(t.displayHeight)&&["block","flex","inline-block","grid"].includes(t.displayType)&&n.push({type:"unitPoint",id:"displayHeight",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.guten-wrap-helper"),properties:[{name:"height",valueType:"direct"}]}),(0,E.isNotEmpty)(t.innerWrapWidth)&&n.push({type:"plain",id:"innerWrapWidth",responsive:!0,selector:".".concat(e,".guten-element .guten-inner-wrap"),properties:[{name:"width",valueType:"direct"}]}),(0,E.isNotEmpty)(t.horizontalAlign)&&["flex","grid"].includes(t.displayType)&&n.push({type:"plain",id:"horizontalAlign",responsive:!0,selector:".".concat(e,".guten-element, .").concat(e,".guten-element .block-editor-block-list__layout"),properties:[{name:"justify-content",valueType:"exclude",excludeValue:["default"]}]}),(0,E.isNotEmpty)(t.verticalAlign)&&["flex","grid"].includes(t.displayType)&&n.push({type:"plain",id:"verticalAlign",responsive:!0,selector:".".concat(e,".guten-element, .").concat(e,".guten-element .guten-inner-wrap>.block-editor-inner-blocks>.block-editor-block-list__layout"),properties:[{name:"align-content",valueType:"exclude",excludeValue:["default"]},{name:"align-items",valueType:"exclude",excludeValue:["default"]}]}),(0,E.isNotEmpty)(t.displayOverflow)&&n.push({type:"plain",id:"displayOverflow",selector:".".concat(e,".guten-element"),properties:[{name:"overflow",valueType:"direct"}]}),(0,E.isNotEmpty)(t.blur)&&n.push({type:"plain",id:"blur",responsive:!0,selector:".".concat(e,".guten-element"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.blurHover)&&n.push({type:"plain",id:"blurHover",responsive:!0,selector:"section.guten-section.".concat(e,":hover::before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.pointer)&&n.push({type:"pointerEvent",id:"pointer",selector:".".concat(e),responsive:!0}),(0,E.isNotEmpty)(t.topDivider)&&n.push({type:"shapeDivider",id:"topDivider",selector:"section.guten-section.".concat(e," .guten-shape-divider.guten-shape-divider-top svg, section.guten-section.").concat(e," .guten-shape-divider.guten-shape-divider-top .guten-shape-fill path")}),(0,E.isNotEmpty)(t.bottomDivider)&&n.push({type:"shapeDivider",id:"bottomDivider",selector:"section.guten-section.".concat(e," .guten-shape-divider.guten-shape-divider-bottom svg, section.guten-section.").concat(e," .guten-shape-divider.guten-shape-divider-bottom .guten-shape-fill path")}),(0,E.isNotEmpty)(t.backgroundOverlay)&&n.push({type:"background",id:"backgroundOverlay",selector:".".concat(e," > .guten-background-overlay")}),(0,E.isNotEmpty)(t.backgroundOverlayHover)&&n.push({type:"background",id:"backgroundOverlayHover",selector:".".concat(e,":hover > .guten-background-overlay")}),(0,E.isNotEmpty)(t.opacity)&&n.push({type:"plain",id:"opacity",selector:".".concat(e," > .guten-background-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),(0,E.isNotEmpty)(t.opacityHover)&&n.push({type:"plain",id:"opacityHover",selector:".".concat(e,":hover > .guten-background-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),(0,E.isNotEmpty)(t.border)&&n.push({type:"border",id:"border",selector:".".concat(e)}),(0,E.isNotEmpty)(t.borderHover)&&n.push({type:"border",id:"borderHover",selector:".".concat(e,":hover")}),(0,E.isNotEmpty)(t.borderResponsive)&&n.push({type:"borderResponsive",id:"borderResponsive",selector:".".concat(e)}),(0,E.isNotEmpty)(t.borderResponsiveHover)&&n.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".".concat(e,":hover")}),(0,E.isNotEmpty)(t.boxShadow)&&n.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e)}),(0,E.isNotEmpty)(t.boxShadowHover)&&n.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,":hover")}),(0,E.isNotEmpty)(t.mask)&&n.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.padding)&&n.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.margin)&&n.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.zIndex)&&n.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.animation)&&(0,E.isNotEmpty)(t.animation.delay)&&n.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container  .".concat(e),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,E.isNotEmpty)(t.positionType)&&n.push({type:"plain",id:"positionType",responsive:!0,properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.positionLeft)&&n.push({type:"unitPoint",id:"positionLeft",responsive:!0,properties:[{name:"left",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:t.positionType},selector:".".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.positionRight)&&n.push({type:"unitPoint",id:"positionRight",responsive:!0,properties:[{name:"right",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:t.positionType},selector:".".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.positionTop)&&n.push({type:"unitPoint",id:"positionTop",responsive:!0,properties:[{name:"top",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:t.positionType},selector:".".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.positionBottom)&&n.push({type:"unitPoint",id:"positionBottom",responsive:!0,properties:[{name:"bottom",valueType:"function",functionName:"handleWrapperPosition"}],otherAttribute:{positionType:t.positionType},selector:".".concat(e,".guten-element")}),[].concat((0,_.A)(n),(0,_.A)((0,B.applyFilters)("gutenverse.wrapper.blockStyle",[],{elementId:e,attributes:t})))};var T=n(7040);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var F=function(e){var t,n,o=e.attributes,r=e.blockProps,a=e.slideElement,c=o.elementId,l=o.backgroundAnimated,s=void 0===l?{}:l,p=o.backgroundEffect,d=o.background,y=c?c.split("-")[1]:"",g=void 0!==p&&"none"!==(null==p?void 0:p.type)&&!m()(p);return(0,u.jsxs)("div",I(I({},r),{},{children:[(0,u.jsx)(D.FluidCanvas,{attributes:o}),!(0,E.isAnimationActive)(s)&&(null==d||null===(t=d.slideImage)||void 0===t?void 0:t.length)>0&&a,(0,u.jsx)(T.A,{attributes:o}),(0,u.jsx)("div",{className:"guten-background-overlay"}),(0,u.jsxs)("div",{className:"guten-inner-wrap",children:[g&&(0,u.jsx)("div",{className:"guten-background-effect",children:(0,u.jsx)("div",{className:"inner-background-container"})}),(0,E.isAnimationActive)(s)&&(0,u.jsx)("div",{className:"guten-background-animated",children:(0,u.jsx)("div",{className:"animated-layer animated-".concat(y),children:(null==d||null===(n=d.slideImage)||void 0===n?void 0:n.length)>0&&a})}),(0,u.jsx)(i.InnerBlocks,{})]})]}))},R=function(e){var t=e.attributes,n=e.blockProps,o=e.clientId;return(0,u.jsxs)("div",I(I({},n),{},{children:[(0,u.jsx)(D.FluidCanvas,{attributes:t}),(0,u.jsx)(T.A,{attributes:t}),(0,u.jsx)("div",{className:"guten-background-overlay"}),(0,u.jsx)("div",{className:"guten-inner-wrap",children:(0,u.jsx)(i.InnerBlocks,{renderAppender:i.InnerBlocks.ButtonBlockAppender,clientId:o})})]}))},H=(0,r.compose)(a.withPartialRender,a.withPassRef,(0,a.withAnimationAdvanceV2)("wrapper"),(0,a.withAnimationBackgroundV2)(),a.withMouseMoveEffect,a.withBackgroundSlideshow,(0,a.withBackgroundEffect)("wrapper"),a.withCursorEffect)(function(e){var t,n=(0,A.useSelect)(function(e){return e("core/block-editor")},[]).getBlockOrder,o=e.clientId,r=e.attributes,a=e.slideElement,c=e.setBlockRef,p=r.elementId,d=r.displayType,y=r.backgroundAnimated,g=void 0===y?{}:y,v=r.backgroundEffect,b=r.background,f=(0,E.useRichTextParameter)().setPanelIsClicked,h=(0,O.useRef)();(0,P.useGenerateElementId)(o,p,h),(0,P.useDynamicStyle)(p,r,N,h);var k=(0,S.useDisplayEditor)(r),w=(0,S.useAnimationEditor)(r),j=n(o).length>0,_=void 0!==v&&"none"!==(null==v?void 0:v.type)&&!m()(v),B=(null==b||null===(t=b.slideImage)||void 0===t?void 0:t.length)>0,T=(0,i.useBlockProps)({className:l()("guten-element","guten-wrap-helper","no-margin",p,w,d,k,{"background-animated":(0,E.isAnimationActive)(g),"guten-background-effect-active":_,"guten-background-slideshow":B}),ref:h}),C=j?F:R;return(0,O.useEffect)(function(){h&&c(h)},[h]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(D.CopyElementToolbar,I({},e)),(0,u.jsx)(s.BlockPanelController,{props:e,panelList:x,elementRef:h,setPanelIsClicked:f}),(0,u.jsx)(C,{blockProps:T,attributes:r,slideElement:a,clientId:o})]})});const M=H;function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var L=(0,r.compose)((0,a.withAnimationAdvanceScript)("wrapper"),a.withVideoBackground,a.withCursorEffectScript,a.withMouseMoveEffectScript,a.withBackgroundEffectScript,a.withBackgroundSlideshowScript)(function(e){var t,n,r,a,c=e.attributes,s=e.slideElements,p=e.videoContainer,d=c.elementId,y=c.displayType,g=c.cursorEffect,v=c.url,b=c.linkTarget,f=c.backgroundOverlay,h=c.backgroundOverlayHover,k=c.backgroundAnimated,w=void 0===k?{}:k,j=c.backgroundEffect,x=c.background,O=(null==x||null===(t=x.slideImage)||void 0===t?void 0:t.length)>0,A=!m()(null==x?void 0:x.useFeaturedImage)&&((null==x||null===(n=x.useFeaturedImage)||void 0===n?void 0:n.Desktop)||(null==x||null===(r=x.useFeaturedImage)||void 0===r?void 0:r.Tablet)||(null==x||null===(a=x.useFeaturedImage)||void 0===a?void 0:a.Mobile)),P=(0,S.useAnimationFrontend)(c),_=(0,S.useAnimationAdvanceData)(c),B=(0,S.useDisplayFrontend)(c),N=void 0!==j&&"none"!==(null==j?void 0:j.type)&&!m()(j),T=(0,o.A)({},"guten-cursor-effect",null==g?void 0:g.show),C=i.useBlockProps.save(V({className:l()("guten-element","guten-wrap-helper","no-margin",d,P,y,B,T,{"background-animated":(0,E.isAnimationActive)(w),"with-url":v,"guten-background-effect-active":N,"guten-background-slideshow":O,"guten-using-featured-image":A})},_)),I=(0,E.isAnimationActive)(w),F=null==d?void 0:d.split("-")[1],R="_blank"===b||!0===b?"_blank":"_self";return(0,u.jsxs)("div",V(V({},C),{},{onClick:v&&"window.open('".concat(v,"', '").concat(R,"');"),children:[(I||O)&&(0,u.jsxs)("div",{className:"guten-data",children:[I&&(0,u.jsx)("div",{"data-var":"bgAnimatedData".concat(F),"data-value":JSON.stringify(V({},w))}),O&&(0,u.jsx)("div",{"data-var":"backgroundSlideshow".concat(F),"data-value":JSON.stringify(V({},x))})]}),(0,u.jsx)(D.FluidCanvasSave,{attributes:c}),"video"===x.type&&p,!I&&O&&s,(!m()(f)||!m()(h))&&(0,u.jsx)("div",{className:"guten-background-overlay"}),(0,u.jsxs)("div",{className:"guten-inner-wrap","data-id":F,children:[N&&(0,u.jsx)("div",{className:"guten-background-effect",children:(0,u.jsx)("div",{className:"inner-background-container"})}),I&&(0,u.jsx)("div",{className:"guten-background-animated",children:(0,u.jsx)("div",{className:"animated-layer animated-".concat(F),children:O&&s})}),(0,u.jsx)(i.InnerBlocks.Content,{})]})]}))});const W=L;function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q=(0,r.compose)((0,a.withAnimationAdvanceScript)("wrapper"),a.withCursorEffectScript,a.withMouseMoveEffectScript)(function(e){var t=e.attributes,n=t.elementId,r=t.displayType,a=t.cursorEffect,c=t.url,s=t.linkTarget,p=t.backgroundAnimated,d=void 0===p?{}:p,y=(0,S.useAnimationFrontend)(t),g=(0,S.useAnimationAdvanceData)(t),v=(0,S.useDisplayFrontend)(t),b=(0,o.A)({},"guten-cursor-effect",null==a?void 0:a.show),m=(i.useBlockProps.save(G({className:l()("guten-element","guten-wrap-helper","no-margin",n,y,r,v,b,{"background-animated":(0,E.isAnimationActive)(d),"with-url":c})},g)),(0,E.isAnimationActive)(d)),f=null==n?void 0:n.split("-")[1],h=l()("guten-element","guten-wrap-helper","no-margin",n,y,r,v,b,{"background-animated":(0,E.isAnimationActive)(d),"with-url":c}),k=void 0===s?"_self":s;return(0,u.jsxs)("div",G(G({className:h},g),{},{onClick:c&&"window.open('".concat(c,"', '").concat(k,"');"),children:[m&&(0,u.jsx)("div",{className:"guten-data",children:m&&(0,u.jsx)("div",{"data-var":"bgAnimatedData".concat(f),"data-value":JSON.stringify(G({},d))})}),(0,u.jsx)(D.FluidCanvasSave,{attributes:t}),(0,u.jsx)("div",{className:"guten-background-overlay"}),(0,u.jsxs)("div",{className:"guten-inner-wrap","data-id":f,children:[m&&(0,u.jsx)("div",{className:"guten-background-animated",children:(0,u.jsx)("div",{className:"animated-layer animated-".concat(f)})}),(0,u.jsx)(i.InnerBlocks.Content,{})]})]}))});const U=q;function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var K=(0,r.compose)((0,a.withAnimationAdvanceScript)("wrapper"),a.withCursorEffectScript,a.withMouseMoveEffectScript,a.withBackgroundEffectScript,a.withBackgroundSlideshowScript)(function(e){var t,n,r,a,c=e.attributes,s=e.slideElements,p=c.elementId,d=c.displayType,y=c.cursorEffect,g=c.url,v=c.linkTarget,b=c.backgroundOverlay,f=c.backgroundOverlayHover,h=c.backgroundAnimated,k=void 0===h?{}:h,w=c.backgroundEffect,j=c.background,x=(null==j||null===(t=j.slideImage)||void 0===t?void 0:t.length)>0,O=!m()(null==j?void 0:j.useFeaturedImage)&&((null==j||null===(n=j.useFeaturedImage)||void 0===n?void 0:n.Desktop)||(null==j||null===(r=j.useFeaturedImage)||void 0===r?void 0:r.Tablet)||(null==j||null===(a=j.useFeaturedImage)||void 0===a?void 0:a.Mobile)),A=(0,S.useAnimationFrontend)(c),P=(0,S.useAnimationAdvanceData)(c),_=(0,S.useDisplayFrontend)(c),B=void 0!==w&&"none"!==(null==w?void 0:w.type)&&!m()(w),N=(0,o.A)({},"guten-cursor-effect",null==y?void 0:y.show),T=i.useBlockProps.save($({className:l()("guten-element","guten-wrap-helper","no-margin",p,A,d,_,N,{"background-animated":(0,E.isAnimationActive)(k),"with-url":g,"guten-background-effect-active":B,"guten-background-slideshow":x,"guten-using-featured-image":O})},P)),C=(0,E.isAnimationActive)(k),I=null==p?void 0:p.split("-")[1],F=void 0===v?"_self":v;return(0,u.jsxs)("div",$($({},T),{},{onClick:g&&"window.open('".concat(g,"', '").concat(F,"');"),children:[(C||x)&&(0,u.jsxs)("div",{className:"guten-data",children:[C&&(0,u.jsx)("div",{"data-var":"bgAnimatedData".concat(I),"data-value":JSON.stringify($({},k))}),x&&(0,u.jsx)("div",{"data-var":"backgroundSlideshow".concat(I),"data-value":JSON.stringify($({},j))})]}),(0,u.jsx)(D.FluidCanvasSave,{attributes:c}),!C&&x&&s,(!m()(b)||!m()(f))&&(0,u.jsx)("div",{className:"guten-background-overlay"}),(0,u.jsxs)("div",{className:"guten-inner-wrap","data-id":I,children:[B&&(0,u.jsx)("div",{className:"guten-background-effect",children:(0,u.jsx)("div",{className:"inner-background-container"})}),C&&(0,u.jsx)("div",{className:"guten-background-animated",children:(0,u.jsx)("div",{className:"animated-layer animated-".concat(I),children:x&&s})}),(0,u.jsx)(i.InnerBlocks.Content,{})]})]}))});const Q=K,Y=JSON.parse('{"apiVersion":3,"name":"gutenverse/wrapper","title":"Flexible Wrapper","description":"Flexible Wrapper / Container to contain your block","category":"gutenverse-structure","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"displayType":{"type":"string","copyStyle":true},"displayWidth":{"type":"object","copyStyle":true},"displayHeight":{"type":"object","copyStyle":true},"displayOverflow":{"type":"string","default":"inherit","copyStyle":true},"horizontalAlign":{"type":"object","default":{"Desktop":false,"Tablet":false,"Mobile":false},"copyStyle":true},"verticalAlign":{"type":"object","default":{"Desktop":false,"Tablet":false,"Mobile":false},"copyStyle":true},"positionType":{"type":"object","default":{"Desktop":false,"Tablet":false,"Mobile":false},"copyStyle":true},"positionLeft":{"type":"object","copyStyle":true},"positionRight":{"type":"object","copyStyle":true},"positionTop":{"type":"object","copyStyle":true},"positionBottom":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundOverlay":{"type":"object","copyStyle":true},"opacity":{"type":"string","copyStyle":true},"backgroundOverlayHover":{"type":"object","copyStyle":true},"opacityHover":{"type":"string","copyStyle":true},"cursorEffect":{"type":"object"},"backgroundEffect":{"type":"object"},"blur":{"type":"object","copyStyle":true},"blurHover":{"type":"object","copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"pointer":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"backgroundAnimated":{"type":"object","default":{}},"url":{"type":"string"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"condition":{"type":"object","default":{}},"innerWrapWidth":{"type":"object","copyStyle":true,"default":{"Desktop":"100%"}}},"supports":{"className":false,"anchor":true},"keywords":["wrapper","container","structure"],"style":["gutenverse-core-frontend-wrapper-style"]}');var X=n(6504),ee=Y.name,te=Y.attributes,ne=Y.support,oe={icon:(0,u.jsx)(X.IconFlexibleWrapperSVG,{}),edit:M,save:W,deprecated:[{attributes:te,save:U},{attributes:te,support:ne,save:Q}]}},3356(e,t,n){"use strict";n.d(t,{A:()=>i});var o=n(4971),r=n(2998);function i(e){return function(e){if(Array.isArray(e))return(0,o.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},3370(e,t,n){var o=n(8991),r=n(9404);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},3482(e){"use strict";e.exports=gutenverseCore.components},3698(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)o.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3757(e,t,n){var o=n(4804),r=n(9577),i=n(7584),a=n(7957),c=n(9474),l=n(4164),s=n(1699),p=n(9571),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||p(e)||i(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!o(e).length;for(var n in e)if(u.call(e,n))return!1;return!0}},4082(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},4164(e,t,n){e=n.nmd(e);var o=n(2273),r=n(1691),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?o.Buffer:void 0,l=(c?c.isBuffer:void 0)||r;e.exports=l},4272(e,t,n){var o=n(3370)(n(2273),"Promise");e.exports=o},4320(e){"use strict";e.exports=gutenverseCore.styling},4411(e,t,n){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>r})},4443(e,t,n){var o=n(3370)(n(2273),"Map");e.exports=o},4544(e,t,n){"use strict";function o(e,t,n){if("number"!=typeof t)throw new TypeError("Expected value to be a number");if(n===Number.POSITIVE_INFINITY)return t;if(!Number.isInteger(n))throw new TypeError("Expected precision to be an integer");const o="round"===e&&t<0;o&&(t=Math.abs(t));const r=10**n;let i=Math[e]((t*r).toPrecision(15))/r;return o&&(i=-i),i}n.d(t,{uH:()=>r}),o.bind(void 0,"round"),o.bind(void 0,"ceil");const r=o.bind(void 0,"floor")},4714(e,t,n){var o=n(8036),r=n(2750);e.exports=function(e){return r(e)&&"[object Arguments]"==o(e)}},4715(e){"use strict";e.exports=window.wp.blockEditor},4804(e,t,n){var o=n(1699),r=n(7958),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},4971(e,t,n){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{A:()=>o})},4997(e){"use strict";e.exports=window.wp.blocks},5255(e){"use strict";e.exports=gutenverseCore.editorHelper},6087(e){"use strict";e.exports=window.wp.element},6330(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6413(e,t,n){e=n.nmd(e);var o=n(8716),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.process,c=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c},6427(e){"use strict";e.exports=window.wp.components},6504(e){"use strict";e.exports=gutenverseCore.icons},6659(e){e.exports=function(e,t){return function(n){return e(t(n))}}},6701(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6826(e){"use strict";e.exports=gutenverseCore.hooks},6870(e,t,n){"use strict";var o=n(6701);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},7040(e,t,n){"use strict";n.d(t,{A:()=>l});var o=n(9866),r=n(5255),i=n(3482),a=n(6087),c=n(790);const l=function(e){var t=e.attributes.background,n=void 0===t?{}:t,l=n.type,s=n.videoLink,p=n.videoPlayOnMobile,u=void 0!==p&&p,d=n.videoPlayOnce,y=n.videoStartTime,g=void 0===y?0:y,v=n.videoEndTime,b=void 0===v?0:v,m=(0,r.getDeviceType)(),f=(0,a.useRef)(null),h=(0,a.useState)({width:"100%",height:"100%"}),k=(0,o.A)(h,2),w=k[0],j=k[1],x=function(){if(f.current){var e=f.current,t=e.offsetWidth,n=e.offsetHeight,o=Math.floor(.56*t),r=Math.floor(n/.56);j(o>n?{width:"".concat(t,"px"),height:"".concat(o,"px")}:{width:"".concat(r,"px"),height:"".concat(n,"px")})}};(0,a.useEffect)(function(){var e,t=setTimeout(function(){x()},100);return f.current&&(e=new ResizeObserver(function(){x()})).observe(f.current),function(){clearTimeout(t),e&&f.current&&(e.unobserve(f.current),e.disconnect())}},[s]);var O={youtube:{playerVars:{showinfo:0,start:parseInt(g),end:parseInt(b)}}};return("Mobile"!==m||u)&&"video"===l&&s?(0,c.jsx)(i.VideoPreviewer,{videoRef:f,classNames:"guten-video-bg-wrapper",videoSrc:s,hideControls:!0,width:w.width,height:w.height,playing:!0,muted:!0,loop:!d,config:O,styles:{zIndex:0,top:0,left:0,position:"absolute",overflow:"hidden",pointerEvents:"none",opacity:1,width:"100%",height:"100%"},wrapperStyles:["\n                    body{\n                        width: 100%;\n                        height: 100%;\n                        overflow: hidden;\n                    }\n                    body > div {\n                        width: ".concat(w.width,";\n                        height: ").concat(w.height,";\n                        position: absolute;\n                        top: 50%;\n                        left: 50%;\n                        transform: translate(-50%, -50%);\n                    }\n                    body > div > div {\n                        height: 100%;\n                    }\n                ")]}):null}},7072(e,t,n){var o=n(3370)(n(2273),"DataView");e.exports=o},7143(e){"use strict";e.exports=window.wp.data},7335(e,t,n){var o=n(613),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,c=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=a.call(e);return o&&(t?e[c]=n:delete e[c]),r}},7342(e,t,n){"use strict";n.r(t),n.d(t,{metadata:()=>Ae,name:()=>Pe,settings:()=>Be});var o=n(4411),r=n(3356),i=n(9866),a=n(6087),c=n(4715),l=n(3698),s=n.n(l),p=n(9491),u=n(2188),d=n(7723),y=n(596),g=n(5255),v=function(e){var t=e.elementId,n=e.forceColumnHundred,o=(0,g.getDeviceType)();return[{id:"forceColumnHundred",label:(0,d.__)("Force Column 100%","gutenverse-form"),description:(0,d.__)("This will force the column width to be 100%.","gutenverse-form"),allowDeviceControl:!0,deviceValues:n,usePreviousDeviceValue:!0,usePreviousDevice:!0,component:y.CheckboxControl},{id:"width",show:!n||!n[o],label:(0,d.__)("Column Width","gutenverse-form"),component:y.RangeColumnControl,min:{Desktop:5,Tablet:0,Mobile:0}[o],step:.1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"width",responsive:!0,responsiveSelector:!0,selector:{Desktop:".".concat(t),Tablet:".".concat(t),Mobile:".guten-element.".concat(t)},properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}]},{id:"verticalAlign",label:(0,d.__)("Vertical Align","gutenverse-form"),component:y.SelectControl,allowDeviceControl:!0,options:[{label:"Default",value:"default"},{label:"Top",value:"flex-start"},{label:"Middle",value:"center"},{label:"Bottom",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}]},{id:"horizontalAlign",label:(0,d.__)("Horizontal Align","gutenverse-form"),component:y.SelectControl,allowDeviceControl:!0,options:[{label:"Default",value:"default"},{label:"Start",value:"flex-start"},{label:"Center",value:"center"},{label:"End",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}]},{id:"order",label:(0,d.__)("Column Order","gutenverse-form"),component:y.SelectControl,allowDeviceControl:!0,options:[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3},{label:"4",value:4},{label:"5",value:5},{label:"6",value:6},{label:"7",value:7},{label:"8",value:8},{label:"9",value:9},{label:"10",value:10}]}]},b=n(2619),m=function(e){var t=[{component:y.LockedProStickyControl}];return(0,b.applyFilters)("gutenverse.column.sticky",t,e)},f=n(790);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var w=function(e){var t=e.elementId,n=e.switcher,o=e.setSwitcher;return[{id:"blur-notice",component:y.AlertControl,children:(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("span",{children:(0,d.__)("This option will blur background and anything behind this element")})})},{id:"__blurHover",component:y.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__blurHover;return o(k(k({},n),{},{state:t}))}},{id:"blur",label:(0,d.__)("Blur","gutenverse-form"),show:!n.state||"normal"===n.state,component:y.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"blur",responsive:!0,selector:".guten-column.".concat(t," .sticky-wrapper .guten-column-wrapper:before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]},{id:"blurHover",label:(0,d.__)("Blur Hover","gutenverse-form"),show:"hover"===n.state,component:y.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"blur",responsive:!0,selector:".guten-column.".concat(t," .sticky-wrapper .guten-column-wrapper:hover::before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]}]};function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var O=function(){return[{title:(0,d.__)("Layouts","gutenverse-form"),panelArray:v,tabRole:y.TabSetting},{title:(0,d.__)("Background","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,y.backgroundPanel)(x(x({},e),{},{blockType:"column",normalOptions:["default","gradient","fluid","slide"],hoverOptions:["default","gradient"],normalSelector:".editor-styles-wrapper .is-root-container .".concat(e.elementId,":not(.background-animated) > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper, .").concat(e.elementId,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-animated .animated-layer"),hoverSelector:".editor-styles-wrapper .is-root-container .".concat(e.elementId,":not(.background-animated) > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover, .").concat(e.elementId,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-animated .animated-layer")}))},tabRole:y.TabStyle},{title:(0,d.__)("Background Overlay","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,y.backgroundOverlayPanel)(x(x({},e),{},{normalOptions:["default","gradient"],hoverOptions:["default","gradient"],normalSelector:" .".concat(e.elementId," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-overlay, .").concat(e.elementId,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-overlay"),hoverSelector:".".concat(e.elementId," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-overlay, .").concat(e.elementId,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-overlay")}))},tabRole:y.TabStyle},{title:(0,d.__)("Border","-gctd-"),initialOpen:!1,panelArray:function(e){return(0,y.borderPanel)(x(x({},e),{},{selector:".editor-styles-wrapper .is-root-container .".concat(e.elementId," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}))},tabRole:y.TabStyle},{title:(0,d.__)("Masking","gutenverse"),initialOpen:!1,panelArray:y.maskPanel,tabRole:y.TabStyle},{title:(0,d.__)("Blur","gutenverse-form"),initialOpen:!1,panelArray:w,tabRole:y.TabStyle},{title:(0,d.__)("Pointer Event","gutenverse-form"),initialOpen:!1,panelArray:y.pointerEventPanel,tabRole:y.TabStyle},{title:(0,d.__)("Typography","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,y.typographyPanel)(x(x({},e),{},{styleId:"column-typography"}))},tabRole:y.TabStyle},{title:(0,d.__)("Sticky","gutenverse-form"),panelArray:m,pro:!0},{title:(0,d.__)("Cursor Effect","gutenverse-form"),initialOpen:!1,panelArray:y.cursorEffectPanel,tabRole:y.TabSetting,pro:!0},{title:(0,d.__)("Background Effect","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,y.backgroundEffectPanel)(x(x({},e),{},{selector:".".concat(e.elementId,"> .guten-column-resizeable> .sticky-wrapper> .guten-column-wrapper > .guten-background-effect")}))},tabRole:y.TabSetting,pro:!0},{title:(0,d.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:y.mouseMoveEffectPanel,tabRole:y.TabSetting,pro:!0},{title:(0,d.__)("Display","gutenverse"),initialOpen:!1,panelArray:y.responsivePanel,tabRole:y.TabSetting},{title:(0,d.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,y.animationPanel)(x(x({},e),{},{styleId:"column-animation"}))},tabRole:y.TabSetting},{title:(0,d.__)("Background Animation","gutenverse-form"),initialOpen:!1,panelArray:y.backgroundAnimatedPanel,pro:!0},{title:(0,d.__)("Advanced Animation","gutenverse-form"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,y.advanceAnimationPanel)(x(x({},e),{},{blockType:"column"}))},pro:!0},{title:(0,d.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,y.advancePanel)(x(x({},e),{},{selector:".editor-styles-wrapper .is-root-container .".concat(e.elementId," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}))},tabRole:y.TabSetting},{title:(0,d.__)("Condition","gutenverse"),panelArray:y.conditionPanel,initialOpen:!1,pro:!0}]},S=n(4320),A=n(1222),E=n(7143),D=n(6826),P=n(6427),_=n(4544),B=n(4997),N=n(6504),T=n(3482),C=n(3757),I=n.n(C),F=n(1609);const R=function(e,t){var n=[];return n=(0,y.backgroundStyle)({attributes:t,data:n,backgroundSelector:".editor-styles-wrapper .is-root-container .".concat(e,":not(.background-animated) > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper, .").concat(e,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-animated .animated-layer"),backgroundHoverSelector:".editor-styles-wrapper .is-root-container .".concat(e,":not(.background-animated) > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover, .").concat(e,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-animated .animated-layer")}),(0,A.isNotEmpty)(t.width)&&n.push({type:"plain",id:"width",responsive:!0,responsiveSelector:!0,selector:{Desktop:".".concat(e),Tablet:".".concat(e),Mobile:".guten-element.".concat(e)},properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.forceColumnHundred)&&n.push({type:"plain",id:"forceColumnHundred",responsive:!0,responsiveSelector:!0,selector:{Desktop:".".concat(e),Tablet:".".concat(e),Mobile:".guten-element.".concat(e)},properties:[{name:"width",valueType:"static",staticValue:"100%"}]}),(0,A.isNotEmpty)(t.verticalAlign)&&n.push({type:"plain",id:"verticalAlign",responsive:!0,selector:".guten-section > .guten-container > .".concat(e,".guten-column > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout"),properties:[{name:"align-content",valueType:"direct"},{name:"align-items",valueType:"direct"}]}),(0,A.isNotEmpty)(t.horizontalAlign)&&n.push({type:"plain",id:"horizontalAlign",responsive:!0,selector:".guten-section > .guten-container > .".concat(e,".guten-column > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,A.isNotEmpty)(t.horizontalAlign)&&n.push({type:"plain",id:"horizontalAlign",responsive:!0,selector:".guten-section > .guten-container > .".concat(e,".guten-column > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .block-editor-inner-blocks"),properties:[{name:"width",valueType:"pattern",pattern:"100%",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.order)&&n.push({type:"plain",id:"order",responsive:!0,selector:".".concat(e),properties:[{name:"order",valueType:"direct"}]}),(0,A.isNotEmpty)(t.blur)&&n.push({type:"plain",id:"blur",responsive:!0,selector:".guten-column.".concat(e," .sticky-wrapper .guten-column-wrapper:before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.blurHover)&&n.push({type:"plain",id:"blurHover",responsive:!0,selector:".guten-column.".concat(e," .sticky-wrapper .guten-column-wrapper:hover:before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.pointer)&&n.push({type:"pointerEvent",id:"pointer",selector:".".concat(e),responsive:!0}),(0,A.isNotEmpty)(t.backgroundOverlay)&&n.push({type:"background",id:"backgroundOverlay",selector:" .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-overlay, .").concat(e,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-overlay")}),(0,A.isNotEmpty)(t.backgroundOverlayHover)&&n.push({type:"background",id:"backgroundOverlayHover",selector:".".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-overlay, .").concat(e,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-overlay")}),(0,A.isNotEmpty)(t.opacity)&&n.push({type:"plain",id:"opacity",selector:" .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-overlay, .").concat(e,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .guten-background-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),(0,A.isNotEmpty)(t.opacityHover)&&n.push({type:"plain",id:"opacityHover",selector:".".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-overlay, .").concat(e,".background-animated > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover > .guten-background-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),(0,A.isNotEmpty)(t.border)&&n.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}),(0,A.isNotEmpty)(t.borderHover)&&n.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover")}),(0,A.isNotEmpty)(t.borderResponsive)&&n.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}),(0,A.isNotEmpty)(t.borderResponsiveHover)&&n.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover")}),(0,A.isNotEmpty)(t.boxShadow)&&n.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}),(0,A.isNotEmpty)(t.boxShadowHover)&&n.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper:hover")}),(0,A.isNotEmpty)(t.padding)&&n.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}),(0,A.isNotEmpty)(t.margin)&&n.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}),(0,A.isNotEmpty)(t.zIndex)&&n.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e," > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper")}),(0,A.isNotEmpty)(t.typographyHeadingColor)&&n.push({type:"color",id:"typographyHeadingColor",selector:".".concat(e," .wp-block-gutenverse-heading"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.typographyTextColor)&&n.push({type:"color",id:"typographyTextColor",selector:".".concat(e),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.typographyLinkColor)&&n.push({type:"color",id:"typographyLinkColor",selector:".".concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.typographyLinkHoverColor)&&n.push({type:"color",id:"typographyLinkHoverColor",selector:".".concat(e," a:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.typographyTextAlign)&&n.push({type:"color",id:"typographyTextAlign",selector:".".concat(e),properties:[{name:"text-align",valueType:"pattern",pattern:"{value}",patternValues:{value:{type:"direct"}}}]}),[].concat((0,r.A)(n),(0,r.A)((0,b.applyFilters)("gutenverse.column.blockStyle",[],{elementId:e,attributes:t})))};function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var z=function(e,t){var n=e.clientId,o=e.attributes,r=e.setTargetBlock,i=e.getBlock,a=e.getNextBlockClientId,c=e.getPreviousBlockClientId,l=e.getBlockParents,s=e.setParentBlockWidth,p=e.setCurentBlockWidth,u=e.setTargetId,d=e.setParentId,y=e.editorDom,g=e.setOpenTool,v=e.setTotalWidth,b=e.deviceType,m=l(n,!0)[0],f=i(m);"Desktop"===b&&f.innerBlocks.map(function(e){var t=e.clientId,n=null==y?void 0:y.querySelector('.wp-block[data-block="'.concat(t,'"] > .guten-column-resizeable > .column-resize'));null==n||n.classList.add("dragging")});var h,k=i(h="right"===t?a(n):c(n)),w=y.querySelector('.wp-block[data-block="'.concat(m,'"] .guten-container')),j=null==w?void 0:w.offsetWidth,x=o.width[b]?o.width[b]:o.width.Desktop;if(p(x),s(j),d(m),g(!0),k){var O=k.attributes.width[b]?k.attributes.width[b]:k.attributes.width.Desktop;r(O),u(h),v(O+x)}else r(0)},V=function(e,t){var n=e.clientId,o=e.elementId,r=e.targetBlock,i=e.getBlock,a=e.parentBlockWidth,c=e.curentBlockWidth,l=e.targetId,s=e.setNewWidth,p=e.totalWidth,u=e.deviceType,d=e.elementRef,y=null!=r?r:0,g={Desktop:5,Tablet:10,Mobile:15},v=(0,E.select)("core/block-editor"),b=v.getBlockParents,m=(0,v.getBlockOrder)(b(n,!0)[0]),f=m.findIndex(function(e){return e===n}),h=l?i(l).attributes.width:null,k=n?i(n).attributes.width:null,w=l?i(l).attributes.elementId:null,j=y/100*a,x=((c/100*a+t)/a*100*100/100).toFixed(1),O=((j-t)/a*100*100/100).toFixed(1),A=parseFloat(parseFloat(x)+parseFloat(O)).toFixed(1),D=x,P=O;D<g[u]&&(D=g[u],P=A-g[u]),P<g[u]&&(P=g[u],D=A-g[u]),(D=x)<g[u]&&(D=g[u]),D>100&&(D=100);var _="Desktop"!==u||0===f&&1===m.length?100:p-g.Desktop;D>_?D=_:D<g.Desktop&&(D=g.Desktop),(D=parseFloat(D))+(P=parseFloat(P))>p&&(P-=.1),k[u]=D;var B={currentWidth:k},N=[{type:"plain",id:"currentWidth",responsive:!0,selector:".".concat(o),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}];"Desktop"===u&&(h[u]=P,B.targetWidth=h,N.push({type:"plain",id:"targetWidth",responsive:!0,selector:".".concat(w),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]})),(0,S.updateLiveStyle)({styleId:"guten-column-editor",elementId:o,attributes:B,styles:N,elementRef:d,timeout:!1}),s({current:D,target:P,targetColumnElementId:w,targetWidth:h})},L=function(e){var t=e.elementId,n=e.parentId,r=e.getBlock,i=e.newWidth,a=e.setAttributes,c=e.updateBlockAttributes,l=e.targetId,s=e.editorDom,p=e.setOpenTool,u=e.deviceType,d=e.elementRef;(0,S.removeLiveStyle)("guten-column-editor",d,t);var y=r(n);y&&y.innerBlocks.map(function(e){var t=e.clientId,n=null==s?void 0:s.querySelector('.wp-block[data-block="'.concat(t,'"] > .guten-column-resizeable > .column-resize'));null==n||n.classList.remove("dragging")}),p(!1),i.current&&(a({width:M(M({},e.attributes.width),{},(0,o.A)({},u,i.current))}),"Desktop"===u&&i.target&&c(l,{width:M(M({},r(l).attributes.width),{},(0,o.A)({},u,i.target))}))},W=function(e){var t=e.blockProps,n=e.clientId,r=e.stickyFlagRef,i=e.columnWrapRef,a=e.sticky,l=void 0===a?null:a,p=e.stickyPosition,u=e.eSelect,d=e.isHovered,y=e.position,g=e.attributes,v=e.openTool,b=e.setOpenTool,m=e.editorDom,h=e.deviceType,k=g.width,w=k?k[h]?k[h]:k.Desktop:10,j=(0,F.useMemo)(function(){return s()("guten-column-wrapper",(0,o.A)({"guten-sticky":l?(0,A.isSticky)(l):(0,A.isSticky)({})},"sticky-".concat(p),l?(0,A.isSticky)(l):(0,A.isSticky)({})))},[l,p]),x=(0,E.useSelect)(function(e){return e("core/block-editor")},[]),O=(0,x.getBlock)((0,x.getBlockParents)(n,!0)[0]),S=parseFloat(w).toFixed(1).toString().length-(parseFloat(w).toFixed(1).toString().includes(".")?.5:0),D=function(){"Desktop"===h&&O.innerBlocks.map(function(e){var t,n=e.clientId,o=null==m?void 0:m.querySelector('.wp-block[data-block="'.concat(n,'"] > .guten-column-resizeable > .column-resize'));null==o||null===(t=o.classList)||void 0===t||t.add("dragging")})},_=function(){"Desktop"===h&&O.innerBlocks.map(function(e){var t,n=e.clientId,o=null==m?void 0:m.querySelector('.wp-block[data-block="'.concat(n,'"] > .guten-column-resizeable > .column-resize'));null==o||null===(t=o.classList)||void 0===t||t.remove("dragging")})};return(0,f.jsx)("div",M(M({},t),{},{children:(0,f.jsxs)(P.ResizableBox,{enable:{top:!1,right:("last"!==y||"Tablet"===h||"Mobile"===h)&&"only"!==y,bottom:!1,left:"first"!==y&&"only"!==y&&"Desktop"===h,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},showHandle:u||d,className:"guten-column-resizeable",onResizeStart:function(t,n){z(e,n)},onResize:function(t,n,o,r){V(e,r.width)},onResizeStop:function(){L(e)},children:[(0,f.jsx)(T.FluidCanvas,{attributes:g}),(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsx)("div",{className:"sticky-wrapper",ref:r,children:(0,f.jsx)("div",{className:j,ref:i,children:(0,f.jsx)(c.InnerBlocks,{renderAppender:c.InnerBlocks.ButtonBlockAppender,clientId:n})})}),d&&(0,f.jsxs)("div",{className:"column-resize ".concat(v?"dragging":""),children:[(0,f.jsx)("div",{onMouseEnter:function(){D()},onMouseLeave:function(){_()},children:(0,f.jsx)("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H6L0 6V2Z",fill:"#3B57F7"})})}),(0,f.jsxs)("div",{className:"column-popup",onFocus:function(){D(),b(!0)},onBlur:function(){_(),b(!1)},onMouseEnter:function(){D()},onMouseLeave:function(){v||_()},children:[(0,f.jsx)("div",{children:(0,f.jsx)("input",{type:"number",className:"column-next",style:{width:S+"ch"},value:parseFloat(w).toFixed(1),onChange:function(){},onKeyDown:function(e){"Enter"===e.key&&(_(),b(!1))}})}),(0,f.jsx)("div",{className:"column-next",children:"%"})]})]})]})}))},J=function(e){var t,n,r=(0,E.useSelect)(function(e){return e("core/block-editor")},[]).getBlocks,i=e.clientId,a=e.blockProps,l=e.columnWrapRef,p=e.stickyFlagRef,u=e.sticky,d=void 0===u?null:u,y=e.stickyPosition,g=e.eSelect,v=e.isHovered,b=e.position,m=e.attributes,h=e.openTool,k=e.setOpenTool,w=e.editorDom,j=e.slideElement,x=e.deviceType,O=m.elementId,S=m.width,D=m.backgroundAnimated,_=void 0===D?{}:D,B=m.backgroundEffect,N=m.background,C=O?O.split("-")[1]:"",R=S[x]?S[x]:S.Desktop,H=r(i),W=r(i).length,J=(W>=1&&H[W-1].clientId,void 0!==B&&"none"!==(null==B?void 0:B.type)&&!I()(B)),G=(0,F.useMemo)(function(){return s()("guten-column-wrapper",(0,o.A)((0,o.A)({},"guten-sticky",d?(0,A.isSticky)(d):(0,A.isSticky)({})),"sticky-".concat(y),d?(0,A.isSticky)(d):(0,A.isSticky)({})))},[d,y]),q=(0,E.useSelect)(function(e){return e("core/block-editor")},[]),U=(0,q.getBlock)((0,q.getBlockParents)(i,!0)[0]),Z=(0,F.useMemo)(function(){return parseFloat(R).toFixed(1).toString().length-(parseFloat(R).toFixed(1).toString().includes(".")?.5:0)},[R]),$=(0,F.useCallback)(function(){"Desktop"===x&&U.innerBlocks.forEach(function(e){var t=e.clientId;(null==w?void 0:w.querySelector('.wp-block[data-block="'.concat(t,'"] > .guten-column-resizeable > .column-resize'))).classList.add("dragging")})},[x]),K=(0,F.useCallback)(function(){"Desktop"===x&&U.innerBlocks.forEach(function(e){var t=e.clientId;(null==w?void 0:w.querySelector('.wp-block[data-block="'.concat(t,'"] > .guten-column-resizeable > .column-resize'))).classList.remove("dragging")})},[x]);return(0,f.jsx)("div",M(M({},a),{},{children:(0,f.jsxs)(P.ResizableBox,{enable:{top:!1,right:("last"!==b||"Tablet"===x||"Mobile"===x)&&"only"!==b,bottom:!1,left:"first"!==b&&"only"!==b&&"Desktop"===x,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},showHandle:g||v,className:"guten-column-resizeable",onResizeStart:function(t,n){z(e,n)},onResize:function(t,n,o,r){V(e,r.width)},onResizeStop:function(){L(e)},children:[(0,f.jsx)(T.FluidCanvas,{attributes:m}),(v||g)&&(0,f.jsx)("div",{className:"guten-inserter insert-top",children:(0,f.jsx)(c.Inserter,{__experimentalIsQuick:!0,rootClientId:i,clientId:i})}),(0,f.jsx)("div",{className:"sticky-wrapper",ref:p,children:(0,f.jsxs)("div",{className:G,ref:l,children:[!(0,A.isAnimationActive)(_)&&(null==N||null===(t=N.slideImage)||void 0===t?void 0:t.length)>0&&j,J&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),(0,A.isAnimationActive)(_)&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(C),children:(null==N||null===(n=N.slideImage)||void 0===n?void 0:n.length)>0&&j})}),(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsx)(c.InnerBlocks,{})]})}),v&&(0,f.jsxs)("div",{className:"column-resize ".concat(h?"dragging":""),children:[(0,f.jsx)("div",{onMouseEnter:function(){$()},onMouseLeave:function(){K()},children:(0,f.jsx)("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H6L0 6V2Z",fill:"#3B57F7"})})}),(0,f.jsxs)("div",{className:"column-popup",onFocus:function(){$(),k(!0)},onBlur:function(){K(),k(!1)},onMouseEnter:function(){$()},onMouseLeave:function(){h||K()},children:[(0,f.jsx)("div",{children:(0,f.jsx)("input",{type:"number",className:"column-next",style:{width:Z+"ch"},value:parseFloat(R).toFixed(1),onChange:function(){},onKeyDown:function(e){"Enter"===e.key&&(K(),k(!1))}})}),(0,f.jsx)("div",{className:"column-next",children:"%"})]})]}),(v||g)&&(0,f.jsx)("div",{className:"guten-inserter insert-bottom",children:(0,f.jsx)(c.Inserter,{__experimentalIsQuick:!0,rootClientId:i,clientId:null,isAppender:!0})})]})}))},G=function(e){var t=e.panelProps,n=e.isSelected,o=e.attributes,r=e.setAttributes,i=e.elementRef,a=M(M(M({},t),o),{},{setAttributes:r});return(0,f.jsx)(y.PanelController,M({panelList:O,panelProps:a,isSelected:n,elementRef:i},e))},q=function(e){var t=e.clientId,n=(0,E.dispatch)("core/block-editor").removeBlocks;return(0,f.jsx)(P.ToolbarButton,{name:"remove-column",icon:(0,f.jsx)(N.IconToolbarColumnDeleteSVG,{}),title:(0,d.__)("Remove Column","gutenverse-form"),onClick:function(){n(t,!1)}})},U=function(e){var t=e.clientId,n=e.updateBlockWidth,o=e.adjacentBlock,r=(0,E.dispatch)("core/block-editor").insertBlock,i=o.length,a=(0,E.useSelect)(function(e){return e("core/block-editor")},[]),c=a.getBlocks,l=a.getBlockRootClientId;return(0,f.jsx)(P.ToolbarButton,{name:"add-column",icon:(0,f.jsx)(N.IconToolbarColumnAddSVG,{}),title:(0,d.__)("Add Column","gutenverse-form"),onClick:function(){return function(){var e=(0,_.uH)(100/(i+1),1),a=(0,B.createBlock)("gutenverse/column",{width:{Desktop:e}}),s=l(t);o.map(function(t){n(t.clientId,e)});var p=0;c(s).map(function(e,n){e.clientId===t&&(p=n+1)}),r(a,p,s)}()}})},Z=function(e){return(0,f.jsx)(c.BlockControls,{children:(0,f.jsxs)(P.ToolbarGroup,{children:[(0,f.jsx)(U,M({},e)),(0,f.jsx)(q,M({},e))]})})},$=(0,p.compose)(u.withPassRef,(0,u.withAnimationStickyV2)(),(0,u.withAnimationAdvanceV2)("column"),(0,u.withAnimationBackgroundV2)(),u.withMouseMoveEffect,u.withBackgroundSlideshow,(0,u.withBackgroundEffect)("column"),u.withCursorEffect)(function(e){var t=(0,E.useSelect)(function(e){return e("core/block-editor")},[]),n=t.getBlock,l=t.getBlocks,u=t.getBlockOrder,d=t.getBlockRootClientId,y=t.getNextBlockClientId,g=t.getPreviousBlockClientId,v=t.getBlockParents,b=(0,E.dispatch)("core/block-editor").updateBlockAttributes,m=e.clientId,h=e.attributes,k=e.setAttributes,w=e.isSelected,j=e.setBlockRef,x=h.elementId,O=h.verticalAlign,P=h.horizontalAlign,B=h.width,N=h.sticky,C=void 0===N?null:N,H=h.stickyPosition,z=h.backgroundAnimated,V=void 0===z?null:z,L=h.backgroundEffect,q=(0,E.useSelect)(function(){return(0,A.theDeviceType)((0,A.determineLocation)())},[]),U=(0,a.useState)(q),$=(0,i.A)(U,2),K=$[0],Q=$[1],Y=(0,p.debounce)(function(e){Q(e)},1e3);(0,a.useEffect)(function(){Y(q)},[q]);var X=(0,a.useRef)(null);(0,S.useGenerateElementId)(m,x,X),(0,S.useDynamicStyle)(x,h,R,X),(0,S.useDynamicScript)(X);var ee,te,ne,oe,re=u(m).length>0,ie=d(m),ae=(0,a.useRef)(),ce=(0,a.useRef)(),le=(0,D.useAnimationEditor)(h),se=(0,D.useDisplayEditor)(h),pe=(ee=m,te=(0,E.useSelect)(function(e){return e("core/block-editor").getBlockParents(ee,!0)[0]},[ee]),0===(oe=(ne=(0,E.useSelect)(function(e){return e("core/block-editor").getBlockOrder(te)},[te])).findIndex(function(e){return e===ee}))&&1===ne.length?"only":0===oe?"first":oe===ne.length-1?"last":"middle"),ue=l(ie).length,de=l(ie),ye=(0,a.useState)(!1),ge=(0,i.A)(ye,2),ve=ge[0],be=ge[1],me=void 0!==L&&"none"!==(null==L?void 0:L.type)&&!I()(L),fe=(0,F.useCallback)(function(e,t){var r=M(M({},n(e).attributes.width),{},(0,o.A)({},K,t));b(e,{width:r})},[m]),he=function(){var e=0;return l(ie).map(function(t){var n=t.name,o=t.attributes;if("gutenverse/column"===n){var r=o.width,i=0;i=void 0!==r?r.Desktop:100,isNaN(i)&&(i=5),e+=i}}),e};(0,a.useEffect)(function(){var e=(0,_.uH)(100/ue,1),t=null;if(ve){if(ve&&ve!==ue){var n=l(ie);be(ue),t=setTimeout(function(){n.map(function(t){fe(t.clientId,e)})},20)}}else(he()>100||he()<99&&!B)&&k({width:M(M({},B),{},(0,o.A)({},q,e))}),be(l(ie).length);return function(){return clearTimeout(t)}},[ue]);var ke=(0,S.setDeviceClasses)(O,"vertical"),we=(0,S.setDeviceClasses)(P,"horizontal"),je=(0,a.useState)(""),xe=(0,i.A)(je,2),Oe=xe[0],Se=xe[1],Ae=(0,a.useState)(""),Ee=(0,i.A)(Ae,2),De=Ee[0],Pe=Ee[1],_e=(0,a.useState)(""),Be=(0,i.A)(_e,2),Ne=Be[0],Te=Be[1],Ce=(0,a.useState)(""),Ie=(0,i.A)(Ce,2),Fe=Ie[0],Re=Ie[1],He=(0,a.useState)(""),Me=(0,i.A)(He,2),ze=Me[0],Ve=Me[1],Le=(0,a.useState)(!1),We=(0,i.A)(Le,2),Je=We[0],Ge=We[1],qe=(0,a.useState)(!1),Ue=(0,i.A)(qe,2),Ze=Ue[0],$e=Ue[1],Ke=(0,a.useState)(!1),Qe=(0,i.A)(Ke,2),Ye=Qe[0],Xe=Qe[1],et=(0,a.useState)(null),tt=(0,i.A)(et,2),nt=tt[0],ot=tt[1],rt=(0,a.useState)(0),it=(0,i.A)(rt,2),at=it[0],ct=it[1];(0,a.useEffect)(function(){var e=null;if((0,A.isFSE)())e=setTimeout(function(){var e=document.querySelector('iframe[name="editor-canvas"]');e?""===e.contentDocument.body.innerHTML?setTimeout(function(){var e=document.querySelector('iframe[name="editor-canvas"]');e&&ot(e.contentDocument.body)},200):ot(e.contentDocument.body):ot(document.querySelector(".editor-styles-wrapper"))},200);else{var t=document.querySelector('iframe[name="editor-canvas"]');ot(t?t.contentDocument.body:document.querySelector(".editor-styles-wrapper"))}return function(){return clearTimeout(e)}},[K]),(0,a.useEffect)(function(){X&&j(X)},[X]);var lt=(0,F.useMemo)(function(){return C?Object.keys(C).filter(function(e){return Boolean(C[e])}).map(function(e){return"sticky-".concat(e.toLowerCase())}).join(" "):""},[C]),st=(0,F.useCallback)(function(){return Ge(!0)},[]),pt=(0,F.useCallback)(function(){return Ge(!1)},[]),ut=(0,c.useBlockProps)({className:s().apply(void 0,["guten-element","guten-column","no-margin",x,le,se,lt,K.toLowerCase()].concat((0,r.A)(ke),(0,r.A)(we),[(0,o.A)((0,o.A)((0,o.A)((0,o.A)({"column-empty":!re,"column-filled":re},"sticky-".concat(H),(0,A.isSticky)(C)),"is-hovered",Je),"background-animated",(0,A.isAnimationActive)(V)),"guten-background-effect-active",me)])),ref:X,onMouseEnter:st,onMouseLeave:pt}),dt=M(M({},e),{},{attributes:h,setAttributes:k,blockProps:ut,clientId:m,columnRef:X.current,stickyFlagRef:ce,columnWrapRef:ae,eSelect:w,isHovered:Je,position:pe,targetBlock:Oe,setTargetBlock:Se,updateBlockAttributes:b,getBlock:n,getBlocks:l,getBlockOrder:u,getBlockRootClientId:d,getNextBlockClientId:y,getPreviousBlockClientId:g,getBlockParents:v,parentBlockWidth:De,setParentBlockWidth:Pe,curentBlockWidth:Ne,setCurentBlockWidth:Te,targetId:Fe,setTargetId:Re,parentId:ze,setParentId:Ve,newWidth:Ze,setNewWidth:$e,openTool:Ye,setOpenTool:Xe,editorDom:nt,setTotalWidth:ct,totalWidth:at,deviceType:K,elementId:x,elementRef:X}),yt=re?J:W;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(T.CopyElementToolbar,M({},e)),w&&(0,f.jsx)(Z,M(M({},e),{},{updateBlockWidth:fe,adjacentBlock:de,clientId:m})),(0,f.jsx)(G,M(M({},e),{},{setAttributes:k,elementRef:X})),(0,f.jsx)(yt,M({},dt))]})});const K=$;function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var X=(0,p.compose)((0,u.withAnimationAdvanceScript)("column"),u.withMouseMoveEffectScript,u.withBackgroundEffectScript,u.withCursorEffectScript,u.withBackgroundSlideshowScript)(function(e){var t,n,r,i,a=e.attributes,l=e.slideElements,p=a.elementId,u=a.sticky,d=void 0===u?{}:u,y=a.stickyShowOn,g=a.stickyEase,v=a.stickyPosition,b=a.stickyDuration,m=a.topSticky,h=a.bottomSticky,k=a.sectionVerticalAlign,w=a.cursorEffect,j=a.backgroundOverlay,x=a.backgroundOverlayHover,O=a.backgroundAnimated,S=void 0===O?{}:O,E=a.backgroundEffect,P=void 0===E?{}:E,_=a.anchor,B=a.background,N=(null==B||null===(t=B.slideImage)||void 0===t?void 0:t.length)>0,C=!I()(null==B?void 0:B.useFeaturedImage)&&((null==B||null===(n=B.useFeaturedImage)||void 0===n?void 0:n.Desktop)||(null==B||null===(r=B.useFeaturedImage)||void 0===r?void 0:r.Tablet)||(null==B||null===(i=B.useFeaturedImage)||void 0===i?void 0:i.Mobile)),F=(0,A.isSticky)(d)&&(0,A.isAlignStickyColumn)(k),R=void 0!==P&&"none"!==(null==P?void 0:P.type)&&!I()(P),H=Object.keys(d).filter(function(e){return d[e]}).map(function(e){return"sticky-".concat(e.toLowerCase())}).join(" "),M=(0,o.A)((0,o.A)({},"guten-sticky",F),"sticky-".concat(v),F),z=(0,o.A)({},"guten-cursor-effect",null==w?void 0:w.show),V=(0,D.useAnimationAdvanceData)(a),L=(0,D.useAnimationFrontend)(a),W=(0,D.useDisplayFrontend)(a),J=s()("guten-element","guten-column",p,L,W,H,M,z,{"background-animated":(0,A.isAnimationActive)(S),"guten-background-effect-active":R,"guten-background-slideshow":N,"guten-using-featured-image":C}),G=c.useBlockProps.save(Y(Y({className:J,id:_},V),F?{"data-id":null==p?void 0:p.split("-")[1]}:{})),q=(0,A.isAnimationActive)(S),U=null==p?void 0:p.split("-")[1];return(0,f.jsxs)("div",Y(Y({},G),{},{children:[(0,f.jsx)(T.FluidCanvasSave,{attributes:a}),(F||q||N)&&(0,f.jsxs)("div",{className:"guten-data",children:[F&&(0,f.jsx)("div",{"data-var":"stickyData".concat(null==p?void 0:p.split("-")[1]),"data-value":JSON.stringify({sticky:d,stickyShowOn:y,stickyPosition:v,stickyEase:g,stickyDuration:b,topSticky:m,bottomSticky:h})}),q&&(0,f.jsx)("div",{"data-var":"bgAnimatedData".concat(U),"data-value":JSON.stringify(Y({},S))}),N&&(0,f.jsx)("div",{"data-var":"backgroundSlideshow".concat(U),"data-value":JSON.stringify(Y({},B))})]}),F?(0,f.jsx)("div",{className:"sticky-wrapper","data-id":null==p?void 0:p.split("-")[1],children:(0,f.jsxs)("div",{className:"guten-column-wrapper",children:[N&&l,R&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),q&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(U)})}),(!I()(j)||!I()(x))&&(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsx)(c.InnerBlocks.Content,{})]})}):(0,f.jsxs)("div",{className:"guten-column-wrapper","data-id":null==p?void 0:p.split("-")[1],children:[!q&&N&&l,R&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),q&&(0,f.jsx)("div",{className:"guten-background-animated","data-id":null==p?void 0:p.split("-")[1],children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(U),children:N&&l})}),(!I()(j)||!I()(x))&&(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsx)(c.InnerBlocks.Content,{})]})]}))});const ee=X;function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oe=(0,p.compose)()(function(e){var t=e.attributes,n=t.elementId,r=t.sticky,i=void 0===r?{}:r,a=t.stickyShowOn,l=t.stickyEase,p=t.stickyPosition,u=t.stickyDuration,d=t.topSticky,y=t.bottomSticky,g=t.sectionVerticalAlign,v=(0,A.isSticky)(i)&&(0,A.isAlignStickyColumn)(g),b=(0,o.A)((0,o.A)({},"guten-sticky",v),"sticky-".concat(p),v),m=(0,D.useAnimationFrontend)(t),h=(0,D.useDisplayFrontend)(t),k=s()("guten-element","guten-column",n,m,h,b),w=c.useBlockProps.save(ne({className:k},v?{"data-id":null==n?void 0:n.split("-")[1]}:{}));return(0,f.jsxs)("div",ne(ne({},w),{},{children:[v&&(0,f.jsx)("script",{children:"var stickyData".concat(null==n?void 0:n.split("-")[1]," = ").concat(JSON.stringify({sticky:i,stickyShowOn:a,stickyPosition:p,stickyEase:l,stickyDuration:u,topSticky:d,bottomSticky:y}))}),(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsxs)("div",{className:"sticky-wrapper","data-id":null==n?void 0:n.split("-")[1],children:[(0,f.jsx)("script",{children:"var top".concat(null==n?void 0:n.split("-")[1]," = ").concat(JSON.stringify(d),";var bottom").concat(null==n?void 0:n.split("-")[1]," = ").concat(JSON.stringify(y),";")}),(0,f.jsx)("div",{className:"guten-column-wrapper",children:(0,f.jsx)(c.InnerBlocks.Content,{})})]})]}))});const re=oe;function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ce=(0,p.compose)()(function(e){var t=e.attributes,n=t.elementId,r=t.sticky,i=void 0===r?{}:r,a=t.stickyShowOn,l=t.stickyEase,p=t.stickyPosition,u=t.stickyDuration,d=t.topSticky,y=t.bottomSticky,g=t.sectionVerticalAlign,v=(0,A.isSticky)(i)&&(0,A.isAlignStickyColumn)(g),b=(0,o.A)((0,o.A)({},"guten-sticky",v),"sticky-".concat(p),v),m=(0,D.useAnimationFrontend)(t),h=(0,D.useDisplayFrontend)(t),k=s()("guten-element","guten-column",n,m,h,b),w=c.useBlockProps.save(ae({className:k},v?{"data-id":null==n?void 0:n.split("-")[1]}:{}));return(0,f.jsxs)("div",ae(ae({},w),{},{children:[v&&(0,f.jsx)("script",{children:"var stickyData".concat(null==n?void 0:n.split("-")[1]," = ").concat(JSON.stringify({sticky:i,stickyShowOn:a,stickyPosition:p,stickyEase:l,stickyDuration:u,topSticky:d,bottomSticky:y}))}),(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsxs)("div",{className:"sticky-wrapper","data-id":null==n?void 0:n.split("-")[1],children:[(0,f.jsx)("script",{children:"var top".concat(null==n?void 0:n.split("-")[1]," = ").concat(JSON.stringify(d),";var bottom").concat(null==n?void 0:n.split("-")[1]," = ").concat(JSON.stringify(y),";")}),(0,f.jsx)("div",{className:"guten-column-wrapper",children:(0,f.jsx)(c.InnerBlocks.Content,{})})]})]}))});const le=ce;function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ue=(0,p.compose)((0,u.withAnimationAdvanceScript)("column"),u.withCursorEffectScript,u.withMouseMoveEffectScript)(function(e){var t=e.attributes,n=t.elementId,r=t.sticky,i=void 0===r?{}:r,a=t.stickyShowOn,l=t.stickyEase,p=t.stickyPosition,u=t.stickyDuration,d=t.topSticky,y=t.bottomSticky,g=t.sectionVerticalAlign,v=t.cursorEffect,b=t.backgroundAnimated,m=void 0===b?{}:b,h=t.anchor,k=(0,A.isSticky)(i)&&(0,A.isAlignStickyColumn)(g),w=null==n?void 0:n.split("-")[1],j=(0,o.A)((0,o.A)({},"guten-sticky",k),"sticky-".concat(p),k),x=(0,o.A)({},"guten-cursor-effect",null==v?void 0:v.show),O=(0,D.useAnimationAdvanceData)(t),S=(0,D.useAnimationFrontend)(t),E=(0,D.useDisplayFrontend)(t),P=s()("wp-block-gutenverse-column","guten-element","guten-column",n,S,E,j,x,{"background-animated":(0,A.isAnimationActive)(m)}),_=c.useBlockProps.save(pe(pe(pe({className:P},h?{id:h}:{}),O),k&&I()(O)?{"data-id":null==n?void 0:n.split("-")[1]}:{})),B=(0,A.isAnimationActive)(m);return(0,f.jsxs)("div",pe(pe({},_),{},{children:[(0,f.jsx)(T.FluidCanvasSave,{attributes:t}),(k||B)&&(0,f.jsxs)("div",{className:"guten-data",children:[k&&(0,f.jsx)("div",{"data-var":"stickyData".concat(null==n?void 0:n.split("-")[1]),"data-value":JSON.stringify({sticky:i,stickyShowOn:a,stickyPosition:p,stickyEase:l,stickyDuration:u,topSticky:d,bottomSticky:y})}),B&&(0,f.jsx)("div",{"data-var":"bgAnimatedData".concat(w),"data-value":JSON.stringify(pe({},m))})]}),(0,f.jsx)("div",{className:"guten-background-overlay"}),(0,f.jsx)("div",{className:"sticky-wrapper","data-id":w,children:(0,f.jsxs)("div",{className:"guten-column-wrapper",children:[B&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(w)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})})]}))});const de=ue;function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ve=(0,p.compose)((0,u.withAnimationAdvanceScript)("column"),u.withCursorEffectScript,u.withMouseMoveEffectScript)(function(e){var t=e.attributes,n=t.elementId,r=t.sticky,i=void 0===r?{}:r,a=t.stickyShowOn,l=t.stickyEase,p=t.stickyPosition,u=t.stickyDuration,d=t.topSticky,y=t.bottomSticky,g=t.sectionVerticalAlign,v=t.cursorEffect,b=t.backgroundOverlay,m=t.backgroundOverlayHover,h=t.backgroundAnimated,k=void 0===h?{}:h,w=(0,A.isSticky)(i)&&(0,A.isAlignStickyColumn)(g),j=(0,o.A)((0,o.A)({},"guten-sticky",w),"sticky-".concat(p),w),x=(0,o.A)({},"guten-cursor-effect",null==v?void 0:v.show),O=(0,D.useAnimationAdvanceData)(t),S=(0,D.useAnimationFrontend)(t),E=(0,D.useDisplayFrontend)(t),P=s()("guten-element","guten-column",n,S,E,j,x,{"background-animated":(0,A.isAnimationActive)(k)}),_=c.useBlockProps.save(ge(ge({className:P},O),w&&I()(O)?{"data-id":null==n?void 0:n.split("-")[1]}:{})),B=(0,A.isAnimationActive)(k),N=null==n?void 0:n.split("-")[1];return(0,f.jsxs)("div",ge(ge({},_),{},{children:[(0,f.jsx)(T.FluidCanvasSave,{attributes:t}),(w||B)&&(0,f.jsxs)("div",{className:"guten-data",children:[w&&(0,f.jsx)("div",{"data-var":"stickyData".concat(null==n?void 0:n.split("-")[1]),"data-value":JSON.stringify({sticky:i,stickyShowOn:a,stickyPosition:p,stickyEase:l,stickyDuration:u,topSticky:d,bottomSticky:y})}),B&&(0,f.jsx)("div",{"data-var":"bgAnimatedData".concat(N),"data-value":JSON.stringify(ge({},k))})]}),(!I()(b)||!I()(m))&&(0,f.jsx)("div",{className:"guten-background-overlay"}),w?(0,f.jsx)("div",{className:"sticky-wrapper","data-id":null==n?void 0:n.split("-")[1],children:(0,f.jsxs)("div",{className:"guten-column-wrapper",children:[B&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(N)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})}):(0,f.jsxs)("div",{className:"guten-column-wrapper",children:[B&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(N)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})]}))});const be=ve;function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var he=(0,p.compose)((0,u.withAnimationAdvanceScript)("column"),u.withMouseMoveEffectScript,u.withBackgroundEffectScript,u.withCursorEffectScript)(function(e){var t=e.attributes,n=t.elementId,r=t.sticky,i=void 0===r?{}:r,a=t.stickyShowOn,l=t.stickyEase,p=t.stickyPosition,u=t.stickyDuration,d=t.topSticky,y=t.bottomSticky,g=t.sectionVerticalAlign,v=t.cursorEffect,b=t.backgroundOverlay,m=t.backgroundOverlayHover,h=t.backgroundAnimated,k=void 0===h?{}:h,w=t.backgroundEffect,j=void 0===w?{}:w,x=(0,A.isSticky)(i)&&(0,A.isAlignStickyColumn)(g),O=void 0!==j&&"none"!==(null==j?void 0:j.type)&&!I()(j),S=(0,o.A)((0,o.A)({},"guten-sticky",x),"sticky-".concat(p),x),E=(0,o.A)({},"guten-cursor-effect",null==v?void 0:v.show),P=(0,D.useAnimationAdvanceData)(t),_=(0,D.useAnimationFrontend)(t),B=(0,D.useDisplayFrontend)(t),N=s()("guten-element","guten-column",n,_,B,S,E,{"background-animated":(0,A.isAnimationActive)(k),"guten-background-effect-active":O}),C=c.useBlockProps.save(fe(fe({className:N},P),x?{"data-id":null==n?void 0:n.split("-")[1]}:{})),F=(0,A.isAnimationActive)(k),R=null==n?void 0:n.split("-")[1];return(0,f.jsxs)("div",fe(fe({},C),{},{children:[(0,f.jsx)(T.FluidCanvasSave,{attributes:t}),(x||F)&&(0,f.jsxs)("div",{className:"guten-data",children:[x&&(0,f.jsx)("div",{"data-var":"stickyData".concat(null==n?void 0:n.split("-")[1]),"data-value":JSON.stringify({sticky:i,stickyShowOn:a,stickyPosition:p,stickyEase:l,stickyDuration:u,topSticky:d,bottomSticky:y})}),F&&(0,f.jsx)("div",{"data-var":"bgAnimatedData".concat(R),"data-value":JSON.stringify(fe({},k))})]}),(!I()(b)||!I()(m))&&(0,f.jsx)("div",{className:"guten-background-overlay"}),x?(0,f.jsx)("div",{className:"sticky-wrapper","data-id":null==n?void 0:n.split("-")[1],children:(0,f.jsxs)("div",{className:"guten-column-wrapper",children:[O&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),F&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(R)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})}):(0,f.jsxs)("div",{className:"guten-column-wrapper","data-id":null==n?void 0:n.split("-")[1],children:[O&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),F&&(0,f.jsx)("div",{className:"guten-background-animated","data-id":null==n?void 0:n.split("-")[1],children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(R)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})]}))});const ke=he;function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var xe=(0,p.compose)((0,u.withAnimationAdvanceScript)("column"),u.withMouseMoveEffectScript,u.withBackgroundEffectScript,u.withCursorEffectScript)(function(e){var t=e.attributes,n=t.elementId,r=t.sticky,i=void 0===r?{}:r,a=t.stickyShowOn,l=t.stickyEase,p=t.stickyPosition,u=t.stickyDuration,d=t.topSticky,y=t.bottomSticky,g=t.sectionVerticalAlign,v=t.cursorEffect,b=t.backgroundOverlay,m=t.backgroundOverlayHover,h=t.backgroundAnimated,k=void 0===h?{}:h,w=t.backgroundEffect,j=void 0===w?{}:w,x=t.anchor,O=(0,A.isSticky)(i)&&(0,A.isAlignStickyColumn)(g),S=void 0!==j&&"none"!==(null==j?void 0:j.type)&&!I()(j),E=(0,o.A)((0,o.A)({},"guten-sticky",O),"sticky-".concat(p),O),P=(0,o.A)({},"guten-cursor-effect",null==v?void 0:v.show),_=(0,D.useAnimationAdvanceData)(t),B=(0,D.useAnimationFrontend)(t),N=(0,D.useDisplayFrontend)(t),C=s()("guten-element","guten-column",n,B,N,E,P,{"background-animated":(0,A.isAnimationActive)(k),"guten-background-effect-active":S}),F=c.useBlockProps.save(je(je({className:C,id:x},_),O?{"data-id":null==n?void 0:n.split("-")[1]}:{})),R=(0,A.isAnimationActive)(k),H=null==n?void 0:n.split("-")[1];return(0,f.jsxs)("div",je(je({},F),{},{children:[(0,f.jsx)(T.FluidCanvasSave,{attributes:t}),(O||R)&&(0,f.jsxs)("div",{className:"guten-data",children:[O&&(0,f.jsx)("div",{"data-var":"stickyData".concat(null==n?void 0:n.split("-")[1]),"data-value":JSON.stringify({sticky:i,stickyShowOn:a,stickyPosition:p,stickyEase:l,stickyDuration:u,topSticky:d,bottomSticky:y})}),R&&(0,f.jsx)("div",{"data-var":"bgAnimatedData".concat(H),"data-value":JSON.stringify(je({},k))})]}),(!I()(b)||!I()(m))&&(0,f.jsx)("div",{className:"guten-background-overlay"}),O?(0,f.jsx)("div",{className:"sticky-wrapper","data-id":null==n?void 0:n.split("-")[1],children:(0,f.jsxs)("div",{className:"guten-column-wrapper",children:[S&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),R&&(0,f.jsx)("div",{className:"guten-background-animated",children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(H)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})}):(0,f.jsxs)("div",{className:"guten-column-wrapper","data-id":null==n?void 0:n.split("-")[1],children:[S&&(0,f.jsx)("div",{className:"guten-background-effect",children:(0,f.jsx)("div",{className:"inner-background-container"})}),R&&(0,f.jsx)("div",{className:"guten-background-animated","data-id":null==n?void 0:n.split("-")[1],children:(0,f.jsx)("div",{className:"animated-layer animated-".concat(H)})}),(0,f.jsx)(c.InnerBlocks.Content,{})]})]}))});const Oe=xe,Se=JSON.parse('{"sticky":{"type":"object","default":{"Desktop":false}},"stickyPosition":{"type":"string","default":"top"},"topSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}}},"bottomSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}}},"stickyIndex":{"type":"integer","default":99},"stickyBackground":{"type":"object"},"stickyBoxShadow":{"type":"object"}}'),Ae=JSON.parse('{"apiVersion":3,"name":"gutenverse/column","title":"Column","parent":["gutenverse/section"],"description":"Draggable column, to make your experience flawless when resize it.","category":"gutenverse-structure","allowCopyStyle":true,"attributes":{"width":{"type":"object","copyStyle":true},"forceColumnHundred":{"type":"object","copyStyle":true},"nieghborWidth":{"type":"object"},"sticky":{"type":"object","default":{"Desktop":false},"copyStyle":true},"stickyShowOn":{"type":"string","default":"both","copyStyle":true},"stickyEase":{"type":"string","default":"none","copyStyle":true},"stickyPosition":{"type":"string","default":"top","copyStyle":true},"stickyDuration":{"type":"integer","default":0.25,"copyStyle":true},"topSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}},"copyStyle":true},"bottomSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}},"copyStyle":true},"stickyIndex":{"type":"integer","default":99,"copyStyle":true},"stickyBackground":{"type":"object","copyStyle":true},"stickyBoxShadow":{"type":"object","copyStyle":true},"sectionVerticalAlign":{"type":"string","default":"default","copyStyle":true},"elementId":{"type":"string"},"order":{"default":{"Desktop":"1"},"type":"object"},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"backgroundOverlay":{"type":"object","copyStyle":true},"opacity":{"type":"string","copyStyle":true},"backgroundOverlayHover":{"type":"object","copyStyle":true},"backgroundAnimated":{"type":"object","default":{}},"opacityHover":{"type":"string","copyStyle":true},"verticalAlign":{"type":"object","default":{"Desktop":"default"},"copyStyle":true},"horizontalAlign":{"type":"object","default":{"Desktop":"default"},"copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"typographyHeadingColor":{"type":"object","copyStyle":true},"typographyTextColor":{"type":"object","copyStyle":true},"typographyLinkColor":{"type":"object","copyStyle":true},"typographyLinkHoverColor":{"type":"object","copyStyle":true},"typographyTextAlign":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"mouseMoveEffect":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"cursorEffect":{"type":"object"},"backgroundEffect":{"type":"object"},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"blur":{"type":"object","copyStyle":true},"blurHover":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"pointer":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"anchor":true,"reusable":false,"html":false},"keywords":["container","column","wrapper","structure"],"style":["gutenverse-core-frontend-column-style"]}');function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Pe=Ae.name,_e=Ae.attributes,Be={icon:(0,f.jsx)(N.IconColumnSVG,{}),usesContext:["gutenverse/sectionVerticalAlign"],edit:K,save:ee,deprecated:[{attributes:_e,save:Oe},{attributes:_e,save:ke},{attributes:_e,save:be},{attributes:De(De({},_e),{},{anchor:{type:"string",source:"attribute",selector:".wp-block-gutenverse-column",attribute:"id",default:void 0}}),save:de},{attributes:De(De({},_e),Se),save:le},{attributes:_e,save:re}]}},7477(e,t,n){var o=n(2273)["__core-js_shared__"];e.exports=o},7501(e,t,n){"use strict";n.r(t),n.d(t,{dataStore:()=>l.dataStore});var o=n(4411),r=n(4997),i=n(2619),a=n(1222),c=n(5255);const l=gutenverseCore.store;function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u;(0,i.doAction)("gutenverse.before.register.block"),(u=n(1367)).keys().forEach(function(e){var t,n=u(e),o=n.settings,i=n.metadata,l=n.name;l&&(0,c.updateBlockList)({name:l,settings:o,metadata:i}),null!==(t=window)&&void 0!==t&&t.GutenverseConfig&&l&&!(0,r.getBlockType)(l)&&(0,a.isBlockActive)(l)&&(0,r.registerBlockType)(l,p(p({},o),i))}),(0,i.doAction)("gutenverse.after.register.block")},7584(e,t,n){var o=n(4714),r=n(2750),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return r(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=l},7723(e){"use strict";e.exports=window.wp.i18n},7957(e){var t=Array.isArray;e.exports=t},7958(e,t,n){var o=n(6659)(Object.keys,Object);e.exports=o},8036(e,t,n){var o=n(613),r=n(7335),i=n(4082),a=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):i(e)}},8716(e,t,n){var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},8889(e,t,n){"use strict";n.r(t),n.d(t,{metadata:()=>yt,name:()=>bt,settings:()=>ft});var o=n(4411),r=n(6087),i=n(4715),a=n(9866),c=n(7723),l=n(1609),s=n.n(l),p=n(3108),u=n.n(p);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(this,arguments)}var y=(0,l.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,r=e.size,i=void 0===r?24:r,a=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["color","size"]);return s().createElement("svg",d({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),s().createElement("polyline",{points:"15 18 9 12 15 6"}))});y.propTypes={color:u().string,size:u().oneOfType([u().string,u().number])},y.displayName="ChevronLeft";const g=y;var v=[["gutenverse/column",{width:{Desktop:100}}]],b=[["gutenverse/column",{width:{Desktop:50}}],["gutenverse/column",{width:{Desktop:50}}]],m=[["gutenverse/column",{width:{Desktop:66.66}}],["gutenverse/column",{width:{Desktop:33.33}}]],f=[["gutenverse/column",{width:{Desktop:33.33}}],["gutenverse/column",{width:{Desktop:66.66}}]],h=[["gutenverse/column",{width:{Desktop:33.33}}],["gutenverse/column",{width:{Desktop:33.33}}],["gutenverse/column",{width:{Desktop:33.33}}]],k=[["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:50}}]],w=[["gutenverse/column",{width:{Desktop:50}}],["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:25}}]],j=[["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:50}}],["gutenverse/column",{width:{Desktop:25}}]],x=[["gutenverse/column",{width:{Desktop:17}}],["gutenverse/column",{width:{Desktop:66}}],["gutenverse/column",{width:{Desktop:17}}]],O=[["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:25}}],["gutenverse/column",{width:{Desktop:25}}]],S=[["gutenverse/column",{width:{Desktop:20}}],["gutenverse/column",{width:{Desktop:20}}],["gutenverse/column",{width:{Desktop:20}}],["gutenverse/column",{width:{Desktop:20}}],["gutenverse/column",{width:{Desktop:20}}]],A=n(790),E=function(e){var t=e.onClick,n=e.data,o=(0,r.useMemo)(function(){return null==n?void 0:n.map(function(e,t){return(0,A.jsx)("div",{className:"column-icon col-".concat(e)},t)})},[n]);return(0,A.jsx)("li",{className:"section-variation-picker-item",children:(0,A.jsx)("div",{className:"section-variation-picker-item-button",onClick:t,children:o})})},D=function(e){var t,n=e.onSelect,o=(0,r.useState)(0),i=(0,a.A)(o,2),l=i[0],s=i[1],p=(0,A.jsx)("div",{className:"reset-column",onClick:function(){return s(0)},children:(0,A.jsxs)("span",{children:[(0,A.jsx)(g,{height:18,width:12})," ",(0,c.__)("Back","gutenverse-form")]})});return 0===l?t=(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("h3",{className:"select-column-variation",children:(0,c.__)("Select Column","gutenverse-form")}),(0,A.jsxs)("ul",{className:"section-variation-picker-list","aria-label":(0,c.__)("Section variations","gutenverse-form"),children:[(0,A.jsx)(E,{onClick:function(){return n(v)},data:["100"],label:(0,c.__)("1 Column","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return s(2)},data:["50","50"],label:(0,c.__)("2 Column","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return s(3)},data:["33","33","33"],label:(0,c.__)("3 Column","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(O)},data:["25","25","25","25"],label:(0,c.__)("4 Column","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(S)},data:["20","20","20","20","20"],label:(0,c.__)("5 Column","gutenverse-form")})]})]}):2===l?t=(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("h3",{className:"select-column-variation",children:(0,c.__)(" 2 Column","gutenverse-form")}),(0,A.jsxs)("ul",{className:"section-variation-picker-list","aria-label":(0,c.__)("Section variations","gutenverse-form"),children:[(0,A.jsx)(E,{onClick:function(){return n(b)},data:["50","50"],label:(0,c.__)("50 / 50","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(m)},data:["66","33"],label:(0,c.__)("66 / 33","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(f)},data:["33","66"],label:(0,c.__)("33 / 66","gutenverse-form")})]}),p]}):3===l&&(t=(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("h3",{className:"select-column-variation",children:(0,c.__)(" 3 Column","gutenverse-form")}),(0,A.jsxs)("ul",{className:"section-variation-picker-list","aria-label":(0,c.__)("Section variations","gutenverse-form"),children:[(0,A.jsx)(E,{onClick:function(){return n(h)},data:["33","33","33"],label:(0,c.__)("33 / 33 / 33","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(k)},data:["25","25","50"],label:(0,c.__)("25 / 25 / 50","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(j)},data:["25","50","25"],label:(0,c.__)("25 / 50 / 25","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(w)},data:["50","25","25"],label:(0,c.__)("50 / 25 / 25","gutenverse-form")}),(0,A.jsx)(E,{onClick:function(){return n(x)},data:["17","66","17"],label:(0,c.__)("17 / 66 / 17","gutenverse-form")})]}),p]})),(0,A.jsx)("div",{className:"column-picker",children:t})};const P=function(e){var t=e.onSelect,n=e.wrapper;return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:n,children:(0,A.jsx)("div",{className:"section-variation-picker-choose  section-variation-picker-container",children:(0,A.jsx)(D,{onSelect:t})})})})};var _=n(4997),B=n(3698),N=n.n(B),T=n(6427);const C=window.wp.primitives,I=(0,l.createElement)(C.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(C.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})),F=(0,l.createElement)(C.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(C.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"}));function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var M={fullwidth:{icon:I,title:(0,c.__)("Fullwidth Section","gutenverse-form")},boxed:{icon:F,title:(0,c.__)("Normal Width Section","gutenverse-form")}},z=["fullwidth","boxed"];const V=function(e){var t=e.value,n=e.onChange,o=e.controls,r=void 0===o?z:o,i=e.isCollapsed,a=void 0===i||i,l=M[t],s=M.boxed;return(0,A.jsx)(T.ToolbarGroup,{popoverProps:{isAlternate:!0},isCollapsed:a,icon:l?l.icon:s.icon,label:(0,c.__)("Change section width","gutenverse-form"),controls:r.map(function(e){return H(H({},M[e]),{},{isActive:t===e,role:a?"menuitemradio":void 0,onClick:(o=e,function(){return n(t===o?void 0:o)})});var o})})};var L=n(2188),W=n(9491),J=n(7040),G=n(596),q=n(5255),U=function(e){var t=e.elementId,n=e.layout,o=e.heightControl,r=e.overflow,i=e.wrapColumn,a=(0,q.getDeviceType)();return[{id:"layout",label:(0,c.__)("Content Width","gutenverse-form"),component:G.SelectControl,options:[{value:"fullwidth",label:(0,c.__)("Fullwidth Section","gutenverse-form")},{value:"boxed",label:(0,c.__)("Normal Width Section","gutenverse-form")}]},{id:"width",label:(0,c.__)("Container Width","gutenverse-form"),show:"boxed"===n,component:G.RangeControl,min:500,max:1600,allowDeviceControl:!0,liveUpdate:!0,unit:"px",liveStyle:[{type:"plain",id:"width",responsive:!0,selector:"section.guten-section.".concat(t,".layout-boxed > .guten-container"),properties:[{name:"max-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"wrapColumn",label:(0,c.__)("Wrap Column 100%","gutenverse-form"),description:(0,c.__)("This option only show if you have set the value in old version of the section.","gutenverse-form"),allowDeviceControl:!0,component:G.CheckboxControl,show:i[a]},{id:"gap",label:(0,c.__)("Column Gap","gutenverse-form"),component:G.SelectControl,options:[{label:(0,c.__)("Default","gutenverse-form"),value:"default"},{label:(0,c.__)("No gap","gutenverse-form"),value:"no"},{label:(0,c.__)("Narrow","gutenverse-form"),value:"narrow"},{label:(0,c.__)("Extended","gutenverse-form"),value:"extended"},{label:(0,c.__)("Wide","gutenverse-form"),value:"wide"},{label:(0,c.__)("Wider","gutenverse-form"),value:"wider"}]},{id:"heightControl",label:(0,c.__)("Height","gutenverse-form"),component:G.SelectControl,options:[{label:(0,c.__)("Default","gutenverse-form"),value:"default"},{label:(0,c.__)("Minimum Height","gutenverse-form"),value:"min"},{label:(0,c.__)("Fit Screen","gutenverse-form"),value:"fit"}]},{id:"height",label:(0,c.__)("Minimum Height","gutenverse-form"),show:"min"===o,component:G.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:58,max:1440,step:1},vh:{text:"vh",min:5,max:100,step:1},vw:{text:"vw",min:5,max:100,step:1}}},{id:"align",label:(0,c.__)("Column Position","gutenverse-form"),show:["fit","min"].includes(o),component:G.SelectControl,options:[{label:(0,c.__)("Stretch","gutenverse-form"),value:"stretch"},{label:(0,c.__)("Top","gutenverse-form"),value:"top"},{label:(0,c.__)("Middle","gutenverse-form"),value:"middle"},{label:(0,c.__)("Bottom","gutenverse-form"),value:"bottom"}]},{id:"verticalAlign",label:(0,c.__)("Vertical Align","gutenverse-form"),component:G.SelectControl,options:[{label:(0,c.__)("Default","gutenverse-form"),value:"default"},{label:(0,c.__)("Top","gutenverse-form"),value:"flex-start"},{label:(0,c.__)("Middle","gutenverse-form"),value:"center"},{label:(0,c.__)("Bottom","gutenverse-form"),value:"flex-end"},{label:(0,c.__)("Space Between","gutenverse-form"),value:"space-between"},{label:(0,c.__)("Space Around","gutenverse-form"),value:"space-around"},{label:(0,c.__)("Space Evenly","gutenverse-form"),value:"space-evenly"}]},{id:"overflow",label:(0,c.__)("Overflow","gutenverse-form"),description:"clip"===r&&(0,c.__)('"overflow:clip" May not work on safari',"gutenverse-form"),component:G.SelectControl,options:[{label:(0,c.__)("Default","gutenverse-form"),value:"none"},{label:(0,c.__)("Hidden","gutenverse-form"),value:"hidden"},{label:(0,c.__)("Auto","gutenverse-form"),value:"auto"},{label:(0,c.__)("Clip","gutenverse-form"),value:"clip"}]},{id:"clipMargin",label:(0,c.__)("Overflow Clip Margin","gutenverse-form"),show:"clip"===r,component:G.SizeControl,description:(0,c.__)('The "clip margin" sets the boundaries where the overflow is hidden.',"gutenverse-form"),units:{px:{text:"px",min:0,max:100,step:1}},allowDeviceControl:!0}]},Z=n(7143),$=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"221",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),K=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"104",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"137.5",y:"20.5",width:"104",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),Q=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"155",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"188.5",y:"20.5",width:"53",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),Y=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"155",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 242 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"53",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 74 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),X=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"65",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"176.5",y:"20.5",width:"65",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"98.5",y:"20.5",width:"65",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),ee=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"40",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"73.5",y:"20.5",width:"40",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"126.5",y:"20.5",width:"115",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),te=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"-0.5",y:"0.5",width:"261",height:"139",rx:"7.5",transform:"matrix(-1 0 0 1 261 0)",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"40",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 242 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"40",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 189 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"115",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 136 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),ne=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"-0.5",y:"0.5",width:"261",height:"139",rx:"7.5",transform:"matrix(-1 0 0 1 261 0)",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"30",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 242 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"30",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 51 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"0.5",y:"-0.5",width:"135",height:"99",rx:"5.5",transform:"matrix(-1 0 0 1 199 21)",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),oe=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"40",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"201.5",y:"20.5",width:"40",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"73.5",y:"20.5",width:"115",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),re=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"45",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"78.5",y:"20.5",width:"45",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"196.5",y:"20.5",width:"45",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"137.5",y:"20.5",width:"45",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),ie=(0,A.jsxs)("svg",{width:"262",height:"140",viewBox:"0 0 262 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,A.jsx)("rect",{x:"0.5",y:"0.5",width:"261",height:"139",rx:"7.5",stroke:"#BDBEBF"}),(0,A.jsx)("rect",{x:"20.5",y:"20.5",width:"34",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"67.5",y:"20.5",width:"34",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"207.5",y:"20.5",width:"34",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"114.5",y:"20.5",width:"34",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"}),(0,A.jsx)("rect",{x:"160.5",y:"20.5",width:"34",height:"99",rx:"5.5",fill:"#E0E3E9",stroke:"#BDBEBF",strokeDasharray:"2.5 2.5"})]}),ae=function(e){var t=e.clientId,n=(0,Z.select)("core/block-editor").getBlocks(t);return n.length?[{id:"variation",component:G.ImageRadioControl,options:function(){switch(n.length){case 1:return[{image:$,value:v}];case 2:return[{image:K,value:b},{image:Q,value:m},{image:Y,value:f}];case 3:return[{image:X,value:h},{image:ee,value:k},{image:oe,value:j},{image:te,value:w},{image:ne,value:x}];case 4:return[{image:re,value:O}];case 5:return[{image:ie,value:S}];default:return[]}}(),onChange:function(e){var n=e.variation,o=void 0===n?[]:n,r=(0,Z.select)("core/block-editor").getBlocks(t);(null==r?void 0:r.length)&&o.forEach(function(e,t){(0,Z.dispatch)("core/block-editor").updateBlockAttributes(r[t].clientId,e[1])})}}]:[{id:"empty-structure",component:G.AlertControl,children:(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("span",{children:(0,c.__)("Please Select Column for your Section.","gutenverse-form")})})}]};function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var se=function(e){var t=e.elementId,n=e.switcher,o=e.setSwitcher;return[{id:"__shapeLocation",component:G.SwitchControl,options:[{value:"top",label:"Top"},{value:"bottom",label:"Bottom"}],onChange:function(e){var t=e.__shapeLocation;return o(le(le({},n),{},{location:t}))}},{id:"topDivider",show:!n.location||"top"===n.location,component:G.DividerControl,liveStyle:[{type:"shapeDivider",id:"topDivider",selector:"section.guten-section.".concat(t," .guten-shape-divider.guten-shape-divider-top svg, section.guten-section.").concat(t," .guten-shape-divider.guten-shape-divider-top .guten-shape-fill path")}]},{id:"bottomDivider",show:"bottom"===n.location,component:G.DividerControl,liveStyle:[{type:"shapeDivider",id:"bottomDivider",selector:"section.guten-section.".concat(t," .guten-shape-divider.guten-shape-divider-bottom svg, section.guten-section.").concat(t," .guten-shape-divider.guten-shape-divider-bottom .guten-shape-fill path")}]}]},pe=n(2619),ue=function(e){var t=[{component:G.LockedProStickyControl}];return(0,pe.applyFilters)("gutenverse.section.sticky",t,e)},de=function(e){return(0,pe.applyFilters)("gutenverse.section.divider-animated.options",[{component:G.LockedProDividerControl}],e)};function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ve=function(e){var t=e.elementId,n=e.switcher,o=e.setSwitcher;return[{id:"blur-notice",component:G.AlertControl,children:(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("span",{children:(0,c.__)("This option will blur background and anything behind this element")})})},{id:"__blurHover",component:G.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__blurHover;return o(ge(ge({},n),{},{state:t}))}},{id:"blur",label:(0,c.__)("Blur","gutenverse-form"),show:!n.state||"normal"===n.state,component:G.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"blur",responsive:!0,selector:"section.guten-section.".concat(t,":before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]},{id:"blurHover",label:(0,c.__)("Blur Hover","gutenverse-form"),show:"hover"===n.state,component:G.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"blurHover",responsive:!0,selector:"section.guten-section.".concat(t,":hover::before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]}]};function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var fe=function(){return[{title:(0,c.__)("Layouts","gutenverse-form"),panelArray:U,tabRole:G.TabSetting},{title:(0,c.__)("Structure","gutenverse-form"),initialOpen:!1,panelArray:ae,id:"structure",tabRole:G.TabSetting},{title:(0,c.__)("Sticky","gutenverse-form"),initialOpen:!1,panelArray:ue,pro:!0},{title:(0,c.__)("Cursor Effect","gutenverse-form"),initialOpen:!1,panelArray:G.cursorEffectPanel,tabRole:G.TabSetting,pro:!0},{title:(0,c.__)("Background Effect","gutenverse-form"),initialOpen:!1,panelArray:G.backgroundEffectPanel,tabRole:G.TabSetting,pro:!0},{title:(0,c.__)("Background Animated","gutenverse-form"),initialOpen:!1,panelArray:G.backgroundAnimatedPanel,pro:!0},{title:(0,c.__)("Shape Divider","gutenverse-form"),initialOpen:!1,panelArray:se,tabRole:G.TabSetting},{title:(0,c.__)("Shape Divider Animated","gutenverse-form"),initialOpen:!1,panelArray:de,pro:!0},{title:(0,c.__)("Display","gutenverse-form"),initialOpen:!1,panelArray:G.responsivePanel,tabRole:G.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,G.animationPanel)(me(me({},e),{},{styleId:"section-animation"}))},tabRole:G.TabSetting},{title:(0,c.__)("Transform","gutenverse-form"),initialOpen:!1,panelArray:G.transformPanel,tabRole:G.TabSetting,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse-form"),initialOpen:!1,panelArray:G.mouseMoveEffectPanel,tabRole:G.TabSetting,pro:!0},{title:(0,c.__)("Advanced Animation","gutenverse-form"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,G.advanceAnimationPanel)(me(me({},e),{},{blockType:"section"}))},pro:!0},{title:(0,c.__)("Positioning","gutenverse-form"),initialOpen:!1,panelArray:G.positioningPanel,tabRole:G.TabSetting},{title:(0,c.__)("Spacing","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,G.advancePanel)(me(me({},e),{},{styleId:"section-advance"}))},tabRole:G.TabSetting},{title:(0,c.__)("Condition","gutenverse-form"),panelArray:G.conditionPanel,initialOpen:!1,pro:!0},{title:(0,c.__)("Background","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,G.backgroundPanel)(me(me({},e),{},{blockType:"section",normalOptions:["default","gradient","video","fluid","slide"],hoverOptions:["default","gradient"]}))},tabRole:G.TabStyle},{title:(0,c.__)("Background Overlay","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,G.backgroundOverlayPanel)(me(me({},e),{},{normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:G.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:G.borderPanel,tabRole:G.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:G.maskPanel,tabRole:G.TabStyle},{title:(0,c.__)("Blur","gutenverse-form"),initialOpen:!1,panelArray:ve,tabRole:G.TabStyle},{title:(0,c.__)("Pointer Event","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,G.pointerEventPanel)(me(me({},e),{},{selector:".section-".concat(e.elementId)}))},tabRole:G.TabStyle},{title:(0,c.__)("Typography","gutenverse-form"),initialOpen:!1,panelArray:function(e){return(0,G.typographyPanel)(me(me({},e),{},{styleId:"section-typography"}))},tabRole:G.TabStyle}]},he=n(4320),ke=function(e){var t=e.attributes,n=t.topDivider,o=t.elementId,r=n.type,i=n.flip,a=n.front,c=n.invert,l=n.colorMode,s=n.gradientColor,p=n.gradientAngle,u=n.gradientColor2,d=n.gradientAngle2,y=n.gradientColor3,g=n.gradientAngle3,v="",b=N()("guten-shape-divider","guten-shape-divider-top",{"guten-shape-flip":i,"guten-shape-zindex":a});return r&&"none"!==r&&(v=(0,he.shapeDividerLoader)({id:"divider-top-".concat(o),type:r,invert:c,gradient:"gradient"===l,gradientColor:s,gradientAngle:p,gradientColor2:u,gradientAngle2:d,gradientColor3:y,gradientAngle3:g})),(0,A.jsx)("div",{className:b,children:v})},we=function(e){var t=e.attributes,n=t.bottomDivider,o=t.elementId,r=n.type,i=n.flip,a=n.front,c=n.invert,l=n.colorMode,s=n.gradientColor,p=n.gradientAngle,u=n.gradientColor2,d=n.gradientAngle2,y=n.gradientColor3,g=n.gradientAngle3,v="",b=N()("guten-shape-divider","guten-shape-divider-bottom",{"guten-shape-flip":i,"guten-shape-zindex":a});return r&&"none"!==r&&(v=(0,he.shapeDividerLoader)({id:"divider-bottom-".concat(o),type:r,invert:c,gradient:"gradient"===l,gradientColor:s,gradientAngle:p,gradientColor2:u,gradientAngle2:d,gradientColor3:y,gradientAngle3:g})),(0,A.jsx)("div",{className:b,children:v})};function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Oe=function(e){var t=e.attributes;return(0,pe.applyFilters)("gutenverse.section.divider-animated",(0,A.jsx)(A.Fragment,{}),xe(xe({},t),{},{location:"top"}))},Se=function(e){var t=e.attributes;return(0,pe.applyFilters)("gutenverse.section.divider-animated",(0,A.jsx)(A.Fragment,{}),xe(xe({},t),{},{location:"bottom"}))},Ae=function(e){var t=e.attributes.topDividerAnimated,n=t.flip,o=t.front,r=N()("guten-shape-divider-animated","guten-shape-divider-animated-top",{"guten-shape-flip":n,"guten-shape-zindex":o});return(0,A.jsx)("div",{className:r})},Ee=function(e){var t=e.attributes.bottomDividerAnimated,n=t.flip,o=t.front,r=N()("guten-shape-divider-animated","guten-shape-divider-animated-bottom",{"guten-shape-flip":n,"guten-shape-zindex":o});return(0,A.jsx)("div",{className:r})},De=n(6826),Pe=n(1222),_e=n(6504),Be=n(3482),Ne=n(3757),Te=n.n(Ne),Ce=n(4544),Ie=n(3356);const Fe=function(e,t){var n=[];n=(0,G.backgroundStyle)({attributes:t,data:n,backgroundSelector:".".concat(e,":not(.background-animated), .").concat(e,".background-animated > .guten-background-animated .animated-layer"),backgroundHoverSelector:".".concat(e,":not(.background-animated):hover, .").concat(e,".background-animated:hover > .guten-background-animated .animated-layer")});var o=(0,q.getDeviceType)();return(0,Pe.isNotEmpty)(t.width)&&n.push({type:"plain",id:"width",responsive:!0,selector:"section.guten-section.".concat(e,".layout-boxed > .guten-container"),properties:[{name:"max-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,Pe.isNotEmpty)(t.heightControl)&&"fit"===t.heightControl&&n.push({type:"plain",id:"heightControl",selector:".".concat(e),properties:[{name:"height",valueType:"pattern",pattern:"100vh"}]}),(0,Pe.isNotEmpty)(t.heightControl)&&"fit"===t.heightControl&&n.push({type:"plain",id:"heightControl",selector:".".concat(e," > .guten-container"),properties:[{name:"height",valueType:"pattern",pattern:"100%"}]}),(0,Pe.isNotEmpty)(t.heightControl)&&"min"===t.heightControl&&n.push({type:"unitPoint",id:"height",responsive:!0,selector:".".concat(e," > .guten-container"),properties:[{name:"min-height",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.verticalAlign)&&"default"!==t.verticalAlign&&n.push({type:"plain",id:"verticalAlign",selector:(0,Pe.isNotEmpty)(t.align)&&"stretch"===t.align?"section.guten-element.".concat(e," > .guten-container > .guten-column > .guten-column-resizeable > .sticky-wrapper > .guten-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout"):"section.guten-element.".concat(e," > .guten-container"),properties:[{name:"align-content",valueType:"direct"},{name:"align-items",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.wrapColumn)&&t.wrapColumn[o]&&n.push({type:"plain",id:"wrapColumn",selector:".".concat(e," > .guten-container"),properties:[{name:"flex-wrap",valueType:"pattern",pattern:"wrap"}]},{type:"plain",id:"wrapColumn",selector:".".concat(e," > .guten-container > .guten-column"),properties:[{name:"width",valueType:"pattern",pattern:"100%"}]}),(0,Pe.isNotEmpty)(t.clipMargin)&&(0,Pe.isNotEmpty)(t.overflow)&&"clip"===t.overflow&&n.push({type:"unitPoint",id:"clipMargin",responsive:!0,selector:"section.guten-section.".concat(e),properties:[{name:"overflow-clip-margin",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.blur)&&n.push({type:"plain",id:"blur",responsive:!0,selector:"section.guten-section.".concat(e,":before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,Pe.isNotEmpty)(t.blurHover)&&n.push({type:"plain",id:"blurHover",responsive:!0,selector:"section.guten-section.".concat(e,":hover::before"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,Pe.isNotEmpty)(t.pointer)&&n.push({type:"pointerEvent",id:"pointer",selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),responsive:!0}),(0,Pe.isNotEmpty)(t.topDivider)&&n.push({type:"shapeDivider",id:"topDivider",selector:"section.guten-section.".concat(e," .guten-shape-divider.guten-shape-divider-top svg, section.guten-section.").concat(e," .guten-shape-divider.guten-shape-divider-top .guten-shape-fill path")}),(0,Pe.isNotEmpty)(t.bottomDivider)&&n.push({type:"shapeDivider",id:"bottomDivider",selector:"section.guten-section.".concat(e," .guten-shape-divider.guten-shape-divider-bottom svg, section.guten-section.").concat(e," .guten-shape-divider.guten-shape-divider-bottom .guten-shape-fill path")}),(0,Pe.isNotEmpty)(t.backgroundOverlay)&&n.push({type:"background",id:"backgroundOverlay",selector:".".concat(e," > .guten-background-overlay")}),(0,Pe.isNotEmpty)(t.backgroundOverlayHover)&&n.push({type:"background",id:"backgroundOverlayHover",selector:".".concat(e,":hover > .guten-background-overlay")}),(0,Pe.isNotEmpty)(t.opacity)&&n.push({type:"plain",id:"opacity",selector:".".concat(e," > .guten-background-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.opacityHover)&&n.push({type:"plain",id:"opacityHover",selector:".".concat(e,":hover > .guten-background-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.border)&&n.push({type:"border",id:"border",selector:".".concat(e)}),(0,Pe.isNotEmpty)(t.borderHover)&&n.push({type:"border",id:"borderHover",selector:".".concat(e,":hover")}),(0,Pe.isNotEmpty)(t.borderResponsive)&&n.push({type:"borderResponsive",id:"borderResponsive",selector:".".concat(e)}),(0,Pe.isNotEmpty)(t.borderResponsiveHover)&&n.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".".concat(e,":hover")}),(0,Pe.isNotEmpty)(t.boxShadow)&&n.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e)}),(0,Pe.isNotEmpty)(t.boxShadowHover)&&n.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,":hover")}),(0,Pe.isNotEmpty)(t.mask)&&n.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,Pe.isNotEmpty)(t.padding)&&n.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,Pe.isNotEmpty)(t.margin)&&n.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,Pe.isNotEmpty)(t.zIndex)&&n.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,Pe.isNotEmpty)(t.animation)&&(0,Pe.isNotEmpty)(t.animation.delay)&&n.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container  .".concat(e),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,Pe.isNotEmpty)(t.typographyHeadingColor)&&n.push({type:"color",id:"typographyHeadingColor",selector:".".concat(e," .wp-block-gutenverse-heading"),properties:[{name:"color",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.typographyTextColor)&&n.push({type:"color",id:"typographyTextColor",selector:".".concat(e),properties:[{name:"color",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.typographyLinkColor)&&n.push({type:"color",id:"typographyLinkColor",selector:".".concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.typographyLinkHoverColor)&&n.push({type:"color",id:"typographyLinkHoverColor",selector:".".concat(e," a:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,Pe.isNotEmpty)(t.typographyTextAlign)&&n.push({type:"color",id:"typographyTextAlign",selector:".".concat(e),properties:[{name:"text-align",valueType:"pattern",pattern:"{value}",patternValues:{value:{type:"direct"}}}]}),(0,Pe.isNotEmpty)(t.positioningType)&&n.push({type:"positioning",id:"positioningType",selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,Pe.isNotEmpty)(t.positioningType)&&(0,Pe.isNotEmpty)(t.positioningWidth)&&n.push({type:"positioning",id:"positioningType",selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,Pe.isNotEmpty)(t.positioningWidth)&&(0,Pe.isNotEmpty)(t.positioningType)&&n.push({type:"positioning",id:"positioningWidth",selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,Pe.isNotEmpty)(t.positioningAlign)&&n.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]')},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]')}),(0,Pe.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&n.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]')}),(0,Pe.isNotEmpty)(t.positioningLeft)&&(0,Pe.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&n.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),attributeType:"custom"}),(0,Pe.isNotEmpty)(t.positioningRight)&&(0,Pe.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&n.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),attributeType:"custom"}),(0,Pe.isNotEmpty)(t.positioningTop)&&(0,Pe.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&n.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),attributeType:"custom"}),(0,Pe.isNotEmpty)(t.positioningBottom)&&(0,Pe.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&n.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:'.section-wrapper[data-id="'.concat(null==e?void 0:e.split("-")[1],'"]'),attributeType:"custom"}),[].concat((0,Ie.A)(n),(0,Ie.A)((0,pe.applyFilters)("gutenverse.section.blockStyle",[],{elementId:e,attributes:t})))};function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Me=function(e){var t,n=e.clientId,o=e.name,a=e.wrapper,c=(0,Z.useSelect)(function(e){return e("core/blocks")},[]).getBlockType,l=(0,Z.dispatch)("core/block-editor").replaceInnerBlocks,s=c(o),p=(0,r.useCallback)(function(e){var t=(0,_.createBlocksFromInnerBlocksTemplate)(JSON.parse(JSON.stringify(e)));l(n,t,!0)},[n]);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(P,{icon:null==s||null===(t=s.icon)||void 0===t?void 0:t.src,label:null==s?void 0:s.title,blockId:n,wrapper:a,onSelect:p}),(0,A.jsx)("div",{style:{display:"none"},children:(0,A.jsx)(i.InnerBlocks,{})})]})},ze=function(e){var t=e.attributes,n=e.containerRef,r=t.gap,a=t.topDivider,c=t.bottomDivider,l=t.topDividerAnimated,s=t.bottomDividerAnimated,p=(0,i.useInnerBlocksProps)({className:N()("guten-container",(0,o.A)({},"guten-column-gap-".concat(r),!0)),ref:n},{orientation:"horizontal",renderAppender:!1,allowedBlocks:["gutenverse/column"]});return(0,A.jsxs)(A.Fragment,{children:[a&&(0,A.jsx)(ke,He({},e)),c&&(0,A.jsx)(we,He({},e)),!(0,q.isEmptyValue)(l)&&"none"!==l.type&&(0,A.jsx)(Oe,He({},e)),!(0,q.isEmptyValue)(s)&&"none"!==s.type&&(0,A.jsx)(Se,He({},e)),(0,A.jsx)("div",He({},p))]})},Ve=function(e){var t=e.clientId,n=e.panelProps,o=e.isSelected,r=e.attributes,i=e.setAttributes,a=e.elementRef,c=He(He(He({},n),r),{},{clientId:t,setAttributes:i});return(0,A.jsx)(G.PanelController,He({panelList:fe,panelProps:c,isSelected:o,elementRef:a},e))},Le=function(e){var t=e.clientId,n=(0,Z.dispatch)("core/block-editor").insertBlock,o=(0,Z.useSelect)(function(e){return e("core/block-editor")},[]).getBlocks;return(0,A.jsx)(T.ToolbarButton,{name:"add-column",icon:(0,A.jsx)(_e.IconToolbarColumnAddSVG,{}),title:(0,c.__)("Add Column","gutenverse-form"),onClick:function(){return e=(0,_.createBlock)("gutenverse/column",{width:{Desktop:(0,Ce.uH)(100/(o(t).length+1),1)}}),void n(e,o(t).length+1,t);var e}})},We=function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,r=t.layout;return(0,A.jsx)(i.BlockControls,{children:(0,A.jsxs)(T.ToolbarGroup,{children:[(0,A.jsx)(V,{onChange:function(e){n({layout:e})},value:r}),(0,A.jsx)(Le,{clientId:o})]})})},Je=(0,W.compose)(L.withPartialRender,L.withPassRef,(0,L.withAnimationStickyV2)(),(0,L.withAnimationAdvanceV2)("section"),(0,L.withAnimationBackgroundV2)(),L.withMouseMoveEffect,L.withBackgroundSlideshow,(0,L.withBackgroundEffect)("section"),L.withCursorEffect)(function(e){var t,n,a=(0,Z.useSelect)(function(e){return e("core/block-editor")},[]).getBlocks,c=e.clientId,l=e.attributes,s=e.slideElement,p=e.setBlockRef,u=l.elementId,d=l.layout,y=l.align,g=l.overflow,v=l.sticky,b=void 0===v?{}:v,m=l.stickyPosition,f=l.backgroundAnimated,h=void 0===f?{}:f,k=l.cursorEffect,w=l.backgroundEffect,j=l.background,x=l.backgroundOverlay,O=(0,r.useRef)();(0,he.useGenerateElementId)(c,u,O),(0,he.useDynamicStyle)(u,l,Fe,O),(0,he.useDynamicScript)(O);var S=((window.GutenverseConfig.settingsData||{}).template_page||{}).inherit_layout,E=(0,De.useAnimationEditor)(l),D=(0,De.useDisplayEditor)(l),P=a(c).length,_=(0,r.useRef)(),B=(0,r.useRef)(),T=void 0!==w&&"none"!==(null==w?void 0:w.type)&&!Te()(w),C=(0,i.useBlockProps)({className:N()("guten-element","guten-section",u,E,D,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"section-variation-picker":!P,"background-animated":(0,Pe.isAnimationActive)(h)},"layout-".concat(d),d),"align-".concat(y),y),"overflow-".concat(g),g&&"none"!==g),"guten-sticky",(0,Pe.isSticky)(b)),"sticky-".concat(m),(0,Pe.isSticky)(b)),"guten-background-effect-active",T)),ref:O});(0,r.useEffect)(function(){O&&p(O)},[O]);var I=He(He({},e),{},{wrapper:"guten-container",containerRef:B}),F=P?ze:Me,R=u?u.split("-")[1]:"";return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(Be.CopyElementToolbar,He({},e)),(0,A.jsx)(We,He(He({},e),{},{clientId:c})),(0,A.jsx)(Ve,He(He({},e),{},{elementRef:O})),(0,A.jsx)("div",{id:R,className:"guten-section-wrapper section-wrapper section-".concat(u," sticky-").concat(m," ").concat(S?"inherit-layout":""," ").concat(null!=k&&k.show?"guten-cursor-effect":""),ref:_,"data-id":R,children:(0,A.jsxs)("section",He(He({},C),{},{id:l.anchor,children:[!(0,Pe.isAnimationActive)(h)&&(null==j||null===(t=j.slideImage)||void 0===t?void 0:t.length)>0&&s,T&&(0,A.jsx)("div",{className:"guten-background-effect",children:(0,A.jsx)("div",{className:"inner-background-container"})}),(0,A.jsx)(Be.FluidCanvas,{attributes:l}),(0,Pe.isAnimationActive)(h)&&(0,A.jsx)("div",{className:"guten-background-animated",children:(0,A.jsx)("div",{className:"animated-layer animated-".concat(R),children:(null==j||null===(n=j.slideImage)||void 0===n?void 0:n.length)>0&&s})}),(0,A.jsx)(J.A,He({},e)),!Te()(x)&&(0,A.jsx)("div",{className:"guten-background-overlay"}),(0,A.jsx)(F,He({},I))]}))})]})});const Ge=Je;function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ze=(0,W.compose)((0,L.withAnimationAdvanceScript)("section"),L.withVideoBackground,L.withCursorEffectScript,L.withMouseMoveEffectScript,L.withBackgroundEffectScript,L.withBackgroundSlideshowScript)(function(e){var t,n,r,a,c=e.attributes,l=e.videoContainer,s=e.slideElements,p=c.elementId,u=c.layout,d=void 0===u?"boxed":u,y=c.gap,g=void 0===y?"default":y,v=c.align,b=c.overflow,m=c.topDivider,f=c.bottomDivider,h=c.topDividerAnimated,k=c.bottomDividerAnimated,w=c.sticky,j=void 0===w?{}:w,x=c.stickyShowOn,O=c.stickyEase,S=c.stickyPosition,E=c.stickyDuration,D=c.topSticky,P=c.bottomSticky,_=c.backgroundAnimated,B=void 0===_?{}:_,T=c.cursorEffect,C=c.backgroundEffect,I=void 0===C?{}:C,F=c.backgroundOverlay,R=c.backgroundOverlayHover,H=c.background,M=(null==H||null===(t=H.slideImage)||void 0===t?void 0:t.length)>0,z=!Te()(null==H?void 0:H.useFeaturedImage)&&((null==H||null===(n=H.useFeaturedImage)||void 0===n?void 0:n.Desktop)||(null==H||null===(r=H.useFeaturedImage)||void 0===r?void 0:r.Tablet)||(null==H||null===(a=H.useFeaturedImage)||void 0===a?void 0:a.Mobile)),V=(0,De.useAnimationAdvanceData)(c),L=(0,De.useAnimationFrontend)(c),W=(0,De.useDisplayFrontend)(c),J=void 0!==I&&"none"!==(null==I?void 0:I.type)&&!Te()(I),G=N()("guten-element","guten-section",p,L,W,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"background-animated":(0,Pe.isAnimationActive)(B)},"layout-".concat(d),d),"align-".concat(v),v),"overflow-".concat(b),b&&"none"!==b),"guten-sticky",(0,Pe.isSticky)(j)),"sticky-".concat(S),(0,Pe.isSticky)(j)),"guten-cursor-effect",null==T?void 0:T.show),"guten-background-effect-active",J),"guten-background-slideshow",M),"guten-using-featured-image",z)),U=N()("section-wrapper",(0,o.A)((0,o.A)((0,o.A)({},"guten-section-wrapper",(0,Pe.isSticky)(j)),"section-".concat(p),(0,Pe.isSticky)(j)),"sticky-".concat(S),(0,Pe.isSticky)(j))),Z=N()("guten-container",(0,o.A)({},"guten-column-gap-".concat(g),!0)),$=(0,Pe.isSticky)(j),K=(0,Pe.isAnimationActive)(B),Q=!(0,q.isEmptyValue)(h)&&"none"!==h.type,Y=!(0,q.isEmptyValue)(k)&&"none"!==k.type,X=null==p?void 0:p.split("-")[1];return(0,A.jsx)("div",{className:U,"data-id":X,children:(0,A.jsxs)("section",Ue(Ue({},i.useBlockProps.save(Ue(Ue({className:G},V),{},{id:c.anchor}))),{},{children:[(0,A.jsx)(Be.FluidCanvasSave,{attributes:c}),($||K||Q||Y||M)&&(0,A.jsxs)("div",{className:"guten-data",children:[$&&(0,A.jsx)("div",{"data-var":"stickyData".concat(X),"data-value":JSON.stringify({sticky:j,stickyShowOn:x,stickyPosition:S,stickyEase:O,stickyDuration:E,topSticky:D,bottomSticky:P})}),K&&(0,A.jsx)("div",{"data-var":"bgAnimatedData".concat(X),"data-value":JSON.stringify(Ue({},B))}),Q&&(0,A.jsx)("div",{"data-var":"topDividerAnimatedData".concat(X),"data-value":JSON.stringify(Ue({},h))}),Y&&(0,A.jsx)("div",{"data-var":"bottomDividerAnimatedData".concat(X),"data-value":JSON.stringify(Ue({},k))}),M&&(0,A.jsx)("div",{"data-var":"backgroundSlideshow".concat(X),"data-value":JSON.stringify(Ue({},H))})]}),K&&(0,A.jsx)("div",{className:"guten-background-animated",children:(0,A.jsx)("div",{className:"animated-layer animated-".concat(X),children:M&&s})}),!K&&M&&s,J&&(0,A.jsx)("div",{className:"guten-background-effect",children:(0,A.jsx)("div",{className:"inner-background-container"})}),l,(!Te()(F)||!Te()(R))&&(0,A.jsx)("div",{className:"guten-background-overlay"}),!Te()(m)&&(0,A.jsx)(ke,Ue({},e)),!Te()(f)&&(0,A.jsx)(we,Ue({},e)),Q&&(0,A.jsx)(Ae,Ue({},e)),Y&&(0,A.jsx)(Ee,Ue({},e)),(0,A.jsx)("div",{className:Z,children:(0,A.jsx)(i.InnerBlocks.Content,{})})]}))})});const $e=Ze;function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ye=(0,W.compose)((0,L.withAnimationAdvanceScript)("section"),L.withVideoBackground)(function(e){var t=e.attributes,n=e.videoContainer,r=t.elementId,a=t.layout,c=void 0===a?"boxed":a,l=t.gap,s=void 0===l?"default":l,p=t.align,u=t.overflow,d=t.topDivider,y=t.bottomDivider,g=t.sticky,v=void 0===g?{}:g,b=t.stickyShowOn,m=t.stickyEase,f=t.stickyPosition,h=t.stickyDuration,k=t.topSticky,w=t.bottomSticky,j=t.backgroundAnimated,x=void 0===j?{}:j,O=(0,De.useAnimationAdvanceData)(t),S=(0,De.useAnimationFrontend)(t),E=(0,De.useDisplayFrontend)(t),D=N()("guten-element","guten-section",r,S,E,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"background-animated":(0,Pe.isAnimationActive)(x)},"layout-".concat(c),c),"align-".concat(p),p),"overflow-".concat(u),u&&"none"!==u),"guten-sticky",(0,Pe.isSticky)(v)),"sticky-".concat(f),(0,Pe.isSticky)(v))),P=N()("section-wrapper",(0,o.A)((0,o.A)((0,o.A)({},"guten-section-wrapper",(0,Pe.isSticky)(v)),"section-".concat(r),(0,Pe.isSticky)(v)),"sticky-".concat(f),(0,Pe.isSticky)(v))),_=N()("guten-container",(0,o.A)({},"guten-column-gap-".concat(s),!0));return(0,A.jsxs)("div",{className:P,"data-id":null==r?void 0:r.split("-")[1],children:[(0,Pe.isSticky)(v)&&(0,A.jsx)("script",{children:"var stickyData".concat(null==r?void 0:r.split("-")[1]," = ").concat(JSON.stringify({sticky:v,stickyShowOn:b,stickyPosition:f,stickyEase:m,stickyDuration:h,topSticky:k,bottomSticky:w}))}),(0,A.jsx)("script",{children:"var top".concat(null==r?void 0:r.split("-")[1]," = ").concat(JSON.stringify(k),";var bottom").concat(null==r?void 0:r.split("-")[1]," = ").concat(JSON.stringify(w),";")}),(0,A.jsxs)("section",Qe(Qe({},i.useBlockProps.save(Qe({className:D},O))),{},{children:[(0,Pe.isAnimationActive)(x)&&(0,A.jsx)("div",{className:"guten-background-animated",children:(0,A.jsx)("div",{className:"animated-layer"})}),(0,A.jsx)("div",{className:"guten-background-overlay"}),d&&(0,A.jsx)(ke,Qe({},e)),y&&(0,A.jsx)(we,Qe({},e)),(0,A.jsx)("div",{className:_,children:(0,A.jsx)(i.InnerBlocks.Content,{})}),n]}))]})});const Xe=Ye;function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var nt=(0,W.compose)((0,L.withAnimationAdvanceScript)("section"),L.withVideoBackground)(function(e){var t=e.attributes,n=e.videoContainer,r=t.elementId,a=t.layout,c=void 0===a?"boxed":a,l=t.gap,s=void 0===l?"default":l,p=t.align,u=t.overflow,d=t.topDivider,y=t.bottomDivider,g=t.sticky,v=void 0===g?{}:g,b=t.stickyShowOn,m=t.stickyEase,f=t.stickyPosition,h=t.stickyDuration,k=t.topSticky,w=t.bottomSticky,j=t.backgroundAnimated,x=void 0===j?{}:j,O=(0,De.useAnimationFrontend)(t),S=(0,De.useDisplayFrontend)(t),E=N()("guten-element","guten-section",r,O,S,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"background-animated":(0,Pe.isAnimationActive)(x)},"layout-".concat(c),c),"align-".concat(p),p),"overflow-".concat(u),u&&"none"!==u),"guten-sticky",(0,Pe.isSticky)(v)),"sticky-".concat(f),(0,Pe.isSticky)(v))),D=N()("section-wrapper",(0,o.A)((0,o.A)((0,o.A)({},"guten-section-wrapper",(0,Pe.isSticky)(v)),"section-".concat(r),(0,Pe.isSticky)(v)),"sticky-".concat(f),(0,Pe.isSticky)(v))),P=N()("guten-container",(0,o.A)({},"guten-column-gap-".concat(s),!0));return(0,A.jsxs)("div",{className:D,"data-id":null==r?void 0:r.split("-")[1],children:[(0,Pe.isSticky)(v)&&(0,A.jsx)("script",{children:"var stickyData".concat(null==r?void 0:r.split("-")[1]," = ").concat(JSON.stringify({sticky:v,stickyShowOn:b,stickyPosition:f,stickyEase:m,stickyDuration:h,topSticky:k,bottomSticky:w}))}),(0,A.jsx)("script",{children:"var top".concat(null==r?void 0:r.split("-")[1]," = ").concat(JSON.stringify(k),";var bottom").concat(null==r?void 0:r.split("-")[1]," = ").concat(JSON.stringify(w),";")}),(0,A.jsxs)("section",tt(tt({},i.useBlockProps.save({className:E})),{},{children:[(0,Pe.isAnimationActive)(x)&&(0,A.jsx)("div",{className:"guten-background-animated",children:(0,A.jsx)("div",{className:"animated-layer"})}),(0,A.jsx)("div",{className:"guten-background-overlay"}),d&&(0,A.jsx)(ke,tt({},e)),y&&(0,A.jsx)(we,tt({},e)),(0,A.jsx)("div",{className:P,children:(0,A.jsx)(i.InnerBlocks.Content,{})}),n]}))]})});const ot=nt;function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var at=(0,W.compose)((0,L.withAnimationAdvanceScript)("section"),L.withVideoBackground)(function(e){var t=e.attributes,n=e.videoContainer,r=t.elementId,a=t.layout,c=void 0===a?"boxed":a,l=t.gap,s=void 0===l?"default":l,p=t.align,u=t.overflow,d=t.topDivider,y=t.bottomDivider,g=(0,De.useAnimationFrontend)(t),v=(0,De.useDisplayFrontend)(t),b=N()("guten-element","guten-section",r,g,v,(0,o.A)((0,o.A)((0,o.A)({},"layout-".concat(c),c),"align-".concat(p),p),"overflow-".concat(u),u&&"none"!==u)),m=N()("section-wrapper"),f=N()("guten-container",(0,o.A)({},"guten-column-gap-".concat(s),!0)),h=null==r?void 0:r.split("-")[1];return(0,A.jsx)("div",{className:m,"data-id":h,children:(0,A.jsxs)("section",it(it({},i.useBlockProps.save({className:b})),{},{children:[(0,A.jsx)("div",{className:"guten-background-overlay"}),d&&(0,A.jsx)(ke,it({},e)),y&&(0,A.jsx)(we,it({},e)),(0,A.jsx)("div",{className:f,children:(0,A.jsx)(i.InnerBlocks.Content,{})}),n]}))})});const ct=at;function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var pt=(0,W.compose)((0,L.withAnimationAdvanceScript)("section"),L.withVideoBackground,L.withCursorEffectScript,L.withMouseMoveEffectScript,L.withBackgroundEffectScript)(function(e){var t=e.attributes,n=e.videoContainer,r=t.elementId,a=t.layout,c=void 0===a?"boxed":a,l=t.gap,s=void 0===l?"default":l,p=t.align,u=t.overflow,d=t.topDivider,y=t.bottomDivider,g=t.topDividerAnimated,v=t.bottomDividerAnimated,b=t.sticky,m=void 0===b?{}:b,f=t.stickyShowOn,h=t.stickyEase,k=t.stickyPosition,w=t.stickyDuration,j=t.topSticky,x=t.bottomSticky,O=t.backgroundAnimated,S=void 0===O?{}:O,E=t.cursorEffect,D=t.backgroundEffect,P=void 0===D?{}:D,_=(0,De.useAnimationAdvanceData)(t),B=(0,De.useAnimationFrontend)(t),T=(0,De.useDisplayFrontend)(t),C=void 0!==P&&"none"!==(null==P?void 0:P.type)&&!Te()(P),I=N()("guten-element","guten-section",r,B,T,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({"background-animated":(0,Pe.isAnimationActive)(S)},"layout-".concat(c),c),"align-".concat(p),p),"overflow-".concat(u),u&&"none"!==u),"guten-sticky",(0,Pe.isSticky)(m)),"sticky-".concat(k),(0,Pe.isSticky)(m)),"guten-cursor-effect",null==E?void 0:E.show),"guten-background-effect-active",C)),F=N()("section-wrapper",(0,o.A)((0,o.A)((0,o.A)({},"guten-section-wrapper",(0,Pe.isSticky)(m)),"section-".concat(r),(0,Pe.isSticky)(m)),"sticky-".concat(k),(0,Pe.isSticky)(m))),R=N()("guten-container",(0,o.A)({},"guten-column-gap-".concat(s),!0)),H=(0,Pe.isSticky)(m),M=(0,Pe.isAnimationActive)(S),z=!(0,q.isEmptyValue)(g)&&"none"!==g.type,V=!(0,q.isEmptyValue)(v)&&"none"!==v.type,L=null==r?void 0:r.split("-")[1];return(0,A.jsx)("div",{className:F,"data-id":L,children:(0,A.jsxs)("section",st(st({},i.useBlockProps.save(st({className:I},_))),{},{children:[(0,A.jsx)(Be.FluidCanvasSave,{attributes:t}),(H||M||z||V)&&(0,A.jsxs)("div",{className:"guten-data",children:[H&&(0,A.jsx)("div",{"data-var":"stickyData".concat(L),"data-value":JSON.stringify({sticky:m,stickyShowOn:f,stickyPosition:k,stickyEase:h,stickyDuration:w,topSticky:j,bottomSticky:x})}),M&&(0,A.jsx)("div",{"data-var":"bgAnimatedData".concat(L),"data-value":JSON.stringify(st({},S))}),z&&(0,A.jsx)("div",{"data-var":"topDividerAnimatedData".concat(L),"data-value":JSON.stringify(st({},g))}),V&&(0,A.jsx)("div",{"data-var":"bottomDividerAnimatedData".concat(L),"data-value":JSON.stringify(st({},v))})]}),M&&(0,A.jsx)("div",{className:"guten-background-animated",children:(0,A.jsx)("div",{className:"animated-layer animated-".concat(L)})}),C&&(0,A.jsx)("div",{className:"guten-background-effect",children:(0,A.jsx)("div",{className:"inner-background-container"})}),n,(0,A.jsx)("div",{className:"guten-background-overlay"}),d&&(0,A.jsx)(ke,st({},e)),y&&(0,A.jsx)(we,st({},e)),z&&(0,A.jsx)(Ae,st({},e)),V&&(0,A.jsx)(Ee,st({},e)),(0,A.jsx)("div",{className:R,children:(0,A.jsx)(i.InnerBlocks.Content,{})})]}))})});const ut=pt,dt=JSON.parse('{"sticky":{"type":"object","default":{"Desktop":false}},"stickyShowOn":{"type":"string","default":"both"},"stickyEase":{"type":"string","default":"none"},"stickyPosition":{"type":"string","default":"top"},"stickyDuration":{"type":"integer","default":0.25},"topSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}}},"bottomSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}}},"stickyIndex":{"type":"integer","default":99},"stickyBackground":{"type":"object"},"stickyBoxShadow":{"type":"object"},"backgroundAnimated":{"type":"object","default":{}},"topDividerAnimated":{"type":"object","default":{"type":"none","loadOn":"pageload","colorMode":"default","pauseOnLeave":true,"loop":true}},"bottomDividerAnimated":{"type":"object","default":{"type":"none","loadOn":"pageload","colorMode":"default","pauseOnLeave":true}}}'),yt=JSON.parse('{"apiVersion":3,"name":"gutenverse/section","title":"Section","description":"Add a section to wrap several blocks or column.","category":"gutenverse-structure","allowCopyStyle":true,"attributes":{"anchor":{"type":"string"},"layout":{"type":"string","default":"boxed","copyStyle":true},"sticky":{"type":"object","default":{"Desktop":false},"copyStyle":true},"stickyShowOn":{"type":"string","default":"both","copyStyle":true},"stickyEase":{"type":"string","default":"none","copyStyle":true},"stickyPosition":{"type":"string","default":"top","copyStyle":true},"stickyDuration":{"type":"integer","default":0.25,"copyStyle":true},"topSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}},"copyStyle":true},"bottomSticky":{"type":"object","default":{"Desktop":{"point":"0","unit":"px"}},"copyStyle":true},"stickyIndex":{"type":"integer","default":99,"copyStyle":true},"stickyBackground":{"type":"object","copyStyle":true},"stickyBoxShadow":{"type":"object","copyStyle":true},"mouseMoveEffect":{"type":"object","copyStyle":true},"width":{"type":"object","default":{"Desktop":1140},"copyStyle":true},"isChild":{"type":"boolean","default":false},"height":{"type":"object","default":{},"copyStyle":true},"gap":{"type":"string","default":"default","copyStyle":true},"elementId":{"type":"string"},"heightControl":{"type":"string","default":"default","copyStyle":true},"align":{"type":"string","default":"stretch","copyStyle":true},"verticalAlign":{"type":"string","default":"default","copyStyle":true},"overflow":{"type":"string","default":"none","copyStyle":true},"clipMargin":{"type":"object","copyStyle":true},"childTotal":{"type":"integer"},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"backgroundOverlay":{"type":"object","copyStyle":true},"opacity":{"type":"string","copyStyle":true},"backgroundOverlayHover":{"type":"object","copyStyle":true},"backgroundAnimated":{"type":"object","default":{}},"opacityHover":{"type":"string","copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"topDivider":{"type":"object","default":{},"copyStyle":true},"bottomDivider":{"type":"object","default":{},"copyStyle":true},"topDividerAnimated":{"type":"object","default":{"type":"none","loadOn":"pageload","colorMode":"default","pauseOnLeave":true,"loop":true},"copyStyle":true},"bottomDividerAnimated":{"type":"object","default":{"type":"none","loadOn":"pageload","colorMode":"default","pauseOnLeave":true},"copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"typographyHeadingColor":{"type":"object","copyStyle":true},"typographyTextColor":{"type":"object","copyStyle":true},"typographyLinkColor":{"type":"object","copyStyle":true},"typographyLinkHoverColor":{"type":"object","copyStyle":true},"typographyTextAlign":{"type":"object","copyStyle":true},"wrapColumn":{"type":"object","default":{"Desktop":false,"Tablet":false,"Mobile":false},"copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"cursorEffect":{"type":"object"},"backgroundEffect":{"type":"object"},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"pointer":{"type":"object","copyStyle":true},"blur":{"type":"object","copyStyle":true},"blurHover":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"keywords":["container","section","wrapper","structure"],"supports":{"anchor":true},"editor_script":"gutenverse","editor_style":"gutenverse-editor-style","style":["gutenverse-core-frontend-section-style"]}');function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var bt=yt.name,mt=yt.attributes,ft={icon:(0,A.jsx)(_e.IconSectionSVG,{}),example:{viewportWidth:750,innerBlocks:[]},providesContext:{"gutenverse/sectionVerticalAlign":"verticalAlign"},edit:Ge,save:$e,deprecated:[{attributes:mt,save:ut},{attributes:mt,save:ct},{attributes:vt(vt({},mt),dt),save:ot},{attributes:mt,save:Xe}]}},8991(e,t,n){var o=n(9302),r=n(2516),i=n(9185),a=n(9397),c=/^\[object .+?Constructor\]$/,l=Function.prototype,s=Object.prototype,p=l.toString,u=s.hasOwnProperty,d=RegExp("^"+p.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(o(e)?d:c).test(a(e))}},9185(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9302(e,t,n){var o=n(8036),r=n(9185);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9397(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},9404(e){e.exports=function(e,t){return null==e?void 0:e[t]}},9474(e,t,n){var o=n(9302),r=n(6330);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},9491(e){"use strict";e.exports=window.wp.compose},9571(e,t,n){var o=n(65),r=n(1089),i=n(6413),a=i&&i.isTypedArray,c=a?r(a):o;e.exports=c},9577(e,t,n){var o=n(7072),r=n(4443),i=n(4272),a=n(885),c=n(1675),l=n(8036),s=n(9397),p="[object Map]",u="[object Promise]",d="[object Set]",y="[object WeakMap]",g="[object DataView]",v=s(o),b=s(r),m=s(i),f=s(a),h=s(c),k=l;(o&&k(new o(new ArrayBuffer(1)))!=g||r&&k(new r)!=p||i&&k(i.resolve())!=u||a&&k(new a)!=d||c&&k(new c)!=y)&&(k=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,o=n?s(n):"";if(o)switch(o){case v:return g;case b:return p;case m:return u;case f:return d;case h:return y}return t}),e.exports=k},9866(e,t,n){"use strict";n.d(t,{A:()=>r});var o=n(2998);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}(e,t)||(0,o.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o](i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(7501)})();