laipower/wp-content/upgrade-temp-backup/plugins/gp-premium/dist/block-elements.js

3 lines
179 KiB
JavaScript

!function(){var e={184:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var r=a.apply(null,n);r&&e.push(r)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var p in n)i.call(n,p)&&n[p]&&e.push(p)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var o,r,p=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(p[c]=o[c]);if(t){r=t(o);for(var g=0;g<r.length;g++)i.call(o,r[g])&&(p[r[g]]=o[r[g]])}}return p}},251:function(e,t,n){"use strict";n(418);var i=n(196),a=60103;if("function"==typeof Symbol&&Symbol.for){var o=Symbol.for;a=o("react.element"),o("react.fragment")}var r=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var i,o={},c=null,g=null;for(i in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(g=t.ref),t)p.call(t,i)&&!l.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===o[i]&&(o[i]=t[i]);return{$$typeof:a,type:e,key:c,ref:g,props:o,_owner:r.current}}t.jsx=c,t.jsxs=c},893:function(e,t,n){"use strict";e.exports=n(251)},196:function(e){"use strict";e.exports=window.React}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";function e(t){return e="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},e(t)}function t(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,"string");if("object"!==e(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(n)?n:String(n)}function i(e,n,i){return(n=t(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}var a=n(196);function o(e,t,n){return void 0===e[t]&&(e[t]=[]),e[t].push(n),e}function r(e){return"generatepress"===e?(0,a.createElement)("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600",preserveAspectRatio:"none"},(0,a.createElement)("path",{d:"M485.2 427.8l-99.1-46.2 15.8-34c5.6-11.9 8.8-24.3 10-36.7 3.3-33.7-9-67.3-33.2-91.1-8.9-8.7-19.3-16.1-31.3-21.7-11.9-5.6-24.3-8.8-36.7-10-33.7-3.3-67.4 9-91.1 33.2-8.7 8.9-16.1 19.3-21.7 31.3l-15.8 34-30.4 65.2c-.7 1.5-.1 3.3 1.5 4l65.2 30.4 34 15.8 34 15.8 68 31.7 74.7 34.8c-65 45.4-152.1 55.2-228.7 17.4C90.2 447.4 44.1 313.3 97.3 202.6c53.3-110.8 186-158.5 297.8-106.3 88.1 41.1 137.1 131.9 129.1 223.4-.1 1.3.6 2.4 1.7 3l65.6 30.6c1.8.8 3.9-.3 4.2-2.2 22.6-130.7-44-265.4-170.5-323.5-150.3-69-327-4.1-396.9 145.8-70 150.1-5.1 328.5 145.1 398.5 114.1 53.2 244.5 28.4 331.3-52.3 17.9-16.6 33.9-35.6 47.5-56.8 1-1.5.4-3.6-1.3-4.3l-65.7-30.7zm-235-109.6l15.8-34c8.8-18.8 31.1-26.9 49.8-18.1s26.9 31 18.1 49.8l-15.8 34-34-15.8-33.9-15.9z"})):"dynamic"===e?(0,a.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 256 256"},(0,a.createElement)("path",{d:"M128 26c-52.71 0-94 23.72-94 54v96c0 30.28 41.29 54 94 54s94-23.72 94-54V80c0-30.28-41.29-54-94-54zm0 12c44.449 0 82 19.233 82 42s-37.551 42-82 42-82-19.233-82-42 37.551-42 82-42zm82 138c0 22.767-37.551 42-82 42s-82-19.233-82-42v-21.21C61.97 171.163 92.374 182 128 182s66.03-10.837 82-27.21zm0-48c0 22.767-37.551 42-82 42s-82-19.233-82-42v-21.21C61.97 123.163 92.374 134 128 134s66.03-10.837 82-27.21z",fill:"currentColor"})):"tools"===e?(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,a.createElement)("path",{d:"M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z"})):"sliders"===e?(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24"},(0,a.createElement)("path",{d:"M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6"})):void 0}var p=window.wp.i18n,l=window.wp.hooks,c=window.wp.element,g=window.wp.components,s=window.wp.compose,d=window.wp.blockEditor;function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=["generateblocks/container"];function x(e){var t=function(){var t="Desktop";return void 0!==e.deviceType&&e.deviceType&&(t=e.deviceType),t},n=e.attributes,i=e.setAttributes,o=e.showInlineOptions,r=void 0!==o&&o,l=n.gpInlinePostMeta,s=n.gpInlinePostMetaJustify,d=n.gpInlinePostMetaJustifyTablet,m=n.gpInlinePostMetaJustifyMobile,u=n.gpRemoveContainerCondition,b=n.gpRemoveContainerConditionPostMeta,x=n.gpAdjacentPostInSameTerm,h=n.gpAdjacentPostInSameTermTax,f=wp.data.select("core/editor").getEditedPostAttribute("meta"),y=[{label:(0,p.__)("Choose…","gp-premium"),value:"self"},{label:(0,p.__)("No featured image","gp-premium"),value:"no-featured-image"},{label:(0,p.__)("No post meta","gp-premium"),value:"no-post-meta"}];return"post-navigation-template"===f._generate_block_type&&(y.push({label:(0,p.__)("No next post","gp-premium"),value:"no-next-post"}),y.push({label:(0,p.__)("No previous post","gp-premium"),value:"no-previous-post"})),gpPremiumBlockElements.isBlockElement?(0,a.createElement)(c.Fragment,null,!!r&&"Desktop"===t()&&(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("Inline post meta items","gp-premium"),checked:!!l,onChange:function(e){i({gpInlinePostMeta:e})}}),!!r&&!!l&&(0,a.createElement)(c.Fragment,null,"Desktop"===t()&&(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Inline alignment","gp-premium"),value:s,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Left","gp-premium"),value:"flex-start"},{label:(0,p.__)("Center","gp-premium"),value:"center"},{label:(0,p.__)("Right","gp-premium"),value:"flex-end"},{label:(0,p.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){i({gpInlinePostMetaJustify:e})}}),"Tablet"===t()&&(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Inline alignment","gp-premium"),value:d,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Left","gp-premium"),value:"flex-start"},{label:(0,p.__)("Center","gp-premium"),value:"center"},{label:(0,p.__)("Right","gp-premium"),value:"flex-end"},{label:(0,p.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){i({gpInlinePostMetaJustifyTablet:e})}}),"Mobile"===t()&&(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Inline alignment","gp-premium"),value:m,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Left","gp-premium"),value:"flex-start"},{label:(0,p.__)("Center","gp-premium"),value:"center"},{label:(0,p.__)("Right","gp-premium"),value:"flex-end"},{label:(0,p.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){i({gpInlinePostMetaJustifyMobile:e})}})),(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Remove container condition","gp-premium"),value:u,options:y,onChange:function(e){i({gpRemoveContainerCondition:e})}}),"no-post-meta"===u&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:b,onChange:function(e){i({gpRemoveContainerConditionPostMeta:e})}}),("no-next-post"===u||"no-previous-post"===u)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("In same term","gp-premium"),help:(0,p.__)("Check for posts with the same term as the current post.","gp-premium"),checked:!!x,onChange:function(e){i({gpAdjacentPostInSameTerm:e})}}),!!x&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Taxonomy","gp-premium"),help:(0,p.__)("The taxonomy to check if in the same term.","gp-premium"),type:"text",value:h,onChange:function(e){i({gpAdjacentPostInSameTermTax:e})}})))):null}var h=(0,s.createHigherOrderComponent)((function(e){return function(t){var n=t.name,i=t.attributes,o=t.isSelected,l=t.setAttributes,s=i.gpDynamicImageBg,m=i.gpDynamicImageCustomField,x=i.gpUseFallbackImageBg,h=i.bgImage,f=i.gpDynamicLinkType,y=i.gpDynamicLinkCustomField,_=i.gpDynamicSource,k=i.gpDynamicSourceInSameTerm,v=i.gpDynamicSourceInSameTermTaxonomy,w=wp.data.select("core/editor").getEditedPostAttribute("meta"),T=!!s||!!f;return"post-navigation-template"!==w._generate_block_type&&(T=!1),"next-posts"!==f&&"previous-posts"!==f||(T=!1),(0,a.createElement)(c.Fragment,null,(0,a.createElement)(e,u({},t)),o&&b.includes(n)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(d.BlockControls,null,(0,a.createElement)(g.ToolbarGroup,null,(0,a.createElement)(g.Dropdown,{contentClassName:"gpp-dynamic-container-bg-dropdown",popoverProps:{className:"block-editor-block-settings-menu__popover",position:"bottom right"},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return(0,a.createElement)(g.ToolbarButton,{icon:r("dynamic"),label:(0,p.__)("Dynamic options","gp-premium"),onClick:n,"aria-expanded":t,isPressed:!!s||!!f})},renderContent:function(){return(0,a.createElement)(c.Fragment,null,(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Dynamic Background Image","gp-premium"),value:s,options:[{label:(0,p.__)("None","gp-premium"),value:""},{label:(0,p.__)("Featured image","gp-premium"),value:"featured-image"},{label:(0,p.__)("Post meta","gp-premium"),value:"post-meta"},{label:(0,p.__)("Term meta","gp-premium"),value:"term-meta"},{label:(0,p.__)("User meta","gp-premium"),value:"user-meta"}],onChange:function(e){l({gpDynamicImageBg:e})},disabled:!h,help:h?"":(0,p.__)("Add a background image to this Container to make it dynamic.","gp-premium")}),("post-meta"===s||"term-meta"===s||"user-meta"===s)&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),value:m,onChange:function(e){l({gpDynamicImageCustomField:e})}}),""!==s&&(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("Use fallback image","gp-premium"),checked:!!x,onChange:function(e){l({gpUseFallbackImageBg:e})}})),gpPremiumBlockElements.isGenerateBlocksProActive&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.BaseControl,{className:"gpp-button-dynamic-link-area"},(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Dynamic Link","gp-premium"),value:f,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Post","gp-premium"),value:"post"},{label:(0,p.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){l(e?{gpDynamicLinkType:e,url:"#"}:{gpDynamicLinkType:e,url:""})}}),"post-meta"===f&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:y,onChange:function(e){l({gpDynamicLinkCustomField:e})}}))),T&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Source","gp-premium"),value:_,options:[{label:(0,p.__)("Current post","gp-premium"),value:"current-post"},{label:(0,p.__)("Next post","gp-premium"),value:"next-post"},{label:(0,p.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){l({gpDynamicSource:e})}}),("next-post"===_||"previous-post"===_)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("In same term","gp-premium"),help:(0,p.__)("Check for posts with the same term as the current post.","gp-premium"),checked:!!k,onChange:function(e){l({gpDynamicSourceInSameTerm:e})}}),!!k&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Taxonomy","gp-premium"),help:(0,p.__)("The taxonomy to check if in the same term.","gp-premium"),type:"text",value:v,onChange:function(e){l({gpDynamicSourceInSameTermTaxonomy:e})}}))))}})))))}}),"addDynamicContainerBgToolbar");function f(e,t,n){if(!["container"].includes(n))return e;var i=(0,l.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),a=i.uniqueId,r=i.gpInlinePostMeta,p=i.gpInlinePostMetaJustify,c=i.gpInlinePostMetaJustifyTablet,g=i.gpInlinePostMetaJustifyMobile,s=i.useInnerContainer,d=".gb-container-"+a+".inline-post-meta-area > .gb-inside-container > .block-editor-inner-blocks > .block-editor-block-list__layout";return void 0!==s&&(d=s?".gb-container-"+a+".inline-post-meta-area > .gb-inside-container":".gb-container-"+a+".inline-post-meta-area"),r&&(o(e,d,{"justify-content":p}),"generateblocks.editor.tabletCSS"===(0,l.currentFilter)()&&o(e,d,{"justify-content":c}),"generateblocks.editor.mobileCSS"===(0,l.currentFilter)()&&o(e,d,{"justify-content":g})),e}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function _(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.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)?y(e,t):void 0}}(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.")}()}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,t(a.key),a)}}function w(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}function R(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return T(t)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}(0,l.addFilter)("blocks.registerBlockType","gp-premium/dynamic-container/add-attributes",(function(e){return b.includes(e.name)?(void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{gpDynamicImageBg:{type:"string",default:""},gpUseFallbackImageBg:{type:"boolean",default:!1},gpDynamicImageCustomField:{type:"string",default:""},gpInlinePostMeta:{type:"boolean",default:!1},gpInlinePostMetaJustify:{type:"string",default:""},gpInlinePostMetaJustifyTablet:{type:"string",default:""},gpInlinePostMetaJustifyMobile:{type:"string",default:""},gpDynamicLinkType:{type:"string",default:""},gpDynamicLinkCustomField:{type:"string",default:""},gpDynamicSource:{type:"string",default:"current-post"},gpRemoveContainerCondition:{type:"string",default:""},gpRemoveContainerConditionPostMeta:{type:"string",default:""},gpAdjacentPostInSameTerm:{type:"boolean",default:!1},gpAdjacentPostInSameTermTax:{type:"string",default:"category"},gpDynamicSourceInSameTerm:{type:"boolean",default:!1},gpDynamicSourceInSameTermTaxonomy:{type:"string",default:"category"}})),e):e})),(0,l.addFilter)("generateblocks.editor.controls","gp-premium/dynamic-container/add-container-controls",(function(e,t,n){return"containerLayout"!==t&&"containerGridLayout"!==t?e:(0,a.createElement)(c.Fragment,null,(0,a.createElement)(x,u(u({},n),{},{showInlineOptions:!0})),e)})),(0,l.addFilter)("generateblocks.editor.settingsPanel","gp-premium/dynamic-container/add-container-controls",(function(e,t){return"generateblocks/container"!==t.name||t.attributes.useInnerContainer?e:(0,a.createElement)(c.Fragment,null,e,(0,a.createElement)(x,u({},t)))})),(0,l.addFilter)("editor.BlockEdit","gp-premium/dynamic-container/toolbar",h),(0,l.addFilter)("generateblocks.frontend.htmlAttributes","gp-premium/dynamic-container/add-html-attributes",(function(e,t,n){return"generateblocks/container"!==t||n.gpInlinePostMeta&&(e=Object.assign(e,{className:e.className+" inline-post-meta-area"})),e})),(0,l.addFilter)("generateblocks.editor.mainCSS","gp-premium/dynamic-container/add-main-css",f),(0,l.addFilter)("generateblocks.editor.tabletCSS","gp-premium/dynamic-container/add-tablet-css",f),(0,l.addFilter)("generateblocks.editor.mobileCSS","gp-premium/dynamic-container/add-mobile-css",f);var I=function(e){D(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=S(t);if(n){var a=S(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return R(this,e)});function a(){var e;return k(this,a),(e=i.apply(this,arguments)).wrapElement=e.wrapElement.bind(T(e)),e}return w(a,[{key:"componentDidMount",value:function(){if(this.props.attributes.gpDynamicTextType&&"generateblocks/headline"===this.props.name){var e=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId+" .rich-text");e&&""!==this.props.attributes.gpDynamicTextType&&this.props.attributes.gpDynamicLinkType&&!this.props.attributes.removeText&&this.wrapElement(e)}}},{key:"componentDidUpdate",value:function(){if(this.props.attributes.gpDynamicTextType){var e=this.props.attributes.content;"generateblocks/button"===this.props.name&&(e=this.props.attributes.text),e!==this.props.attributes.gpDynamicTextReplace&&this.props.setAttributes({gpDynamicTextReplace:e})}if(this.props.attributes.gpDynamicTextType&&"generateblocks/headline"===this.props.name){var t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId+" .rich-text");if(t){var n=t.parentNode;if(n){var i=n.classList.contains("gblocks-faux-headline-link");""!==this.props.attributes.gpDynamicTextType?(i&&!this.props.attributes.gpDynamicLinkType&&n.replaceWith.apply(n,_(n.childNodes)),i||!this.props.attributes.gpDynamicLinkType||this.props.isSelected||this.wrapElement(t)):i&&n.replaceWith.apply(n,_(n.childNodes)),(this.props.attributes.removeText||i&&this.props.isSelected)&&n.replaceWith.apply(n,_(n.childNodes))}}}}},{key:"wrapElement",value:function(e){var t=document.createElement("a");t.classList.add("gblocks-faux-headline-link"),e.parentNode.insertBefore(t,e),t.appendChild(e)}},{key:"render",value:function(){return null}}]),a}(c.Component),B=I;var L=function(e){D(o,e);var t,n,i=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=S(t);if(n){var a=S(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return R(this,e)});function o(){return k(this,o),i.apply(this,arguments)}return w(o,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,i=e.name,o=t.gpDynamicTextType,r=t.gpDynamicSource,l=t.gpDynamicTextReplace,s=t.gpDynamicTextTaxonomy,d=t.gpDynamicTextTaxonomySeparator,m=t.gpDynamicTextCustomField,u=t.gpDynamicTextBefore,b=t.gpDynamicDateUpdated,x=t.gpDynamicNoCommentsText,h=t.gpDynamicSingleCommentText,f=t.gpDynamicMultipleCommentsText,y=t.gpDynamicLinkType,_=t.gpDynamicLinkCustomField,k=t.gpDynamicSourceInSameTerm,v=t.gpDynamicSourceInSameTermTaxonomy,w=t.className,T=t.gpDynamicDateType,C=t.gpDynamicUpdatedDateBefore,D=[{label:(0,p.__)("Choose…","gp-premium"),value:""}],R=gpPremiumBlockElements.taxonomies;R&&Object.keys(R).forEach((function(e){D.push({label:R[e],value:R[e]})}));var S=[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Single post","gp-premium"),value:"single-post"},{label:(0,p.__)("Author archives","gp-premium"),value:"author-archives"},{label:(0,p.__)("Comments area","gp-premium"),value:"comments"},{label:(0,p.__)("Next page of posts","gp-premium"),value:"next-posts"},{label:(0,p.__)("Previous page of posts","gp-premium"),value:"previous-posts"},{label:(0,p.__)("Post meta","gp-premium"),value:"post-meta"},{label:(0,p.__)("Author meta","gp-premium"),value:"user-meta"},{label:(0,p.__)("Term meta","gp-premium"),value:"term-meta"}];"terms"===o&&(S=[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Term archives","gp-premium"),value:"term-archives"}]),"generateblocks/headline"!==i||o||(S=[]);var I=!!o||!!y;"post-navigation-template"!==wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_type&&(I=!1),"next-posts"!==y&&"previous-posts"!==y||(I=!1);var B=(0,p.__)("Before text","gp-premim");return"post-date"===o&&b&&"published-date"===T&&(B=(0,p.__)("Published date before text","gp-premium")),(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Dynamic text type","gp-premium"),value:o,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Title","gp-premium"),value:"title"},{label:(0,p.__)("Post date","gp-premium"),value:"post-date"},{label:(0,p.__)("Post author name","gp-premium"),value:"post-author"},{label:(0,p.__)("List of terms","gp-premium"),value:"terms"},{label:(0,p.__)("Comments number","gp-premium"),value:"comments-number"},{label:(0,p.__)("Post meta","gp-premium"),value:"post-meta"},{label:(0,p.__)("Term meta","gp-premium"),value:"term-meta"},{label:(0,p.__)("Author meta","gp-premium"),value:"user-meta"}],onChange:function(e){n({gpDynamicTextType:e});var t=[];w&&(t=w.split(" "));var a=["dynamic-term-class"];if(t=t.filter((function(e){return!a.includes(e)})),"terms"===e&&t.push("dynamic-term-class"),t.length>0?n({className:t.join(" ")}):n({className:""}),"generateblocks/headline"===i){var o=(0,p.__)("Hello World","gp-premium");"post-date"===e?o=(0,p.__)("Post date","gp-premium"):"post-author"===e?o=(0,p.__)("Post author name","gp-premium"):"terms"===e?o=(0,p.__)("Terms","gp-premium"):"comments-number"===e?o=(0,p.__)("Comments number","gp-premium"):"post-meta"===e?o=(0,p.__)("Post meta","gp-premium"):"user-meta"===e?o=(0,p.__)("User meta","gp-premium"):"term-meta"===e&&(o=(0,p.__)("Term meta","gp-premium")),n({content:o})}}}),""!==o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{className:"gpp-blocks-dynamic-text-replace-field",type:"text",value:l}),"post-date"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Date type","gp-premium"),value:T,options:[{label:(0,p.__)("Published date","gp-premim"),value:"published-date"},{label:(0,p.__)("Updated date","gp-premium"),value:"updated-date"}],onChange:function(e){n({gpDynamicDateType:e,gpDynamicTextBefore:"",gpDynamicUpdatedDateBefore:""})}}),"published-date"===T&&(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("Replace with updated date","gp-premium"),checked:!!b,onChange:function(e){n({gpDynamicDateUpdated:e})}})),"terms"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Taxonomy","gp-premium"),value:s,options:D,onChange:function(e){n({gpDynamicTextTaxonomy:e})}}),"generateblocks/headline"===i&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:(0,p.__)("Term separator","gp-premium"),type:"text",value:d,onChange:function(e){n({gpDynamicTextTaxonomySeparator:e})}}))),"comments-number"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:(0,p.__)("No comments text","gp-premium"),type:"text",value:x,onChange:function(e){n({gpDynamicNoCommentsText:e})}}),(0,a.createElement)(g.TextControl,{label:(0,p.__)("Singular comments text","gp-premium"),type:"text",value:h,onChange:function(e){n({gpDynamicSingleCommentText:e})}}),(0,a.createElement)(g.TextControl,{label:(0,p.__)("Plural comments text","gp-premium"),help:(0,p.__)("Use % in place of the number of comments","gp-premium"),type:"text",value:f,onChange:function(e){n({gpDynamicMultipleCommentsText:e})}})),("post-meta"===o||"term-meta"===o||"user-meta"===o)&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:m,onChange:function(e){n({gpDynamicTextCustomField:e})}}),"generateblocks/headline"===i&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:B,type:"text",value:u,onChange:function(e){n({gpDynamicTextBefore:e})}}),"post-date"===o&&!!b&&"published-date"===T&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Updated date before text","gp-premium"),type:"text",value:C,onChange:function(e){n({gpDynamicUpdatedDateBefore:e})}}))),S.length>1&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Dynamic link type","gp-premium"),value:y,options:S,onChange:function(e){"generateblocks/button"===i&&n(e?{gpDynamicLinkType:e,hasUrl:!0,url:"#"}:{gpDynamicLinkType:e,hasUrl:!1,url:""}),"generateblocks/headline"===i&&n({gpDynamicLinkType:e})}}),("post-meta"===y||"term-meta"===y||"user-meta"===y)&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:_,onChange:function(e){n({gpDynamicLinkCustomField:e})}})),I&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Source","gp-premium"),value:r,options:[{label:(0,p.__)("Current post","gp-premium"),value:"current-post"},{label:(0,p.__)("Next post","gp-premium"),value:"next-post"},{label:(0,p.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({gpDynamicSource:e})}}),("next-post"===r||"previous-post"===r)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("In same term","gp-premium"),help:(0,p.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!k,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!k&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Taxonomy","gp-premium"),help:(0,p.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:v,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}}))))}}]),o}(c.Component),E=L;function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=["generateblocks/headline","generateblocks/button"],P=(0,s.createHigherOrderComponent)((function(e){return function(t){return W.includes(t.name)?(0,a.createElement)(c.Fragment,null,(0,a.createElement)(B,z({},t)),(0,a.createElement)(e,z({},t))):(0,a.createElement)(e,z({},t))}}),"withClientIdClassName"),V=(0,s.createHigherOrderComponent)((function(e){return function(t){var n=t.name,i=t.attributes,o=t.isSelected,l=i.gpDynamicTextType,s=i.gpDynamicLinkType;return(0,a.createElement)(c.Fragment,null,(0,a.createElement)(e,z({},t)),o&&W.includes(n)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(d.BlockControls,null,(0,a.createElement)(g.ToolbarGroup,null,(0,a.createElement)(g.Dropdown,{contentClassName:"gpp-dynamic-headline-text-dropdown",popoverProps:{className:"block-editor-block-settings-menu__popover",position:"bottom right"},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return(0,a.createElement)(g.ToolbarButton,{icon:r("dynamic"),label:(0,p.__)("Dynamic options","gp-premium"),onClick:n,"aria-expanded":t,isPressed:!!l||!!s})},renderContent:function(){return(0,a.createElement)(c.Fragment,null,(0,a.createElement)(E,z({},t)))}})))))}}),"addDynamicHeadlineTextToolbar");function q(e,t){return!(void 0===t.attributes.gpDynamicTextType||!t.attributes.gpDynamicTextType)||e}(0,l.addFilter)("blocks.registerBlockType","gp-premium/dynamic-text/add-attributes",(function(e){return W.includes(e.name)?(void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{gpDynamicTextType:{type:"string",default:""},gpDynamicLinkType:{type:"string",default:""},gpDynamicTextReplace:{type:"string",default:""},gpDynamicSource:{type:"string",default:"current-post"},gpDynamicSourceInSameTerm:{type:"boolean",default:!1},gpDynamicSourceInSameTermTaxonomy:{type:"string",default:"category"},gpDynamicTextTaxonomy:{type:"string",default:""},gpDynamicTextTaxonomySeparator:{type:"string",default:", "},gpDynamicTextCustomField:{type:"string",default:""},gpDynamicTextBefore:{type:"string",default:""},gpDynamicUpdatedDateBefore:{type:"string",default:""},gpDynamicDateUpdated:{type:"boolean",default:!1},gpDynamicNoCommentsText:{type:"string",default:(0,p.__)("No Comments","gp-premium")},gpDynamicSingleCommentText:{type:"string",default:(0,p.__)("1 Comment","gp-premium")},gpDynamicMultipleCommentsText:{type:"string",default:(0,p.__)("% Comments","gp-premium")},gpDynamicLinkCustomField:{type:"string",default:""},gpDynamicDateType:{type:"string",default:"published-date"}})),e):e})),(0,l.addFilter)("editor.BlockListBlock","my-plugin/with-client-id-class-name",P),(0,l.addFilter)("editor.BlockEdit","gp-premium/dynamic-headline/toolbar",V),(0,l.addFilter)("generateblocks.editor.headlineDisableFormatting","gp-premium/dynamic-headline/disable-headline-formatting",q),(0,l.addFilter)("generateblocks.editor.buttonDisableFormatting","gp-premium/dynamic-headline/disable-button-formatting",q),(0,l.addFilter)("generateblocks.editor.mainCSS","gp-premium/dynamic-headline/headline-css",(function(e,t,n){if(!["headline"].includes(n))return e;var i=t.attributes,a=i.uniqueId,r=i.gpDynamicTextBefore;return i.gpDynamicTextType&&r&&o(e,".gb-headline-"+a+" .gb-headline-text:before, .gb-headline-"+a+".gb-headline-text:before",{content:'"'+r+'"'}),e}));var j=window.wp.serverSideRender,O=n.n(j);var A=function(e){D(o,e);var t,n,i=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=S(t);if(n){var a=S(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return R(this,e)});function o(){return k(this,o),i.apply(this,arguments)}return w(o,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,i=t.contentType,o=t.excerptLength,r=t.useThemeMoreLink,l=t.customMoreLink;return(0,a.createElement)(c.Fragment,null,(0,a.createElement)(d.InspectorControls,null,(0,a.createElement)(g.PanelBody,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Type","gp-premium"),value:i,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Post content","gp-premium"),value:"post-content"},{label:(0,p.__)("Post excerpt","gp-premium"),value:"post-excerpt"},{label:(0,p.__)("Term description","gp-premium"),value:"term-description"},{label:(0,p.__)("Author description","gp-premium"),value:"author-description"}],onChange:function(e){n({contentType:e})}}),"post-excerpt"===i&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:(0,p.__)("Excerpt length","gp-premium"),type:"number",value:o||"",placeholder:gpPremiumBlockElements.excerptLength,onChange:function(e){n({excerptLength:e})},onBlur:function(){n({excerptLength:parseInt(o)})},onClick:function(e){e.currentTarget.focus()}}),(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("Use theme more link","gp-premium"),type:"number",checked:!!r,onChange:function(e){n({useThemeMoreLink:e})}}),!r&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Custom more link","gp-premium"),type:"text",value:l||"",onChange:function(e){n({customMoreLink:e})}})))),!i&&(0,a.createElement)(g.Placeholder,{label:(0,p.__)("Dynamic content","gp-premium"),instructions:(0,p.__)("Choose your dynamic content type.","gp-premium")},(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Type","gp-premium"),value:i,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Post content","gp-premium"),value:"post-content"},{label:(0,p.__)("Post excerpt","gp-premium"),value:"post-excerpt"},{label:(0,p.__)("Term description","gp-premium"),value:"term-description"},{label:(0,p.__)("Author description","gp-premium"),value:"author-description"}],onChange:function(e){n({contentType:e})}})),"post-content"===i&&(0,a.createElement)("div",{className:"gb-entry-content"},(0,a.createElement)("p",null,(0,p.__)("This is a placeholder for your content.","gp-premium")),(0,a.createElement)("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pulvinar ligula augue, quis bibendum tellus scelerisque venenatis. Pellentesque porta nisi mi. In hac habitasse platea dictumst. Etiam risus elit, molestie non volutpat ac, pellentesque sed eros. Nunc leo odio, sodales non tortor at, porttitor posuere dui.")),"post-excerpt"===i&&(0,a.createElement)("div",null,(0,a.createElement)(O(),{block:"generatepress/dynamic-content",attributes:t})),("author-description"===i||"term-description"===i)&&(0,a.createElement)("div",{className:"gb-description"},(0,a.createElement)("p",null,(0,p.__)("This is a placeholder for your description.","gp-premium")),(0,a.createElement)("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pulvinar ligula augue, quis bibendum tellus scelerisque venenatis. Pellentesque porta nisi mi. In hac habitasse platea dictumst. Etiam risus elit, molestie non volutpat ac, pellentesque sed eros. Nunc leo odio, sodales non tortor at, porttitor posuere dui.")))}}]),o}(c.Component),H=A,N=window.wp.blocks;(0,N.registerBlockType)("generatepress/dynamic-content",{title:(0,p.__)("Dynamic Content","gp-premium"),description:(0,p.__)("Displays dynamic content based on your chosen source.","gp-premium"),icon:r("generatepress"),category:"generatepress",keywords:[(0,p.__)("content"),(0,p.__)("dynamic content"),(0,p.__)("gp"),(0,p.__)("generate")],supports:{anchor:!1,className:!1,customClassName:!1},attributes:{contentType:{type:"string",default:""},excerptLength:{type:"number",default:gpPremiumBlockElements.excerptLength},useThemeMoreLink:{type:"boolean",default:!0},customMoreLink:{type:"string",default:""}},edit:H,save:function(){return null}});var F=n(184),U=n.n(F);var G=function(e){D(o,e);var t,n,i=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=S(t);if(n){var a=S(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return R(this,e)});function o(){return k(this,o),i.apply(this,arguments)}return w(o,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,i=t.imageSize,o=t.imageType,r=t.imageSource,l=t.customField,s=t.linkTo,m=t.linkToCustomField,u=t.imageWidth,b=t.imageHeight,x=t.avatarSize,h=t.avatarRounded,f=t.gpDynamicSourceInSameTerm,y=t.gpDynamicSourceInSameTermTaxonomy,_=[];Object.keys(gpPremiumBlockElements.imageSizes).forEach((function(e){_.push({label:gpPremiumBlockElements.imageSizes[e],value:gpPremiumBlockElements.imageSizes[e]})}));var k=gpPremiumBlockElements.imageSizeDimensions,v=u,w=b;v||void 0!==k[i]&&k[i].width&&(v=k[i].width),w||void 0!==k[i]&&k[i].height&&(w=k[i].height);var T=gpPremiumBlockElements.featuredImagePlaceholder;"author-avatar"!==o&&v!==w||(T=gpPremiumBlockElements.authorImagePlaceholder);var C=wp.data.select("core/editor").getEditedPostAttribute("meta");return(0,a.createElement)(c.Fragment,null,(0,a.createElement)(d.InspectorControls,null,(0,a.createElement)(g.PanelBody,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Type","gp-premium"),value:o,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Featured image","gp-premium"),value:"featured-image"},{label:(0,p.__)("Author avatar","gp-premium"),value:"author-avatar"},{label:(0,p.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){n({imageType:e})}}),("featured-image"===o||"post-meta"===o)&&(0,a.createElement)(c.Fragment,null,"post-meta"===o&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Meta field name","gp-premium"),type:"text",value:l,onChange:function(e){n({customField:e})}}),"post-navigation-template"===C._generate_block_type&&(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Source","gp-premium"),value:r,options:[{label:(0,p.__)("Current post","gp-premium"),value:"current-post"},{label:(0,p.__)("Next post","gp-premium"),value:"next-post"},{label:(0,p.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({imageSource:e})}}),("next-post"===r||"previous-post"===r)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("In same term","gp-premium"),help:(0,p.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!f,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!f&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Taxonomy","gp-premium"),help:(0,p.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:y,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}})),(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Image size","gp-premium"),value:i,options:_,onChange:function(e){n({imageSize:e})}}),(0,a.createElement)(g.TextControl,{label:(0,p.__)("Image width","gp-premium"),type:"number",value:u||"",placeholder:v,onChange:function(e){n({imageWidth:e})},onBlur:function(){u&&n({imageWidth:parseInt(u)})},onClick:function(e){e.currentTarget.focus()}}),(0,a.createElement)(g.TextControl,{label:(0,p.__)("Image height","gp-premium"),type:"number",value:b||"",placeholder:w,onChange:function(e){n({imageHeight:e})},onBlur:function(){b&&n({imageHeight:parseInt(b)})},onClick:function(e){e.currentTarget.focus()}}),(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Link to","gp-premium"),value:s,options:[{label:(0,p.__)("None","gp-premium"),value:""},{label:(0,p.__)("Single post","gp-premium"),value:"single-post"},{label:(0,p.__)("Custom field","gp-premium"),value:"custom-field"}],onChange:function(e){n({linkTo:e})}}),"custom-field"===s&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Custom field name","gp-premium"),type:"text",value:m,onChange:function(e){n({linkToCustomField:e})}})),"author-avatar"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{label:(0,p.__)("Image size","gp-premium"),type:"number",value:x||"",onChange:function(e){n({avatarSize:parseInt(e)})}}),(0,a.createElement)(g.ToggleControl,{label:(0,p.__)("Make image rounded","gp-premium"),checked:!!h,onChange:function(e){n({avatarRounded:e})}})))),!o&&(0,a.createElement)(g.Placeholder,{label:(0,p.__)("Dynamic image","gp-premium"),instructions:(0,p.__)("Choose your dynamic image type.","gp-premium")},(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Type","gp-premium"),value:o,options:[{label:(0,p.__)("Choose…","gp-premium"),value:""},{label:(0,p.__)("Featured image","gp-premium"),value:"featured-image"},{label:(0,p.__)("Author avatar","gp-premium"),value:"author-avatar"},{label:(0,p.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){n({imageType:e})}})),(0,a.createElement)("div",{className:"gpp-dynamic-image-preview"},(0,a.createElement)(c.Fragment,null,("featured-image"===o||"post-meta"===o)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)("div",{className:"components-gpp-dynamic-image-placeholder__label"},(0,a.createElement)(g.Icon,{icon:"format-image"})),(0,a.createElement)("img",{src:T,className:"dynamic-featured-image gpp-dynamic-image-placeholder",width:v||"",height:w||"",alt:(0,p.__)("Dynamic image placeholder","gp-premium")})),"author-avatar"===o&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)("div",{className:"components-gpp-dynamic-image-placeholder__label"},(0,a.createElement)(g.Icon,{icon:"admin-users"})),(0,a.createElement)("img",{src:T,className:U()({"dynamic-author-image":!0,"gpp-dynamic-image-placeholder":!0,"dynamic-author-image-rounded":!!h}),width:x||null,height:x||null,alt:(0,p.__)("Dynamic image placeholder","gp-premium")})))))}}]),o}(c.Component),J=G;(0,N.registerBlockType)("generatepress/dynamic-image",{title:(0,p.__)("Dynamic Image","gp-premium"),description:(0,p.__)("Displays a dynamic image from your chosen source.","gp-premium"),icon:r("generatepress"),category:"generatepress",keywords:[(0,p.__)("image"),(0,p.__)("dynamic image"),(0,p.__)("gp"),(0,p.__)("generate")],supports:{anchor:!1,className:!1,customClassName:!0},attributes:{imageType:{type:"string",default:""},imageSource:{type:"string",default:"current-post"},customField:{type:"string",default:""},gpDynamicSourceInSameTerm:{type:"boolean",default:!1},gpDynamicSourceInSameTermTaxonomy:{type:"string",default:"category"},imageSize:{type:"string",default:"full"},linkTo:{type:"string",default:""},linkToCustomField:{type:"string",default:""},imageWidth:{type:"number",default:null},imageHeight:{type:"number",default:null},avatarSize:{type:"number",default:30},avatarRounded:{type:"boolean",default:!1}},edit:J,save:function(){return null}});var Y=window.lodash,$=n.n(Y);var K=function(e){D(o,e);var t,n,i=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=S(t);if(n){var a=S(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return R(this,e)});function o(){return k(this,o),i.apply(this,arguments)}return w(o,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.value,i=e.onClick,o=e.units;return(0,a.createElement)("div",{className:"components-generatepress-units-control-header__units"},(0,a.createElement)("div",{className:"components-generatepress-units-control-label__units"},t),(0,a.createElement)("div",{className:"components-generatepress-control__units"},(0,a.createElement)(g.ButtonGroup,{className:"components-generatepress-control-buttons__units","aria-label":(0,p.__)("Select Units","gp-premium")},o.map((function(e){var t=e;return"px"===e&&(t=(0,p._x)("Pixel","A size unit for CSS markup","gp-premium")),"em"===e&&(t=(0,p._x)("Em","A size unit for CSS markup","gp-premium")),"%"===e&&(t=(0,p._x)("Percentage","A size unit for CSS markup","gp-premium")),"deg"===e&&(t=(0,p._x)("Degree","A size unit for CSS markup","gp-premium")),(0,a.createElement)(g.Tooltip
/* translators: Unit type (px, em, %) */,{text:(0,p.sprintf)((0,p.__)("%s Units","gp-premium"),t),key:e},(0,a.createElement)(g.Button,{key:e,className:"components-generatepress-control-button__units--"+e,isSmall:!0,isPrimary:n===e,"aria-pressed":n===e
/* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":(0,p.sprintf)((0,p.__)("%s Units","gp-premium"),t),onClick:function(){return i(e)}},e))})))))}}]),o}(c.Component),X={template_1:{label:(0,p._x)("Two columns with featured image","label","gp-premium"),thumbnail:"post-navigation-featured-images-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99fe8eb7","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"bdf9a41e","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","justifyContent":"space-between","sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"8e5dc8f7","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"20px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottomMobile":"10px"},"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSource":"previous-post","imageSize":"thumbnail","linkTo":"single-post","imageWidth":100,"imageHeight":100,"avatarSize":100} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d54a6460","isDynamic":true,"blockVersion":4,"sizing":{"width":"75%","widthMobile":"75%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0d00c744","element":"p","blockVersion":3,"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Previous post title","gpDynamicSource":"previous-post"} --\x3e <p class="gb-headline gb-headline-0d00c744 gb-headline-text">Previous post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"86e1ad46","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name","gpDynamicSource":"previous-post","gpDynamicTextBefore":"by "} --\x3e <p class="gb-headline gb-headline-86e1ad46 gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2540358d","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row-reverse","flexDirectionMobile":"row","alignItems":"center","columnGap":"20px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlignMobile":"left"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSource":"next-post","imageSize":"thumbnail","linkTo":"single-post","imageWidth":100,"imageHeight":100,"avatarSize":100} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"daa456b5","isDynamic":true,"blockVersion":4,"sizing":{"width":"75%","widthMobile":"75%","height":"","maxWidth":""},"typography":{"textAlign":"right","textAlignMobile":"left"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2883b2a4","element":"p","blockVersion":3,"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Next post title","gpDynamicSource":"next-post"} --\x3e <p class="gb-headline gb-headline-2883b2a4 gb-headline-text">Next post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3d2e07c6","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name","gpDynamicSource":"next-post","gpDynamicTextBefore":"by "} --\x3e <p class="gb-headline gb-headline-3d2e07c6 gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_2:{label:(0,p._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d1dd99b1","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"20px","paddingRight":"0px","paddingBottom":"20px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"8878e700","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","justifyContent":"space-between","rowGapMobile":"10px","sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9c89f761","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"30px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","marginBottomMobile":"10px"},"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9cf413a8","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"bec8d56e","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px"},"backgroundColor":"#000000","backgroundColorHover":"#abb8c3","textColor":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1.5em","height":"1.5em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e <a class="gb-button gb-button-bec8d56e" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"625f3305","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a6f36397","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Previous post title","gpDynamicSource":"previous-post"} --\x3e <p class="gb-headline gb-headline-a6f36397 gb-headline-text">Previous post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3d262c0b","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicSource":"previous-post","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-3d262c0b gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5d70717c","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","justifyContentMobile":"flex-start","columnGap":"30px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"right","textAlignMobile":"left"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"78f3ead4","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"643cf12f","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Next post title","gpDynamicSource":"next-post"} --\x3e <p class="gb-headline gb-headline-643cf12f gb-headline-text">Next post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ac35083","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicSource":"next-post","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-8ac35083 gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"780c810b","isDynamic":true,"blockVersion":4,"orderMobile":-1,"sizing":{"width":"","widthTablet":"","widthMobile":"","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"122d9fa4","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px"},"backgroundColor":"#000000","backgroundColorHover":"#abb8c3","textColor":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1.5em","height":"1.5em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e <a class="gb-button gb-button-122d9fa4" href="#"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" width="1em" height="1em" aria-hidden="true"><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_3:{label:(0,p._x)("Two columns with background overlays","label","gp-premium"),thumbnail:"post-navigation-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"aadd0a6f","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"3642451a","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"59edc08b","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#e3e3e3","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.4,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"40px","paddingRight":"40px","paddingBottom":"40px","paddingLeft":"40px"},"paddingSyncUnits":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"a510c6c2","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8d3d4c12","element":"p","blockVersion":3,"display":"inline-block","typography":{"fontSize":"14px","textTransform":"uppercase"},"spacing":{"paddingTop":"5px","paddingRight":"10px","paddingBottom":"5px","paddingLeft":"10px"},"inlineWidth":true,"backgroundColor":"#cf2e2e"} --\x3e <p class="gb-headline gb-headline-8d3d4c12 gb-headline-text">Previous</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"352592d1","element":"h3","blockVersion":3,"typography":{"fontSize":"25px"},"spacing":{"marginBottom":"0px"},"className":"","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e <h3 class="gb-headline gb-headline-352592d1 gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"993a41e4","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#e3e3e3","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.4,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"40px","paddingRight":"40px","paddingBottom":"40px","paddingLeft":"40px"},"paddingSyncUnits":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ea84c30e","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"49c8845f","element":"p","blockVersion":3,"display":"inline-block","typography":{"fontSize":"14px","textTransform":"uppercase"},"spacing":{"paddingTop":"5px","paddingRight":"10px","paddingBottom":"5px","paddingLeft":"10px"},"inlineWidth":true,"backgroundColor":"#cf2e2e"} --\x3e <p class="gb-headline gb-headline-49c8845f gb-headline-text">Next</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"6ba8079e","element":"h3","blockVersion":3,"typography":{"fontSize":"25px"},"spacing":{"marginBottom":"0px"},"className":"","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e <h3 class="gb-headline gb-headline-6ba8079e gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]},template_4:{label:(0,p._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"96f5f0fa","innerContainer":"full","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"f9c8f86f","isDynamic":true,"blockVersion":4,"display":"flex","sizing":{"maxWidth":""},"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5287d6da","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row-reverse","flexDirectionMobile":"column","justifyContent":"space-between","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"30px","paddingRight":"0px","paddingBottom":"25px","paddingLeft":"25px"},"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"75cd654a","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlignMobile":"right"},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"6acb0e83","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"20px","paddingBottom":"15px","paddingLeft":"20px"},"backgroundColor":"#0366d6","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e <a class="gb-button gb-button-6acb0e83" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"eb3b7005","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","paddingTopMobile":"","paddingRightMobile":"10px","paddingBottomMobile":"","paddingLeftMobile":"","marginTopMobile":"20px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0a2d5bfc","element":"h3","blockVersion":3,"typography":{"textAlign":"left"},"spacing":{"marginBottom":"10px"},"textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e <h3 class="gb-headline gb-headline-0a2d5bfc gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"164ae39e","element":"p","blockVersion":3,"display":"flex","alignItems":"center","typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments number","gpDynamicSource":"previous-post"} --\x3e <p class="gb-headline gb-headline-164ae39e"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg></span><span class="gb-headline-text">Comments number</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7af8fa61","backgroundColor":"#0366d6","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","justifyContent":"space-between","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"30px","paddingRight":"25px","paddingBottom":"25px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"045e1698","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"557abb73","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"20px","paddingBottom":"15px","paddingLeft":"20px"},"backgroundColor":"#ffffff","backgroundColorHover":"#222222","textColor":"#0693e3","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e <a class="gb-button gb-button-557abb73" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9ad09f6f","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","paddingLeftMobile":"10px","marginTopMobile":"20px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9ba9e9d1","element":"h3","blockVersion":3,"typography":{},"spacing":{"marginBottom":"10px"},"textColor":"#ffffff","linkColor":"#ffffff","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e <h3 class="gb-headline gb-headline-9ba9e9d1 gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ebf8dbe","element":"p","blockVersion":3,"display":"flex","alignItems":"center","typography":{"fontSize":"14px","textAlign":""},"spacing":{"marginBottom":"0px"},"textColor":"#ffffff","linkColor":"#ffffff","hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments number","gpDynamicSource":"next-post"} --\x3e <p class="gb-headline gb-headline-8ebf8dbe"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg></span><span class="gb-headline-text">Comments number</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]},template_5:{label:(0,p._x)("Two columns with featured image offset","label","gp-premim"),thumbnail:"post-navigation-offset.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"52018004","innerContainer":"full","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":"","marginRight":"30px","marginLeft":"30px","marginLeftTablet":"30px","marginRightMobile":"25px","marginLeftMobile":"25px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e54982d5","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"7bdd6853","columns":4,"horizontalGap":0,"verticalGapMobile":0,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4138dd74","isGrid":true,"gridId":"7bdd6853","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"borders":{"borderBottomLeftRadius":"10px","borderTopLeftRadius":"10px","borderBottomLeftRadiusTablet":"0px","borderBottomLeftRadiusMobile":"0px","borderTopLeftRadiusMobile":"5px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"83fd48c9","isDynamic":true,"blockVersion":4,"typography":{"textAlign":"left"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a3aaad4c","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"15px","paddingBottom":"15px","paddingLeft":"15px","marginRight":"1.5em","marginLeft":"-1.5em"},"borders":{"borderTopWidth":"7px","borderTopStyle":"solid","borderTopColor":"#f9f9f9","borderRightWidth":"7px","borderRightStyle":"solid","borderRightColor":"#f9f9f9","borderBottomWidth":"7px","borderBottomStyle":"solid","borderBottomColor":"#f9f9f9","borderLeftWidth":"7px","borderLeftStyle":"solid","borderLeftColor":"#f9f9f9","borderTopRightRadius":"100%","borderBottomRightRadius":"100%","borderBottomLeftRadius":"100%","borderTopLeftRadius":"100%"},"backgroundColor":"#b5b5b5","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","widthMobile":"0.8em","heightMobile":"0.8em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e <a class="gb-button gb-button-a3aaad4c" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"18430adf","isGrid":true,"gridId":"7bdd6853","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"position":"relative","zindex":2,"sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"30px","paddingRight":"30px","paddingBottom":"30px","paddingLeft":"30px","marginRight":"10px","marginRightTablet":"0px","paddingTopMobile":"10px","paddingRightMobile":"10px","paddingBottomMobile":"10px","paddingLeftMobile":"10px","marginRightMobile":"0px"},"paddingSyncUnits":true,"borders":{"borderTopRightRadius":"10px","borderBottomRightRadius":"10px","borderBottomRightRadiusTablet":"0px","borderTopRightRadiusMobile":"5px","borderBottomRightRadiusMobile":"0px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2acc62a4","element":"h3","blockVersion":3,"typography":{"fontSize":"25px","textAlign":"left","fontSizeMobile":"17px"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px","marginBottom":"0em","marginLeft":"-4em","marginLeftMobile":"-3em"},"paddingSyncUnits":true,"borders":{"borderBottomLeftRadius":"10px","borderTopLeftRadius":"10px","borderTopRightRadiusMobile":"5px","borderBottomRightRadiusMobile":"5px","borderBottomLeftRadiusMobile":"5px","borderTopLeftRadiusMobile":"5px"},"backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e <h3 class="gb-headline gb-headline-2acc62a4 gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce9878f4","isGrid":true,"gridId":"7bdd6853","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"30px","paddingRight":"30px","paddingBottom":"30px","paddingLeft":"30px","marginLeft":"10px","marginLeftTablet":"0px","paddingTopMobile":"10px","paddingRightMobile":"10px","paddingBottomMobile":"10px","paddingLeftMobile":"10px","marginLeftMobile":"0px"},"paddingSyncUnits":true,"borders":{"borderBottomLeftRadius":"10px","borderTopLeftRadius":"10px","borderTopLeftRadiusTablet":"0px","borderBottomLeftRadiusMobile":"5px","borderTopLeftRadiusMobile":"0px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9d97a37f","element":"h3","blockVersion":3,"typography":{"fontSize":"25px","textAlign":"right","fontSizeMobile":"17px"},"spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px","marginRight":"-4em","marginBottom":"0em","marginRightMobile":"-3em"},"paddingSyncUnits":true,"borders":{"borderTopRightRadius":"10px","borderBottomRightRadius":"10px","borderTopRightRadiusMobile":"5px","borderBottomRightRadiusMobile":"5px","borderBottomLeftRadiusMobile":"5px","borderTopLeftRadiusMobile":"5px"},"backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e <h3 class="gb-headline gb-headline-9d97a37f gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6c856070","isGrid":true,"gridId":"7bdd6853","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"25%","widthTablet":"50%","widthMobile":"50%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"borders":{"borderTopRightRadius":"10px","borderBottomRightRadius":"10px","borderTopRightRadiusTablet":"0px","borderTopRightRadiusMobile":"0px","borderBottomRightRadiusMobile":"5px"},"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"be12f57c","isDynamic":true,"blockVersion":4} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"139d60e4","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"15px","paddingBottom":"15px","paddingLeft":"15px","marginRight":"-1.5em","marginLeft":"1.5em"},"borders":{"borderTopWidth":"7px","borderTopStyle":"solid","borderTopColor":"#f9f9f9","borderRightWidth":"7px","borderRightStyle":"solid","borderRightColor":"#f9f9f9","borderBottomWidth":"7px","borderBottomStyle":"solid","borderBottomColor":"#f9f9f9","borderLeftWidth":"7px","borderLeftStyle":"solid","borderLeftColor":"#f9f9f9","borderTopRightRadius":"100%","borderBottomRightRadius":"100%","borderBottomLeftRadius":"100%","borderTopLeftRadius":"100%"},"backgroundColor":"#b5b5b5","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","widthMobile":"0.8em","heightMobile":"0.8em","paddingRight":"0.5em"},"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e <a class="gb-button gb-button-139d60e4" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]}},Z={basic_1:{label:(0,p._x)("Inline with avatar","label","gp-premium"),thumbnail:"post-meta-inline.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8a25fc79","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"15px","paddingRight":"0px","paddingBottom":"15px","paddingLeft":"0px","marginTop":"20px","marginBottom":"20px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#e8edf0","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#e8edf0"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"82a213c1","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3fb4928a","element":"div","blockVersion":3,"display":"inline-block","spacing":{"paddingRight":"10px","marginLeft":"10px"},"inlineWidth":true,"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author Name"} --\x3e <div class="gb-headline gb-headline-3fb4928a gb-headline-text">Author Name</div> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f9b55781","element":"div","blockVersion":3,"display":"inline-block","spacing":{"paddingLeft":"10px"},"inlineWidth":true,"borders":{"borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#e8edf0"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date"} --\x3e <div class="gb-headline gb-headline-f9b55781 gb-headline-text">Date</div> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8fca9ec9","element":"div","blockVersion":3,"display":"inline-flex","alignItems":"center","spacing":{"paddingLeft":"10px","marginLeft":"10px"},"inlineWidth":true,"borders":{"borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#e8edf0"},"hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments","gpDynamicTextTaxonomy":"category","gpDynamicNoCommentsText":"0","gpDynamicSingleCommentText":"1","gpDynamicMultipleCommentsText":"%"} --\x3e <div class="gb-headline gb-headline-8fca9ec9"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M14.2 14c.6-.5 1.8-1.6 1.8-3.2 0-1.4-1.2-2.6-2.8-3.3.5-.6.8-1.5.8-2.4C14 2.3 11.1 0 7.4 0 3.9 0 0 2.1 0 5.1c0 2.1 1.6 3.6 2.3 4.2-.1 1.2-.6 1.7-.6 1.7L.5 12H2c1.2 0 2.2-.3 3-.7.3 1.9 2.5 3.4 5.3 3.4h.5c.6.5 1.8 1.3 3.5 1.3h1.4l-1.1-.9s-.3-.3-.4-1.1zm-3.9-.3C8 13.7 6 12.4 6 10.9v-.2c.2-.2.4-.3.5-.5h.7c2.1 0 4-.7 5.2-1.9 1.5.5 2.6 1.5 2.6 2.5s-.9 2-1.7 2.5l-.3.2v.3c0 .5.2.8.3 1.1-1-.2-1.7-.7-1.9-1l-.1-.2h-1zM7.4 1C10.5 1 13 2.9 13 5.1s-2.6 4.1-5.8 4.1H6.1l-.1.2c-.3.4-1.5 1.2-3.1 1.5.1-.4.1-1 .1-1.8v-.3C2 8 .9 6.6.9 5.2.9 3 4.1 1 7.4 1z"></path></svg></span><span class="gb-headline-text">Comments</span></div> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"after-post-title"},{key:"_generate_disable_primary_post_meta",value:!0}]},basic_2:{label:(0,p._x)("Stacked with avatar","label","gp-premium"),thumbnail:"post-meta-avatar-stacked.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"a745be15","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"20px","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"20px","paddingRight":"0px","paddingBottom":"20px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fd4592f4","isDynamic":true,"blockVersion":4,"sizing":{"width":"10%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":120} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"137e86ad","isDynamic":true,"blockVersion":4,"sizing":{"width":"90%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"d7bb0434","element":"p","blockVersion":3,"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author Name"} --\x3e <p class="gb-headline gb-headline-d7bb0434 gb-headline-text">Author Name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"759ebd2f","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-759ebd2f gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"after-post-title"},{key:"_generate_disable_primary_post_meta",value:!0}]},basic_3:{label:(0,p._x)("Term buttons","label","gp-premium"),thumbnail:"post-meta-term-buttons.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"7134d7c2","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","columnGap":"10px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"e378fc0b","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"13px","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"10px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px","marginTop":"","marginRight":"","marginBottom":"","marginLeft":""},"borders":{"borderTopRightRadius":"","borderBottomRightRadius":"","borderBottomLeftRadius":"","borderTopLeftRadius":""},"backgroundColor":"#000000","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e <a class="gb-button gb-button-e378fc0b gb-button-text dynamic-term-class" href="#">Terms</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"before-post-title"},{key:"_generate_disable_primary_post_meta",value:!1}]}},Q={template_1:{label:(0,p._x)("Full footer 1","label","gp-premium"),thumbnail:"site-footer-full-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"73cd57e1","backgroundColor":"#1b1b42","shapeDividers":[],"isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"140px","paddingRight":"30px","paddingBottom":"60px","paddingLeft":"30px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7d9550dd","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"b76f312f","columns":3,"horizontalGap":80,"verticalAlignment":"center","verticalGapTablet":40,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"53cb46e2","isGrid":true,"gridId":"b76f312f","isDynamic":true,"blockVersion":4,"sizing":{"width":"60%","widthTablet":"100%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"aa19f1fb","element":"h3","blockVersion":3,"textColor":"#ffffff"} --\x3e <h3 class="gb-headline gb-headline-aa19f1fb gb-headline-text">Reach out to us for a consultation.</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"41582601","element":"p","blockVersion":3,"spacing":{"paddingRight":"100px","paddingRightTablet":"0px"},"textColor":"#ffffff"} --\x3e <p class="gb-headline gb-headline-41582601 gb-headline-text">Semper blandit suspendisse faucibus metus lobortis morbi magna vivamus per risus fermentum dapibus imperdiet praesent magnis.</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"529d5dda","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontWeight":"600","textAlign":"center"},"spacing":{"paddingTop":"10px","paddingRight":"20px","paddingBottom":"10px","paddingLeft":"20px","marginRight":"20px","marginBottomMobile":"20px"},"borders":{"borderTopWidth":"3px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"rgba(242, 245, 250, 0.8)","borderRightWidth":"3px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"rgba(242, 245, 250, 0.8)","borderBottomWidth":"3px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"rgba(242, 245, 250, 0.8)","borderLeftWidth":"3px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"rgba(242, 245, 250, 0.8)","borderTopRightRadius":"2px","borderBottomRightRadius":"2px","borderBottomLeftRadius":"2px","borderTopLeftRadius":"2px"},"backgroundColorHover":"#6212b3","backgroundColorHoverOpacity":0,"textColor":"#ffffff","textColorHover":"#f2f5fa"} --\x3e <a class="gb-button gb-button-529d5dda gb-button-text" href="https://gpsites.co/search/contact/">Contact Us</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e1bd60bb","isGrid":true,"gridId":"b76f312f","removeVerticalGapTablet":true,"isDynamic":true,"blockVersion":4,"sizing":{"width":"20%","widthTablet":"50%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"37420255","element":"p","blockVersion":3,"textColor":"#ffffff"} --\x3e <p class="gb-headline gb-headline-37420255 gb-headline-text">Company Name<br>Address Here<br>Address Here</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bf8e162e","element":"p","blockVersion":3,"display":"flex","alignItems":"center","spacing":{"marginBottom":"0px"},"textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#f2f5fa","hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingTop":".1em","paddingRight":"0.5em"}} --\x3e <p class="gb-headline gb-headline-bf8e162e"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 43.3 59.3"><path d="M35 59.3H8.3C3.7 59.3 0 55.6 0 51V8.3C0 3.7 3.7 0 8.3 0H35c4.6 0 8.3 3.7 8.3 8.3V51c0 4.6-3.7 8.3-8.3 8.3zM8.3 6C7 6 6 7 6 8.3V51c0 1.3 1 2.3 2.3 2.3H35c1.3 0 2.3-1 2.3-2.3V8.3C37.3 7 36.3 6 35 6H8.3z"></path><path d="M21.7 48.7c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"></path></svg></span><span class="gb-headline-text">+1 000 000 0000</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"c762d353","isGrid":true,"gridId":"b76f312f","removeVerticalGapTablet":true,"removeVerticalGapMobile":true,"isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","columnGap":"10px","sizing":{"width":"20%","widthTablet":"50%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"13c371f8","hasUrl":true,"ariaLabel":"instagram link","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"6px","paddingRight":"6px","paddingBottom":"6px","paddingLeft":"6px","marginRight":""},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#f2f5fa","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#f2f5fa","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#f2f5fa","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#f2f5fa","borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#f2f5fa","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e <a class="gb-button gb-button-13c371f8" href="#" aria-label="instagram link"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="1em" height="1em" aria-hidden="true"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"926332bd","hasUrl":true,"ariaLabel":"twitter link","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"6px","paddingRight":"6px","paddingBottom":"6px","paddingLeft":"6px","marginRight":""},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#f2f5fa","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#f2f5fa","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#f2f5fa","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#f2f5fa","borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#f2f5fa","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e <a class="gb-button gb-button-926332bd" href="#" aria-label="twitter link"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" aria-hidden="true"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"d957854e","hasUrl":true,"ariaLabel":"facebook link","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"6px","paddingRight":"6px","paddingBottom":"6px","paddingLeft":"6px"},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#f2f5fa","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#f2f5fa","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#f2f5fa","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#f2f5fa","borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#f2f5fa","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e <a class="gb-button gb-button-d957854e" href="#" aria-label="facebook link"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="1em" height="1em" aria-hidden="true"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"0f87c806","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column-reverse","alignItems":"center","justifyContent":"space-between","rowGapMobile":"20px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"60px","paddingRight":"0px","paddingBottom":"60px","paddingLeft":"0px","marginTop":"60px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#ffffff"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e6861bde","isDynamic":true,"blockVersion":4,"sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"97c10964","element":"p","blockVersion":3,"typography":{"fontSize":"17px"},"spacing":{"marginBottom":"0px"},"textColor":"#ffffff"} --\x3e <p class="gb-headline gb-headline-97c10964 gb-headline-text">© Company Name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7c528044","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","alignItemsMobile":"flex-start","columnGap":"20px","rowGapMobile":"10px","sizing":{"width":"","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"907cc664","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"17px","textAlign":"center"},"fontSize":"","spacing":{"marginRight":""},"textColor":"#ffffff","textColorHover":"#f2f5fa"} --\x3e <a class="gb-button gb-button-907cc664 gb-button-text" href="#">Privacy Policy</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a6a340bc","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"17px","textAlign":"center"},"fontSize":"","textColor":"#ffffff","textColorHover":"#f2f5fa"} --\x3e <a class="gb-button gb-button-a6a340bc gb-button-text" href="#">Terms of Service</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e'},template_2:{label:(0,p._x)("Full footer 2","label","gp-premium"),thumbnail:"site-footer-full-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"e224c1dd","backgroundColor":"#fafbfc","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"80px","paddingRight":"20px","paddingBottom":"80px","paddingLeft":"20px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"0836612c","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"34307d45","element":"p","blockVersion":3,"typography":{"fontSize":"14px","letterSpacing":"0.3em","fontWeight":"bold","textTransform":"uppercase","textAlign":"center"},"spacing":{"marginTop":"10px"},"textColor":"#2e3d4d"} --\x3e <p class="gb-headline gb-headline-34307d45 gb-headline-text">Your Company Name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4068688a","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","rowGapMobile":"20px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"60px","paddingRight":"20px","paddingBottom":"60px","paddingLeft":"20px","marginTop":"60px","marginBottom":"60px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#5c7a99","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#5c7a99"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"12d457ad","isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"0px","paddingLeft":"20px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8818b435","element":"p","blockVersion":3,"typography":{"fontSize":"13px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase"},"spacing":{"marginBottom":"0px"}} --\x3e <p class="gb-headline gb-headline-8818b435 gb-headline-text">PH +1 000 000 0000</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"68ec175a","isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"0px","paddingLeft":"20px"},"borders":{"borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#5c7a99","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#5c7a99","borderTopWidthMobile":"0px","borderTopStyleMobile":"solid","borderTopColorMobile":"#5c7a99","borderRightWidthMobile":"0px","borderRightStyleMobile":"solid","borderRightColorMobile":"#5c7a99","borderBottomWidthMobile":"0px","borderBottomStyleMobile":"solid","borderBottomColorMobile":"#5c7a99","borderLeftWidthMobile":"0px","borderLeftStyleMobile":"solid","borderLeftColorMobile":"#5c7a99"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"cf4dcfab","element":"p","blockVersion":3,"typography":{"fontSize":"13px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase"},"spacing":{"marginBottom":"0px"}} --\x3e <p class="gb-headline gb-headline-cf4dcfab gb-headline-text">24 M Drive<br>East Hampton, NY 11937</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"47f78435","removeVerticalGapMobile":true,"isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"100%","height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"0px","paddingLeft":"20px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"2800ad9a","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.9em","height":"0.9em","paddingRight":"0.5em"}} --\x3e <span class="gb-button gb-button-2800ad9a"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="1em" height="1em" aria-hidden="true"><path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"eb98a6f6","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.9em","height":"0.9em","paddingRight":"0.5em"}} --\x3e <span class="gb-button gb-button-eb98a6f6"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="1em" height="1em" aria-hidden="true"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"ab839eb9","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e <span class="gb-button gb-button-ab839eb9"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="1em" height="1em" aria-hidden="true"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"5b757c38","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"marginRight":"20px"},"textColor":"#2e3d4d","textColorHover":"#5c7a99","hasIcon":true,"removeText":true,"iconStyles":{"width":"0.8em","height":"0.8em","paddingRight":"0.5em"}} --\x3e <span class="gb-button gb-button-5b757c38"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" aria-hidden="true"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"77c9f71e","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","flexDirectionMobile":"column","alignItems":"center","justifyContent":"space-between","rowGapMobile":"20px"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc32f783","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1e50faeb","element":"p","blockVersion":3,"typography":{"fontSize":"12px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase","textAlign":"left","textAlignMobile":"center"},"spacing":{"marginBottom":"0px"}} --\x3e <p class="gb-headline gb-headline-1e50faeb gb-headline-text">© Your Copyright Message</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b706d851","removeVerticalGapMobile":true,"isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","justifyContentMobile":"center","columnGap":"20px","rowGap":"10px","sizing":{"width":"50%","widthMobile":"100%","height":"","maxWidth":""},"typography":{},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"373aae0d","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"12px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase","textAlign":"center"},"fontSize":"","spacing":{"marginRight":""},"textColor":"#2e3d4d","textColorHover":"#5c7a99"} --\x3e <span class="gb-button gb-button-373aae0d gb-button-text"><strong>Privacy Policy</strong></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"3cd1cf71","hasUrl":false,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"12px","letterSpacing":"0.2em","fontWeight":"bold","textTransform":"uppercase","textAlign":"center"},"fontSize":"","textColor":"#2e3d4d","textColorHover":"#5c7a99"} --\x3e <span class="gb-button gb-button-3cd1cf71 gb-button-text"><strong>Terms of Service</strong></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e'}},ee={template_1:{label:(0,p._x)("Basic layout with term buttons","label","gp-premium"),thumbnail:"content-template-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d2cafe96","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"75c01790","isDynamic":true,"blockVersion":4} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"38620841","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"13px","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"5px","paddingRight":"10px","paddingBottom":"5px","paddingLeft":"10px"},"backgroundColor":"#000000","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e <a class="gb-button gb-button-38620841 gb-button-text dynamic-term-class" href="#">Terms</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f593ba8c","blockVersion":3,"typography":{"fontWeight":"bold"},"spacing":{"marginBottom":"30px"},"linkColor":"#000000","linkColorHover":"#858585","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Post Title"} --\x3e <h2 class="gb-headline gb-headline-f593ba8c gb-headline-text">Post Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"1ed16867","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","justifyContent":"space-between","columnGap":"10px","rowGap":"10px","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"dc72dc13","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"c7b33e8b","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px","marginLeft":"10px"},"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name"} --\x3e <p class="gb-headline gb-headline-c7b33e8b gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ec93a944","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"af8af68e","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-af8af68e gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b70b46a6","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"30px","marginBottom":"30px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"medium_large","linkTo":"single-post"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"750"},{key:"_generate_use_theme_post_container",value:!0}]},template_2:{label:(0,p._x)("Layout with offset content","label","gp-premium"),thumbnail:"content-template-offset.jpg",content:'\x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large","linkTo":"single-post"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"05e7d83e","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px","marginTop":"-65px","marginRight":"40px","marginBottom":"20px","marginLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"83898f1c","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"700","textTransform":"uppercase"},"spacing":{"marginBottom":"20px"},"linkColor":"#000000","linkColorHover":"#abb8c3","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-83898f1c gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"98a0e67b","blockVersion":3,"typography":{"fontSize":"28px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-98a0e67b gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fed802f7","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","columnGap":"5px","rowGap":"5px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"20px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"74fcc8db","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"width":"66.66%","widthMobile":"66.66%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"15px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":35,"avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"33ed7660","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginLeft":"10px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2def9732","element":"p","blockVersion":3,"typography":{"fontSize":"15px"},"spacing":{"marginBottom":"0px"},"borders":{"borderRightWidth":"0px","borderRightStyle":"solid"},"gpDynamicTextType":"post-author","gpDynamicTextReplace":"Post author name"} --\x3e <p class="gb-headline gb-headline-2def9732 gb-headline-text">Post author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"dd34513e","element":"p","blockVersion":3,"typography":{"fontSize":"12px"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"borders":{"borderBottomWidth":"0px","borderBottomStyle":"solid"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-dd34513e gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6d144082","verticalAlignment":"center","isDynamic":true,"blockVersion":4,"sizing":{"width":"33.33%","widthMobile":"33.33%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"15px"},"gpInlinePostMetaJustify":"flex-end"} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"7c89fc64","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontWeight":"700","textTransform":"uppercase","textAlign":"center"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"textColor":"#000000","textColorHover":"#abb8c3","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-7c89fc64 gb-button-text" href="#">More</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_3:{label:(0,p._x)("Layout with featured image overlay","label","gp-premim"),thumbnail:"content-template-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99e0f8fe","gradient":true,"gradientDirection":180,"gradientColorOne":"#000000","gradientColorOneOpacity":0.62,"gradientColorTwo":"#000000","gradientColorTwoOpacity":0,"gradientSelector":"pseudo-element","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"minHeight":"420px","height":"","maxWidth":""},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px"},"borders":{"borderTopRightRadius":"12px","borderBottomRightRadius":"12px","borderBottomLeftRadius":"12px","borderTopLeftRadius":"12px"},"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"95ce0971","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"864271b1","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","columnGap":"5px","rowGap":"5px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottom":"10px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bc0ec4fa","element":"p","blockVersion":3,"typography":{"fontSize":"13px","fontWeight":"700","textTransform":"uppercase"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category","gpDynamicTextTaxonomySeparator":" / "} --\x3e <p class="gb-headline gb-headline-bc0ec4fa gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"5e2dac4c","element":"p","blockVersion":3,"display":"flex","alignItems":"center","justifyContent":"flex-end","typography":{"fontSize":"12px","textAlign":"right"},"spacing":{"marginBottom":"0px"},"hasIcon":true,"iconStyles":{"width":"1.4em","height":"1.4em","paddingRight":"0.5em"},"gpDynamicTextType":"comments-number","gpDynamicTextReplace":"COMMENTS","gpDynamicNoCommentsText":"0","gpDynamicSingleCommentText":"1","gpDynamicMultipleCommentsText":"%"} --\x3e <p class="gb-headline gb-headline-5e2dac4c"><span class="gb-icon"><svg stroke-miterlimit="2" stroke-linejoin="round" clip-rule="evenodd" fill-rule="evenodd" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 7"><path fill-rule="nonzero" d="M.67 0A.674.674 0 000 .67v4.093c0 .367.303.671.67.671h.555V6.73c0 .145.119.265.264.265a.26.26 0 00.157-.052l2.047-1.509h4.104c.366 0 .67-.304.67-.67V.67a.675.675 0 00-.67-.67H.67z"></path></svg></span><span class="gb-headline-text">COMMENTS</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"b1e898af","blockVersion":3,"typography":{"fontSize":"24px"},"marginUnit":"%","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-b1e898af gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"64bb1fda","isDynamic":true,"blockVersion":4,"display":"flex","justifyContent":"flex-end","spacing":{"marginTop":"300px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"95f40917","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"12px","fontWeight":"700","textTransform":"uppercase","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"10px","paddingRight":"20px","paddingBottom":"10px","paddingLeft":"20px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#ffffff","borderTopColorHover":"#ffffff","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#ffffff","borderRightColorHover":"#ffffff","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#ffffff","borderBottomColorHover":"#ffffff","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#ffffff","borderLeftColorHover":"#ffffff","borderTopRightRadius":"8px","borderBottomRightRadius":"8px","borderBottomLeftRadius":"8px","borderTopLeftRadius":"8px"},"backgroundColor":"#ffffff","backgroundColorHover":"#ffffff","backgroundColorHoverOpacity":0.75,"textColor":"#000000","textColorHover":"#000000","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-95f40917 gb-button-text" href="#">Read More</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_4:{label:(0,p._x)("Layout with slanted shape divider","label","gp-premim"),thumbnail:"content-template-slant.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af7ec3a","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true,"borders":{"borderTopWidth":"0px","borderTopStyle":"solid","borderTopColor":"#000000","borderRightWidth":"0px","borderRightStyle":"solid","borderRightColor":"#000000","borderBottomWidth":"0px","borderBottomStyle":"solid","borderBottomColor":"#000000","borderLeftWidth":"0px","borderLeftStyle":"solid","borderLeftColor":"#000000"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc5683f8","shapeDividers":[{"shape":"gb-angle-1","color":"#ffffff","colorOpacity":1,"location":"bottom","height":50,"heightTablet":"","heightMobile":"","width":100,"widthTablet":"","widthMobile":"","flipHorizontally":false,"zindex":""}],"isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginTop":"0px","marginBottom":"0px"},"paddingSyncUnits":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7f6bf8cd","backgroundColor":"#ffffff","shapeDividers":[],"isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"25px","paddingBottom":"15px","paddingLeft":"25px","marginTop":"0px","marginRight":"0px","marginBottom":"0px","marginLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"7fd9c317","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"5px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-7fd9c317 gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a8ee15fd","blockVersion":3,"typography":{"fontSize":"30px"},"spacing":{"marginBottom":"15px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e <h2 class="gb-headline gb-headline-a8ee15fd gb-headline-text">Hello World</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"72735d03","isDynamic":true,"blockVersion":4,"display":"flex","justifyContent":"flex-end"} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"120ee35e","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontWeight":"700","textTransform":"uppercase","textAlign":"center"},"spacing":{"paddingTop":"15px","paddingRight":"20px","paddingBottom":"15px","paddingLeft":"20px"},"backgroundColorHover":"#222222","textColor":"#000000","textColorHover":"#ffffff","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-120ee35e gb-button-text" href="#">Read More</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_5:{label:(0,p._x)("Layout with centered content","label","gp-premim"),thumbnail:"content-template-centered.jpg",content:'\x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5a785d21","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"25px","paddingRight":"25px","paddingBottom":"25px","paddingLeft":"25px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"82629d5c","blockVersion":3,"typography":{"fontSize":"25px","fontWeight":"700"},"linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e <h2 class="gb-headline gb-headline-82629d5c gb-headline-text">Hello World</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":15,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a1b8a609","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"fontSize":"15px","textTransform":"uppercase","textAlign":"center"},"fontSize":"","spacing":{"paddingTop":"8px","paddingRight":"20px","paddingBottom":"8px","paddingLeft":"20px"},"borders":{"borderTopRightRadius":"50px","borderBottomRightRadius":"50px","borderBottomLeftRadius":"50px","borderTopLeftRadius":"50px"},"backgroundColor":"#cf2e2e","backgroundColorHover":"#222222","textColor":"#ffffff","textColorHover":"#ffffff","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-a1b8a609 gb-button-text" href="#">Read more</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_6:{label:(0,p._x)("Layout with borders","label","gp-premim"),thumbnail:"content-template-borders.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af4cc7c","backgroundColor":"#ffffff","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"5px","paddingRight":"5px","paddingBottom":"5px","paddingLeft":"5px"},"paddingSyncUnits":true,"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#b6b6b6","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#b6b6b6","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#b6b6b6","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#b6b6b6","borderTopRightRadius":"2px","borderBottomRightRadius":"2px","borderBottomLeftRadius":"2px","borderTopLeftRadius":"2px"}} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b69b5c43","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"30px","paddingRight":"30px","paddingBottom":"30px","paddingLeft":"30px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8dfa4238","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"700","textTransform":"uppercase"},"spacing":{"marginBottom":"5px"},"textColor":"#0693e3","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-8dfa4238 gb-headline-text dynamic-term-class">Terms</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"29491daa","blockVersion":3,"typography":{"fontSize":"30px"},"spacing":{"marginBottom":"15px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e <h2 class="gb-headline gb-headline-29491daa gb-headline-text">Hello World</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d5dadc43","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","sizing":{"height":"","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"15px","paddingRight":"10px","paddingBottom":"10px","paddingLeft":"10px"},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#b6b6b6"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2c30b1f9","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fc06eba3","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginBottom":"0px"},"textColor":"#b6b6b6","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicTextTaxonomy":"category","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-fc06eba3 gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9bb8c373","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"0fcad1cd","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textTransform":"uppercase","textAlign":"center"},"spacing":{"paddingTop":"8px","paddingRight":"12px","paddingBottom":"8px","paddingLeft":"12px"},"borders":{"borderTopWidth":"2px","borderTopStyle":"solid","borderTopColor":"#0693e3","borderTopColorHover":"#222222","borderRightWidth":"2px","borderRightStyle":"solid","borderRightColor":"#0693e3","borderRightColorHover":"#222222","borderBottomWidth":"2px","borderBottomStyle":"solid","borderBottomColor":"#0693e3","borderBottomColorHover":"#222222","borderLeftWidth":"2px","borderLeftStyle":"solid","borderLeftColor":"#0693e3","borderLeftColorHover":"#222222","borderTopRightRadius":"2px","borderBottomRightRadius":"2px","borderBottomLeftRadius":"2px","borderTopLeftRadius":"2px"},"backgroundColorHover":"#222222","textColor":"#0693e3","textColorHover":"#ffffff","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-0fcad1cd gb-button-text" href="#">Read more</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_7:{label:(0,p._x)("Landscape layout","label","gp-premium"),thumbnail:"content-template-landscape.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"918d68ce","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"","paddingRight":"","paddingBottom":"","paddingLeft":""},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ae18e4a9","columns":2,"horizontalGap":30,"verticalGapMobile":10,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ff15641f","isGrid":true,"gridId":"ae18e4a9","isDynamic":true,"blockVersion":4,"sizing":{"width":"40%","widthTablet":"40%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpRemoveContainerCondition":"no-featured-image"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"medium_large","linkTo":"single-post"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"64596747","isGrid":true,"gridId":"ae18e4a9","verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"60%","widthTablet":"60%","widthMobile":"100%","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"20px","paddingBottom":"10px","paddingLeft":"0px","paddingTopMobile":"10px","paddingRightMobile":"10px","paddingBottomMobile":"10px","paddingLeftMobile":"10px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce3f6f48","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottom":"10px"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fdbba1f9","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"900","textTransform":"uppercase"},"spacing":{"paddingRight":"10px","marginRight":"10px","marginBottom":"0px"},"borders":{"borderRightWidth":"1px","borderRightStyle":"solid"},"className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-fdbba1f9 gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"6df4d39e","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-6df4d39e gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"84923e14","blockVersion":3,"typography":{"fontSize":"28px"},"spacing":{"marginBottom":"20px"},"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-84923e14 gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":20} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"800"},{key:"_generate_use_theme_post_container",value:!0}]}},te={template_1:{label:(0,p._x)("Default next and previous buttons","label","gp-premium"),thumbnail:"archive-navigation-buttons-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"fb6c192f","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"space-between","columnGap":"10px","rowGap":"10px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"af38c5d0","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"aa4ef21a","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"hasIcon":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"className":"button","gpDynamicLinkType":"previous-posts"} --\x3e <a class="gb-button gb-button-aa4ef21a button" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span><span class="gb-button-text">Previous</span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4f3ab895","isDynamic":true,"blockVersion":4,"sizing":{"width":"50%","widthMobile":"50%","height":"","maxWidth":""},"typography":{"textAlign":"right"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"84010058","hasUrl":true,"blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconStyles":{"width":"1em","height":"1em","paddingLeft":"0.5em"},"className":"button","gpDynamicLinkType":"next-posts"} --\x3e <a class="gb-button gb-button-84010058 button" href="#"><span class="gb-button-text">Next</span><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_main_content"},{key:"_generate_hook_priority",value:"20"},{key:"_generate_disable_archive_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_2:{label:(0,p._x)("Rounded buttons with icon","label","gp-premium"),thumbnail:"archive-navigation-buttons-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"5edb5029","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"center","columnGap":"10px","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"4c23c469","hasUrl":true,"ariaLabel":"Previous page","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px","marginTop":"","marginRight":"","marginBottom":"","marginLeft":""},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#000000","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#000000","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#000000","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#000000","borderTopRightRadius":"100px","borderBottomRightRadius":"100px","borderBottomLeftRadius":"100px","borderTopLeftRadius":"100px"},"backgroundColor":"#ffffff","backgroundColorHover":"#222222","textColor":"#000000","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"previous-posts"} --\x3e <a class="gb-button gb-button-4c23c469" href="#" aria-label="Previous page"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" width="1em" height="1em" aria-hidden="true"><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"55622f43","hasUrl":true,"ariaLabel":"Next page","blockVersion":4,"display":"inline-flex","alignItems":"center","justifyContent":"center","typography":{"textAlign":"center"},"spacing":{"paddingTop":"20px","paddingRight":"20px","paddingBottom":"20px","paddingLeft":"20px","marginTop":"","marginRight":"","marginBottom":"","marginLeft":""},"borders":{"borderTopWidth":"1px","borderTopStyle":"solid","borderTopColor":"#000000","borderRightWidth":"1px","borderRightStyle":"solid","borderRightColor":"#000000","borderBottomWidth":"1px","borderBottomStyle":"solid","borderBottomColor":"#000000","borderLeftWidth":"1px","borderLeftStyle":"solid","borderLeftColor":"#000000","borderTopRightRadius":"100px","borderBottomRightRadius":"100px","borderBottomLeftRadius":"100px","borderTopLeftRadius":"100px"},"backgroundColor":"#ffffff","backgroundColorHover":"#222222","textColor":"#000000","textColorHover":"#ffffff","hasIcon":true,"removeText":true,"iconStyles":{"width":"1em","height":"1em","paddingRight":"0.5em"},"gpDynamicLinkType":"next-posts"} --\x3e <a class="gb-button gb-button-55622f43" href="#" aria-label="Next page"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" width="1em" height="1em" aria-hidden="true"><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_main_content"},{key:"_generate_hook_priority",value:"20"},{key:"_generate_disable_archive_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]}},ne={template_1:{label:(0,p._x)("Basic single post page hero","label","gp-premium"),thumbnail:"page-hero-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8b6d1c4b","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.3,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"innerZindex":1,"isDynamic":true,"blockVersion":4,"position":"relative","overflowX":"hidden","overflowY":"hidden","sizing":{"height":"","maxWidth":""},"typography":{"textAlign":"center"},"spacing":{"paddingTop":"150px","paddingRight":"40px","paddingBottom":"150px","paddingLeft":"40px"},"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"3f517a84","isDynamic":true,"blockVersion":4,"position":"relative","zindex":1,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"62a8b2cc","element":"h1","blockVersion":3,"typography":{"fontSize":"50px"},"gpDynamicTextType":"title","gpDynamicTextReplace":"Page Title"} --\x3e <h1 class="gb-headline gb-headline-62a8b2cc gb-headline-text">Page Title</h1> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"f49b9f49","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","justifyContent":"center","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2e715b13","element":"p","blockVersion":3,"spacing":{"marginBottom":"0px","marginLeft":"10px"},"gpDynamicTextType":"post-author","gpDynamicTextReplace":"Author name"} --\x3e <p class="gb-headline gb-headline-2e715b13 gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"dedbe2c8","element":"p","blockVersion":3,"spacing":{"paddingLeft":"20px","marginBottom":"0px","marginLeft":"20px"},"borders":{"borderLeftWidth":"1px","borderLeftStyle":"solid"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-dedbe2c8 gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_header"},{key:"_generate_disable_title",value:!0},{key:"_generate_disable_featured_image",value:!0},{key:"_generate_disable_primary_post_meta",value:!0}]},template_2:{label:(0,p._x)("Single post hero with excerpt","label","gp-premium"),thumbnail:"page-hero-excerpt.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"70385d72","isDynamic":true,"blockVersion":4,"sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"80px","paddingRight":"40px","paddingBottom":"80px","paddingLeft":"40px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"01bfa731","isDynamic":true,"blockVersion":4,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"}} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"5dc55b95","columns":2,"horizontalGap":80,"verticalGap":20,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"579e5b87","isGrid":true,"gridId":"5dc55b95","verticalAlignment":"center","isDynamic":true,"blockVersion":4,"display":"flex","flexDirection":"column","justifyContent":"center","sizing":{"width":"45%","widthTablet":"60%","widthMobile":"100%","height":"100%","maxWidth":""},"typography":{"fontSize":"14px"},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"}} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d909e043","isDynamic":true,"blockVersion":4,"display":"flex","alignItems":"center","sizing":{"height":"","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px","marginBottom":"10px"},"paddingSyncUnits":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9fdb86dc","element":"p","blockVersion":3,"typography":{"fontSize":"14px","fontWeight":"900","textTransform":"uppercase"},"spacing":{"paddingRight":"10px","marginRight":"10px","marginBottom":"0px"},"borders":{"borderRightWidth":"1px","borderRightStyle":"solid"},"textColor":"#000000","linkColor":"#000000","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-9fdb86dc gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1ee4cbcf","element":"p","blockVersion":3,"typography":{"fontSize":"14px"},"spacing":{"marginRight":"10px","marginBottom":"0px"},"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-1ee4cbcf gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"56c7eb13","blockVersion":3,"spacing":{"marginBottom":"10px"},"gpDynamicTextType":"title","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-56c7eb13 gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","useThemeMoreLink":false} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4e92c4e8","isGrid":true,"gridId":"5dc55b95","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"element","opacity":1,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"isDynamic":true,"blockVersion":4,"sizing":{"width":"55%","widthTablet":"40%","widthMobile":"100%","minHeight":"400px","minHeightMobile":"250px","height":"100%","maxWidth":""},"spacing":{"paddingTop":"0px","paddingRight":"0px","paddingBottom":"0px","paddingLeft":"0px"},"gpDynamicImageBg":"featured-image","gpUseFallbackImageBg":true} /--\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_header"},{key:"_generate_disable_title",value:!0},{key:"_generate_disable_featured_image",value:!0},{key:"_generate_disable_primary_post_meta",value:!0}]}},ie=window.wp.plugins,ae=window.wp.editPost,oe=window.wp.data,re=window.wp.domReady,pe=n.n(re),le=n(893);function ce(e,t){return String(e)===String(t)}function ge(e,t){return Array.isArray(e)?e.map((e=>t.find((t=>ce(t.value,e))))).filter((e=>e)):t.find((t=>ce(t.value,e)))||null}function se(e){return Array.isArray(e)?e:[e]}function de(e,t,n){if(!e&&!n)return t&&t.length&&t[0].name||"";const i=Array.isArray(e);return e||i?i?e.map((e=>e.name)).filter(Boolean).join(", "):e.name||"":""}function me(e){return e?Array.isArray(e)?e.filter(Boolean).map((e=>e.value)):e.value||null:null}function ue(e,t){return t.length?e.filter((e=>function(e,t){const n=e.length,i=t.length;if(n>i)return!1;if(t.indexOf(e)>=0)return!0;e:for(let a=0,o=0;a<n;a+=1){const n=e.charCodeAt(a);for(;o<i;)if(t.charCodeAt(o++)===n)continue e;return!1}return!0}(t.toLowerCase(),`${e.name} ${e.group||""}`.trim().toLowerCase()))):e}function be(e){let t=0;return e.map((e=>"group"===e.type?e.items.map((n=>({...n,group:e.name,index:t++}))):{...e,index:t++})).flat()}const xe=()=>{};function he({options:e,defaultValue:t,value:n,multiple:i,search:o,onChange:r=xe,onFocus:p=xe,onBlur:l=xe,closeOnSelect:c=!0,placeholder:g,getOptions:s,filterOptions:d,useFuzzySearch:m=!0,debounce:u}){const b=(0,a.useRef)(),[x,h]=(0,a.useState)(null),[f,y]=(0,a.useState)(""),[_,k]=(0,a.useState)(!1),[v,w]=function(e,t,n,i){const[o,r]=(0,a.useState)((()=>be(e))),[p,l]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{let e;if(t)return e=setTimeout((()=>{const e=t(i,o);l(!0),Promise.resolve(e).then((e=>r(be(e)))).finally((()=>l(!1)))}),n),()=>{clearTimeout(e)}}),[i]),(0,a.useEffect)((()=>{r(be(e))}),[e]),[o,p]}(e,s,u,f),T=e=>{const t=function(e,t,n){if(!e)return t;if(!n)return e;if(!t)return se(e);const i=se(t),a=i.findIndex((t=>ce(t.value,e.value)));return a>=0?i.splice(a,1):i.push(e),i}(ge(decodeURIComponent(e),v),x,i);void 0===n&&h(t),r(me(t),t),setTimeout((()=>{b.current&&c&&b.current.blur()}),0)},C=function(e){const t=[];return e.forEach((e=>{if(e.group){const n=t.findIndex((t=>"group"===t.type&&t.name===e.group));n>=0?t[n].items.push(e):t.push({items:[e],type:"group",name:e.group})}else t.push(e)})),t}((E=[m?ue:null,...d||[]],M=v,z=f,E.filter(Boolean).reduce(((e,t)=>t(e,z)),M).map(((e,t)=>({...e,index:t}))))),[D,R,S]=function(e,t,n){const[i,o]=(0,a.useState)(-1);return[{onKeyDown:t=>{const n=t.key.replace("Arrow","").toLowerCase();"down"!==n&&"up"!==n||(t.preventDefault(),o(function(e,t,n){const i=n.length-1;let a=null,o=-1,r=e;for(;o++<=i&&(!a||a.disabled);)r="down"===t?r+1:r-1,r<0?r=i:r>i&&(r=0),a=n[r];return r}(i,n,e)))},onKeyUp:a=>{"Escape"===a.key?(a.preventDefault(),n.current.blur()):"Enter"===a.key&&(a.preventDefault(),e[i]&&t(e[i].value))}},i,o]}(C,T,b),I={search:f,focus:_,option:x,value:me(x),fetching:w,highlighted:R,options:C,displayValue:de(x,v,g)},B={tabIndex:"0",readOnly:!o,placeholder:g,value:_&&o?f:I.displayValue,ref:b,...D,onFocus:e=>{k(!0),p(e)},onBlur:e=>{k(!1),y(""),S(-1),l(e)},onMouseDown:e=>{_&&(e.preventDefault(),b.current.blur())},onChange:o?({target:e})=>y(e.value):null},L={tabIndex:"-1",onMouseDown(e){e.preventDefault(),T(e.currentTarget.value)}};var E,M,z;return(0,a.useEffect)((()=>{h(ge(void 0===n?t:n,v))}),[n,v]),[I,B,L]}const fe=e=>"string"==typeof e,ye=(e,t)=>fe(t)?`${t}-${e}`:t[e];function _e({optionProps:e,highlighted:t,selected:n,option:i,cls:a,renderOption:o,disabled:r}){const p={...e,value:encodeURIComponent(i.value),disabled:r},l=a({option:!0,"is-selected":n,"is-highlighted":t});return(0,le.jsxs)("li",{className:a("row"),role:"menuitem","data-index":i.index,children:[o&&o(p,i,{selected:n,highlighted:t},l),!o&&(0,le.jsx)("button",{type:"button",className:l,...p,children:i.name})]})}var ke=(0,a.memo)(_e);function ve(e){const{options:t,cls:n,renderOption:i,renderGroupHeader:a,optionProps:o,snapshot:r,disabled:p}=e;return(0,le.jsx)("ul",{className:n("options"),children:t.map((t=>{return"group"===t.type?(0,le.jsx)("li",{role:"none",className:n("row"),children:(0,le.jsxs)("div",{className:n("group"),children:[(0,le.jsx)("div",{className:n("group-header"),children:a?a(t.name):t.name}),(0,le.jsx)(ve,{...e,options:t.items})]})},t.name):(0,le.jsx)(ke,{option:t,optionProps:o,cls:n,renderOption:i,selected:(l=t,c=r.option,!!c&&(Array.isArray(c)?c.findIndex((e=>e.value===l.value))>=0:c.value===l.value)),highlighted:r.highlighted===t.index,disabled:t.disabled||p},t.value);var l,c}))})}var we=(0,a.memo)(ve);const Te=(0,a.forwardRef)((({disabled:e,placeholder:t,multiple:n,search:i,autoFocus:o,autoComplete:r,id:p,closeOnSelect:l,className:c,renderValue:g,renderOption:s,renderGroupHeader:d,fuzzySearch:m,emptyMessage:u,value:b,...x},h)=>{const f=(0,a.useRef)(null),y=e=>function(e,t){return fe(e)?ye(e,t):Object.entries(e).filter((([e,t])=>e&&t)).map((([e])=>ye(e,t))).join(" ")}(e,c),[_,k]=(0,a.useState)(b),[v,w,T]=he({value:_,placeholder:t,multiple:n,search:i,closeOnSelect:l&&!n,useFuzzySearch:m,...x}),{highlighted:C,value:D,fetching:R,focus:S}=v,I={...w,autoFocus:o,autoComplete:r,disabled:e};return(0,a.useEffect)((()=>{const{current:e}=f;if(e){const t=Array.isArray(D)?D[0]:D,n=e.querySelector(C>-1?`[data-index="${C}"]`:`[value="${encodeURIComponent(t)}"]`);if(n){const t=e.getBoundingClientRect(),i=n.getBoundingClientRect();e.scrollTop=n.offsetTop-t.height/2+i.height/2}}}),[D,C,f.current]),(0,a.useEffect)((()=>k(b)),[b]),(0,le.jsxs)("div",{ref:h,id:p,className:y({container:!0,"is-multiple":n,"is-disabled":e,"is-loading":R,"has-focus":S}),children:[(!n||t||i)&&(0,le.jsxs)("div",{className:y("value"),children:[g&&g(I,v,y("input")),!g&&(0,le.jsx)("input",{...I,className:y("input")})]}),(0,le.jsxs)("div",{className:y("select"),ref:f,onMouseDown:e=>e.preventDefault(),children:[v.options.length>0&&(0,le.jsx)(we,{options:v.options,optionProps:T,renderOption:s,renderGroupHeader:d,disabled:e,snapshot:v,cls:y}),!v.options.length&&(0,le.jsx)("ul",{className:y("options"),children:!v.options.length&&u&&(0,le.jsx)("li",{className:y("not-found"),children:u})})]})]})}));Te.defaultProps={options:[],fuzzySearch:!0,printOptions:"auto",closeOnSelect:!0,debounce:250,autoComplete:"on",className:"select-search"},Te.displayName="SelectSearch";var Ce=(0,a.memo)(Te);function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Re(e){return(0,a.createElement)("div",{className:"gp-select-search"},(0,a.createElement)(Ce,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)))}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ie(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){i(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 Be=function(e){D(o,e);var t,n,i=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=S(t);if(n){var a=S(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return R(this,e)});function o(){var e;return k(this,o),(e=i.apply(this,arguments)).getWidth=e.getWidth.bind(T(e)),e.state={installingPlugin:!1,pluginInstalled:!1},e}return w(o,[{key:"componentDidMount",value:function(){var e,t=document.createElement("style");t.id="gp-block-elements-css",document.head.appendChild(t),t.innerHTML="html {--gp-block-element-width: ".concat(this.getWidth().width).concat(this.getWidth().unit,"}");var n=document.querySelector(".editor-styles-wrapper");if(null==n||null===(e=n.style)||void 0===e||e.setProperty("--content-width",this.getWidth().width+this.getWidth().unit),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["generatepress-block-element/generatepress-block-element"]){var i=wp.data.select("core/edit-post").getPreference("panels")["generatepress-block-element/generatepress-block-element"];void 0!==i&&i.opened||wp.data.dispatch("core/edit-post").toggleEditorPanelOpened("generatepress-block-element/generatepress-block-element")}if(this.props.meta._generate_block_type||this.props.updateMeta({_generate_block_type:"hook"}),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["page-attributes"]){var a=wp.data.select("core/edit-post").getPreference("panels")["page-attributes"];void 0===a||!a.enabled&&void 0!==a.enabled||wp.data.dispatch("core/edit-post").toggleEditorPanelEnabled("page-attributes")}this.props.elementParent&&document.body.classList.add("element-has-parent")}},{key:"componentDidUpdate",value:function(){var e;document.getElementById("gp-block-elements-css").innerHTML="html {--gp-block-element-width: ".concat(this.getWidth().width).concat(this.getWidth().unit,"}");var t=document.querySelector(".editor-styles-wrapper");null==t||null===(e=t.style)||void 0===e||e.setProperty("--content-width",this.getWidth().width+this.getWidth().unit);var n=wp.data.select("core/editor").getEditedPostAttribute("meta");if("content-template"===n._generate_block_type&&(n._generate_use_theme_post_container?document.body.classList.contains("using-theme-post-container")||document.body.classList.add("using-theme-post-container"):document.body.classList.contains("using-theme-post-container")&&document.body.classList.remove("using-theme-post-container")),"archive-navigation-template"!==n._generate_block_type&&"post-navigation-template"!==n._generate_block_type||(n._generate_use_archive_navigation_container?document.body.classList.contains("using-theme-pagination-container")||document.body.classList.add("using-theme-pagination-container"):document.body.classList.contains("using-theme-pagination-container")&&document.body.classList.remove("using-theme-pagination-container")),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["page-attributes"]){var i=wp.data.select("core/edit-post").getPreference("panels")["page-attributes"];void 0!==i&&i.enabled&&wp.data.dispatch("core/edit-post").toggleEditorPanelEnabled("page-attributes")}!this.props.elementParent&&!n._generate_post_loop_item_display||document.body.classList.contains("element-has-parent")?this.props.elementParent&&n._generate_post_loop_item_display||!document.body.classList.contains("element-has-parent")||document.body.classList.remove("element-has-parent"):document.body.classList.add("element-has-parent")}},{key:"getWidth",value:function(){var e=wp.data.select("core/editor").getEditedPostAttribute("meta"),t=100,n="%";return"left-sidebar"===e._generate_block_type&&(t=gpPremiumBlockElements.leftSidebarWidth,n="px"),"right-sidebar"===e._generate_block_type&&(t=gpPremiumBlockElements.rightSidebarWidth,n="px"),"content-template"!==e._generate_block_type&&"post-meta-template"!==e._generate_block_type&&"post-navigation-template"!==e._generate_block_type||(t=gpPremiumBlockElements.contentWidth,n="px"),e._generate_block_element_editor_width&&(t=wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_element_editor_width),e._generate_block_element_editor_width_unit&&(n=wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_element_editor_width_unit),{width:t,unit:n}}},{key:"render",value:function(){var e=this.props,t=e.meta,n=void 0===t?{}:t,i=n._generate_block_element_editor_width,o=n._generate_block_element_editor_width_unit,l=n._generate_block_type,s=n._generate_hook,d=n._generate_custom_hook,m=n._generate_hook_priority,u=n._generate_post_loop_item_tagname,b=n._generate_post_meta_location,x=n._generate_disable_primary_post_meta,h=n._generate_disable_secondary_post_meta,f=n._generate_disable_title,y=n._generate_disable_featured_image,_=n._generate_use_theme_post_container,k=n._generate_post_loop_item_display,v=n._generate_post_loop_item_display_tax,w=n._generate_post_loop_item_display_term,T=n._generate_post_loop_item_display_post_meta,C=n._generate_disable_post_navigation,D=n._generate_disable_archive_navigation,R=n._generate_use_archive_navigation_container,S=e.updateMeta,I=e.updateParentId,B=e.updateOrder,L=e.elementParent,E=e.elementMenuOrder,M=[];Object.keys(gpPremiumBlockElements.hooks).forEach((function(e){var t=[],n=gpPremiumBlockElements.hooks[e].group,i=gpPremiumBlockElements.hooks[e].hooks;Object.keys(i).forEach((function(e){t.push({value:i[e],name:i[e].replace("generate_","").replace("woocommerce_","")})})),M.push({type:"group",name:n,items:t})})),M.push({type:"group",name:(0,p.__)("Custom","gp-premium"),items:[{value:"custom",name:(0,p.__)("Custom Hook","gp-premium")}]});var z=[{label:(0,p.__)("Choose…","gp-premium"),value:""}],W=gpPremiumBlockElements.taxonomies;W&&Object.keys(W).forEach((function(e){z.push({label:W[e],value:W[e]})}));var P=[{label:(0,p.__)("Choose…","gp-premium"),value:""}];"page-hero"===l&&P.push({label:(0,p.__)("After header","gp-premium"),value:"generate_after_header"},{label:(0,p.__)("Before content container","gp-premium"),value:"generate_before_main_content"},{label:(0,p.__)("Before content","gp-premium"),value:"generate_before_content"}),"post-navigation-template"===l&&P.push({label:(0,p.__)("After content","gp-premium"),value:"generate_after_content"},{label:(0,p.__)("After content container","gp-premium"),value:"generate_after_do_template_part"});var V="";"post-navigation-template"===l&&(V=X),"post-meta-template"===l&&(V=Z),"site-footer"===l&&(V=Q),"content-template"===l&&(V=ee),"archive-navigation-template"===l&&(V=te),"page-hero"===l&&(V=ne);var q=[],j=gpPremiumBlockElements.parentElements;return j&&Object.keys(j).forEach((function(e){q.push({label:j[e].label,value:j[e].id})})),(0,a.createElement)(c.Fragment,null,(0,a.createElement)(ae.PluginDocumentSettingPanel,{name:"generatepress-block-element",title:(0,p.__)("Block Element","gp-premium"),className:"gpp-block-element-panel gpp-element-panel-label",icon:r("generatepress")},!gpPremiumBlockElements.isGenerateBlocksActive&&(0,a.createElement)(g.BaseControl,null,(0,a.createElement)("p",null,(0,p.__)("To take full advantage of Block Elements, we suggest using our GenerateBlocks plugin.","gp-premium")),gpPremiumBlockElements.isGenerateBlocksInstalled?(0,a.createElement)("a",{href:gpPremiumBlockElements.activateLink,className:"components-button is-primary"},(0,p.__)("Activate GenerateBlocks","gp-premium")):(0,a.createElement)("a",{href:gpPremiumBlockElements.installLink,className:"components-button is-primary"},(0,p.__)("Install GenerateBlocks","gp-premium"))),(0,a.createElement)(K,{label:(0,p.__)("Editor width","gp-premium"),value:o||this.getWidth().unit,units:["px","%"],onClick:function(e){S({_generate_block_element_editor_width_unit:e||""})}}),(0,a.createElement)(g.TextControl,{type:"number",onChange:function(e){S({_generate_block_element_editor_width:e||""})},placeholder:this.getWidth().width,value:i||""}),(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Element type","gp-premium"),value:l,options:[{label:(0,p.__)("Hook","gp-premium"),value:"hook"},{label:(0,p.__)("Site Header","gp-premium"),value:"site-header"},{label:(0,p.__)("Page Hero","gp-premium"),value:"page-hero"},{label:(0,p.__)("Content Template","gp-premium"),value:"content-template"},{label:(0,p.__)("Loop Template","gp-premium"),value:"loop-template"},{label:(0,p.__)("Post Meta Template","gp-premium"),value:"post-meta-template"},{label:(0,p.__)("Post Navigation","gp-premium"),value:"post-navigation-template"},{label:(0,p.__)("Archive Navigation","gp-premium"),value:"archive-navigation-template"},{label:(0,p.__)("Right Sidebar","gp-premium"),value:"right-sidebar"},{label:(0,p.__)("Left Sidebar","gp-premium"),value:"left-sidebar"},{label:(0,p.__)("Site Footer","gp-premium"),value:"site-footer"},{label:(0,p.__)("Search Modal","gp-premium"),value:"search-modal"}],onChange:function(e){document.body.classList.remove(l+"-block-type"),document.body.classList.add(e+"-block-type"),S("page-hero"===e?{_generate_block_type:e,_generate_hook:"generate_after_header",_generate_block_element_editor_width_unit:"%",_generate_block_element_editor_width:"100"}:"post-navigation-template"===e?{_generate_block_type:e,_generate_hook:"generate_after_do_template_part",_generate_block_element_editor_width_unit:"%",_generate_block_element_editor_width:"100"}:"archive-navigation-template"===e?{_generate_block_type:e,_generate_hook:"generate_after_main_content",_generate_hook_priority:"20",_generate_block_element_editor_width_unit:"%",_generate_block_element_editor_width:"100"}:{_generate_block_type:e,_generate_block_element_editor_width_unit:"",_generate_block_element_editor_width:""})}}),gpPremiumBlockElements.isGenerateBlocksActive&&!!V&&(0,a.createElement)(g.BaseControl,null,(0,a.createElement)(g.PanelBody,{initialOpen:!1,name:"generatepress-block-element-templates",title:(0,p.__)("Templates","gp-premium"),className:"gpp-block-element-template-panel"},Object.keys(V).map((function(e){return(0,a.createElement)("button",{key:e,className:"gpp-block-elements-template-button",onClick:function(){V[e].content=V[e].content.replaceAll("#dynamic-background-image",gpPremiumBlockElements.bgImageFallback);var t=(0,N.parse)(V[e].content),n=wp.data.select("core/block-editor").getBlocks(),i=!1;1===n.length&&("core/paragraph"!==n[0].name||n[0].attributes.content||(i=!0)),t.length&&(i?wp.data.dispatch("core/block-editor").replaceBlocks(n[0].clientId,t):wp.data.dispatch("core/block-editor").insertBlocks(t));var a=V[e].meta,o={};a&&a.forEach((function(e){o[e.key]=e.value})),Object.keys(o).length>0&&S(o)}},void 0!==V[e].thumbnail&&!!V[e].thumbnail&&(0,a.createElement)("img",{src:gpPremiumBlockElements.templateImageUrl+"/"+V[e].thumbnail,alt:V[e].label}),(0,a.createElement)("div",{className:"gpp-block-template-label"},V[e].label))})))),("right-sidebar"===l||"left-sidebar"===l)&&(0,a.createElement)(g.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},(0,p.__)("This will remove the current sidebar widgets for the selected sidebar. Your layout must have a sidebar set for this Element to show.","gp-premium")),"site-footer"===l&&(0,a.createElement)(g.BaseControl,null,(0,a.createElement)(g.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},(0,p.__)("This Element will replace your site footer area that holds your copyright message. It will not replace footer widgets if they exist.","gp-premium"))),"post-meta-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Location","gp-premium"),value:b,options:[{label:(0,p.__)("After post title","gp-premium"),value:"after-post-title"},{label:(0,p.__)("Before post title","gp-premium"),value:"before-post-title"},{label:(0,p.__)("After content","gp-premium"),value:"after-content"},{label:(0,p.__)("Custom","gp-premium"),value:"custom"}],onChange:function(e){S({_generate_post_meta_location:e})}})),P.length>1&&(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Quick hook select","gp-premium"),value:s||"",options:P,onChange:function(e){S({_generate_hook:e})}}),(!l||"hook"===l||"page-hero"===l||"post-navigation-template"===l||"archive-navigation-template"===l||"post-meta-template"===l&&"custom"===b)&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.BaseControl,{id:"gpp-hook-select",label:(0,p.__)("Hook name","gp-premium"),className:"gpp-hook-select"},(0,a.createElement)(Re,{options:M,value:s,placeholder:(0,p.__)("Choose your hook","gp-premium"),search:!0,onChange:function(e){e!==s&&S({_generate_hook:e||""})}})),"custom"===s&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Custom hook name","gp-premium"),type:"text",onChange:function(e){S({_generate_custom_hook:e||""})},value:d||""}),!!s&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Priority","gp-premium"),type:"text",onChange:function(e){S({_generate_hook_priority:e||""})},value:m||"",placeholder:"10"})),"post-meta-template"===l&&(0,a.createElement)(c.Fragment,null,(""===b||"after-post-title"===b||"before-post-title"===b||"custom"===b)&&(0,a.createElement)(g.ToggleControl,{checked:!!x,label:(0,p.__)("Replace default primary post meta","gp-premium"),onChange:function(e){S({_generate_disable_primary_post_meta:e})}}),("after-content"===b||"custom"===b)&&(0,a.createElement)(g.ToggleControl,{checked:!!h,label:(0,p.__)("Replace default secondary post meta","gp-premium"),onChange:function(e){S({_generate_disable_secondary_post_meta:e})}})),"content-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Tag name","gp-premium"),value:u,options:[{label:"article",value:"article"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"aside",value:"aside"}],onChange:function(e){S({_generate_post_loop_item_tagname:e})}}),(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Apply to","gp-premium"),value:k,options:[{label:(0,p.__)("All posts","gp-premium"),value:""},{label:(0,p.__)("Posts with term","gp-premium"),value:"has-term"},{label:(0,p.__)("Posts with custom field","gp-premium"),value:"has-post-meta"},{label:(0,p.__)("First post","gp-premium"),value:"is-first-post"}],onChange:function(e){S({_generate_post_loop_item_display:e})}}),""!==k&&(0,a.createElement)(c.Fragment,null,"has-term"===k&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.SelectControl,{label:(0,p.__)("Taxonomy","gp-premium"),value:v,options:z,onChange:function(e){S({_generate_post_loop_item_display_tax:e})}}),!!v&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Term name","gp-premium"),type:"text",onChange:function(e){S({_generate_post_loop_item_display_term:e||""})},value:w||""})),"has-post-meta"===k&&(0,a.createElement)(g.TextControl,{label:(0,p.__)("Post meta name","gp-premium"),type:"text",onChange:function(e){S({_generate_post_loop_item_display_post_meta:e||""})},value:T||""}),q.length>0&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.BaseControl,null,(0,a.createElement)(g.ComboboxControl,{className:"editor-page-attributes__parent",label:(0,p.__)("Parent Element","gp-premium"),help:(0,p.__)("Set a parent Element to inherit in case the above conditions do not apply.","gp-premim"),value:L,options:q,onFilterValueChange:function(e){e&&$()(I(e),300)},onChange:function(e){I(e)}})),!!L&&(0,a.createElement)(g.TextControl,{type:"number",label:(0,p.__)("Display Order","gp-premium"),onChange:function(e){B(e)},value:E}))),(0,a.createElement)(g.ToggleControl,{checked:!!_,label:(0,p.__)("Keep default post container","gp-premium"),onChange:function(e){S({_generate_use_theme_post_container:e})}})),"page-hero"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{checked:!!f,label:(0,p.__)("Disable title","gp-premium"),onChange:function(e){S({_generate_disable_title:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!y,label:(0,p.__)("Disable featured image","gp-premium"),onChange:function(e){S({_generate_disable_featured_image:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!x,label:(0,p.__)("Disable primary post meta","gp-premium"),onChange:function(e){S({_generate_disable_primary_post_meta:e})}})),"site-footer"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.TextControl,{className:"gpp-block-dynamic-year",type:"text",readOnly:!0,value:"{{current_year}}",label:(0,p.__)("Current year template tag","gp-premium"),help:(0,p.__)("Use the above template tag to add the current year to your footer.","gp-premium")})),"post-navigation-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{checked:!!C,label:(0,p.__)("Disable default post navigation","gp-premium"),onChange:function(e){S({_generate_disable_post_navigation:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!R,label:(0,p.__)("Add default archive navigation container","gp-premium"),onChange:function(e){S({_generate_use_archive_navigation_container:e})}})),"archive-navigation-template"===l&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(g.ToggleControl,{checked:!!D,label:(0,p.__)("Disable default pagination","gp-premium"),onChange:function(e){S({_generate_disable_archive_navigation:e})}}),(0,a.createElement)(g.ToggleControl,{checked:!!R,label:(0,p.__)("Keep default archive navigation container","gp-premium"),onChange:function(e){S({_generate_use_archive_navigation_container:e})}}))))}}]),o}(c.Component),Le=(0,oe.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{meta:t("meta"),elementParent:t("parent"),elementMenuOrder:t("menu_order")}})),Ee=(0,oe.withDispatch)((function(e,t){var n=t.meta,i=e("core/editor").editPost;return{updateMeta:function(e){i({meta:Ie(Ie({},n),e)})},updateParentId:function(e){i({parent:e})},updateOrder:function(e){i({menu_order:e})}}})),Me=(0,s.compose)([Le,Ee])(Be);(0,ie.registerPlugin)("generatepress-block-element",{icon:null,render:Me}),pe()((function(){return(0,ie.unregisterPlugin)("generatepress-content-width")}))}()}();