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

3 lines
186 KiB
JavaScript

!function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=59)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},,function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},,function(e,t,n){e.exports=n(29)()},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}e.exports=function(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),e}},function(e,t,n){var a=n(24);e.exports=function(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}}),t&&a(e,t)}},function(e,t,n){var a=n(14),o=n(13);e.exports=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0);function o(e){return"generatepress"===e?Object(a.createElement)("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600",preserveAspectRatio:"none"},Object(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?Object(a.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 256 256"},Object(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?Object(a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},Object(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?Object(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"},Object(a.createElement)("path",{d:"M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6"})):void 0}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forceVisible=t.forceCheck=t.lazyload=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n(3),r=d(o),i=d(n(7)),c=n(31),l=d(n(32)),p=d(n(33)),s=d(n(34));function d(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b="data-lazyload-listened",h=[],f=[],y=!1;try{var x=Object.defineProperty({},"passive",{get:function(){y=!0}});window.addEventListener("test",null,x)}catch(e){}var v=!!y&&{capture:!1,passive:!0},_=function(e){var t=e.ref;if(t instanceof HTMLElement){var n=(0,l.default)(t);(e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?function(e,t){var n=e.ref,a=void 0,o=void 0,r=void 0,i=void 0;try{var c=t.getBoundingClientRect();a=c.top,o=c.left,r=c.height,i=c.width}catch(e){a=0,o=0,r=0,i=0}var l=window.innerHeight||document.documentElement.clientHeight,p=window.innerWidth||document.documentElement.clientWidth,s=Math.max(a,0),d=Math.max(o,0),g=Math.min(l,a+r)-s,u=Math.min(p,o+i)-d,m=void 0,b=void 0,h=void 0,f=void 0;try{var y=n.getBoundingClientRect();m=y.top,b=y.left,h=y.height,f=y.width}catch(e){m=0,b=0,h=0,f=0}var x=m-s,v=b-d,_=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return x-_[0]<=g&&x+h+_[1]>=0&&v-_[0]<=u&&v+f+_[1]>=0}(e,n):function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,a=void 0;try{var o=t.getBoundingClientRect();n=o.top,a=o.height}catch(e){n=0,a=0}var r=window.innerHeight||document.documentElement.clientHeight,i=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-i[0]<=r&&n+a+i[1]>=0}(e))?e.visible||(e.props.once&&f.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},k=function(){f.forEach((function(e){var t=h.indexOf(e);-1!==t&&h.splice(t,1)})),f=[]},w=function(){for(var e=0;e<h.length;++e){var t=h[e];_(t)}k()},T=void 0,O=null,j=function(e){function t(e){g(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.visible=!1,n.setRef=n.setRef.bind(n),n}return m(t,e),a(t,[{key:"componentDidMount",value:function(){var e=window,t=this.props.scrollContainer;t&&"string"==typeof t&&(e=e.document.querySelector(t));var n=void 0!==this.props.debounce&&"throttle"===T||"debounce"===T&&void 0===this.props.debounce;if(n&&((0,c.off)(e,"scroll",O,v),(0,c.off)(window,"resize",O,v),O=null),O||(void 0!==this.props.debounce?(O=(0,p.default)(w,"number"==typeof this.props.debounce?this.props.debounce:300),T="debounce"):void 0!==this.props.throttle?(O=(0,s.default)(w,"number"==typeof this.props.throttle?this.props.throttle:300),T="throttle"):O=w),this.props.overflow){var a=(0,l.default)(this.ref);if(a&&"function"==typeof a.getAttribute){var o=+a.getAttribute(b)+1;1===o&&a.addEventListener("scroll",O,v),a.setAttribute(b,o)}}else if(0===h.length||n){var r=this.props,i=r.scroll,d=r.resize;i&&(0,c.on)(e,"scroll",O,v),d&&(0,c.on)(window,"resize",O,v)}h.push(this),_(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=(0,l.default)(this.ref);if(e&&"function"==typeof e.getAttribute){var t=+e.getAttribute(b)-1;0===t?(e.removeEventListener("scroll",O,v),e.removeAttribute(b)):e.setAttribute(b,t)}}var n=h.indexOf(this);-1!==n&&h.splice(n,1),0===h.length&&"undefined"!=typeof window&&((0,c.off)(window,"resize",O,v),(0,c.off)(window,"scroll",O,v))}},{key:"setRef",value:function(e){e&&(this.ref=e)}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.children,a=e.placeholder,o=e.classNamePrefix,i=e.style;return r.default.createElement("div",{className:o+"-wrapper",ref:this.setRef,style:i},this.visible?n:a||r.default.createElement("div",{style:{height:t},className:o+"-placeholder"}))}}]),t}(o.Component);j.propTypes={classNamePrefix:i.default.string,once:i.default.bool,height:i.default.oneOfType([i.default.number,i.default.string]),offset:i.default.oneOfType([i.default.number,i.default.arrayOf(i.default.number)]),overflow:i.default.bool,resize:i.default.bool,scroll:i.default.bool,children:i.default.node,throttle:i.default.oneOfType([i.default.number,i.default.bool]),debounce:i.default.oneOfType([i.default.number,i.default.bool]),placeholder:i.default.node,scrollContainer:i.default.oneOfType([i.default.string,i.default.object]),unmountIfInvisible:i.default.bool,style:i.default.object},j.defaultProps={classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1};var C=function(e){return e.displayName||e.name||"Component"};t.lazyload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function o(){g(this,o);var e=u(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return e.displayName="LazyLoad"+C(t),e}return m(o,n),a(o,[{key:"render",value:function(){return r.default.createElement(j,e,r.default.createElement(t,this.props))}}]),o}(o.Component)}},t.default=j,t.forceCheck=w,t.forceVisible=function(){for(var e=0;e<h.length;++e){var t=h[e];t.visible=!0,t.forceUpdate()}k()}},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}},function(e,t){e.exports=window.wp.blocks},function(e,t,n){var a=n(21);e.exports=function(e,t){if(e){if("string"==typeof e)return a(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)?a(e,t):void 0}}},function(e,t){function n(t,a){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,a)}e.exports=n},function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.editPost},,function(e,t,n){var a=n(43),o=n(44),r=n(23),i=n(45);e.exports=function(e){return a(e)||o(e)||r(e)||i()}},function(e,t,n){"use strict";var a=n(30);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,i){if(i!==a){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,a){a=a||!1,e.addEventListener?e.addEventListener(t,n,a):e.attachEvent&&e.attachEvent("on"+t,(function(t){n.call(e,t||window.event)}))},t.off=function(e,t,n,a){a=a||!1,e.removeEventListener?e.removeEventListener(t,n,a):e.detachEvent&&e.detachEvent("on"+t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,a=e;a;){if(!a.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(a),r=o.position,i=o.overflow,c=o["overflow-x"],l=o["overflow-y"];if("static"===r&&t)a=a.parentNode;else{if(n.test(i)&&n.test(c)&&n.test(l))return a;a=a.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=void 0,o=void 0,r=void 0,i=void 0,c=void 0,l=function l(){var p=+new Date-i;p<t&&p>=0?a=setTimeout(l,t-p):(a=null,n||(c=e.apply(r,o),a||(r=null,o=null)))};return function(){r=this,o=arguments,i=+new Date;var p=n&&!a;return a||(a=setTimeout(l,t)),p&&(c=e.apply(r,o),r=null,o=null),c}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a,o;return t||(t=250),function(){var r=n||this,i=+new Date,c=arguments;a&&i<a+t?(clearTimeout(o),o=setTimeout((function(){a=i,e.apply(r,c)}),t)):(a=i,e.apply(r,c))}}},,,,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.wp.serverSideRender},function(e,t,n){var a;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var r=typeof a;if("string"===r||"number"===r)e.push(a);else if(Array.isArray(a)&&a.length){var i=o.apply(null,a);i&&e.push(i)}else if("object"===r)for(var c in a)n.call(a,c)&&a[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(a=function(){return o}.apply(t,[]))||(e.exports=a)}()},function(e,t){e.exports=window.lodash},function(e,t,n){},function(e,t,n){var a=n(21);e.exports=function(e){if(Array.isArray(e))return a(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=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(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){function a(e){return(a="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)}var o=n(1),r=n(7),i=r.get,c=(r.deepValue,r.isArray),l=function(){function e(t,n){var a=n.location,o=void 0===a?0:a,r=n.distance,c=void 0===r?100:r,l=n.threshold,p=void 0===l?.6:l,s=n.maxPatternLength,d=void 0===s?32:s,g=n.caseSensitive,u=void 0!==g&&g,m=n.tokenSeparator,b=void 0===m?/ +/g:m,h=n.findAllMatches,f=void 0!==h&&h,y=n.minMatchCharLength,x=void 0===y?1:y,v=n.id,_=void 0===v?null:v,k=n.keys,w=void 0===k?[]:k,T=n.shouldSort,O=void 0===T||T,j=n.getFn,C=void 0===j?i:j,D=n.sortFn,S=void 0===D?function(e,t){return e.score-t.score}:D,I=n.tokenize,R=void 0!==I&&I,L=n.matchAllTokens,B=void 0!==L&&L,E=n.includeMatches,P=void 0!==E&&E,M=n.includeScore,z=void 0!==M&&M,q=n.verbose,A=void 0!==q&&q;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:o,distance:c,threshold:p,maxPatternLength:d,isCaseSensitive:u,tokenSeparator:b,findAllMatches:f,minMatchCharLength:x,id:_,keys:w,includeMatches:P,includeScore:z,shouldSort:O,getFn:C,sortFn:S,verbose:A,tokenize:R,matchAllTokens:B},this.setCollection(t),this._processKeys(w)}var t;return(t=[{key:"setCollection",value:function(e){return this.list=e,e}},{key:"_processKeys",value:function(e){if(this._keyWeights={},this._keyNames=[],e.length&&"string"==typeof e[0])for(var t=0,n=e.length;t<n;t+=1){var a=e[t];this._keyWeights[a]=1,this._keyNames.push(a)}else{for(var o=null,r=null,i=0,c=0,l=e.length;c<l;c+=1){var p=e[c];if(!p.hasOwnProperty("name"))throw new Error('Missing "name" property in key object');var s=p.name;if(this._keyNames.push(s),!p.hasOwnProperty("weight"))throw new Error('Missing "weight" property in key object');var d=p.weight;if(d<0||d>1)throw new Error('"weight" property in key must bein the range of [0, 1)');r=null==r?d:Math.max(r,d),o=null==o?d:Math.min(o,d),this._keyWeights[s]=d,i+=d}if(i>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),a=n.tokenSearchers,o=n.fullSearcher,r=this._search(a,o);return this._computeScore(r),this.options.shouldSort&&this._sort(r),t.limit&&"number"==typeof t.limit&&(r=r.slice(0,t.limit)),this._format(r)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),a=0,r=n.length;a<r;a+=1)t.push(new o(n[a],this.options));return{tokenSearchers:t,fullSearcher:new o(e,this.options)}}},{key:"_search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,a={},o=[];if("string"==typeof n[0]){for(var r=0,i=n.length;r<i;r+=1)this._analyze({key:"",value:n[r],record:r,index:r},{resultMap:a,results:o,tokenSearchers:e,fullSearcher:t});return o}for(var c=0,l=n.length;c<l;c+=1)for(var p=n[c],s=0,d=this._keyNames.length;s<d;s+=1){var g=this._keyNames[s];this._analyze({key:g,value:this.options.getFn(p,g),record:p,index:c},{resultMap:a,results:o,tokenSearchers:e,fullSearcher:t})}return o}},{key:"_analyze",value:function(e,t){var n=this,a=e.key,o=e.arrayIndex,r=void 0===o?-1:o,i=e.value,l=e.record,p=e.index,s=t.tokenSearchers,d=void 0===s?[]:s,g=t.fullSearcher,u=t.resultMap,m=void 0===u?{}:u,b=t.results,h=void 0===b?[]:b;!function e(t,o,r,i){if(null!=o)if("string"==typeof o){var l=!1,p=-1,s=0;n._log("\nKey: ".concat(""===a?"--":a));var u=g.search(o);if(n._log('Full text: "'.concat(o,'", score: ').concat(u.score)),n.options.tokenize){for(var b=o.split(n.options.tokenSeparator),f=b.length,y=[],x=0,v=d.length;x<v;x+=1){var _=d[x];n._log('\nPattern: "'.concat(_.pattern,'"'));for(var k=!1,w=0;w<f;w+=1){var T=b[w],O=_.search(T),j={};O.isMatch?(j[T]=O.score,l=!0,k=!0,y.push(O.score)):(j[T]=1,n.options.matchAllTokens||y.push(1)),n._log('Token: "'.concat(T,'", score: ').concat(j[T]))}k&&(s+=1)}p=y[0];for(var C=y.length,D=1;D<C;D+=1)p+=y[D];p/=C,n._log("Token score average:",p)}var S=u.score;p>-1&&(S=(S+p)/2),n._log("Score average:",S);var I=!n.options.tokenize||!n.options.matchAllTokens||s>=d.length;if(n._log("\nCheck Matches: ".concat(I)),(l||u.isMatch)&&I){var R={key:a,arrayIndex:t,value:o,score:S};n.options.includeMatches&&(R.matchedIndices=u.matchedIndices);var L=m[i];L?L.output.push(R):(m[i]={item:r,output:[R]},h.push(m[i]))}}else if(c(o))for(var B=0,E=o.length;B<E;B+=1)e(B,o[B],r,i)}(r,i,l,p)}},{key:"_computeScore",value:function(e){this._log("\n\nComputing score:\n");for(var t=this._keyWeights,n=!!Object.keys(t).length,a=0,o=e.length;a<o;a+=1){for(var r=e[a],i=r.output,c=i.length,l=1,p=0;p<c;p+=1){var s=i[p],d=s.key,g=n?t[d]:1,u=0===s.score&&t&&t[d]>0?Number.EPSILON:s.score;l*=Math.pow(u,g)}r.score=l,this._log(r)}}},{key:"_sort",value:function(e){this._log("\n\nSorting...."),e.sort(this.options.sortFn)}},{key:"_format",value:function(e){var t=[];if(this.options.verbose){var n=[];this._log("\n\nOutput:\n\n",JSON.stringify(e,(function(e,t){if("object"===a(t)&&null!==t){if(-1!==n.indexOf(t))return;n.push(t)}return t}),2)),n=null}var o=[];this.options.includeMatches&&o.push((function(e,t){var n=e.output;t.matches=[];for(var a=0,o=n.length;a<o;a+=1){var r=n[a];if(0!==r.matchedIndices.length){var i={indices:r.matchedIndices,value:r.value};r.key&&(i.key=r.key),r.hasOwnProperty("arrayIndex")&&r.arrayIndex>-1&&(i.arrayIndex=r.arrayIndex),t.matches.push(i)}}})),this.options.includeScore&&o.push((function(e,t){t.score=e.score}));for(var r=0,i=e.length;r<i;r+=1){var c=e[r];if(this.options.id&&(c.item=this.options.getFn(c.item,this.options.id)[0]),o.length){for(var l={item:c.item},p=0,s=o.length;p<s;p+=1)o[p](c,l);t.push(l)}else t.push(c.item)}return t}},{key:"_log",value:function(){var e;this.options.verbose&&(e=console).log.apply(e,arguments)}}])&&function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(e.prototype,t),e}();e.exports=l},function(e,t,n){var a=n(2),o=n(3),r=n(6),i=function(){function e(t,n){var a=n.location,o=void 0===a?0:a,i=n.distance,c=void 0===i?100:i,l=n.threshold,p=void 0===l?.6:l,s=n.maxPatternLength,d=void 0===s?32:s,g=n.isCaseSensitive,u=void 0!==g&&g,m=n.tokenSeparator,b=void 0===m?/ +/g:m,h=n.findAllMatches,f=void 0!==h&&h,y=n.minMatchCharLength,x=void 0===y?1:y,v=n.includeMatches,_=void 0!==v&&v;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:o,distance:c,threshold:p,maxPatternLength:d,isCaseSensitive:u,tokenSeparator:b,findAllMatches:f,includeMatches:_,minMatchCharLength:x},this.pattern=u?t:t.toLowerCase(),this.pattern.length<=d&&(this.patternAlphabet=r(this.pattern))}var t;return(t=[{key:"search",value:function(e){var t=this.options,n=t.isCaseSensitive,r=t.includeMatches;if(n||(e=e.toLowerCase()),this.pattern===e){var i={isMatch:!0,score:0};return r&&(i.matchedIndices=[[0,e.length-1]]),i}var c=this.options,l=c.maxPatternLength,p=c.tokenSeparator;if(this.pattern.length>l)return a(e,this.pattern,p);var s=this.options,d=s.location,g=s.distance,u=s.threshold,m=s.findAllMatches,b=s.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:d,distance:g,threshold:u,findAllMatches:m,minMatchCharLength:b,includeMatches:r})}}])&&function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(e.prototype,t),e}();e.exports=i},function(e,t){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,o=new RegExp(t.replace(n,"\\$&").replace(a,"|")),r=e.match(o),i=!!r,c=[];if(i)for(var l=0,p=r.length;l<p;l+=1){var s=r[l];c.push([e.indexOf(s),s.length-1])}return{score:i?.5:1,isMatch:i,matchedIndices:c}}},function(e,t,n){var a=n(4),o=n(5);e.exports=function(e,t,n,r){for(var i=r.location,c=void 0===i?0:i,l=r.distance,p=void 0===l?100:l,s=r.threshold,d=void 0===s?.6:s,g=r.findAllMatches,u=void 0!==g&&g,m=r.minMatchCharLength,b=void 0===m?1:m,h=r.includeMatches,f=void 0!==h&&h,y=c,x=e.length,v=d,_=e.indexOf(t,y),k=t.length,w=[],T=0;T<x;T+=1)w[T]=0;if(-1!==_){var O=a(t,{errors:0,currentLocation:_,expectedLocation:y,distance:p});if(v=Math.min(O,v),-1!==(_=e.lastIndexOf(t,y+k))){var j=a(t,{errors:0,currentLocation:_,expectedLocation:y,distance:p});v=Math.min(j,v)}}_=-1;for(var C=[],D=1,S=k+x,I=1<<(k<=31?k-1:30),R=0;R<k;R+=1){for(var L=0,B=S;L<B;)a(t,{errors:R,currentLocation:y+B,expectedLocation:y,distance:p})<=v?L=B:S=B,B=Math.floor((S-L)/2+L);S=B;var E=Math.max(1,y-B+1),P=u?x:Math.min(y+B,x)+k,M=Array(P+2);M[P+1]=(1<<R)-1;for(var z=P;z>=E;z-=1){var q=z-1,A=n[e.charAt(q)];if(A&&(w[q]=1),M[z]=(M[z+1]<<1|1)&A,0!==R&&(M[z]|=(C[z+1]|C[z])<<1|1|C[z+1]),M[z]&I&&(D=a(t,{errors:R,currentLocation:q,expectedLocation:y,distance:p}))<=v){if(v=D,(_=q)<=y)break;E=Math.max(1,2*y-_)}}if(a(t,{errors:R+1,currentLocation:y,expectedLocation:y,distance:p})>v)break;C=M}var H={isMatch:_>=0,score:0===D?.001:D};return f&&(H.matchedIndices=o(w,b)),H}},function(e,t){e.exports=function(e,t){var n=t.errors,a=void 0===n?0:n,o=t.currentLocation,r=void 0===o?0:o,i=t.expectedLocation,c=void 0===i?0:i,l=t.distance,p=void 0===l?100:l,s=a/e.length,d=Math.abs(c-r);return p?s+d/p:d?1:s}},function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],a=-1,o=-1,r=0,i=e.length;r<i;r+=1){var c=e[r];c&&-1===a?a=r:c||-1===a||((o=r-1)-a+1>=t&&n.push([a,o]),a=-1)}return e[r-1]&&r-a>=t&&n.push([a,r-1]),n}},function(e,t){e.exports=function(e){for(var t={},n=e.length,a=0;a<n;a+=1)t[e.charAt(a)]=0;for(var o=0;o<n;o+=1)t[e.charAt(o)]|=1<<n-o-1;return t}},function(e,t){var n=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},a=function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)},o=function(e){return"string"==typeof e},r=function(e){return"number"==typeof e};e.exports={get:function(e,t){var i=[];return function e(t,c){if(c){var l=c.indexOf("."),p=c,s=null;-1!==l&&(p=c.slice(0,l),s=c.slice(l+1));var d=t[p];if(null!=d)if(s||!o(d)&&!r(d))if(n(d))for(var g=0,u=d.length;g<u;g+=1)e(d[g],s);else s&&e(d,s);else i.push(a(d))}else i.push(t)}(e,t),i},isArray:n,isString:o,isNum:r,toString:a}}])},function(e,t,n){},,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(0);function o(e,t,n){return void 0===e[t]&&(e[t]=[]),e[t].push(n),e}var r=n(15),i=(n(42),n(1)),c=n(8),l=n(2),p=n(18),s=n(17),d=["generateblocks/container"],g=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=t.name,o=t.attributes,c=t.isSelected,p=t.setAttributes,g=o.gpDynamicImageBg,u=o.gpDynamicImageCustomField,m=o.gpUseFallbackImageBg,b=o.bgImage,h=o.gpDynamicLinkType,f=o.gpDynamicLinkCustomField,y=o.gpDynamicSource,x=o.gpDynamicSourceInSameTerm,v=o.gpDynamicSourceInSameTermTaxonomy,_=wp.data.select("core/editor").getEditedPostAttribute("meta"),k=!!g||!!h;return"post-navigation-template"!==_._generate_block_type&&(k=!1),"next-posts"!==h&&"previous-posts"!==h||(k=!1),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),c&&d.includes(n)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.BlockControls,null,Object(a.createElement)(l.ToolbarGroup,null,Object(a.createElement)(l.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 Object(a.createElement)(l.ToolbarButton,{icon:Object(r.a)("dynamic"),label:Object(i.__)("Dynamic options","gp-premium"),onClick:n,"aria-expanded":t,isPressed:!!g||!!h})},renderContent:function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Dynamic Background Image","gp-premium"),value:g,options:[{label:Object(i.__)("None","gp-premium"),value:""},{label:Object(i.__)("Featured image","gp-premium"),value:"featured-image"},{label:Object(i.__)("Post meta","gp-premium"),value:"post-meta"},{label:Object(i.__)("Term meta","gp-premium"),value:"term-meta"},{label:Object(i.__)("User meta","gp-premium"),value:"user-meta"}],onChange:function(e){p({gpDynamicImageBg:e})},disabled:!b,help:b?"":Object(i.__)("Add a background image to this Container to make it dynamic.","gp-premium")}),("post-meta"===g||"term-meta"===g||"user-meta"===g)&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Meta field name","gp-premium"),value:u,onChange:function(e){p({gpDynamicImageCustomField:e})}}),""!==g&&Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("Use fallback image","gp-premium"),checked:!!m,onChange:function(e){p({gpUseFallbackImageBg:e})}})),gpPremiumBlockElements.isGenerateBlocksProActive&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.BaseControl,{className:"gpp-button-dynamic-link-area"},Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Dynamic Link","gp-premium"),value:h,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Post","gp-premium"),value:"post"},{label:Object(i.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){p(e?{gpDynamicLinkType:e,url:"#"}:{gpDynamicLinkType:e,url:""})}}),"post-meta"===h&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Meta field name","gp-premium"),type:"text",value:f,onChange:function(e){p({gpDynamicLinkCustomField:e})}}))),k&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Source","gp-premium"),value:y,options:[{label:Object(i.__)("Current post","gp-premium"),value:"current-post"},{label:Object(i.__)("Next post","gp-premium"),value:"next-post"},{label:Object(i.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){p({gpDynamicSource:e})}}),("next-post"===y||"previous-post"===y)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("In same term","gp-premium"),help:Object(i.__)("Check for posts with the same term as the current post.","gp-premium"),checked:!!x,onChange:function(e){p({gpDynamicSourceInSameTerm:e})}}),!!x&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Taxonomy","gp-premium"),help:Object(i.__)("The taxonomy to check if in the same term.","gp-premium"),type:"text",value:v,onChange:function(e){p({gpDynamicSourceInSameTermTaxonomy:e})}}))))}})))))}}),"addDynamicContainerBgToolbar");function u(e,t,n){if(!["container"].includes(n))return e;var a=Object(c.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),r=a.uniqueId,i=a.gpInlinePostMeta,l=a.gpInlinePostMetaJustify,p=a.gpInlinePostMetaJustifyTablet,s=a.gpInlinePostMetaJustifyMobile;return i&&(o(e,".gb-container-"+r+".inline-post-meta-area > .gb-inside-container > .block-editor-inner-blocks > .block-editor-block-list__layout",{"justify-content":l}),"generateblocks.editor.tabletCSS"===Object(c.currentFilter)()&&o(e,".gb-container-"+r+".inline-post-meta-area > .gb-inside-container > .block-editor-inner-blocks > .block-editor-block-list__layout",{"justify-content":p}),"generateblocks.editor.mobileCSS"===Object(c.currentFilter)()&&o(e,".gb-container-"+r+".inline-post-meta-area > .gb-inside-container > .block-editor-inner-blocks > .block-editor-block-list__layout",{"justify-content":s})),e}Object(c.addFilter)("blocks.registerBlockType","gp-premium/dynamic-container/add-attributes",(function(e){return d.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})),Object(c.addFilter)("generateblocks.editor.controls","gp-premium/dynamic-container/add-container-controls",(function(e,t,n,o){if(!gpPremiumBlockElements.isBlockElement)return e;if("containerLayout"!==t&&"containerGridLayout"!==t)return e;var r=function(){var e="Desktop";return void 0!==n.deviceType&&n.deviceType?e=n.deviceType:void 0!==o.selectedDevice&&o.selectedDevice&&(e=o.selectedDevice),e},c=n.attributes,p=n.setAttributes,s=c.gpInlinePostMeta,d=c.gpInlinePostMetaJustify,g=c.gpInlinePostMetaJustifyTablet,u=c.gpInlinePostMetaJustifyMobile,m=c.gpRemoveContainerCondition,b=c.gpRemoveContainerConditionPostMeta,h=c.gpAdjacentPostInSameTerm,f=c.gpAdjacentPostInSameTermTax,y=wp.data.select("core/editor").getEditedPostAttribute("meta"),x=[{label:Object(i.__)("Choose…","gp-premium"),value:"self"},{label:Object(i.__)("No featured image","gp-premium"),value:"no-featured-image"},{label:Object(i.__)("No post meta","gp-premium"),value:"no-post-meta"}];return"post-navigation-template"===y._generate_block_type&&(x.push({label:Object(i.__)("No next post","gp-premium"),value:"no-next-post"}),x.push({label:Object(i.__)("No previous post","gp-premium"),value:"no-previous-post"})),Object(a.createElement)(a.Fragment,null,"Desktop"===r()&&Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("Inline post meta items","gp-premium"),checked:!!s,onChange:function(e){p({gpInlinePostMeta:e})}}),!!s&&Object(a.createElement)(a.Fragment,null,"Desktop"===r()&&Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Inline alignment","gp-premium"),value:d,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Left","gp-premium"),value:"flex-start"},{label:Object(i.__)("Center","gp-premium"),value:"center"},{label:Object(i.__)("Right","gp-premium"),value:"flex-end"},{label:Object(i.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){p({gpInlinePostMetaJustify:e})}}),"Tablet"===r()&&Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Inline alignment","gp-premium"),value:g,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Left","gp-premium"),value:"flex-start"},{label:Object(i.__)("Center","gp-premium"),value:"center"},{label:Object(i.__)("Right","gp-premium"),value:"flex-end"},{label:Object(i.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){p({gpInlinePostMetaJustifyTablet:e})}}),"Mobile"===r()&&Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Inline alignment","gp-premium"),value:u,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Left","gp-premium"),value:"flex-start"},{label:Object(i.__)("Center","gp-premium"),value:"center"},{label:Object(i.__)("Right","gp-premium"),value:"flex-end"},{label:Object(i.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){p({gpInlinePostMetaJustifyMobile:e})}})),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Remove container condition","gp-premium"),value:m,options:x,onChange:function(e){p({gpRemoveContainerCondition:e})}}),"no-post-meta"===m&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Meta field name","gp-premium"),type:"text",value:b,onChange:function(e){p({gpRemoveContainerConditionPostMeta:e})}}),("no-next-post"===m||"no-previous-post"===m)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("In same term","gp-premium"),help:Object(i.__)("Check for posts with the same term as the current post.","gp-premium"),checked:!!h,onChange:function(e){p({gpAdjacentPostInSameTerm:e})}}),!!h&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Taxonomy","gp-premium"),help:Object(i.__)("The taxonomy to check if in the same term.","gp-premium"),type:"text",value:f,onChange:function(e){p({gpAdjacentPostInSameTermTax:e})}}))),e)})),Object(c.addFilter)("editor.BlockEdit","gp-premium/dynamic-container/toolbar",g),Object(c.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})),Object(c.addFilter)("generateblocks.editor.mainCSS","gp-premium/dynamic-container/add-main-css",u),Object(c.addFilter)("generateblocks.editor.tabletCSS","gp-premium/dynamic-container/add-tablet-css",u),Object(c.addFilter)("generateblocks.editor.mobileCSS","gp-premium/dynamic-container/add-mobile-css",u);var m=n(28),b=n.n(m),h=n(9),f=n.n(h),y=n(10),x=n.n(y),v=n(13),_=n.n(v),k=n(11),w=n.n(k),T=n(12),O=n.n(T),j=n(5),C=n.n(j);var D=function(e){w()(o,e);var t,n,a=(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=C()(t);if(n){var o=C()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return O()(this,e)});function o(){var e;return f()(this,o),(e=a.apply(this,arguments)).wrapElement=e.wrapElement.bind(_()(e)),e}return x()(o,[{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 a=n.classList.contains("gblocks-faux-headline-link");""!==this.props.attributes.gpDynamicTextType?(a&&!this.props.attributes.gpDynamicLinkType&&n.replaceWith.apply(n,b()(n.childNodes)),a||!this.props.attributes.gpDynamicLinkType||this.props.isSelected||this.wrapElement(t)):a&&n.replaceWith.apply(n,b()(n.childNodes)),(this.props.attributes.removeText||a&&this.props.isSelected)&&n.replaceWith.apply(n,b()(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}}]),o}(a.Component);var S=function(e){w()(r,e);var t,n,o=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=C()(t);if(n){var o=C()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return O()(this,e)});function r(){return f()(this,r),o.apply(this,arguments)}return x()(r,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=e.name,r=t.gpDynamicTextType,c=t.gpDynamicSource,p=t.gpDynamicTextReplace,s=t.gpDynamicTextTaxonomy,d=t.gpDynamicTextTaxonomySeparator,g=t.gpDynamicTextCustomField,u=t.gpDynamicTextBefore,m=t.gpDynamicDateUpdated,b=t.gpDynamicNoCommentsText,h=t.gpDynamicSingleCommentText,f=t.gpDynamicMultipleCommentsText,y=t.gpDynamicLinkType,x=t.gpDynamicLinkCustomField,v=t.gpDynamicSourceInSameTerm,_=t.gpDynamicSourceInSameTermTaxonomy,k=t.className,w=t.gpDynamicDateType,T=t.gpDynamicUpdatedDateBefore,O=[{label:Object(i.__)("Choose…","gp-premium"),value:""}],j=gpPremiumBlockElements.taxonomies;j&&Object.keys(j).forEach((function(e){O.push({label:j[e],value:j[e]})}));var C=[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Single post","gp-premium"),value:"single-post"},{label:Object(i.__)("Author archives","gp-premium"),value:"author-archives"},{label:Object(i.__)("Comments area","gp-premium"),value:"comments"},{label:Object(i.__)("Next page of posts","gp-premium"),value:"next-posts"},{label:Object(i.__)("Previous page of posts","gp-premium"),value:"previous-posts"},{label:Object(i.__)("Post meta","gp-premium"),value:"post-meta"},{label:Object(i.__)("Author meta","gp-premium"),value:"user-meta"},{label:Object(i.__)("Term meta","gp-premium"),value:"term-meta"}];"terms"===r&&(C=[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Term archives","gp-premium"),value:"term-archives"}]),"generateblocks/headline"!==o||r||(C=[]);var D=!!r||!!y;"post-navigation-template"!==wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_type&&(D=!1),"next-posts"!==y&&"previous-posts"!==y||(D=!1);var S=Object(i.__)("Before text","gp-premim");return"post-date"===r&&m&&"published-date"===w&&(S=Object(i.__)("Published date before text","gp-premium")),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Dynamic text type","gp-premium"),value:r,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Title","gp-premium"),value:"title"},{label:Object(i.__)("Post date","gp-premium"),value:"post-date"},{label:Object(i.__)("Post author name","gp-premium"),value:"post-author"},{label:Object(i.__)("List of terms","gp-premium"),value:"terms"},{label:Object(i.__)("Comments number","gp-premium"),value:"comments-number"},{label:Object(i.__)("Post meta","gp-premium"),value:"post-meta"},{label:Object(i.__)("Term meta","gp-premium"),value:"term-meta"},{label:Object(i.__)("Author meta","gp-premium"),value:"user-meta"}],onChange:function(e){n({gpDynamicTextType:e});var t=[];k&&(t=k.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"===o){var r=Object(i.__)("Hello World","gp-premium");"post-date"===e?r=Object(i.__)("Post date","gp-premium"):"post-author"===e?r=Object(i.__)("Post author name","gp-premium"):"terms"===e?r=Object(i.__)("Terms","gp-premium"):"comments-number"===e?r=Object(i.__)("Comments number","gp-premium"):"post-meta"===e?r=Object(i.__)("Post meta","gp-premium"):"user-meta"===e?r=Object(i.__)("User meta","gp-premium"):"term-meta"===e&&(r=Object(i.__)("Term meta","gp-premium")),n({content:r})}}}),""!==r&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{className:"gpp-blocks-dynamic-text-replace-field",type:"text",value:p}),"post-date"===r&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Date type","gp-premium"),value:w,options:[{label:Object(i.__)("Published date","gp-premim"),value:"published-date"},{label:Object(i.__)("Updated date","gp-premium"),value:"updated-date"}],onChange:function(e){n({gpDynamicDateType:e,gpDynamicTextBefore:"",gpDynamicUpdatedDateBefore:""})}}),"published-date"===w&&Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("Replace with updated date","gp-premium"),checked:!!m,onChange:function(e){n({gpDynamicDateUpdated:e})}})),"terms"===r&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Taxonomy","gp-premium"),value:s,options:O,onChange:function(e){n({gpDynamicTextTaxonomy:e})}}),"generateblocks/headline"===o&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{label:Object(i.__)("Term separator","gp-premium"),type:"text",value:d,onChange:function(e){n({gpDynamicTextTaxonomySeparator:e})}}))),"comments-number"===r&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{label:Object(i.__)("No comments text","gp-premium"),type:"text",value:b,onChange:function(e){n({gpDynamicNoCommentsText:e})}}),Object(a.createElement)(l.TextControl,{label:Object(i.__)("Singular comments text","gp-premium"),type:"text",value:h,onChange:function(e){n({gpDynamicSingleCommentText:e})}}),Object(a.createElement)(l.TextControl,{label:Object(i.__)("Plural comments text","gp-premium"),help:Object(i.__)("Use % in place of the number of comments","gp-premium"),type:"text",value:f,onChange:function(e){n({gpDynamicMultipleCommentsText:e})}})),("post-meta"===r||"term-meta"===r||"user-meta"===r)&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Meta field name","gp-premium"),type:"text",value:g,onChange:function(e){n({gpDynamicTextCustomField:e})}}),"generateblocks/headline"===o&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{label:S,type:"text",value:u,onChange:function(e){n({gpDynamicTextBefore:e})}}),"post-date"===r&&!!m&&"published-date"===w&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Updated date before text","gp-premium"),type:"text",value:T,onChange:function(e){n({gpDynamicUpdatedDateBefore:e})}}))),C.length>1&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Dynamic link type","gp-premium"),value:y,options:C,onChange:function(e){"generateblocks/button"===o&&n(e?{gpDynamicLinkType:e,hasUrl:!0,url:"#"}:{gpDynamicLinkType:e,hasUrl:!1,url:""}),"generateblocks/headline"===o&&n({gpDynamicLinkType:e})}}),("post-meta"===y||"term-meta"===y||"user-meta"===y)&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Meta field name","gp-premium"),type:"text",value:x,onChange:function(e){n({gpDynamicLinkCustomField:e})}})),D&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Source","gp-premium"),value:c,options:[{label:Object(i.__)("Current post","gp-premium"),value:"current-post"},{label:Object(i.__)("Next post","gp-premium"),value:"next-post"},{label:Object(i.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({gpDynamicSource:e})}}),("next-post"===c||"previous-post"===c)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("In same term","gp-premium"),help:Object(i.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!v,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!v&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Taxonomy","gp-premium"),help:Object(i.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:_,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}}))))}}]),r}(a.Component),I=(n(46),["generateblocks/headline","generateblocks/button"]),R=Object(p.createHigherOrderComponent)((function(e){return function(t){return I.includes(t.name)?Object(a.createElement)(a.Fragment,null,Object(a.createElement)(D,t),Object(a.createElement)(e,t)):Object(a.createElement)(e,t)}}),"withClientIdClassName"),L=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=t.name,o=t.attributes,c=t.isSelected,p=o.gpDynamicTextType,d=o.gpDynamicLinkType;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),c&&I.includes(n)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.BlockControls,null,Object(a.createElement)(l.ToolbarGroup,null,Object(a.createElement)(l.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 Object(a.createElement)(l.ToolbarButton,{icon:Object(r.a)("dynamic"),label:Object(i.__)("Dynamic options","gp-premium"),onClick:n,"aria-expanded":t,isPressed:!!p||!!d})},renderContent:function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(S,t))}})))))}}),"addDynamicHeadlineTextToolbar");function B(e,t){return!(void 0===t.attributes.gpDynamicTextType||!t.attributes.gpDynamicTextType)||e}Object(c.addFilter)("blocks.registerBlockType","gp-premium/dynamic-text/add-attributes",(function(e){return I.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:Object(i.__)("No Comments","gp-premium")},gpDynamicSingleCommentText:{type:"string",default:Object(i.__)("1 Comment","gp-premium")},gpDynamicMultipleCommentsText:{type:"string",default:Object(i.__)("% Comments","gp-premium")},gpDynamicLinkCustomField:{type:"string",default:""},gpDynamicDateType:{type:"string",default:"published-date"}})),e):e})),Object(c.addFilter)("editor.BlockListBlock","my-plugin/with-client-id-class-name",R),Object(c.addFilter)("editor.BlockEdit","gp-premium/dynamic-headline/toolbar",L),Object(c.addFilter)("generateblocks.editor.headlineDisableFormatting","gp-premium/dynamic-headline/disable-headline-formatting",B),Object(c.addFilter)("generateblocks.editor.buttonDisableFormatting","gp-premium/dynamic-headline/disable-button-formatting",B),Object(c.addFilter)("generateblocks.editor.mainCSS","gp-premium/dynamic-headline/headline-css",(function(e,t,n){if(!["headline"].includes(n))return e;var a=t.attributes,r=a.uniqueId,i=a.gpDynamicTextBefore;return a.gpDynamicTextType&&i&&o(e,".gb-headline-"+r+" .gb-headline-text:before, .gb-headline-"+r+".gb-headline-text:before",{content:'"'+i+'"'}),e})),n(47);var E=n(39),P=n.n(E);var M=function(e){w()(r,e);var t,n,o=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=C()(t);if(n){var o=C()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return O()(this,e)});function r(){return f()(this,r),o.apply(this,arguments)}return x()(r,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.contentType,r=t.excerptLength,c=t.useThemeMoreLink,p=t.customMoreLink;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.InspectorControls,null,Object(a.createElement)(l.PanelBody,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Type","gp-premium"),value:o,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Post content","gp-premium"),value:"post-content"},{label:Object(i.__)("Post excerpt","gp-premium"),value:"post-excerpt"},{label:Object(i.__)("Term description","gp-premium"),value:"term-description"},{label:Object(i.__)("Author description","gp-premium"),value:"author-description"}],onChange:function(e){n({contentType:e})}}),"post-excerpt"===o&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{label:Object(i.__)("Excerpt length","gp-premium"),type:"number",value:r||"",placeholder:gpPremiumBlockElements.excerptLength,onChange:function(e){n({excerptLength:e})},onBlur:function(){n({excerptLength:parseInt(r)})},onClick:function(e){e.currentTarget.focus()}}),Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("Use theme more link","gp-premium"),type:"number",checked:!!c,onChange:function(e){n({useThemeMoreLink:e})}}),!c&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Custom more link","gp-premium"),type:"text",value:p||"",onChange:function(e){n({customMoreLink:e})}})))),!o&&Object(a.createElement)(l.Placeholder,{label:Object(i.__)("Dynamic content","gp-premium"),instructions:Object(i.__)("Choose your dynamic content type.","gp-premium")},Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Type","gp-premium"),value:o,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Post content","gp-premium"),value:"post-content"},{label:Object(i.__)("Post excerpt","gp-premium"),value:"post-excerpt"},{label:Object(i.__)("Term description","gp-premium"),value:"term-description"},{label:Object(i.__)("Author description","gp-premium"),value:"author-description"}],onChange:function(e){n({contentType:e})}})),"post-content"===o&&Object(a.createElement)("div",{className:"gb-entry-content"},Object(a.createElement)("p",null,Object(i.__)("This is a placeholder for your content.","gp-premium")),Object(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"===o&&Object(a.createElement)("div",null,Object(a.createElement)(P.a,{block:"generatepress/dynamic-content",attributes:t})),("author-description"===o||"term-description"===o)&&Object(a.createElement)("div",{className:"gb-description"},Object(a.createElement)("p",null,Object(i.__)("This is a placeholder for your description.","gp-premium")),Object(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.")))}}]),r}(a.Component),z=n(22);Object(z.registerBlockType)("generatepress/dynamic-content",{title:Object(i.__)("Dynamic Content","gp-premium"),description:Object(i.__)("Displays dynamic content based on your chosen source.","gp-premium"),icon:Object(r.a)("generatepress"),category:"generatepress",keywords:[Object(i.__)("content"),Object(i.__)("dynamic content"),Object(i.__)("gp"),Object(i.__)("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:M,save:function(){return null}}),n(48);var q=n(40),A=n.n(q);var H=function(e){w()(r,e);var t,n,o=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=C()(t);if(n){var o=C()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return O()(this,e)});function r(){return f()(this,r),o.apply(this,arguments)}return x()(r,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,o=t.imageSize,r=t.imageType,c=t.imageSource,p=t.customField,d=t.linkTo,g=t.linkToCustomField,u=t.imageWidth,m=t.imageHeight,b=t.avatarSize,h=t.avatarRounded,f=t.gpDynamicSourceInSameTerm,y=t.gpDynamicSourceInSameTermTaxonomy,x=[];Object.keys(gpPremiumBlockElements.imageSizes).forEach((function(e){x.push({label:gpPremiumBlockElements.imageSizes[e],value:gpPremiumBlockElements.imageSizes[e]})}));var v=gpPremiumBlockElements.imageSizeDimensions,_=u,k=m;_||void 0!==v[o]&&v[o].width&&(_=v[o].width),k||void 0!==v[o]&&v[o].height&&(k=v[o].height);var w=gpPremiumBlockElements.featuredImagePlaceholder;"author-avatar"!==r&&_!==k||(w=gpPremiumBlockElements.authorImagePlaceholder);var T=wp.data.select("core/editor").getEditedPostAttribute("meta");return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.InspectorControls,null,Object(a.createElement)(l.PanelBody,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Type","gp-premium"),value:r,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Featured image","gp-premium"),value:"featured-image"},{label:Object(i.__)("Author avatar","gp-premium"),value:"author-avatar"},{label:Object(i.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){n({imageType:e})}}),("featured-image"===r||"post-meta"===r)&&Object(a.createElement)(a.Fragment,null,"post-meta"===r&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Meta field name","gp-premium"),type:"text",value:p,onChange:function(e){n({customField:e})}}),"post-navigation-template"===T._generate_block_type&&Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Source","gp-premium"),value:c,options:[{label:Object(i.__)("Current post","gp-premium"),value:"current-post"},{label:Object(i.__)("Next post","gp-premium"),value:"next-post"},{label:Object(i.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({imageSource:e})}}),("next-post"===c||"previous-post"===c)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("In same term","gp-premium"),help:Object(i.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!f,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!f&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Taxonomy","gp-premium"),help:Object(i.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:y,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}})),Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Image size","gp-premium"),value:o,options:x,onChange:function(e){n({imageSize:e})}}),Object(a.createElement)(l.TextControl,{label:Object(i.__)("Image width","gp-premium"),type:"number",value:u||"",placeholder:_,onChange:function(e){n({imageWidth:e})},onBlur:function(){u&&n({imageWidth:parseInt(u)})},onClick:function(e){e.currentTarget.focus()}}),Object(a.createElement)(l.TextControl,{label:Object(i.__)("Image height","gp-premium"),type:"number",value:m||"",placeholder:k,onChange:function(e){n({imageHeight:e})},onBlur:function(){m&&n({imageHeight:parseInt(m)})},onClick:function(e){e.currentTarget.focus()}}),Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Link to","gp-premium"),value:d,options:[{label:Object(i.__)("None","gp-premium"),value:""},{label:Object(i.__)("Single post","gp-premium"),value:"single-post"},{label:Object(i.__)("Custom field","gp-premium"),value:"custom-field"}],onChange:function(e){n({linkTo:e})}}),"custom-field"===d&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Custom field name","gp-premium"),type:"text",value:g,onChange:function(e){n({linkToCustomField:e})}})),"author-avatar"===r&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{label:Object(i.__)("Image size","gp-premium"),type:"number",value:b||"",onChange:function(e){n({avatarSize:parseInt(e)})}}),Object(a.createElement)(l.ToggleControl,{label:Object(i.__)("Make image rounded","gp-premium"),checked:!!h,onChange:function(e){n({avatarRounded:e})}})))),!r&&Object(a.createElement)(l.Placeholder,{label:Object(i.__)("Dynamic image","gp-premium"),instructions:Object(i.__)("Choose your dynamic image type.","gp-premium")},Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Type","gp-premium"),value:r,options:[{label:Object(i.__)("Choose…","gp-premium"),value:""},{label:Object(i.__)("Featured image","gp-premium"),value:"featured-image"},{label:Object(i.__)("Author avatar","gp-premium"),value:"author-avatar"},{label:Object(i.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){n({imageType:e})}})),Object(a.createElement)("div",{className:"gpp-dynamic-image-preview"},Object(a.createElement)(a.Fragment,null,("featured-image"===r||"post-meta"===r)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"components-gpp-dynamic-image-placeholder__label"},Object(a.createElement)(l.Icon,{icon:"format-image"})),Object(a.createElement)("img",{src:w,className:"dynamic-featured-image gpp-dynamic-image-placeholder",width:_||"",height:k||"",alt:Object(i.__)("Dynamic image placeholder","gp-premium")})),"author-avatar"===r&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"components-gpp-dynamic-image-placeholder__label"},Object(a.createElement)(l.Icon,{icon:"admin-users"})),Object(a.createElement)("img",{src:w,className:A()({"dynamic-author-image":!0,"gpp-dynamic-image-placeholder":!0,"dynamic-author-image-rounded":!!h}),width:b||null,height:b||null,alt:Object(i.__)("Dynamic image placeholder","gp-premium")})))))}}]),r}(a.Component);Object(z.registerBlockType)("generatepress/dynamic-image",{title:Object(i.__)("Dynamic Image","gp-premium"),description:Object(i.__)("Displays a dynamic image from your chosen source.","gp-premium"),icon:Object(r.a)("generatepress"),category:"generatepress",keywords:[Object(i.__)("image"),Object(i.__)("dynamic image"),Object(i.__)("gp"),Object(i.__)("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:H,save:function(){return null}});var N=n(16),F=n.n(N),U=n(19),G=n.n(U),W=n(41),V=n.n(W);n(49);var J=function(e){w()(r,e);var t,n,o=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=C()(t);if(n){var o=C()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return O()(this,e)});function r(){return f()(this,r),o.apply(this,arguments)}return x()(r,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.value,o=e.onClick,r=e.units;return Object(a.createElement)("div",{className:"components-generatepress-units-control-header__units"},Object(a.createElement)("div",{className:"components-generatepress-units-control-label__units"},t),Object(a.createElement)("div",{className:"components-generatepress-control__units"},Object(a.createElement)(l.ButtonGroup,{className:"components-generatepress-control-buttons__units","aria-label":Object(i.__)("Select Units","gp-premium")},r.map((function(e){var t=e;return"px"===e&&(t=Object(i._x)("Pixel","A size unit for CSS markup","gp-premium")),"em"===e&&(t=Object(i._x)("Em","A size unit for CSS markup","gp-premium")),"%"===e&&(t=Object(i._x)("Percentage","A size unit for CSS markup","gp-premium")),"deg"===e&&(t=Object(i._x)("Degree","A size unit for CSS markup","gp-premium")),Object(a.createElement)(l.Tooltip
/* translators: Unit type (px, em, %) */,{text:Object(i.sprintf)(Object(i.__)("%s Units","gp-premium"),t),key:e},Object(a.createElement)(l.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":Object(i.sprintf)(Object(i.__)("%s Units","gp-premium"),t),onClick:function(){return o(e)}},e))})))))}}]),r}(a.Component),K=n(3),Y=n.n(K);function $(e,t){const{key:n,options:a}=t,o=a.length-1;let r="ArrowDown"===n?e+1:e-1;r<0?r=o:r>o&&(r=0);const i=a[r];return i&&i.disabled?$(r,{key:n,options:a}):r}function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){return Array.isArray(e)?e.map(e=>t.find(t=>t.value===e)):t.find(t=>t.value===e)||null}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let ie=null;try{ie=n(50)}catch(e){}function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se({value:e=null,disabled:t=!1,multiple:n=!1,search:a=!1,fuse:o=!1,options:r,onChange:i=(()=>{}),getOptions:c=null,allowEmpty:l=!0,closeOnSelect:p=!0,closable:s=!0}){const d=Object(K.useRef)(null),g=Object(K.useMemo)(()=>function(e){if(!Array.isArray(e))return[];const t=[];return e.forEach((e,n)=>{if("type"in e&&"group"===e.type){const a=e.name.replace(/\s+/g,"-").toLowerCase()+"-"+n;e.items.forEach(n=>{t.push(X(X({},n),{},{groupId:a,groupName:e.name,_id:""+n.value}))})}else t.push(X(X({},e),{},{_id:""+e.value,index:n}))}),t}(r),[r]),[u,m]=Object(K.useState)({flat:[],addedOptions:[],value:e,search:"",focus:!1,searching:!1,highlighted:-1,changed:!1}),{flat:b,addedOptions:h,value:f,search:y,focus:x,searching:v,highlighted:_}=u,k=Object(K.useMemo)(()=>{let e=ne(f,[...g,...h]);return e||l||n||([e]=g),e},[f,g,h,l,n]),w=Object(K.useMemo)(()=>function(e){const t=[];return e.forEach((e,n)=>{if("groupId"in e){const a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),o=t.findIndex(e=>"groupId"in e&&e.groupId===a.groupId);a.index=n,o>-1?t[o].items.push(a):t.push({items:[a],groupId:e.groupId,type:"group",name:e.groupName})}else t.push(e)}),t}(b),[b]),T=Object(K.useMemo)(()=>function(e){return e&&"object"==typeof e?Array.isArray(e)?e.map(e=>e&&e.name).join(", "):e.name:""}(k),[k]),O=Object(K.useCallback)(()=>{m(e=>le(le({},e),{},{focus:!1,search:"",flat:g,highlighted:-1})),d.current&&d.current.blur()},[g,d]),j=e=>m(t=>le(le({},t),{},{focus:e})),C=Object(K.useCallback)(e=>{m(t=>{const{flat:a,highlighted:o}=t,r=e?a.find(t=>t.value==e):a[o];if(!r)return t;const i=function(e,t,n){if(!n)return e;if(!t)return[e];const a=Array.isArray(t)?[...t]:[t],o=a.findIndex(t=>t===e);return o>=0?a.splice(o,1):a.push(e),a}(r.value,t.value,n),c=ne(i,a);return le(le({},t),{},{addedOptions:n?c:[c],value:i,changed:[i,c]})})},[n]),D=Object(K.useCallback)(e=>{e.preventDefault(),p&&d.current&&d.current.blur(),C(e.currentTarget.value)},[C,p]),S=Object(K.useCallback)(e=>{const{key:t}=e;"ArrowDown"!==t&&"ArrowUp"!==t||(e.preventDefault(),m(e=>le(le({},e),{},{highlighted:$(e.highlighted,{key:t,options:e.flat})})))},[]),I=Object(K.useCallback)(({key:e})=>{"Enter"===e&&(C(),s&&p&&O())},[C,p,O,s]),R=Object(K.useCallback)(({key:e})=>{"Escape"===e&&O()},[O]),L={tabIndex:"0",readOnly:!a,onChange:a?({target:e})=>{const{value:t}=e,n={search:t};let a=g;c&&t.length&&(n.searching=!0,a=c(t)),m(e=>le(le({},e),n)),Promise.resolve(a).then(e=>{let n=e;t.length&&(n=function(e,t,n){return!!(e.length&&ie&&n)&&function(e,t,n){return new ie(t,n).search(e).map((e,t)=>oe(oe({},e),{},{index:t}))}(e,t,n)}(t,e,o)),m(t=>le(le({},t),{},{flat:!1===n?e:n,searching:!1}))}).catch(()=>m(e=>le(le({},e),{},{flat:g,searching:!1})))}:null,disabled:t,onMouseDown:()=>j(!x),onBlur:O,onFocus:()=>j(!0),onKeyPress:I,onKeyDown:S,onKeyUp:R,ref:d},B=Object(K.useMemo)(()=>({tabIndex:"-1",onMouseDown:D,onKeyDown:S,onKeyPress:I,onBlur:O}),[D,S,I,O]);return Object(K.useEffect)(()=>{m(t=>le(le({},t),{},{value:e}))},[e]),Object(K.useEffect)(()=>{m(e=>le(le({},e),{},{flat:g}))},[g]),Object(K.useEffect)(()=>{!1!==u.changed&&(m(e=>le(le({},e),{},{changed:!1})),i(...u.changed))},[u.changed,i]),[{value:k,highlighted:_,options:w,disabled:t,displayValue:T,focus:x,search:y,searching:v},L,B,e=>m(t=>le(le({},t),{},{value:e}))]}var de=n(7),ge=n.n(de);const ue=ge.a.shape({name:ge.a.string.isRequired,value:ge.a.oneOfType([ge.a.string,ge.a.number]).isRequired});function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ge.a.oneOfType([ue,ge.a.shape({name:ge.a.string.isRequired,type:ge.a.string.isRequired,items:ge.a.arrayOf(ue)})]),ge.a.oneOfType([ge.a.object,ge.a.arrayOf(ge.a.object)]),ge.a.oneOfType([ge.a.string,ge.a.func]);const fe=e=>{let{optionProps:t,highlighted:n,selected:a,cls:o,renderOption:r}=e,i=function(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["optionProps","highlighted","selected","cls","renderOption"]);const c=[o("option"),!!a&&o("is-selected"),!!n&&o("is-highlighted")].filter(e=>!!e).join(" "),l=be(be({},t),{},{value:i.value,disabled:i.disabled});return Y.a.createElement("li",{className:o("row"),role:"menuitem","data-index":i.index,"data-value":escape(i.value),key:i.value},r(l,i,{selected:a,highlighted:n},c))};fe.defaultProps={disabled:!1,index:null,value:null},fe.propTypes={};var ye=Object(K.memo)(fe);function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const we=Object(K.forwardRef)(({value:e,disabled:t,placeholder:n,multiple:a,search:o,autoFocus:r,autoComplete:i,options:c,id:l,onChange:p,printOptions:s,closeOnSelect:d,className:g,renderValue:u,renderOption:m,renderGroupHeader:b,getOptions:h,fuse:f,emptyMessage:y},x)=>{const v=Object(K.useRef)(null),[_,k,w]=se({options:c,value:e,multiple:a,disabled:t,fuse:f,search:o,onChange:p,getOptions:h,closeOnSelect:d,closable:!a||"on-focus"===s,allowEmpty:!!n}),{focus:T,highlighted:O,value:j,options:C,searching:D,displayValue:S,search:I}=_,R=Object(K.useCallback)(e=>"function"==typeof g?g(e):0===e.indexOf("container")?e.replace("container",g):0===e.indexOf("is-")||0===e.indexOf("has-")?e:g.split(" ")[0]+"__"+e,[g]),L=Object(K.useCallback)(()=>{if(null===y)return null;const e="function"==typeof y?y():y;return Y.a.createElement("li",{className:R("not-found")},e)},[y,R]),B=[R("container"),!!t&&R("is-disabled"),!!D&&R("is-loading"),!!T&&R("has-focus")].filter(e=>!!e).join(" "),E=T&&o?I:S;let P;switch(Object(K.useEffect)(()=>{const{current:e}=v;if(!e||a||O<0&&!j)return;const t=O>-1?'[data-index="'+O+'"]':'[data-value="'+escape(j.value)+'"]',n=e.querySelector(t);if(n){const t=e.getBoundingClientRect(),a=n.getBoundingClientRect();e.scrollTop=n.offsetTop-t.height/2+a.height/2}},[T,j,O,v,a]),s){case"never":P=!1;break;case"always":P=!0;break;case"on-focus":P=T;break;default:P=!t&&(T||a)}return Y.a.createElement("div",{ref:x,className:B,id:l},(!a||n||o)&&Y.a.createElement("div",{className:R("value")},u(_e(_e({},k),{},{placeholder:n,autoFocus:r,autoComplete:i,value:E}),_,R("input"))),P&&Y.a.createElement("div",{className:R("select"),ref:v,onMouseDown:e=>e.preventDefault()},Y.a.createElement("ul",{className:R("options")},C.length>0?C.map(e=>{const t="group"===e.type,n=t?e.items:[e],a={cls:R,optionProps:w,renderOption:m},o=n.map(e=>{return Y.a.createElement(ye,xe({key:e.value,selected:(t=e,n=j,!!n&&(Array.isArray(n)?n.findIndex(e=>e.value===t.value)>=0:n.value===t.value)),highlighted:O===e.index},a,e));var t,n});return t?Y.a.createElement("li",{role:"none",className:R("row"),key:e.groupId},Y.a.createElement("div",{className:R("group")},Y.a.createElement("div",{className:R("group-header")},b(e.name)),Y.a.createElement("ul",{className:R("options")},o))):o}):L()||null)))});we.defaultProps={className:"select-search",disabled:!1,search:!1,multiple:!1,placeholder:null,id:null,autoFocus:!1,autoComplete:"on",value:"",onChange:()=>{},printOptions:"auto",closeOnSelect:!0,renderOption:(e,t,n,a)=>Y.a.createElement("button",xe({type:"button",className:a},e),t.name),renderGroupHeader:e=>e,renderValue:(e,t,n)=>Y.a.createElement("input",xe({},e,{className:n})),fuse:{keys:["name","groupName"],threshold:.3},getOptions:null,emptyMessage:null},we.propTypes={};var Te=Object(K.memo)(we),Oe=(n(51),{template_1:{label:Object(i._x)("Two columns with featured image","label","gp-premium"),thumbnail:"post-navigation-featured-images-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99fe8eb7","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"7b27c819","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"8e5dc8f7","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginBottomMobile":"10","isDynamic":true,"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"e2b84192","columns":2,"horizontalGap":15,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6aed9546","isGrid":true,"gridId":"fa4d77e4","width":25,"widthMobile":25,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\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 --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d54a6460","isGrid":true,"gridId":"fa4d77e4","width":75,"widthMobile":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0d00c744","element":"p","marginBottom":"5","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","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","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/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2540358d","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignmentMobile":"left","isDynamic":true,"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"6e69ba24","columns":2,"horizontalGap":15,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"daa456b5","isGrid":true,"gridId":"fa4d77e4","width":75,"widthMobile":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","alignmentMobile":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2883b2a4","element":"p","marginBottom":"5","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","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","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 {"uniqueId":"2634cdf9","isGrid":true,"gridId":"fa4d77e4","width":25,"widthMobile":25,"orderMobile":-1,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\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 --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\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:Object(i._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d1dd99b1","paddingTop":"20","paddingRight":"0","paddingBottom":"20","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"a4b97d6a","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9c89f761","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginBottomMobile":"10","isDynamic":true,"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"c04126aa","columns":2,"horizontalGap":15,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9cf413a8","isGrid":true,"gridId":"fa4d77e4","width":15,"widthTablet":25,"widthMobile":15,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"38a2c075","fillHorizontalSpace":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"bec8d56e","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#abb8c3","textColorHover":"","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","iconSize":1.5,"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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"625f3305","isGrid":true,"gridId":"fa4d77e4","width":85,"widthTablet":75,"widthMobile":85,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a6f36397","element":"p","marginBottom":"0","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","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","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/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5d70717c","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","alignmentMobile":"left","isDynamic":true,"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ee647ff2","columns":2,"horizontalGap":15,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"78f3ead4","isGrid":true,"gridId":"fa4d77e4","width":85,"widthTablet":75,"widthMobile":85,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"643cf12f","element":"p","marginBottom":"0","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","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","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","isGrid":true,"gridId":"fa4d77e4","width":15,"widthTablet":25,"widthMobile":15,"orderMobile":-1,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"fe863527","fillHorizontalSpace":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"122d9fa4","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#abb8c3","textColorHover":"","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","iconSize":1.5,"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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\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:Object(i._x)("Two columns with background overlays","label","gp-premium"),thumbnail:"post-navigation-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"aadd0a6f","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"fe8855c5","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"59edc08b","isGrid":true,"gridId":"fe8855c5","paddingTop":"40","paddingRight":"40","paddingBottom":"40","paddingLeft":"40","paddingSyncUnits":true,"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":""},"isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8d3d4c12","element":"p","backgroundColor":"#cf2e2e","showAdvancedTypography":true,"fontSize":14,"textTransform":"uppercase","paddingTop":"5","paddingRight":"10","paddingBottom":"5","paddingLeft":"10","inlineWidth":true} --\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","showAdvancedTypography":true,"fontSize":25,"marginBottom":"0","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 {"uniqueId":"993a41e4","isGrid":true,"gridId":"fe8855c5","paddingTop":"40","paddingRight":"40","paddingBottom":"40","paddingLeft":"40","paddingSyncUnits":true,"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":""},"isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"49c8845f","element":"p","backgroundColor":"#cf2e2e","showAdvancedTypography":true,"fontSize":14,"textTransform":"uppercase","paddingTop":"5","paddingRight":"10","paddingBottom":"5","paddingLeft":"10","inlineWidth":true} --\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","showAdvancedTypography":true,"fontSize":25,"marginBottom":"0","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/grid --\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:Object(i._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"96f5f0fa","innerContainer":"full","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"4785bcc3","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5287d6da","isGrid":true,"gridId":"4785bcc3","paddingTop":"30","paddingRight":"0","paddingBottom":"25","paddingLeft":"25","backgroundColor":"#ffffff","isDynamic":true,"gpRemoveContainerCondition":"no-previous-post","opacities":[],"textShadows":[{"state":"normal","target":"self","customSelector":"","color":"#000000","colorOpacity":0.5,"xOffset":5,"yOffset":5,"blur":10}]} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"261aea9d","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"eb3b7005","isGrid":true,"gridId":"261aea9d","width":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0a2d5bfc","element":"h3","alignment":"left","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","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","hasIcon":true,"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 {"uniqueId":"75cd654a","isGrid":true,"gridId":"261aea9d","width":25,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"2cf8ccdf","alignment":"right","stack":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"6acb0e83","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#0366d6","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7af8fa61","isGrid":true,"gridId":"4785bcc3","paddingTop":"30","paddingRight":"25","paddingBottom":"25","paddingLeft":"0","backgroundColor":"#0366d6","isDynamic":true,"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"1161e4d4","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"045e1698","isGrid":true,"gridId":"261aea9d","width":25,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"b5e0b3c6","alignment":"left","stack":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"557abb73","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#ffffff","textColor":"#0693e3","backgroundColorHover":"#222222","textColorHover":"#ffffff","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9ad09f6f","isGrid":true,"gridId":"261aea9d","width":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9ba9e9d1","element":"h3","alignment":"right","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/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ebf8dbe","element":"p","alignment":"right","textColor":"#ffffff","linkColor":"#ffffff","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","hasIcon":true,"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/grid --\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:Object(i._x)("Two columsn with featured image offset","label","gp-premim"),thumbnail:"post-navigation-offset.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"52018004","innerContainer":"full","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginRight":"30","marginLeft":"30","marginLeftTablet":"30","marginRightMobile":"25","marginLeftMobile":"25","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"7bdd6853","columns":4,"horizontalGap":0,"verticalGapMobile":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4138dd74","isGrid":true,"gridId":"7bdd6853","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","borderRadiusBottomLeft":"10","borderRadiusTopLeft":"10","borderRadiusBottomLeftTablet":"0","borderRadiusBottomLeftMobile":"0","borderRadiusTopLeftMobile":"5","bgImage":{"id":"","image":{"url":"https://generatepress.local/wp-content/plugins/gp-premium/elements/assets/admin/background-image-fallback.jpg"}},"verticalAlignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicLinkType":"post","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"776ec4d6","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a3aaad4c","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#b5b5b5","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#f9f9f9","marginRight":"1.5","marginLeft":"-1.5","marginUnit":"em","paddingTop":"15","paddingRight":"15","paddingBottom":"15","paddingLeft":"15","borderSizeTop":"7","borderSizeRight":"7","borderSizeBottom":"7","borderSizeLeft":"7","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","borderRadiusUnit":"%","iconSizeMobile":0.8,"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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"18430adf","isGrid":true,"gridId":"7bdd6853","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"30","paddingRight":"30","paddingBottom":"30","paddingLeft":"30","paddingSyncUnits":true,"paddingTopMobile":"10","paddingRightMobile":"10","paddingBottomMobile":"10","paddingLeftMobile":"10","marginRight":"10","marginRightTablet":"0","marginRightMobile":"0","borderRadiusTopRight":"10","borderRadiusBottomRight":"10","borderRadiusBottomRightTablet":"0","borderRadiusTopRightMobile":"5","borderRadiusBottomRightMobile":"0","backgroundColor":"#ffffff","zindex":2,"alignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2acc62a4","element":"h3","alignment":"left","backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","showAdvancedTypography":true,"fontSize":25,"fontSizeMobile":17,"marginBottom":"0","marginLeft":"-4","marginUnit":"em","marginLeftMobile":"-3","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingSyncUnits":true,"borderRadiusBottomLeft":"10","borderRadiusTopLeft":"10","borderRadiusTopRightMobile":"5","borderRadiusBottomRightMobile":"5","borderRadiusBottomLeftMobile":"5","borderRadiusTopLeftMobile":"5","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","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"30","paddingRight":"30","paddingBottom":"30","paddingLeft":"30","paddingSyncUnits":true,"paddingTopMobile":"10","paddingRightMobile":"10","paddingBottomMobile":"10","paddingLeftMobile":"10","marginLeft":"10","marginLeftTablet":"0","marginLeftMobile":"0","borderRadiusBottomLeft":"10","borderRadiusTopLeft":"10","borderRadiusTopLeftTablet":"0","borderRadiusBottomLeftMobile":"5","borderRadiusTopLeftMobile":"0","backgroundColor":"#ffffff","zindex":1,"alignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9d97a37f","element":"h3","alignment":"right","backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","showAdvancedTypography":true,"fontSize":25,"fontSizeMobile":17,"marginRight":"-4","marginBottom":"0","marginUnit":"em","marginRightMobile":"-3","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingSyncUnits":true,"borderRadiusTopRight":"10","borderRadiusBottomRight":"10","borderRadiusTopRightMobile":"5","borderRadiusBottomRightMobile":"5","borderRadiusBottomLeftMobile":"5","borderRadiusTopLeftMobile":"5","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","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","borderRadiusTopRight":"10","borderRadiusBottomRight":"10","borderRadiusTopRightTablet":"0","borderRadiusTopRightMobile":"0","borderRadiusBottomRightMobile":"5","bgImage":{"id":"","image":{"url":"https://generatepress.local/wp-content/plugins/gp-premium/elements/assets/admin/background-image-fallback.jpg"}},"verticalAlignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"ad40b681","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"139d60e4","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#b5b5b5","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#f9f9f9","marginRight":"-1.5","marginLeft":"1.5","marginUnit":"em","paddingTop":"15","paddingRight":"15","paddingBottom":"15","paddingLeft":"15","borderSizeTop":"7","borderSizeRight":"7","borderSizeBottom":"7","borderSizeLeft":"7","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","borderRadiusUnit":"%","iconSizeMobile":0.8,"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post","opacities":[],"transitions":[],"boxShadows":[],"transforms":[],"textShadows":[],"filters":[]} --\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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\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}]}}),je={basic_1:{label:Object(i._x)("Inline with avatar","label","gp-premium"),thumbnail:"post-meta-inline.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8a25fc79","paddingTop":"15","paddingRight":"0","paddingBottom":"15","paddingLeft":"0","marginTop":"20","marginBottom":"20","borderSizeTop":"1","borderSizeBottom":"1","borderColor":"#e8edf0","showAdvancedTypography":true,"fontSize":14,"isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3fb4928a","element":"div","marginLeft":"10","paddingRight":"10","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/headline {"uniqueId":"f9b55781","element":"div","borderColor":"#e8edf0","paddingLeft":"10","borderSizeLeft":"1","inlineWidth":true,"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","borderColor":"#e8edf0","marginLeft":"10","paddingLeft":"10","borderSizeLeft":"1","hasIcon":true,"inlineWidth":true,"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:Object(i._x)("Stacked with avatar","label","gp-premium"),thumbnail:"post-meta-avatar-stacked.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"a745be15","paddingTop":"20","paddingRight":"0","paddingBottom":"20","paddingLeft":"0","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"fe4d27a3","columns":2,"horizontalGap":15,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fd4592f4","isGrid":true,"gridId":"fe4d27a3","width":10,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":120} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"137e86ad","isGrid":true,"gridId":"fe4d27a3","width":90,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"d7bb0434","element":"p","marginBottom":"5","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","marginBottom":"0","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/grid --\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:Object(i._x)("Term buttons","label","gp-premium"),thumbnail:"post-meta-term-buttons.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"7134d7c2","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"621d2c31","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"e378fc0b","hasUrl":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontSize":13,"marginTop":"5","marginRight":"5","marginBottom":"5","marginLeft":"5","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","borderRadiusTopRight":"20","borderRadiusBottomRight":"20","borderRadiusBottomLeft":"20","borderRadiusTopLeft":"20","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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"before-post-title"},{key:"_generate_disable_primary_post_meta",value:!1}]}},Ce={template_1:{label:Object(i._x)("Full footer 1","label","gp-premium"),thumbnail:"site-footer-full-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"73cd57e1","paddingTop":"140","paddingRight":"30","paddingBottom":"60","paddingLeft":"30","backgroundColor":"#1b1b42","shapeDividers":[],"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"b76f312f","columns":3,"horizontalGap":80,"verticalAlignment":"center","verticalGapTablet":40,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"53cb46e2","isGrid":true,"gridId":"41f809a3","width":60,"widthTablet":100,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"aa19f1fb","element":"h3","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","textColor":"#ffffff","paddingRight":"100","paddingRightTablet":"0"} --\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-container {"uniqueId":"a8276863","marginTop":"30","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"529d5dda","hasUrl":true,"backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#6212b3","backgroundColorHoverOpacity":0,"textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","borderColorHoverOpacity":0.8,"fontWeight":"600","marginRight":"20","marginBottomMobile":"20","paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","borderSizeTop":"3","borderSizeRight":"3","borderSizeBottom":"3","borderSizeLeft":"3","borderRadiusTopRight":"2","borderRadiusBottomRight":"2","borderRadiusBottomLeft":"2","borderRadiusTopLeft":"2"} --\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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e1bd60bb","isGrid":true,"gridId":"41f809a3","width":20,"widthTablet":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","removeVerticalGapTablet":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"37420255","element":"p","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","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#f2f5fa","marginBottom":"0","hasIcon":true,"iconPaddingTop":".1"} --\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":"41f809a3","width":20,"widthTablet":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","removeVerticalGapTablet":true,"removeVerticalGapMobile":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"08544617","alignment":"right","alignmentTablet":"right","alignmentMobile":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"13c371f8","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"instagram link","backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","marginRight":"20","paddingTop":"6","paddingRight":"6","paddingBottom":"6","paddingLeft":"6","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","iconSize":0.8} --\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,"hasIcon":true,"removeText":true,"ariaLabel":"twitter link","backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","marginRight":"20","paddingTop":"6","paddingRight":"6","paddingBottom":"6","paddingLeft":"6","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","iconSize":0.8} --\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,"hasIcon":true,"removeText":true,"ariaLabel":"facebook link","backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","paddingTop":"6","paddingRight":"6","paddingBottom":"6","paddingLeft":"6","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","iconSize":0.8} --\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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"0f87c806","paddingTop":"60","paddingRight":"0","paddingBottom":"60","paddingLeft":"0","marginTop":"60","borderSizeTop":"1","borderColor":"#ffffff","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"9cc30ed9","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e6861bde","isGrid":true,"gridId":"60ab45cf","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"97c10964","element":"p","textColor":"#ffffff","showAdvancedTypography":true,"fontSize":17} --\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","isGrid":true,"gridId":"60ab45cf","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"d060803e","alignment":"right","alignmentMobile":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"907cc664","hasUrl":true,"backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"","textColorHover":"#f2f5fa","showAdvancedTypography":true,"fontSize":17,"marginRight":"30"} --\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,"backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"","textColorHover":"#f2f5fa","showAdvancedTypography":true,"fontSize":17} --\x3e <a class="gb-button gb-button-a6a340bc gb-button-text" href="#">Terms of Service</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e'},template_2:{label:Object(i._x)("Full footer 2","label","gp-premium"),thumbnail:"site-footer-full-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"e224c1dd","paddingTop":"80","paddingRight":"20","paddingBottom":"80","paddingLeft":"20","backgroundColor":"#fafbfc","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"34307d45","element":"p","alignment":"center","textColor":"#2e3d4d","showAdvancedTypography":true,"fontWeight":"bold","fontSize":14,"textTransform":"uppercase","letterSpacing":0.3,"marginTop":"10"} --\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","paddingTop":"60","paddingRight":"20","paddingBottom":"60","paddingLeft":"20","marginTop":"60","marginBottom":"60","borderSizeTop":"1","borderSizeBottom":"1","borderColor":"#5c7a99","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"690686fb","columns":3,"horizontalGap":0,"verticalAlignment":"center","verticalGapMobile":40,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"12d457ad","isGrid":true,"gridId":"f5b096f9","width":32,"paddingTop":"0","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8818b435","element":"p","alignment":"center","showAdvancedTypography":true,"fontWeight":"bold","fontSize":13,"textTransform":"uppercase","letterSpacing":0.2,"marginBottom":"0"} --\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","isGrid":true,"gridId":"f5b096f9","width":36,"paddingTop":"0","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","borderSizeRight":"1","borderSizeLeft":"1","borderSizeTopMobile":"0","borderSizeRightMobile":"0","borderSizeBottomMobile":"0","borderSizeLeftMobile":"0","borderColor":"#5c7a99","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"cf4dcfab","element":"p","alignment":"center","showAdvancedTypography":true,"fontWeight":"bold","fontSize":13,"textTransform":"uppercase","letterSpacing":0.2,"marginBottom":"0"} --\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","isGrid":true,"gridId":"f5b096f9","width":32,"paddingTop":"0","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","removeVerticalGapMobile":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"fd601b43","alignment":"center","marginBottom":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"2800ad9a","hasUrl":false,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.9} --\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,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.9} --\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,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.8} --\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,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.8} --\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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"424f95c0","columns":2,"verticalGapMobile":30,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc32f783","isGrid":true,"gridId":"90341e96","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1e50faeb","element":"p","alignment":"left","alignmentMobile":"center","showAdvancedTypography":true,"fontWeight":"bold","fontSize":12,"textTransform":"uppercase","letterSpacing":0.2} --\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","isGrid":true,"gridId":"90341e96","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","removeVerticalGapMobile":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"b4f65930","alignment":"right","alignmentMobile":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"373aae0d","hasUrl":false,"textColor":"#2e3d4d","textColorHover":"#5c7a99","showAdvancedTypography":true,"fontWeight":"bold","fontSize":12,"textTransform":"uppercase","letterSpacing":0.2,"marginRight":"30"} --\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,"textColor":"#2e3d4d","textColorHover":"#5c7a99","showAdvancedTypography":true,"fontWeight":"bold","fontSize":12,"textTransform":"uppercase","letterSpacing":0.2} --\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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e'}},De={template_1:{label:Object(i._x)("Basic layout with term buttons","label","gp-premium"),thumbnail:"content-template-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d2cafe96","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"6d7bfb40","marginBottom":"15","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"38620841","hasUrl":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontSize":13,"paddingTop":"5","paddingRight":"10","paddingBottom":"5","paddingLeft":"10","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/button-container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f593ba8c","linkColor":"#000000","linkColorHover":"#858585","showAdvancedTypography":true,"fontWeight":"bold","marginBottom":"30","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","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"27f5a324","columns":2,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"dc72dc13","isGrid":true,"gridId":"10064c4d","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"c7b33e8b","element":"p","marginBottom":"0","marginLeft":"10","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","isGrid":true,"gridId":"10064c4d","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"af8af68e","element":"p","marginBottom":"0","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/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b70b46a6","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginTop":"30","marginBottom":"30","isDynamic":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:Object(i._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","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"marginTop":"-65","marginRight":"40","marginBottom":"20","marginLeft":"0","backgroundColor":"#ffffff","zindex":1,"showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"83898f1c","element":"p","linkColor":"#000000","linkColorHover":"#abb8c3","showAdvancedTypography":true,"fontWeight":"700","fontSize":14,"textTransform":"uppercase","marginBottom":"20","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","showAdvancedTypography":true,"fontSize":28,"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","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginTop":"20","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ee363d21","columns":2,"horizontalGap":0,"verticalAlignment":"flex-end","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"74fcc8db","isGrid":true,"gridId":"b23efd25","width":66.66,"widthMobile":66.66,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginTop":"15","isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":35,"avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"33ed7660","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginLeft":"10","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2def9732","element":"p","borderColor":"","showAdvancedTypography":true,"fontSize":15,"marginBottom":"0","borderSizeRight":"0","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","showAdvancedTypography":true,"fontSize":12,"marginRight":"10","marginBottom":"0","borderSizeBottom":"0","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","isGrid":true,"gridId":"b23efd25","width":33.33,"widthMobile":33.33,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginTop":"15","verticalAlignment":"center","alignment":"right","isDynamic":true,"gpInlinePostMetaJustify":"flex-end"} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"ee5c36a9","alignment":"right","marginTop":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"7c89fc64","hasUrl":true,"backgroundColor":"","textColor":"#000000","backgroundColorHover":"","textColorHover":"#abb8c3","fontWeight":"700","textTransform":"uppercase","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","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/button-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_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:Object(i._x)("Layout with featured image overlay","label","gp-premim"),thumbnail:"content-template-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99e0f8fe","minHeight":420,"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","borderRadiusTopRight":"12","borderRadiusBottomRight":"12","borderRadiusBottomLeft":"12","borderRadiusTopLeft":"12","gradient":true,"gradientDirection":180,"gradientColorOne":"#000000","gradientColorOneOpacity":0.62,"gradientColorTwoOpacity":0,"gradientSelector":"pseudo-element","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"isDynamic":true,"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"864271b1","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginBottom":"10","isDynamic":true,"gpInlinePostMeta":true,"gpInlinePostMetaJustify":"space-between"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bc0ec4fa","element":"p","showAdvancedTypography":true,"fontWeight":"700","fontSize":13,"textTransform":"uppercase","marginRight":"10","marginBottom":"0","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","alignment":"right","showAdvancedTypography":true,"fontSize":12,"marginBottom":"0","hasIcon":true,"iconSize":1.4,"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","showAdvancedTypography":true,"fontSize":24,"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/button-container {"uniqueId":"3413b754","alignment":"right","marginTop":"300","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"95f40917","hasUrl":true,"backgroundColor":"#ffffff","textColor":"#000000","backgroundColorHover":"#ffffff","backgroundColorHoverOpacity":0.75,"textColorHover":"#000000","borderColor":"#ffffff","borderColorHover":"#ffffff","showAdvancedTypography":true,"fontWeight":"700","fontSize":12,"textTransform":"uppercase","paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"8","borderRadiusBottomRight":"8","borderRadiusBottomLeft":"8","borderRadiusTopLeft":"8","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/button-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:Object(i._x)("Layout with slanted shape divider","label","gp-premim"),thumbnail:"content-template-slant.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af7ec3a","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"borderSizeTop":"0","borderSizeRight":"0","borderSizeBottom":"0","borderSizeLeft":"0","borderColor":"#000000","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc5683f8","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginTop":"0","marginBottom":"0","zindex":1,"showAdvancedTypography":true,"fontSize":14,"shapeDividers":[{"shape":"gb-angle-1","color":"#ffffff","colorOpacity":1,"location":"bottom","height":50,"heightTablet":"","heightMobile":"","width":100,"widthTablet":"","widthMobile":"","flipHorizontally":false,"zindex":""}],"isDynamic":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7f6bf8cd","paddingTop":"0","paddingRight":"25","paddingBottom":"15","paddingLeft":"25","marginTop":"0","marginRight":"0","marginBottom":"0","marginLeft":"0","backgroundColor":"#ffffff","zindex":1,"showAdvancedTypography":true,"shapeDividers":[],"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"7fd9c317","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"5","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","showAdvancedTypography":true,"fontSize":30,"marginBottom":"15","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/button-container {"uniqueId":"bc9ef703","alignment":"right","marginTop":"15","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"120ee35e","hasUrl":true,"backgroundColor":"","textColor":"#000000","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontWeight":"700","textTransform":"uppercase","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","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/button-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:Object(i._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","paddingTop":"25","paddingRight":"25","paddingBottom":"25","paddingLeft":"25","paddingSyncUnits":true,"backgroundColor":"#ffffff","alignment":"center","showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"82629d5c","linkColor":"#000000","showAdvancedTypography":true,"fontWeight":"700","fontSize":25,"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-container {"uniqueId":"ad806696","alignment":"center","marginTop":"20","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a1b8a609","hasUrl":true,"backgroundColor":"#cf2e2e","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontSize":15,"textTransform":"uppercase","paddingTop":"8","paddingRight":"20","paddingBottom":"8","paddingLeft":"20","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","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/button-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_6:{label:Object(i._x)("Layout with borders","label","gp-premim"),thumbnail:"content-template-borders.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af4cc7c","paddingTop":"5","paddingRight":"5","paddingBottom":"5","paddingLeft":"5","paddingSyncUnits":true,"borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"2","borderRadiusBottomRight":"2","borderRadiusBottomLeft":"2","borderRadiusTopLeft":"2","borderColor":"#b6b6b6","backgroundColor":"#ffffff","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b69b5c43","paddingTop":"30","paddingRight":"30","paddingBottom":"30","paddingLeft":"30","paddingSyncUnits":true,"showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8dfa4238","element":"p","textColor":"#0693e3","showAdvancedTypography":true,"fontWeight":"700","fontSize":14,"textTransform":"uppercase","marginBottom":"5","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","showAdvancedTypography":true,"fontSize":30,"marginBottom":"15","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","paddingTop":"15","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","borderSizeTop":"1","borderColor":"#b6b6b6","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"3da68acd","columns":2,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2c30b1f9","isGrid":true,"gridId":"3da68acd","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fc06eba3","element":"p","textColor":"#b6b6b6","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","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","isGrid":true,"gridId":"3da68acd","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"afc412f8","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"0fcad1cd","hasUrl":true,"backgroundColor":"","textColor":"#0693e3","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#0693e3","borderColorHover":"#222222","textTransform":"uppercase","paddingTop":"8","paddingRight":"12","paddingBottom":"8","paddingLeft":"12","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"2","borderRadiusBottomRight":"2","borderRadiusBottomLeft":"2","borderRadiusTopLeft":"2","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/button-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_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:Object(i._x)("Landscape layout","label","gp-premium"),thumbnail:"content-template-landscape.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"918d68ce","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ae18e4a9","columns":2,"verticalGapMobile":10,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ff15641f","isGrid":true,"gridId":"ae18e4a9","width":40,"widthTablet":40,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true,"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","width":60,"widthTablet":60,"paddingTop":"0","paddingRight":"20","paddingBottom":"10","paddingLeft":"0","paddingTopMobile":"10","paddingRightMobile":"10","paddingBottomMobile":"10","paddingLeftMobile":"10","verticalAlignment":"center","showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce3f6f48","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginBottom":"10","showAdvancedTypography":true,"isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fdbba1f9","element":"p","showAdvancedTypography":true,"fontWeight":"900","fontSize":14,"textTransform":"uppercase","marginRight":"10","marginBottom":"0","paddingRight":"10","borderSizeRight":"1","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","showAdvancedTypography":true,"fontSize":14,"marginRight":"10","marginBottom":"0","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","showAdvancedTypography":true,"fontSize":28,"marginBottom":"20","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}]}},Se={template_1:{label:Object(i._x)("Default next and previous buttons","label","gp-premium"),thumbnail:"archive-navigation-buttons-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"fb6c192f","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"fe27e101","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"af38c5d0","isGrid":true,"gridId":"fe27e101","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"9396ea35","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"aa4ef21a","hasUrl":true,"hasIcon":true,"backgroundColor":"","textColor":"","backgroundColorHover":"","textColorHover":"","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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4f3ab895","isGrid":true,"gridId":"fe27e101","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"8fcd7911","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"84010058","hasUrl":true,"hasIcon":true,"iconLocation":"right","backgroundColor":"","textColor":"","backgroundColorHover":"","textColorHover":"","iconPaddingRight":"","iconPaddingLeft":"0.5","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/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\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:Object(i._x)("Rounded buttons with icon","label","gp-premium"),thumbnail:"archive-navigation-buttons-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"5edb5029","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"c7866401","alignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"4c23c469","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"Previous page","backgroundColor":"#ffffff","textColor":"#000000","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#000000","marginTop":"5","marginRight":"5","marginBottom":"5","marginLeft":"5","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","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,"hasIcon":true,"removeText":true,"ariaLabel":"Next page","backgroundColor":"#ffffff","textColor":"#000000","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#000000","marginTop":"5","marginRight":"5","marginBottom":"5","marginLeft":"5","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","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/button-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:!1}]}},Ie={template_1:{label:Object(i._x)("Basic single post page hero","label","gp-premium"),thumbnail:"page-hero-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8b6d1c4b","paddingTop":"150","paddingBottom":"150","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":""},"alignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"62a8b2cc","element":"h1","showAdvancedTypography":true,"fontSize":50,"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","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true,"gpInlinePostMeta":true,"gpInlinePostMetaJustify":"center"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2e715b13","element":"p","marginBottom":"0","marginLeft":"10","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","marginBottom":"0","marginLeft":"20","paddingLeft":"20","borderSizeLeft":"1","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',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:Object(i._x)("Single post hero with excerpt","label","gp-premium"),thumbnail:"page-hero-excerpt.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"70385d72","paddingTop":"80","paddingRight":"40","paddingBottom":"80","paddingLeft":"40","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"5dc55b95","columns":2,"horizontalGap":80,"verticalGap":20,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"579e5b87","isGrid":true,"gridId":"fde86e48","width":45,"widthTablet":60,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","verticalAlignment":"center","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d909e043","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginBottom":"10","isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9fdb86dc","element":"p","textColor":"#000000","linkColor":"#000000","showAdvancedTypography":true,"fontWeight":"900","fontSize":14,"textTransform":"uppercase","marginRight":"10","marginBottom":"0","paddingRight":"10","borderSizeRight":"1","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","showAdvancedTypography":true,"fontSize":14,"marginRight":"10","marginBottom":"0","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","marginBottom":"10","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":"fde86e48","width":55,"widthTablet":40,"minHeight":400,"minHeightMobile":250,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","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,"gpDynamicImageBg":"featured-image","gpUseFallbackImageBg":true} /--\x3e \x3c!-- /wp:generateblocks/grid --\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}]}},Re=n(25),Le=n(26),Be=n(38);function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){F()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me=function(e){w()(c,e);var t,n,o=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=C()(t);if(n){var o=C()(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return O()(this,e)});function c(){var e;return f()(this,c),(e=o.apply(this,arguments)).getWidth=e.getWidth.bind(_()(e)),e.state={installingPlugin:!1,pluginInstalled:!1},e}return x()(c,[{key:"componentDidMount",value:function(){var e=document.createElement("style");if(e.id="gp-block-elements-css",document.head.appendChild(e),e.innerHTML="html {--gp-block-element-width: ".concat(this.getWidth().width).concat(this.getWidth().unit,"}"),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["generatepress-block-element/generatepress-block-element"]){var t=wp.data.select("core/edit-post").getPreference("panels")["generatepress-block-element/generatepress-block-element"];void 0!==t&&t.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 n=wp.data.select("core/edit-post").getPreference("panels")["page-attributes"];void 0===n||!n.enabled&&void 0!==n.enabled||wp.data.dispatch("core/edit-post").toggleEditorPanelEnabled("page-attributes")}this.props.elementParent&&document.body.classList.add("element-has-parent")}},{key:"componentDidUpdate",value:function(){document.getElementById("gp-block-elements-css").innerHTML="html {--gp-block-element-width: ".concat(this.getWidth().width).concat(this.getWidth().unit,"}");var e=wp.data.select("core/editor").getEditedPostAttribute("meta");if("content-template"===e._generate_block_type&&(e._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"!==e._generate_block_type&&"post-navigation-template"!==e._generate_block_type||(e._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 t=wp.data.select("core/edit-post").getPreference("panels")["page-attributes"];void 0!==t&&t.enabled&&wp.data.dispatch("core/edit-post").toggleEditorPanelEnabled("page-attributes")}!this.props.elementParent&&!e._generate_post_loop_item_display||document.body.classList.contains("element-has-parent")?this.props.elementParent&&e._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=(t=void 0===t?{}:t)._generate_block_element_editor_width,o=t._generate_block_element_editor_width_unit,c=t._generate_block_type,p=t._generate_hook,s=t._generate_custom_hook,d=t._generate_hook_priority,g=t._generate_post_loop_item_tagname,u=t._generate_post_meta_location,m=t._generate_disable_primary_post_meta,b=t._generate_disable_secondary_post_meta,h=t._generate_disable_title,f=t._generate_disable_featured_image,y=t._generate_use_theme_post_container,x=t._generate_post_loop_item_display,v=t._generate_post_loop_item_display_tax,_=t._generate_post_loop_item_display_term,k=t._generate_post_loop_item_display_post_meta,w=t._generate_disable_post_navigation,T=t._generate_disable_archive_navigation,O=t._generate_use_archive_navigation_container,j=e.updateMeta,C=e.updateParentId,D=e.updateOrder,S=e.elementParent,I=e.elementMenuOrder,R=[];Object.keys(gpPremiumBlockElements.hooks).forEach((function(e){var t=[],n=gpPremiumBlockElements.hooks[e].group,a=gpPremiumBlockElements.hooks[e].hooks;Object.keys(a).forEach((function(e){t.push({value:a[e],name:a[e].replace("generate_","")})})),R.push({type:"group",name:n,items:t})})),R.push({type:"group",name:Object(i.__)("Custom","gp-premium"),items:[{value:"custom",name:Object(i.__)("Custom Hook","gp-premium")}]});var L=[{label:Object(i.__)("Choose…","gp-premium"),value:""}],B=gpPremiumBlockElements.taxonomies;B&&Object.keys(B).forEach((function(e){L.push({label:B[e],value:B[e]})}));var E=[{label:Object(i.__)("Choose…","gp-premium"),value:""}];"page-hero"===c&&E.push({label:Object(i.__)("After header","gp-premium"),value:"generate_after_header"},{label:Object(i.__)("Before content container","gp-premium"),value:"generate_before_main_content"},{label:Object(i.__)("Before content","gp-premium"),value:"generate_before_content"}),"post-navigation-template"===c&&E.push({label:Object(i.__)("After content","gp-premium"),value:"generate_after_content"},{label:Object(i.__)("After content container","gp-premium"),value:"generate_after_do_template_part"});var P="";"post-navigation-template"===c&&(P=Oe),"post-meta-template"===c&&(P=je),"site-footer"===c&&(P=Ce),"content-template"===c&&(P=De),"archive-navigation-template"===c&&(P=Se),"page-hero"===c&&(P=Ie);var M=[],q=gpPremiumBlockElements.parentElements;return q&&Object.keys(q).forEach((function(e){M.push({label:q[e].label,value:q[e].id})})),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Le.PluginDocumentSettingPanel,{name:"generatepress-block-element",title:Object(i.__)("Block Element","gp-premium"),className:"gpp-block-element-panel gpp-element-panel-label",icon:Object(r.a)("generatepress")},!gpPremiumBlockElements.isGenerateBlocksActive&&Object(a.createElement)(l.BaseControl,null,Object(a.createElement)("p",null,Object(i.__)("To take full advantage of Block Elements, we suggest using our GenerateBlocks plugin.","gp-premium")),gpPremiumBlockElements.isGenerateBlocksInstalled?Object(a.createElement)("a",{href:gpPremiumBlockElements.activateLink,className:"components-button is-primary"},Object(i.__)("Activate GenerateBlocks","gp-premium")):Object(a.createElement)("a",{href:gpPremiumBlockElements.installLink,className:"components-button is-primary"},Object(i.__)("Install GenerateBlocks","gp-premium"))),Object(a.createElement)(J,{label:Object(i.__)("Editor width","gp-premium"),value:o||this.getWidth().unit,units:["px","%"],onClick:function(e){j({_generate_block_element_editor_width_unit:e||""})}}),Object(a.createElement)(l.TextControl,{type:"number",onChange:function(e){j({_generate_block_element_editor_width:e||""})},placeholder:this.getWidth().width,value:n||""}),Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Element type","gp-premium"),value:c,options:[{label:Object(i.__)("Hook","gp-premium"),value:"hook"},{label:Object(i.__)("Site Header","gp-premium"),value:"site-header"},{label:Object(i.__)("Page Hero","gp-premium"),value:"page-hero"},{label:Object(i.__)("Content Template","gp-premium"),value:"content-template"},{label:Object(i.__)("Post Meta Template","gp-premium"),value:"post-meta-template"},{label:Object(i.__)("Post Navigation","gp-premium"),value:"post-navigation-template"},{label:Object(i.__)("Archive Navigation","gp-premium"),value:"archive-navigation-template"},{label:Object(i.__)("Right Sidebar","gp-premium"),value:"right-sidebar"},{label:Object(i.__)("Left Sidebar","gp-premium"),value:"left-sidebar"},{label:Object(i.__)("Site Footer","gp-premium"),value:"site-footer"}],onChange:function(e){document.body.classList.remove(c+"-block-type"),document.body.classList.add(e+"-block-type"),j("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&&!!P&&Object(a.createElement)(l.BaseControl,null,Object(a.createElement)(l.PanelBody,{initialOpen:!1,name:"generatepress-block-element-templates",title:Object(i.__)("Templates","gp-premium"),className:"gpp-block-element-template-panel"},Object.keys(P).map((function(e){return Object(a.createElement)("button",{key:e,className:"gpp-block-elements-template-button",onClick:function(){P[e].content=P[e].content.replaceAll("#dynamic-background-image",gpPremiumBlockElements.bgImageFallback);var t=Object(z.parse)(P[e].content),n=wp.data.select("core/block-editor").getBlocks(),a=!1;1===n.length&&("core/paragraph"!==n[0].name||n[0].attributes.content||(a=!0)),t.length&&(a?wp.data.dispatch("core/block-editor").replaceBlocks(n[0].clientId,t):wp.data.dispatch("core/block-editor").insertBlocks(t));var o=P[e].meta,r={};o&&o.forEach((function(e){r[e.key]=e.value})),Object.keys(r).length>0&&j(r)}},void 0!==P[e].thumbnail&&!!P[e].thumbnail&&Object(a.createElement)(G.a,{overflow:!0,once:!0},Object(a.createElement)("img",{src:gpPremiumBlockElements.templateImageUrl+"/"+P[e].thumbnail,alt:P[e].label})),Object(a.createElement)("div",{className:"gpp-block-template-label"},P[e].label))})))),("right-sidebar"===c||"left-sidebar"===c)&&Object(a.createElement)(l.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},Object(i.__)("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"===c&&Object(a.createElement)(l.BaseControl,null,Object(a.createElement)(l.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},Object(i.__)("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"===c&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Location","gp-premium"),value:u,options:[{label:Object(i.__)("After post title","gp-premium"),value:"after-post-title"},{label:Object(i.__)("Before post title","gp-premium"),value:"before-post-title"},{label:Object(i.__)("After content","gp-premium"),value:"after-content"},{label:Object(i.__)("Custom","gp-premium"),value:"custom"}],onChange:function(e){j({_generate_post_meta_location:e})}})),E.length>1&&Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Quick hook select","gp-premium"),value:p||"",options:E,onChange:function(e){j({_generate_hook:e})}}),(!c||"hook"===c||"page-hero"===c||"post-navigation-template"===c||"archive-navigation-template"===c||"post-meta-template"===c&&"custom"===u)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.BaseControl,{id:"gpp-hook-select",label:Object(i.__)("Hook name","gp-premium"),className:"gpp-hook-select"},Object(a.createElement)(Te,{options:R,className:function(e){return"container"===e?"gpp-block-element-search-select":"input"===e?"components-text-control__input":"select-search__"+e},value:p,placeholder:Object(i.__)("Choose your hook","gp-premium"),search:!0,onChange:function(e){j({_generate_hook:e||""})}})),"custom"===p&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Custom hook name","gp-premium"),type:"text",onChange:function(e){j({_generate_custom_hook:e||""})},value:s||""}),!!p&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Priority","gp-premium"),type:"text",onChange:function(e){j({_generate_hook_priority:e||""})},value:d||"",placeholder:"10"})),"post-meta-template"===c&&Object(a.createElement)(a.Fragment,null,(""===u||"after-post-title"===u||"before-post-title"===u||"custom"===u)&&Object(a.createElement)(l.ToggleControl,{checked:!!m,label:Object(i.__)("Replace default primary post meta","gp-premium"),onChange:function(e){j({_generate_disable_primary_post_meta:e})}}),("after-content"===u||"custom"===u)&&Object(a.createElement)(l.ToggleControl,{checked:!!b,label:Object(i.__)("Replace default secondary post meta","gp-premium"),onChange:function(e){j({_generate_disable_secondary_post_meta:e})}})),"content-template"===c&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Tag name","gp-premium"),value:g,options:[{label:"article",value:"article"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"aside",value:"aside"}],onChange:function(e){j({_generate_post_loop_item_tagname:e})}}),Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Apply to","gp-premium"),value:x,options:[{label:Object(i.__)("All posts","gp-premium"),value:""},{label:Object(i.__)("Posts with term","gp-premium"),value:"has-term"},{label:Object(i.__)("Posts with custom field","gp-premium"),value:"has-post-meta"},{label:Object(i.__)("First post","gp-premium"),value:"is-first-post"}],onChange:function(e){j({_generate_post_loop_item_display:e})}}),""!==x&&Object(a.createElement)(a.Fragment,null,"has-term"===x&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.SelectControl,{label:Object(i.__)("Taxonomy","gp-premium"),value:v,options:L,onChange:function(e){j({_generate_post_loop_item_display_tax:e})}}),!!v&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Term name","gp-premium"),type:"text",onChange:function(e){j({_generate_post_loop_item_display_term:e||""})},value:_||""})),"has-post-meta"===x&&Object(a.createElement)(l.TextControl,{label:Object(i.__)("Post meta name","gp-premium"),type:"text",onChange:function(e){j({_generate_post_loop_item_display_post_meta:e||""})},value:k||""}),M.length>0&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.BaseControl,null,Object(a.createElement)(l.ComboboxControl,{className:"editor-page-attributes__parent",label:Object(i.__)("Parent Element","gp-premium"),help:Object(i.__)("Set a parent Element to inherit in case the above conditions do not apply.","gp-premim"),value:S,options:M,onFilterValueChange:function(e){e&&V()(C(e),300)},onChange:function(e){C(e)}})),!!S&&Object(a.createElement)(l.TextControl,{type:"number",label:Object(i.__)("Display Order","gp-premium"),onChange:function(e){D(e)},value:I}))),Object(a.createElement)(l.ToggleControl,{checked:!!y,label:Object(i.__)("Keep default post container","gp-premium"),onChange:function(e){j({_generate_use_theme_post_container:e})}})),"page-hero"===c&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{checked:!!h,label:Object(i.__)("Disable title","gp-premium"),onChange:function(e){j({_generate_disable_title:e})}}),Object(a.createElement)(l.ToggleControl,{checked:!!f,label:Object(i.__)("Disable featured image","gp-premium"),onChange:function(e){j({_generate_disable_featured_image:e})}}),Object(a.createElement)(l.ToggleControl,{checked:!!m,label:Object(i.__)("Disable primary post meta","gp-premium"),onChange:function(e){j({_generate_disable_primary_post_meta:e})}})),"site-footer"===c&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.TextControl,{className:"gpp-block-dynamic-year",type:"text",readOnly:!0,value:"{{current_year}}",label:Object(i.__)("Current year template tag","gp-premium"),help:Object(i.__)("Use the above template tag to add the current year to your footer.","gp-premium")})),"post-navigation-template"===c&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{checked:!!w,label:Object(i.__)("Disable default post navigation","gp-premium"),onChange:function(e){j({_generate_disable_post_navigation:e})}}),Object(a.createElement)(l.ToggleControl,{checked:!!O,label:Object(i.__)("Add default archive navigation container","gp-premium"),onChange:function(e){j({_generate_use_archive_navigation_container:e})}})),"archive-navigation-template"===c&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.ToggleControl,{checked:!!T,label:Object(i.__)("Disable default pagination","gp-premium"),onChange:function(e){j({_generate_disable_archive_navigation:e})}}),Object(a.createElement)(l.ToggleControl,{checked:!!O,label:Object(i.__)("Keep default archive navigation container","gp-premium"),onChange:function(e){j({_generate_use_archive_navigation_container:e})}}))))}}]),c}(a.Component),ze=Object(Be.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{meta:t("meta"),elementParent:t("parent"),elementMenuOrder:t("menu_order")}})),qe=Object(Be.withDispatch)((function(e,t){var n=t.meta,a=e("core/editor").editPost;return{updateMeta:function(e){a({meta:Pe(Pe({},n),e)})},updateParentId:function(e){a({parent:e})},updateOrder:function(e){a({menu_order:e})}}})),Ae=Object(p.compose)([ze,qe])(Me);Object(Re.registerPlugin)("generatepress-block-element",{icon:null,render:Ae})}]);